From 8a7f848c5d6bccc046ee763edc1d0cf0000de4d1 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Tue, 29 Mar 2011 01:14:42 +0000 Subject: change the From header of the mail alert, so this can be send on sysadmin-reports --- modules/xymon/templates/hobbitserver.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/xymon/templates/hobbitserver.cfg b/modules/xymon/templates/hobbitserver.cfg index df7bd086..22084388 100644 --- a/modules/xymon/templates/hobbitserver.cfg +++ b/modules/xymon/templates/hobbitserver.cfg @@ -94,7 +94,8 @@ BBHOSTHISTLOG="TRUE" # Save a log of all events for a host (not used by any t SAVESTATUSLOG="TRUE" # Save the detailed status log each time the status changes. # For the hobbitd_alert module -MAILC="mail" # Command used to send an e-mail with no subject +FROM="root@<%= domain %>" +MAILC="mail -r $FROM" # Command used to send an e-mail with no subject MAIL="$MAILC -s" # Command used to send an e-mail with a subject SVCCODES="disk:100,cpu:200,procs:300,svcs:350,msgs:400,conn:500,http:600,dns:800,smtp:725,telnet:723,ftp:721,pop:810,pop3:810,pop-3:810,ssh:722,imap:843,ssh1:722,ssh2:722,imap2:843,imap3:843,imap4:843,pop2:809,pop-2:809,nntp:819,test:901" ALERTCOLORS="red,yellow,purple" # Colors that may trigger an alert message -- cgit v1.2.1