From 9215fe6c6cdac662cd28629342ce1629b44fdad4 Mon Sep 17 00:00:00 2001 From: Jordi Sanfeliu Date: Wed, 9 Jan 2013 12:45:06 +0100 Subject: [PATCH] updated alert options --- monitorix.conf | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/monitorix.conf b/monitorix.conf index 0c32165..55fe0e0 100644 --- a/monitorix.conf +++ b/monitorix.conf @@ -27,7 +27,7 @@ milter_gl = /var/milter-greylist/greylist.db imap_log = /var/log/imap hylafax_log = /var/spool/hylafax/etc/xferfaxlog cups_log = /var/log/cups/page_log -ftp_log = /var/log/secure +ftp_log = /var/log/vsftpd.log fail2ban_log = /var/log/fail2ban.log spamassassin_log = /var/log/maillog clamav_log = /var/log/clamav/clamav.log @@ -40,14 +40,16 @@ ftp_log_date_format = %b %e # Alert capabilities # ----------------------------------------------------------------------------- -enable_alerts = n -alert_loadavg_timeintvl = 3600 -alert_loadavg_threshold = 5.0 -alert_loadavg_script = /path/to/script.sh + + enabled = n + loadavg_timeintvl = 3600 + loadavg_threshold = 5.0 + loadavg_script = /path/to/script.sh -alert_rootfs_timeintvl = 3600 -alert_rootfs_threshold = 100 -alert_rootfs_script = /path/to/script.sh + rootfs_timeintvl = 3600 + rootfs_threshold = 100 + rootfs_script = /path/to/script.sh + # Graphs (de)activation