Edward,
I am tired now and am not thinking right at this moment.. ;-), but my MRTG was all crazy, creating flat lines of monitoring.. it seemed that he wasn't liking the negative numbers he was getting.. ;-(
But it's okay now (using the other OID, which can be zeroed with nfsstat -z).
Thanks!
_______________________________________________ Henrique Pantarotto SysOp Site São Paulo Terra Networks Brasil S/A A Internet mais sua do que nunca Tel: (11) 5505-5728 r.316/238 ICQ: 6934285 IT: henpa henrique@corp.terra.com.br
-----Original Message----- From: owner-toasters@mathworks.com [mailto:owner-toasters@mathworks.com]On Behalf Of Edward Henigin Sent: Thursday, September 14, 2000 2:24 PM To: Henrique Pantarotto Cc: toasters@mathworks.com; netapp@terra.com.br Subject: Re: SNMP counter - integer overflow?
I'm surprised noone has pointed this out yet, but there is no problem. All you are monitoring off of this are deltas. If at time T the counter is -30000, and at time T' it's -29000,
-29000
- -30000
======== 1000
So ops/sec are 1000 / (T' - T)
The deltas work just fine, regardless of whether the counter happens to be positive or negative.
Ed
-- On Wed, Sep 13, 2000 at 06:24:47PM -0300, Henrique Pantarotto said:
Hello,
I am monitoring nfs ops/sec in a F760 filer using MRTG, but the
value that I
am getting from the last few days are in "negative". I believe
it happened
an overflow in the integer type used to hold this data, right?
Look:
[root@foo /root]# snmpget filer-e0.terra.com.br public .1.3.6.1.4.1.789.1.2.2.1.0 enterprises.789.1.2.2.1.0 = -1281161705
I know I can fix this by rebooting the filer. But I don't want
to do that.
This is a F760 with Ontap 5.3.6.R2. It has a lot of traffic. ;-)
Does anyone here knows of a solution to this problem?
Thanks, _______________________________________________ Henrique Pantarotto SysOp Site São Paulo Terra Networks Brasil S/A A Internet mais sua do que nunca Tel: (11) 5505-5728 r.316/238 ICQ: 6934285 IT: henpa henrique@corp.terra.com.br
-- Edward Henigin ... We build e-business infrastructure solutions CTO, DataFoundry.net ... www.datafoundry.net