Skip to main content

Configuration in Pandora

Installation from the console

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

register_plugin.png

Click on the file to select it.

register_plugin2.png

We will select the .pspz2 file that we have previously downloaded.

registerplugin.png

Once uploaded, this message will be displayed, showing that it has been uploaded correctly.

register_plugin openstack_.png

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

serversingles.png

We will be able to see how it has been loaded and access it by clicking on its title.

register_openstack.png

In the menu of the plugin we will be able to see the preloaded macros, nevertheless all of them will appear, it is necessary to investigate which are the appropriate ones for each use, and in the case that it is not necessary the use of some of them, to delete them.

register_plugin openstack.png

Below, you can insert the value of the macro in the "Default value" field.

register_plugin_openstack.png

 

The best way to manage server plugins in Pandora is from "/usr/share/pandora_server/util/plugin" so we will send it by pscp to that path:

https://pandorafms.com/guides/public/link/269#bkmrk-nos-ubicamos-en-el-t

We go to the terminal from the path where we have located the plugin and we introduce the following command:

pscp -P 22 pandora_openstack.py root@<ip-de-la-maquina>:/usr/share/pandora_server/util/plugin

image-1626781044164.png

Now, if we go into the folder where we have placed the plugin:

cd /usr/share/pandora_server/util/plugin

and run it with the parameters mentioned above:

python3 pandora_openstack.py -u <url> -t <token>

image-1627041303281.png

the agents will be created in our pandora console, in resources > manage agents

image-1627041311621.png

It could also be created from the server plugins menu, to do this, go to the "servers" menu and click on "plugins":

image-1626781180446.png

Download and click on "add plugins":

image-1626781210188.png

We name and describe it:

image-1626781242396.png

We configure the parameters that it is going to use, in this case, the 3 essential ones are those of the url, instance and token, they are macros. In plugin command, we introduce the path where we have located the plugin.

image-1626781272867.png

We configure the macros by entering the name we want for each one, and its attribute.

image-1626781325929.png

To see how we can get the token, see the "configuration" section of this manual.

To see how we can find out the url and instance id, go to "frequently asked questions".