Monitoring Application Pool IIS

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
momo0909
Posts: 4
Joined: Tue Nov 29, 2016 9:04 am

Monitoring Application Pool IIS

Post by momo0909 »

Hello

I have found this plug in

https://exchange.nagios.org/directory/P ... ol/details

When I use it

.\check_ms_iis_application_pool.ps1 $ARG1$

Can you tell me what is $ARG1$

I inform you that i use a French IIS

Thanks
momo0909
Posts: 4
Joined: Tue Nov 29, 2016 9:04 am

Re: Monitoring Application Pool IIS

Post by momo0909 »

When I use .\check_ms_iis_application_pool.ps1 -A toto I have

CRITICAL: Impossible de récupérer les paramètres dynamiques pour l'applet de commande. La récupération de la fabrique de
classes COM pour le composant avec le CLSID {688EEEE5-6A7E-422F-B2E1-6AF00DC944A6} a échoué en raison de l'erreur suiva
nte : 80040154 Classe non enregistrée (Exception de HRESULT : 0x80040154 (REGDB_E_CLASSNOTREG)).
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Monitoring Application Pool IIS

Post by mcapra »

The documentation provided by @WillemDH is fairly comprehensive:
https://outsideit.net/monitoring-iis-application-pools/

Typically, $ARG1$ will contain -A followed by the application pool's name:

Code: Select all

-A <Name-Of-Application-Pool>
Former Nagios employee
https://www.mcapra.com/
momo0909
Posts: 4
Joined: Tue Nov 29, 2016 9:04 am

Re: Monitoring Application Pool IIS

Post by momo0909 »

mcapra wrote:The documentation provided by @WillemDH is fairly comprehensive:
https://outsideit.net/monitoring-iis-application-pools/

Typically, $ARG1$ will contain -A followed by the application pool's name:

Code: Select all

-A <Name-Of-Application-Pool>
Ok but if I use -A <Name-Of-Application-Pool> I have error message like this

CRITICAL: Impossible de récupérer les paramètres dynamiques pour l'applet de commande. La récupération de la fabrique de
classes COM pour le composant avec le CLSID {688EEEE5-6A7E-422F-B2E1-6AF00DC944A6} a échoué en raison de l'erreur suiva
nte : 80040154 Classe non enregistrée (Exception de HRESULT : 0x80040154 (REGDB_E_CLASSNOTREG)).
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Monitoring Application Pool IIS

Post by rkennedy »

You'll want to start troubleshooting the error, as it appears pretty nonstandard, and unrelated to the plugin directly.

I was able to find - https://forums.red-gate.com/viewtopic.php?t=16319

What version of PS and what version of it are you running? Any difference if you run it with the other version?
Former Nagios Employee
momo0909
Posts: 4
Joined: Tue Nov 29, 2016 9:04 am

Re: Monitoring Application Pool IIS

Post by momo0909 »

Thanks !! It's OK with PowerShell in 64 Bits

You can Close
Locked