Parameters
Simple Modemode
| --urls | HAProxy | |
| --user | ||
| --password | password if the | |
| --ssl | ||
| --prefix | prefix for the module names, optional | |
| --transfer_mode | ||
| --tentacle_ip | tentacle | IP, |
| --tentacle_port | tentacle port, optional | |
| monitoring | ||
| --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 |
AdvanceAdvanced Modemode
| --conf | path | to the configuration file |
| --conf_targets | path |
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