News
Hello
I have big performance problems with a perl script which I implemented (it's running on an infoblox1050). When I restart the bloxtools service, the CPU is on a level of about 3% and memory on a level of about 23%. When I then run the following skript (see below) which should count the number of hosts in the DB (there are around 12000 host objects), the CPU goes up to around 71%, the memory to 100%, and the execution of the script takes minutes, and finally I even get an SSL timeout.
The perl libraries WebUI.pm and Simple.pm are designed to not only makelife a bit easier for the developer, but to also work around some of thenuances of the Infoblox.pm libraries. While it is not required to use these libraries, it suggested.
If you need to do something simple, WebUI.pm is absouteley the way to dothings, as it lets you write scripts like this :
The primary role of WebUI.pm is to not just handle all the CGI relatedoperations but to also set up all the hooks and handles required toauthenticate users and establish cookie based sessions.The intent of all this is to :
Although all the libraries are documented, both in themselves asperldoc, and on the 'docs' folder in the BDK, it is worth pointing outsome of the more useful features in the various libraries.
Simple.pm
$sdb->config()
This method will let you get and set global configuration variables
