Win32 and 32bit only counters for Network Interfaces=No Data

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
Spotme
Posts: 3
Joined: Tue Jun 27, 2006 11:42 pm

Win32 and 32bit only counters for Network Interfaces=No Data

Post by Spotme »

Hi Everyone- I appologize if this has been fixed elsewhere, but I have been unable to find a solution for graphing windows servers that run over gigabit+ links. I have a lot of HP servers that have dual nics teamed together, which gives me 2+ gigs of bandwidth per server, and many of these servers average 600+Mb per second. Either they dont have 64 bit counters, or I cant find them.

So here is my question- to get around this, is it possible to modify the existing snmp query to poll for the value, wait 1 second, then poll the value again and use the delta for the output? If it isnt possible to modify the built in snmp query, is there an easy way to do it with a perl script? (I am a perl Newb, but I fully understand vbscript)

Any help would be greatly appreciated!

Thanks
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Make sure you tell cacti to use snmpv2 and 64bit counters for the traffic. Once those two things are set, you should be good for high bandwidth data.
Spotme
Posts: 3
Joined: Tue Jun 27, 2006 11:42 pm

Post by Spotme »

BSOD2600 wrote:Make sure you tell cacti to use snmpv2 and 64bit counters for the traffic. Once those two things are set, you should be good for high bandwidth data.
That would work, except I dont think windows 2003 has 64bit counters for the NIC's, at least not the HP nics. Am I missing some counters that I can use?

The monitoring of Cisco gear is working great with the 64bit counters though.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Windows 2003 DOES have 64bit NIC counters. Are you using the generic OID for traffic or something specific to HP? If the latter, I suggest you try the generic windows one.
Spotme
Posts: 3
Joined: Tue Jun 27, 2006 11:42 pm

Post by Spotme »

BSOD2600 wrote:Windows 2003 DOES have 64bit NIC counters. Are you using the generic OID for traffic or something specific to HP? If the latter, I suggest you try the generic windows one.
When I try the generic one, I get the following error message:

Code: Select all

WARNING: Result from SNMP not valid. Partial Result: No Such Object avail 
Is there more information that I can post to help?

edit- when I do a

Code: Select all

snmpwalk -c <your community string> -v2c <your device> .1.3.6.1.2.1.31.1.1.1.6 
I get

Code: Select all

Cannot find module (NOTIFICATION-LOG-MIB): At line 1 in (none)
Cannot find module (NET-SNMP-AGENT-MIB): At line 1 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 1 in (none)
IF-MIB::ifHCInOctets = No Such Object available on this agent at this OID
But if I change the host to a cisco device, I get the listings of all the interfaces and their counters.

It looks like this topic was discussed here:
http://forums.cacti.net/viewtopic.php?t ... it+counter

But the result was that a user went off on their own to find a solution. What I am looking for a fix that many people can use. Essentially, I need the polling to happen in less than an a minute interval so that the 32bit counter doesn't wrap twice before the second poll happens. I am hoping to accomplish this by some scripting trickery.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Hmm, so even though this document say Windows 2003 supports snmp v2c, it doesn't have the high capacity counters (aka ifHCInOctets / ifHCOutOctets). Thats lame. Suppose thats why the other guy from that post you referenced went on to use WMI.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests