IIS 7 Application Pool State Problem

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jgrodriguez
Posts: 1
Joined: Tue Mar 24, 2015 5:00 pm

IIS 7 Application Pool State Problem

Post by jgrodriguez »

Hello

I'm implementing the apra plugin to monitor IIS application pool, of the next url https://exchange.nagios.org/directory/P ... te/details but it is generating the following error
[root@pr0980monbog ~]# /usr/local/nagios/libexec/check_nrpe -H 172.16.13.138 -t 30 -c check_iis_apppool_state -a "AppPool"
Arguments not allowed see nsclient.log for details
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: IIS 7 Application Pool State Problem

Post by mcapra »

Please see this NSClient++ community thread for the solution:
https://forums.nsclient.org/t/arguments ... shell/3456
http://docs.nsclient.org/howto/external ... #arguments

There are a few configuration directives in your NSClient++ configuration file that may need to be set (depending on your NSClient++ version) in order for NSClient++ to allow args to be passed from check_nrpe.

The first 2 that come to mind:

Code: Select all

[/settings/NRPE/server]
allow arguments=true

[/settings/external scripts]
allow arguments=true
Former Nagios employee
https://www.mcapra.com/
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: IIS 7 Application Pool State Problem

Post by tmcdonald »

Thanks for the assist, @mcapra! OP, please let us know if you need further assistance.
Former Nagios employee
Locked