Setting Alert Messages
Setting alert messages can be done anytime. This function can send e-mails, tweets, SMS messages or dial up phone numbers and make text to speech or prerecorded voice calls to the group interested in the server status.
To start this tutorial please open 'Alerts' from the top menu (Figure 1) in the 'Configurations' drop down menu.
Figure 1 - Opening 'Alerts' from the top menu
Step 1 - Define an addressbook
The addressbook contains the contact information of the people you would like to notify. Click on the blue 'Create new addressbook' button (Figure 2 - 2.). You can choose from different type of addressbooks (Figure 2 - 3.) , choose the type you prefer. A 'Standard' type has the simplest form of addressbooks, because you do not need any extra file or database connection for it.
Figure 2 - Choosing an addressbook type
Step 2 - Create an alert message
The alert message can be a prerecorded audio to be used in a phone call or it can be text to be sent as E-mail, SMS or a tweet via Twitter. This message is going to be placed just before the content of the default messages shown on the top of the screen. Figure 3 shows how to create an alert message.
Figure 3 - Creating an alert message
Step 3 - Setup connection
A communication channel needs to be configured to be able to send the alert messages. After clicking 'Step 3' (Figure 4 - 1.) and the blue 'Create new connection' button (Figure 4 - 2.) you will be able to choose from different type of connections. These types include telephone, e-mail, SMS and Twitter connections (Figure 4 - 3.).
Figure 4 - Choose a connection type you prefer
Step 4 - Create the alert
Select which events should trigger an alert and who should be notified with which message and through which channel. You can easily do this by combining the settings (Figure 5) you have made in the previous 3 steps.
Figure 5 - Creating an alert job
You are finally done. You can see alert jobs created for server down and server up events (Figure 6). You can test the alert system by starting and stopping your cluster. Or you can test it manually by pressing the green 'Start' button next to the job.
Figure 6 - Server down and server up alert jobs running