Read Windows 2000 mem stats from Linux (informant)

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

Moderators: Moderators, Developers

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

Read Windows 2000 mem stats from Linux (informant)

#1 Post by royce » Tue Feb 01, 2005 4:10 am

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 2455 times
brief.jpg
brief.jpg (42 KiB) Viewed 23336 times

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

#2 Post by royce » Tue Feb 01, 2005 4:13 am

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 23335 times

noskill
Posts: 32
Joined: Mon Feb 21, 2005 12:32 am

#3 Post by noskill » Fri Feb 25, 2005 6:16 pm

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

#4 Post by phoenix » Sat Feb 26, 2005 6:22 am

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

#5 Post by royce » Sun Feb 27, 2005 6:23 am

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

Christofer

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

#6 Post by sapofeo » Mon Mar 21, 2005 4:54 pm

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

#7 Post by royce » Mon Mar 21, 2005 5:02 pm

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

Christofer

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

#8 Post by jeroenh » Fri Apr 29, 2005 4:11 am

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: 2326
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

#9 Post by fmangeant » Fri Apr 14, 2006 9:58 am

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: 2326
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

#10 Post by fmangeant » Fri Apr 14, 2006 10:03 am

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

#11 Post by Mika2008 » Wed Jan 13, 2010 1:32 pm

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

Post Reply