Forum Discussion
SNMP Pools
- Oct 17, 2017
Greetings,
Did you allow access to the snmpv2c agent?
tmsh modify sys snmp snmpv2c { allowed-addresses add { 10.10.10.0/24 } tmsh list sys snmp snmpv2c allowed-addresses sys snmp { allowed-addresses { 127.0.0.0/8 10.12.23.0/24 10.10.10.0/24 } snmpv2c { }
Kevin
Greetings,
Did you allow access to the snmpv2c agent?
tmsh modify sys snmp snmpv2c { allowed-addresses add { 10.10.10.0/24 }
tmsh list sys snmp snmpv2c allowed-addresses
sys snmp {
allowed-addresses { 127.0.0.0/8 10.12.23.0/24 10.10.10.0/24 }
snmpv2c {
}
Kevin
I'm testing from a remote linux server, using the command you provided above. When all of the F5 MIBs are in the proper third party mib directory, the reponse is successful:
snmpwalk -v2c -c public 10.12.23.120 F5-BIGIP-LOCAL-MIB::ltmPoolStatusAvailState.\"/Common/Pool1\"
F5-BIGIP-LOCAL-MIB::ltmPoolStatusAvailState."/Common/Pool1" = INTEGER: red(3)
Move the F5 MIBs away , and of course it fails:
snmpwalk -v2c -c public 10.12.23.120 F5-BIGIP-LOCAL-MIB::ltmPoolStatusAvailState.\"/Common/Pool1\"
MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (F5-BIGIP-LOCAL-MIB): At line 0 in (none)
F5-BIGIP-LOCAL-MIB::ltmPoolStatusAvailState."/Common/Pool1": Unknown Object Identifier
snmpwalk -v2c -c public 10.12.23.120 1.3.6.1.4.1.3375.2.2.5.5.2.1.2.13.47.67.111.109.109.111.110.47.80.111.111.108.49
iso.3.6.1.4.1.3375.2.2.5.5.2.1.2.13.47.67.111.109.109.111.110.47.80.111.111.108.49 = INTEGER: 3
So, I believe the query itself will work from a remote SNMP management station, it is just a matter of how the station is formatting the request. Are you able to:
1) Check any of the logs on the SNMP station to see if any errors are being thrown? 2) Get a packet capture on the BIG-IP system to see what the SNMP query looks like?
Sorry I don't have more info on this,
Kevin
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com