Rob_74473
Apr 03, 2018Cirrus
How do I get bigip node stats?
I've tried:
mgmt = ManagementRoot('host','user','pass') node = mgmt.tm.ltm.nodes.node.load(name='10.51.243.247', partition='common') stats = node.stats.load() print(stats)
But I get: Text: u'{"code":404,"message":"01020036:3: The requested Node (/common/10.51.243.247) was not found.","errorStack":[]}'
That node definitely exists in common, and I can get info for it with:
items = mgmt.tm.ltm.nodes.get_collection() for item in items: if item.name == '10.51.243.247': print(item.fullPath)
returns:
/Common/10.51.243.247