Page 1 of 3

Nagios Quick Notification Response?

Posted: Wed Mar 11, 2015 5:20 pm
by cusvenus
Hi All,

I am planning on monitoring iis and AppPool from Nagios Core and i was successful in monitoring the same. I know that nagios works on polling mechanism even though the NSClient++ is installed on the machine it is still pull / polling but not push event notification.

I am trying to check which is best solution to monitor iisreset command issued. There are some monitoring tools which identify the iisrest (ex:- SCOM) but nagios remains silent and will not notify of the event. Is there any special configuration can be done to quickly notify like an agent push notification upon event?

Thanks a lot in advance.

Re: Nagios Quick Notification Response?

Posted: Thu Mar 12, 2015 9:45 am
by tmcdonald
You probably want passive monitoring:

http://nagios.sourceforge.net/docs/3_0/ ... hecks.html

Here's a doc specifically for NSClient++ passive setup:

http://assets.nagios.com/downloads/nagi ... Checks.pdf

It was written for XI but should be adaptable to Core. We also have documentation for installing NSCA (Nagios Service Check Acceptor - the passive receiver):

http://assets.nagios.com/downloads/nagi ... g_NSCA.pdf

Re: Nagios Quick Notification Response?

Posted: Fri Mar 27, 2015 5:44 pm
by cusvenus
I don't need passive monitoring as I have direct connectivity to the server. I need event based monitoring

Do you think NSCA would recognize iisreset and send the alert?

Re: Nagios Quick Notification Response?

Posted: Mon Mar 30, 2015 10:11 am
by tmcdonald
You cannot have event-based active monitoring since active monitoring by definition is run on a schedule. Passive results can either be scheduled or reactive/event-based.

NSCA also is not something that is run on the remote machine. It is used to accept passive results and process them on the Nagios server.

Re: Nagios Quick Notification Response?

Posted: Thu Sep 17, 2015 12:56 pm
by cusvenus
Last time when I spoke to some support engineer it was mentioned that realtime events are possible based on reading the event logs and based on the evnt code the alter can be sent. Is this true?

Re: Nagios Quick Notification Response?

Posted: Thu Sep 17, 2015 2:18 pm
by ssax
They are still considered passive checks, the NSClient++ real time logging feature is handled by NSClient++ which is on the server.

The only real-time alerts would be passive in nature (like SNMP traps) because they are generated by the remote server.

The active checks will always be polling them on an interval.

Re: Nagios Quick Notification Response?

Posted: Thu Sep 17, 2015 2:37 pm
by cusvenus
Thanks ssax I will follow the instructions from scratch and let you know

Re: Nagios Quick Notification Response?

Posted: Thu Sep 17, 2015 2:53 pm
by cusvenus
ssax what is the best version of nagios client that suits for NagiosXI - Nagios XI 2014R2.7

Re: Nagios Quick Notification Response?

Posted: Thu Sep 17, 2015 3:00 pm
by ssax
We recommend NSClient++ 4.1.105 but it really depends on if a newer version supports something that you NEED, you just have to keep an eye out for bugs in the later versions.

Re: Nagios Quick Notification Response?

Posted: Thu Sep 17, 2015 3:34 pm
by cusvenus
Thanks. Could you please send me the download link for that client. I am not able to find it. - Thanks a lot in advance.