Re: about snmpset

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-...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-01-2005
malini
 
Posts: n/a
Default Re: about snmpset

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>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>then use : snmpset&nbsp; -v 3 -u =
snmpuser -l=20
authNoPriv -a MD5 -A&nbsp;"given phrase" &nbsp;localhost&nbsp;=20
system.sysContact.0 s "south 1,4th floor"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</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&nbsp; 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>&nbsp; <FONT size=3D5>I hope you can give me an=20
example.</FONT></P>
<P><FONT size=3D5>&nbsp;Thanks&nbsp;&nbsp; </FONT></P>
<P><FONT=20
=
size=3D5>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;=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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:21 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0