Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Wed Apr 24, 2019 3:23 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Read Windows 2000 mem stats from Linux (informant)
PostPosted: Tue Feb 01, 2005 4:10 am 
Offline
Cacti User

Joined: Wed Dec 29, 2004 7:37 am
Posts: 79
Location: Sweden
Hi.. Could not find any templates for reading memory information on Win2k servers so I wrote two templates for reading memory, however ony one of them are posted here (though both pictures).

Download standard informant from http://www.snmp-informant.com and install. Restart SNMP service and you'll be able to monitor memstats..

Text in this template in swedish, please translate to english...

(blue) Ledigt fysiskt minne = Free physical memory
(Yellow) Använt virtuellt minne = Used swap space / Virtual memory
(red) Resident allokerat minne = Mem pool non-paged bytes

Christofer


Attachments:
brief.jpg
brief.jpg [ 42 KiB | Viewed 23146 times ]
File comment: Win 2000 brief memstats using informant (standard)
cacti_graph_template_windows_2000_memory_brief_informant.xml [18.88 KiB]
Downloaded 2447 times
Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 01, 2005 4:13 am 
Offline
Cacti User

Joined: Wed Dec 29, 2004 7:37 am
Posts: 79
Location: Sweden
Forgot to mention

This templates are for 0.8.6c


However, I built a more complicated one aswell... no values yet though.


Attachments:
stor.jpg
stor.jpg [ 85.72 KiB | Viewed 23145 times ]
Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 25, 2005 6:16 pm 
Offline

Joined: Mon Feb 21, 2005 12:32 am
Posts: 32
Good job. When do you plan on finishing the other template? I'm eager to test it out. ;)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 26, 2005 6:22 am 
Offline

Joined: Thu Aug 19, 2004 3:18 pm
Posts: 27
noskill wrote:
Good job. When do you plan on finishing the other template? I'm eager to test it out. ;)


Me too. :)

_________________
Regards


Bill


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 27, 2005 6:23 am 
Offline
Cacti User

Joined: Wed Dec 29, 2004 7:37 am
Posts: 79
Location: Sweden
I'm about to post it here within a week or so.

Christofer


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 21, 2005 4:54 pm 
Offline

Joined: Thu Feb 17, 2005 5:23 pm
Posts: 13
Thanks! works great.

I'm having a problem figuring out what that last field measure though...


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 21, 2005 5:02 pm 
Offline
Cacti User

Joined: Wed Dec 29, 2004 7:37 am
Posts: 79
Location: Sweden
Memory that cant be written to disk (paged/swapped out).

Christofer


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 29, 2005 4:11 am 
Offline

Joined: Thu Apr 14, 2005 3:22 am
Posts: 2
royce wrote:
Forgot to mention

This templates are for 0.8.6c


However, I built a more complicated one aswell... no values yet though.


Can you post the code?

Thanks,

Jeroen


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 14, 2006 9:58 am 
Offline
Cacti Guru User
User avatar

Joined: Fri Sep 19, 2003 8:36 am
Posts: 2326
Location: Sophia-Antipolis, France
Hi

anyone knows how to graph free physical and total physical memory with the standard SNMP Informant edition ?

I'm getting these values :
Code:
snmpwalk -v 1 -c public 10.50.8.55 .iso.org.dod.internet.private.enterprises.wtcs.informant.standard.memory
.iso.org.dod.internet.private.enterprises.wtcs.informant.standard.memory.1.0 = Gauge32: 96194560
.iso.org.dod.internet.private.enterprises.wtcs.informant.standard.memory.2.0 = Gauge32: 93940
.iso.org.dod.internet.private.enterprises.wtcs.informant.standard.memory.3.0 = Gauge32: 91
.iso.org.dod.internet.private.enterprises.wtcs.informant.standard.memory.4.0 = Gauge32: 492138496
.iso.org.dod.internet.private.enterprises.wtcs.informant.standard.memory.5.0 = Gauge32: 63295488
.iso.org.dod.internet.private.enterprises.wtcs.informant.standard.memory.6.0 = Gauge32: 304943104
.iso.org.dod.internet.private.enterprises.wtcs.informant.standard.memory.7.0 = Gauge32: 1353
.iso.org.dod.internet.private.enterprises.wtcs.informant.standard.memory.8.0 = Gauge32: 0
.iso.org.dod.internet.private.enterprises.wtcs.informant.standard.memory.9.0 = Gauge32: 0
.iso.org.dod.internet.private.enterprises.wtcs.informant.standard.memory.10.0 = Gauge32: 0
.iso.org.dod.internet.private.enterprises.wtcs.informant.standard.memory.11.0 = Gauge32: 12455936
.iso.org.dod.internet.private.enterprises.wtcs.informant.standard.memory.12.0 = Gauge32: 76443648
.iso.org.dod.internet.private.enterprises.wtcs.informant.standard.memory.13.0 = Gauge32: 30167040
.iso.org.dod.internet.private.enterprises.wtcs.informant.standard.memory.14.0 = Gauge32: 30986240
.iso.org.dod.internet.private.enterprises.wtcs.informant.standard.memory.15.0 = Gauge32: 274432
.iso.org.dod.internet.private.enterprises.wtcs.informant.standard.memory.16.0 = Gauge32: 901120
.iso.org.dod.internet.private.enterprises.wtcs.informant.standard.memory.17.0 = Gauge32: 1867776
.iso.org.dod.internet.private.enterprises.wtcs.informant.standard.memory.18.0 = Gauge32: 6836224


The first 3 values seem to be the free physical memory in bytes, kbytes and mbytes, but I don't know for the others...

_________________

HOWTOs :
Templates :


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 14, 2006 10:03 am 
Offline
Cacti Guru User
User avatar

Joined: Fri Sep 19, 2003 8:36 am
Posts: 2326
Location: Sophia-Antipolis, France
Well, reading the documentation was the solution...

Here are the values :
Code:
+--memory(2)
| |
| +-- r-n Gauge32 memoryAvailableBytes(1)
| +-- r-n Gauge32 memoryAvailableKBytes(2)
| +-- r-n Gauge32 memoryAvailableMBytes(3)
| +-- r-n Gauge32 memoryCommittedBytes(4)
| +-- r-n Gauge32 memoryCacheBytes(5)
| +-- r-n Gauge32 memoryCacheBytesPeak(6)
| +-- r-n Gauge32 memoryPageFaultsPerSec(7)
| +-- r-n Gauge32 memoryPagesInputPerSec(8)
| +-- r-n Gauge32 memoryPagesOutputPerSec(9)
| +-- r-n Gauge32 memoryPagesPerSec(10)
| +-- r-n Gauge32 memoryPoolNonpagedBytes(11)
| +-- r-n Gauge32 memoryPoolPagedBytes(12)
| +-- r-n Gauge32 memoryPoolPagedResidentBytes(13)
| +-- r-n Gauge32 memorySystemCacheResidentBytes(14)
| +-- r-n Gauge32 memorySystemCodeResidentBytes(15)
| +-- r-n Gauge32 memorySystemCodeTotalBytes(16)
| +-- r-n Gauge32 memorySystemDriverResidentBytes(17)
| +-- r-n Gauge32 memorySystemDriverTotalBytes(18)

Is there a way to make a simple graph (total physical / used physical) with this ?

_________________

HOWTOs :
Templates :


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 13, 2010 1:32 pm 
Offline

Joined: Tue Dec 01, 2009 4:24 pm
Posts: 26
hello can u have update for thie template or have new template for windows 2003 server memomry please?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Bing [Bot], ghost and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group