From 0c3a2adc01a00d72dded777d8e78dfbf47b04efc Mon Sep 17 00:00:00 2001 From: Jordi Sanfeliu Date: Tue, 22 Jan 2013 15:52:03 +0100 Subject: [PATCH] changed how the alerts are implemented in the configuration file --- monitorix.conf | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/monitorix.conf b/monitorix.conf index 342c631..29f91de 100644 --- a/monitorix.conf +++ b/monitorix.conf @@ -38,20 +38,6 @@ imap_log_date_format = %b %d ftp_log_date_format = %b %e -# Alert capabilities -# ----------------------------------------------------------------------------- - - enabled = n - loadavg_timeintvl = 3600 - loadavg_threshold = 5.0 - loadavg_script = /path/to/script.sh - - rootfs_timeintvl = 3600 - rootfs_threshold = 100 - rootfs_script = /path/to/script.sh - - - # Graphs (de)activation # ----------------------------------------------------------------------------- @@ -88,6 +74,12 @@ ftp_log_date_format = %b %e rigid = 1, 0 limit = 1, 100 + + enabled = n + loadavg_timeintvl = 3600 + loadavg_threshold = 5.0 + loadavg_script = /path/to/script.sh + @@ -183,6 +175,12 @@ ftp_log_date_format = %b %e rigid = 2, 0, 0 limit = 100, 1000, 1000 + + enabled = n + rootfs_timeintvl = 3600 + rootfs_threshold = 100 + rootfs_script = /path/to/script.sh + @@ -213,6 +211,15 @@ ftp_log_date_format = %b %e greylist = milter-greylist rigid = 0, 0, 0, 0, 0 limit = 1, 1000, 1000, 1000, 1000 + + enabled = n + delvd_timeintvl = 60 + delvd_threshold = 100 + delvd_script = /path/to/script.sh + mqueued_timeintvl = 3600 + mqueued_threshold = 100 + mqueued_script = /path/to/script.sh +