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 set to disable monitoring, i.e. no explicit nor default monitor in use."
This makes sense when you want to temporarily disable the set of monitors on a pool instead of removing them all together and readding them.
In the GUI under pools->advanced configuration->Availability Requirement , I see that you can set monitor type to "ALL" or "AT LEAST " where you set to a number.
I could create monitors of type "undefined","and_list","m_of_n" and "single" through the GUI by playing with the availability requirement.
How can I create a mon association through the GUI so that it has type "MONITOR_RULE_TYPE_NONE", i.e. how can I disable monitors on a given pool?
Lerna
- Loc_Pham_101863Historic F5 AccountSorry for the delay in getting the response posted. I needed to verify some details before getting a response.
- Loc_Pham_101863Historic F5 AccountAs an update to my last post, although generally you'll have to remove the association to disable monitoring and re-add the association to re-enable monitoring (and this is true for the pool), you can also theoretically temporarily disable monitoring by disabling the monitor template. For example, from the CLI, you can do this by "bp monitor http instance disable", or with iControl, use the Monitor::set_template_state (DISABLED). This will disable monitoring of all the affected objects that are using the "http" monitor template.
- Lerna_Ekmekciog
Nimbostratus
Alright. - Lerna_Ekmekciog
Nimbostratus
Any news on this one? - Loc_Pham_101863Historic F5 AccountI'm not sure why you're getting this error, but it looks like a client-side deserialization error from Apache Axis toolkit. I've been running get_template_list method over and over, and there seems to be no problem.
- Lerna_Ekmekciog
Nimbostratus
I ran ssldump on the F5 and captured the request/response pair for get_template_list. It is quite similar to what you had. I replaced all the axis related jars with the latest from apache site. I still get the same error. I do not see how this is an issue with the axis toolkit deserializer since I can successfully invoke get_list on pools, virtuals,etc. without a problem. Could this be related to a versioning problem? What version of axis and iControl do you have? - Lerna_Ekmekciog
Nimbostratus
To shed some more light on this problem I'm sending you the code that I use to reproduce it.String os = System.getProperty("os.name"); System.setProperty("javax.net.ssl.trustStore", System.getProperty("user.home") + "/.keystore"); String m_endpoint = "https://:@:/iControl/iControlPortal.cgi"; LocalLBMonitorBindingStub m_monitor = (LocalLBMonitorBindingStub) new LocalLBMonitorLocator().getLocalLBMonitorPort(new java.net.URL(m_endpoint)); m_monitor.setTimeout(300); m_monitor.get_template_list();
- Loc_Pham_101863Historic F5 AccountLerna,
- Lerna_Ekmekciog
Nimbostratus
ok. Thanks for the update. - Lerna_Ekmekciog
Nimbostratus
Any updates on this? Please let me know.
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