Page 1 of 1

Monitoring Application Pool IIS

Posted: Thu Mar 02, 2017 9:34 am
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

Re: Monitoring Application Pool IIS

Posted: Thu Mar 02, 2017 10:51 am
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)).

Re: Monitoring Application Pool IIS

Posted: Thu Mar 02, 2017 2:50 pm
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>

Re: Monitoring Application Pool IIS

Posted: Fri Mar 03, 2017 4:04 am
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)).

Re: Monitoring Application Pool IIS

Posted: Fri Mar 03, 2017 9:10 am
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?

Re: Monitoring Application Pool IIS

Posted: Fri Mar 03, 2017 9:35 am
by momo0909
Thanks !! It's OK with PowerShell in 64 Bits

You can Close