| Cheshire Cat Computing http://steveshipway.org/forum/ |
|
| Passive mode not working correctly http://steveshipway.org/forum/viewtopic.php?f=22&t=1670 |
Page 1 of 1 |
| Author: | Marduc [ Thu Nov 06, 2008 10:02 am ] |
| Post subject: | Passive mode not working correctly |
I have Nagios, NSCA working correctly. I installed the Nagios EventLog Service Manager on a text XP machine . It chats with the NSCA daemon without an error. I have configure the agent to pick up a very specific error (an error that I can create at will) that will show up in the event log. If I force Nagios to do a submit passive check for this service. The incident in the Windows Event log will show up and the status will change. But without forcing the service check, I do not get results. Thanks for your help. Marc |
|
| Author: | stevesh [ Thu Nov 06, 2008 11:34 am ] |
| Post subject: | Re: Passive mode not working correctly |
Enable debug mode on the nagevlog agent, and verify that the test event you are creating is matching a filter you have defined and being sent on the NSCA. Then check your nagios log to see if the passive check result is being received from NSCA, and if it is being accepted by Nagios. Possible problems - 1) You do not have your filter defined correctly in NagEventLog 2) You do not have your hostname configured correctly in nagevlog 3) The matching filter does not have a correct service name defined in nagevlog 4) NSCA is ont passing the alerts on to nagios 5) Nagios is not configured to process the nagios.cmd file correctly 6) The received alerts have incorrect hostname/servicedesc and are being rejected by Nagios 7) You have the check frequency set far too low in nagevlog |
|
| Author: | Marduc [ Wed Nov 12, 2008 3:10 am ] |
| Post subject: | Re: Passive mode not working correctly |
Hello Steve Thanks for the hints. I found that my issue was with the host name spelling. One was in caps not the other... Now, is there a way to have the agent send all types of events, not just a very specific one? For instance, I would be interested in getting all event that are critical by nature. Thanks Marc |
|
| Author: | stevesh [ Wed Nov 12, 2008 6:24 am ] |
| Post subject: | Re: Passive mode not working correctly |
This can be done easily. Just set a filter that has the 'critical' type checked and do not specify any other information (such as ID, source, etc). Any filter items not set are ignored. |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|