Define Alerts
From ServersCheck Wiki
Defining alerts is the last step in configuring rules.
You can setup when and who will be alerted and on how. ServersCheck can alert just one person or an entire team.
As of Release 6, an alert can also be escalated to another team if the alert has not been acknowledged within a predefined time frame. The alert acknowledgement and escalation will be explained in a next topic.
You can also specify the following additional alert options:
Generate an Email to
ServersCheck can alert you by using the SMTP protocol. You will a receive an email to the specified mailbox whenever an alert is generated. The mail server is configured by clicking on the SETTINGS option in the top navigation bar.
Send Network Message
A network message will be sent to the specified computer.
Send SMS (Pager)
Read the next topic for more information on configuring SMS based alerts.
Send MSN Message
When having MSN account, you can also use ServersCheck to generate an alert which will be sent as message to your MSN account.
Generate beep sound
this alert option will generate 3 beeps on the computer running the ServersCheck server.
Perform HTTP GET command
ServersCheck will use the HTTP GET protocol to connect to a specified URL. It will call the URL but not retrieve the content. With this alert option, you can have ServersCheck write data to your own platform (for example a web based helpdesk system).
Execute an application
This alert option enables you to have ServersCheck execute a specific application or script when the rule fails. The application needs to reside in EXTERNAL subfolder of ServersCheck.
ServersCheck runs as a service which means that it does not have a "context" within which it runs. If your application is directory specific, ensure that you specify its path.
When executing a script, make sure to wrap it around a batch file (.bat) located in the EXTERNAL subdirectory. Your .bat file should always start with
cd <path to ServersCheck external subfolder>
Start Remote Service
This will start any service/aplication on the remote computer.
Reboot Remote Computer
The reboot is a Windows signal reboot. If the remote computer is hanging, unresponsive or unreachable, then this alert option will not work Custom Email / HTTP Get Notifications As of release 4.3.X it is possible to customize the body and subject of an email. You can now also use the parameters in the HTTP Get alert. These are the parameters you can use:
- %l is the label of the rule
- %g is the group to which the rule belongs to
- %d is the device to which the rule belongs to
- %s is the status of the check
- %r is the last known error
- %t is the time of the check
- %a the alert instructions you defined (email only - not HTTP Get)
Sample HTTP Get alert
http://www.mysmsgateways.com/id=123&message=%l%20is%20%s%20reason:%20%r
