strange probs

David Rudder david.rudder at reliableresponse.net
Tue Jan 23 17:44:48 CET 2007


SMS is limited to 120 characters. I don't know, but it makes sense that 
notify-by-sms would trim off any extra characters. Perhaps this is the 
problem?

Daniel wrote:
> Hi there,
>
> i setup up following method for notifications:
>
> define command{
>         command_name notify-by-sms
>         command_line /usr/bin/sudo /usr/local/sbin/sendsms $CONTACTPAGER$ "$NOTIFICATIONTYPE$: $HOSTNAME$ IP: $HOSTADDRESS$ Service $SERVICEDESC$ is $SERVICESTATE$"
>
> he sends the sms and everthinks works BUT he dont display me
> the UP/DOWN message ($SERVICESTATE$)
>
> When i remove $HOSTADDRESS$ in this line he will display the UP/DOWN
> text.
>
>
>
>   


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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