Hi,
I'd like to graph the following memory parameters on Win2k servers :
TotalSwap
AvailSwap
TotalReal
AvailReal
I don't know what are the appropriate oids , does anyone know ?
thanks
Swap and Real Memory
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Remm,
Someone needs to write a script to access the HostResourceMib in Windows 2000/XP. No support for earlier versions of Windows however. Here is some additional information:
Total Real in KBytes:
.1.3.6.1.2.1.25.2.2.0
Total Virtual in KBytes (Depends on Number of Volumes)
A - .1.3.6.1.2.1.25.2.3.1.1.X
Virtual in Use is a Calculation
B - .1.3.6.1.2.1.25.2.3.1.4.X - Size of Allocation Units in Bytes
C - .1.3.6.1.2.1.25.2.3.1.5.X - Size of Partition in Allocation Units (B*C=A)
D - .1.3.6.1.2.1.25.2.3.1.6.X - Number of Allocation Units In Use
Therefore depending on X, you are looking for
Total Virtual KBytes in Use is:
B * D / 1024 = Virtual KBytes in Use
For Real Memory, let me see, don't see in in the HostResourceMib, you may have to use WMI. Sorry. I do believe that someone out there has some scripts to poll WMI counters. Keep asking.
TheWitness
Someone needs to write a script to access the HostResourceMib in Windows 2000/XP. No support for earlier versions of Windows however. Here is some additional information:
Total Real in KBytes:
.1.3.6.1.2.1.25.2.2.0
Total Virtual in KBytes (Depends on Number of Volumes)
A - .1.3.6.1.2.1.25.2.3.1.1.X
Virtual in Use is a Calculation
B - .1.3.6.1.2.1.25.2.3.1.4.X - Size of Allocation Units in Bytes
C - .1.3.6.1.2.1.25.2.3.1.5.X - Size of Partition in Allocation Units (B*C=A)
D - .1.3.6.1.2.1.25.2.3.1.6.X - Number of Allocation Units In Use
Therefore depending on X, you are looking for
Total Virtual KBytes in Use is:
B * D / 1024 = Virtual KBytes in Use
For Real Memory, let me see, don't see in in the HostResourceMib, you may have to use WMI. Sorry. I do believe that someone out there has some scripts to poll WMI counters. Keep asking.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 3 guests