SMS Notifications - Incomplete Output on HostNotification

Morris, Patrick patrick.morris at hp.com
Tue Jun 5 21:58:15 CEST 2007


> I've fully migrated to Nagios 2.8.  My only problem seems to 
> be that host notifications to my cell using sms_client have 
> incomplete output.  Service notifications using sms_client to 
> my cell work just fine.  I'm guessing this is just some kind 
> of formatting problem on my command definition.
> 
> Here are my notification command definitions: 

> #'host-notify-by-sms' command definition define command{ 
>        command_name    host-notify-by-sms 
> command_line    /usr/local/bin/sms_client -q $CONTACTPAGER$ 
> '$NOTIFICATIONTYPE$: $HOSTNAME$: $SERVICEDESC$ is 
> $SERVICESTATE$ ($HOSTOUTPUT$)'
> 
>         } 

You're using service-specific macros in a host notification. 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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