host event notifications

Arno Lehmann al at its-lehmann.de
Thu Mar 10 22:44:02 CET 2005


Andreas Ericsson wrote:

> Robert.Lattanzi at fitchratings.com wrote:

>> miscommands.cfg entry:
>> define command{
>>         command_name    networkdevice-notify-by-epager
>>         command_line     /usr/bin/snpp -m "$HOSTNAME$ (IP: $HOSTADDRESS$)
>> is $HOSTSTATE$ Info: $OUTPUT$ Time: $DATETIME$" $CONTACTPAGER$
>> }
>>
> 
> The opening quotation mark misses its mate. Put a " after $CONTACTPAGER$ 
> and things might work a bit better.

Sure? I read this as `snpp -m "some stuff to send as a message" 
$CONTACTPAGER$

But that's only me...

Arno

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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