Re: Problem in Set

Radek Vokál <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Wed, 2005-11-16 at 07:30 +0000, madhan raj wrote:
>   Dear All, 
> 
>           I am using net-snmp-5.2.1.2 in my router. All the snmp 
> commands are working fine except "snmpset". The error message which I 
> got while setting is as follows: 
> 
> # snmpset -v2c -c salauddin localhost 
> interfaces.ifTable.ifEntry.ifAdminStatus.1 i 1 
> 
> Error in packet. 
> Reason: notWritable 
> Failed object: interfaces.ifTable.ifEntry.ifAdminStatus.1 
> 

Got the same problem with 5.2.2.rc5, I guess it's configuration issue.
My output is

# snmpget -v2c -c public localhost system.sysContact.0
SNMPv2-MIB::sysContact.0 = STRING: Root <root@localhost>
(configure /etc/snmp/snmp.local.conf)

# snmpset -v2c -c public localhost system.sysContact.0 s
master@ofthesystem
Error in packet.
Reason: notWritable (That object does not support modification)
Failed object: SNMPv2-MIB::sysContact.0

and my snmpd.conf file contains

com2sec local     localhost       public
com2sec mynetwork localhost       public

group MyRWGroup  any        local
group MyROGroup  any        mynetwork
group MyRWGroup  any        otherv3user

view all    included  .1                               80

access MyROGroup ""      any       noauth    0      all    none   none
access MyRWGroup ""      any       noauth    0      all    all    all

syslocation Unknown (edit /etc/snmp/snmpd.conf)
syscontact Root <root@localhost> (configure /etc/snmp/snmp.local.conf)



What's wrong in my conf file? 

-- 
Radek Vokál <[email protected]>
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQBDev+jpPtjDwJDWJMRAhd4AKCeFTO40J2p8KdHmO3ul0S27RKlkgCgqRdm
3mXJF0/2x9WWyZCOqNoehk8=
=5ngV
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.