sms notify not working
James
james at nttmcl.com
Wed Nov 7 00:59:25 CET 2007
Hi everyone i'm using sms_client to send sms messages to a tap server
for sprint
i can run the sms_client manually fine but i set it to a notify
definition and it won't execute
nagios logs shows that it executed the notify command but it doesn't
actually run the sms_client daemon at all.
In the notifications history it shows that those notify commands are
executed but it actually isn't being executed at all
I can run email notify commands fine.
Help please?
TIA James
Here's the notify commands i've tried :
define command{
command_name notify-by-sms
command_line /usr/bin/sms_client -q
sprintpcs:800xxxxxxx "$HOSTNAME$ $SERVICESTATE$\r\n Info: $OUTPUT$"
}
define command{
command_name notify-by-sms-testing
command_line /usr/bin/printf "%b" "Host:
$HOSTNAME$ I
nfo: $HOSTOUTPUT$\n" | sms_client -q sprintpcs:800xxxxxxx
}
-------------------------------------------------------------------------
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