Skip to main content

Parameters

Simple Modemode

--urlsHAProxy urlstats ofendpoint theURLs, apachecomma-separated. serverEach URL will create one agent.
--useruser nameusername if the apacheHAProxy serverendpoint requires it,basic optional.authentication, optional
--passwordpassword if the apacheHAProxy serverendpoint requires it,basic authentication, optional
--sslto verify ifwhether the urlURL ishas httpsan certifiedHTTPS orcertificate not,to optional.be verified, optional
--prefixprefix for the module names, optional
--transfer_modename of thedata transfer mode,mode optional.(native or tentacle), optional
--tentacle_iptentacle IP, ip of the tentacle, optional.optional
--tentacle_porttentacle port, optional
port--intervalmonitoring ofinterval thein tentacle,seconds, optional.optional
--allow_listregular expression to include only modules whose name matches, optional
--deny_listregular expression to exclude modules whose name matches, optional
--monitor_frontendsmonitor frontend rows (type=0), optional
--monitor_backendsmonitor backend rows (type=1), optional
--monitor_serversmonitor server rows (type=2), optional

AdvanceAdvanced Modemode

--confpath to the configuration file
--conf_targetspath pathto the file with the HAProxy URLs (mandatory when using --conf)

ArchivoConfiguration de configuraciónfile (--conf)

urls= url of the apache server 
agent_name= name of the agent optional
module_prefix= prefix name for the modules optional
username= user nameusername if the apacheHAProxy serverendpoint requires itbasic authentication, optional
password= password if the apacheHAProxy serverendpoint requires itbasic authentication, optional
verify_ssl= to verify ifwhether the urlURL ishas httpsan certifiedHTTPS orcertificate notto be verified, 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 transferagent modegroup the created agents will be assigned to, optional
tentacle_ip=agents_group_id= ipID of the tentacleagent group the created agents will be assigned to, optional
tentacle_port=interval= portmonitoring ofinterval thein tentacleseconds, 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= monitor frontend rows (type=0), optional
monitor_backends= monitor backend rows (type=1), optional
monitor_servers= monitor server rows (type=2), optional

EjemploExample

urls=https://192.168.0.1/example
agent_name=example
module_prefix=apache[CONF]
username=admin
password=12345
verify_ssl=true
prefix=haproxy_
transfer_mode=tentaclenative
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=true

Targets file (--conf_targets):

http://192.168.0.10:8404/stats
http://192.168.0.11:8404/stats