标签:zabbix gen net img use print inf bsp awk
#1
#2
[root@nod01 zabbix_agentd.d]# pwd
/etc/zabbix/zabbix_agentd.d
新建文件nod.conf
[root@nod01 zabbix_agentd.d]# cat nod.conf
UserParameter=tps,iostat|awk ‘/^sda/{print $2}‘
UserParameter=estab,netstat -ant | grep -i estab | wc -l
指定key 也就是键值为tps和estab
#3
#4 查看
标签:zabbix gen net img use print inf bsp awk
原文地址:https://www.cnblogs.com/nodchen/p/9432678.html