Possibly outdated information
Some information in this document may be outdated. If you find any outdated information, please contact support so we can rectify it.First you need to enable incoming text messages and the event-handler in
/etc/smsd.conf
Change the setting
incoming = no
to
incoming = yes
Then add:
eventhandler = /opt/monitor/op5/smsreceive/smsreceiver/smsreceiver.php
...in the device section (usually GSM1) and restart the smsd service with service
smsd restart
on EL6, or systemctl restart smsd
on EL7.
When acknowledging a problem via SMS you can use two different approaches:
- Either you just forward (copy-paste) the notification back to the number it came from (called a "dynamic sms")
- or you manually compose a reply (called "static format").
Dynamic sms does not support acknowledgement comments.
If you use the static format, use the following format:
Host ack:
hostack;host-name;comment
Service ack:
serviceack;host-name;service-description;comment
Make sure contact is updated with proper mobile number ('Pager' field in contact form).
Please Note ITRS does not support issues related to GSM modems.
-
Tags:
- SMS
- GSM
- event handlers
Comments
0 comments
Please sign in to leave a comment.