Hi,
in case you already know the specific property and want to determine the pool member specific OID the following one-liner may help you:
snmptranslate -On F5-BIGIP-LOCAL-MIB::ltmPoolMemberMonitorState | awk '{print "snmpwalk -v 2c -c public -On localhost", $1}' | bash -x | awk '{print "snmpget -c public localhost", $1}' | bash -x
Sample output:
snmptranslate -On F5-BIGIP-LOCAL-MIB::ltmPoolMemberMonitorState | awk '{print "snmpwalk -v 2c -c public -On localhost", $1}' | bash -x | awk '{print "snmpget -c public localhost", $1}' | bash -x
+ snmpwalk -v 2c -c public -On localhost .1.3.6.1.4.1.3375.2.2.5.3.2.1.10
+ snmpget -c public localhost .1.3.6.1.4.1.3375.2.2.5.3.2.1.10.20.47.67.111.109.109.111.110.47.112.111.111.108.95.119.101.98.95.97.112.112.22.47.67.111.109.109.111.110.47.49.48.46.49.51.49.46.49.51.49.46.49.52.49.80
F5-BIGIP-LOCAL-MIB::ltmPoolMemberMonitorState."/Common/pool_web_app"."/Common/10.131.131.141".80 = INTEGER: unchecked(0)
+ snmpget -c public localhost .1.3.6.1.4.1.3375.2.2.5.3.2.1.10.20.47.67.111.109.109.111.110.47.112.111.111.108.95.119.101.98.95.97.112.112.22.47.67.111.109.109.111.110.47.49.48.46.49.51.49.46.49.51.49.46.49.52.50.80
F5-BIGIP-LOCAL-MIB::ltmPoolMemberMonitorState."/Common/pool_web_app"."/Common/10.131.131.142".80 = INTEGER: unchecked(0)
+ snmpget -c public localhost .1.3.6.1.4.1.3375.2.2.5.3.2.1.10.24.47.67.111.109.109.111.110.47.112.111.111.108.95.108.100.97.112.95.115.101.97.114.99.104.22.47.67.111.109.109.111.110.47.49.48.46.49.51.49.46.49.51.49.46.49.55.48.389
F5-BIGIP-LOCAL-MIB::ltmPoolMemberMonitorState."/Common/pool_ldap_search"."/Common/10.131.131.170".389 = INTEGER: up(4)
+ snmpget -c public localhost .1.3.6.1.4.1.3375.2.2.5.3.2.1.10.24.47.67.111.109.109.111.110.47.112.111.111.108.95.114.97.100.105.117.115.95.97.117.116.104.22.47.67.111.109.109.111.110.47.49.48.46.49.51.49.46.49.51.49.46.50.48.48.0
F5-BIGIP-LOCAL-MIB::ltmPoolMemberMonitorState."/Common/pool_radius_auth"."/Common/10.131.131.200".0 = INTEGER: up(4)
In the context of the snmpget command you will see the complete numeric OID followed by the string representation and type:value.
This information can now be used to read or to modify the specific parameter (i.e. to put the poolmember 10.131.131.170:389 in pool_ldap_search in forced down (via adding "i 20"):
snmpset -c public localhost .1.3.6.1.4.1.3375.2.2.5.3.2.1.10.24.47.67.111.109.109.111.110.47.112.111.111.108.95.108.100.97.112.95.115.101.97.114.99.104.22.47.67.111.109.109.111.110.47.49.48.46.49.51.49.46.49.51.49.46.49.55.48.389 i 20
F5-BIGIP-LOCAL-MIB::ltmPoolMemberMonitorState."/Common/pool_ldap_search"."/Common/10.131.131.170".389 = INTEGER: forced-down(20)
A list of possible states can be retrieved from the F5 MIB files (i.e. F5-BIGIP-LOCAL-MIB):
ltmPoolMemberMonitorState OBJECT-TYPE
SYNTAX INTEGER {
unchecked(0),
checking(1),
inband(2),
forced-up(3),
up(4),
down(19),
forced-down(20),
irule-down(22),
inband-down(23),
down-manual-resume(24),
disabled(25)
}
Make sure to have "read/write" access for your community string.
Thanks, Stephan