Skip to main content

Configuration in PandoraFMS

As server plugin

Manual installation

Go to servers > plugins:

image-1629974405286.pngimage-1689159088296.png

Click on add:"add plugin":

image-1629974430627.pngimage-1689159095782.png


We put in name and the description that is preferred.

We put as command the execution with the path of the plugin:

Remember that the recommended path for the use of the server plugins is: /usr/share/pandora_server/util/plugin/

And in parameters of the plugin we will introduce these followed by the macro "_field<N>_", the parameters of connection, --host, --user and --password are obligatory, by default the plugin has activated the extraction of data of storage,lxc_containers,VMs, nodes and backups, can be deactivated orfor activatecustom the option to extract in addition to these those of virtual machines and lxc containers with their respective parameters.

Remember that if you want to get data from virtual machines and lxc containers, you must use the --get_node parameter to specify a node.monitorization.

Once this is done, we will click on "create".

Once this is done, the only thing left to do is to call it, so we will go to some agent's view and create an add-in module:

image-1646741530197.pngimage-1689159120014.png

We will give it a name and in the section "plugin" we will put the one we have just configured.

Once this is done, click on create.

If the module is shown with 1, it means that it is running correctly.