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 Server URL is accessible from the Applications Manager server.
- For IIS Server URL-related error messages, refer here.
- Proxy configuration: (if required)
If your environment requires the use of a proxy server to access IIS Server URL ( http(s)://[Host/IP]:[PORT] ), then configure the same in Applications Manager. To know how to configure proxy in Applications Manager, click here. For IIS Server URL-related error messages, refer here.
If proxy is configured in Applications Manager and if you want to bypass the IIS Server host/IP from routing through the proxy then add the host/IP under the "Do not use proxy for addresses beginning with" column in the same 'Configure Proxy' page in Admin tab > "Connectivity" under " Product Settings " and click "Proxy Server".
- IIS Server credential: (WMI credential)
- For Applications Manager versions till 15110, we use the respective server (Windows) monitor credential to fetch data from the remote server. So adding the Server monitor is mandatory to fetch IIS Website and Application Pool statistics.
- From v15120 of Applications Manager onwards, we check the WMI credential during monitor addition as we started collecting the server credential as input parameters in IIS Server monitor itself, removing the server monitor dependency.
Note: WMI credential is mandatory only to monitor Website & Application Pools statistics.
If unable to add the IIS Server monitor by providing WMI credential, follow the steps below:
Open command prompt in administrator mode in Applications Manager-installed machine.
Navigate to <Applications Manager Home>\working\conf\application\scripts directory.
Execute the below command by replacing hostname, username, and password with that of the reported IIS server:
cscript wmiget.vbs hostname username password "Select * from Win32_PerfRawData_PerfOS_Processor where Name='_Total'"
Check the output of the above command. If script output returns expected data but still unable to add monitor, try adding the monitor again with "print-all-logs" enabled.
Check whether IIS Server URL's response header contains the keyword 'IIS', if not, then disable the 'Response Header Check' option while adding a new monitor to bypass IIS Server URL response header check, as we look for the 'IIS' keyword in the response header.
Error: "Authentication failed. Kindly verify the host and port details provided."
Check the hostname and port details in the Edit monitor page ( Go to IIS monitor page > click 'Monitor Actions' > 'Edit Monitor' ) and update the respective values and poll the monitor.
Error: "Authentication failed. Kindly verify the username and password provided for the Host."
Check the username and password details in the Edit monitor page ( Go to IIS monitor page > click 'Monitor Actions' > 'Edit Monitor' ) and please update the respective values and poll the monitor and check once.
Error: "Error while discovering the IIS service with error code {0}. Kindly check whether IIS Service is running or not."
For IIS Server URL-related error messages, refer here.
Error: "Data Collection failed. Unable to fetch Websites and Application Pools statistics as no data returned for basic WMI query."
- Refer to section C (IIS Server credential) in the above steps to add IIS Server monitor and try connecting to the IIS server from the Applications Manager server. Execute a basic WMI query to verify whether the given WMI credential is able to fetch data from the remote server.
- If the issue persists in remote script execution, use the WBEMTEST tool (Microsoft tool to check WMI data) and check whether the same basic WMI query returns data. To know more about WBEMTEST, click here.
- If the issue persists in WBEMTEST when remoting from Applications Manager to IIS Server, try once directly in the local server (IIS server) itself and check if the data is available or not.
Error: "Could not connect to the System. The System may be down or RPC Server is not available."
Follow the steps mentioned in any of the required links mentioned below to resolve the issue:
If any proxy configured, double-check whether the URL is accessible from the system where Applications Manager is installed.
Error: "The object exporter specified was not found."
To access WMI utility to a NATed machine, add the server's name and
ip address to the host file and then connect using the host name.
Microsoft reference link:
Link
For example if the remote server is named serv1 and has a public ip
address of 192.27.111.111 then you need to add the following to your
local hosts file located at C:\WINDOWS\system32\drivers\etc
192.27.111.111 233-Serv2
Then when you go to connect simply use the remote computer name such as:
\\serv1\root\cimv2
This
should allow you to connect to a remote server using DCOM even if it is
behind NAT, as long as the DCOM 135 port on the remote server public IP
is accessible and forwarded to the private IP address.
On adding IIS monitor you would specify serv1 as the server name and
login using serv1\username.
New to ADSelfService Plus?
Related Articles
Mail Server Monitor - Troubleshooting
Common Mail Server Monitor Errors and Troubleshooting Guide 1. Unknown Host Error Description: This error occurs when the mail client cannot resolve the hostname of the mail server to an IP address. The issue typically arises from DNS resolution ...
DNS Monitor - Troubleshooting
Common DNS Monitor Errors and Troubleshooting Guide 1. Host Not Found Description: The DNS server was unable to locate the requested lookup address. Possible Causes: This may happen if the hostname is incorrect, the domain does not exist, or there is ...
IIS Server monitor - Troubleshooting steps
Unable to add IIS Server monitor Follow the below given below to add an IIS server monitor in Applications Manager: First, check whether all the prerequisites are done. Check the IIS Server URL is accessible from Applications Manager server. If your ...
Issues in creating server monitor
Please do test credentials before adding a particular monitor. Troubleshooting the SSH Configuration : I cannot add remote server monitor using SSH password authentication Please follow our suggestions below, 1) When adding that server monitor, ...
While adding Apache/ IIS Monitor, the error message 'Service not running' is displayed.
Try to access Apache or IIS server from Applications Manager's browser. Open Command Prompt in Applications Manager machine and execute the following commands and check for the specified outputs. For Apache: telnet <Apache hostname> <Apache ...