[solved] Physical memory graph stop working

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
petoulachi
Posts: 13
Joined: Tue Mar 22, 2011 12:28 pm

[solved] Physical memory graph stop working

Post by petoulachi »

Hello,

I'm using cacti 0.8.7g without issue with my windows 2008R2 servers.
For one server, the memory use graph just stop working. No data are display, nor the total memory and used memory.

I've try to remove and readd the graph without success. Also tried to remove the graph AND associated data, but no more luck.

I don't have any idea to see what's wrong here. Others graph on the server work well (hard drives, CPU, network, fans etcetc).

Thanks for your help !
petoulachi
Posts: 13
Joined: Tue Mar 22, 2011 12:28 pm

Re: Physical memory graph stop working

Post by petoulachi »

Ok, so :
-cacti is installed on a windows2008R2 server, using the latest windows installer and IIS
-servers that are monitored are all windows2008R2

RDDTools says "OK" for the graph. Here is the command :

Code: Select all

RRDTool Command:
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Physical Memory" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
--slope-mode \
--font TITLE:10:C:\rrdtool\Ubuntu-B.ttf \
--font AXIS:8:C:\rrdtool\Ubuntu-R.ttf \
--font LEGEND:9:C:\rrdtool\Ubuntu-RI.ttf \
--font UNIT:8:C:\rrdtool\Ubuntu-R.ttf \
DEF:a="C\:/cacti/rra/seven_hdd_used_229.rrd":hdd_total:AVERAGE \
DEF:b="C\:/cacti/rra/seven_hdd_used_229.rrd":hdd_used:AVERAGE \
AREA:a#002A97FF:"Total"  \
GPRINT:a:LAST:"Current\:%8.2lf %s"  \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n"  \
AREA:b#F51D30FF:"Used"  \
GPRINT:b:LAST:" Current\:%8.2lf %s"  \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:b:MAX:"Maximum\:%8.2lf %s\n" 
But in the poller log, I have a warning every five minutes : SNMP Timeout for two OID ( .1.3.6.1.2.1.25.2.3.1.6.7) on this server. I Suspect that this two OID are total RAM and used RAM, but how do I check that ? And more important, what can I do to solve this ?

Regards,
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Physical memory graph stop working

Post by BSOD2600 »

Use net-snmp snmpwalk to check if that OID is valid and post the results

Code: Select all

snmpwalk -v 1 -c public localhost .1.3.6.1.2.1.25.2.3.1
petoulachi
Posts: 13
Joined: Tue Mar 22, 2011 12:28 pm

Re: Physical memory graph stop working

Post by petoulachi »

Seems unrelated :
C:\Users\root>snmpwalk -v 1 -c public localhost .1.3.6.1.2.1.25.2.3.1
Cannot find module (MIB-Dell-10892): At line 1 in (none)
Timeout: No Response from localhost
I thinks it's some tests I've made to monitor temperature ?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Physical memory graph stop working

Post by BSOD2600 »

That output means your local pc does not respond to snmp requests... which is bad if you're tying to get cacti to graph data from it. double-check your snmp agent configuration.
petoulachi
Posts: 13
Joined: Tue Mar 22, 2011 12:28 pm

Re: Physical memory graph stop working

Post by petoulachi »

My god I'm such a noob sometimes...

Okay so :
running this on the cacti server :

Code: Select all

C:\Users\root>snmpwalk -v 1 -c mydomain localhost .1.3.6.1.2.1.25.2.3.1.6.7
Cannot find module (MIB-Dell-10892): At line 1 in (none)
HOST-RESOURCES-MIB::hrStorageUsed.7 = INTEGER: 40805
C:\Users\root>
now, running it from the cacti server to the server with RAM graph issue :

Code: Select all

C:\Users\root>snmpwalk -v 1 -c mydomain server.mydomain.com .1.3.6.1.2.1.25.2.3.1.6.7
Cannot find module (MIB-Dell-10892): At line 1 in (none)
C:\Users\root>
So it does not give any result ? But some other graph (disk utilization, network, CPU...) work fine on this server.

Also, how do I can know the OID for the RAM graph ?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Physical memory graph stop working

Post by BSOD2600 »

1) the MIB-Dell-10892 problem really isn't that important.
2) You didnt snmpwalk the OID I specified. this will show you all storage devices.
petoulachi
Posts: 13
Joined: Tue Mar 22, 2011 12:28 pm

Re: Physical memory graph stop working

Post by petoulachi »

Here is the complete list:

Code: Select all

HOST-RESOURCES-MIB::hrStorageIndex.1 = INTEGER: 1
HOST-RESOURCES-MIB::hrStorageIndex.2 = INTEGER: 2
HOST-RESOURCES-MIB::hrStorageIndex.3 = INTEGER: 3
HOST-RESOURCES-MIB::hrStorageIndex.4 = INTEGER: 4
HOST-RESOURCES-MIB::hrStorageIndex.5 = INTEGER: 5
HOST-RESOURCES-MIB::hrStorageIndex.6 = INTEGER: 6
HOST-RESOURCES-MIB::hrStorageType.1 = OID: HOST-RESOURCES-MIB::hrStorageTypes.4
HOST-RESOURCES-MIB::hrStorageType.2 = OID: HOST-RESOURCES-MIB::hrStorageTypes.4
HOST-RESOURCES-MIB::hrStorageType.3 = OID: HOST-RESOURCES-MIB::hrStorageTypes.4
HOST-RESOURCES-MIB::hrStorageType.4 = OID: HOST-RESOURCES-MIB::hrStorageTypes.7
HOST-RESOURCES-MIB::hrStorageType.5 = OID: HOST-RESOURCES-MIB::hrStorageTypes.3
HOST-RESOURCES-MIB::hrStorageType.6 = OID: HOST-RESOURCES-MIB::hrStorageTypes.2
HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: C:\ Label:System  Serial Number ced0d4d3
HOST-RESOURCES-MIB::hrStorageDescr.2 = STRING: D:\ Label:Databases  Serial Number 2cd64ca0
HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: E:\ Label:Backup  Serial Number b2d4400c
HOST-RESOURCES-MIB::hrStorageDescr.4 = STRING: F:\
HOST-RESOURCES-MIB::hrStorageDescr.5 = STRING: Virtual Memory
HOST-RESOURCES-MIB::hrStorageDescr.6 = STRING: Physical Memory
HOST-RESOURCES-MIB::hrStorageAllocationUnits.1 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.2 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.3 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.4 = INTEGER: 0 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.5 = INTEGER: 65536 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.6 = INTEGER: 65536 Bytes
HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 34867199
HOST-RESOURCES-MIB::hrStorageSize.2 = INTEGER: 73104895
HOST-RESOURCES-MIB::hrStorageSize.3 = INTEGER: 244055295
HOST-RESOURCES-MIB::hrStorageSize.4 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.5 = INTEGER: 1048133
HOST-RESOURCES-MIB::hrStorageSize.6 = INTEGER: 524081
HOST-RESOURCES-MIB::hrStorageUsed.1 = INTEGER: 14962592
HOST-RESOURCES-MIB::hrStorageUsed.2 = INTEGER: 8823090
HOST-RESOURCES-MIB::hrStorageUsed.3 = INTEGER: 127988111
HOST-RESOURCES-MIB::hrStorageUsed.4 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.5 = INTEGER: 493812
HOST-RESOURCES-MIB::hrStorageUsed.6 = INTEGER: 479521
HOST-RESOURCES-MIB::hrStorageAllocationFailures.1 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.2 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.3 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.4 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.5 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.6 = Counter32: 0
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Physical memory graph stop working

Post by BSOD2600 »

Windows re-assigned the OIDs for the memory on your system. Notice how initially it was .1.3.6.1.2.1.25.2.3.1.6.7 and now from the snmpwalk you can see its .1.3.6.1.2.1.25.2.3.1.6.6?

Click the green circle next to the associated data query for that devices. Otherwise, you can schedule reindexing to occur with /cacti/cli/ scripts.
petoulachi
Posts: 13
Joined: Tue Mar 22, 2011 12:28 pm

Re: Physical memory graph stop working

Post by petoulachi »

I've run a reindex and the RAM graph is now working again.

Thanks a lot for your help. btw why the fuck do Windows changes OID ??
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Physical memory graph stop working

Post by BSOD2600 »

Typically they'll change when a new disk device is added (usb, external, etc). They can also change when certain windows updates are installed and/or system is rebooted.
hcl4manohar
Posts: 8
Joined: Tue May 10, 2011 4:39 am

Re: [solved] Physical memory graph stop working

Post by hcl4manohar »

hey will u help me in my problems

i am using windows 2008R2 servers.........n haveing problem for cpu utilization and hard disk space graph........using apachi........
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests