nik_65678
Apr 05, 2010Nimbostratus
cacti - no snmp data returned
i've been banging my head against this for a while now. i installed cacti, all is working well. i import the f5 templates version 2. i add four load balancers, all with identical software versions and snmp configurations. i setup data sources and graphs. a little while goes by and i can't figure out why three of the four load balancers aren't able to fetch pool/vip data.
i can run successful snmpwalks from the command line of my cacti server however it seems that cacti/php is not having such good luck. only one of the three servers can pull vip/pool data however they can all pull memory/interface/cpu/etc data. here's an example of the debug output on a non-working server:
+ Running data query [14].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/f5_bigip_pool.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.3375.2.2.5.2.3.1.1'
+ No SNMP data returned
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/f5_bigip_pool.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/f5_bigip_pool.xml'
here's the debug output of a working query (i snipped out lots of redundant data, there's actually a whole lot more):
+ Running data query [10].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/f5_bigip_vs.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.3375.2.2.10.2.3.1.1'
+ Index found at OID: '1.3.6.1.4.1.3375.2.2.10.2.3.1.1.8.110.105.107.95.116.101.115.116' value: 'XXXXX'
+ Inserting index data for field 'vsIndex' [value='8.110.105.107.95.116.101.115.116']
+ Located input field 'vsName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.3375.2.2.10.2.3.1.1'
+ Found item [vsName='XXXXX'] index: 8.110.105.107.95.116.101.115.116 [from value]
+ Located input field 'vsIPAddress' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.3375.2.2.10.1.2.1.3'
+ Found item [vsIPAddress='Hex- CC 08 F2 C7'] index: 8.110.105.107.95.116.101.115.116 [from value]
+ Located input field 'vsServicePort' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.3375.2.2.10.1.2.1.6'
+ Found item [vsServicePort='80'] index: 8.110.105.107.95.116.101.115.116 [from value]
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/f5_bigip_vs.xml'
any ideas why i might be able to reach the big-ip via snmpwalk on the command line but not via cacti?