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
IF CHANGED TIMESTAMP
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
ParameterValue
Namelala
Path/home/
StatusInvalid type
Monitoring modeactive
Monitoring statusmonitored
Check serviceevery 1 cycle
Data collectedSun Dec 4 02:55:11 2005
Permission0
UID0
GID0
TimestampThu Jan 1 01:00:00 1970
Size0 B
Match regexno
Associated timestampIf changed 1 times within 1 cycle(s) then exec
Associated sizeIf 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
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general