[mrtg] Target and its mapping to RRD

Daniele Sluijters d.sluijters at betterbe.com
Tue Jun 28 16:09:30 CEST 2011


Hello,

I'm trying to build a system the company I work for that collects data through MRTG, stores it in RRD's and is then graphs on-demand through a web interface. 

However, I'm running into a few things I can't figure out, namely how the Target[] line maps to RRD.

For example, is it possible to query more than a two-value pair? RRD can store multiple DS's, I was just wondering if something like this would translate to 4 DS's:
Target[network]; oid1&oid2:community at hostname, oid3&oid4:community at hostname 

Another thing I can't exactly figure out is what happens with this:
Target[network]; oid1&oid2:community at hostname+oid3&oid4:community at hostname 
Does that result in two DS's where ds0 contains oid1+oid3 and ds1 contains oid2+oid4 or something else?

Is it even possible to use such "complex" Target-lines with RRD as a backend?

Kind regards,

-- 
Daniele Sluijters



More information about the mrtg mailing list