Windows Service Monitor checks the status of Windows services running on your machine.
You should have PowerShell version 2.0 or higher installed on the machine where Smart Agent is running.
Adding Windows Service Monitoring
Go to the Monitors menu, select Server/Device Monitors->Service and click Add.
The Add Server/Device Monitor – Step 1 window opens.
If you have already downloaded and installed Smart Agent for Windows, select it from the Agent list.
Make sure that your Smart Agent for Windows is running, as shown under Agent Status. If the Agent is stopped, run it from the Smart Agent Controller window (see Downloading, Installing and Running Smart Agent for Windows).
If you haven’t downloaded Smart Agent for Windows yet, click on the Download Agent button to download it. Follow the instructions under Downloading, Installing and Running Smart Agent for Windows. Note that it may take up to 5 min for newly installed Agent to appear in the agent list (you can click Refresh to refresh the agent list).
Select the Windows Agent from the list, and click Next.
The Add Server/Device Monitor – Step 2 window will open.
As soon as the window opens, Windows Service monitor automatically starts to retrieve the list of all available services. The retrieving process should not take longer than a few minutes, but if you know the name of the required service you can just press the Stop button and insert the service name manually.
Select from the Monitor Group combo box the monitor group for this monitor to be assigned to.
You can also create a new monitor group by clicking on the “+” icon next to Add Group.
To add more Server-Device monitors of different types to the same Smart Agent, click the green “+” button under Add More Monitors (see Adding Multiple Server-Device and Application Monitors for the Same Agent).
Click Add when finished.
The Alert Configuration window will appear.
- Click Send to All Contacts if you want to send alerts for this monitor to all contacts.
- Click Custom Configuration (Advanced) to configure sending alerts for this monitor only to selected contacts. The Add Alert Rules window will open. Click on the Add Alert Rule button to configure alert rule(s) for your monitor.
- Set up the alert rule and click Add Rule. See Alert Rules in Alerts 2.0 for more info about alert rules.
A threshold includes two conditions connected by a logical OR. If any of the conditions matches the monitor will enter your specified state.
- Check fails (response timed out, connection failure, etc)
- Any or all of your selected metrics meet the failure conditions you specified for them
See Thresholds for more info.
– Click Don’t Send Alerts if you don’t want any alerts for this monitor to be sent.
Your newly created Server-Device monitor will appear in your Monitis dashboard. Wait until it loads the first results.
Whenever Windows Service monitor will encounter an error, it will show “ERROR” under the Status field.