Re: how to set manager's IP address and community in code on embedded system

2008-06-23 Thread Dave Shield
2008/6/23 Tewen Hsieh [EMAIL PROTECTED]: I want to set/get manager's IP address and community in running time via CLI. Is there any API can get/set manager's IP address and community in net-snmp? Any snmpd.conf directive can also be supplied on the command line, using

Re: about remove all default modules

2008-06-23 Thread Dave Shield
2008/6/23 Tewen Hsieh [EMAIL PROTECTED]: If I want to remove it, I just need to use configure --enable-mini-agent --with-out-mib-modules=mibII/system_mib? Why waste time asking me? Just try it. Dave - Check out the new

about dlmod module

2008-06-23 Thread Tewen Hsieh
Hi, Because I want to install net-snmp on embedded system, I must downsize SNMP agent. I use configure --enable-mini-agent to install net-snmp, but dlmod module seems not be compiled into agent. So configure --enable-mini-agent will compile net-snmp without dlmod module? How can I resolve this

Re: VRRP support in net-snmp?

2008-06-23 Thread Dave Shield
2008/6/23 Huafeng Lu [EMAIL PROTECTED]: Can someone confirm that net-snmp currently doesn't have VRRP support? Confirmed. And how should we get started to add this? Look at the VRRP-MIB. Decide how you are going to retrieve the information listed there. (What APIs to use, etc). Have a look

Re: about dlmod module

2008-06-23 Thread Dave Shield
2008/6/23 Tewen Hsieh [EMAIL PROTECTED]: I use configure --enable-mini-agent to install net-snmp, but dlmod module seems not be compiled into agent. So configure --enable-mini-agent will compile net-snmp without dlmod module? Correct. How can I resolve this problem? By reading the answer

sysORTable from subagent

2008-06-23 Thread Goran
Hi Is it possible to register to the sysORTable from within a subagent? It works when I register to the sysORTable when compiling the nstAgentModuleObject.c into the Agent. If I register to sysORTable from the example subagent (nstAgentSubagentObject.c and example-demon.c) nothing ends up in the

Re: sysORTable from subagent

2008-06-23 Thread Magnus Fromreide
On Mon, 2008-06-23 at 14:02 +0200, Goran wrote: Hi Is it possible to register to the sysORTable from within a subagent? Yes. It works when I register to the sysORTable when compiling the nstAgentModuleObject.c into the Agent. If I register to sysORTable from the example subagent

Re: about remove all default modules

2008-06-23 Thread Magnus Fromreide
On Mon, 2008-06-23 at 09:58 +0800, Tewen Hsieh wrote: Hi Dave, Thanks for your reply. I have tried configure --enable-mini-agent, but mibII/system_mib is still included. If I want to remove it, I just need to use configure --enable-mini-agent --with-out-mib-modules=mibII/system_mib?

Re: mteTrigger_run segfault

2008-06-23 Thread Chris Larson
Dave Shield wrote: 2008/6/12 Chris Larson [EMAIL PROTECTED]: On Thu, 2008-06-05 at 20:22 +, Chris Larson wrote: I've run into a segmentation fault in net-snmp version 5.4 on our product, when there's a cpuIdle or alert set up in snmpd.conf. No mteTrigger_run experts

Re: about remove all default modules

2008-06-23 Thread Tewen Hsieh
Hi, Thanks for your reply. I tried it by myself while I asked about it on net-snmp-coders. I asked about this question because I was afraid of side effect of removing mibII/system_mib. I want to heard another one's experience or better solution like /MF's. Anyway, it's a good advice for me. I

Re: sysORTable from subagent

2008-06-23 Thread Magnus Fromreide
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On Mon,