Page 1 of 1

App pool check in iis?

Posted: Fri Apr 11, 2014 10:48 am
by casey.franks
Is is possible to do app pool monitoring for iis with nagios xi? If so, how would I set that up?

Re: App pool check in iis?

Posted: Fri Apr 11, 2014 12:01 pm
by sreinhardt
I would suggest starting by looking at exchange and seeing what plugins might suite your needs. http://exchange.nagios.org/index.php?op ... chword=IIS Then let us know what you decided on and we can work from there.

Re: App pool check in iis?

Posted: Sat Apr 12, 2014 1:41 pm
by casey.franks
There are two plungins that I would need, Check IIS 7 Application Pool State and Check an IIS Application pool state, since I am running web servers with both iis6 and iis 7.
The compatibility for these state Nagios 2.x and Nagios 3.x not XI. Also, instructions on how to setup this up is a little confusing since there is no "NRPE_Handlers" section in the NSC.INI file and no instruction on how to set this up in Nagios.

Re: App pool check in iis?

Posted: Mon Apr 14, 2014 9:46 am
by slansing
For that I would recommend reading through the configuration steps here:

http://www.nsclient.org/

Based on the version of NSClient you may be using, you may have to expand the configuration file so you can see even the basic options required to add custom plugins "why this was done I still have no clue."

There will be an external scripts section, based on the type of script you are trying to add in, you are going to have to sudo wrap it differently, powershell scripts require a different execution string than batch scripts, etc. Let us know if you have questions.