Nagios: Difference between revisions
→SMSTools
Line 482:
Source: [https://www.unixmen.com/send-nagios-alert-notification-using-sms/ unixmen.com]
▲yum install smstools
Make Sure you have the Following SMSTOOLS3 SERVER Files and Folders Installed
▲ incoming = /var/spool/sms/incoming
sudo nano /etc/smsd.conf
▲ outgoing = /var/spool/sms/outgoing
▲ checked = /var/spool/sms/checked
▲ failed = /var/spool/sms/failed
▲ sent = /var/spool/sms/sent
▲ logfile = /var/log/smsd.log
▲ Configuration = /etc/smsd.conf
▲Also make sure that SMSTools has the Right Configuration Setting for your modem in: /etc/smsd.conf
▲device = /dev/ttyACM0
Then restart the service using this command:
service smsd restart▼
Test to send sms:
▲service smsd restart
sendsms 12128654549 'test'
|