Guten Tag Arno Lehmann, am Dienstag, 23. Januar 2007 um 17:36 schrieben Sie:
> Hi, > On 1/23/2007 5:20 PM, Daniel wrote: >> Guten Tag Daniel, >> >> am Dienstag, 23. Januar 2007 um 16:56 schrieben Sie: >> >> >>>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. >> >> >> Mh i can set everthink after $SERVICEDESC$ and no variable is >> displayed.... ;( > How long are your SMSes? 160 Characters? > Then you simply hit the length limitation for an SMS. I set it now to: "$NOTIFICATIONTYPE$: $HOSTNAME$ ($HOSTADDRESS$) ist $SERVICESTATE$" It wont work :( and i am sure this are less then 160 charactars ;) -- greetz daniel ------------------------------------------------------------------------- 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@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