NCPA IIS Pool Service Sensor
Posted: Thu Dec 09, 2021 12:16 pm
Trying to build IIS pool checks via NCPA for a server. I tried https://support.nagios.com/forum/viewtopic.php?t=49956 and https://support.nagios.com/forum/viewtopic.php?t=48302, and I am still not having luck. I get the following message in the API:
CRITICAL: Cannot retrieve the dynamic parameters for the cmdlet. Retrieving the COM class factory for component with CLSID {688EEEE5-6A7E-422F-B2E1-6AF00DC944A6} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
I am able to run the Powershell script manually and get information. I tried changing the ncpa.cfg to no avail. Any ideas?
$USER1$/check_ncpa.py -H $HOSTADDRESS$ $ARG1$
$ARG1$ = t '*token*' -P 5693 -M 'plugins/check_ms_iis_application_pool_DefaultAppPool.ps1' -q
CRITICAL: Cannot retrieve the dynamic parameters for the cmdlet. Retrieving the COM class factory for component with CLSID {688EEEE5-6A7E-422F-B2E1-6AF00DC944A6} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
I am able to run the Powershell script manually and get information. I tried changing the ncpa.cfg to no avail. Any ideas?
$USER1$/check_ncpa.py -H $HOSTADDRESS$ $ARG1$
$ARG1$ = t '*token*' -P 5693 -M 'plugins/check_ms_iis_application_pool_DefaultAppPool.ps1' -q