zabbix监控系统平均负载的值和uptime的值出入很大

"1 min average per core " 是每一个core 的平均值,不是CPU 的平均值。 一个cpu能够有多个 core. 测试

grep proc /proc/cpuinfo发现为24core,找template 里的Item ,找到这个template "Template OS Linux", 点击item后,你会看到这个: Processor load (1 min average per core) ui

system.cpu.load[percpu,avg1] this

对里面的参数作些调整,好比去掉percpu或者改为all,system.cpu.load[<cpu>,<mode>],CPU(s) load. Processor load. The cpu and mode are optional. If cpu is missing all is used. If mode is missing avg1 is used. Note that this is not percentage. it

测试: io

zabbix_agentd -t "system.cpu.load[all,avg1]"---------OK sed

zabbix_agentd -t "system.cpu.load[,avg1]"------------OK sso

修改key之后,zabbix_agentd不用重启,自动生效。 grep

相关文章
相关标签/搜索