Change notification header in the Subject line

Marc Powell marc at ena.com
Mon May 23 23:29:22 CEST 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Paul
> Sent: Monday, May 23, 2005 3:45 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Change notification header in the Subject line
> 
> Hi all,
> 
>  I would like to make the subject line in the notification more
cell/text
> messaging friendly. I would like to have this format or as close as
> possible
> <servername at domain.name.com>, <host_name>, <service description>,
<event
> time>
> (when the DOWN info is logged appropriately).

Change your service_notification_command definition, typically found in
command.cfg. Once you look at it, it should be pretty obvious what you
need to do. The macro documentation page might also be a useful
reference: http://nagios.sourceforge.net/docs/1_0/macros.html


--
Marc 


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&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