IIS 6 Application Pool State Monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Sampath.Basireddy
Posts: 252
Joined: Wed Dec 14, 2016 12:30 pm

Re: IIS 6 Application Pool State Monitoring

Post 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.
bolson

Re: IIS 6 Application Pool State Monitoring

Post 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.
Sampath.Basireddy
Posts: 252
Joined: Wed Dec 14, 2016 12:30 pm

Re: IIS 6 Application Pool State Monitoring

Post 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.
bolson

Re: IIS 6 Application Pool State Monitoring

Post 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.
Sampath.Basireddy
Posts: 252
Joined: Wed Dec 14, 2016 12:30 pm

Re: IIS 6 Application Pool State Monitoring

Post 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.
bolson

Re: IIS 6 Application Pool State Monitoring

Post 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?
Sampath.Basireddy
Posts: 252
Joined: Wed Dec 14, 2016 12:30 pm

Re: IIS 6 Application Pool State Monitoring

Post by Sampath.Basireddy »

Sure, please go ahead and close this Topic.

Thank You all for the support.
bolson

Re: IIS 6 Application Pool State Monitoring

Post by bolson »

Closing topic as resolved.

Thank you for using the Nagios Support Forum.
Locked