Forum Discussion
errad_27550
Nimbostratus
Jul 19, 2010Monitor association that references a monitor template that does not exist.
Hello,
I'm running into an issue where an instance of a LBPoolMonitorAssociation, returned by LBPool.get_monitor_association(), has a LBMonitorRule that references a monitor template that does not exist.
Consequently, when I call Monitor.get_template_destination(template_name), to retrieve the IP : Port for the template, I get the following error message:
------------------------------------------------------------------------------------------------------------
Exception caught in LocalLB::urn:iControl:LocalLB/Monitor::get_template_destination()
Exception: Common : : OperationFailed
primary_error_code : 16908342 (0x01020036)
secondary_error_code : 0
error_string : 01020036:3:
The requested monitor template (xxx ltm_obj) was not found.
------------------------------------------------------------------------------------------------------------
I'm not sure what event caused the template not to exist. Under what conditions can this happen? Is it possible to remove a monitor template that is currently part of a monitor association?
Thanks,
Eric
3 Replies
- samstep
Cirrocumulus
Eric,
This sounds like a corrupt configuration to me - does this pool & monitor look OK using Web GUI?
" The requested monitor template (xxx ltm_obj) was not found. " basically means you asked for a non-existent monitor name.
Try doing a "b save" from the command line and look at the bigip.conf file to see if indeed somehow you have managed to have a non-existent monitor reference in the pool definition.
Sam - errad_27550
Nimbostratus
>>does this pool & monitor look OK using Web GUI?
No, the monitor does not show up in Monitors but does show up as attached to pools.
>>see if indeed somehow you have managed to have a non-existent monitor reference in the pool definition
Looking at the conf file was what led me to discover it was a monitor association that references a monitor template that does not exist. Over 10 pool definitions reference a monitor that does not exist.
Is a corrupt configuration the only means of causing this problem?
Is it possible to remove a monitor template that is currently referenced by pool definitions via the iControl API? - samstep
Cirrocumulus
To answer your second question:
I tried to delete a monitor template which is associated with a pool using iControl and got a SOAP exception:Exception caught in LocalLB::urn:iControl:LocalLB/Monitor::delete_template() Exception: Common::OperationFailed primary_error_code : 17236099 (0x01070083) secondary_error_code : 0 error_string : 01070083:3: Monitor test_monitor is in use
With regards to the first question - difficult to say what caused this- it iooks like that your box's config could be in a strange/unstable state, so I would not try to make sense of any iControl errors until you get the box to run in a stable configuration.
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
