Xymon Mailing List Archive search

Display multiple RRD graphes in the same test page

3 messages in this thread

list Pete . · Wed, 20 Jan 2010 15:45:34 +0100 ·
Hello,

I'm trying to display multiple rrd graphs in the same test/column.

I recently bought an UPS and after Googling I have found the implementation :
http://wiki.w0wdx.com/Hobbit_script_to_monitor_and_plot_APC_UPS_using_apcaccess_from_apcupsd
Everything is OK ;-)

My point is : is it possible to display the three rrd graphs (upsp.rrd, upsv.rrd and upsv.rrd) in the "ups" test/column if upsp, upsv and upsv are declared as NCV in hobbitserver.cfg ? Otherwise, do you know an example of script that displays multiple graphs in a single test ?

Thanks for reading, I hope for your advices .

Regards, 

Pete
 		 	   		  
Tchattez en direct en en vidéo avec vos amis !  
http://www.windowslive.fr/messenger/
list Olivier Audry · Wed, 20 Jan 2010 15:54:57 +0000 (UTC) ·
hello

in your hobbitcgi.cfg add to the var CGI_SVC_OPTS="--env=/data/hobbit/server/etc/hobbitserver.cfg --no-svcid --multigraphs=if_load,if_err,if_col,mysql_db,vip-bandwith".

Question to Henrik : according to the documentation we are limited to 5 graph. I need more :). But has I see for if_load there is a hack for devmon that I can use. 
best regards

olivier audry


----- Mail Original -----
quoted from Pete .
De: "Pete ." <user-ae97671779d2@xymon.invalid>
À: user-ae9b8668bcde@xymon.invalid
Envoyé: Mercredi 20 Janvier 2010 15h45:34 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne
Objet: [hobbit] Display multiple RRD graphes in the same test page

Hello, 
I'm trying to display multiple rrd graphs in the same test/column. 
I recently bought an UPS and after Googling I have found the implementation : http://wiki.w0wdx.com/Hobbit_script_to_monitor_and_plot_APC_UPS_using_apcaccess_from_apcupsd Everything is OK ;-) 
My point is : is it possible to display the three rrd graphs (upsp.rrd, upsv.rrd and upsv.rrd) in the "ups" test/column if upsp, upsv and upsv are declared as NCV in hobbitserver.cfg ? Otherwise, do you know an example of script that displays multiple graphs in a single test ? 
Thanks for reading, I hope for your advices . 
Regards, 
Pete 

Windows 7 : Trouvez le PC qui vous convient! Découvrez notre offre !
list Christoph Berg · Wed, 20 Jan 2010 17:25:22 +0100 ·
Re: Pete . 2010-01-20 <user-3c423124e46b@xymon.invalid>
My point is : is it possible to display the three rrd graphs (upsp.rrd, upsv.rrd and upsv.rrd) in the "ups" test/column if upsp, upsv and upsv are declared as NCV in hobbitserver.cfg ? Otherwise, do you know an example of script that displays multiple graphs in a single test ?
Re: Olivier AUDRY 2010-01-20 <2343088.241264002896950.JavaMail.root at zimbra>
in your hobbitcgi.cfg add to the var CGI_SVC_OPTS="--env=/data/hobbit/server/etc/hobbitserver.cfg --no-svcid --multigraphs=if_load,if_err,if_col,mysql_db,vip-bandwith".
That option does something else, it will cause several "lines" in the
same graph definition to be distributed over several pictures.
(Standard example is the disk graph, where there's 3 filesystems in
every picture.)

Having multiple independent graphs in the same test is not possbile.

For workarounds, you can either look at the "trends" column, or print
out html code in the test result to include the graphs (ugly, not
portable, but works).

Christoph
-- 
user-92157dbc91bf@xymon.invalid | http://www.df7cb.de/