Monitor » Misc

ID #1048

How do i setup op5 Monitor to dial a contact when something happens outside workinghours?

In op5 Monitor 3.2 you have a command called 'notify_dial.pl' under '/opt/monitor/op5/notify/', this uses 'AT' Commands to dial the pager nr of the contact. You will not hear a voice telling you what the problem is, all you will hear is a "FAX tone", the purpose it so wake you up so you can read the sms with the problem. How to set it up: Login to your Monitor server as user 'root' and verify that the script has the +x flag. # ll /opt/monitor/op5/notify/notify_dial.pl -rwxrwxr-x 1 root root 2841 Nov 8 13:43 /opt/monitor/op5/notify/notify_dial.pl if it doesn't you set it with command: # chmod a+x /opt/monitor/op5/notify/notify_dial.pl Now login to the webconfig and go to the "Command configuration" * Add a new command * command_name: notify-dial * command_line: $USER3$/notify/notify_dial.pl "$CONTACTPAGER$" * FILE: etc/misccommands.cfg [Apply Changes] Then Press "Save" in the upper right corner. Create a contact as normal, (you can clone your sms contact) change the following values: host_notification_commands: notify-dial service_notification_commands: notify-dial Give the field Pager the phonenr to dial, IMPORTANT!! no countrycode just the plain number, eg 0735xxxxxx Now op5 Monitor server will dial the number in case of emergency. Best Regards Mattias Ryrlén op5 Support

Tags: contact, monitor

Related entries:

Last update: 2011-08-23 11:32
Author: Support Team
Revision: 1.1

Digg it! Print this record Send FAQ to a friend
Please rate this FAQ:

Average rating: 4 (1 Vote)

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry