/
How to monitor a Windows Service
How to monitor a Windows Service
The aim is to trigger an action (e.g. sending an e-mail) if a Windows service like the NETx Server stops working.
To monitor a Windows service, you can use third party tools. For simply sending an e-mail, you can also use a powershell commando.
- Open the Windows Services within the Windows control panel.
- Select the “NETxBMSCoreServer40” and open the property dialog
- Within the “Recovery” tab, you have to select “Run a program” for “First failure”.
- As program you have to enter “powershell” and as command line parameters: “Send-MailMessage -From "<your from address>" -To "<destination address>" -Subject "BMS Alarm" -Body "BMS Server stopped working" -SmtpServer <host or IP of your local SMTP server>
Related articles
, multiple selections available,
Related content
Item.Monitor Status
Item.Monitor Status
More like this
The way how the NETx Server service works
The way how the NETx Server service works
More like this
Server logging
Server logging
More like this
NETx Server integration / clustering
NETx Server integration / clustering
More like this
Messenger Module
Messenger Module
More like this
Firewall settings for the BMS Platform
Firewall settings for the BMS Platform
More like this