"the probable cause of the alarm"
::= { acmLogWatchEntry 3 }
snmpset is used to set OID's Values.
- perl code:
use NetSNMP::agent (':all');
use NetSNMP::ASN (':all');
use NetSNMP::OID(':all');
my $default_SP = "SP 1";
my $def
Simone Moni writes:
> if ($request_info->getMode() == MODE_GET) {
> # ... generally, you would calculate value from oid
> if ($oid == new
> NetSNMP::OID(".1.3.6.1.4.1.193.37.10.11.64.10.1.2.0")) {
> $request->setValue(ASN_OCTET_STR, $default_SP);
>
"the probable cause of the alarm"
::= { acmLogWatchEntry 3 }
snmpset is used to set OID's Values.
- perl code:
use NetSNMP::agent (':all');
use NetSNMP::ASN (':all');
use NetSNMP::OID(':all');
my $default_SP = "S
hi there
hi there
I have been using snmpset in a Win10 command line to set variables in
example table netSnmpIETFWGTable and this works perfectly as follows:
C:\usr\bin>snmpset -v 2c -c nsCommStrRW 127.1.1.1
NET-SNMP-EXAMPLES-MIB::nsIETFWGChair1.\"wg1\" s jblog1
NET-SNMP
Hi, all
Recently I have wrote a subagent and it just work well for me. I used
net-snmp 5.7.3.
But, I find that if the subagent occur some error while dealing with
snmpset, I can only return SNMP_ERR_XXX which is predefined by net-snmp.
Looking up the source code of net-snmp, I find
se "extend" I can not use the snmpset command in the script I want.
What I need is to pass a parameter that I want and run the script through
snmp with this parameter. But, I always get a "notWritable" error.
So I researched a bit and saw that some people had problems with snmpse
: SNMPSET Errors - Cannot find module
Hi Roy,
Unfortunately, the "Cannot find module" messages are simply warnings, and the
real errors that you're getting are the timeouts. The snmpset command lines
that you gave don't actually require the MIBs; you can get rid of the
Hi Roy,
Unfortunately, the "Cannot find module" messages are simply warnings, and
the real errors that you're getting are the timeouts. The snmpset command
lines that you gave don't actually require the MIBs; you can get rid of the
'-M ...' arguments on each line a
Hello,
I have an end of life D-Link DGS-3024 switch that I bought off of eBay. I
need to reset the login on it.
I hope you can help me debug it. Thank You.
I found the following script that should reset the login:
# File type (switch configuration)
snmpset -M DGS3024_MIB_20060721
Hi
I have tried communicating b/w agent and client using dynamic module (.so)
creation for snmp agent.
snmpget and snmpset working fine . But after restart/reset the agent does not
retain value . it shows the previous value which has been defined in .c
(generated through mib2c) file
tent file.
Bill
On Tue, Apr 25, 2017 at 12:40 AM, deepak.sachan deepak.sachan <
deepak.sac...@deal.drdo.in> wrote:
>
> Hi
>
> I have tried communicating b/w agent and client using dynamic module (.so)
> creation for snmp agent.
> snmpget and snmpset working fine . But if
Hi
I have tried communicating b/w agent and client using dynamic module (.so)
creation for snmp agent.
snmpget and snmpset working fine . But if restart the agent ,oid value doesnt
change . it shows the previous value which has been defined in .c file.
Any help ?
Thanks in advance
SnmpMan,
I have a question at this picture.I set the "private" to "write and read",but
it prompts "notWritable".
I send an order from a Win7 to another Win7.
zhoujs--
Go from Idea to Many App Stores Faster with In
hi all, I get a "Reason: (genError) A general failure occured" error!!!
when i use snmpset to netsnmp delayed_instance module with agentx/master, and
the delayed_instance module printf warning information : " dropping bad AgentX
request (wrong mode 2)" , i
Hi all,
I have an object which takes time to set, around 10 seconds, and the
command snmpset returns a timeout, even though the Set action actually
worked.
The set request is done this way:
snmpset -v 3 -u Admin -t 30 -r 0 -a MD5 -A "Admin-00" -l authNoPriv
172.27.42.191
Thanks Suresh,
We have to write /generate a c code even if our mib contains a simple integer.
I followed the link , now its snmpset and get are working for me.
http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_Subagent
to create a subagent for my mib . The subagent talks to net-snmp agent
;> > On Oct 27, 2014, at 7:15 AM, Vipul Mehta wrote:
>> >
>> > I have fixed MAX-ACCESS read-write to ACCESS read-write.
>> >
>> > but still the problem persists . Request all to plz provide valuable
>> > inputs.
>> >
>> >>
Vipul Mehta wrote:
> >
> > I have fixed MAX-ACCESS read-write to ACCESS read-write.
> >
> > but still the problem persists . Request all to plz provide valuable
> inputs.
> >
> >> On Mon, Oct 27, 2014 at 4:24 PM, Vipul Mehta
> wrote:
> >>
ead-write.
>
> but still the problem persists . Request all to plz provide valuable inputs.
>
>> On Mon, Oct 27, 2014 at 4:24 PM, Vipul Mehta wrote:
>> Hello,
>> Need some help related to snmpset command.
>>
>> I am trying to use netsnmp agent for publishing St
I have fixed MAX-ACCESS read-write to ACCESS read-write.
but still the problem persists . Request all to plz provide valuable inputs.
On Mon, Oct 27, 2014 at 4:24 PM, Vipul Mehta wrote:
> Hello,
> Need some help related to snmpset command.
>
> I am trying to use netsnmp agent fo
Hello,
Need some help related to snmpset command.
I am trying to use netsnmp agent for publishing Statistics of my
application on SNMP.
My application will call snmpset to push the statistics in snmpd and
the monitoring tool will pull statistics from snmpd.
Problem is :: that snmp set fails
ndler_registration
> netsnmp_create_table_data
> netsnmp_table_helper_add_indexes
> netsnmp_register_table
>
> The problem we are facing is that if our table is columns, c1, c2, and c3,
> and if c1 is of string data type.
> Now if we are doing “snm
he problem we are facing is that if our table
is columns,c1, c2, and c3, and if c1 is of string data type. Now if we are
doing “snmpset c1 c2 c3 ” we are getting these
valuesval1, val2 and val3 properly in code and they are getting properly
updated inthe table.But if we are giving columns in
er_registration
> netsnmp_create_table_data
> netsnmp_table_helper_add_indexes
> netsnmp_register_table
>
> The problem we are facing is that if our table is columns, c1, c2, and c3,
> and if c1 is of string data type.
> Now if we are doing “snmpset c1 c2 c3
that if our table is columns,
c1, c2, and c3, and if c1 is of string data type.
Now if we are doing “snmpset
c1 c2 c3 ” we are getting these values
val1, val2 and val3 properly in code and they are getting properly updated in
the table.
But if we are giving columns in different order like
solving the below problem, in doing SNMPSET for
> tables with string data?
>
> thanks and regards
> S Sarath
>
>
> On Friday, August 22, 2014 9:03 PM, sarath azad
> wrote:
>
>
> Hello,
>
> Could you please help in resolving the below issue?
> For SNMPSE
Hello,
Could you please help in solving the below problem, in doing SNMPSET for tables
with string data?
thanks and regards
S Sarath
On Friday, August 22, 2014 9:03 PM, sarath azad wrote:
Hello,
Could you please help in resolving the below issue?
For SNMPSET on a table which contains
Hello,
Could you please help in resolving the below issue?
For SNMPSET on a table which contains a column of
"string" data type, if we are giving values of all the columns in the
single SNMPSET query, then we are getting the values of the string column
properly,
only if the order
Hi,
the data you "set" into a device is not saved through reboot.
Fortunately, the snmpd.conf file allows you to set the default syslocation
/ sysname / syscontact values using the following lines :
*syslocation my_saved_location*
*syscontact my_saved_contact*
*sysName my_saved_name*
2014-08-13
I can set data fine. (ie: sysName.0 ; sysContact.0 ; sysLocation.0) When I
re-probe the devices with my NMS, the data I set shows up. However, if I reboot
the device, the data fields return to the default values.
I've seen this with a couple different devices. The example I'll use in this
cas
Hi,
I am trying to load a textfile into a Cisco router using SNMPSET. On SunOS
or some other unix flavours I can create a file i.e. snmpset.template, copy
this to the /tftpboot folder and execute the command using the syntax below.
However when executing this on linux, I get an errormsg
e : SNMPv2-SMI::enterprises.4890.1.1 = No Such Object
available on this agent at this OID
So I guess that snmpd is telling me he can't find anything under this tree,
because nothing has been set yet.
So I tried to set this test variable with snmpset on the shell command :
#snmpset -v 2c -c pr
Sverre Moe writes:
> Calling with no parameters
> snmpset netSnmpHostsTable.0
> or calling with 3 parameters
> snmpset netSnmpHostsTable.1 something netSnmpHostsTable.2 something else
> netSnmpHostsTable.3 something more
You can do functionally what you want to do, though a
ill setting multiple values/columns for one OID be handled as one
request by my handler?
I'm thinking perhaps tables is not the right structure for my commands as I
might have columns, but only 1 row anyway.
After taking a look at the code for getting values from the snmpset command it
see
If there is anyone active on this mailing list I hope they can answer me on
this question.
So down to business:
I need to know how I can set multiple parameter values with snmpset for my
commands?
I have implemented my commands as simple scalars, but lately I was thinking
perhaps I needed to
Hello Dave,
Thank you for the comments.
I would see to it that i study more on agent and extending the support for
agent.
With Regards
Anirudha Patil
On Wed, Oct 31, 2012 at 6:06 PM, Dave Shield wrote:
> On 31 October 2012 11:59, Anirudha Patil wrote:
> > I have a concern about
On 31 October 2012 11:59, Anirudha Patil wrote:
> I have a concern about "snmpset" command. I'm not able to set a
> hrStorageDescr or hrStorageType.
Correct.
>From the definition of these objects in HOST-RESOURCES-MIB:
hrStorageType OBJECT-TYPE
MAX-ACCESS read-only
Hello,
I have a concern about "*snmpset*" command. I'm not able to set a
hrStorageDescr or hrStorageType.
I have a working system and a CDROM mounted on my server [/mnt]. Now the
SNMP response show the type for CDROM detected [mounted on dir /mnt] as *
hrStorageFixedDisk*. I wish
Hi Dave,
Thanks for your responds,
the MIB was created by Mod-Apache-SNMP project that is an open source
solution and extension of Apache project for SNMP protocol since 2006.
http://mod-apache-snmp.sourceforge.net/english/index.htm
http://sourceforge.net/projects/mod-apache-snmp/files/
I downl
che2MIBStatus(2) 5 }
When I eject snmpget or snmpset it doesn't work
root@PandoraServer:~# snmpget -c apache2 -v 2c 192.168.1.10 serverStatus.0
APACHE2-MIB::serverStatus.0 = No Such Object available on this agent at
this OID
root@PandoraServer:~# snmpset -c apache2 -v 2c 192.168.1.10 serverStatu
On 20 August 2012 14:27, luiscc1989 wrote:
> I'm trying to install a new MIB (APACHE2-MIB) in my host and I think that it
> recognizes. I copied the MIB into the default mibdirs, however it doesn't
> get any data.
Have you written any code for the agent to implement this MIB?
Please see the FAQ
che2MIBStatus(2) 5 }
When I eject snmpget or snmpset it doesn't work
root@PandoraServer:~# snmpget -c apache2 -v 2c 192.168.1.10 serverStatus.0
APACHE2-MIB::serverStatus.0 = No Such Object available on this agent at
this OID
root@PandoraServer:~# snmpset -c apache2 -v 2c 192.168.1.10 serverStatu
Im starting to use lcov (a coverage tool) on one of our projects that has a
net-snmp interface, and Im getting some false-negatives with the SNMPSET
handler code that I cant explain.
I _KNOW_ that the test vector script is exercising each read-write
accessible parameter with several boundary
On 14 March 2012 21:52, X Z wrote:
> I wonder if snmpset can be turned off without recompiling the source code?
Use access control on the agent.
If you only have "rocommunity" and/or "rouser" directives
(or the equivalent), then SET requests
Hi,
I wonder if snmpset can be turned off without recompiling the source code?
ThanksXuan--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes us
I'm using snmpset version 4.2.3 on a server, which has multiple
subinterfaces(eth0 10.10.10.1/24; eth0:1 192.168.1.3/24; eth0:2
192.168.1.5/24; eth0:200 192.168.1.90/24). I need to use snmpset in a
way, that packets sent from this server use source address
192.168.1.5. In other words snmp
On 8 March 2012 01:51, Alex Hu wrote:
> I am trying to use net snmp for our test project. I have installed net snmp
> 6.6.1.1 on my 64 bit Ubuntu machine.
>
> I can successfully run snmpget command...
> But when I try to test its snmpset command, I keep getting WRONG LENGTH
>
-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0 = INTEGER: 1
But when I try to test its snmpset command, I keep getting WRONG LENGTH error:
snmpset -v 2c -c public localhost NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0
i 5
Error in packet.
Reason: wrongLength (The set value has an illegal length from
On 11 December 2011 09:34, h bagade wrote:
> I'm trying to set different OIDs on freebsd8.2 with use of snmpset. In some
> cases it works but in others it doesn't!
>
> I was successful in setting sysName(1.3.6.1.2.1.1.5.0) and sysLocation(
> 1.3.6.1.2.1.1.6.0) but
Hi all,
I'm trying to set different OIDs on freebsd8.2 with use of snmpset. In some
cases it works but in others it doesn't!
I was successful in setting sysName(1.3.6.1.2.1.1.5.0) and sysLocation(
1.3.6.1.2.1.1.6.0) but couldn't set ipForwarding( 1.3.6.1.2.1.4.1.0)
Hello Dave,
That was quick and very informative. I will go through the RFCs again. Thanks.
Regards,
Ashok
On Tue, Oct 25, 2011 at 6:30 PM, Dave Shield wrote:
> On 25 October 2011 13:17, ashok kumar wrote:
>> While I am trying snmpset with -v1 and -v2c, I am getting different
>&
On 25 October 2011 13:17, ashok kumar wrote:
> While I am trying snmpset with -v1 and -v2c, I am getting different
> reasons for errors.
>
> Why am I getting noSuchName for -v1?
Because that is the defined behaviour for SNMPv1.
See RFC 1157, section 4.1.5, step (1)
>
Hello All,
I have a community "benu123" configured as read-only. I could do
snmpget with both -v1 and -v2c.
While I am trying snmpset with -v1 and -v2c, I am getting different
reasons for errors. I believe the error reason should be noAccess as
in the -v2 case.
Why am I getting noSu
Hi All,
I am trying to use the shared library with net-snmp.
Before trying my .SO lib, I try to test the snmpd with
nstAgentPluginObject.so I always get noAccess error
for the snmpset operations.
Here is the log:
kanatara-lnx:270> sudo snmpd -f -L -DnstAgentPluginObject,dlmod &
[1
Hi list,
Any one guide me how to SET IP address of PC/Node/Router using SNMP ...
Any one try this? plz share it here..
Regards
--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabi
make a set on the variable.
# snmpget -v2c -c telpublic localhost nstAgentModuleObject.0
NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0 = INTEGER: 12
The value 12 was because I had given that as the default value in
nstAgentModuleObject.c But when I do snmpset it doesn't work.
# snmpset -v
>>>>> On Thu, 19 May 2011 09:03:49 +0200, "Giuseppe Modugno"
>>>>> said:
GM> snmpset -v2c -c private agent PRIVATE-MIB::myVar.0 = 23.4V
GM> to send to the agent the request to set a the new value 23.4V for
GM> myVar. On the wire, the value
Dear list,
I have a private MIB with an INTEGER OID with DISPLAY-HINT "d-1" and
UNITS "V".
It means that the value 123 is shown (by snmpget or other managers)
as "12.3 V".
It should be nice if I can use the same format also for SET requests
to the agent. So I
Understood, thanks so much Dave
Leo;
--- On Mon, 4/18/11, Dave Shield wrote:
From: Dave Shield
Subject: Re: sending an IPC for incoming snmpset commands
To: "Leo Lin"
Cc: net-snmp-users@lists.sourceforge.net
Date: Monday, April 18, 2011, 6:42 AM
On 18 April 2011 14:10, Leo
On 18 April 2011 14:10, Leo Lin wrote:
> I make use of text file to exchange the value of OID between my main program
> and snmpd. when snmp manager issue a get, snmpd reads the contents from
> this text file, and write to it with 'sets'.
In which case, it would make more sense to trigger the I
;sets'. I use several modules to extend my snmp agent,
and I would like to use IPC to notify my application program when and OID value
has changed due to the snmp manager.
Thanks!
Leo;
--- On Mon, 4/18/11, Dave Shield wrote:
From: Dave Shield
Subject: Re: sending an IPC for incomi
On 17 April 2011 03:02, Leo Lin wrote:
> I would like to send an interprocess communicatio message whenever
> an snmpset command is received by the snmpd.
Regardless of the OID that is being set?
Why? What are you trying to do here?
> I checked the snmpd source code, and seems that
Hi,
I would like to send an interprocess communicatio message whenever an snmpset
command is received by the snmpd. I checked the snmpd source code, and seems
that my custom code should be place in the receive() function, however, I
cannot find where the requests are handled beside my custom
On 13 April 2011 02:05, liuying wrote:
> I have a problem about snmpset,when I set only one variable,all the
> values of variables are changed .
That's because you only have one underlying variable (example_int).
All three scalar MIB objects are reporting this same val
Dear:
I have a problem about snmpset,when I set only one variable,all the
values of variables are changed .
I want to change the value of only one variable,what can I do to
solve the problem?
For example,when I use:
"snmpste -v2c -c private localhost upFlow.0 i 3&quo
Hi:
I have a problem about snmpset,when I set only one
variable,all the values of variables are changed .
I want to change the value of only one variable,what can I do
to solve the problem? Looking forward for your help!
Here is p
That's easy: make a break :)
(After each case block)
Br,
Markus
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
liuying wrote:
Hi:
I have a problem about snmpset,when I set only one variable,all the
values of variables are changed .
I want to c
Hi: I have a problem about snmpset,when I set only one variable,all the values of variables are changed .
I want to change the value of only one variable,what can I do to solve the problem? Looking forward for your help!
Here is parts of my program,"example_int"i
On 9 March 2011 11:50, Naama Bar Menachem
wrote:
> Thank you!
> But, I fail to set it to 1:
>
> snmpset -v 2c -c private 127.0.0.1 UCD-SNMP-MIB::versionUpdateConfig i 1
> Error in packet.
> Reason: notWritable (That object does not support modification)
> Failed
Subject: Re: change configuraion throught snmpset - (without restart)
On 9 March 2011 11:50, Naama Bar Menachem
wrote:
> Thank you!
> But, I fail to set it to 1:
>
> snmpset -v 2c -c private 127.0.0.1 UCD-SNMP-MIB::versionUpdateConfig i
1
> Error in packet.
> Reason: notWritable (Th
Thank you!
But, I fail to set it to 1:
snmpset -v 2c -c private 127.0.0.1 UCD-SNMP-MIB::versionUpdateConfig i 1
Error in packet.
Reason: notWritable (That object does not support modification)
Failed object: UCD-SNMP-MIB::versionUpdateConfig
Thank you, Naama
-Original Message-
From
On 8 March 2011 16:03, Naama Bar Menachem
wrote:
> But I didn't understand your answer.
> What does this option do?
If you've changed the contents of the snmpd.conf file,
then setting this object will tell the agent to reload those
config changes, without having to restart the agent completely.
Sent: Tuesday, March 08, 2011 5:39 PM
To: Naama Bar Menachem
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: change configuraion throught snmpset - (without restart)
On 8 March 2011 15:06, Naama Bar Menachem
wrote:
> I would like to allow users to change SNMP configuration (for example:
>
On 8 March 2011 15:06, Naama Bar Menachem
wrote:
> I would like to allow users to change SNMP configuration (for example:
> community name, trap host address…) using a snmpset command.
$ snmptranslate -Td UCD-SNMP-MIB::versionUpdateConfig
UCD-SNMP-MIB::versionUpdateConfig
versionUpdate
Hi
I would like to allow users to change SNMP configuration (for example:
community name, trap host address...) using a snmpset command.
The only way I know to do that is by editing the snmpd.conf file and
restart the agent, however that way- I will not be able to respond to
the set request
Hello!
I'm trying to use snmpset over TCP protocol, but can't find a way, is
somewhere option for snmpset to use TCP protocol?
snmpget -v2c -c private 192.168.0.10:171
is timeout, but I'm sure that snmpd on another station is running with 171
opened port.
Bes
I found solution by myself:
snmpwalk -v2c -c private tcp:192.168.0.10:171
anyway thanks =)
2011/2/25 Egor
> Hello!
>
> I'm trying to use snmpset over TCP protocol, but can't find a way, is
> somewhere option for snmpset to use TCP protocol?
>
> snmpget -v2c -c priv
Hi,
[change the subject line of my previous mail for quick reference]
Snmpset response differently on Linux(Debian) and MIPS platform
I have another issue
For the reference I have attached the file(dot-c and dot-h)
When I run snmp on linux machine(Debian) And do the snmpset it works
properly
snmpget, it will not create this error, as it does not go through
the several SET modes as in snmpset.
Hope it helps,
Leo;
--- On Mon, 11/29/10, jack n wrote:
From: jack n
Subject: Re: snmpset gives an gen Error message
To: "Leo Lin"
Cc: "Net-snmp-users"
Date: Monday,
unsubscribe
--
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with
placed them under
> /agent/mibgroup.
>
> Now when I try to run snmpwalk and SNMPGET request they work succesfully,
> but when I run SNMPSET for the same OID, it fails and returns an error.
>
> *# snmpwalk -v 1 localhost -c public 1.3.6.1.8.1.1.2321.79.2.1.5.4*
> *.1.3.6.1
eo Lin * wrote:
>
>
> From: Leo Lin
> Subject: snmpset gives an gen Error message
> To: "Net-snmp-users"
> Date: Saturday, October 16, 2010, 2:38 PM
>
>
>Hi,
>
> I've been extending the snmpd with my own modules. I made sure that each
> module
Dave thanks a lot ! worked like magic.
Kobi
On Sun, 2010-11-28 at 22:05 +, Dave Shield wrote:
> On 28 November 2010 20:30, Kobi Biton wrote:
> > # snmpset -v 2c -c boodi-set localhost ApocValue i 50
> > Error in packet.
> > Reason: notWritable (That object does not
On 28 November 2010 20:30, Kobi Biton wrote:
> # snmpset -v 2c -c boodi-set localhost ApocValue i 50
> Error in packet.
> Reason: notWritable (That object does not support modification)
> Failed object: MY-COMPANY3-MIB::ApocValue
> ApocValue OBJECT IDENTIFIER ::= { myCompany3MIB
hi there I am trying to write a very simple code single mib , single
field (see below) , the purpose is to perform an snmpset from bash to
this single field via script and then a simple snmpget from manager
station , I am using mib2c with this template mib2c.int_watch.conf ,
themn I am using gcc
hi I recently got my own IANA PEN enterprise number , I am trying to
understand what needs to be done In order to enable snmpset under my new
number , do I need to write my own mib ? Is there a faster way on doing
so ? how complicated is it ?
Thanks,
Kobi
Hi All,
I had placed my private MIBs under /usr/share/snmp/mibs and compiled them
using mib2c.
I got .c and .h files, added my code in the .c file and placed them under
/agent/mibgroup.
Now when I try to run snmpwalk and SNMPGET request they work succesfully,
but when I run SNMPSET for the same
Hi Dave,
I found my mistake, I used
strlen(requests->requestvb->val.string) to find the length of the string, but
this is not null terminated string, so it is returning the longest string I've
ever set with snmpset, in this case "private"
if I use, requests->reques
On 18 October 2010 15:13, Leo Lin wrote:
> Then, I issue an snmpset and modify the contents to a strlen less than
> 'private' (7).
> snmpset does it right the first time, but consecutives calls to snmpset,
> gives me the remainder of 'private'
It sounds as if yo
Hi,
I'm using net-snmp-5.6.rc1, and I just encontered a strange behavior while
issuing multiple snmpset on octet string oids.
I have an oid that holds an octet string. When my module is initialized, the
contents of the oid is initialized to "private".
Then, I issue an snmp
I've found the bug, now it's working fine.
Thanks!
Leo;
--- On Sat, 10/16/10, Leo Lin wrote:
From: Leo Lin
Subject: snmpset gives an gen Error message
To: "Net-snmp-users"
Date: Saturday, October 16, 2010, 2:38 PM
Hi,
I've been extending the snmpd wit
Hi,
I've been extending the snmpd with my own modules. I made sure that each
module is working properly before adding another one.
Suddendly, on one of the latest modules, netsnmp builds ok, but I get an error
while using snmpset command.
I also tested the snmpset with a library
value of the column given a index,
the syntax is
snmpset -v1 -cprivate localhost ..
my index field is an ASN_OCTET_STR,
ps/ sorry to double-post, hit the wrong key in yahoo mail editor...
--- On Thu, 10/7/10, Leo Lin wrote:
From: Leo Lin
Subject: Re: snmpset table values using oid inst
I added the following code to snmpset.c to display the parsed oid
int oid_count = 0;
prinft("\noid = ");
for (oid_count = 0; oid_count < name_length; oid_count++){
}
--- On Wed, 10/6/10, Leo Lin wrote:
From: Leo Lin
Subject: snmpset table values using oid instead o
mands that look something like (valid authentication information not shown
in these commands): % snmpwalk localhost netSnmpIETFWGTable
nsIETFWGChair1."snmpv3" = "Russ Mundy"
nsIETFWGChair2."snmpv3" = "David Harrington"
% snmpset local
So I can't have the same community name for both 'rwcommunity' and
'rocommunity' ...
I removed the rocommunity line and it gets better:
Error in packet.
Reason: notWritable (That object does not support modification)
Failed object: UCD-DEMO-MIB::ucdDemoPublicString.0
At least I have some positiv
You might try a different community than "public". I'm betting that you
have a 'rocommunity' with public around as well and it's conflicting.
--
Wes Hardaker
Cobham Analytic Solutions
--
This SF.net Dev2Dev email is sp
Hello,
I'm trying to work something out with snmpset (Net-SNMP 5.5).
I have added this line to my snmpd.conf
rwcommunity public localhost
And I did not set any restriction to the community 'public'.
Then I try to set a dummy string to it with this command:
snmpset -v 2c -c p
Hi everybody
I am currently working in implementing a snmpv3 user. While snmpget and
snmpwalk work perfectly fine, I have problems with snmpset. I always get the
the same notWriteable answer if I wanna change some values
So my setup
createUser snmpv3_SHA_authNoPriv SHA "helloworld&qu
Subject: RE: snmpset - OSPF-MIB
To: "Nina Cukic" , net-snmp-users@lists.sourceforge.net
Date: Thursday, 1 July, 2010, 1:20
> From: Nina Cukic [mailto:ninacu...@yahoo.co.uk]
> Sent: Wednesday, June 30, 2010 4:07 PM
> Well I am still having problem with snmpset when I am usig to ch
1 - 100 of 370 matches
Mail list logo