Re: [Nagios-users] strange probs

2007-01-23 Thread Josh Yost
Daniel wrote: > > I set it now to: > "$NOTIFICATIONTYPE$: $HOSTNAME$ ($HOSTADDRESS$) ist $SERVICESTATE$" > > It wont work :( and i am sure this are less then 160 charactars ;) > If it's for a host notification, then it needs to be $HOSTSTATE$, not $SERVICESTATE$. Try it and see if you get any

Re: [Nagios-users] strange probs

2007-01-23 Thread Daniel
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: >> >> >>>defi

Re: [Nagios-users] strange probs

2007-01-23 Thread David Rudder
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 >

Re: [Nagios-users] strange probs

2007-01-23 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Daniel > Sent: Tuesday, January 23, 2007 10:41 AM > To: Arno Lehmann > Cc: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] strange probs >

Re: [Nagios-users] strange probs

2007-01-23 Thread Daniel
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: >> >> >>>defi

Re: [Nagios-users] strange probs

2007-01-23 Thread Arno Lehmann
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/loca

Re: [Nagios-users] strange probs

2007-01-23 Thread Daniel
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

[Nagios-users] strange probs

2007-01-23 Thread Daniel
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