Re: netsnmp with perl 64 bit handling

2008-11-21 Thread Roy M. Silvernail
On Sat, Nov 22, 2008 at 12:46:57AM +0530, Ambika Tripathy wrote: > And my snmpd version is net-snmp-5.0.11.2 and sorry to mention that I had > modified the agent\mibgroup\mibII\interfaces.c file to handle long long type > integer. Today I show the 5.4.2.1 version supports 64 but not the 5.0.11.2 >

RE: netsnmp with perl 64 bit handling

2008-11-21 Thread Ambika Tripathy
Br, APT -Original Message- From: Mike Ayers [mailto:[EMAIL PROTECTED] Sent: 2008-11-22 00:32 To: Ambika Tripathy; Roy M. Silvernail Cc: net-snmp-users@lists.sourceforge.net Subject: RE: netsnmp with perl 64 bit handling > From: Ambika Tripathy [mailto:[EMAIL PROTECTED] > Sent: Thursday, Nov

RE: netsnmp with perl 64 bit handling

2008-11-21 Thread Mike Ayers
> From: Ambika Tripathy [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 20, 2008 9:53 PM > Thanks for your suggestion. If we this about 32 bit > counters the max > value it can hold is 4294967295. But how the > > #snmpwalk -v 1 -c pubic 10.4.0.151 | grep Octet returns such > a huge

RE: netsnmp with perl 64 bit handling

2008-11-20 Thread Ambika Tripathy
- From: Roy M. Silvernail [mailto:[EMAIL PROTECTED] Sent: 2008-11-21 03:02 To: Ambika Tripathy Cc: net-snmp-users@lists.sourceforge.net Subject: Re: netsnmp with perl 64 bit handling On Fri, Nov 21, 2008 at 01:39:40AM +0530, Ambika Tripathy wrote: > Hi, > > I have one perl script whic

RE: netsnmp with perl 64 bit handling

2008-11-20 Thread Mike Ayers
> From: Ambika Tripathy [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 20, 2008 12:10 PM > I have one perl script which uses to get the ifInOctets and > ifOutOctets. The > return values are in longer than 32 bit value. No they're not. They're defined as 32 bit objects and will on

Re: netsnmp with perl 64 bit handling

2008-11-20 Thread Roy M. Silvernail
On Fri, Nov 21, 2008 at 01:39:40AM +0530, Ambika Tripathy wrote: > Hi, > > I have one perl script which uses to get the ifInOctets and ifOutOctets. The > return values are in longer than 32 bit value. I have a hard time believing that statement. The IF-MIB::ifInOctets table is composed of Coun