搜ijsio 发表于 2018-8-25 09:16:24

zabbix监控haproxy状态-shell脚本

UserParameter=haproxy.frontend.rate,/opt/web/zabbix/scripts/check_haproxy.sh rate FRONTEND  
UserParameter=haproxy.frontend.rate_max,/opt/web/zabbix/scripts/check_haproxy.sh rate_max FRONTEND
  
UserParameter=haproxy.frontend.smax,/opt/web/zabbix/scripts/check_haproxy.sh smax FRONTEND
  
UserParameter=haproxy.web249.rate,/opt/web/zabbix/scripts/check_haproxy.sh rate web249
  
UserParameter=haproxy.web249.scur,/opt/web/zabbix/scripts/check_haproxy.sh scur web249
  
UserParameter=haproxy.web249.smax,/opt/web/zabbix/scripts/check_haproxy.sh smax web249
  
UserParameter=haproxy.web249.stot,/opt/web/zabbix/scripts/check_haproxy.sh stot web249
  
UserParameter=haproxy.web249.econ,/opt/web/zabbix/scripts/check_haproxy.sh econ web249
  
UserParameter=haproxy.web249.ereq,/opt/web/zabbix/scripts/check_haproxy.sh ereq web249
  
UserParameter=haproxy.web249.stats,/opt/web/zabbix/scripts/check_haproxy.sh stats web249
  
UserParameter=haproxy.web250.rate,/opt/web/zabbix/scripts/check_haproxy.sh rate web250
  
UserParameter=haproxy.web250.scur,/opt/web/zabbix/scripts/check_haproxy.sh scur web250
  
UserParameter=haproxy.web250.smax,/opt/web/zabbix/scripts/check_haproxy.sh smax web250
  
UserParameter=haproxy.web250.stot,/opt/web/zabbix/scripts/check_haproxy.sh stot web250
  
UserParameter=haproxy.web250.econ,/opt/web/zabbix/scripts/check_haproxy.sh econ web250
  
UserParameter=haproxy.web250.ereq,/opt/web/zabbix/scripts/check_haproxy.sh ereq web250
  
UserParameter=haproxy.web250.stats,/opt/web/zabbix/scripts/check_haproxy.sh stats web250
  
UserParameter=haproxy.web254.rate,/opt/web/zabbix/scripts/check_haproxy.sh rate web254
  
UserParameter=haproxy.web254.scur,/opt/web/zabbix/scripts/check_haproxy.sh scur web254
  
UserParameter=haproxy.web254.smax,/opt/web/zabbix/scripts/check_haproxy.sh smax web254
  
UserParameter=haproxy.web254.stot,/opt/web/zabbix/scripts/check_haproxy.sh stot web254
  
UserParameter=haproxy.web254.econ,/opt/web/zabbix/scripts/check_haproxy.sh econ web254
  
UserParameter=haproxy.web254.ereq,/opt/web/zabbix/scripts/check_haproxy.sh ereq web254
  
UserParameter=haproxy.web254.stats,/opt/web/zabbix/scripts/check_haproxy.sh stats web254


页: [1]
查看完整版本: zabbix监控haproxy状态-shell脚本