RemoteBooting
From ServersCheck Wiki
Requirements
In order to use this alerting method you need to have the RemoteBooting tool installed and running on the target host.
Define RemoteBooting alert
The alert uses an undocumented feature of the software by directly executing a URL using the HTTP GET alert option.
WARNING: as the HTTP GET will be executed at each alert, it is recommended to only use with status When going down.
- Perform a reboot command:
The url you need to define in the HTTP GET is following:
http://computername:1275/scaccess.html?t=r&reason=reason&u=username&p=password
- where reason is a reason you can give as to why the reboot was performed (this will be logged by the Remote Booting tool)
- username is the username defined to connect to the Remote Booting tool
- password is the password defined to connect to the Remote Booting tool
Create the url, paste it in your browser and test it. If it works, then copy it in the HTTP GET on the ServersCheck alert screen.
- Perform a service start/stop:
The url you need to define in the HTTP GET is following:
http://computername:1275/scaccess.html?t=s&reason=reason&service=servicename&action=Start/Stop/Restart&u=username&p=password
- where reason is a reason you can give as to why the reboot was performed (this will be logged by the Remote Booting tool)
- servicename is the short service name (example: W3SVC for the World Wide Web Publishing service
- action is either Start or Stop or Restart (beware case sensitive!)
- username is the username defined to connect to the Remote Booting tool
- password is the password defined to connect to the Remote Booting tool
Create the url, paste it in your browser and test it. If it works, then copy it in the HTTP GET on the ServersCheck alert screen.