Lack of "Additional Info" in alerts

Bryan K. Walton zxcvbnm at tds.net
Sat Sep 13 20:54:12 CEST 2003


On Sun, Sep 14, 2003 at 02:04:13AM +0800, Jasmine wrote:
> 
> Hi
> 
> Maybe you would like to check your command definition for notifying emails.. 
> it should consist of this particular macro which should be there by default 
> from the sample configuration files:
> Additional Info:\n\n$OUTPUT$"
> 

Hi, thank you for the suggestion, but it looks like everything is as
it should be in the misccommands.cfg file.  Here is the relevant
section from mine:

# 'notify-by-email' command definition
define command{
        command_name    notify-by-email
        command_line    /usr/bin/printf "%b" "***** Nagios 
*****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVIC
EDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState:
$SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$"
| /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert -
$HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$
        }

Any other ideas?

Thanks,
Bryan


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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