Discovery
This plugin can be integrated with Pandora FMS Discovery.
To do so, load the ".disco" package that you can download from the Pandora FMS library:
https://pandorafms.com/library/
Once loaded, NGINX instances can be monitored by creating Discovery tasks from the Management > Discovery > Application > NGINX section.
For each task the following minimum data will be requested in the NGINX Basic step:
- NGINX Status URLs: NGINX stub_status endpoint URLs, separated by commas or one per line. Each URL will generate an agent.
- Username: username for the NGINX endpoint if it requires HTTP basic authentication, optional
- Password: password for the NGINX endpoint if it requires HTTP basic authentication, optional
- Verify SSL: active if the URL SSL certificate needs to be verified, inactive by default
- Transfer mode: transfer mode (native or tentacle), optional
- Tentacle IP: tentacle IP, optional
- Tentacle port: tentacle port, optional
In the NGINX Advanced step additional options can be configured:
- Module prefix: prefix to add to all created module names, optional
- Request timeout: maximum wait time for the HTTP request in seconds, optional (default 10)
- Allow list: regular expression to include only modules whose name matches, optional
- Deny list: regular expression to exclude modules whose name matches, optional
Successfully completed tasks will show an execution summary with the following information:
- Total agents : Total number of agents generated by the task.
- Total modules: Total number of modules generated by the task.