<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText25002 dir=ltr>
<DIV dir=ltr><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>my hobbit version is 4.2.0 and I have a problem with --multigraph option.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>
<DIV dir=ltr><FONT face=Arial size=2>I wrote an external script called "memstats" that collect a lot of data about "ram" and "swap" utilization. </FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>My control creates a single rrd file with all the data collected. </FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>The graph generated by all the data is quite big and I'd like to split into two different graphs.</FONT></DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>This is what I've done:</FONT></DIV></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>1) in hobbitcgi.cfg file I added  the --multigraphs option:</FONT></DIV>
<DIV dir=ltr><EM><FONT face=Arial size=2></FONT></EM> </DIV>
<DIV dir=ltr><EM><FONT face=Arial size=2>CGI_SVC_OPTS="[..CUT..] --no-svcid --history=top --multigraphs=memstats,disk"</FONT></EM></DIV>
<DIV dir=ltr><EM><FONT face=Arial size=2></FONT></EM> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>2) this is the hobbitserver.cfg conf:</FONT></DIV>
<DIV dir=ltr><EM><FONT face=Arial size=2></FONT></EM> </DIV>
<DIV dir=ltr><EM><FONT face=Arial size=2>TEST2RRD="cpu=la,disk,inode,qtree [..CUT..],memstats=ncv"</FONT></EM></DIV>
<DIV dir=ltr><FONT face=Arial size=2><EM>GRAPHS="la,disk,inode [..CUT..],memstats"</EM></FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2><EM>[..CUT..] </EM></FONT></DIV>
<DIV dir=ltr><EM><FONT face=Arial size=2>NCV_memstats="ramtot:GAUGE,ramfree:GAUGE,ramused:GAUGE,ramusedp:GAUGE,rambuff:GAUGE,ramcache:GAUGE,swaptot:GAUGE,swapfree:GAUGE,swapused:GAUGE,swapusedp:GAUGE"</FONT></EM></DIV>
<DIV dir=ltr><EM><FONT face=Arial size=2></FONT></EM> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>3) This is my hobbitgraph.cfg conf:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>[memstats]<BR>        FNPATTERN memstats.rrd<BR>        TITLE MEM Utilization<BR>        YAXIS Bytes<BR>        DEF:ramtot=@RRDFN@:ramtot:AVERAGE<BR>        DEF:ramfree=@RRDFN@:ramfree:AVERAGE<BR>        DEF:ramused=@RRDFN@:ramused:AVERAGE<BR>        DEF:ramusedperc=@RRDFN@:ramusedp:AVERAGE<BR>        DEF:rambuff=@RRDFN@:rambuff:AVERAGE<BR>        DEF:ramcache=@RRDFN@:ramcache:AVERAGE</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>        DEF:swaptot=@RRDFN@:swaptot:AVERAGE<BR>        DEF:swapfree=@RRDFN@:swapfree:AVERAGE<BR>        DEF:swapused=@RRDFN@:swapused:AVERAGE<BR>        DEF:swapusedperc=@RRDFN@:swapusedp:AVERAGE<BR>        AREA:ramtot#@COLOR@:Ram TOT<BR>        GPRINT:ramtot:LAST:Curr\: %5.1lf%s<BR>        GPRINT:ramtot:MAX:Max\: %5.1lf%s<BR>        GPRINT:ramtot:MIN:Min\: %5.1lf%s<BR>        GPRINT:ramtot:AVERAGE:Avg\: %5.1lf%s\n<BR>        LINE1:ramfree#@COLOR@:Ram Used<BR>        GPRINT:ramfree:LAST:Curr\: %5.1lf%s<BR>        GPRINT:ramfree:MAX:Max\: %5.1lf%s<BR>        GPRINT:ramfree:MIN:Min\: %5.1lf%s<BR>        GPRINT:ramfree:AVERAGE:Avg\: %5.1lf%s\n<BR>        </FONT><FONT face=Arial size=2>[..CUT..(there is a LINE1 and GPRINT for every DEF)]</FONT></DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>The result is that I have a very big graph with all the lines values (10) and below two links like that:</FONT></DIV>
<DIV dir=ltr><U>hobbit graph ncv:memstats</U></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>It seems that hobbit knows that "he" :-) must split data from rrd intro 3 graphs but, I don't know why, he can't, so creates a single graph with all data and two links to missing graphs...</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Can someone help me? Thanks in advance</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Alessandro</FONT></DIV></DIV></BODY></HTML>