Skip to main content

Parameters

Simple mode

--urlsHAProxyNGINX statsstub_status endpoint URLs, comma-separated.separated by commas. Each URL will creategenerate onean agent.
--userusername if the HAProxyNGINX endpoint requires HTTP basic authentication, optional
--passwordpassword if the HAProxyNGINX endpoint requires HTTP basic authentication, optional
--sslwhether to verify the URL has an HTTPS certificate toor be verified,not, optional (default true)
--prefixprefix for the module names, optional
--transfer_modedata transfer mode (native or tentacle), optional
--tentacle_iptentacle IP, optional
--tentacle_porttentacle port, optional
--intervalmonitoring interval in seconds, optional
--allow_listregular expression to include only modules whose name matches, optional
--deny_listregular expression to exclude modules whose name matches, optional
--monitor_frontendstimeoutmonitormaximum frontendwait rowstime for the HTTP request in seconds, optional (type=0),default optional
--monitor_backendsmonitor backend rows (type=1), optional
--monitor_serversmonitor server rows (type=2), optional10)

Advanced mode

--confpath to the configuration file
--conf_targetstargets_filepath to the file withcontaining the HAProxyNGINX URLs (mandatory when using --conf)

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