Add information in notification

Hari Sekhon hpsekhon at googlemail.com
Wed Mar 5 14:16:38 CET 2008


Bráulio H. Soares wrote:
>
> Hi people,
>
> I need to send the notifications with a comment, including information 
> about the incident, instead only information about host or service…
>
> I think to achieve this using event handler, with scripts that send 
> e-mail containing that message, but I not able to do this, because the 
> user could receive two e-mail, the first could be a notification and 
> the second the “incident information”, generated by the script.
>
> Can I to add “environment variables” (like $HOSTALIAS$ or $HOSTSTATE$) 
> in the Nagios, using to send the enhanced information?
>
>
See misccommands.cfg where your notification commands are enabled. They 
use Nagios macros, so you can add more information using other macros there.

-h

-- 
Hari Sekhon


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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