Nagios Quick Notification Response?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
cusvenus
Posts: 35
Joined: Tue Nov 18, 2014 3:35 pm

Nagios Quick Notification Response?

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios Quick Notification Response?

Post 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
Former Nagios employee
cusvenus
Posts: 35
Joined: Tue Nov 18, 2014 3:35 pm

Re: Nagios Quick Notification Response?

Post 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?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios Quick Notification Response?

Post 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.
Former Nagios employee
cusvenus
Posts: 35
Joined: Tue Nov 18, 2014 3:35 pm

Re: Nagios Quick Notification Response?

Post 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?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios Quick Notification Response?

Post 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.
cusvenus
Posts: 35
Joined: Tue Nov 18, 2014 3:35 pm

Re: Nagios Quick Notification Response?

Post by cusvenus »

Thanks ssax I will follow the instructions from scratch and let you know
cusvenus
Posts: 35
Joined: Tue Nov 18, 2014 3:35 pm

Re: Nagios Quick Notification Response?

Post by cusvenus »

ssax what is the best version of nagios client that suits for NagiosXI - Nagios XI 2014R2.7
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios Quick Notification Response?

Post 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.
cusvenus
Posts: 35
Joined: Tue Nov 18, 2014 3:35 pm

Re: Nagios Quick Notification Response?

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