Xymon Mailing List Archive search

Help with hobbitd_channel and hobbitd_filestore

list Henrik Størner
Wed, 4 Nov 2009 09:56:08 +0000 (UTC)
Message-Id: <hcrj3o$m8l$user-7fe75da36485@xymon.invalid>

In <user-8780f94e6492@xymon.invalid> "Taylor Lewick" <user-ccbabb0b3ab0@xymon.invalid> writes:
More digging, this stems from the fact that I was passing
channel=3Dclient, and hobbit_filestore doesn't support the client =
channel,
at least in the version I have, i.e. 4.2.0
I just tried running: bbcmd hobbitd_channel --channel=3Ddata
--log=3D/home/hobbit/data/logs/clientcpu.log hobbitd_filestore --data =
and
that did work. =20
So now it's a question of, how do I get hobbitd_filestore to work with
hobbit_channel --channel=3Dclient?  Modify hobbitd_filestore.c?
hobbitd_filestore was only intended as a compatibility module for
people migrating from Big Brother. Since BB didn't have the concept
of "client data", there is no support for logging client data via
hobbitd_filestore.

I would advise against logging all client data to disk files - 
unless you have a small setup (only a few hosts) it will cause
a lot of disk I/O and generally make your Xymon server very busy.
Much better to have your custom handler work directly from the 
data that is fed to it via STDIN from hobbitd_channel.


Regards,
Henrik