Lack of "Additional Info" in alerts
Bryan K. Walton
zxcvbnm at tds.net
Mon Sep 15 22:20:11 CEST 2003
Hi everybody,
Can someone tell me where $OUTPUT$ is defined? My
notify-by-email command definition is looking for that, and I am
wondering if perhaps I simply need to define it somewhere.
Thanks,
Bryan Walton
On Mon, Sep 15, 2003 at 03:12:34PM -0500, Bryan K. Walton wrote:
> Hi Matt,
> Thank you for your email. I am a little confused. Here is
> the definition of my notification command below. I have some quotes in
> there already. Should I be quoting some things?
>
> Thanks,
> Bryan Walton
>
> # '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:
> $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress:
> $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time:
> $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /usr/bin/mail -s "**
> $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SE
> RVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$
> }
>
-------------------------------------------------------
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