Yet another no CPU graph question...

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
edgonz
Posts: 19
Joined: Tue Sep 25, 2007 8:50 am

Yet another no CPU graph question...

Post by edgonz »

Running Cacti on Ubuntu server and monitoring windows servers and cisco switches.

I found several posts in these forums in regards to this question, but I couldn't find one with my particular issues.

Here's the output from snmpwalk that I ran against two different windows servers.

Code: Select all

snmpwalk -v1 -c"community" win-server1|grep HOST-RESOURCES-MIB::hrProcessor|more
HOST-RESOURCES-MIB::hrProcessorFrwID.4 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.5 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.6 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.7 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorLoad.4 = INTEGER: 35
HOST-RESOURCES-MIB::hrProcessorLoad.5 = INTEGER: 2
HOST-RESOURCES-MIB::hrProcessorLoad.6 = INTEGER: 1
HOST-RESOURCES-MIB::hrProcessorLoad.7 = INTEGER: 2

snmpwalk -v1 -c"community" win-server2|grep HOST-RESOURCES-MIB::hrProcessor|more
HOST-RESOURCES-MIB::hrProcessorFrwID.3 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.4 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.5 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.6 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorLoad.3 = INTEGER: 3
HOST-RESOURCES-MIB::hrProcessorLoad.4 = INTEGER: 0
HOST-RESOURCES-MIB::hrProcessorLoad.5 = INTEGER: 8
HOST-RESOURCES-MIB::hrProcessorLoad.6 = INTEGER: 0

It appears, at least to me, that for some reason Cacti is not graphing the values - that's of course if I'm reading the output properly. I'm referring to the INTEGER values.


Doing a bit more troubleshooting, I found this in the Cacti logs:

Code: Select all

09/09/2009 09:43:46 PM - CMDPHP: Poller[0] Host[24] DS[336] SNMP: v1: win-server1, dsname: cpu_user, oid: .1.3.6.1.4.1.2021.11.50.0, output: U  
09/09/2009 09:43:46 PM - CMDPHP: Poller[0] Host[24] DS[336] WARNING: Result from SNMP not valid. Partial Result:  
Any ideas on how to get this to work? I don't know what exactly the logs are pointing to.

Thanks!
edgonz
Posts: 19
Joined: Tue Sep 25, 2007 8:50 am

Post by edgonz »

Anyone with any ideas on this issue? I've been on this since last night and can't seem to get it to work still.

Code: Select all

Data Source Debug

/usr/bin/rrdtool create \
/var/lib/cacti/rra/win-server1_cpu_361.rrd \
--step 300  \
DS:cpu:GAUGE:600:0:100 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \

Code: Select all

09/10/2009 04:06:01 PM - POLLER: Poller[0] WARNING: Poller Output Table not Empty. Potential Data Source Issues for Data Sources: users(DS[268]), hdd_total(DS[273]), hdd_used(DS[273]), hdd_total(DS[274]), hdd_used(DS[274]), hdd_total(DS[275]), hdd_used(DS[275]), hdd_total(DS[276]), hdd_used(DS[276]), hdd_total(DS[277]), hdd_used(DS[277]), cpu(DS[278]), cpu(DS[279]), cpu(DS[280]), cpu(DS[281]), traffic_in(DS[282]), traffic_out(DS[282]), hdd_total(DS[340]), hdd_used(DS[340]), hdd_total(DS[341]), hdd_used(DS[341]), hdd_total(DS[342]), hdd_used(DS[342]), hdd_total(DS[343]), hdd_used(DS[343]), hdd_total(DS[344]), hdd_used(DS[344]), cpu(DS[345]), cpu(DS[346]), cpu(DS[347]), cpu(DS[348]), traffic_in(DS[349]), traffic_out(DS[349]), traffic_in(DS[350]), traffic_out(DS[350]) 
I was able to get this off some debug page, but I still don't know where to look for things to fix.
edgonz
Posts: 19
Joined: Tue Sep 25, 2007 8:50 am

Post by edgonz »

Well, a server rebuild fix all these issues...luckily I'm running this on a virtual machine. Snapshots saved me lots of hours :)
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests