On 7 September 2012 07:30, Suresh kumar <skjaiswa...@hotmail.com> wrote:
> Hi Dave Please find out of
>     snmpwalk -v 2c -c public -On 172.16.3.151 1.3.6.1.6.3.15.1.2.2.1


> .1.3.6.1.6.3.15.1.2.2.1.3.
>     17.128.0.31.136.128.176.43.0.0.5.141.73.80.0.0.0.0.
>     14.100.101.102.97.117.108.116.85.115.101.114.77.68.53
> = STRING: defaultUserMD5

OK - That gives you the information you need to determine the OID
to put in the 'view' directive

Turn the last number in the first line into a 0
   (because you'll want to match all column objects)
Turn the first number in the third line into a 0
   (because you'll want to match varying length usernames)
Delete 85.115..... from the third name
   (just leaving the prefix "default")

Use the resulting OID in the view directive.


As for the mask, write down a string of 1 bits,
   one for each number in this OID.
Then take the two subidentifiers that you set to 0 above,
and turn the corresponding bits in this list to 0 as well.
That gives you the mask to use (in binary)
So just convert that to hex, and you're done.

OK?

Dave

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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

Reply via email to