Skip to main content

Configuration in Pandora

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> -i <instancia> -t <token>

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

image-1626781152566.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".