[mrtg] problem with aggregation of snmp devices

TJ Horan pell at pellaeon.com
Tue Dec 3 23:55:50 MET 2002


Hello,

I have looked through the list and read the config documentation on the
website and have been un-able to figure out why I am recieving these
errors on a target with multiple snmp devices.

The errors that I get when running mrtg are 

ERROR: Target[agg2][_IN_] ' $$target[2]{$mode}  +  $$target[3]{$mode} '
(warn): Use of uninitialized value in addition (+) at (eval 16) line 1.
ERROR: Target[agg2][_OUT_] ' $$target[2]{$mode}  +  $$target[3]{$mode} '
(warn): Use of uninitialized value in addition (+) at (eval 17) line 1.
WARNING: Skipping Update of agg2, inlast is not defined
WARNING: Skipping Update of agg2, outlast is not defined



My config entry looks as such:

Target[agg2]: 2:public at linux1 + 2:public at linux2
MaxBytes[agg2]: 125000000
Title[agg2]: Aggregate 2
PageTop[agg2]: <H1>Traffic Analysis for agg2</H1>
 <TABLE>
    <TR><TD>System:</TD>     <TD>agg2</TD></TR>
</TABLE>

Which is exactly how the configuration example shows.
Target[ezwf]: 2:public at wellfleetA + 1:public at wellfleetA

snmpwalk -c public for each of these hosts work and when I have them set
up as seperate targets it works properly.  Only do I receive the error
when i try and add the 2 in a single target.

I am using 'mrtg-2.9.25 is the Multi Router Traffic Grapher.'

I would be happy to provide proper hostnames off list if it will assist
in debugging.

Thanks in advance!
pell

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list