Re: Getting frequent "NaN" gaps in graphs, yet data is being retrieved ok
Andy Dills <[email protected]> Fri, 1 Apr 2011 11:24:04 -0400 (EDT)
| Newsgroups | gmane.network.cricket.user |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 31 Mar 2011, Andy Dills wrote:
>
> Thanks, and thank you to the people who replied off list as well.
>
> The solution was as simple as adding "snmp-version = 3" to the interfaces
> file for the routers and switches that have gigabit interfaces.
...or I just didn't see the problem for a few hours and was completely
mistaken :)
Turns out you can change the version to 3, and it will silently just keep
using 1. I spent a bit of time trying to get version 3 to work (easy on
the router end, difficult on the cricket end...router debug says I got the
username sending with the alternat snmpUtil.pm, but was getting a strange
"Unknown Report" when running the collector), and so I decided to just use
snmp 2c. But that still didn't fix it...because you need to query
different counters. They don't just magically turn into 64 bit counters
(duh).
So, here's the actual solution.
In the interfaces files for routers/switches with gigabit interfaces, add:
snmp-verion = 2c
dataSource ifInOctets
ds-source = snmp://%snmp%/ifHCInOctets.%inst%
dataSource ifOutOctets
ds-source = snmp://%snmp%/ifHCOutOctets.%inst%
Hope that helps somebody in the future.
Thanks,
Andy
---
Andy Dills
Xecunet, Inc.
www.xecu.net
301-682-9972
---
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf