problem in snmpset
Sharad Chandra <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Organization | Niksun India |
| Message-ID | <[email protected]> |
Hi All,
I had rocommunity and rwcommunity having public in conf file, but i was not
able to set system.system.sysContact.0
i did
[/home/sharad/.snmp/mibs]# snmpset -v2c -c public localhost
system.sysContact.0 s me@mydesktop
Error in packet.
Reason: noAccess
while my snmptranslate says I can..
[/home/sharad/.snmp/mibs]# !snmptran
snmptranslate -Tp -IR system.sysContact
+-- -RW- String sysContact(4)
Textual Convention: DisplayString
Size: 0..255
then i modify the
rwcommunity sharadc
and run
[sharad@~/.snmp/mibs]$ snmpset -v2c -c sharadc localhost system.sysContact.0 s
m
e@mydesktop
Error in packet.
Reason: notWritable (That object does not support modification)
Failed object: SNMPv2-MIB::sysContact.0
then i modify in snmpd.conf reading FAQ
com2sec local localhost sharadc
com2sec mynetwork NETWORK/24 public
group MyRWGroup v1 local
group sharadc v2c local
group MyRWGroup usm local
group MyROGroup v1 mynetwork
group public v2c mynetwork
group MyROGroup usm mynetwork
view all included .1 80
access public "" any noauth exact all none none
access sharadc "" any noauth exact all all none
but got the same as at the first.
probably i did some thing wrong in snmpd.conf
what should change to set the variable using snmpset?
Thanks
Sharad Chandra
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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