Page 2 of 2

Re: nagios ncpa listener logs

Posted: Tue May 27, 2014 1:36 pm
by sreinhardt
Sure, you could use check_by_ssh which would only need a valid ssh key, user, and plugins you wish to run. You could also check with snmp, and would only need to configure snmpd on the system and checks on the nagios system.

As for windows event logs, how would it generate logs if the system is down? Or did you mean when the agent is running?

Re: nagios ncpa listener logs

Posted: Tue May 27, 2014 11:42 pm
by iinfi
Thanks for the reply on Linux.

For the windows event logs i mean. I want nagios to store the events in its database so that if a system goes down i can still see what the last event was.

Thank you

Re: nagios ncpa listener logs

Posted: Wed May 28, 2014 12:00 pm
by slansing
Well depending on how much data you want to pull, you could probably set some event log checks up to constantly stream it in, though with the checks you are looking for matches or compares and changing state based off that, you could possibly jimmy rig it so you never receive an alert, but that is using a tool for something that it is not meant for. You might have better luck using a log monitoring tool to pool your event logs off-site, or pseudo rsyslog them on the Nagios server.