Re: [Fwd: Re: [Pkg-net-snmp-devel] Bug#389434: MIBs in net-snmp]

2006-10-17 Thread Wes Hardaker
> "MF" == Magnus Fromreide <[EMAIL PROTECTED]> writes: >> How about separating index file generation code from index using >> code? This way, we could provide a snmp-update-index program to be >> called on install, package postinst, admin or user mibs updates, >> etc., and other library code

Re: [Fwd: Re: [Pkg-net-snmp-devel] Bug#389434: MIBs in net-snmp]

2006-10-17 Thread Wes Hardaker
> "DS" == Dave Shield <[EMAIL PROTECTED]> writes: DS> Agreed. DS> At least up until the first time that a privileged account runs one of DS> the Net-SNMP tools. DS> That would then automatically generate the indexes, which would then DS> be available for later uses. Note that the default snmp

Re: 5.4 Open Issues (Darwin / OS X)

2006-10-17 Thread Wes Hardaker
> "cj" == chris jalbert <[EMAIL PROTECTED]> writes: cj> Here's a patch (against the CVS repository) for README.osX that updates it cj> with some of this information: Applied. -- Wes Hardaker Sparta, Inc. - Using Tomcat

Re: 5.4 Open Issues (Darwin / OS X)

2006-10-17 Thread Wes Hardaker
> "cj" == chris jalbert <[EMAIL PROTECTED]> writes: cj> Test building embedded Perl cj> Perl and embedded Perl both build. I do not know how to test them once cj> installed. make test: 38:testing snmpd embedded perl support (using NetSNMP::agent)...ok -- Wes Hardaker Sparta, Inc. ---

Re: 5.4 Open Issues (Darwin / OS X)

2006-10-17 Thread chris jalbert
On 17-Oct-2006, at 11:09 AM, chris jalbert wrote:Here are my work priorities for Net-SNMP on OS X: • Finalize Darwin 8 and 9 patchesPosted. • Test building embedded PerlPerl and embedded Perl both build. I do not know how to test them once installed. • Get CPU and memory stats workingA bunch of MIB

Issue as needed: (was: 5.4 Open Issues)

2006-10-17 Thread Wes Hardaker
> "TA" == Thomas Anders <[EMAIL PROTECTED]> writes: >> 8) "as-needed" linking >> Again, I haven't checked the relevant bugs, but this feels as >> if it might >> be a more significant issue than many of the others. >> How damaging would it be to ship things as they currently stand? TA> OSX is

Re: 5.4 Open Issues

2006-10-17 Thread Magnus Fromreide
On tis, 2006-10-10 at 20:15 +0100, Dave Shield wrote: > Which of these issues are show-stoppers, and which could (reluctantly) > be left till 5.4.1? > Over to you. One thing that makes me anxious is that I failed to update win32/libsnmp_dll/libsnmp.def with the functions from include/net-snmp

Re: [Fwd: Re: [Pkg-net-snmp-devel] Bug#389434: MIBs in net-snmp]

2006-10-17 Thread Magnus Fromreide
On tis, 2006-10-17 at 15:19 +0200, Roland Stigge wrote: > Hi, > How about separating index file generation code from index using code? > This way, we could provide a snmp-update-index program to be called on > install, package postinst, admin or user mibs updates, etc., and other > library code wou

Re: retrieve values from another subagent

2006-10-17 Thread Wes Hardaker
> "AS" == Avnindra Singh <[EMAIL PROTECTED]> writes: AS> Occasionally, I need values from tables implemented in subagent B in AS> subagent A. AS> Can somebody please tell a way to get such info efficiently? There is no easy way to do that directly... If you need your subagents to communica

Re: save MIB table snapshot

2006-10-17 Thread Wes Hardaker
> "AS" == Avnindra Singh <[EMAIL PROTECTED]> writes: AS> I want to save in a file an instance of current table values in an AS> agent, so that I can read it later when the agent is restarted. AS> Is there any API available to read/write such a snapshot to a AS> file? see the "read_config" a

mib_module_includes.h MAIN for Solaris

2006-10-17 Thread Bruce Shaw
As it stands, there's a bug within configuration that breaks on Solaris. To duplicate: ./configure --with-sys-location="Unknown" --disable-developer --with-sys-contact ="System Administrator" --with-mib-modules="udp-mib tcp-mib if-mib ucd-snmp/disk io smux agentx mibII/mta_sendmail ucd-snmp/lmSen

Re: 5.4 Open Issues

2006-10-17 Thread chris jalbert
On 17-Oct-2006, at 4:08 AM, Thomas Anders wrote:chris jalbert wrote: I finally got everything to build on Darwin 8 and 9, and they will require some slight differences in the platform headers which I need to break out (since I pass CFLAGS to configure to pick up the #defines) and post patches for.

RE: Snmpusm application

2006-10-17 Thread Passera Pablo-APP015
Thomas, when I use the -CE option with the snmpusm application it seems that it has to be an user with that engineID to clone from when I'm creating a new user. Is that correct or I'm not using correctly the -CE option? Thanks, Pablo > -Original Message- > From: [EMAIL PROTECTED]

RE: Timeout for proxied get requests - Call For Votes

2006-10-17 Thread Bruce Shaw
>On 12/10/06, Passera Pablo-APP015 <[EMAIL PROTECTED]> wrote: >> It fixes the timeout problem for the set, but the errorIndex returned is >> not correct. Since the set request has other states (RESERVE1, 2, >> COMMIT, etc) , is it possible that the errorIndex to be set in other >> part of the code?

Re: CVS: net-snmp/agent/mibgroup/host hr_filesys.c, 5.15 hr_swrun.c, 5.17

2006-10-17 Thread Thomas Anders
Dave Shield wrote: > On 06/08/06, Thomas Anders <[EMAIL PROTECTED]> wrote: >>> Modified Files: >>> hr_filesys.c hr_swrun.c >>> Log Message: >>> Build fixes for AIX HOST-RESOURCES-MIB support >> Full host mib support now builds fine for me on AIX 5.3. However, when fixing >> hr_swrun.c it look

Re: [Fwd: Re: [Pkg-net-snmp-devel] Bug#389434: MIBs in net-snmp]

2006-10-17 Thread Roland Stigge
Hi, Dave Shield wrote: > At least up until the first time that a privileged account runs one of > the Net-SNMP tools. > That would then automatically generate the indexes, which would then > be available for later uses. > > Actually, the one disadvantage of the patch that I supplied is that > it'

Re: [Fwd: Re: [Pkg-net-snmp-devel] Bug#389434: MIBs in net-snmp]

2006-10-17 Thread Dave Shield
On 17/10/06, Roland Stigge <[EMAIL PROTECTED]> wrote: > In the restricted case (admin adding MIBs, daemon/program etc. running > as user with restricted permissions), it is equivalent to having no > .index files at all. ;-> Agreed. At least up until the first time that a privileged account runs on

Re: [Fwd: Re: [Pkg-net-snmp-devel] Bug#389434: MIBs in net-snmp]

2006-10-17 Thread Roland Stigge
Hi, Dave Shield wrote: >> Yes, moving the indexes to a separate location like /var/lib/snmp is a >> reasonable compromise. A good, documented way for using multiple mibs >> locations would be nice. > > You mean something like: > >$ man snmp.conf >[snip] > mibdirs (mib-dirs|+mib-

Bug in Testing Scripts --- Net-SNMP 5.3

2006-10-17 Thread Manigandan . Bhimarao
Hi !!                All of us know that the Testing Folder is used to run testcases for net-snmp testing . The ./RUNTESTS (which is used to init the testcases and interactively pick it) has the options : [EMAIL PROTECTED] testing]$ ./RUNTESTS -h Usage: RUNTESTS [-a] [-S SLEEPTIME]

Re: 5.4 Open Issues

2006-10-17 Thread Dave Shield
On 17/10/06, chris jalbert <[EMAIL PROTECTED]> wrote: > I am currently debugging the daemon to figure out why the cpu and memory > stats aren't coming thru when I do a top-level snmpwalk, i.e. "snmpwalk -v > 2c -c public localhost". That will just walk the 'mib2' subtree - including the host reso

Re: [Fwd: Re: [Pkg-net-snmp-devel] Bug#389434: MIBs in net-snmp]

2006-10-17 Thread Dave Shield
On 17/10/06, Roland Stigge <[EMAIL PROTECTED]> wrote: > Yes, moving the indexes to a separate location like /var/lib/snmp is a > reasonable compromise. A good, documented way for using multiple mibs > locations would be nice. You mean something like: $ man snmp.conf [snip] mibdi

Re: [Fwd: Re: [Pkg-net-snmp-devel] Bug#389434: MIBs in net-snmp]

2006-10-17 Thread Roland Stigge
Dave Shield wrote: > The index files avoid the need to do this every single time - it's an > efficiency measure. OK. > Did you have a chance to look at the patch I've put together to > address the FHS issue? Yes, moving the indexes to a separate location like /var/lib/snmp is a reasonable compro

Re: 5.4 Open Issues

2006-10-17 Thread Thomas Anders
chris jalbert wrote: > I finally got everything to build on Darwin 8 and 9, and they will > require some slight differences in the platform headers which I need to > break out (since I pass CFLAGS to configure to pick up the #defines) and > post patches for. This is still with embedded Perl and Pe

Re: 5.4 Open Issues

2006-10-17 Thread Thomas Anders
chris jalbert wrote: > I am currently debugging the daemon to figure out why the cpu and memory > stats aren't coming thru when I do a top-level snmpwalk, i.e. "snmpwalk > -v 2c -c public localhost". (Network and disk data are returned, > although some of the values are wrong.) What exact tables a

Re: 5.4 Open Issues

2006-10-17 Thread chris jalbert
On 10-Oct-2006, at 12:19 PM, Dave Shield wrote:On 10/10/06, Dave Shield <[EMAIL PROTECTED]> wrote: I offer the following list - complete with comments and strawmanproposals - for the purpose of stimulating debate: Argghh.I knew there was another issue I wanted to add:11)  Darwin build            Th

Re: some things wrong about snmpd under embedded linux system

2006-10-17 Thread 尧昱
Thanks, I run the snmpd -f -Le and found that some thing is wrong in the snmpd.conf, and then I amended the snmpd.confand the result was right. Thank you !   YaoYu --

Re: Timeout for proxied get requests - Call For Votes

2006-10-17 Thread Thomas Anders
Dave Shield wrote: > This feels to be on the borderline between Bug-fix and New-feature. > But I think it's worth considering for the 5.4 release. > > Can I therefore call for votes as to whether to include this fix or not. IIUC it fixes a real-world bug, so I'd be fine with applying it (before p

save MIB table snapshot

2006-10-17 Thread Avnindra Singh
Hi, I want to save in a file an instance of current table values in an agent, so that I can read it later when the agent is restarted. Is there any API available to read/write such a snapshot to a file? Thanks, Avnindra -

Re: Timeout for proxied get requests - Call For Votes

2006-10-17 Thread Dave Shield
On 12/10/06, Passera Pablo-APP015 <[EMAIL PROTECTED]> wrote: It fixes the timeout problem for the set, but the errorIndex returned is not correct. Since the set request has other states (RESERVE1, 2, COMMIT, etc) , is it possible that the errorIndex to be set in other part of the code? OK - ple

retrieve values from another subagent

2006-10-17 Thread Avnindra Singh
Hi, I have two agentx subagents A and B connected to a main agent. Occasionally, I need values from tables implemented in subagent B in subagent A. Can somebody please tell a way to get such info efficiently? Thanks in advance, Avnindra

Re: [Fwd: Re: [Pkg-net-snmp-devel] Bug#389434: MIBs in net-snmp]

2006-10-17 Thread Dave Shield
On 17/10/06, Roland Stigge <[EMAIL PROTECTED]> wrote: > Another idea: Is the .index file really technically necessary? It looks > like always read and regenerated (and rewritten). No - I don't believe that's true. The index file is only regenerated if it's older than the timestamp on the directory

[Fwd: Re: [Pkg-net-snmp-devel] Bug#389434: MIBs in net-snmp]

2006-10-17 Thread Roland Stigge
FYI... (btw: Thomas' email address bounced several times.) --- Begin Message --- Thomas Anders wrote: > This may be desirable for /usr/share/snmp/mibs on a fully > package-managed system, but custom builds and users with ~/.snmp/mibs > may not be prepared to do the extra work before using the MIBs,