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
Win32 and 32bit only counters for Network Interfaces=No Data
Moderators: Developers, Moderators
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.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
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?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.
The monitoring of Cisco gear is working great with the 64bit counters though.
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.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
When I try the generic one, I get the following error message: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.
Code: Select all
WARNING: Result from SNMP not valid. Partial Result: No Such Object avail
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
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
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.
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.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 0 guests