现在想监控服务器的cpu利用率,但是服务器cpu是多核的,监控的不准确,然后用SNMP - Get Processor Information 监控,显示出来应该是一个一个的cpu,目前部分服务器已经成功,但是有部分服务器有以下问题:请大家帮个忙
 
cacti 添加被监控主机
然后添加data query-(SNMP - Get Processor Information)返回debug结果如下
+ Running data query [9].
+ Found type = '6 '[script query].
+ Found data query XML file at '/program/apache/htdocs/cacti/resource/script_server/host_cpu.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/program/php/bin/php -q /program/apache/htdocs/cacti/scripts/ss_host_cpu.php 112.78.20.240 57 2:161:1500:1:30:zypwt:::::: index'
+ Executing script query '/program/php/bin/php -q /program/apache/htdocs/cacti/scripts/ss_host_cpu.php 112.78.20.240 57 2:161:1500:1:30:zypwt:::::: query index'
+ Found data query XML file at '/program/apache/htdocs/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/program/apache/htdocs/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/program/apache/htdocs/cacti/resource/script_server/host_cpu.xml'
 
 
Status显示都是0