[Xymon] Client script using BB variables?

Henrik Størner henrik at hswn.dk
Tue May 15 14:57:18 CEST 2012


On 15-05-2012 14:08, John Horne wrote:
> Using Xymon 4.3.7, I am trying to install a BB client script onto a
> Xymon client. However, the script uses some variables which no longer
> seem to be available in Xymon. It uses the BBHOSTS and MACHINE
> variables.

MACHINE is defined - it is setup by the "runclient.sh" script which is 
used to start the Xymon client.

BBHOSTS is not set, since that should not be used by a client script - 
it is only available on the Xymon server. I don't recall if the BB 
clients required a bb-hosts file to be present on the client side...

> The problem is basically that the client needs to look up its name in
> the hosts.cfg file.

Why the heck would it need to do that ? I mean, surely it knows who 
itself is.

It would probably be easier if you could post a pointer to the script 
you're trying to use. It might even be that there are 
newer/better/xymon-friendlier replacements available ...


Regards,
Henrik



More information about the Xymon mailing list