Re: problem relating snmpd.conf in View base access control model
bhushan <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
hello , Thanks for replying me . i have tried this configuration but one more problem has came when i restart snmpd after applying new configuration (as u said) it will display only only my required info but when i am trying to execute same snmpwalk multiple times command it says Timeout:No Response from localhost what may be reason behind this ? Plz help me out of this . Reguards -bhushan On 9/26/06, Dave Shield <[email protected]> wrote: > > On 26/09/06, bhushan <[email protected]> wrote > > i want to show mib2 for following OID only > > 1.3.6.1.2.1.1 to 1.3.6.1.2.1.11 > > so what MASK i need to set in > > view all included .1.3.6.1.2.1 [MASK] > > so that i can see only specified OID only .. > > > MASK is not really the answer here. > The way to set up this sort of restricted view is to have several > "view" directives, > all tagged with the same name. > (I'd also suggest that you use a name other that "all", since this > view is not actually > "all information" - the agent doesn't care, but it's confusing to > someone reading the > config file). > > Try something like: > > view basic included .1.3.6.1.2.1.1 > view basic included .1.3.6.1.2.1.2 > view basic included .1.3.6.1.2.1.3 > : > view basic included .1.3.6.1.2.1.11 > > access MyROGroup "" any noauth exact basic none none > access MyRWGroup "" any noauth exact basic basic basic > > > Dave > -- bhushan. E . Sonawane ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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