[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Using timeouts when monitoring disk space usage
From: |
Aaron Dummer |
Subject: |
Using timeouts when monitoring disk space usage |
Date: |
Fri, 07 Jan 2005 11:54:27 -0500 |
Hi,
Currently I'm using monit to alert me when disk space usage reaches 80%.
check device rootfs with path /dev/hda1
if space usage > 80% then alert
mode passive
When space usage reaches the alert level, monit keeps reminding me until
I bring it back below 80%. I'd like it to send one alert, then timeout,
like it can with processes. Otherwise I keep getting alerts until I can
login to the box and clean up old files, etc.
check process apache with pidfile /var/run/apache.pid
start program = "/etc/init.d/apache start"
stop program = "/etc/init.d/apache stop"
if 2 restarts within 3 cycles then timeout
mode active
I've searched the manual and Google'd it, to no avail. It appears that
timeouts only apply processes. Is there another way to limit the number
of alerts for disk space usage and the like?
--
Aaron Dummer
address@hidden
- Using timeouts when monitoring disk space usage,
Aaron Dummer <=