Many of the modern mobile phones are only giving you one tiny signal when a sms arrives. If you are on duty during the night you might not wake up or if you are in a very noisy environment it might take some time for you to notice the arrived sms. There for we have included a dial up notification in op5 Monitor.
This is a very simple, but effective, notification that works like this:
Table 3 Dial up notification workflow
Step | Action |
1 | op5 Monitor is scheduling a notification. |
2 | The notification goes through all the filters. |
3 | The notify_dial.pl script is called with the following command line: /opt/monitor/op5/notify/notif_dial.pl <mobilephonenumber> |
4 | notify_dial.pl is shutting down smsd |
5 | notify_dial.pl tries to call the <mobilephonenumber> If the line is busy or no one answer the call in 45 seconds notify_dial.pl will hang up and try again two more times before it quits. |
6 | The user answer the call and notify_dial.pl hangs up. |
6 | notify_dial.pl is starting up smsd again and the execution is over. |
Adding a dial up notification command
This is done in two steps:
•add the command
•configure the contacts
To add a dial up notification command
1 Login to the op5 Monitor user interface and go to Configure.
2 Click Commands.
3 Add a new command with the following settings:
command_name notify_by_dial
command_line $USER3$/notify/notify_dial.pl "$CONTACTPAGER$"
4 Click Apply.
5 Click Save.
Configuring the contacts
To configure the contacts
1 Login to the op5 Monitor user interface and go to Configure.
2 Either open up an existing contact and create a new one.
3 On the contact set Pager to a phone number on the form like this (without the leading '+'-sign ):
46795123123
4 Set host_notification_commands and service_notification_commands to:
notify_by_dial
5 Click Apply.
6 Click Save.
Note: Make sure the contact is a member of the contact_group is associated with the correct objects.