subject rewrite

"D. Wüthrich" d.wuethrich.h at gmx.net
Thu Feb 2 09:13:25 CET 2006


Hi

Have a look at 'misccommands.cfg' configuration file. There are 2 command definitions:
 - host-notify-by-email  (hosts)
 - notify-by-email   (services)

The mail-command specified, e.g. '... /usr/bin/mailx -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$' uses macros - have a look at nagios documentation for the macros.


Polenyik Tibor wrote:
> Hi,
>  
> How to change the subject in the notification email ?
> And I'd like to write the event and server name to the subject.
>  
> Thanks
>  
>  
>  
>  
> 


-------------------------------------------------------
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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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