On Wed, 2009-05-27 at 03:36 -0700, IamQ wrote: > All, > > This feels like asking a bit of a dumb question... Google in this case has > not been my friend : \ > > I'm trying to plot 4 (or 6) items onto 1 graph but don't see any obvious > examples of how its done.
collect your items in normal 2-plot rrds, then combine them using routers.cgi*Graph. Here is an example of the number of concurrent voip calls from multiple devices: $ grep ALL_CALLS * 1-voip.cfg:routers.cgi*Graph[1-voip.example.net.call]: ALL_CALLS 2-voip.cfg:routers.cgi*Graph[2-voip.example.net.call]: ALL_CALLS 3-voip.cfg:routers.cgi*Graph[3-voip-example.net.call]: ALL_CALLS 4-voip.cfg:routers.cgi*Graph[4-voip.example.net.call]: ALL_CALLS 5-voip.cfg:routers.cgi*Graph[5-voip.example.net.call]: ALL_CALLS $cat 1-voip.cfg Target[1-voip.example.net.call]: CnTWaLKcvCommonDcCallActiveCoderTypeRate&PseudoZero:public:[email protected]::3:1:1:3 SnmpOptions[1-voip.example.net.call]: authkey=>'0xbf',authprotocol=>'sha',privprotocol=>'aescfb128',username=>'bar',privkey=>'0x4f' MaxBytes[1-voip.example.net.call]: 24 routers.cgi*Graph[1-voip.example.net.call]: ALL_CALLS Options[1-voip.example.net.call]: gauge, noo $ cat all.cfg routers.cgi*InMenu[_]:no routers.cgi*InOut[_]:no routers.cgi*InSummary[_]:no include: /var/mrtg/cfg/voip/1-voip.cfg include: /var/mrtg/cfg/voip/2-voip.cfg include: /var/mrtg/cfg/voip/3-voip.cfg include: /var/mrtg/cfg/voip/4-voip.cfg include: /var/mrtg/cfg/voip/5-voip.cfg routers.cgi*InMenu[ALL_CALLS]: yes Then, when I select the all.cfg file, I get a graph named ALL_CALLS with 5 lines -- Daniel J McDonald, CCIE # 2495, CISSP # 78281, CNX www.austinenergy.com
signature.asc
Description: This is a digitally signed message part
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
