Page 2 of 2

Re: IIS 6 Application Pool State Monitoring

Posted: Thu Aug 03, 2017 11:49 pm
by Sampath.Basireddy
No luck, it is being considered as plugin.

Code: Select all

The plugin (check_ms_iis_application_pool.ps1 OEPool) requested does not exist. You may be trying to access the 'check_ms_iis_application_pool.ps1' node.

Re: IIS 6 Application Pool State Monitoring

Posted: Fri Aug 04, 2017 12:27 pm
by bolson

Code: Select all

/usr/local/nagios/libexec/check_ncpa.py -H <Host Name> -t '<Token>' -P 5693 -M 'plugins/check_ms_iis_application_pool.ps1 -A OEPool'
And post the result. I believe that solving this is a matter of sending the command (from linux) in a format where the command (on Windows) is correctly interpreting the "OEPool" argument.

Re: IIS 6 Application Pool State Monitoring

Posted: Thu Aug 10, 2017 12:11 pm
by Sampath.Basireddy
Still no luck, getting same error message.

Code: Select all

UDI@<SRV>:[~]: /usr/local/nagios/libexec/check_ncpa.py -H <SRV NAME> -t '<Token>' -P 5693 -M 'plugins/check_ms_iis_application_pool.ps1 -A OEPool'
The plugin (check_ms_iis_application_pool.ps1 -A OEPool) requested does not exist. You may be trying to access the 'check_ms_iis_application_pool.ps1' node.

Re: IIS 6 Application Pool State Monitoring

Posted: Thu Aug 10, 2017 12:53 pm
by bolson
This is the documentation from the plugin creator's website:

https://outsideit.net/monitoring-iis-application-pools/

I can't find anything on the internet regarding using this plugin with ncpa. Everything I've been able to find deals with using the plugin with nrpe. It could be that when sent over ncpa, the argument syntax is malformed.

One thing that stands out is that the pool argument should be -a '-A <Name-Of-Application-Pool>' including the single quotes.

Re: IIS 6 Application Pool State Monitoring

Posted: Mon Aug 14, 2017 11:13 am
by Sampath.Basireddy
Thanks Bolson, I found a different script which is working with NCPA.

Reason for trying this script to work is, it captures resource utilization by the IIS Application Pool along with its State.

Re: IIS 6 Application Pool State Monitoring

Posted: Mon Aug 14, 2017 11:31 am
by bolson
Hello Sampath.Basireddy

In view of the fact that there is no documentation regarding the check_ms_iis_application_pool with NCPA, it's quite possible that the configuration is not supported. As this is a third party plugin, we are unable to speak to this directly. If you've found an alternative that is addressing your needs, may we close this topic?

Re: IIS 6 Application Pool State Monitoring

Posted: Wed Aug 16, 2017 12:22 pm
by Sampath.Basireddy
Sure, please go ahead and close this Topic.

Thank You all for the support.

Re: IIS 6 Application Pool State Monitoring

Posted: Wed Aug 16, 2017 12:32 pm
by bolson
Closing topic as resolved.

Thank you for using the Nagios Support Forum.