hobbitfetch and file tests

Patrick Nixon pnixon at gmail.com
Wed Aug 12 22:38:13 CEST 2009


Hey all,
 I have a few servers that I can't connect directly too and I'm doing
a version of hobbitfetch over ssh.   Everything's working except for
the file/dir monitoring.

Anyone have suggestions on how to get the file status and report it to
the control daemon to trigger an alert?

I have tried localclient.cfg using the following format:

HOST=mm03
        FILE
/opt/app/oracle/diag/tnslsnr/mm03/listener/trace/listener.log
SIZE<200M TRACK yellow
        FILE
/opt/app/oracle/diag/tnslsnr/mm03/listener/trace/listener.log
SIZE<300M TRACK red
        DIR     /opt/app/oracle/diag/tnslsnr/mm03/listener/alert/
SIZE<102400 TRACK yellow
        DIR     /opt/app/oracle/diag/tnslsnr/mm03/listener/alert/
SIZE<204800 TRACK red

and trying to run logfetch with:

file:/opt/app/oracle/diag/tnslsnr/mm03/listener/trace/listener.log
SIZE<200M TRACK yellow
file:/opt/app/oracle/diag/tnslsnr/mm03/listener/trace/listener.log
SIZE<300M TRACK red
file:/opt/app/oracle/diag/tnslsnr/mm03/listener/alert/  SIZE<102400 TRACK yellow
file:/opt/app/oracle/diag/tnslsnr/mm03/listener/alert/  SIZE<204800 TRACK red

Thanks!
--Patrick



More information about the Xymon mailing list