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
IIS 7 Application Pool State Problem
Re: IIS 7 Application Pool State Problem
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:
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/
https://www.mcapra.com/
Re: IIS 7 Application Pool State Problem
Thanks for the assist, @mcapra! OP, please let us know if you need further assistance.
Former Nagios employee