[collectd] snmp problem with git current version (work with 5.1.0 from deb repo)

Adrien Pojol adrienp at aac-services.co.uk
Mon Nov 5 14:01:17 CET 2012


Hi guys, I'm back after my Mysql problem but with a snmp issue this 
time. 

After the upgrade needed to correct the previous issue, the snmp plugin 
seem to not work anymore on a Cisco 2800. (It still work properly on two
other snmp devices). 

Cisco IOS Software, 2800 Software (C2800NM-ADVENTERPRISEK9-M), Version 
12.4(25e), RELEASE SOFTWARE (fc2)


Tcpdump show some data on the snmp host/port. 

12:47:55.415971 IP (tos 0x0, ttl 254, id 32566, offset 0, flags [none], 
proto UDP (17), length 116)
    193.195.12.10.snmp > monitoring.network.lan.40585: [udp sum ok]  { 
SNMPv2c C=a3ropub { GetResponse(72) R=1410022773  31.1.1.1.8.1=133 
31.1.1.1.12.1=149960 31.1.1.1.2.1=133 } }


If I copy the old snmp.so plugin from the old 5.1.0 deb package 
everything
Works again, so I guess it's a problem with the plugin ?


Here is my configuration, (works with 5.1.0 from deb repository)

LoadPlugin snmp
LoadPlugin write_graphite
<Plugin snmp>
       <Data "if_octets">
               Type "if_octets"
               Table true
               Instance "IF-MIB::ifName"
               Values "IF-MIB::ifHCInOctets" "IF-MIB::ifHCOutOctets"
       </Data>

       <Data "if_packets">
               Type "if_packets"
               Table true
               Instance "IF-MIB::ifName"
               Values "IF-MIB::ifHCInUcastPkts" 
"IF-MIB::ifHCOutUcastPkts"
       </Data>

       <Host "bt-adsl">
               Address "193.195.12.10"
               Version 2
               Community "pubcom"
               Collect "if_octets" "if_packets"
               Interval 15
       </Host>
</Plugin>
<Plugin write_graphite>
        <Carbon>
                Host "10.0.0.35"
                Port "2003"
                Prefix "collectd."
        </Carbon>
</Plugin>


Thanks !


-- 
Adrien Pujol
Systems Administrator
AAC Services Ltd




More information about the collectd mailing list