Display multiple RRD graphes in the same test page
list Pete .
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
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 ." <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
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/