Lack of "Additional Info" in alerts

Jasmine jasmine.chua at securecirt.com
Sun Sep 14 01:16:01 CEST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


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

Hi

You are welcome. Try to debug it by running the actual `command_line` in your 
shell try using strace or something. 

Just my $0.02 cents.

Jasmine
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/Y6UxNgvTa7Hj2AURAiFGAJwK0u8gw1l7djDB+GqKxs7SjPjXawCfdfIb
EAoyPkhN+xeKRcNEzAPPhhk=
=Yphq
-----END PGP SIGNATURE-----



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