[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hobbitfetch and file tests
- To: hobbit (at) hswn.dk
- Subject: hobbitfetch and file tests
- From: Patrick Nixon <pnixon (at) gmail.com>
- Date: Wed, 12 Aug 2009 16:38:13 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=7aHVp3apCzaOkqpjPMvKyMzhnsCpO1EZkw7oI56Xs6s=; b=l4180iXe/bOavB9nWPMMHCOangHQZJXxUmoEZEvq3rw5MUQCWlZmWELR4GsapB5CoQ yRjPEdFduv0bOrqilvjbcWiPH3GsaprDeDqQI0uINbCghm7J9L+UaIRPU8f0CyMwCHek Mq5tm3p1Ffo1yTbBV5l3Blxp3NBv17MZJtxNM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=Qy8FbaFNxJ0LZJP6QI2KEyp9vSEA6fk2n+EhdYI3jTN8mR4YqVV30XEAkRsN6FjbSs pDKU5gx+R/kdTq5hN9tTct7Qe4rVHiXbbsOsxVHVioRXG0yauxx0vm95ZOvGXfykU8sI Ltpr8zFVDDnv4EeIfE8/tTTfpuLWma+AD5n+U=
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