Zabbix监控windows的CPU占用率
默认的Zabbix不能监控windows的CPU使用率,需要自己编写脚本
1、在配置文件中添加监控脚本
在zabbix_agentd.win.conf最底部添加 PerfCounter=UserPerfCountercpu,"\Processor(_Total)\% Processor Time",3
2、在zabbix的windows模板添加item
key:UserPerfCountercpu Unit:%
3、添加到图形界面
默认的Zabbix不能监控windows的CPU使用率,需要自己编写脚本
1、在配置文件中添加监控脚本
在zabbix_agentd.win.conf最底部添加 PerfCounter=UserPerfCountercpu,"\Processor(_Total)\% Processor Time",3
2、在zabbix的windows模板添加item
key:UserPerfCountercpu Unit:%
3、添加到图形界面