[hobbit] Query current host status via CLI

Andy France Andy at zespri.com
Mon Sep 11 03:34:06 CEST 2006





"Jeffcoat, Al" wrote on 07/09/2006 08:12:50 a.m.:

> Found the solution, although I’m sure there are easier methods.  I
> used curl to scrape the number of users from each citrix server, and
> added them as the script went along.  Fortunately, making a fake
> host using noconn, and then naming the test citrix (which matches
> the real citrix test coming from the individual servers) was all I
> had to do, hobbit is now generating a graph.
>
> Al

henrik at hswn.dk (Henrik Stoerner) wrote on 07/09/2006 09:32:26 p.m.:

> You can use the command
>   bb 127.0.0.1 "hobbitdboard test=citrix fields=msg"
> then search each line of output for the string "NNN users active"
> and sum up the NNN values. I have some rather ugly C code to do
> it, but I'm sure it can easily be done in Perl if you know how.

A Citrix Farm summary is something I've thought about for ages - so thanks
to both of you for the push to finally get a script done!

I've created dummy entries for both of our Citrix farms, and have the
"citrix" test pages generated with the "X users active" text showing, but
I'm not getting any RRD files and I'm getting a "broken image" for my
citrix graph.

Is there anything else I should have to do?

Cheers,
Andy.
#####################################################################################

This email is intended for the person to whom it is addressed
only. If you are not the intended recipient, do not read, copy
or use the contents in any way. The opinions expressed may not
necessarily reflect those of ZESPRI Group of Companies ('ZESPRI').

While every effort has been made to verify the information
contained herein, ZESPRI does not make any representations 
as to the accuracy of the information or to the performance
of any data, information or the products mentioned herein.
ZESPRI will not accept liability for any losses, damage or
consequence, however, resulting directly or indirectly from
the use of this e-mail/attachments.
#####################################################################################


More information about the Xymon mailing list