[mrtg] check for HighspeedCounters faild

Mathieu DELAPLACE mathieu.delaplace at aquitaine.cci.fr
Wed Apr 6 10:17:19 MEST 2005


I try to get SNMP info on a router, and I have some problems ...

cfg-maker --version outputs : cfgmaker for mrtg-2.10.13
OS is Linux Debian

_if I try :_

$ cfgmaker --snmp-options=:161::::2  \
   mrtg at 192.168.1.254 --output=/etc/mrtg.cfg

it gives me, for each interface, these messages :

--base: snmpget mrtg at 192.168.1.254:161::::2:v4only for ifHighSpeed.1 -> 
  Mb/s
--base: snmpget mrtg at 192.168.1.254:161::::2:v4only for ifHCInOctets.1 ->
--base: check for HighspeedCounters faild ... Droping back to V1

and in /etc/mrtg.cfg, all the interfaces are commented

_if I try :_

$ cfgmaker --snmp-options=:161::::2c  \
   mrtg at 192.168.1.254 --output=/etc/mrtg.cfg

in /etc/mrtg.cfg, only the WAN interface is uncommented (althought I 
have a LAN linked on one of the LAN interface)

and running MRTG tells me :

ERROR: Target[192.168.1.254_3][_IN_] ' $target->[0]{$mode} c' (warn): 
(Missing operator before c?)
ERROR: Target[192.168.1.254_3][_OUT_] ' $target->[0]{$mode} c' (warn): 
(Missing operator before c?)

I figured out that the 'c' in question is the one of "2c" appearing in 
the configuration file as a SNMP options.


Does anyone has any idea ?



Mathieu DELAPLACE

--
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