반응형
1. zabbix_agent2.conf
UserParameter=varnishstat[*],/etc/zabbix/scripts/varnishstat.sh "$1"
2. varnishstat.sh
#!/bin/sh
if [ $1 ] ; then
/usr/bin/varnishstat -1 | grep "$1 " | awk '{print $2}'
fi
3. zabbix server template
반응형
'Monitoring Tools > Zabbix' 카테고리의 다른 글
9. [zabbix agent] nginx http response code and request time (0) | 2021.03.17 |
---|---|
8. [zabbix agent] jstat (0) | 2021.03.17 |
6. [zabbix agent] redis (0) | 2021.03.17 |
4. [오류수정] zabbix DB Replication error (0) | 2021.03.17 |
3. [이중화] zabbix DB replication (0) | 2021.03.17 |