file monitoring with mtime&noexist

martin.flemming at desy.de martin.flemming at desy.de
Fri May 15 13:35:00 CEST 2009


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




More information about the Xymon mailing list