Xymon Mailing List Archive search

xymon-rclient.sh

list Galen Johnson
Tue, 9 Sep 2014 22:15:01 +0000
Message-Id: <user-dbb93be20733@xymon.invalid>

Have you considered using rsync to bring logs to a local folder (IIRC, this already requires "passwordless" ssh).  Then use that copy to run a local "logfetch" process.  That way, it gets to keep the state locally and since rsync should only do block copies, it will only bring over the changes so should be relatively quick.  NB:  I've not looked at xymon-rclient closely so this is said blindly.

=G=

From: Xymon <xymon-bounces at xymon.com> on behalf of Jeremy Laidman <user-71895fb2e44c@xymon.invalid>
Sent: Tuesday, September 9, 2014 5:03 PM
To: Kris Springer
Cc: xymon at xymon.com
Subject: Re: [Xymon] xymon-rclient.sh

On 10 September 2014 03:26, Kris Springer <user-c2caa0a7a8d5@xymon.invalid<mailto:user-c2caa0a7a8d5@xymon.invalid>> wrote:
I'm not getting any log files from FreeNAS using the rclient.  The server website says "The client did not report any logfile data".  Any ideas?

Alas, xymon-rclient doesn't support logfile monitoring.  This is because to do so requires executing the "logfetch" binary, which is supplied as part of the Xymon client package.  When the target system doesn't have the Xymon client installed, there's no logfetch binary, and no way of processing logfiles.

This is on my list of things to do.  But it's non-trivial, because such a binary has to keep state between executions.

I should probably put a note about this on the webpage.

Cheers
Jeremy