Net-SNMP 5.2.rc2 available for testing

2004-10-29 Thread Wes Hardaker
This is likely the last release candidate that we'll do unless there are major show-stopping bugs that make us queasy. Please give this a whirl if you have spare time and cycles to play with it. -- Wes Hardaker Sparta --- This SF.Net email i

Re: Slow Access to IP Interfaces Table

2004-10-29 Thread Joe Clark
> On Fri, 29 Oct 2004 15:37:10 -0500 (CDT) Joe wrote: > JC> > time snmpwalk -c public -v 2c localhost ifIndex > JC> > time snmpgetnext -c public -v 2c localhost ifTable.2 > JC> > JC> Nope...both of those commands took about the same length of time (0.22s & > JC> 0.29s). > > Inter

Re: snmptrapd and forking?

2004-10-29 Thread Will Melick
Thanks. Another process was using the port. -Will Robert Story (Users) wrote: On Fri, 29 Oct 2004 12:03:30 -0700 Will wrote: WM> I've been trying to launch snmptrapd with the nofork (-f) flag to do WM> some debugging, but it seems to just die and return to the command WM> prompt. Version is 5.1.

Re: Slow Access to IP Interfaces Table

2004-10-29 Thread Users
On Fri, 29 Oct 2004 15:37:10 -0500 (CDT) Joe wrote: JC> > time snmpwalk -c public -v 2c localhost ifIndex JC> > time snmpgetnext -c public -v 2c localhost ifTable.2 JC> JC> Nope...both of those commands took about the same length of time (0.22s & JC> 0.29s). Interesting.. so which column is t

Re: Slow Access to IP Interfaces Table

2004-10-29 Thread Users
On Fri, 29 Oct 2004 14:52:50 -0600 Carlos wrote: CC> Is there a way to use this 'time' command such that it gives the CC> run time of each OID? No, that would have to be done inside of snmpwalk.. CC> But without turning on debugging which may slow the CC> system down a bit. Any ideas? Look at h

Re: Slow Access to IP Interfaces Table

2004-10-29 Thread Carlos Cantu
>$ time snmpwalk -Cp -Ct localhost ifTable >Variables found: 110 >Total traversal time = 0.159480 seconds >real0m0.322s Neat command! My time for 'time snmpwalk -Cp $AGENT ifTable' was: real0m0.215s user0m0.050s sys

Re: Slow Access to IP Interfaces Table

2004-10-29 Thread Joe Clark
> Please don't repost questions daily. It's annoying and will tend to get your > questions ignored by the people most likely to be able to help. Yeah, sorry about that. I didn't have my subscription set up (I signed up a while ago but didn't return the confirmation I guess), so it went to a moder

Re: Install on Redhat ES with RPM

2004-10-29 Thread Gary Clark
rpm -i net-snmp-5.1.2-1.rh9.i386.rpm --nodeps Cheers, Garyc - Original Message - From: "Jon Hoover" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 29, 2004 11:11 AM Subject: Install on Redhat ES with RPM > How can I tell the rpm not to install SNMP with perl modules?

Re: Problems with snmpget command

2004-10-29 Thread Wes Hardaker
> On Fri, 29 Oct 2004 19:23:02 +0200, Karsten Vieth <[EMAIL PROTECTED]> said: Karsten> My smnpget command produces lots of output. Karsten> Anyone knows how to reduce the result to the importend value Karsten> and why there's so much output : (what version is this?) you have packet dumps tur

Re: snmp authentication..

2004-10-29 Thread Wes Hardaker
> On Fri, 29 Oct 2004 09:35:16 +0100, Dave Shield <[EMAIL PROTECTED]> said: >> So it *sort of* goes >> over the wire in the case of a password change, but in a safe method. Dave> But *only* when changing the password. Not during "normal" Dave> management activity. Correct? Right. EG, snmp

Problems with snmpget command

2004-10-29 Thread Karsten Vieth
My smnpget command produces lots of output. Anyone knows how to reduce the result to the importend value and why there's so much output : #: snmpget localhost public 2.2.1.10.2 2.2.1.16.2 /root/.snmp/snmp.conf: Not a directory /root/.snmp/snmp.local.conf: Not a directory /root/.snmp/snmpapp.conf: N

Install on Redhat ES with RPM

2004-10-29 Thread Jon Hoover
How can I tell the rpm not to install SNMP with perl modules? When I run: rpm -i net-snmp-5.1.2-1.rh9.i386.rpm I get dependency erros: error: Failed dependencies: perl(Term::ReadKey) is needed by net-snmp-5.1.2-1.rh9 perl(Tk) is needed by net-snmp-5.1.2-1.rh9 My thought is, I d

Re: GET_BULK problem

2004-10-29 Thread Users
On Fri, 29 Oct 2004 11:05:18 -0700 Rachel wrote: RW> No, I haven't try to reproduce it with a later version. I am still new RW> in using net-snmp, and I think it'll take me some time to migrate our RW> current extended MIB. You shouldn't have to migrate anything. We strive for backwards compatibil

Re: snmptrapd and forking?

2004-10-29 Thread Users
On Fri, 29 Oct 2004 12:03:30 -0700 Will wrote: WM> I've been trying to launch snmptrapd with the nofork (-f) flag to do WM> some debugging, but it seems to just die and return to the command WM> prompt. Version is 5.1.1 on Solaris 8. This used to work with 4.x WM> (last time I used snmptrapd).

Re: snmp_open() problem in 5.2.rc1

2004-10-29 Thread Users
On Fri, 29 Oct 2004 12:48:00 -0400 [EMAIL PROTECTED] wrote: CRC> I removed all traces of *snmp* from /usr/lib, rebuilt and reinstalled my CRC> client and found the same results. I pass a valid session->community into CRC> snmp_open() and it's null at the first executable line of snmp_open(). CRC>

snmptrapd and forking?

2004-10-29 Thread Will Melick
I've been trying to launch snmptrapd with the nofork (-f) flag to do some debugging, but it seems to just die and return to the command prompt. Version is 5.1.1 on Solaris 8. This used to work with 4.x (last time I used snmptrapd)... # uname -a SunOS NetOps 5.8 Generic_108528-08 sun4u sparc S

RE: GET_BULK problem

2004-10-29 Thread Rachel Wang
Hi Robert, Thanks a lot for the response. No, I haven't try to reproduce it with a later version. I am still new in using net-snmp, and I think it'll take me some time to migrate our current extended MIB. We are in a tight schedule now. I would prefer to have more solid proof before I decide to sta

Re: snmp_open() problem in 5.2.rc1

2004-10-29 Thread cnelson
> > > This smells of library conflicts to me. Make sure you don't > have a mix > of > > > snmp libraries installed in /usr/lib/*snmp* and/or > /usr/local/lib/*snmp*. Also, > > > try building with static libraries (configure --enable-static > > > --disable-shared). > > > That's a good clue. Tha

Problems with snmpget command

2004-10-29 Thread Karsten Vieth
My smnpget command produces lots of output. Anyone knows how to reduce the result to the importend value and why there's so much output : #: snmpget localhost public 2.2.1.10.2 2.2.1.16.2 /root/.snmp/snmp.conf: Not a directory /root/.snmp/snmp.local.conf: Not a directory /root/.snmp/snmpapp.conf: N

Re: Size increased 10 times bigger in an older version of net-snmp

2004-10-29 Thread Users
On Fri, 29 Oct 2004 10:40:24 +0800 Jim wrote: JS> I could run the snmpwalk on my development machine (Linux 2.4.21-mtd.1, JS> single CPU). But the target machine (Linux 2.4.21-mtd.1, dual CPU) would be JS> crashed if a snmpwalk to the ifTable. This happened on 5.1.1. It doesn't JS> happen on 5.0.6.

Re: GET_BULK problem

2004-10-29 Thread Users
On Thu, 28 Oct 2004 20:06:14 -0700 Rachel wrote: RW> I am using net-snmp-5.0.9 and having problem with GET_BULK in my extended RW> MIB. [...] Then, I use the last entry of the first GET_BULK response for RW> the request of the 2nd GET_BULK, and ask for another 20 repetition (note I RW> have only 14

Re: Slow Access to IP Interfaces Table

2004-10-29 Thread Users
Please don't repost questions daily. It's annoying and will tend to get your questions ignored by the people most likely to be able to help. On Thu, 28 Oct 2004 14:01:36 -0500 (CDT) Joe wrote: JC> When I run either of the following commands, 109 entries are retrieved JC> using the net-snmp agent r

Re: Slow Access to IP Interfaces Table

2004-10-29 Thread Thomas Anders
Joe Clark wrote: time snmpwalk -c public -v 2c localhost interfaces time snmpbulkwalk -C r30 -c public -v 2c localhost interfaces In either case the time elapsed is given as appx 2.5 seconds. tethereal shows the following packet sequence: What Net-SNMP version do you use? If it's 5.1.x or lower, p

Slow Access to IP Interfaces Table

2004-10-29 Thread Joe Clark
When I run either of the following commands, 109 entries are retrieved using the net-snmp agent running on a 1 GHZ, 256 MB RAM, Mandrake Linux 8.2 machine. time snmpwalk -c public -v 2c localhost interfaces time snmpbulkwalk -C r30 -c public -v 2c localhost interfaces In either case the time elap

Re: snmp_open() problem in 5.2.rc1

2004-10-29 Thread Carlos Cantu
> > This smells of library conflicts to me. Make sure you don't have a mix of > > snmp libraries installed in /usr/lib/*snmp* and/or /usr/local/lib/*snmp*. Also, > > try building with static libraries (configure --enable-static > > --disable-shared). > That's a good clue. Thanks. I'm out of th

Re: Packaging of snmpd

2004-10-29 Thread Gary Clark
Yeh thats true. Some OS linux share libraries are still pulled in absolutely. But no share libraries from SNMP. I dont mind running the agent on a linux platform. I just dont want to have to install Net-SNMP in order run my agent. Thanks, Garyc - Original Message - From: "Robert Story (Us

RE: MIB2 on Sun systems.

2004-10-29 Thread Bruce Shaw
What version of net-snmp? (hint -> snmpwalk --version) >I cannot load the sun mib2 file completely. It seems to die at the extensions to walk the process table. Any suggestions or ideas? i am running Solaris 9 -- This communication is intended for the use of the recipient to which it is address

Re: Cgywin/W32 Sockets build problem

2004-10-29 Thread Andy Smith
Dave Shield wrote: I've downloaded the latest sources for net-snmp-5.2.pre3. I'm using this to configure it on XP Pro/Cygwin: ./configure --with-mib-modules="host..." Nope. As far as I'm aware (and I'm sure the Windows experts will correct me if I'm wrong), the Host Resources MIB code has not yet

Re: Question about floating-point

2004-10-29 Thread Dave Shield
Alberto> which is the best way to manage floating-point values with SNMP? What Robert says is strictly correct. But there are actually three ways to handle non-integer numeric values. a) Display it as a string and convert as necessary b) As an integer value, interpreted as a "fixed point" n

Re: net snmp on solaris; mibs?

2004-10-29 Thread Dave Shield
> However, in response to the same snmpget I get; > > snmpget 192.168.25.241 -v 1 -c public laLoad.1 > Error in packet > Reason: (noSuchName) There is no such variable name in this MIB. > Failed object: enterprises.ucdavis.laTable.laEntry.laLoad.1 How have you configured the access control on th

Re: sub-agent SIGPIPE?

2004-10-29 Thread Dave Shield
Robert> Does that sound reasonable? Wes> Anyway, I would argue it was a bug anyway so it'd be tempting to Wes> put it in 5.2.1 or so if not 5.1.mumble. Like what the man said. I'd probably be a bit more hesitant about 5.1.x, but it seems fine for 5.2.1. Dave

Re: snmp authentication..

2004-10-29 Thread Dave Shield
Dave> But the password itself is not transmitted at all (apart from Dave> during the initial configuration of the two ends). Wes> [Not that this is really needed for the discussion in question, but Wes> I'm a security geek professionally so I feel obligated to state it...] Well I'm not a securit

Re: difference in df and statfs

2004-10-29 Thread Chris Boot
Hi there, It looks to me as though statfs gives you the raw disk figures, but df takes into account the 5% of space reserved to root for emergencies. HTH, Chris On 27 Oct 2004, at 19:56, [EMAIL PROTECTED] wrote: Hello, Though this is a more generalized doubt, I ran into this situation when I use