IIS Server monitor does not list Application Pools (Applicable only for AppManager versions till 15110)

IIS Server monitor does not list Application Pools (Applicable only for AppManager versions till 15110)

Note: The solution mentioned in this article is applicable only for Applications Manager versions till 15110.

Follow the steps given below to resolve the issue:

Step 1. Script Execution: Execute the iisAppPoolList.vbs script with the host information of the problematic monitor via command prompt, go to <Applications Manager Home>\working\conf\application\script directory and execute the below command:
cscript iisAppPoolList.vbs <hostname> <username> <password>
Example:
cscript iisAppPoolList.vbs iishost adminuser pwd123


Step 2Steps to verify 'WebAdministration' namespaceIf the above script results show "Invalid namespace", do the below steps:

There are some mandatory features that need to be enabled in the IIS which will in turn make our Application Pool monitoring work. Execute the following command in a PowerShell command prompt window on the IIS server machine to verify whether the namespace 'WebAdministration' is registered, as below:
gwmi -namespace "root" -class "__Namespace" | Select Name



Step 3. Steps to register 'WebAdministration' namespace: Perform the steps given below to enable the required features of Windows from the Control Panel, to register the namespace.

Refer to Microsoft documentation to know the step-by-step instructions in all available Windows OS flavors (Windows Server 2012, Server 2008, Windows 8, 8.1, 7 versions) to open either 'Server Manager' in Windows Servers or 'Windows Features' console in Windows 8, 7, etc.,

           Step 3.1: For Windows Server versions 2022, 2019, 2016, 2012, 2008, etc.,, Open 'Server Manager' -> click  'Manage' near the top right corner -> click 'Add Roles and Features' -> Under 'Installation Type', select 'Role-based or Feature-based installation'-> Select the local server in Server selection -> In 'Server Roles' -> Open 'Web Server(IIS)(Installed)' -> Open/Click 'Management Tools(Installed) -> select the components as shown in attached :
  1. IIS Management Console
  2. IIS Management Scripts and Tools
  3. IIS 6 Management Compatibility
    1. Expand and select dependent components.
  4. Management Service (If prompted to add ASP.NET 4.5 -> Click 'Add Features')

          Step 3.2: For Windows versions 11, 10, 8, etc.,Go to Control Panel, click Programs and Features, and then click Turn Windows features on or off. Expand Internet Information Services, expand Web Management Tools or Management Tools and then select the components as shown in below screenshot:
  1. IIS 6 Management Compatibility
    1. IIS 6 Management Console
    2. IIS 6 Scripting Tools
    3. IIS Metabase and IIS 6 configuration compatibility
  2. IIS Management Console
  3. IIS Management Scripts and Tools
  4. IIS Management Service


Click 'Next' -> Click 'Next' again ->(You can review the selected features) Click 'Install' and wait for the installation to complete. 

      Step 3.3: Refer this link for Windows 2003 server.



                  New to ADSelfService Plus?