Re: udpTable byte order issues (again)

2006-06-26 Thread Thomas Anders
Thomas Anders wrote: > Dave Shield wrote: >> I'm attaching a patch that seems to give the correct results on *BSD and >> Linux, but I don't really like it > > Neither do I, but it's working fine on any system I could test > (Solaris/SPARC 10, Solaris/x86 9, Linux/x86, Linux/x86_64, > Linux/op

Re: "No such instance" in MFD-style mibs.

2006-06-26 Thread Konstantin Abramenko
On Mon, 26 Jun 2006 14:17:32 -0400 Robert Story <[EMAIL PROTECTED]> wrote: > On Mon, 26 Jun 2006 18:09:03 +0400 Konstantin wrote: > KA> I've encountered that MIBs, supported in MFD style (and registered with > KA> "baby steps" handler) does not return "no such instance" error in > KA> appropriate

question about get_myaddr() in snmplib/system.c

2006-06-26 Thread Ramji Chandramouli
Hi,I noticed that the get_myaddr() method in snmplib/system.c is used to fill in the "agent address" field in a v1 trap pdu.  On unix systems, is it possible that the loopback address, 127.0.0.1, might get stuck in this field instead of the desired external IP address ?Thanks. Using Tomcat but nee

Re: ifTable column in 5.3.1.pre3

2006-06-26 Thread Robert Story
On Mon, 26 Jun 2006 16:21:31 +0530 [EMAIL PROTECTED] wrote: SSC>In 5.3.1.pre3 ( in Fedora core 4 Linux ), for ifTable initially SSC> I have three column { say lo (1) , eth0 (2) and sit (3) }, once I run SSC> "rmmod via_rhine", ifTable has four columns { lo (1) , eth0 (2) , sit SSC> (3) and eth

Re: ifIndex patch for 5.2.1

2006-06-26 Thread Robert Story
On Mon, 26 Jun 2006 16:02:39 +0530 [EMAIL PROTECTED] wrote: SSC>In net-snmp-5.2.1(in Linux) ifIndex is populated wrt the order SSC> of entry in the /proc/net/dev. But I need ifIndex should be populated SSC> with the value which Linux kernel report. I had evaluated SSC> net-snmp-5.3.1.pre3, whic

Re: "No such instance" in MFD-style mibs.

2006-06-26 Thread Robert Story
On Mon, 26 Jun 2006 18:09:03 +0400 Konstantin wrote: KA> I've encountered that MIBs, supported in MFD style (and registered with KA> "baby steps" handler) does not return "no such instance" error in KA> appropriate situations. KA> KA> Agent (5.3.0.1) was configured with option --enable-mfd-rewri

Re: rfc: nsb* on SF CF

2006-06-26 Thread Robert Story
On Mon, 26 Jun 2006 10:28:34 +0200 Thomas wrote: TA> I've been thinking about enhancing nsb* to enable people to run it on TA> the SF Compile Farm with (virtually) *zero* additional configuration. ... TA> 2) maintain a template environment in CVS (dist/nsbrc-sfcf or somesuch) That works for me.

Re: string data

2006-06-26 Thread Robert Story
On Fri, 23 Jun 2006 12:12:29 -0700 Fong wrote: FT> If a string data is very long, such as a paragraph, it is not suit to be FT> exposed by SNMP. Am I right? No, there is no reason the size of the data should matter all that much. If you get beyond ~1490 bytes, you get into packet fragmentation, w

Re: There's a problem with sensors for Solaris in 5.3.1.rc1

2006-06-26 Thread Robert Story
On Fri, 23 Jun 2006 08:44:05 -0700 Wes wrote: WH> Bruce> Question: can I open the canon on 5.3.1.rc1 to fix this up? WH> WH> I'd say no... I have to agree with Wes. Non-default code w/non critical errors. It doesn't meet the criteria we've set up for the rc phase. -- Robert Story; NET-SNMP J

Re: 5.3.1 schedule changes

2006-06-26 Thread Thomas Anders
Wes Hardaker wrote: > Thus, roughly: > rc2 by 6/30 at the latest > rc3 at 7/7 > final at 7/14 I've updated http://www.net-snmp.org/dev/schedule.html (pending website update) accordingly. +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) Using Tomcat but need to do more? Need to

Re: udpTable byte order issues (again)

2006-06-26 Thread Thomas Anders
Dave Shield wrote: > I'm attaching a patch that seems to give the correct results on *BSD and > Linux, but I don't really like it Neither do I, but it's working fine on any system I could test (Solaris/SPARC 10, Solaris/x86 9, Linux/x86, Linux/x86_64, Linux/openpower) at least. Robert tested

Re: Perl module compile issues in 5.3.1.rc1 for Linux & Windows

2006-06-26 Thread Wes Hardaker
> On Sun, 25 Jun 2006 14:35:08 -0400, Alex Burger <[EMAIL PROTECTED]> said: Alex> Windows only: Alex> -Skip version check for Win32 MSVC. Windows does not have a Alex> net-snmp-config script. Any way we can create this check in a different manner? maybe call snmpget --version or something

5.3.1 schedule changes

2006-06-26 Thread Wes Hardaker
So... Originally all was going to be well with 5.3.1. But then the SF CVS server died a horrible death right during the release process. After which I had a bunch of deadlines I didn't originally expect to get in the way but suddenly did. Those are now mostly over (yay). But we've hit a number

Re: regarding including mib-module

2006-06-26 Thread Dave Shield
Siva Prakash Reddy G wrote: regarding including mib-module > when i use commands like : $ env MIBS="+SYSTEM-STATUS-INFORMATION-MIB" > mib2c -c mib2c.scalar.conf MIBNODE > here it will generate only scalar variable .c file, if my mib > contains both scalar and tabular, is there any solution for

regarding including mib-module

2006-06-26 Thread Siva Prakash Reddy G
Title: regarding including mib-module Hi! I want generate .c and .h for my entire mibfile. what is the procedure and commands for it. when i use commands like : $ env MIBS="+SYSTEM-STATUS-INFORMATION-MIB" mib2c -c mib2c.scalar.conf MIBNODE  here it will generate only scalar variable .c

Re: udpTable byte order issues (again)

2006-06-26 Thread Dave Shield
Thomas Anders wrote: [EMAIL PROTECTED] wrote: FreeBSD: udpTable: IP value reported correctly, index reversed tcpTable: reported correctly [agent requires root access] Requires root access? I can access both tables as non-root just fine on FreeBSD 5.4 (w/ "snmpd -r").

Re: Perl module compile issues in 5.3.1.rc1 for Linux & Windows

2006-06-26 Thread Wes Hardaker
> On Mon, 26 Jun 2006 09:30:12 +0200, Thomas Anders <[EMAIL PROTECTED]> > said: Thomas> It doesn't break any of my perl-enabled builds (on SF CF and Thomas> the other build farm), so if it helps yours I vote for Thomas> applying it. Especially since there was a plan to submit the Thomas>

"No such instance" in MFD-style mibs.

2006-06-26 Thread Konstantin Abramenko
Hello, I've encountered that MIBs, supported in MFD style (and registered with "baby steps" handler) does not return "no such instance" error in appropriate situations. Agent (5.3.0.1) was configured with option --enable-mfd-rewrites (I can send all configure command line, if neccessary). T

ifTable column in 5.3.1.pre3

2006-06-26 Thread santhosh.sundarasamy
Title: ifTable column in 5.3.1.pre3 Hi,     In 5.3.1.pre3 ( in Fedora core 4 Linux ), for ifTable initially I have three column  { say lo (1) , eth0 (2) and sit (3) }, once I run “rmmod via_rhine”, ifTable has four columns { lo (1) , eth0 (2) , sit (3) and eth0(4) }.     I Hope aft

ifIndex patch for 5.2.1

2006-06-26 Thread santhosh.sundarasamy
Title: ifIndex patch for 5.2.1 Hi,     In net-snmp-5.2.1(in Linux) ifIndex is populated wrt the order of entry in the /proc/net/dev. But I need ifIndex should be populated with the value which Linux kernel report. I had evaluated net-snmp-5.3.1.pre3, which gets ifIndex from Linux kernel.

rfc: nsb* on SF CF

2006-06-26 Thread Thomas Anders
Robert, -Coders, I've been thinking about enhancing nsb* to enable people to run it on the SF Compile Farm with (virtually) *zero* additional configuration. As it is now, one has to tweak the local SF CF environment a lot (like in your ~rstory/.profile.d/uname*) before builds can succeed. If you f

RE: net-snmp5.1.2

2006-06-26 Thread Jayaprakasha Guddenahalli Naganna
You have to put following statement in "/etc/snmp/snmpd.conf" file and restart the agent. agentaddress 161 (change the port number here) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wesley - Cox Sent: Monday, June 26, 2006 2:41 AM To: net-snmp-coders

net-snmp5.1.2

2006-06-26 Thread Wesley - Cox
Hello I was wondering if you could tell me how to change net-snmp's default port from 161. I have already made this change in my system /etc/services. How can I change this on the daemon snmpd? Wesley Cox Using Tomcat but need to do more? Need to support web services, security? Get stuff done

RE: snmpget V2 looping subagent

2006-06-26 Thread Shinar, Gil
Hi,   Can you please help in any way? Please let me know if there is an answer to my question in a former message. Please let me know if my code is completely wrong or has any basic mistakes.   Thanks in advance.   From: gil shinar [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

Re: Perl module compile issues in 5.3.1.rc1 for Linux & Windows

2006-06-26 Thread Thomas Anders
Alex Burger wrote: > I have applied some patches to the Perl modules in V5-2-patches and > main. I would like to apply them to 5.3.1.rc1 but we need to vote on it. It doesn't break any of my perl-enabled builds (on SF CF and the other build farm), so if it helps yours I vote for applying it. Esp