Parameters
Simple mode
| --urls | |
| --user | username if the |
| --password | password if the |
| --ssl | whether to verify the URL |
| --prefix | prefix for |
| --transfer_mode | data transfer mode (native or tentacle), optional |
| --tentacle_ip | tentacle IP, optional |
| --tentacle_port | tentacle port, optional |
| --interval | monitoring interval in seconds, optional |
| --allow_list | regular expression to include only modules whose name matches, optional |
| --deny_list | regular expression to exclude modules whose name matches, optional |
| -- | |
Advanced mode
| --conf | path to the configuration file |
| -- | path to the file |
Configuration file (--conf)
username= username if the HAProxyNGINX endpoint requires HTTP basic authentication, optional
password= password if the HAProxyNGINX endpoint requires HTTP basic authentication, optional
verify_ssl= whether to verify the URL has an HTTPS certificate toor be verified,not, optional
prefix= prefix for the module names, optional
transfer_mode= data transfer mode (native or tentacle), optional
tentacle_ip= tentacle IP, optional
tentacle_port= tentacle port, optional
agents_group= name of the agent group the created agents will be assigned to, optional
agents_group_id= IDid of the agent group the created agents will be assigned to, optional
interval= monitoring interval in seconds, optional
allow_list= regular expression to include only modules whose name matches, optional
deny_list= regular expression to exclude modules whose name matches, optional
monitor_frontends=timeout= monitormaximum frontendwait rowstime (type=0),for optionalthe monitor_backends=HTTP monitorrequest backendin rows (type=1), optional
monitor_servers= monitor server rows (type=2),seconds, optional
Example
[CONF]
username=adminpandora
password=12345pandora
verify_ssl=truefalse
prefix=haproxy_nginx_
transfer_mode=native
tentacle_ip=127.0.0.1
tentacle_port=41121
interval=300
allow_list=
deny_list=.*_wredis|.*_wretr
monitor_frontends=true
monitor_backends=true
monitor_servers=truetimeout=10
Targets file (--):conf_targetstargets_file
http://192.168.0.10:8404/stats10/nginx_status
http://192.168.0.11:8404/stats11/nginx_status