Re: netsnmp with perl 64 bit handling

"Roy M. Silvernail" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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
> and I found if my interface modification is not there, then 32 bit is unable
> to get the value in 5.0.11.2 version.

To coin a phrase, "you broke it, you bought it."

> But my question is since it is coming with snmpget and snmpwalk why I can't
> the same value using perl script I have attached below? I have build the
> same source codes for perl also.

nd I looked back at that script, which begins

#!/usr/bin/perl

# interface.pl

use Net::SNMP;

The Net::SNMP module isn't from Net-SNMP.  You'll have to ask the 
authors that question.
-- 
Roy M. Silvernail is [email protected], and you're not
   "A desperate disease requires a dangerous remedy."
                   - Guy Fawkes
            http://www.rant-central.com


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.