mchaas
May 16, 2008Nimbostratus
snmpwalk to get poolmembers
Hi folks!
I want to write a php-script that aquires all existing pools on the loadbalancer and lists all pool-members associated to each of them.
Unfortunately there's some issues I don't quite understand.
When I do an snmpwalk on the pool-members of testpool1, I can get all the associated pool-members:
.1.3.6.1.4.1.3375.2.2.5.4.3.1.3.9.116.101.115.116.112.111.111.108.49.1.4.10.130.129.117.80 = Hex-STRING: 0A 82 81 75
.1.3.6.1.4.1.3375.2.2.5.4.3.1.3.9.116.101.115.116.112.111.111.108.49.1.4.10.130.129.118.80 = Hex-STRING: 0A 82 81 76
When I try to do the same for a second pool on the BigIP, testpool2, e.g., I dont' get any entries from the snmpwalk at all:
.1.3.6.1.4.1.3375.2.2.5.4.3.1.3.9.116.101.115.116.112.111.111.108.50.1.4 = No Such Instance currently exists at this OID
If I do an snmpwalk on .1.3.6.1.4.1.3375.2.2.5.4.3.1.3, I jolly well get all poolmembers, also for testpool2.
.1.3.6.1.4.1.3375.2.2.5.4.3.1.3.9.116.101.115.116.112.111.111.108.49.1.4.10.130.129.117.80 = Hex-STRING: 0A 82 81 75
.1.3.6.1.4.1.3375.2.2.5.4.3.1.3.9.116.101.115.116.112.111.111.108.49.1.4.10.130.129.118.80 = Hex-STRING: 0A 82 81 76
.1.3.6.1.4.1.3375.2.2.5.4.3.1.3.9.116.101.115.116.112.111.111.108.50.1.4.10.130.129.119.80
= HEX-STRING: 0A 82 81 77
.1.3.6.1.4.1.3375.2.2.5.4.3.1.3.9.116.101.115.116.112.111.111.108.50.1.4.10.130.129.120.80
= HEX-STRING: 0A 82 81 78
As soon as I add an another testpool (test), I only get the poolmembers for the latest pool (test) from my snmpwalk and NOT for the other two pools.
My question is: can this be lead back to behaviour of snmpwalk, or is there a trick I can use to get this information?
BIG-IP 9.4.4 Build 73.1 Hotfix HF1
Thanks in advance and best regards,
Matt