Xymon Mailing List Archive search

How to get Overall Cluster Utilization report using Hobbit(Xymon): 4.2.2

3 messages in this thread

list Pankaj Dorlikar · Fri, 5 Mar 2010 11:09:48 +0530 (IST) ·
Hi,
we have cluster of 25 nodes and we wanted to see overall cluster 
utilization report.We are getting individual nodes utilization.But we want 
combined utilization. We to get that.
os : rhel 5.2

Warm Regards,

Pankaj Dorlikar


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
list Japheth Cleaver · Fri, 5 Mar 2010 10:24:12 -0800 ·
-----Original Message-----
From: Pankaj Dorlikar [mailto:user-474fc0f78c37@xymon.invalid]
Sent: Thursday, March 04, 2010 9:40 PM
To: user-ae9b8668bcde@xymon.invalid
Cc: Pankaj Dorlikar
Subject: [hobbit] How to get Overall Cluster Utilization report using
Hobbit(Xymon): 4.2.2
quoted from Pankaj Dorlikar

Hi,
we have cluster of 25 nodes and we wanted to see overall cluster
utilization report.We are getting individual nodes utilization.But we want
combined utilization. We to get that.
os : rhel 5.2

Warm Regards,

Pankaj Dorlikar

I'm not sure if bbcombotests can really do this, but it might be a good way to start, at least for threshold generation.

http://www.hswn.dk/hobbit/help/manpages/man5/bbcombotest.cfg.5.html

If you're looking for rrd-type graphs, you could try automating or defining links to the metrics report cgi at http://www.hswn.dk/hobbit/help/manpages/man1/hobbit-hostgraphs.cgi.1.html 

If all else fails, create a script that reads your RRDs for the individual hosts directly and composes something custom, then have it run as an external script on your server, feeding a new custom test back into hobbit with the bb command.

HTH,

Japheth Cleaver
list Buchan Milne · Tue, 9 Mar 2010 15:07:35 +0100 ·
quoted from Pankaj Dorlikar
On Friday, 5 March 2010 06:39:48 Pankaj Dorlikar wrote:
Hi,
we have cluster of 25 nodes and we wanted to see overall cluster
utilization report.We are getting individual nodes utilization.But we want
combined utilization. 
Do you mean one graph showing the individual (e.g. load average) utilisation for 25 servers? It seems (at least for me on 4.2.3) that the metrics report only works up to 2 servers, but the method from before the metrics report, adding more host names to the normal trends graphs, works fine at least up to 8 servers.

So, view the "cpu" page for a server, click on the graph, you should be at a URL such as:

http://xymon.mydomain.com/xymon-
cgi/hobbitgraph.sh?host=server1.mydomain.com&service=la&graph_width=576&graph_height=120&disp=zcs-
mbs1.zmb.com&nostale&action=menu

Now, edit the URL in your browser, to something like this:

http://xymon.mydomain.com/xymon-
cgi/hobbitgraph.sh?host=server1.mydomain.com,server2.mydomain.com&service=la&graph_width=576&graph_height=120&disp=zcs-
mbs1.zmb.com&nostale&action=menu

Keep adding host names as used in Xymon to the host= parameter, separated by commas.

You may want to keep this URL, by bookmark, or by making a small web page that loads the IMG urls (e.g. http://xymon.mydomain.com/xymon-
cgi/hobbitgraph.sh?host=server1.mydomain.com,server2.mydomain.com&service=la&graph_height=120&graph_width=576&color=green&nostale&action=view&graph=hourly)

It would be nice to have at tool to set up such views, but I think the better investment would be building a new web interface with a real framework which would make things like this easier to write ...


Regards,
Buchan