template for windows with 8G memory using snmp informant ?

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

Moderators: Developers, Moderators

Post Reply
solar2k
Posts: 2
Joined: Tue Jan 09, 2007 4:24 am

template for windows with 8G memory using snmp informant ?

Post by solar2k »

Hi,
I tried to graph memory usage in a windows 2003 server with 8G memory. I installed SNMP Informant standard, and are using the template from http://forums.cacti.net/about8165-0-asc-15.html

Seems Snmp Informat is using Gauge32, so when the memory is over 4G, the result is not right by snmpget from memoryAvailableBytes.

--standard(1.3.6.1.4.1.9600.1.1)
|

+--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)

For example, for a server has over 4G available memory, the following result is not right.

$ snmpget -v 2c -c public 10.1.*.* 1.3.6.1.4.1.9600.1.1.2.1.0

SNMPv2-SMI::enterprises.9600.1.1.2.1.0 = Gauge32: 3409088512

It should be 7522996 KBytes.
$ snmpget -v 2c -c public 10.1.3.167 1.3.6.1.4.1.9600.1.1.2.2.0
SNMPv2-SMI::enterprises.9600.1.1.2.2.0 = Gauge32: 7522996

I tried to change some CDEF in the template from http://forums.cacti.net/about8165-0-asc-15.html , but without success,
anyone has the same issue or has a better template?
Thanks.
ame
Cacti User
Posts: 77
Joined: Fri Nov 25, 2005 6:15 am

Post by ame »

Hi,

use the original windows host template delivered with cacti - no problems with servers running up to 16 GB......

Regards
Alex
solar2k
Posts: 2
Joined: Tue Jan 09, 2007 4:24 am

Post by solar2k »

the ucd/net-memory template ? I tried these , got no result from output,
memory free, memory buffer, cache memory are all 'nan' .
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

solar2k wrote:the ucd/net-memory template ?
That is really only meant for linux boxes.

Report this bug to the snmp-informant people so they can fix it. Until then, you can use a WMI memory script -- there are several on the forum.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest