[CentOS] can't get Ethernet SNMP information

Wed Aug 13 18:28:42 UTC 2008
Rudi Ahlers <rudiahlers at gmail.com>

On Wed, Aug 13, 2008 at 5:59 PM, nate <centos at linuxpowered.net> wrote:

> Rudi Ahlers wrote:
>
> > Yes, I have clicked on the green circle a few times, and I have even
> removed
> > the "Interface Statistics" altogether, and added it again
>
> Very strange, can you include the output of the verbose query? What
> version of cacti?
>
> This is what I get, though I don't use this method to get network
> stats from my systems, I have scripts that gather it for me(they
> return about 20 points of data that I put into a single RRD per-host,
> vastly improving performance by 10x+, though it's a labor intensive
> process to add a new system to cacti for me as cacti wasn't designed
> for doing things the way I'm doing them).
>
>
> nate
>
>
> _______________________________________________
>

Here's my verbose output:

+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at
'/var/www/html/graphs/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ Located input field 'ifIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.1'
+ Found item [ifIndex='1'] index: 1 [from value]
+ Found item [ifIndex='2'] index: 2 [from value]
+ Found item [ifIndex='3'] index: 3 [from value]
+ Found item [ifIndex='4'] index: 4 [from value]
+ Found item [ifIndex='5'] index: 5 [from value]
+ Found item [ifIndex='6'] index: 6 [from value]
+ Found item [ifIndex='7'] index: 7 [from value]
+ Found item [ifIndex='8'] index: 8 [from value]
+ Found item [ifIndex='9'] index: 9 [from value]
+ Found item [ifIndex='10'] index: 10 [from value]
+ Found item [ifIndex='11'] index: 11 [from value]
+ Found item [ifIndex='15'] index: 15 [from value]
+ Found item [ifIndex='20'] index: 20 [from value]
+ Found item [ifIndex='21'] index: 21 [from value]
+ Found item [ifIndex='25'] index: 25 [from value]
+ Found item [ifIndex='26'] index: 26 [from value]
+ Found item [ifIndex='27'] index: 27 [from value]
+ Located input field 'ifOperStatus' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.8'
+ Found item [ifOperStatus='Up'] index: 1 [from value]
+ Found item [ifOperStatus='Up'] index: 2 [from value]
+ Found item [ifOperStatus='Down'] index: 3 [from value]
+ Found item [ifOperStatus='Up'] index: 4 [from value]
+ Found item [ifOperStatus='Up'] index: 5 [from value]
+ Found item [ifOperStatus='Down'] index: 6 [from value]
+ Found item [ifOperStatus='Down'] index: 7 [from value]
+ Found item [ifOperStatus='Down'] index: 8 [from value]
+ Found item [ifOperStatus='Down'] index: 9 [from value]
+ Found item [ifOperStatus='Down'] index: 10 [from value]
+ Found item [ifOperStatus='Down'] index: 11 [from value]
+ Found item [ifOperStatus='Up'] index: 15 [from value]
+ Found item [ifOperStatus='Up'] index: 20 [from value]
+ Found item [ifOperStatus='Down'] index: 21 [from value]
+ Found item [ifOperStatus='Down'] index: 25 [from value]
+ Found item [ifOperStatus='Down'] index: 26 [from value]
+ Found item [ifOperStatus='Up'] index: 27 [from value]
+ Located input field 'ifDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.2'
+ Found item [ifDescr='lo'] index: 1 [from value]
+ Found item [ifDescr='peth0'] index: 2 [from value]
+ Found item [ifDescr='sit0'] index: 3 [from value]
+ Found item [ifDescr='vif0.0'] index: 4 [from value]
+ Found item [ifDescr='eth0'] index: 5 [from value]
+ Found item [ifDescr='vif0.1'] index: 6 [from value]
+ Found item [ifDescr='veth1'] index: 7 [from value]
+ Found item [ifDescr='vif0.2'] index: 8 [from value]
+ Found item [ifDescr='veth2'] index: 9 [from value]
+ Found item [ifDescr='vif0.3'] index: 10 [from value]
+ Found item [ifDescr='veth3'] index: 11 [from value]
+ Found item [ifDescr='xenbr0'] index: 15 [from value]
+ Found item [ifDescr='vif8.0'] index: 20 [from value]
+ Found item [ifDescr='vif9.0'] index: 21 [from value]
+ Found item [ifDescr='vifzsas0'] index: 25 [from value]
+ Found item [ifDescr='vif14.0'] index: 26 [from value]
+ Found item [ifDescr='vif15.0'] index: 27 [from value]
+ Located input field 'ifName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.1'
+ Found item [ifName='lo'] index: 1 [from value]
+ Found item [ifName='peth0'] index: 2 [from value]
+ Found item [ifName='sit0'] index: 3 [from value]
+ Found item [ifName='vif0.0'] index: 4 [from value]
+ Found item [ifName='eth0'] index: 5 [from value]
+ Found item [ifName='vif0.1'] index: 6 [from value]
+ Found item [ifName='veth1'] index: 7 [from value]
+ Found item [ifName='vif0.2'] index: 8 [from value]
+ Found item [ifName='veth2'] index: 9 [from value]
+ Found item [ifName='vif0.3'] index: 10 [from value]
+ Found item [ifName='veth3'] index: 11 [from value]
+ Found item [ifName='xenbr0'] index: 15 [from value]
+ Found item [ifName='vif8.0'] index: 20 [from value]
+ Found item [ifName='vif9.0'] index: 21 [from value]
+ Found item [ifName='vifzsas0'] index: 25 [from value]
+ Found item [ifName='vif14.0'] index: 26 [from value]
+ Found item [ifName='vif15.0'] index: 27 [from value]
+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Found item [ifAlias=''] index: 1 [from value]
+ Found item [ifAlias=''] index: 2 [from value]
+ Found item [ifAlias=''] index: 3 [from value]
+ Found item [ifAlias=''] index: 4 [from value]
+ Found item [ifAlias=''] index: 5 [from value]
+ Found item [ifAlias=''] index: 6 [from value]
+ Found item [ifAlias=''] index: 7 [from value]
+ Found item [ifAlias=''] index: 8 [from value]
+ Found item [ifAlias=''] index: 9 [from value]
+ Found item [ifAlias=''] index: 10 [from value]
+ Found item [ifAlias=''] index: 11 [from value]
+ Found item [ifAlias=''] index: 15 [from value]
+ Found item [ifAlias=''] index: 20 [from value]
+ Found item [ifAlias=''] index: 21 [from value]
+ Found item [ifAlias=''] index: 25 [from value]
+ Found item [ifAlias=''] index: 26 [from value]
+ Found item [ifAlias=''] index: 27 [from value]
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
+ Found item [ifType='softwareLoopback(24)'] index: 1 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 2 [from value]
+ Found item [ifType='tunnel(131)'] index: 3 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 4 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 5 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 6 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 7 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 8 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 9 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 10 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 11 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 15 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 20 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 21 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 25 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 26 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 27 [from value]
+ Located input field 'ifSpeed' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.5'
+ Found item [ifSpeed='10000000'] index: 1 [from value]
+ Found item [ifSpeed='1000000000'] index: 2 [from value]
+ Found item [ifSpeed='0'] index: 3 [from value]
+ Found item [ifSpeed='10000000'] index: 4 [from value]
+ Found item [ifSpeed='10000000'] index: 5 [from value]
+ Found item [ifSpeed='10000000'] index: 6 [from value]
+ Found item [ifSpeed='10000000'] index: 7 [from value]
+ Found item [ifSpeed='10000000'] index: 8 [from value]
+ Found item [ifSpeed='10000000'] index: 9 [from value]
+ Found item [ifSpeed='10000000'] index: 10 [from value]
+ Found item [ifSpeed='10000000'] index: 11 [from value]
+ Found item [ifSpeed='10000000'] index: 15 [from value]
+ Found item [ifSpeed='10000000'] index: 20 [from value]
+ Found item [ifSpeed='10000000'] index: 21 [from value]
+ Found item [ifSpeed='10000000'] index: 25 [from value]
+ Found item [ifSpeed='10000000'] index: 26 [from value]
+ Found item [ifSpeed='10000000'] index: 27 [from value]
+ Located input field 'ifHwAddr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.6'
+ Found item [ifHwAddr=''] index: 1 [from value]
+ Found item [ifHwAddr='00:FE:FF:FF:FF:FF:FF'] index: 2 [from value]
+ Found item [ifHwAddr=''] index: 3 [from value]
+ Found item [ifHwAddr='00:FE:FF:FF:FF:FF:FF'] index: 4 [from value]
+ Found item [ifHwAddr='00:00:1C:C0:52:6A:D8'] index: 5 [from value]
+ Found item [ifHwAddr='00:FE:FF:FF:FF:FF:FF'] index: 6 [from value]
+ Found item [ifHwAddr=''] index: 7 [from value]
+ Found item [ifHwAddr='00:FE:FF:FF:FF:FF:FF'] index: 8 [from value]
+ Found item [ifHwAddr=''] index: 9 [from value]
+ Found item [ifHwAddr='00:FE:FF:FF:FF:FF:FF'] index: 10 [from value]
+ Found item [ifHwAddr=''] index: 11 [from value]
+ Found item [ifHwAddr='00:FE:FF:FF:FF:FF:FF'] index: 15 [from value]
+ Found item [ifHwAddr='00:FE:FF:FF:FF:FF:FF'] index: 20 [from value]
+ Found item [ifHwAddr='00:FE:FF:FF:FF:FF:FF'] index: 21 [from value]
+ Found item [ifHwAddr='00:FE:FF:FF:FF:FF:FF'] index: 25 [from value]
+ Found item [ifHwAddr='00:FE:FF:FF:FF:FF:FF'] index: 26 [from value]
+ Found item [ifHwAddr='00:FE:FF:FF:FF:FF:FF'] index: 27 [from value]
+ Located input field 'ifIP' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.4.20.1.2'
+ Found item [ifIP='127.0.0.1'] index: 1 [from regexp oid parse]
+ Found item [ifIP='192.168.10.11'] index: 5 [from regexp oid parse]
+ Found item [ifIP='196.34.136.110'] index: 5 [from regexp oid parse]
+ Found data query XML file at
'/var/www/html/graphs/resource/snmp_queries/interface.xml'
+ Found data query XML file at
'/var/www/html/graphs/resource/snmp_queries/interface.xml'
+ Found data query XML file at
'/var/www/html/graphs/resource/snmp_queries/interface.xml'



I've submitted this on the Cacti forums & list as well, but have had no
reply whatsoever.


-- 

Kind Regards
Rudi Ahlers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080813/47e7ad01/attachment-0011.html>