Karsten> $s set { {sysContact.0 "support@nm.informatik.uni-muenchen.de"} }
Karsten> [...]
Karsten> noSuchName 1 {1.3.6.1.2.1.1.4.0 {OCTET STRING}
Karsten> support@nm.informatik.uni-muenchen.de}
Karsten> An SNMP-get on 'sysContact.0' works fine without error
Karsten> messages, so I don't understand why I get an
Karsten> 'noSuchName' error with the set-command ?
Sounds like the community string was not proper for writing.
example (using a cmu-smmp agent):
> schoenfr@nase:~ 57 > scotty
> % snmp session
> snmp0
> % snmp0 set { {sysContact.0 "Bert Nase" } }
> noSuchName 1 {1.3.6.1.2.1.1.4.0 {OCTET STRING} {Bert Nase}}
> % snmp0 configure -community private
> -community private -address 127.0.0.1 -port 161 -version SNMPv1 -timeout 5 -retries 3
> % snmp0 set { {sysContact.0 "Bert Nase" } }
> {1.3.6.1.2.1.1.4.0 {OCTET STRING} {Bert Nase}}
> % snmp0 get sysContact.0
> {1.3.6.1.2.1.1.4.0 {OCTET STRING} {Bert Nase}}
> %
I hope this helps,
Erik