Remove IF-MIB and IP-MIB

2013-12-02 Thread Jatin Bodarya
NET-SNMP version: 5.7.2.rc1 Ubuntu 12.04 Hi all, I want to remove these mibs from my snmp agent. How can I achieve it ? at configure level as well as runtime ? Also I suppose to stop all the MIB from master and just want to include my own MIBs. And run it as a subagent. How can I

Remove IF-MIB and IP-MIB

2013-12-02 Thread Jatin Bodarya
Hi all, I want to remove these mibs from my snmp agent. How can I achieve it ? at configure level as well as runtime ? Also I suppose to stop all the MIB from master and just want to include my own MIBs. And run it as a subagent. How can I achieve it ? Thanks in Advance.

Re: Remove IF-MIB and IP-MIB

2013-12-02 Thread Bill Fenner
[[ I've removed net-snmp-users, since this question is more appropriate for coders. Note that http://www.net-snmp.org/support/mailinglists.html says Please do NOT post the same message to both the user and coders lists, and has other useful information about how to politely ask for help ]] On

Help! Convert OCTET string to READABLE string

2013-12-02 Thread namgmail
Hi pro, I have a problem with SNMPSET ,this is my command: snmpset -v1 -c private 192.168.x.x .1.3.6.1.4.1.426.8.1.20.5.1.1 *s * STRING If it's short string it work fine but with long string it automatic convert to *octet* string.Here is what i got from receiver: -s

RE: Remove IF-MIB and IP-MIB

2013-12-02 Thread Jatin Bodarya
Hi Bill, Sorry for it. Problem get solved. I was using --without-mib-modules instead of --with-out-mib-modules= . and another issue was there were another installation in my system which was responding IF-MIB. Actually I have thousands of PPPOE users as well as VLANS in my system. So It is

Re: net-snmp fails to create entries with a zero in the OID in SnmpTargetParamsEntry

2013-12-02 Thread zhuyj
On 12/02/2013 12:53 AM, Magnus Fromreide wrote: On Fri, 2013-11-29 at 11:24 +0800, yzhu1 wrote: On 11/26/2013 02:58 PM, Magnus Fromreide wrote: On Tue, 2013-11-26 at 11:05 +0800, yzhu1 wrote: Hi, Magnus Follow your advice, I made the 3 new patches. Now the patches are in the attachment.