notifications customized

Marc Powell marc at ena.com
Wed Feb 11 21:58:39 CET 2004


On Wednesday, February 11, 2004 1:32 PM, Roger shared with us:

> I got a notification from nagios that a host was down.  The message
> body is below.. 
> 
> ***** Nagios  *****
> 
> Notification Type: PROBLEM
> Host: bruin
> State: DOWN
> Address: x.x.x.x
> Info: CRITICAL - Plugin timed out after 10 seconds
> 
> Date/Time: Wed Feb 11 12:24:21 CST 2004
> 
> 
> 
> This is great, however is there a way to include a url along w/ the
> notification?  Say a "click here to check status". 

Déjà vu... The same type of question was just asked yesterday. Edit your notify-by-email command definition. It's a simple echo or printf command whose output is piped to /bin/mail. You can change the echo to include whatever you want or you can replace the command entirely with something you've written.

--
Marc


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
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