missing notifyView parameter

2009-04-20 Thread Tewen Hsieh
Hi, When I use "killall -HUP snmpd" to reload snmpd.conf, it shows that "/home/snmpd.conf: line 10: Error: missing notifyView parameter" . Could anyone explain this error? What does it indicate? And how can I resolve it? Thanks, -

Does "killall -HUP snmpd" unload dynamic module?

2009-04-20 Thread Tewen Hsieh
Hi, As title, does "killall -HUP snmpd" unload dynamic module? Thanks, -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (

答复: 答复: how to create a new SNMPv3 u ser using usmUserTable

2009-04-20 Thread Kang Chen
Hi, Dave Now I'm doing as the following: 1. run the snmpd in the vmware linux system, in the snmpd.conf I have configured a user named leelin. 2. download the net-snmp package for the windows version.(The reason why I use the windows version is that I want to use the wireshark tools to catch the

Re: libnetsnmp and file/socket descriptors >= 1024

2009-04-20 Thread Bart Van Assche
On Mon, Apr 20, 2009 at 1:12 PM, Dave Shield wrote: > 2009/4/20 Bart Van Assche : >> I was considering to prepare a patch that does the following: > >   [snip] > >> If I understood the above correctly such a patch should wait until version >> 5.6 ? > > If you can come up with a suitable patch fai

MIB that must run as root user

2009-04-20 Thread Jan Safranek
In our patch tracker we have patch #2103492, which adds new MIB. The MIB implementation must run as root - it needs superuser privileges to perform some ioctl magic. Are such MIBs allowed to be accepted into SVN? Or how should we handle such patches? Jan ---

Re: 答复: how to create a new SNMPv3 user using us mUserTable

2009-04-20 Thread Dave Shield
2009/4/20 Kang Chen : > But I want to create a new user by mibbrowser, not by the snmpusm command. The snmpusm command is effectively a specialised MIB browser. It sends SNMP SET requests (just as you would with a browser). The difference is that these are hidden from the user. > But, I don't k

Re: libnetsnmp and file/socket descriptors >= 1024

2009-04-20 Thread Dave Shield
2009/4/20 Bart Van Assche : > I was considering to prepare a patch that does the following: [snip] > If I understood the above correctly such a patch should wait until version > 5.6 ? If you can come up with a suitable patch fairly quickly, post it to the patches tracker and we can discuss h

Re: libnetsnmp and file/socket descriptors >= 1024

2009-04-20 Thread Bart Van Assche
On Mon, Apr 20, 2009 at 12:30 PM, Dave Shield wrote: > 2009/4/18 Bart Van Assche : >> Apparently the patch with ID 1627049 >> (http://sourceforge.net/tracker/index.php?func=detail&aid=1627049&group_id=12694&atid=312694) >> has been applied on the 5.5pre branch. Please revert this patch -- >> this

答复: how to create a new SNMPv3 user us ing usmUserTable

2009-04-20 Thread Kang Chen
Hi, Dave Thank you for your help. But I want to create a new user by mibbrowser, not by the snmpusm command. Now I can set usmUserStatus to 5 to create a new user, and set usmUserCloneFrom to a existed user. After configure the related VACM parameters, I can use the new user to do the get and se

Re: libnetsnmp and file/socket descriptors >= 1024

2009-04-20 Thread Dave Shield
2009/4/18 Bart Van Assche : > Apparently the patch with ID 1627049 > (http://sourceforge.net/tracker/index.php?func=detail&aid=1627049&group_id=12694&atid=312694) > has been applied on the 5.5pre branch. Please revert this patch -- > this patch not only causes portability problems but IMHO it's the

Re: Changing IP address via SNMP

2009-04-20 Thread Dave Shield
2009/4/20 Giuseppe Modugno : > On 20 Apr 2009 at 10:33, Dave Shield wrote: >> The replacement IP-MIB::ipAddressTable is read-create, >> so could potentially be used to update this information. >> But only *IF* the SNMP agent both implements this table >> (which is reasonably likely) *and* supports

Re: Changing IP address via SNMP

2009-04-20 Thread Giuseppe Modugno
On 20 Apr 2009 at 10:33, Dave Shield wrote: > The replacement IP-MIB::ipAddressTable is read-create, > so could potentially be used to update this information. > But only *IF* the SNMP agent both implements this table > (which is reasonably likely) *and* supports SET access > (which I'd suspect is

Re: Changing IP address via SNMP

2009-04-20 Thread Dave Shield
2009/4/20 Giuseppe Modugno : > Are there any standard MIB objects that let the SNMP manager to > change the IP address of an agent IP interface? The original RFC1213-MIB::ifAddrTable is read-only, so can only be used for retrieving this information, not for changing it, The replacement IP-MIB::i

Changing IP address via SNMP

2009-04-20 Thread Giuseppe Modugno
Are there any standard MIB objects that let the SNMP manager to change the IP address of an agent IP interface? I have an object that runs only a SNMP agent: no keyboard, no monitor, no RS232... just an Ethernet port and SNMP agent (that answers well). How the user can set the IP address during

Re: how to create a new SNMPv3 user using usmUserTable

2009-04-20 Thread Dave Shield
2009/4/20 Kang Chen : > I want to use usmUserTable to create a new SNMPv3 user, but I don’t know how > to configure the authentication password and privacy password? >From the snmpusm(1) man page: CREATING USERS An ... SNMPv3 user can be created [and activated] using the command...

how to create a new SNMPv3 user using usmUserTable

2009-04-20 Thread Kang Chen
Hi, all I want to use usmUserTable to create a new SNMPv3 user, but I don't know how to configure the authentication password and privacy password? Thanks in advance. Br, Kang 2009-4-20 -- Stay on top of everyth

Re: Q: SNMPv3 traps

2009-04-20 Thread B V Narasimhulu
Hi Wes, Have been waiting for your inputs. Can you plz answer my query. Regards, Narasi. --- On Fri, 17/4/09, B V Narasimhulu wrote: > From: B V Narasimhulu > Subject: Re: Q: SNMPv3 traps > To: "Wes Hardaker" > Date: Friday, 17 April, 2009, 2:05 PM > HI Wes, > > I have added the following c

Re: snmpwalk -v3 for noAuthNoPriv

2009-04-20 Thread B V Narasimhulu
I got it. Thank you Dave. Regards, Narasi. --- On Fri, 17/4/09, Dave Shield wrote: > From: Dave Shield > Subject: Re: snmpwalk -v3 for noAuthNoPriv > To: "B V Narasimhulu" > Cc: "net-snmp-coders" > Date: Friday, 17 April, 2009, 10:21 PM >     [ First - *please* > don't mail me privately, wi

Re: snmptrapd 5.4.2.1 amd64 don't receive traps and fork very slow

2009-04-20 Thread Andrey V. Scopenco
Andrey V. Scopenco wrote: > Hello, > > i have 2 problems with snmptrapd (net-snmp 5.4.2.1 amd64) on FreeBSD 7.1 > release. > > 1. snmptrapd forks very slow. > > root$ time /usr/local/etc/rc.d/snmptrapd start > Starting snmptrapd. > > real1m15.092s > user0m0.040s > sys 0m0.049s > > > ro