[mrtg] FW: graphing three indexed values for Amps for APC PDU

Max Hetrick maxhetrick at verizon.net
Thu Oct 22 19:19:22 CEST 2009

Bruce Langston wrote:

> Is there a way to graph these three values on the same graph?  

At most you're going to get two values at the same time.

An example would be as follows on graphing the disk space of two 
different shares that I have on the same host:

# host1 graph for /var/www/reports and /var/samba/downloads
Target[host1_2]: at host1
MaxBytes[host1_2]: 100
Options[host1_2]: gauge,growright,nopercent,integer
Title[host1_2]: Disk Usage on /var/www/reports and /var/samba/downloads
YLegend[host1_2]: Reports/Downloads
LegendI[host1_2]:  Reports:
LegendO[host1_2]:  Downloads:
Legend1[host1_2]: Home
Legend2[host1_2]: Reports
PageTop[host1_2]: <H1>Disk Usage /var/www/reports and 
/var/samba/downloads </H1>

This part being the important part with the "&" config:

Target[host1_2]: at host1

This has always been my knowledge of it, so unless something changed, 
this should still work.


More information about the mrtg mailing list