aboutsummaryrefslogtreecommitdiffstats
path: root/modules/xymon
diff options
context:
space:
mode:
Diffstat (limited to 'modules/xymon')
-rw-r--r--modules/xymon/templates/hobbitserver.cfg3
1 files changed, 2 insertions, 1 deletions
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