[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

file changed problem

From: xavier
Subject: file changed problem
Date: Sun, 4 Dec 2005 02:59:36 +0100

It looks like the IF FILE CHANGED SIZE (or TIMESTAMP) combined with an exec is not functioning at all.
I tried many settings, and read the mailing lists etc, but no go.
this is my simple config (partialy)
check file lala with path /home
          THEN exec "/bin/bash -c '/root/lalatime'"
        if changed size
          then exec '/root/lalasize'
if i look onto the status httppage, it says:
File status

Parameter Value
Name lala
Path /home/
Status Invalid type
Monitoring mode active
Monitoring status monitored
Check service every 1 cycle
Data collected Sun Dec 4 02:55:11 2005
Permission 0
Timestamp Thu Jan 1 01:00:00 1970
Size 0 B
Match regex no
Associated timestamp If changed 1 times within 1 cycle(s) then exec
Associated size If changed 1 times within 1 cycle(s) then exec
no mather what i do, it doesnt work at all.
the info it provides here doesnt fit with the actual case, i mean, the file-timestamp is from today, and not 1970 as seen in the status, permisions are -rw-r--r-- (here it says 0) and the size doenst match either.
any suggestions please?
btw, all the other functions i use DO work fine as expected

reply via email to

[Prev in Thread] Current Thread [Next in Thread]