Nagios Notification Format

Subhendu Ghosh sghosh at sghosh.org
Mon Dec 12 20:03:29 CET 2005


look for the notify-by-* commands in misccommands.cfg

printf * | mail

On Mon, 12 Dec 2005, Eduardo Martinez wrote:

> This is not really a problem but a curiosity.
> Maybe I missed something in the documentation but I could not find where to
> edit this. I want to add a few lines to the notification style that is sent
> out by Nagios. Example notification that I would like to modify.
>
> ########################################
> ***** Nagios  *****
>
> Notification Type: RECOVERY
>
> Service: My Service
> Host: My Host
> Address: IP Address
> State: OK
>
> Date/Time: Mon Dec 12 08:33:03 CST 2005
>
> Additional Info:
>
> All processes are running
> ########################################
>
> I know the notification type, service, host, address, state, and date are
> filled in and generated by the configuration you give it and the Nagios
> plugins.
>
> But how is the entire notification generated?
> Any help would be greatly appreciated.
> Thank you very much,
>
> -Ed
>
>
>
> This email is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged and confidential.  If the reader of this email message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is prohibited.  If you have received this email in error, please notify the sender and destroy/delete all copies of the transmittal.  Thank you.
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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
>

-- 



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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