Re: snmpget problem
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 19/12/06, Artem Fedko <[email protected]> wrote: > $ snmptranslate -Tp -IR mib-2 > .......... > +--art(99) > | > +-- -RW- Unsigned arttest(1) First of all - you should not be adding new private objects into the standard 'mib-2' subtree. If you want to define new objects, ideally you should apply for your own enterprise number. This will give you a complete enterprise subtree, that you can use as you wish. Alternatively, we've set up an area NET-SNMP-MIB::netSnmpPlaypen, specifically for private testing purposes. But 'mib-2' is controlled by the IETF, and shouldn't be hijacked like this. > Groupe "priv" have read-write permission (in snmpd.conf -> rwcommunity priv ) > but allways when I've tried to change value of arttest.0, I've got > next message: > > $ snmpset -v 2c -c priv 127.0.0.1 ART-MIB::arttest.0 u 5 > Error in packet. > Reason: notWritable (That object does not support modification) > Failed object: ART-MIB::arttest.0 How have you implemented this object? > The same problem I had with standart branches > > $ snmpset -v 2c -c priv 127.0.0.1 SNMPv2-MIB::sysLocation.0 s "test" > Error in packet. > Reason: notWritable (That object does not support modification) > Failed object: SNMPv2-MIB::sysLocation.0 > > But, as far as I know the sysLocation is R/W. Please see the FAQ entry Why can't I change sysLocation (or sysContact)? Dave ------------------------------------------------------------------------- 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