How to support only v2?

2005-08-23 Thread Ravi, Rajagopal Shanmugam (Rajagopal Shanmugam)** CTR **
Hi All,   Is it possible to configure my snmp agent to support only snmpv2? If yes please tell me how.   Thanks.   Regards, Ravi

Re: Printing received traps

2005-08-23 Thread David T. Perkins
HI, I'm going to reply a little later with my findings, and recomendations for changes. However, I'm going to In USM users are qualified by engineID. User "joe" with engineID is different from user "joe" with engineID . In USM, the engine and user name are contained in fields msgAuthoritativeEn

The use of getnext in iterate table

2005-08-23 Thread Jordan Janeiro Lopes da Silva
Hello guys, The snmpgetnext should work fine in a table generated by a mib2c.iterate.conf? Do I have to implement something or everything is ready to use with snmpget and snmpgetnext? Because I´ve tried to use the snmpgetnext in a "iterate" table and nothing happens, but when I use snmpget, e

Re: Printing received traps

2005-08-23 Thread Thomas Anders
Dave Shield wrote: That describes how things currently work, yes. But it relies on knowing the remote engineIDs in advance. That's not too much of a problem when you've got a small number of trap generators, and the engineIDs are stable. But it doesn't scale very well to a large network, where a

Re: Printing received traps

2005-08-23 Thread Dave Shield
On Tue, 2005-08-23 at 10:58 +0200, Thomas Anders wrote: > Dave Shield wrote: > > I'm wondering whether we need to support a "wildcard" > > engineID mechanism. > I don't think we should do this, because it doesn't seem > to match the intention of the RFCs. It probably doesn't, no. But that proba

Re: using net-snmp libs from RedHat RPMs

2005-08-23 Thread Subhendu Ghosh
On Tue, 23 Aug 2005, Thomas Anders wrote: Subhendu Ghosh wrote: I am trying to use the "net-snmp-config --libs" on a RedHat EL4 system for program that uses the net-snmp headers and libs in autoconf. The above returns "-L/usr/lib -lnetsnmp -lcrypto -lelf -lm" Including -lelf seems to break al

Re: -l option missing from snmptrapd?

2005-08-23 Thread Dave Shield
On Tue, 2005-08-09 at 00:25 -0400, John Pfaff wrote: > > Looking in snmptrapd.c, I see "l:" (for specifying the syslog > > facility) in options, but it's not handled in the getopt case > > statement. Has it been deprecated? > Nevermind. I see in the man page that it's being deprecated. But it >

Re: notification.c ... TObjID: Enterprises ... why?

2005-08-23 Thread Dave Shield
On Fri, 2005-08-19 at 10:43 +0200, Torben Surmer wrote: > when I compile the notification.c sample (net-snmp-config --compile-subagent > test notification.c) and run the created test agent, my snmp trap receiver > prints out: [snip] > do anyone know how I have to modify the notification.

Re: using net-snmp libs from RedHat RPMs

2005-08-23 Thread Subhendu Ghosh
On Tue, 23 Aug 2005, Dave Shield wrote: On Mon, 2005-08-22 at 23:54 -0400, Subhendu Ghosh wrote: I am trying to use the "net-snmp-config --libs" on a RedHat EL4 system for program that uses the net-snmp headers and libs in autoconf. The above returns "-L/usr/lib -lnetsnmp -lcrypto -lelf -lm"

Re: Extending the Agent

2005-08-23 Thread Dave Shield
On Tue, 2005-08-23 at 18:33 +0530, aakansha rajvi wrote: > But still some other errors are shown. > > netsnmpmibs.lib(mib_modules.obj) : error LNK2001: > unresolved external symbol _init_poe Did you add the 'poe.c' (and 'apps.c') files to the netsnmpmibs project, as directed in README.win32? Da

Re: Core dump in parsing identifier with MacAddress

2005-08-23 Thread Dave Shield
On Fri, 2005-08-19 at 17:23 -0400, Stefan Raab wrote: > My MIB (CISCO-DOT11-ASSOCIATIONS) has the following index definition: > Everytime I try and use this MIB I get a core dump I've just tried running a command over this MIB, and it works fine. What exactly do you mean by "using this MIB"? Wha

Re: Extending the Agent

2005-08-23 Thread aakansha rajvi
Thanks a lot.. I did as you directed me. The error I posted in my first message is resolved now. But still some other errors are shown. netsnmpmibs.lib(mib_modules.obj) : error LNK2001: unresolved external symbol _init_poe netsnmpmibs.lib(mib_modules.obj) : error LNK2001: unresolved external symb

Re: Current state SMUX protocol support

2005-08-23 Thread Andrew Cheadle
Dave, Thank you for your comments and for your efforts! I know the exact problem, often chore, of working on software in free time / lunch break, holidays, GHC, is one of my pets ;-) If SMUX is really compatable with what we have then I'll be happy to work bugs and submit patches... here's hopin

Re: Current state SMUX protocol support

2005-08-23 Thread Dave Shield
[Please keep all discussions on the mailing list, so that others can both learn and offer advice. Thanks!] On Tue, 2005-08-23 at 11:25 +0100, Andrew Cheadle wrote: > Dave, > > Thanks for the reply. Don't take this the wrong way ;-) Before I go down > this route, I am thinking th

Re: Extending the Agent

2005-08-23 Thread Dave Shield
[ Cc: to mailing list restored. *Please* try to remember! ] On Tue, 2005-08-23 at 17:14 +0530, aakansha rajvi wrote: > On 8/23/05, Dave Shield <[EMAIL PROTECTED]> wrote: > > > > > My directory structure is > > > > > > > > > agent > > > | > > > mibgroup > > > | > > > test-mib > >

Re: Extending the Agent

2005-08-23 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On Tue,

using net-snmp libs from RedHat RPMs

2005-08-23 Thread Subhendu Ghosh
I am trying to use the "net-snmp-config --libs" on a RedHat EL4 system for program that uses the net-snmp headers and libs in autoconf. The above returns "-L/usr/lib -lnetsnmp -lcrypto -lelf -lm" Including -lelf seems to break all the make proccess... (I have seen similar results on other RH d

Re: Extending the Agent

2005-08-23 Thread Dave Shield
> My directory structure is > > > agent > | > mibgroup > | > test-mib > || > poe apps...etc., > | > poe.c poe.h So the full path to "poe.h" is "agent/mibgroup/test-mib/poe/poe.h" > Correspondingly test-mib.h is placed under agent/mibgroup. "poe.h" and > "apps.h" is placed under age

Re: Extending the Agent

2005-08-23 Thread aakansha rajvi
On 8/23/05, Dave Shield <[EMAIL PROTECTED]> wrote: >[ First - *please* don't mail me privately, without copying > any responses to the mailing list. I don't have the time > or inclination to offer private, unpaid, SNMP consultancy. > Keep discussions to the list, where others can b

Re: Extending the Agent

2005-08-23 Thread Dave Shield
On Tue, 2005-08-23 at 14:45 +0530, aakansha rajvi wrote: > Then I edited the 'win32\mib_module_includes.h' file to add an include > to my.h file. > > #include "mibgroup/my.h" And what are the contents of this file? Dave --- SF.Net em

Re: Problem in mib2c when index of a table is of type IMPLIED

2005-08-23 Thread Dave Shield
> I am facing a problem in generating code via mib2c when the index > element is of type IMPLIED. I am using Net-SNMP 5.0.8 version. I just > want to know is there any fix given to counter this problem? Given that you haven't said what the problem actually *is*, then no - there isn't a fix. If w

Re: using net-snmp libs from RedHat RPMs

2005-08-23 Thread Dave Shield
On Mon, 2005-08-22 at 23:54 -0400, Subhendu Ghosh wrote: > I am trying to use the "net-snmp-config --libs" on a RedHat EL4 system > for program that uses the net-snmp headers and libs in autoconf. > > The above returns "-L/usr/lib -lnetsnmp -lcrypto -lelf -lm" > > Including -lelf seems to break a

Extending the Agent

2005-08-23 Thread aakansha rajvi
I installed net-snmp-5.2.1 in windows with VC ++. I didnt install PSDK. The agent configuration went well. Now I would like to extend the agent. I placed my compiled mibs ie., my.c and my.h in the agent/mibgroup Then I edited the 'win32\mib_module_includes.h' file to add an include to my.h file.

Current state SMUX protocol support

2005-08-23 Thread Andrew Cheadle
Hi, I was wondering what the current state of support for SMUX sub-agents in net-snmp 5.x is like. One of your pages lists it as '?obsolete?'. I'vepreviously developed a SMUX subagent for an AIX snmpd daemon and wondered if it was possible to perform a straight port and if so if the software is st

RE: net-snmp nmake failed on windows in VC++ environment

2005-08-23 Thread Penz, Bernhard
> > I am installed VC ++ 6.0. But I am not able to install PSDK > from the > > URL given in the readme.win32. I am confused about how to > download and > > install PSDK. > > > > Can anyone help me on this? > > Microsoft may have removed the download for the older SDKs. > It looks like you ca

Re: using net-snmp libs from RedHat RPMs

2005-08-23 Thread Thomas Anders
Subhendu Ghosh wrote: I am trying to use the "net-snmp-config --libs" on a RedHat EL4 system for program that uses the net-snmp headers and libs in autoconf. The above returns "-L/usr/lib -lnetsnmp -lcrypto -lelf -lm" Including -lelf seems to break all the make proccess... (I have seen similar

Re: Current state SMUX protocol support

2005-08-23 Thread Dave Shield
On Mon, 2005-08-22 at 22:05 +0100, Andrew Cheadle wrote: > I was wondering what the current state of support for SMUX > sub-agents in net-snmp 5.x is like. Active support for SMUX is basically obsolete, in that no-one is working on this code (and very few of us are particularly familiar with it).

RE: Errors during net-snmp 5.2.x tests not recognized

2005-08-23 Thread Dave Shield
Johannes Schmidt-Fischer wrote: > >I'd vote for a separate probably optional test block which tests the > >availability of most (or all) mib-II variables and maybe also other MIB > >variables (like the host MIB). This test block should in no case stop > >the build process, but it could become part

Re: Printing received traps

2005-08-23 Thread Thomas Anders
Dave Shield wrote: On Sat, 2005-08-20 at 21:00 -0700, David T. Perkins wrote: When I send a v1 or v2c trap, I get the packet dump and a decode. But when I send a v3/USM trap I get just a packet dump. It looks as if this is probably due to the handling of engineIDs. I found that sending a v3/

Re: Errors during net-snmp 5.2.x tests not recognized

2005-08-23 Thread Dave Shield
On Mon, 2005-08-22 at 20:15 +0200, Johannes Schmidt-Fischer wrote: > Dave Shield wrote: > > In general, we've tended to regard each test as completely independent > > of the others. In principle, it'd be perfectly possible to run *just* > > tests 48 and 49 (without running 47 first) So I'd be r

RE: (no subject)

2005-08-23 Thread Dave Shield
On Tue, 2005-08-23 at 01:20 +0800, Goh, Yen Mei wrote: > I am using net-snmp for my project; I found that there was case > sensitive for the input that I passed. Is there any way to ignore the > case for the input in my command line without making change in our MIB > file? No. MIB object names ar

RE: (no subject)

2005-08-23 Thread Goh, Yen Mei
Hi net-snmp support,   I am using net-snmp for my project; I found that there was case sensitive for the input that I passed. Is there any way to ignore the case for the input in my command line without making change in our MIB file?   Eg: Mib file can only recognize cmmDeviceID, so, i

Problem in mib2c when index of a table is of type IMPLIED

2005-08-23 Thread Jyoti Yaduwanshi
-Original Message- ** Legal Disclaimer "This email may contain confidential and privileged material for the sole use of the intended recipient. Any unauthorized review, use or distribution by others is strictly prohibited. If you h

Re: Printing received traps

2005-08-23 Thread Dave Shield
On Sat, 2005-08-20 at 21:00 -0700, David T. Perkins wrote: > I have file snmptrapd.conf with contents: > createUser bobby MD5 socks2go > createUser fred > > I started snmptrapd with the following command line: > snmptrapd -f -Le -d -F "%A: %W %v" UDP:40162 > > When I send a v1 or v2c trap,

RE: net-snmp nmake failed on windows in VC++ environment

2005-08-23 Thread Penz, Bernhard
> That would be useful information. > Also, does this URL always redirect you to the "Web Install" > page (rather than the full download or ISO pages), and is > this the most sensible mechanism to point people towards? Do > we need to mention the alternatives or not? In my opinion, using the U

RE: net-snmp nmake failed on windows in VC++ environment

2005-08-23 Thread Penz, Bernhard
> Can I download go for this web install? Will it work out? > > I too tried with this Web Install. But simply this > installation is enough or some registration of software is required? > > What I did was just downloaded and installed Windows(r) > Server 2003 SP1 Platform SDK Web Install. But

Re: interfaces.c in CVS 5.0

2005-08-23 Thread Dave Shield
On Mon, 2005-08-22 at 12:17 -0600, Bruce Shaw wrote: > There's bogus lines in around line 1550. Looks like a patch failed. Are you sure, Bruce? I've just grabbed the latest code from the 5-0-patches line, and it looks fine to me. Could this possibly be a mismatch between the CVS code and your lo