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:

1. 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

2. If the 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



3. Perform the steps given below to enable the features of Windows from the Control Panel. This will perform the namespace registration. Below features should be enabled in the Internet Information Services -> Web Management Tools or Management Tools :

IIS 6 Management Console
IIS 6 Management Scripts and Tools
IIS Management Service
IIS 6 Management Compatibility



4. For Server 2012 R2 , 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 localserver in Server selection -> In 'Server Roles' -> Open 'Web Server(IIS)(Installed)' -> Open/Click 'Management Tools(Installed) -> select the components as shown in attached :

IIS Management Console
IIS 6 Management Compatibility
IIS Management Scripts and Tools
Management Service (If prompted to add ASP.NET 4.5 -> Click 'Add Features')

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

5. Refer this link for Windows 2003 server: http://msdn.microsoft.com/en-us/library/ms943006(v=cs.70).aspx

          • Related Articles

          • IIS Server monitor - Troubleshooting 'No data available' error for IIS Websites and Application Pools statistics

            Error: "No data available for IIS Website statistics." User must have the permission to execute WMI queries on 'root\CIMV2 ' namespace of the IIS Server. Steps to check the IIS Websites using AppManager script "wmiget.vbs" to execute the WMI query in ...
          • IIS Server monitor - Issues encountered while adding an IIS server monitor

            Unable to add an IIS server monitor Prerequisites: Make sure you have performed all the prerequisites for the IIS server monitor. Follow the steps mentioned below to add an IIS server monitor: IIS Server URL accessibility: Check whether the IIS ...
          • IIS Server monitor - Troubleshooting steps

            Troubleshooting guide for adding an IIS Server monitor Troubleshooting 'No data available' error for IIS Server performance metrics (IIS Websites and Application Pools statistics)
          • Troubleshooting URL Monitor

            Here are few of the common errors you may come across in URL monitor, we have mentioned the steps you can follow to troubleshoot them.   General troubleshooting for URL monitor Ensure that the URL is accessible from the server in which Applications ...
          • Unable to add Exchange Server monitor

            Check whether all the prerequisites are done. The prerequisites can be found here:   https://www.manageengine.com/products/applications_manager/help/prerequisites-for-applications-manager.html#ExchangeServer WMI Mode If unable to add the Exchange ...