We have a setup here where we're monitoring around about 30 different devices, from switches to routers to UPS to windows server 200X to linux machines.
The problem we've been having is with Server 2008r2, we can't seem to get the CPU usage to report.
Code: Select all
[root@localhost html]# time snmpwalk -v 2c -c public -t 10 172.19.37.5 .1.3.6.1.2.1.25.3.3.1
HOST-RESOURCES-MIB::hrProcessorFrwID.8 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.9 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.10 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.11 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorLoad.8 = INTEGER: 0
HOST-RESOURCES-MIB::hrProcessorLoad.9 = INTEGER: 0
HOST-RESOURCES-MIB::hrProcessorLoad.10 = INTEGER: 0
HOST-RESOURCES-MIB::hrProcessorLoad.11 = INTEGER: 0
real 0m0.502s
user 0m0.026s
sys 0m0.015s
Code: Select all
[root@localhost html]# time snmpwalk -v 2c -c public -t 10 172.19.33.100 .1.3.6.1.2.1.25.3.3.1
HOST-RESOURCES-MIB::hrProcessorFrwID.2 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.3 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorLoad.2 = INTEGER: 6
HOST-RESOURCES-MIB::hrProcessorLoad.3 = INTEGER: 7
real 0m0.040s
user 0m0.028s
sys 0m0.010s
When I go into the Device Settings, I get the following from the 'Verbose query' for CPU utilization:
Code: Select all
+ Running data query [9].
+ Found type = '6 '[script query].
+ Found data query XML file at '/var/www/html/resource/script_server/host_cpu.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /var/www/html/scripts/ss_host_cpu.php 172.19.37.5 22 2:161:5000:1:100:public:admin:*****:MD5::DES: index'
+ Executing script query '/usr/bin/php -q /var/www/html/scripts/ss_host_cpu.php 172.19.37.5 22 2:161:5000:1:100:public:admin:*****:MD5::DES: query index'
+ Found item [hrProcessorFrwID='0'] index: 0
+ Found item [hrProcessorFrwID='1'] index: 1
+ Found item [hrProcessorFrwID='2'] index: 2
+ Found item [hrProcessorFrwID='3'] index: 3
+ Found data query XML file at '/var/www/html/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/var/www/html/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/var/www/html/resource/script_server/host_cpu.xml'
The graph basically says "The RRD file does not exist", but the interesting part is that the HDD space reporting on that same server *does* work.
I setup the HDD and CPU usage reporting at the same time, so I'm presuming there's been no magical filesystem permissions or anything that might have changed while I was creating one or the other.
I'm not too sure where to turn to next to start looking into debugging this issue for myself. I've checked in both the logs under Console --> System Utilities and nothing there looks like it should be ringing any alarm bells.
Any thoughts / comments would be greatly appreciated.
Cheers
Chill.