Different graphs under one column name
Hello
is there a way to have different graphs under the same column name?
I have several servers which run different applications. Now I want to test the application's functionality, but every application is different. So it generates different kind of data, eg. queues size on a mqseries server and hhtp requests on a web server.
The straight forward way would be to create different test columns for the different applications. But then I get a big table with many, many empty positions. So I would like to create an "app" column, but then it seems I can only have on graph definition per column.
Is there a way to achieve this. Maybe create a "sub-graph" definition like "app.queues" or "app.httpreq". Maybe it would be a good idea to add such a functionality to the NCV module. Eg. the test could add a tag to the data which is used by NCV to connect it to the entry in the hobbitgraph.cfg. A cool feature would be a possibility to add different graphs to one page this way.
Here comes a demo test output to show what I mean <!-- HTML comment to hide the NCV stuff from the display [GRAPHNAME=app.IPMSPOOL] # This could be the graph name in the hobbitgraph.cfg SERV1 : 0 SERV10 : 0 SERV11 : 21 SERV12 : 0 SERV13 : 0 SERV2 : 0 SERV3 : 0 SERV6 : 0 SERV7 : 0 SERV8 : 0
Now comes the human readable part of the test --> Spool Warning level is 200, Errorlevel is 250<br> <TABLE> <tr align="left"><th>Status</th><th>Servername</th><th>Spoolcount</th></tr> <tr><td><IMG SRC="/hobbit/gifs/green.gif" ALT="green" HEIGHT="16" WIDTH="16" BORDER=0></td><td>SERV1</td><td>0</td></tr> <tr><td><IMG SRC="/hobbit/gifs/green.gif" ALT="green" HEIGHT="16" WIDTH="16" BORDER=0></td><td>SERV10</td><td>0</td></tr> <tr><td><IMG SRC="/hobbit/gifs/green.gif" ALT="green" HEIGHT="16" WIDTH="16" BORDER=0></td><td>SERV11</td><td>21</td></tr> <tr><td><IMG SRC="/hobbit/gifs/green.gif" ALT="green" HEIGHT="16" WIDTH="16" BORDER=0></td><td>SERV12</td><td>0</td></tr> <tr><td><IMG SRC="/hobbit/gifs/green.gif" ALT="green" HEIGHT="16" WIDTH="16" BORDER=0></td><td>SERV13</td><td>0</td></tr> <tr><td><IMG SRC="/hobbit/gifs/green.gif" ALT="green" HEIGHT="16" WIDTH="16" BORDER=0></td><td>SERV2</td><td>0</td></tr> <tr><td><IMG SRC="/hobbit/gifs/green.gif" ALT="green" HEIGHT="16" WIDTH="16" BORDER=0></td><td>SERV3</td><td>0</td></tr> <tr><td><IMG SRC="/hobbit/gifs/green.gif" ALT="green" HEIGHT="16" WIDTH="16" BORDER=0></td><td>SERV6</td><td>0</td></tr> <tr><td><IMG SRC="/hobbit/gifs/green.gif" ALT="green" HEIGHT="16" WIDTH="16" BORDER=0></td><td>SERV7</td><td>0</td></tr> <tr><td><IMG SRC="/hobbit/gifs/green.gif" ALT="green" HEIGHT="16" WIDTH="16" BORDER=0></td><td>SERV8</td><td>0</td></tr> </TABLE>
Thorsten Erdmann ITI/EP68 Mercedes Benz Werk Hamburg Tel.: +49-40-7920-2593 mobil: +49-160-8614383 Lotus-Fax:+49-711-1779043874 mail: thorsten.erdmann at daimler.com
If you are not the intended addressee, please inform us immediately that you have received this e-mail in error, and delete it. We thank you for your cooperation.
Re: thorsten.erdmann at daimler.com 2010-07-14 <OF9C435A74.02CB9A6F-ONC1257760.004C231A-C1257760.004DDF69 at dcx.dcx>
is there a way to have different graphs under the same column name?
Currently not, though you can just include <img src> tags that display other graphs.
Here comes a demo test output to show what I mean <!-- HTML comment to hide the NCV stuff from the display [GRAPHNAME=app.IPMSPOOL] # This could be the graph name in the hobbitgraph.cfg SERV1 : 0
There's a pretty neat alternative to submitting RRD data. You can submit a separate report for "data <hostname>.trends" for arbitrary RRD stuff:
data foo.trends [bla.rrd] DS:lambda:GAUGE:600:U:U 1234
This allows you to get around some limitations of the (SPLIT)NCV parser.
(I don't think this is properly documented yet.)
Christoph
cb at df7cb.de | http://www.df7cb.de/
participants (2)
-
cb@df7cb.de
-
thorsten.erdmann@daimler.com