Read Windows 2000 mem stats from Linux (informant)

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
royce
Cacti User
Posts: 79
Joined: Wed Dec 29, 2004 7:37 am
Location: Sweden

Read Windows 2000 mem stats from Linux (informant)

Post by royce »

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
cacti_graph_template_windows_2000_memory_brief_informant.xml
Win 2000 brief memstats using informant (standard)
(18.88 KiB) Downloaded 2560 times
brief.jpg
brief.jpg (42 KiB) Viewed 25311 times
royce
Cacti User
Posts: 79
Joined: Wed Dec 29, 2004 7:37 am
Location: Sweden

Post by royce »

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 25310 times
noskill
Posts: 32
Joined: Mon Feb 21, 2005 12:32 am

Post by noskill »

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

Post by phoenix »

noskill wrote:Good job. When do you plan on finishing the other template? I'm eager to test it out. ;)
Me too. :)
Regards


Bill
royce
Cacti User
Posts: 79
Joined: Wed Dec 29, 2004 7:37 am
Location: Sweden

Post by royce »

I'm about to post it here within a week or so.

Christofer
sapofeo
Posts: 13
Joined: Thu Feb 17, 2005 5:23 pm

Post by sapofeo »

Thanks! works great.

I'm having a problem figuring out what that last field measure though...
royce
Cacti User
Posts: 79
Joined: Wed Dec 29, 2004 7:37 am
Location: Sweden

Post by royce »

Memory that cant be written to disk (paged/swapped out).

Christofer
jeroenh
Posts: 2
Joined: Thu Apr 14, 2005 3:22 am

Post by jeroenh »

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
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Hi

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

I'm getting these values :

Code: Select all

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...
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Well, reading the documentation was the solution...

Here are the values :

Code: Select all

+--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 ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Mika2008
Posts: 26
Joined: Tue Dec 01, 2009 4:24 pm

Post by Mika2008 »

hello can u have update for thie template or have new template for windows 2003 server memomry please?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest