nagios ncpa listener logs

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: nagios ncpa listener logs

Post 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?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
iinfi
Posts: 8
Joined: Wed May 21, 2014 11:53 pm

Re: nagios ncpa listener logs

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

Re: nagios ncpa listener logs

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