Page 1 of 1

"No log handling enabled"

Posted: Thu Jul 26, 2012 2:24 pm
by Callahan
So, I have a Nagios box all up and running and monitoring all the basics of my network. I'm now looking into getting some monitoring od the state of the core switch. I have SNMP set up so that I can get the PING result back and the Uptime. The next 2 things I want to look at are the monitoring of the state of certain ports on the switches and then the bandwidth itself. I figured I'd start with the easier of the two, checking whether a port is up or not.
So I have the following in my switch.cfg file:

Code: Select all

define service{
        use                     generic-service ; Inherit values from a template
        host_name               Core_Switch
        service_description     450MB Link to USA
        check_command           check_snmp!-C public -o ifOperStatus.A24 -r 1 -m RFC1213-MIB
        }
The result of this in the Nagios web frontend is the following:
External command error: No log handling enabled - turning on stderr logging
All well and good, I wish it had turned it on so I wouldn't be seeing this ugly orange message. Clearly, it hasn't switched it on so it's left to me (or in this case, you the lucky reader of this post) to help me decipher what Nagios is actually trying to tell me.

So, any volunteers? :-)

Re: "No log handling enabled"

Posted: Thu Jul 26, 2012 4:00 pm
by slansing
It just seems to be telling you that standard error logging was not enabled prior. You should be in the clear now, let us know if anything strange happens.