notification reasons
Marc Powell
marc at ena.com
Wed Jul 6 17:15:07 CEST 2005
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Aditya Ivaturi
> Sent: Wednesday, July 06, 2005 10:01 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] notification reasons
>
>
> Is there any way to configure descriptive notifications? For e.g. if a
> server is unavailable and then it comes back up, nagios sends me two
> notifications - one for down and one for up. I'd like to see a small
info
> why the server was down when the up notification is received. May be a
> tail of the messages or something similar. May be this is far fetched
or
> may be some one has done something similar. Any suggestions?
The only macro's you have available for notification directly from
Nagios are listed here --
http://nagios.sourceforge.net/docs/1_0/macros.html
That being said, your notification command can be any script you like.
It is certainly possible with a little programming to take the relevant
macro's in as command line arguments and gather additional information
from other sources to include in the email that you send.
--
Marc
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&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