Notification by sms
Peter Edmonds
termx23 at gmail.com
Sun Oct 14 13:36:55 CEST 2007
On 10/13/07, Jacques FAN <fan.jacques at gmail.com> wrote:
> I setting up the lynx for sending sms alerts, but I'm not able to
> synchronise the alarms to be sending,
> who can help me with a commands.
This is what I use for sending sms alerts in Nagios / Groundwork Open Source
notify-by-sms
echo -e "<$HOSTNAME$>\n$SERVICEDESC$\n$SERVICESTATE$\n$SERVICEOUTPUT$\n$LONGDATETIME$"
|gnokii --sendsms $CONTACTPAGER$ >>
/usr/local/groundwork/nagios/var/gnokii.log 2>&1
Gnokii and a Telular GSM phone plugged into the serial port and you
are good to go. Other alternatives might be a Motorola GSM phone via
USB....
Peter Edmonds
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list