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