Re: Getting frequent "NaN" gaps in graphs, yet data is being retrieved ok
Francois Mikus <[email protected]> Tue, 14 Jun 2011 21:29:05 -0400
| Newsgroups | gmane.network.cricket.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, You can also try out genDevConfig just to see what kind of target files it will create, as a strating point to create new defaults. Or just peruse the code to see what logic is used to determine what counters to use. Glad to hear you got things fixed up. Cheers Francois Mikus On 01/04/2011 10:24 AM, Andy Dills wrote: > 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 > _______________________________________________ > cricket-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cricket-users ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev