finding ifHC* counters by ifName

Adi Fairbank <[email protected]>
Newsgroups gmane.network.mrtg.user
Message-ID <[email protected]>
Is it possible in the current version of MRTG to target the ifHC{In,Out}Octets by ifName?  I tried the following and it doesn't work:

Target[network_cume_bond0]: ifHCInOctets#bond0&ifHCOutOctets#bond0:public@localhost:::::2

The error it throws is:

2012-09-03 13:35:01 -- 2012-09-03 13:35:01: WARNING: could not match&get localhost/ifHCInOctets for Name 'bond0'

When I snmpwalk, the ifName for bond0 is clearly there:

IF-MIB::ifName.1 = STRING: lo
IF-MIB::ifName.2 = STRING: eth0
IF-MIB::ifName.3 = STRING: eth1
IF-MIB::ifName.4 = STRING: bond0

So why couldn't it find it?

Thanks,
Adi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.