Discovery
This plugin can be integrated with Pandora FMS Discovery.
To do so, the ".disco" package must be loaded. It can be downloaded from the Pandora FMS library:
https://pandorafms.com/library/
Once loaded, HAProxy instances can be monitored by creating Discovery tasks from the Management > Discovery > Application > HAProxy section.
Each task will require the following minimum data in the HAProxy Basic step:
- HAProxy Stats URLs: HAProxy stats endpoint URLs, comma-separated or one per line. Each URL will create one agent.
- Username: HAProxy endpoint user if basic authentication is required, optional
- Password: HAProxy endpoint password if basic authentication is required, optional
- Verify SSL: enabled if the URL has an SSL certificate to be verified, disabled by default
- Transfer mode: transfer mode (native or tentacle), optional
- Tentacle IP: tentacle IP, optional
- Tentacle port: Tentacle port, optional
In the HAProxy Advanced step the following additional options can be configured:
- Module prefix: prefix to be added to every created module name, optional
- Monitor frontends: enables monitoring of frontend rows (type=0), optional
- Monitor backends: enables monitoring of backend rows (type=1), optional
- Monitor servers: enables monitoring of server rows (type=2), optional
- 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 have 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.

