Re: Getting frequent "NaN" gaps in graphs, yet data is being retrieved ok

Stephen Carville <[email protected]> Thu, 31 Mar 2011 10:59:11 -0700
Newsgroups gmane.network.cricket.user
Organization LandAm
Message-ID <[email protected]>
On Thursday 31 March 2011 09:43, Andy Dills wrote:
> I've been using cricket for around a decade.
>
> In the last few years, we've grown to the gigabit ethernet level. Since
> then, we've been getting strange gaps in our graphs, with NaN listed as
> the current value if you look at the graph when the gap is occuring. It
> doesn't seem to be based on a traffic level threshhold...I'll see valid
> data displayed at times that are higher usage than the traffic rates when
> the data is NaN.
>
> Whenever I run a manual collector, the data is being retrieved fine. I
> can't figure out why the data isn't being displayed properly, and I'm not
> able to think of a way to troubleshoot this further. I've tried specifying
> the speeds of the interfaces, and I've even tried doing a fresh install on
> a much more modern server (as the server cricket has been on since 2004 is
> still chugging along, and producing graphs a bit more slowly than it
> should).
>
> Any suggestions?

Try using 64 bit counters.  I added the following to appropriate parts of the 
config tree to get statistics for 64 bit counters

OID    ifHCInOctets           1.3.6.1.2.1.31.1.1.1.6
OID    ifHCInUcastPkts        1.3.6.1.2.1.31.1.1.1.7
OID    ifHCOutOctets          1.3.6.1.2.1.31.1.1.1.10
OID    ifHCOutUcastPkts       1.3.6.1.2.1.31.1.1.1.11

dataSource  ifHCInOctets
    ds-source        =   snmp://%snmp%/ifHCInOctets.%inst%

dataSource  ifHCOutOctets
    ds-source        =   snmp://%snmp%/ifHCOutOctets.%inst%

graph   ifHCInOctets
    color       =   dark-green
    draw-as     =   AREA
    legend      =   "Average bits in"
    y-axis      =   "bits per second"
    units       =   "bits/sec"
    scale       =   8,*
    bytes       =   true

graph   ifHCOutOctets
    color       =   blue
    legend      =   "Average bits out"
    y-axis      =   "bits per second"
    units       =   "bits/sec"
    scale       =   8,*
    bytes       =   true

targetType  switch-port64
  ds = "ifHCInOctets, ifHCOutOctets"
  view = "HC_Octets"

view  HC_Octets
  elements = "ifHCInOctets,ifHCOutOctets"


> 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

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