RE: Need help regarding compiling the net-snmp 5.4.2.1

2009-03-31 Thread sazid.mahammad
Hi, You need to install beecrypt-devel RPM( Linux system). Please go through http://www.net-snmp.org/docs/FAQ.html#The_compilation_is_complaining_abo ut_missing_libraries__Why_ FAQ Thanks and Regards, Sazid From: Pameely Rashid [mailto:pamee...@ipinfusion.com] Sent: Tuesday, Ma

Re: snmpwalk can't walk when start by /usr/local/sbin/snmpd

2009-03-31 Thread down Load
Dear Dave, What setting do you have in your "snmpd.conf" file? Below is setting in my snmpd.conf /usr/local/share/snmp#cat snmpd.conf ### # # snmpd.conf # #   - created by the snmpconf configuration program #

Re: subagent's handlers never called

2009-03-31 Thread Dave Shield
2009/3/31 Tarun Kumar : > I have generated an agentX based subagent, but when I am running it, its > table handlers are never called. This MIB contains some scalars variables, > which are being called perfectly but some problem with the table handlers > e.g in the current case ppmPrinterTable_handl

Re: Need help regarding compiling the net-snmp 5.4.2.1

2009-03-31 Thread Dave Shield
2009/3/31 Pameely Rashid : > grep: /usr/lib/libbeecrypt.la: No such file or directory You probably need to install a missing RPM. (Assuming this is a Linux system - you don't say) There's an entry about this in the FAQ, which lists some of the common missing libraries. Dave

Need help regarding compiling the net-snmp 5.4.2.1

2009-03-31 Thread Pameely Rashid
Hi, I need some help regarding how to compile the net-snmp 5.4.2.1 I downloaded net-snmp 5.4.2.1 and unpacked it. I ran the configure . now when I do a make in the directory. It gives me the following error grep: /usr/lib/libbeecrypt.la: No such file or directory /bin/sed: can't read /us

Re: snmptrap ignores user-supplied source IP?

2009-03-31 Thread Magnus Fromreide
On Tue, Mar 31, 2009 at 01:45:24PM -0700, dan anderson wrote: > Repped to > https://sourceforge.net/tracker/?func=detail&aid=2723881&group_id=12694&atid=112694 > with two solutions (depending on whether the problem is the app's > fault for storing the source address in the wrong place or the > lib

Re: snmptrap ignores user-supplied source IP?

2009-03-31 Thread dan anderson
Repped to https://sourceforge.net/tracker/?func=detail&aid=2723881&group_id=12694&atid=112694 with two solutions (depending on whether the problem is the app's fault for storing the source address in the wrong place or the library's for ignoring a field in the PDU it's given). If anyone has the k

Re: snmptrap ignores user-supplied source IP?

2009-03-31 Thread dan anderson
Tested and confirmed that setting pdu->agent_addr does not cause that to be used as the agent's source address when snmp_send(session, pdu) is called. (GNU/Linux, x86, close to default build options, but should happen like this with the majority of cases.) Is this a bug in the utility, or is this

Re: I obtain that with make install

2009-03-31 Thread Dave Shield
2009/3/31 "Gómez González, Enrique" : > I have started with > > mib2c -S cache=1 -c mib2c.table_data.conf tableName > > Unfortunately I get errors, some errors are easy > (comments with # and not with // Oops! OK - that one is easy to fix. (assuming you mean the "Determine the first/la

RE: I obtain that with make install

2009-03-31 Thread Gómez González, Enrique
Thanks for your help, I have even tried to make you a donation :-) I think your point of view is a good approach to my tasks (anycase, in urban traffic there are not out-of-date critical information, when we get an alarm, group state, detector value every second). For that reason I have started wi

Re: 答复: 答复: 答复: question about the VACM

2009-03-31 Thread Dave Shield
2009/3/31 Kang Chen : > at first, I configure the command createUser leelin MD5 "hellokit" DES > "privpass" > in the snmpd.conf in /usr/local/share/snmp directory $ man snmpd.conf SNMPv3 Users createUser [-e ENGINEID] username (MD5|SHA) authpassphrase [DES|AES] [privpassphrase]

答复: 答复: 答复: question about the VACM

2009-03-31 Thread Kang Chen
Hi, Dave The reason why I ask such a question is, at first, I configure the command createUser leelin MD5 "hellokit" DES "privpass" in the snmpd.conf in /usr/local/share/snmp directory, after that I can use MG-SOFT mibbrowser to get the mib node, but after I remove this command, the mibbrowser s

Re: snmpwalk can't walk when start by /usr/local/sbin/snmpd

2009-03-31 Thread Dave Shield
2009/3/31 down Load : >> What is the exact command(s) that you are trying? > /usr/local/sbin/snmpd That's not what I was asking. You keep saying "snmpwalk can't run" So I was asking what is the exact snmpwalk command that "can't run" ? and what exactly do you mean by "can't run" ? Fortunatel

Re: snmpwalk can't walk when start by /usr/local/sbin/snmpd

2009-03-31 Thread down Load
Hi  Dave , What is the exact command(s) that you are trying? /usr/local/sbin/snmpd What exactly are you seeing? I saw if i start by /usr/local/sbin/snmpd  ,snmpwalk can't run But when i start  by startsrc -s snmpd , snmpwalk can run Please see result below and help me to solve this problem 1) i tr

Re: 答复: 答复: question about the VACM

2009-03-31 Thread Dave Shield
2009/3/31 Kang Chen : > Is 'createUser' command necessary in configuring SNMPv3? Just think about it for a minute. In order to authorise a request, the agent must check the username and password. How can it know what the correct password should be? Where might it get this information? Now an

答复: 答复: question about the VACM

2009-03-31 Thread Kang Chen
Hi, Dave Is 'createUser' command necessary in configuring SNMPv3? -邮件原件- 发件人: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] 代表 Dave Shield 发送时间: 2009年3月31日 16:38 收件人: Kang Chen 抄送: net-snmp-coders@lists.sourceforge.net 主题: Re: 答复: question about the VACM 2009/3/31 Kang C

Re: 答复: question about the VACM

2009-03-31 Thread Dave Shield
2009/3/31 Kang Chen : > Another question, if I use group/view/access command, how to express the > property of 'rw' and 'ro'? Please read the section on the directive "access" in snmpd.conf(5). This is also discussed in the FAQ. Dave -

Re: patch 1927751 broke build on Linux?

2009-03-31 Thread Mitsuru Chinen
Thanks Jan! And excuse me I could not prepare patch for this speedily. Best Regards, Mitsuru Chinen On Tue, 31 Mar 2009 10:16:04 +0200 Jan Safranek wrote: > Magnus Fromreide wrote: > > On Mon, 2009-03-30 at 13:50 +0200, Jan Safranek wrote: > >> Maybe plain #ifdef checks in icmp.c would b

答复: question about the VACM

2009-03-31 Thread Kang Chen
Hi, Dave With your help, I make clear the rwuser command with group/view/access, it confuse me long time. Another question, if I use group/view/access command, how to express the property of 'rw' and 'ro'? Thanks! -邮件原件- 发件人: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com

Re: patch 1927751 broke build on Linux?

2009-03-31 Thread Jan Safranek
Magnus Fromreide wrote: > On Mon, 2009-03-30 at 13:50 +0200, Jan Safranek wrote: >> Maybe plain #ifdef checks in icmp.c would be more readable, the MLD_ >> macros are used only there... > > I think you are right - #ifdef checks in icmp.c is more readable and > keeps the change more localized, I'd

Re: question about the VACM

2009-03-31 Thread Dave Shield
2009/3/31 Kang Chen : > createUser leelin MD5 "authpass" DES "privpass" That line actually belongs in /var/net-snmp/snmpd.conf rather than here, but never mind. > rwuser leelin auth "rwuser" is a simplified version of access control. It should be used as an *alternative* to the group/view/access

question about the VACM

2009-03-31 Thread Kang Chen
Hi, Dave I'm try to configure the VACM in the snmpd.conf, and the example is something like the following: group Groupv3 usmleelintest # incl/excl subtree mask view if2included .1.3.6.1.2.1.2.2 80 #co

Re: snmpwalk can't walk when start by /usr/local/sbin/snmpd

2009-03-31 Thread Dave Shield
2009/3/31 down Load : > I found problem snmpwalk can not walk when start by /usr/local/sbin/snmpd > But Snmpwalk can walk If i start with command startsrc -s snmpd What is the exact command(s) that you are trying? What exactly are you seeing? A message such as "snmpwalk can not walk" is not parti

Re: compile options for netsnmp

2009-03-31 Thread Dave Shield
2009/3/30 Sanad Kumar Mishra : > While compiling netsnmp, I require the least size for the agent. Please see the FAQ entries that cover this topic. Dave -- ___ Net-snmp-coders

Re: disabling the ifTable and ifXtable - registering pdu failed: 263!

2009-03-31 Thread Dave Shield
2009/3/30 EYRE Bernadette : > I want to disable the ifTable and ifXtable implementation in the master > agent Starting the agent using "-I-ifTable -I-ifXTable" should do that, I think. Dave -- ___

答复: updating my net-snmp

2009-03-31 Thread Kang Chen
Hi, Dave I'm not clear about the concept of the context in SNMPv3 version. Would you please give me a example using the context in the snmpd.conf. Thanks! -邮件原件- 发件人: Dave Shield [mailto:d.t.shi...@liverpool.ac.uk] 发送时间: 2009年3月31日 15:24 收件人: Samer Vazdekis 抄送: net-snmp coders; net-snmp

Re: updating my net-snmp

2009-03-31 Thread Dave Shield
2009/3/30 Samer Vazdekis : > I'm using NET-SNMP version 5.2.1.2. I would like to update to the latest > version or to the next stable version. I do have lots of custom changes > which I would like to keep. What is the best procedure to do this? The best approach is to take your list of changes, an

snmpwalk can't walk when start by /usr/local/sbin/snmpd

2009-03-31 Thread down Load
Dear All, I found problem snmpwalk can not walk when start by /usr/local/sbin/snmpd But Snmpwalk can walk If i start with command startsrc -s snmpd . Please help me to solve this problem Below is result when i run ./snmpd -Dread_config # ps -ef|grep snmpd     root 1007648  585880   0 17:34:32