Forum Discussion
Lerna_Ekmekciog
Nimbostratus
Sep 06, 2005MONITOR_RULE_TYPE_NONE
Hi again,
I see that in the sdk there is a LocalLBMonitorRuleType called "MONITOR_RULE_TYPE_NONE".
Explanation in sdk for this is as follows:
"The object is explicitly ...
Loc_Pham_101863
Sep 09, 2005Historic F5 Account
Sorry for the delay in getting the response posted. I needed to verify some details before getting a response.
Anyways, the MonitorRuleType::MONITOR_RULE_TYPE_NONE actually should only be returned from get_monitor_association( ). MonitorRuleType::MONITOR_RULE_TYPE_UNDEFINED is used to indicate an uninitialized state. They are NOT meant to be used to disable monitoring. I'll update the iControl SDK documentation to clearly indicate this, and will update the iControl code to raise an exception when these monitor rule types are passed in to the set_monitor_association( ).
Currently, one has to remove the monitor associations to disable monitoring, and re-add them to enable monitoring. You can do this in iControl using the remove_monitor_association and set_monitor_association methods respectively.
The health monitor system design is such that there's no way to temporarily disable monitoring on an object without removing the monitor associations first. I'll enter a request for this enhancement.
Regards,
Loc
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
