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.png

Es importante poner en el interpreter , python3.8, ya que es la tecnología necesaría para ejecutar el plugin. En inline code se debe incluir el código del plugin.

4. Go to an agent and configure the plugin

imagen.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
  • pagination 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