On 23/08/06, Dominique bastien <[EMAIL PROTECTED]> wrote:
> I try to remove some rows in the ifTable, the loopback
> interface and some interface use for internal communication.
>
> I program the snmpd.conf with these lines:
>
> view vn1 included .1
> view vn1 excluded ifEntry.1.1 0x3:0xf9
>
> But this only remove the index field of the lo interface.
I'm not sure where you got the "0x3:0xf9" syntax from, but the
following line (untested) ought to do what you need:
view vn1 excluded ifEntry.0.1 0xffa0
Or expanded into a fully numeric OID:
view vn1 excluded .1.3.6.1.2.1.2.2.1.0.1 0xffa0
The '0' subidentifier doesn't actually matter - it correspends to the
cleared bit in the mask:
1 3 6 1 2 1 2 2 : 1 0 1
1 1 1 1 1 1 1 1 : 1 0 1 = 0xffa0
so this value will be ignored.
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