To configure the server resource monitoring details, follow the below
given steps :
Adding Server Monitors
To add a new server monitor, enter the following details:
Monitoring Details
Click the Add
New Server Monitor link or the +
button from the Server Monitors
screen.
Enter the Description
of the host to be monitored. This field should be unique for each host.
Please avoid spaces in the description.
Specify the monitoring
interval in seconds.
Enter the Host
Name in which the server resources are to be monitored. This could
be the local host or a remote host.
Host/Login Details
Windows Specific
Details
By default, the Windows radio button is selected which
monitors server resources for Windows machine.
Enter UserName
and Password to log on to
the remote system.
Choose the Save button. The new server monitor
is added to the list.
Choose the
Apply button which adds the new entry in the corresponding xml
file.
Linux/Solaris
Specific Details
To monitor server
resources in Linux/Solaris, choose the option Linux
or Solaris.
Choose the check
box Telnet or SSH
using which the server monitoring is done.
Select the protocol
to be used from the Protocol combo.
Enter UserName
and Password to logon to
the remote system.
Choose the Save button. The new server monitor
is added to the list.
Choose the
Apply button which adds the new entry in the corresponding xml
file.
Deleting Server
Monitors
To delete an existing server monitor from the list,
Choose the required server
monitor from the Configured Server Monitors
list.
Click the Delete
button at the bottom of the Configured
Server Monitors list. The selected server monitor is deleted from
the list and the corresponding monitoring and host/login details are also
deleted from the xml.
Troubleshooting
Server Monitoring
When server monitoring is done from remote machine,
both the machines should have WMI (Windows Management Instrumentation
Service) and RPC (Remote Procedure Call) running. Generally in most of
the windows machines both of these services will be running by default.
In some machines, if any of the services (WMI service or RPC server is
not running) or if the administrator has enabled the firewall then WMI
API will not be able to contact the remote machine and collect data from
the same. To check whether WMI and RPC server are running, type the following
commands:
- net start - This will list all the services
currently running in your machine. Check whether Windows Management Instrumentation
and Remote Procedure Call is listed.
- If not, type:
net start winmgmt from the command prompt. This will start the
WMI service. To start RPC server, type: net
start rpcss from the command prompt. This will start the RPC server.
- To check whether firewall is enabled or not
(applicable only for remote machine):
- Open Control Panel and choose Windows
Firewall. In the Windows Firewall screen, select the General
tab. Check which radio button is checked On or Off. If On is selected
this means that the firewall is enabled. If Off is selected this means
that the firewall is disabled (then there is no issue).
- If firewall is enabled i.e., if On radio
button is selected then you need to open out the ports specific to WMI
to collect data from the remote or local machine. To do this, type: netsh
firewall set service RemoteAdmin in your command prompt.
- Now run the load test case that includes the
server monitoring to view the test results.