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_apcacc... 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/
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 ----- De: "Pete ." <pete_56 at hotmail.com> À: hobbit at hswn.dk 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_apcacc... 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 !
Re: Pete . 2010-01-20 <SNT124-W50C42375FC0F446337312C97640 at phx.gbl>
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
cb at df7cb.de | http://www.df7cb.de/
participants (3)
-
cb@df7cb.de
-
olivier@audry.fr
-
pete_56@hotmail.com