net-snmp-users@lists.sourceforge.net net-snmp-users@lists.sourceforge.net

2006-02-20 Thread 腾飞龙
hi,all Would you please tell how to make net-snmpfor ppc405EP?

snmpd logging

2006-02-20 Thread H. McManus
Hi, I'm using the following command to start snmpd: /usr/sbin/snmpd -Dmib_init -LF 4 /var/log/snmp -p /var/run/snmpd.pid The problem is that nothing is being written to /var/log/snmp and everything is being sent to STDOUT instead. What is wrong with my -LF syntax? H. # snmpd --version

RE: Example of create

2006-02-20 Thread Dave Shield
On Mon, 2006-02-20 at 12:47 +0530, [EMAIL PROTECTED] wrote: I have generated code using mib2c -c mib2c.create-dataset.conf. I am using the netsnmp_table_data_set helper . OK - that helper can take care of deleting rows automatically. You just need to tell it which column is the RowStatus

Re: Max number of table entries

2006-02-20 Thread Dave Shield
On Fri, 2006-02-17 at 20:19 -0800, Li Juen Hwang wrote: i have a table containing 500 entries with 5 columns. How have you implemented this table? If you're using the v4 API, please see the FAQ entry: How can I support a large table, with more than 256 column objects? Dave

RE: Example of create

2006-02-20 Thread somenath.pal
Title: RE: Example of create Hi Dave, Many many thanks for your time.Now things are fine .Now I am able to delete rows. I have one more question.Using this helper can I restrict user to create entry befor set ?. I mean user should create row first then only he can change the values of column

Re: snmpd logging

2006-02-20 Thread H. McManus
On Monday 20 February 2006 12:23, Dave Shield wrote: I'm using the following command to start snmpd: /usr/sbin/snmpd -Dmib_init -LF 4 /var/log/snmp -p /var/run/snmpd.pid The problem is that nothing is being written to /var/log/snmp and everything is being sent to STDOUT instead. Does

problem with snmptrapd

2006-02-20 Thread Dan Keimatsu
I write the mail of the question for snmptrapd. The one It is attached to RHEL ES 4, and uses net-snmp-utils. Version NET-SNMP Version: 5.1.2 It is attached to the package, and whenever the trap is received by using snmptrapd, started traphandler two times. Is there a method of evading this

RE: Example of create

2006-02-20 Thread Dave Shield
On Mon, 2006-02-20 at 17:27 +0530, [EMAIL PROTECTED] wrote: Using this helper can I restrict user to create entry befor set ?. I mean user should create row first then only he can change the values of column of particular row. Ummm Try deleting the 'allow_creation' line. That enables the

RE: Example of create

2006-02-20 Thread somenath.pal
Title: RE: Example of create Hi Dave, Many many thanks for your time . It is working fine again . Thanks, Somenath -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED]] Sent: Mon 2/20/2006 7:19 PM To: Somenath Pal (WT01 - Broadband Networks) Cc:

Perl question: hex-string

2006-02-20 Thread ange terrien
Does anybody know how to encode a hex-string varbind ( like the 'x' type in snmptrap) to send it with 'SNMP_Session::v2_trap_request_send' ? I found a 'encode_string' but no 'encode_hexstring' in the lib.

Compiling C++ dynamic module

2006-02-20 Thread John Quigley
Hey Folks, I'm working on a dynamic module for net-snmp. This module integrates with a server-side project written in C++. I'm having trouble in the linking stage when compiling the dynamic module (which is a mixed bag of C/C++). I'm currently wrapping C calls in the C++ code with '

Re: Compiling C++ dynamic module

2006-02-20 Thread Wes Hardaker
On Mon, 20 Feb 2006 12:47:21 -0600, John Quigley [EMAIL PROTECTED] said: John csmAuthenticationFailures John /cgrid/local/net-snmp/lib/cgrid/csmAuthenticationFailures.so dlopen John failed: /cgrid/local/net-snmp/lib/cgrid/csmAuthenticationFailures.so: John undefined symbol:

Re: Perl question: hex-string

2006-02-20 Thread Wes Hardaker
On Mon, 20 Feb 2006 16:29:58 +0100 (CET), ange terrien [EMAIL PROTECTED] said: ange Does anybody know how to encode a hex-string varbind ( ange like the 'x' type in snmptrap) to send it with ange 'SNMP_Session::v2_trap_request_send' ? ange I found a 'encode_string' but no 'encode_hexstring'

Re: problem with snmptrapd

2006-02-20 Thread Wes Hardaker
On Mon, 20 Feb 2006 21:34:53 +0900, Dan Keimatsu [EMAIL PROTECTED] said: Dan It is attached to the package, and whenever the trap is received by Dan using snmptrapd, started traphandler two times. Is it possible that the trap is being sent twice? I'd bet on this being the problem. Run with -d

Re: changing the ipAdEntAddr and ifPhysAddress entry order

2006-02-20 Thread Taner mehmetali
Hi, this is a long e-mail again because i attached some code Object identifier 9: 1.3.6.1.4.1.11.2.4.3.8.3.2 Object identifier 10: 1.3.6.1.4.1.11.2.4.3.8.3.3 Object identifier 11: 1.3.6.1.4.1.11.2.4.3.10.7 Object identifier 12: 1.3.6.1.4.1.11.2.4.3.10.13 Object

trapsess instead of trap2sink

2006-02-20 Thread Eugen
Hi, Im using send_v2trap in my snmpd and snmptrapd receives the traps with the following snmpd.conf: rwcommunity my_rwc trap2sink localhost If Im trying to use trapsess instead as follows trapsess -v 2c c my_rwc localhost the traps are not sent any more. Ive started the trap

inform

2006-02-20 Thread Eugen
Hi, Is it send_v2trap blocking when sending informs ? In other words if I call twice send_v2trap can I be sure that the 2nd call will be performed only when the ack of the 1st trap was received? Thanks, Eugen

Re: changing the ipAdEntAddr and ifPhysAddress entry order

2006-02-20 Thread Taner mehmetali
Hi, i solved the problem with the code of npIpxGetUnitCfgResp2 but i get a Hex-string value intstead of a string value. Can i change this behaviour somehow? with best regards -- 10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail +++ GMX - die erste Adresse für Mail, Message,

Re: inform

2006-02-20 Thread Wes Hardaker
On Mon, 20 Feb 2006 17:24:09 -0500, Eugen [EMAIL PROTECTED] said: eugen Is it send_v2trap blocking when sending informs ? No. It does not block. eugen In other words if I call twice send_v2trap can I be sure that eugen the 2nd call will be performed only when the ack of the 1st eugen trap was

Re: trapsess instead of trap2sink

2006-02-20 Thread Wes Hardaker
On Mon, 20 Feb 2006 17:16:08 -0500, Eugen [EMAIL PROTECTED] said: eugen If I'm trying to use trapsess instead as follows eugen trapsess -v 2c -c my_rwc localhost Can you try: trapsess -v 2c -c my_rwc localhost:162 -- Wes Hardaker Sparta, Inc.

Remember me

2006-02-20 Thread Ravi Kumar
Namaskara sir, Hope you remember me. Where are you man? how was your trip? You can contact me on 26171103. I am placed in EC1 now. regards Ravi Kumar