[mrtg] Addition of counter and gauge targets
f.ferreri at namex.it
Fri Apr 20 15:16:27 CEST 2007
we have to compute the sum of the traffic flowing through several network
interfaces, some of these interfaces can not be queried by SNMP, but they are
defined as a GAUGE target taking its values from an external Perl script.
Is it possible to define a target which is the overall sum of COUNTER and GAUGE
targets ? We tried to setup an example configuration:
Target[target2]: 2:community at router:
Target[target_sum]:`/home/ferreri/projects/mrtg/target.pl`+2:community at router:
but it seems that obtained values are completely wrong.
Any hints ?
More information about the mrtg