|
First problem is what happens if the monitored server is down. In this case, no alerts are being sent, so the Eventlog:xxx services will of course be OK. If you want to be warned when the agent is not active, then you need to use the Heartbeat service which will send an 'Im OK' every so often, and you set the heartbeat service to have a freshness check which sets it to 'unknown' or 'critical'.
Second problem is the services not going critical when messages are there. Check the Nagios log - are external service checks coming in, but with the wrong service name? If no checks are coming in, check the NSCA log - are invalid connections coming in? This may be an encryption configuration mismatch between your NSCA daemon and the Nagios Eventlog agent (this sounds like it is your problem) If this is not hapening, then check the eventlog agent - can it send a test NSCA message and it appears in the nagios log? Finally, check your filters - are they really matching the correct eventlog entries? Enable debug mode and check the trace in the application eventlog to see what is matching.
_________________ Steve Shipway UNIX Systems, ITSS, University of Auckland, NZ Woe unto them that rise up early in the morning... -- Isaiah 5:11
|