Configuration in PandoraFMS
Manual installation
Go to servers > plugins:
Click on add:
We put in name and the description that you prefer.
We put as command the execution with the path of the plugin:
/path_pandora_openweathermap.py
Recuerda que la ruta recomendada para el uso de los plugins de servidor es: /usr/share/pandora_server/util/plugin/
And in plugin parameters we will introduce these followed by the macro "_field<N>_", the obligatory ones for the plugin to work are --lat, --lon and --key .
Once this is done, click on "create".
Once this is done, the only thing left to do is to call it so we will go to the view of some agent and create a plugin module:
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.