Brendan, I can answer the snmp and vlan info bit. most vendors append an @<vlanid> to the community string
likely you will need to define each vlan in the connection clause so of your vlan is 123, it would be public@123 afaik there is no way to get all vlans but there may be. Bill Schwanitz If A is a success in life, then A equals x plus y plus z. Work is x; y is play; and z is keeping your mouth shut. - Albert Einstein. On Jun 16, 2013, at 11:48 AM, Brendan Horan <[email protected]> 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 > [email protected] > http://mailman.verplant.org/listinfo/collectd _______________________________________________ collectd mailing list [email protected] http://mailman.verplant.org/listinfo/collectd
