"No log handling enabled"

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Callahan
Posts: 8
Joined: Wed Jul 11, 2012 7:44 am

"No log handling enabled"

Post 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? :-)
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: "No log handling enabled"

Post 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.
Locked