Skip to main content

Configuration in PandoraFMS

As a server plugin

Installation from console

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

register_plugin.png

Click on select file.

register_plugin2.png

Select the pspz2 file that contains the plugin

register1_postgresql.png

A message will be displayed indicating that you have successfully registered.

register2_postgresql.png

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

serversingles.png

Clicking on the plugin title will take you to the plugin menu.

register3_postgresql.png

In macros will appear all those that have the plugin, remember that not all are obligatory, only those that are specified.

register4_postgresql.png

Below you can assign the required value to each variable.

register5_postgresql.png

 

Manual installation

Go to servers > plugins:

image-1629974405286.png

Click on add:

image-1629974430627.png

We put the name and description of your choice:

image-1646737918843.png

 

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

/path_pandora_postgresql

image-1646738193972.png

And in plugin parameters we will introduce these followed by the macro "_field_", the mandatory ones for the plugin to work are -d,-u,-p,-i,--port and --conf.

We will define these with the macros below.

 

Database

image-1646741029424.png

user

image-1646741076563.png

password

image-1646741107573.png

ip

image-1646741133355.png

puerto

image-1646741160772.png

conf

image-1646741187282.png

 

Once this is done, click on "create".

You can check that you have entered the values correctly by executing the terminal preview command

 

image-1646738104244.png

image-1646663598573.png


If it does not give errors it is that it has been introduced well.

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 a module of complements:

image-1646741530197.png

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

image-1646741600061.png

 

Once this is done, click on create.

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

image-1646741405902.png