strange probs

Marc Powell marc at ena.com
Tue Jan 23 17:44:25 CET 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Daniel
> Sent: Tuesday, January 23, 2007 10:41 AM
> To: Arno Lehmann
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] strange probs
> 
> 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$"
> >>
> >>
[chop]

> > How long are your SMSes? 160 Characters?
> 
> Yep support up to 160 characters
> 
> > Then you simply hit the length limitation for an SMS.
> 
> The message which comes from nagios is not 160 signs.
> Its funny: the sms is like:
> 
> Host BLA IP: xx.xx.xx.xx Server: is
> There is missing the varibales...

This would be explained if this were a host notification and not a
service notification. Is that the case?

--
Marc 

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