The line: view ifRow4 included .1.3.6.1.2.1.2.2.1.0.4 0xffa0 The agent only get the 0xa0 with this line
The line need to be change to: view ifRow4 included .1.3.6.1.2.1.2.2.1.0.4 0xff:0xa0 In this case everything is fine. Dominique --- Dave Shield <[EMAIL PROTECTED]> wrote: > On 24/08/06, Dominique bastien <[EMAIL PROTECTED]> > wrote: > > the explaination of the > mask is not > > clear and the padding that you add at the end (the > > five bit set to 0) to make the thing work is not > > obvious. > > OK - I follow you know. > (I can't believe that I didn't spot the obvious > shift in the two bit patterns. > Engage brain before responding, Dave!) > > I've tweaked the man page description to try and > address this. > Is the following text any more helpful? > > ----------------- > MASK is a list of hex octets (optionally > separated by '.' or > ':') with the set bits indicating which > subidentifiers in the > view OID to match against. If not > specified, this defaults to > matching the OID exactly (all bits set), thus > defining a simple > OID subtree. So: > view iso1 included .iso 0xf0 > view iso2 included .iso > view iso3 included .iso.org.dod.mgmt > 0xf0 > > would all define the same view, covering > the whole of the > 'iso(1)' subtree. > > More usefully, the mask can be used to define > a view covering a > particular row (or rows) in a table, by > matching against the > appropriate table index value, but > skipping the column > subidentifier: > > view ifRow4 included > .1.3.6.1.2.1.2.2.1.0.4 0xffa0 > ------------ > > Feel free to suggest any changes or additions. > > Dave > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- 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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users