Page 1 of 1

IIS 7 Application Pool State Problem

Posted: Mon Jul 16, 2018 2:14 pm
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

Re: IIS 7 Application Pool State Problem

Posted: Tue Jul 17, 2018 8:08 am
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

Re: IIS 7 Application Pool State Problem

Posted: Wed Jul 18, 2018 9:32 am
by tmcdonald
Thanks for the assist, @mcapra! OP, please let us know if you need further assistance.