Re:Re: why ucd-snmp agent can only be get, can't be set always

2007-08-22 Thread ye_cl
Hi,Dave, I use ./snmpd& to run the agent in mine target board, use "snmpget -v2c -c public 200.162.162.190 .1.3.6.1.4.1.19176.1.1.20.3.0.0" to get,and use "snmpset -v2c -c private 200.162.162.190 .1.3.6.1.4.1.19176.1.1.20.3.0.0 i 333" to set. I find there is always no response UDP packet sent f

hrDevice table and subagent for hr_print?

2007-08-22 Thread Mike Harless
Hi, I'm a bit confused if it is possible to use a subagent to support a single row of the hrDevice table or not. What I'm trying to do, is to disable the host/hr_print support in the normal net-snmp master agent, and instead have a subagent that would supply the printer info via agentx. I co

RE: why ucd-snmp agent can only be get, can't be set always

2007-08-22 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of ye_cl > The snmpd.conf is under target board's /usr/local/share/snmp > dir. Its content is as follows: > sysservices 72 > com2sec public default public > com2sec private default private > group public v1 public > group pr

Re: why ucd-snmp agent can only be get, can't be set always

2007-08-22 Thread Dave Shield
On 22/08/07, ye_cl <[EMAIL PROTECTED]> wrote: > I have a question about using ucd-snmp-4.1.2 on uClinux. That's a *VERY* old version of the code, and is no longer being maintained. That shouldn't affect your particular problem, but you should strongly consider upgrading to a more recent version.

Re: unable to disable 30sec. caching?

2007-08-22 Thread Dave Shield
On 22/08/07, johnrembo <[EMAIL PROTECTED]> wrote: > As far as I understand it should immediately update snmp counters with the > fresh values instead of caching them for 30sec, at least man page says so: > > "The agent caches the exit status and STDOUT of the exe- >cuted program for 30

Re: Compile DLL with VC++

2007-08-22 Thread Dave Shield
On 21/08/07, Chris Mitchell <[EMAIL PROTECTED]> wrote: > You are right, it does contain a netsnmp.dll file. When I load Visual Basic > 2005, I try to add it as a reference but it says that it is not a valid > assembly file or COM object. Is there load this file so I can perform SNMP > requests thro

Trap handler

2007-08-22 Thread zuljin
Hi, I want to write simple trap handler that will receive traps/informs caught by snmptrapd. Idea is that snmptrapd will, using "forward" option, send all traps/informs to my application (it will be COM object written in C++). Regarding this I have few questions: - How I should listen on incomi

unable to disable 30sec. caching?

2007-08-22 Thread johnrembo
hello, software we are developing monitors bandwidth of network interfaces every second. This works fine on freebsd machines with net-snmp 4.2.6, but on linux machines (debian4/net-snmp 5.2.3-7) every counter is being cached for 30 seconds. I am not sure what makes impact - OS or net-snmp versio