On Jan 14, 2009, at 5:24 PM, david_sloboda wrote:
> How do I find the range of values that can be passed in the
> --logseverity
> option
> to a zenoss daemon?
>
> Alternatively, how do I find the range of values recommended by  
> Zenoss? :-)
>
> I understand that I can change the threshold.  What I am asking is  
> "Where do I find the list of threshold values that should be used?"
>
> I can tell that if I edit  /opt/zenoss/etc/zenactions.conf
> from
> --logseverity=1
> to
> --logseverity=10
> I get more information. Is 10 the max?  How would I find this?
>
> While the option is mentioned at these 2 URLs, I don't see where to  
> find the range of values the option accepts, or the recommended  
> values:
> () http://www.zenoss.com/community/docs/zenoss-guide/2.2.4/ 
> ch24s06.html
> and
> () 
> http://www.zenoss.com/community/docs/howtos/zenoss-daemon-command-line-arguments/

We use the standard Python "logging" module for this. The levels are a  
bit counter-intuitive in that a lower numbers gives your more verbose  
logging.

50 = FATAL/CRITICAL
40 = ERROR
30 = WARNING
20 = INFO
10 = DEBUG

So setting logseverity to 10 in zenactions.conf (or any .conf file)  
will give you all possible logging. The default is 20 or INFO.
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to