Skip to main content

Configuration in PandoraFMS

Para configurar el plugin en PandoraFMS, se deben seguir los siguientes pasos :

1. Upload the plugin to PandoraFMS, for example in the following path:

/etc/pandora/plugin

2. Go to the inventory modules menu and create a new one.

image.png

3. Create a new inventory module

imagen.pngimagen.png

Es

importante poner en el

The interpreter ,must python3.8,be yaleft queempty, esin lascript tecnologíamode, necesaríathe parapath ejecutarto elthe plugin.plugin Enmust inlinebe code se debe incluir el código del plugin.
entered.

4. Go to an agent and configure the plugin

imagen.pngimagen.png

The custom fields option must be checked, add the target and an interval, the following custom fields must be added:

  • user: user
  • password: the password (if there is enable it should be specified in this field separated from the password with "/" as in the example),
  • command: The command to launch
  • paginationextra command: if required, otherwise leave blank.
  • filter: To activate a filter on the output use 1, otherwise leave 0.

Once these steps are done, the plugin should be added and the result of the command execution will be shown in the agent inventory view:

imagen.png