Re: SNMP v3 engineBoots problem [on windows]

2005-04-19 Thread tao . wenqiang
  On Tue, 2005-04-19 at 01:40, [EMAIL PROTECTED] wrote: Robert> This indicates a problem with the persistent storage for Robert> the agent. Do you have a /var/net-snmp directory, Robert> containing a snmpd.conf file? > sure,on Windows,my persistent storage for the agent is > C:\usr\snmp\pers

Re: Error while Configure on win32

2005-04-19 Thread Alex Burger
[EMAIL PROTECTED] wrote: Hello I am trying to compile the example mib module from the net-snmp toolkit section into the Master Agent on Windows. But while running the Configure script i.e. ‘perl Configure –with-mib-modules )’ I get an error saying “Can't exec /bin/sh at Configure line 1.” I get

Re: rfc: delay SNMPv3 engineID probe til needed by default?

2005-04-19 Thread David T. Perkins
HI, It would be really cool if there was a file that had translations between transport addresses and engineIDs (and contain engineBoots, and a timestamp that could be used to compute engineTime). Instead of probing, the values from this file would be used. If a failure occured, due to engineID ch

Re: rfc: delay SNMPv3 engineID probe til needed by default?

2005-04-19 Thread mark kaplun
5) thus, I would choose one of: a) have the new behaviour to probe later with a new flag to probe immed. b) have the new behaviour to have a new flag to probe later c) leave as existing Obviously c is what we're trying to avoid, b is probably safer but I think we should do a because I doubt

Re: IPv6 works for IPv4?

2005-04-19 Thread Wes Hardaker
> On Tue, 12 Apr 2005 13:59:01 -0400, Robert Story <[EMAIL PROTECTED]> said: Robert> Interesting. I can't find 'udp4' in any header or source Robert> file. Maybe there is a strcmp that only checks 3 bytes Robert> somewhere... In cvs-main, I get: Robert> Error opening specified endpoint "udp4

Re: rfc: changing default callback priority

2005-04-19 Thread Wes Hardaker
> On Tue, 12 Apr 2005 13:48:19 -0400, Robert Story <[EMAIL PROTECTED]> said: WH> 2) does the current API allow for negative numbers in the API, or is WH> unsigned currently? I don't see a problem with negative numbers. WH> negative numbers for priority levels are actually quiet common in WH>

Re: rfc: excluding debug output

2005-04-19 Thread Wes Hardaker
> On Wed, 13 Apr 2005 16:49:25 +0100, Dave Shield <[EMAIL PROTECTED]> said: >> Option 1) any token prefixed with '-' will be excluded. eg >> >> -D -parse-mibs,parse,other,-different Dave> That was my immediate preference. And mine. go for it. Dave> But if (as I suspect) it's used to speci

Re: rfc: delay SNMPv3 engineID probe til needed by default?

2005-04-19 Thread Wes Hardaker
> On Thu, 14 Apr 2005 17:01:27 +0100, Dave Shield <[EMAIL PROTECTED]> said: >> The question is, what should the default behaviour be? >> Always delay the probe ... [or] allow a failed probe to >> successfully return, and set up to retry the probe when needed. Dave> Either of those two would b

Re: rfc: delay SNMPv3 engineID probe til needed by default?

2005-04-19 Thread Robert Story
On Tue, 19 Apr 2005 09:45:36 +0100 Dave wrote: DS> DS> What would be the implications of defaulting to "DONT_PROBE"? DS> RS> Besides the hissy fits from Wes and Dave on breaking backwards DS> RS> compatibility. DS> DS> Who said anything about breaking compatibility? It would break for anyone us

Re: [SPAM] snmp-usm usage

2005-04-19 Thread Wes Hardaker
> On Mon, 18 Apr 2005 15:08:59 +0800, [EMAIL PROTECTED] said: tao> then,I want to change the auth password for user "myuser" in tao> command line: tao> $ snmpusm -v 3 -u myuser -n "" -l authNoPriv -a MD5 -A 12345678 127.0.0.1 tao> passwd 12345678 myuserpasswd tao> no encryption type specif

Re: rfc: delay SNMPv3 engineID probe til needed by default?

2005-04-19 Thread Dave Shield
DS> What would be the implications of defaulting to "DONT_PROBE"? RS> Besides the hissy fits from Wes and Dave on breaking backwards compatibility. Who said anything about breaking compatibility? All I asked was what the implications would be about moving the engine probe later (when the reque

Re: Setting the sender address in outgoing SNMP trap packets

2005-04-19 Thread Dave Shield
On Mon, 2005-04-18 at 15:55, Shobana Sampath wrote: > When I try to set the agent-addr using the code below, > I get the following error: > I use the following code to add the agent-addr: > cp = asn_build_string(cp, out_length, > (u_char) (ASN_IPADDRESS | > ASN_PRIMITIVE), >

Re: my OID handler is never invoked for SET requests

2005-04-19 Thread Dave Shield
On Mon, 2005-04-18 at 16:10, Mounir Mouawad wrote: > BRIEFLY, my handler is never invoked unless the request is a GET request. > What can I do about it to make it work with SET requests too? Robert's almost certainly correct - this sounds like an access control problem. See the FAQ entry: I

Re: SNMP v3 engineBoots problem [on windows]

2005-04-19 Thread Dave Shield
On Tue, 2005-04-19 at 01:40, [EMAIL PROTECTED] wrote: Robert> This indicates a problem with the persistent storage for Robert> the agent. Do you have a /var/net-snmp directory, Robert> containing a snmpd.conf file? > sure,on Windows,my persistent storage for the agent is > C:\usr\snmp\persist\