[mrtg] Addition of counter and gauge targets

Daniel J McDonald dan.mcdonald at austinenergy.com
Fri Apr 20 15:48:14 CEST 2007


On Fri, 2007-04-20 at 15:16 +0200, Francesco Ferreri wrote:
> Hi all,
> 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:

Easiest would be to make a stacked graph virtual target in routers2.cgi.
The math involved in roll-overs for your combined example would be
fairly difficult.
-- 
Daniel J McDonald, CCIE # 2495, CISSP # 78281, CNX
Austin Energy
http://www.austinenergy.com



More information about the mrtg mailing list