Re: undocumented config tokens

2005-06-21 Thread Thomas Anders
Robert Story wrote: Of those, how man are documented when running "snmpd -H"? And are you doing case insensitive comparisons? I saw at least one that is documented, but with a different case (AgentXSocket). *All* of them are listed with "-H". If config file token handling indeed *is* case-inse

Re: Why don't I have a system group?

2005-06-21 Thread Robert Story
On Tue, 21 Jun 2005 17:53:46 -0400 Vance wrote: VS> I've built an agent which seesm to work fine for my MIBs VS> however it doesn't respond to system group requests. It should, unless you configured with --enable-mini-agent, or explicitly excluded some modules. Or your access control settings ar

Re: undocumented config tokens

2005-06-21 Thread Robert Story
On Tue, 21 Jun 2005 19:24:48 +0200 Thomas wrote: TA> currently there are quite a few config tokens that don't appear to be TA> documented in the manual pages. TA> [...] TA> Are there any particular reasons for not documenting any of them? Of those, how man are documented when running "snmpd -H"?

Re: SNMP Decryption error with 5.1.2 on ARM

2005-06-21 Thread Robert Story
On Tue, 21 Jun 2005 09:19:34 -0700 (PDT) gg wrote: GG> Have you checked to make sure that USE_OPENSSL is GG> defined in net-snmp-config.h? I had the same problem GG> because the net-snmp project disables encryption by GG> default (legal ramifications, I believe) That was only in binaries. Compili

Re: rfc: log handling

2005-06-21 Thread Robert Story
On Tue, 21 Jun 2005 15:31:04 +0100 Dave wrote: DS> > DS> if (!get_logh_head()) DS> > DS> snmp_enable_filelog( LOGFILE ); DS> > DS> > Ok. The only change I'd make there is to actually scan the log handlers DS> > to make sure one was enabled.. DS> [...] DS> Although the logging handlers

Why don't I have a system group?

2005-06-21 Thread Vance Shipley
I've built an agent which seesm to work fine for my MIBs however it doesn't respond to system group requests. What activates a handler for the system group et. al.? -Vance --- SF.Net email is sponsored by: Discover Easy Linux Migra

VACM - questions

2005-06-21 Thread Fong Tsui
I have several questions about setting VACM. 1) Is it possible for the same user to view two subtrees? Like, what if I want to allow a user to see both ucdavis (.1.3.6.1.4.1.2021) subtree and unix (.1.3.6.1.4.1.4) subtree, nothing else? Man page doesn't state this. 2) In view NAME TYPE SUBTREE

Re: rfc: snmptrapd as sub-agent

2005-06-21 Thread Robert Story
On Wed, 15 Jun 2005 10:17:58 +0100 Dave wrote: DS> On Mon, 2005-06-13 at 23:12, Robert Story wrote: DS> > [...]. Unfortunately, there is no way DS> > to configure snmptrapd to not be a sub-agent. I think this is a bug. DS> DS> I'm not sure that I'd categorise this as a bug. But there should DS> d

Notification Management

2005-06-21 Thread kanda.samy
Hi Can particular manager register to receive particular Notification/trap/alarm in Net-SNMP agent? If it is possible how I can configure users and list of notifications he wants? (We should not send other notification to manager which he not registers) How manager can register form M

Re: SNMP Decryption error with 5.1.2 on ARM

2005-06-21 Thread Robert Story
On Tue, 21 Jun 2005 11:56:24 +0200 Frederic wrote: FK> indeed i've got a Decryption error if i launch a request: FK> FK> > # snmpwalk -v 3 -u stage -l authPriv -a MD5 -A 12345678 -x DES -X FK> > 12345678 172.25.1.100 system FK> > snmpwalk: Decryption error FK> [...] FK> and

Re: rfc: log handling

2005-06-21 Thread Dave Shield
On Mon, 2005-06-20 at 21:15, Robert Story wrote: > DS>When I submitted the modular logging > DS> code, this included the minimal changes needed for the agent to > DS> make use of it. I didn't rip out all of the agent-specific > DS> logging code and replace it with fully new

5.3.dev test #19 fails

2005-06-21 Thread Thomas Anders
-Coders, after Robert's recent SNMPv3 changes at least one issue seems to be left: test #19 (SNMPv3 user creation and usage using snmpusm) fails. Below is the verbose output of the test just in case it may speed things up: - --- snip --- ./RUNTESTS -a -D `pwd`/.. -V -T 19 /bc/src/net-snmp-5.3

Re: Issue while implementing POWER-ETHERNET-MIB.

2005-06-21 Thread gg gg
Hello, This seems like a null termination issue (test becomes tryt). I would suggest adding some printfs to find out which function call is not writing the NULL character. Robert Wilcox --- aakansha rajvi <[EMAIL PROTECTED]> wrote: > Dave, > > Thanks for your help. It is working fine for

undocumented config tokens

2005-06-21 Thread Thomas Anders
-Coders, currently there are quite a few config tokens that don't appear to be documented in the manual pages. A quick grep over 5.3.dev reveals: snmptrapdaddr leave_pidfile com2secunix agentxsocket agentxperms agentxRetries agentxTimeout diskio setserialno logmatch engineIDType engineIDNic ag

Re: Issue while implementing POWER-ETHERNET-MIB.

2005-06-21 Thread aakansha rajvi
Dave, Thanks for your help. It is working fine for me :-). Another issue I am having is problem during get and set of string values. First if I set "test" to a string type oid , snmpget results in "test". Again if I set "try" to the same oid, the result of snmpget is "tryt" ie., the length of t

Re: 5.3.dev "make test" fails for SNMPv3/AgentX/proxy

2005-06-21 Thread Robert Story
On Tue, 14 Jun 2005 18:05:55 -0400 Robert wrote: RS> On Fri, 10 Jun 2005 13:34:12 -0400 Robert wrote: RS> RS> On Fri, 10 Jun 2005 11:39:18 +0200 Thomas wrote: RS> RS> TA> > Didn't we change code to delay SNMPv3 engine probe recently, RS> RS> TA> > Robert? RS> RS> TA> RS> RS> TA> Backing out Robert

Re: SNMP Decryption error with 5.1.2 on ARM

2005-06-21 Thread gg gg
Have you checked to make sure that USE_OPENSSL is defined in net-snmp-config.h? I had the same problem because the net-snmp project disables encryption by default (legal ramifications, I believe) Ropert Wilcox --- Frederic K <[EMAIL PROTECTED]> wrote: > Hi > > i've wrote a mail about the t

SNMP Decryption error with 5.1.2 on ARM

2005-06-21 Thread Frederic K
Hi i've wrote a mail about the timeout error, that is resolved now but using DES gives me a problem indeed i've got a Decryption error if i launch a request: # snmpwalk -v 3 -u stage -l authPriv -a MD5 -A 12345678 -x DES -X 12345678 172.25.1.100 system snmpwalk: Decryption error but if i don't u

Re: Net-snmp Windows missing the header files and libraries

2005-06-21 Thread Dave Shield
On Tue, 2005-06-21 at 07:39, mahua dutta wrote: > I have downloaded the net-snmp-5.2.1-1.win32.exe. I am trying > to develop one net-snmp sub agent for windows. But I found that > after installation net-snmp-includes.h is not there . If you are doing SNMP development, then you need the *source* di

Re: Issue while implementing POWER-ETHERNET-MIB.

2005-06-21 Thread Dave Shield
On Tue, 2005-06-21 at 08:12, aakansha rajvi wrote: > I am having an issue while implementing table type oids. > I compiled the MIB using mib2c.create-dataset.conf > If I do snmpget with multiple oids... > Only the result of first oid is shown and for the second oid > "No Such name in the MIB" is d

Issue while implementing POWER-ETHERNET-MIB.

2005-06-21 Thread aakansha rajvi
I am using net-snmp-5.2.1 in linux environmrnt and implemented the private MIBS in the snmp agent. I am having an issue while implementing table type oids. I wanted to implement POWER-ETHERNET-MIB in my agent. I compiled the MIB using mib2c.create-dataset.conf and implemented my own structure to h

Re: VACM and snmpv2c community string

2005-06-21 Thread mark kaplun
It is unclear to me what you are trying to achive. If you hard code a community configuration into the VACM table (this is what your test code is doing), then there is no need to save it in a file. Mark. - Original Message - From: "Koren Ofer-BOK016" <[EMAIL PROTECTED]> To: Sent: Mo