Re: error on subcontainer '' insert (-1)
"Hai Wang (汪海)" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Dave,
I found out why the error occured, but I want to confirm it before I
start a solution,
The error comes from the CONTAINER_INSERT call in
netsnmp_ioctl_ipaddress_container_load_v4
It only happened to the interfaces which have the same IP address, it
does not make sense to have the same IP on two ethernet interfaces,
but it is common practical for PPP interfaces in PPPOA/PPPOE world as
shown below, which two ppp interfaces are sharing 10.10.10.142
ppp2675 Link encap:Point-to-Point Protocol
inet addr:10.10.10.142 P-t-P:10.0.0.5 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:114 (114.0 b) TX bytes:30 (30.0 b)
ppp5306 Link encap:Point-to-Point Protocol
inet addr:10.10.10.142 P-t-P:10.0.0.4 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:114 (114.0 b) TX bytes:30 (30.0 b)
so I have to confirm the bug from u,
Three questions:
1. Why NET-SNMP agent keep calling CONTAINER-INSERT when no snmp
request was made?
2. Is there any quick way to fix the bug above if it is confirmed?
3. Is it possible to disable ip-MIB to stop the CONATINER_INSERT call?
Please let me know what is your thoughts?
Many thanks!
On 10/27/06, Dave Shield <[email protected]> wrote:
> On 27/10/06, Hai Wang () <[email protected]> wrote:
> > So I want to know if there is any way to not install some
> > default agents in NET-SNMP distribution so that I can isolate the bad
> > fish from others?
>
> You can disable individual MIB modules by starting the agent using
> something like:
>
> snmpd -I-system_mib,hr_system
>
> (That's minus Capital-i minus list-of-module-names
> where the module names are the same as the "init_xxx" routine names)
>
> Or you can turn off *everything* except the named modules using
>
> snmpd -Ivacm_vars,vacm_conf,etc
>
> You'll have to experiment to identify the minimal set of modules to give
> you a basic working agent. (Unless someone already has that list?)
>
> Dave
>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users