I'm attempting to monitor IIS Application Pools on a Windows Server 2008 box running IIS 7. This scenario is well documented all over the Support Forum, but despite my best efforts I can't get it to work. Can you please assist?
I'm using this custom command and the accompanying PS1 script:
https://outsideit.net/monitoring-iis-application-pools/
Here is the command running directly from my Nagios host:
Code: Select all
bash-4.2$ /usr/local/nagios/libexec/check_nrpe -H 10.xxx.xxx.xxx -p 5666 -t 60 -c check_ms_iis_application_pool -a '-A <Prepaid>'
Failed to execute check_ms_iis_application_pool: 57: The parameter is incorrect.
Not sure what else to look at. Let me know who I can PM my files to. Thank you!