Forum Discussion
Guillaume_Roman
Mar 23, 2015Cirrus
BigSuds: Different status on LocalLB.Pool.get_member_monitor_status
Hello,
I have a problem when I get status of members from pools.
Environment:
A vcmp instance (BIG-IP 11.4.1 Build 675.0 Hotfix HF7) 2 pools: pool_test_01 and pool_test_02, with http moni...
- Mar 23, 2015
Try this:
LocalLB.Pool.get_member_monitor_status(['pool_test_01', 'pool_test_02'], [[{'address': 'node001', 'port': 80}],[{'address': 'node001', 'port': 80}]])
osnetworks_6668
Mar 26, 2015Nimbostratus
Hi, I dont have an answer, just sharing my results trying to replicate your issue. In my case, I get a different outcome:
ENVIRONMENT
- BIG-IP 6900 11.3.0 Build 3131.0 (My test box which hasn't been upgraded to match our live box yet)
- 2 pools: pool1 and pool2, with http monitor set on both pools
- 1 nodes: member1
- bigsuds: '1.0.1'
CONTEXT
- member1 in pool1 is "Offline (Enabled) - Pool member has been marked down by a monitor"
- member1 in pool2 is "Forced Offline (Only active connections allowed)"
SCRIPT
pool1 = 'pool_test_01'
pool2 = 'pool_test_02'
member1 = 'node001'
port = '80'
print ""
print 'pool1 member1 status'
print pl.get_member_monitor_status(['/Common/' + pool1], [[{'address': member1, 'port': port}]])
print ""
print 'pool2 member1 status'
print pl.get_member_monitor_status(['/Common/' + pool2], [[{'address': member1, 'port': port}]])
print ""
print 'pool1 and pool2 member1 status'
print pl.get_member_monitor_status(['/Common/' + pool1, '/Common/' + pool2], [[{'address': member1, 'port': port}]])
OUTPUT
pool1 member1 status
[['MONITOR_STATUS_DOWN']]
pool2 member1 status
[['MONITOR_STATUS_FORCED_DOWN']]
pool1 and pool2 member1 status
[['MONITOR_STATUS_DOWN']]
As you can see, individually, each monitor status is shown correctly. However, unlike yours, I only get the first pool's member status when querying both pools simultaneously.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects