This is the relevant debug output from the poller (I left out results from the other cores, which are fine):
Code: Select all
07/02/2013 12:43:17 AM - PHPSVR: Poller[0] DEBUG: PID[6568] CTR[136] INC: 'ss_host_cpu.php' FUNC: 'ss_host_cpu' PARMS: '10.0.1.7 12 3:161:500:1:10:community:user:password:MD5:password:DES: get usage 0'
07/02/2013 12:43:17 AM - CMDPHP: Poller[0] Host[12] DS[293] SERVER: /usr/share/user/scripts/ss_host_cpu.php ss_host_cpu 10.0.1.7 12 3:161:500:1:10:community:user:password:MD5:password:DES: get usage 0, output: U
07/02/2013 12:43:17 AM - POLLER: Poller[0] user2RRD: /usr/bin/rrdtool update /usr/share/user/rra/hodur_cpu_293.rrd --template cpu 1372750997:U
Code: Select all
thor ~ # sudo -u cacti php /usr/share/user/cmd.php 12 12
07/02/2013 12:55:59 AM - PHPSVR: Poller[0] DEBUG: PID[7448] CTR[0] INC: 'ss_host_cpu.php' FUNC: 'ss_host_cpu' PARMS: '10.0.1.7 12 3:161:500:1:10:community:user:password:MD5:password:DES: get usage 0'
07/02/2013 12:55:59 AM - CMDPHP: Poller[0] Host[12] DS[293] SERVER: /usr/share/user/scripts/ss_host_cpu.php ss_host_cpu 10.0.1.7 12 3:161:500:1:10:community:user:password:MD5:password:DES: get usage 0, output: 88
07/02/2013 12:55:59 AM - PHPSVR: Poller[0] DEBUG: PID[7448] CTR[0] RESPONSE:'88'
Code: Select all
thor ~ # php /usr/share/cacti/scripts/ss_host_cpu.php 10.0.1.7 12 '3:161:500:1:10:community:user:password:MD5:password:DES:' get usage 0
21thor ~ #
Code: Select all
thor ~ # snmpwalk -v3 -u user -A 'password' -l authPriv -a MD5 -x DES -X 'password' hodur .1.3.6.1.2.1.25.3.3.1
HOST-RESOURCES-MIB::hrProcessorFrwID.768 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.769 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.770 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.771 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.772 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.773 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.774 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.775 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorLoad.768 = INTEGER: 22
HOST-RESOURCES-MIB::hrProcessorLoad.769 = INTEGER: 19
HOST-RESOURCES-MIB::hrProcessorLoad.770 = INTEGER: 17
HOST-RESOURCES-MIB::hrProcessorLoad.771 = INTEGER: 17
HOST-RESOURCES-MIB::hrProcessorLoad.772 = INTEGER: 21
HOST-RESOURCES-MIB::hrProcessorLoad.773 = INTEGER: 18
HOST-RESOURCES-MIB::hrProcessorLoad.774 = INTEGER: 17
HOST-RESOURCES-MIB::hrProcessorLoad.775 = INTEGER: 16
I setup the queries and graphs for this host a couple of times and the core that does not report correctly changed from cpu3 to cpu0 at one point. The host also reports other CPU parameters just fine (system, kernel, interrupts, etc.).
Any advice would be greatly appreciated!