changed how the alerts are implemented in the configuration file

This commit is contained in:
Jordi Sanfeliu 2013-01-22 15:52:03 +01:00
parent f403c01ed0
commit 0c3a2adc01
1 changed files with 21 additions and 14 deletions

View File

@ -38,20 +38,6 @@ imap_log_date_format = %b %d
ftp_log_date_format = %b %e
# Alert capabilities
# -----------------------------------------------------------------------------
<alerts>
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
</alerts>
# Graphs (de)activation
# -----------------------------------------------------------------------------
<graph_enable>
@ -88,6 +74,12 @@ ftp_log_date_format = %b %e
<system>
rigid = 1, 0
limit = 1, 100
<alerts>
enabled = n
loadavg_timeintvl = 3600
loadavg_threshold = 5.0
loadavg_script = /path/to/script.sh
</alerts>
</system>
@ -183,6 +175,12 @@ ftp_log_date_format = %b %e
</devmap>
rigid = 2, 0, 0
limit = 100, 1000, 1000
<alerts>
enabled = n
rootfs_timeintvl = 3600
rootfs_threshold = 100
rootfs_script = /path/to/script.sh
</alerts>
</fs>
@ -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
<alerts>
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
</alerts>
</mail>