[collectd] Collectd, snmp linux interface stats

Fabien Wernli collectd at faxm0dem.org
Mon Jun 17 09:56:02 CEST 2013


Hi,

If I were you I'd use one of the latest collectd builds, which has a fix [1]
which seems to address issues ppl are having especially on Cisco hw.

Cheers

[1] https://github.com/collectd/collectd/issues/131

On Sun, Jun 16, 2013 at 11:48:38PM +0800, Brendan Horan wrote:
> Hi List,
> 
> I am really enjoying collectd, thank you.
> 
> I have two issues with collectd and SNMP plugin.
> 
> I am using the following block to collect interface traffic stats :
>    <Data "std_traffic">
>        Type "if_octets"
>        Table true
>        Instance "IF-MIB::ifDescr"
>        Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
>    </Data>
> 
> This works fine for my Cisco kit, but all my Linux hosts never get any data inside collectd.
> That seems odd becase if I run the following  "snmpwalk -v2c -c public $HOSTNAME IF-MIB::ifInOctets"
> 
> I get back the expected values.
> 
> I don't understand what I am doing wrong. The above works for my Cisco kit, works via snmpwalk.
> 
> 
> The second issue I have and of much less importance is that on my Cisco switch the above data block only brings back one VLAN.
> On my Cisco Router all VLAN's are brought back.
> 
> Unsure why my switch won't get all the VLANS, all physical switchports are fine.
> 
> Can someone give me a hand ?
> 
> Thanks
> Brendan
> 
> _______________________________________________
> collectd mailing list
> collectd at verplant.org
> http://mailman.verplant.org/listinfo/collectd



More information about the collectd mailing list