On 1 June 2012 20:56, Kodena Dev <kodena...@gmail.com> wrote:
> One vendor ask me to put this config in my snmp.conf:
> view Systemview included .1 80
>
> I read some information about mask value but I'm not sure what I'm doing
> setting this....what exactly means this 80?

The mask is used to indicate which elements of the specified OID
to take note of.   It's a hex value, so if you convert 80 (hex) into binary,
it reads
               1000 0000

i.e. use the first specified subidentifier, and ignore anything else.
In this case, the OID is '.1' so there *is* only one subidentifier.
This line therefore matches everything lying within the .iso(1) subtree

In fact, if the mask matches the OID exactly, then you can omit it.
So
    Systemview  included  .1   80
is exactly the same as
    Systemview  included  .1


Dave

PS:  I do wish that people would use meaningful names.
   To me, the name "Systemview" implies that the view just covers
   the system group (possibly plus related objects such as hrSystem)
   If you've going to define a view that covers the whole of the .iso tree
   then why not call it something like 'isoView' ?
         Using misleading names just makes things confusing for the
   poor overworked sysadmin!

------------------------------------------------------------------------------
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
  • Mask value Kodena Dev
    • Re: Mask value Dave Shield

Reply via email to