This is a discussion on Re: about snmpset within the SNMP Coders forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. ------=_NextPart_000_0134_01C59683.E18EEE10 Content-Type: text/plain; charset="gb2312" Content-...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multi-part message in MIME format.
------=_NextPart_000_0134_01C59683.E18EEE10 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Shows you don't have write permission to the object, i had a way to solve it.Create a user as : net-snmp-config = --create-snmpv3-user snmpuser -A [ Enter a pass phase when asked] which will add "rwuser snmpuser" to snmpd.comf. then use : snmpset -v 3 -u snmpuser -l authNoPriv -a MD5 -A "given = phrase" localhost system.sysContact.0 s "south 1,4th floor" Thanks malini ----- Original Message -----=20 From: nami_cn@gmail.cn=20 To: net-snmp-coders@lists.sourceforge.net=20 Sent: Monday, August 01, 2005 8:52 AM Subject: about snmpset=20 When i used the snmpset command to set the value of syscontact.0 , i = always got an error :not writtable. my command is :snmpset -v 2c -c public localhost syscontact.0 s "south = 1,4th floor" I failed to use snmpset command ,i wanna know how should i configure = the snmpd.conf to run snmpset? I hope you can give me an example. Thanks =20 = nami ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= 20 =BB=B6=D3=AD=CA=B9=D3=C3ISM = Gmail=D6=D0=CE=C4=D3=CA!=CF=EB=C1=CB=BD=E2=B8=FC=B 6=E0,=C7=EB=B7=C3=CE=CA= www.ism.net.cn !=20 ------------------------------------------------------- SF.Net email = is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find = simple to follow Roadmaps, straightforward articles, informative = Webcasts and more! Get everything you need to get up to speed, fast. = http://ads.osdn.com/?ad_id=3D7477&al...492&op=3Dclick = _______________________________________________ Net-snmp-coders mailing = list Net-snmp-coders@lists.sourceforge.net = https://lists.sourceforge.net/lists/...et-snmp-coders -------------------------------------------------------------------------= ----- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.7/60 - Release Date: = 7/28/2005 ------=_NextPart_000_0134_01C59683.E18EEE10 Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; charset=3Dgb2312"> <META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Shows you don't have write permission = to the=20 object,</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>i had a way to solve it.Create a user = as :=20 net-snmp-config --create-snmpv3-user snmpuser -A [ Enter a pass phase = when=20 asked]</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>which will add "rwuser snmpuser" to=20 snmpd.comf.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>then use : snmpset -v 3 -u = snmpuser -l=20 authNoPriv -a MD5 -A "given phrase" localhost =20 system.sysContact.0 s "south 1,4th floor"</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV> <DIV><FONT face=3DArial size=3D2>malini</FONT></DIV> <BLOCKQUOTE=20 style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; = BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV> <DIV=20 style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: = black"><B>From:</B>=20 <A title=3Dnami_cn@gmail.cn = href=3D"mailto:nami_cn@gmail.cn">nami_cn@gmail.cn</A>=20 </DIV> <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20 title=3Dnet-snmp-coders@lists.sourceforge.net=20 = href=3D"mailto:net-snmp-coders@lists.sourceforge.net">net-snmp-coders@lis= ts.sourceforge.net</A>=20 </DIV> <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, August 01, 2005 = 8:52=20 AM</DIV> <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> about snmpset </DIV> <DIV><BR></DIV> <P><FONT size=3D5>When i used the snmpset command to set the = value of=20 syscontact.0 , i always got an error :not writtable.<BR>my command is = :snmpset=20 -v 2c -c public localhost syscontact.0 s "south 1,4th floor"<BR>I = failed to=20 use snmpset command ,i wanna know how should i configure the = snmpd.conf to run=20 snmpset?</FONT> <FONT size=3D5>I hope you can give me an=20 example.</FONT></P> <P><FONT size=3D5> Thanks </FONT></P> <P><FONT=20 = size=3D5>   ; &nbs= p;  = ; & nbsp; = &n bsp; &= nbsp; &nb sp; &n= bsp; &nbs p; =20 nami</FONT></P> <P><BR><BR><BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ = <BR>=BB=B6=D3=AD=CA=B9=D3=C3ISM=20 = Gmail=D6=D0=CE=C4=D3=CA!=CF=EB=C1=CB=BD=E2=B8=FC=B 6=E0,=C7=EB=B7=C3=CE=CA= <A href=3D"http://www.ism.net.cn"=20 target=3D_blank>www.ism.net.cn</A> !=20 <BR>------------------------------------------------------- SF.Net = email is=20 sponsored by: Discover Easy Linux Migration Strategies from IBM. Find = simple=20 to follow Roadmaps, straightforward articles, informative Webcasts and = more!=20 Get everything you need to get up to speed, fast.=20 http://ads.osdn.com/?ad_id=3D7477&am...;op=3Dclick=20 _______________________________________________ Net-snmp-coders = mailing list=20 Net-snmp-coders@lists.sourceforge.net=20 https://lists.sourceforge.net/lists/...et-snmp-coders <P> <HR> <P></P>No virus found in this incoming message.<BR>Checked by AVG=20 Anti-Virus.<BR>Version: 7.0.338 / Virus Database: 267.9.7/60 - Release = Date:=20 7/28/2005<BR></BLOCKQUOTE></BODY></HTML> ------=_NextPart_000_0134_01C59683.E18EEE10-- ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |