[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
file monitoring with mtime&noexist
- To: hobbit (at) hswn.dk
- Subject: file monitoring with mtime&noexist
- From: martin.flemming (at) desy.de
- Date: Fri, 15 May 2009 13:35:00 +0200 (CEST)
Hi !
.. i want to monitor the /var/run/yum.pid file
for hanging yum-process ...
So my hobbit-client.cfg looks like
FILE /var/run/yum.pid mtime>86400 noexist
I want an alert, if the file exits and it's older than 24 hours,
but i've got an alarm if it's exists and not if it's exist and already 24hours old ...
Got somebody an idea how it works ?
.. or did i something misunderstood ...
thanks & cheers
Martin