Configuration in Pandora

Installation from the console

To register the plugin, from the console, go to the "register plugin" section.

Captura desde 2025-07-21 11-44-32.png

Click on select file.

register_plugin.png

Select the .pspz2 file containing the plugin.

register1_spark.png


Once uploaded, a message will be displayed indicating that it has been successfully uploaded.

Captura desde 2025-07-21 13-57-53.png

Once the plugin is registered, we will see it in the plugins section.

servers_plugins.png

In the parameters section, all the parameters contained in the plugin will be displayed, although it is only mandatory to use the ip parameter.

register3_spark.png

Below we can assign the required value to each macro.

register4_plugin.png

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, it is explained in the configuration section.

We move from home with :

cd /usr/share/pandora_server/util/plugin/

We run the plugin to see that it works:

./pandora_spark -i <ip-with-port> -[ -g <group> ] [ --data_dir <data dir> ]

7.png

As a server plugin

Go to servers > plugins:

servers_plugins.png

Click in add:

add_plugin.png

We put in the name and description of your choice:

9.png

We enter the path to the plugin as a command, and as parameters we will configure the “_field_” fields, which are macros that we will define below.

10.png

We put for each macro the description that you prefer and as value the data of your ip.

11.png

Once this is done, if we execute the plugin from the terminal, the agent with the modules will have been created.


Revision #4
Created 8 September 2021 12:50:24 by alejandro.sanchez
Updated 29 July 2025 09:21:17 by alejandro.sanchez