Configuration in PandoraFMS
To configure the plugin in PandoraFMS, the following steps must be followed:
1. Upload the plugin to PandoraFMS, for example in the following path:
/usr/share/pandora_server/util/plugin
2. Go to the plugins section and create a new one:
3. Name, description and timeout are added:
4. The path of the plugin is added to the command and the necessary parameters for its execution.
For each parameter a macro must be configured, the syntax of this macro being the following : _fieldx_, where x is the positional number of the parameter.
5. The previous macros are configured, adding the value of the parameter in each one:
6. Once configured, you should create a module in an agent that executes the plugin. In the modules menu of an agent we create a new plugin type module:
7. In the module configuration menu, we name it, select the plugin configured before and click on "create".
8. The agent will be created with the modules or the modules in the selected agent in the next execution of the plugin.