WINDOWSAGENT
From ServersCheck Wiki
Similar to the Linux Agent ( Configure_Linux/UNIX_Agent ), ServersCheck has an agent for the WINDOWS platform that allows to remotely query a Windows server over a dedicated TCP/IP Port (by default 5555). It is mainly intended to monitor virtual servers located in the Cloud such as Amazon EC2. It can also be used for servers located in the same network segment for which agentless monitoring isn't possible (due to security or configuration issues).
The Windows Agent can report following data: - CPU usage
- Available Memory
- Free Disk Space
- Service running or not
- Process or running or not
- Any other WMI parameter
Contents |
Installing the WINDOWSAGENT
The Windows Agent can be downloaded from following url: http://downloads.serverscheck.com/monitoring_software/setup_windowsagent.zip
The agent needs to be installed on the server you would like to have monitored. It runs as a service on the host and listens for incoming requests from the Monitoring Software. Once downloaded, unzip and double click on the setup.exe A new window similar as the one below will show
Follow the steps of the installation until setup is complete.
The service has now been installed and is running on port 5555. You can see the service in Windows Services Manager
Enabling the Windows Firewall for the Windows Agent
You now need to configure your firewall to allow connections on port 5555. For security reasons, it is best to only allow the ServersCheck Monitoring Software to connect to that port. The firewall typically needs to be configured in 2 different locations:
- Windows Firewall
- Cloud Hosting company
To configure the Windows Firewall, go to the Control Panel and select the Windows Firewall
Click on the option right Allow a program through the Windows Firewall A new window will open. Now click on the Add port... button
The default port number is 5555 Click on OK when done and then on Apply Your Windows Firewall is now ready to accept inbound communications on port 5555. If you would like to define a range of IP's that connect to the server on port 5555, then click on the Change scope... button
Note: If you want to change it, then modify it in the settings.ini file located in the main directory of the ServersCheck Windows Agent. After changing the port make sure to restart the Windows Agent service
Enabling the Amazon EC2 Firewall for the Windows Agent
Go to the AWS Management Console ( https://console.aws.amazon.com/ec2/home )
Click on Security Groups (left menu) and then on the policy that applies to your server. In there add a new rule for port 5555 as shown below
You can verify if it has been setup correctly by performing a TCP check on port 5555 from the ServersCheck Monitoring Software. If that works, then the Windows Agent has been installed correctly and is ready to operate.
Setting up the WINDOWSAGENT check in the Monitoring Software
Click on ADD MONITOR and select the WINDOWSAGENT check type
Enter the IP address or the DNS name of the server on which the WINDOWSAGENT has been installed.
You can then select any of the different items that can be monitored through the WINDOWSAGENT
Click on TEST SETTINGS to test if the data is received as expected










