Different graphs under one column name
list Thorsten Erdmann
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.: +XX-XX-XXXX-XXXX mobil: +XX-XXX-XXXXXXX Lotus-Fax:+XX-XXX-XXXXXXXXXX mail: user-9219fb9415b1@xymon.invalid 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.
list Christoph Berg
Re: user-9219fb9415b1@xymon.invalid 2010-07-14 <user-9e856bb7e581@xymon.invalid>
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 -- user-92157dbc91bf@xymon.invalid | http://www.df7cb.de/