need help: set operation error

2007-07-24 Thread zhangyao
hello everyone, i succeed to "get" the sysContact,but when do "set",it shows error [EMAIL PROTECTED] root]# snmpget -v 1 -c public 192.168.88.16 system.sysContact.0 SNMPv2-MIB::sysContact.0 = STRING: YAO ZHANG [EMAIL PROTECTED] root]# snmpset -v 1 -c public 192.168.88.16 system.sysContact.0 s

What does "agentxsocket /tmp/agentx" represent?

2007-07-24 Thread Need Help
In the NetSNMP FAQ section there is an entry discussing "How can I run AgentX with a different socket address". It basically states the master agent and subagent must agree on the same port number. As an example, it indicates the following line can be added to the "snmpd.conf" file to indica

Re: How to connect master agent and subagent via port 1610 ?

2007-07-24 Thread Need Help
Ok, I now believe the "Writing a Dynamically Loadable Object" tutorial outlines the steps required when certain fields defined in a MIB file should be loaded a runtime (or automatically loaded when the master agent loads via the snmpd.conf file). I do not believe this tutorial is going to help

snmptrapd does not really work with my agent

2007-07-24 Thread snmpAsker snmpAsker
[EMAIL PROTECTED] have developed a small Trap-Agent (dynamic loadable) with the net-snmp API V 5.1.2 under Linux Redhat 4. The Agent sends each 2 seconds one Integer. But if I use "./snmptrapd -f -Le" to catch the traps, the snmptrapd needs > 20 seconds per trap to get it!! example: ./snmptrapd

How to use dlmod in windows?

2007-07-24 Thread Nicklas Chien
The "Tutorial Sections" talk how to compile a module in unix-like system. Can the net-snmp support dlmod in windows?If yes,how to compile the module? I had readed the readme.win32,it just says that add the .c & .h files and rebuild the snmpd not the dynamical load.Thanks __

Re: agentx config question

2007-07-24 Thread Leland Wallace
On Jul 21, 2007, at 12:12 PM, Dave Shield wrote: > On 21/07/07, Leland Wallace <[EMAIL PROTECTED]> wrote: >> Turning on AgentX master support. >> agentx/master: initializing... >> Error: Couldn't open a master agentx socket to listen on (): >> >> and then it quits. Shouldn't the default port be u

How to write a module and use dlmod in windows?

2007-07-24 Thread 垃圾 簡
I use mib2c to product .c and .h file.How to compile them to a Dynamically Loadable Object?The "Tutorials" only talks unix-like systems and readme.win32 just talks about rebuild the snmpd.Thanks. 設定安全圖章,保護您的 Yahoo!奇摩帳號不被駭客盜用!-