strange probs

Arno Lehmann al at its-lehmann.de
Tue Jan 23 17:36:05 CET 2007


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.

Arno

> 
> 
> 

-- 
IT-Service Lehmann                    al at its-lehmann.de
Arno Lehmann                  http://www.its-lehmann.de

-------------------------------------------------------------------------
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