Configuration in pandora
Installation from the console
To register the plugin, from the console, go to the "register plugin" section.
Click on select file.
Select the pspz2 file containing the plugin.
A message that it has been successfully installed will be displayed.
Once the plugin is registered, we will see it in the plugins section.
In the parameters section, all the parameters contained in the plugin will appear and can be configured, remember that not all of them are mandatory, only those that are specified.
Below you can assign a value to each macro.
The best way to manage server plugins in Pandora is from "/usr/share/pandora_server/util/plugin" so we will send it to that path.
Then we will move to the folder where we have put it ("/usr/share/pandora_server/util/plugin" is the recommended one").
We move from home with :
cd /usr/share/pandora_server/util/plugin/
We run the plugin to see that it works:
python pandora_weblogic.py -u <ip-with-port> -us <user> -p <password>
As a server plugin
Go to servers > plugins:
Click in add:
We put in the name and description of your choice:
We enter as command the path to the plugin, and as parameters the ones we have entered by executing the plugin, the "_field_" fields are macros defined below.
We put for each macro the description that you prefer and as value the data of your url, user and pass.
Once this is done, if we execute the plugin from the terminal, the agent with the modules will have been created.