Forum Discussion
Get Template List coming as empty
Hello,
I'm calling the get_template_list of the LocalLB.Monitor service and the template list is coming as empty.
However, on the GUI, I can see that there are monitors present in the server.
What exactely am i missing over here?
Regards,
Abhijit
1 Reply
It depends on the version of BIG-IP you are using. Most likely it has to do with what your "active" folder is from the iControl calling context. By default, it will only list objects within in the "/Common" folder. You'll either have to explicity change the folder with the System::Session::set_active_folder() method, or you could set the System.Session.set_recursive_query_state so that all objects in child folders will be returned on calls. I went over this concept in my iControl 101 article on folders here: https://devcentral.f5.com/tech-tips...24-folders
Hope this helps...
-Joe
Recent Discussions
Related Content
* 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