Configuration in PandoraFMS
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").
Remember: You have to install the dependencies that the Requests module needs in your system.
As a server plugin
We will go to servers > plugins:
Click on add:
Click on add:
We enter as command the path to the plugin, and as parameters the ones we have entered 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 ip and token.
Once this is done, if we execute the plugin from the terminal, the agent with the modules will have been created.