set error of pass-persist

2005-10-24 Thread Paul Chen (QD/LJC)
Hi all, Net-snmp package cannot return error for set command from pass-persist extension. And once error occours, the snmpd will die. This bug has been reported in the bug database, and has been announced to be fixed. But it does appear in net-snmp.5.2.1.rc3. I want to know which v

snmptrap using Hex string

2005-06-19 Thread Paul Chen (QD/LJC)
Hi all I want to send a trap with a object of hex string type. The value of the hex string is "01-02-03-04". I tried to send this trap using snmptrap like this : snmptrap -v 2c 150.236.78.57 public '' .1.3.6.1.4.1.27.1 .1.3.6.1.4.1.27 x "01020304" but get the response subidentifier 16909060

Compiling Error of shared lib

2005-05-24 Thread Paul Chen (QD/LJC)
Hi, all I need to build a shared library in a project. So I changed the ./config.h and ./libtool, with the difference as the following: [EMAIL PROTECTED] ucd-snmp-brasc]# diff config.h config.h.bk 1062c1062 < #define CONFIGURE_OPTIONS " --enable-shared --disab

dynamic modules

2005-05-23 Thread Paul Chen (QD/LJC)
Hi, all What does the configure token "--enable-shared" mean? The online help only says that "build shared libraries", but what libraries does it build? Shared MIB modules or something else? And I also find from the source code that the shared modules will be loaded

DHCP support

2005-05-18 Thread Paul Chen (QD/LJC)
Hi, all Does the DHCPD in Linux support SNMP? If it does, how? How can I get the paramaters of the DHCPD through SNMP. THANKS! BR, Paul --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be th

Cannot find module

2005-05-08 Thread Paul Chen (QD/LJC)
Hi,all When I use snmpwalk, I get the following response Cannot find module (IP-MIB): At line 0 in (none) Cannot find module (IF-MIB): At line 0 in (none) Cannot find module (TCP-MIB): At line 0 in (none) Cannot find module (UDP-MIB): At line 0 in (none) Cannot find module (SNMPv2-MIB): A

interface between snmpd and the extended agent

2005-04-21 Thread Paul Chen (QD/LJC)
Hi all As we know the snmpd can be extended by token pass-persist. And the interface between snmpd and the extended agent for GET is defined as: For example, if the value for .1.3.6.1.4.100 was requested, the following 2 lines would be passed in to stdin: get

MIB extend

2005-04-13 Thread Paul Chen (QD/LJC)
Hi, all I am using the persistent process to extend the snmp MIB. After the snmpd starts up, the process I defined in snmpd.conf is not called. Why? The version I used is ucd -snmp ver 4.2.3. Thanks! BR, Paul --- SF email is sponsored by -

platform

2005-03-01 Thread Paul Chen (QD/LJC)
Hi,all What platform does net-snmp support? My OS is MontaVista Linux. Can net-snmp package be installed and run on this OS? Best regards, Chen Peng Asst. R & D Engineer Ericsson Langchao Wireless Technology Co., Ltd. 11F, West Tower, Century Plaza, Qingdao Hi-Tech Industrial Park, Qingdao 266

RE: (no subject)

2005-02-22 Thread Paul Chen (QD/LJC)
-Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: 2005å2æ22æ 22:08 To: Paul Chen (QD/LJC) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: (no subject) On Tue, 22 Feb 2005 11:18:12 +0800 Paul wrote: PC> I want to forward the traps to different destination based on

how to configure snmptrapd

2005-02-21 Thread Paul Chen (QD/LJC)
Hi, I want to use a scipt to handle the trap messages that trapd received. So I configured the snmptrapd.conf as following: ### # # snmptrapd.conf # # - created by the snmpconf configuration program #

(no subject)

2005-02-21 Thread Paul Chen (QD/LJC)
Hi,all I want to forward the traps to different destination based on their oid. I know that in the snmptrap.conf there is a forward directives which an do this job. But how to configure the snmptrapd.conf? By using snmpconf tool, I can not find the position to configure the forward direc

RE: about trap

2005-02-17 Thread Paul Chen (QD/LJC)
: 2005?2?18? 1:59 To: Paul Chen (QD/LJC) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: about trap On Thu, 17 Feb 2005 17:45:35 +0800 Paul wrote: PC> I have two MIBs. And I want to send the traps of the first MIB to A, and PC> traps of the second MIB to B. >From what process?

about trap

2005-02-17 Thread Paul Chen (QD/LJC)
hi,all I have two MIBs. And I want to send the traps of the first MIB to A, and traps of the second MIB to B. What should I do to accommplish this? I know that through config the snmp.conf, the snmpd can help me to do so. but when one of my processes generates a trap, where should i send it