Xymon Mailing List Archive search

Multiple NCV graphs for the same test

3 messages in this thread

list Sigurður Bjarnason · Wed, 3 Oct 2007 12:09:48 -0000 ·
Hi All

 
Does anyone know if it is possible to create multiple graphs pr/test page from NCV module in hobbit ?..

 
And if so.. how   :-)

 
Regards

Siggi
list Sigurður Bjarnason · Tue, 23 Oct 2007 16:15:28 -0000 ·
Hi all 
 
What I am trying to do is to have the same test produce 2 or more sets of graph on the test page itself, like for example the disk column but the graphs would contain separate values of data 
 
I have for example script monitoring jboss application server and have data in the test like this..

 
Jboss Memory Usage :   Mem.Maximum       :      1211 M
Mem.Used        :        870 M
Mem.Free        :        341 M
  Jboss DataBase Connection Pool Status
 Blocking Timeout 10000
Idle Timeout    60
Min Connections  40
Max Connections  100
  Jboss DataBase Connection Pool usage :
 Pool.Available      : 100
Pool.Used                 : 0
  Jboss Active Thread Count :  Thread.count : 1294

 
  <http://192.168.160.65/hobbit-cgi/hobbitgraph.sh?host=cfapp-1&service=ncv:jboss&graph_width=576&graph_height=120&disp=cfapp%2d1&nostale&action=menu>; 
 
And I would like to have graph for each section of the test I did patch hobbit with the splitncv patch ..but to my disappointment that that did not help me a lot..  :-(

 
So for this specific test I would like to have memory / pool / thread count all in separate graphs.. 
 
Please comment on this if you have any clue on what to do..and if not.. then this is a feature request  :D

 
Regards
quoted from Sigurður Bjarnason

 
From: Sigurður Bjarnason [mailto:user-1cb52abe860c@xymon.invalid] Sent: 3. október 2007 12:10
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Multiple NCV graphs for the same test

 
Hi All

 
Does anyone know if it is possible to create multiple graphs pr/test page from NCV module in hobbit ?..

 
And if so.. how   :-)

 
Regards

Siggi
list Charles Jones · Tue, 23 Oct 2007 16:08:13 -0700 ·
There is already a way to get the single graphs out of the big graph, although not displayed automatically. The trick is to use the "count" and "first" keywords in the URL to hobbitgraph.sh

So for example, I have a host that has 7 disk partitions graphed in a single graph.  If I right-click the graph, and copy the URL, I get:

httx://myhobbit.com/hobbit-cgi/hobbitgraph.sh?host=myhost&service=disk&graph_width=576&graph_height=120&first=1&count=7&disp=myhost&nostale&color=green&graph=hourly&action=view

Now, see the "first" and "count" in the URL?  First is the first dataset that will be plotted, and count is how many from that one to display. So if you wanted to see the first disk partition, and only the first, you would use the same URL except with count=1  (&first=1&count=1). Using this method, you can easily generate graphs of any single or /sequential/ group of datasets.  For instance if you only wanted to see the 3rd, 4th, and 5th disk partitions, you would use "&first=3&count=3".  In your example screen-shot, to get a graph of just "Pool_Available", you would use "&first=4&count=1".

I hope that makes sense :)  I know that is not exactly what you want, I agree it would be cool if anywhere a graph was displayed you could optionally toggle the datasets on or off, but hopefully this trick will give you what you need for now.

-Charles
quoted from Sigurður Bjarnason

Sigurður Bjarnason wrote:
Hi all

 
What I am trying to do is to have the same test produce 2 or more sets of graph on the test page itself, like for example the disk column but the graphs would contain separate values of data

 
I have for example script monitoring jboss application server and have data in the test like this..

 
*Jboss Memory Usage : *
  Mem.Maximum       :      1211 M
Mem.Used        :        870 M
Mem.Free        :        341 M
  *Jboss DataBase Connection Pool Status*
 Blocking Timeout 10000
Idle Timeout    60
Min Connections  40
Max Connections  100
  *Jboss DataBase Connection Pool usage :*
 Pool.Available      : 100
Pool.Used                 : 0
  *Jboss Active Thread Count : *
 Thread.count : 1294

 

hobbit graph ncv:jboss <http://192.168.160.65/hobbit-cgi/hobbitgraph.sh?host=cfapp-1&service=ncv:jboss&graph_width=576&graph_height=120&disp=cfapp%2d1&nostale&action=menu>;

 
And I would like to have graph for each section of the test I did patch hobbit with the splitncv patch ..but to my disappointment that that did not help me a lot..  L
quoted from Sigurður Bjarnason

 
So for this specific test I would like to have memory / pool / thread count all in separate graphs..

 
Please comment on this if you have any clue on what to do..and if not.. then this is a feature request  :D

 
Regards

 
*From:* Sigurður Bjarnason [mailto:user-1cb52abe860c@xymon.invalid]
*Sent:* 3. október 2007 12:10
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* [hobbit] Multiple NCV graphs for the same test

 
Hi All

 
Does anyone know if it is possible to create multiple graphs pr/test page from NCV module in hobbit ?..

 

And if so.. how   J

 
Regards

Siggi