leCauseOBJECT-TYPE
> SYNTAX DisplayString
> MAX-ACCESS read-write
> STATUS current
> DESCRIPTION
> "the probable cause of th
"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 $default_PC = "PC 1";
sub myhandler {
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 = "SP 1";
my $default_PC = "PC 1";
:
Case no. 1) If the SNMPSET arrives to my subagent and it is marked as delayed,
the while snmp system is frozen. No other clients can do snmp commands such as
snmpget, snmpset, snmpwalk,.. After the delayed snmpset request is marked as
non delayed, then clients can again communicate with master
Hello!
How to get value in perl extension via command as below.
snmpset -c private -v 1 localhost .1.3.6.1.4.1.318.2.1.2.1.2.1 s
i.e. How to get the value "" for the variable $string_value
Thanks
- code -
#!/usr/bin/perl
use NetSNMP::OID (':all');
u
hello, I have a question of snmpset command. Do you know how to solve this
problem.
I execute the command "snmpset -v 3 -u [username] -l authPriv -a sha -A
[password] -x aes -X [cipherkey] [ip]
".1.3.6.1.4.1.2011.5.25.42.3.1.1.1.1.3.33" x "3F FF FF FF FF FF F8".
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
ill
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 restart the
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
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 val1 c2 val2 c3 val3” we are getting these
valuesval1, val2 and val3 properly in code and they are getting properly
updated inthe
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 val1 c2 val2 c3 val3” we are
getting these values val1, val2 and val3 properly in code
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 val1 c2 val2 c3 val3” 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
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 val1 c2 val2 c3 val3” we are
getting
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 saraths...@yahoo.co.in
wrote:
Hello,
Could you please help in resolving the below issue?
For SNMPSET on a table which contains a column of string
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 of column values
to view the content of this VLAN.DAT
file.
Best Regards,
Keshav Lute
-Original Message-
From: Edouard COLE [mailto:e...@rg-systemes.com]
Sent: Thursday, November 29, 2012 8:56 PM
To: Lute,K,Keshav,DMR C; net-snmp-coders@lists.sourceforge.net
Subject: RE: Unable to perform SNMPSET
On Tue, Feb 19, 2013 at 05:00:41PM +, keshav.l...@bt.com wrote:
HI,
I have downloaded vlan.dat file from the Cisco IOS router using SNMP
TFTP transfer.
Now I am unable to view the content of this .dat file as I have tried opening
it with notepad,Wordpad,textpad,Microsoft word but
-coders@lists.sourceforge.net
Subject: RE: Unable to perform SNMPSET operation
Hi,
What's the prompted error?
- sandvige
-
HI Team,
I have installed net-snmp tool Version: 5.6.1 on my linux
box and found that SNMPSET is not working
HI Team,
I have installed net-snmp tool Version: 5.6.1 on my linux
box and found that SNMPSET is not working properly.
I am able to get device details through snmpget but not through snmpset.
Getting an timeout response.
What can be the cause here.
Best Regards,
Keshav Lute
Am able to solve that problem if i run with sysName am getting the correct
result but when i use other objects am getting the following error
root@newuser-desktop:/home/newuser# snmpset -v 2c -c private localhost
sysName.0 s office
SNMPv2-MIB::sysName.0 = STRING: office
root@newuser-desktop
On 3 May 2012 05:01, Durga Sree durga.s...@lnties.com wrote:
Am able to solve that problem if i run with sysName am getting the correct
result
but when i use other objects am getting the following error
root@newuser-desktop:/home/newuser# snmpset -v 2c -c private localhost
sysName.0 s
Hi,
I am facing problem with snmpset.
after alkl settings in access control still am not able to solve the problem
I am getting the following error
root@newuser-desktop:/home/newuser# snmpset -v 2c -c private localhost
sysLocation.0 s Hello
Error in packet.
Reason: notWritable (That object does
On Wed, 2 May 2012 09:35:31 + Durga wrote:
DS Hi,
DS I am facing problem with snmpset.
DS after alkl settings in access control still am not able to solve the
DS problem I am getting the following error
DS
DS root@newuser-desktop:/home/newuser# snmpset -v 2c -c private localhost
DS
Hi,
Am getting different error when i run snmptrap command.following is the
error
root@newuser-desktop:/home/newuser # snmpset -v 2c -c private
XXX-MIB::XXX.0 i 100
i: Bad object type:1
if i change the data type to s (string,i.e just to check which error it
gives) instead of i it gives
Den 02-05-2012 17:36, Jasti Durgashree skrev:
Hi,
Am getting different error when i run snmptrap command.following is
the error
root@newuser-desktop:/home/newuser # snmpset -v 2c -c private XXX-MIB::XXX.0
i 100
i: Bad object type:1
Where is the hostname?
/Niels
--
Niels Baggesen
Hi all,
I am facing a problem with snmpset, even though i have defined my mib
object to be read-write am getting the following problem
so can anyone please help?
root@ubuntu:/home/user# snmpset -v 2c -c public localhost XXX.0 s mumbai
Error in packet.
Reason: noAccess
Failed object: SNMPv2
On 1 May 2012 13:15, Jasti Durgashree shreemo...@gmail.com wrote:
I am facing a problem with snmpset, even though i have defined my mib
object to be read-write am getting the following problem
so can anyone please help?
Check the access control settings for your agent.
From the FAQ:
Why
i understood what is snmpset bt am asking how to parse oid in code
On Tue, Apr 17, 2012 at 9:53 PM, Niels Baggesen
n...@users.sourceforge.netwrote:
On Tue, Apr 17, 2012 at 08:47:04PM +0530, Jasti Durgashree wrote:
Hi all,
can anyone please tell me about how to set oid value in snmpset.c
On 18 April 2012 16:44, Jasti Durgashree shreemo...@gmail.com wrote:
i understood what is snmpset bt am asking how to parse oid in code
From the code file you referenced:
oid name[MAX_OID_LEN];
size_t name_length;
name_length = MAX_OID_LEN
Hi all,
can anyone please tell me about how to set oid value in snmpset.c?
--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app
On Tue, Apr 17, 2012 at 08:47:04PM +0530, Jasti Durgashree wrote:
Hi all,
can anyone please tell me about how to set oid value in snmpset.c?
man snmpset ???
What is it you do not understand?
/Niels
--
Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net
The purpose
Hi,
I found snmpset misbehaves when multiple OIDs are given.
Note: One OID of agent and one of sub-sgent.
Even when the oid of main agen is not writable , snmpset shows the result as
succeded.
Any hint/suggestion on this ?
Thanks,
Nils
This message and any
On 25 November 2011 09:36, Nilesh Karle nilesh.ka...@qlogic.com wrote:
I found “snmpset” misbehaves when multiple OIDs are given.
Note: One OID of agent and one of sub-sgent.
Even when the oid of main agen is not writable,
snmpset shows the result as succeded.
Hmmm... sounds odd.
What
Hi,
Please let me know how to set IP address for a device e.g. Linux server
using IF-MIB with snmpset application.
Sundar
--
All the data continuously generated in your IT infrastructure
contains a definitive
the
sp snmpset command to the snmp agent, which in turn will start the 3rd
sp party application.
sp is it feasible ? is it a practice in net-snmp ?
Yes it is; and in fact that's one purpose from the original version of
the agent a long time ago.
See the snmpd.conf manual page on the 'extend', 'pass
I like to define an MIB(OID) and implement in extention agent . As part of that
implementation I like to run an application script ( let's say to start or
stop an application). User will throw the snmpset command to the snmp agent,
which in turn will start the 3rd party application
Den 15-12-2010 04:27, nattaphon.phongwetpan...@thomsonreuters.com skrev:
Dear Robert Story,
Sorry for my mistake. It is joeTest.0. However, it still have a same
problem.
Your function does not specify a return value, so it will be some random
value. You should normally return
Dear Robert Story,
Sorry for my mistake. It is joeTest.0. However, it still have a same
problem.
#snmpset -u amstest -a MD5 -l AuthNoPriv -c private -A 0spring1 -v 2c
localhost REUTERS-JO-TEST-MIB::joeTest.0 i 1
Error in packet.
Reason: (genError) A general failure occured
Failed object
On Tue, 14 Dec 2010 15:32:39 +0700 nattaphon.phongwetpan...@thomsonreuters.com
wrote:
NPC #snmpset -u amstest -a MD5 -l AuthNoPriv -c private -A 0spring1 -v 2c
NPC localhost REUTERS-JO-TEST-MIB::joeTest.1 i 1
Is joeTest.1 a typo? The oid you registered and the oid in the error are
joeTest.0
All,
Is it possible to do snmpwalk on the snmpCommunityTable?
If so do you use v1, v2, or v3 command options?
In addition, is it possible to use snmpset command to create a new community
entry in snmpCommunityTable?
If so which snmpset command options must be used, v1, v2, or v3 options
- if the information
simply isn't there, then you can't retrieve it!
In addition, is it possible to use snmpset command to create a
new community entry in snmpCommunityTable?
In principle, yes - assuming the SNMP agent implements this table.
In the case of the Net-SNMP agent - no.
If so which snmpset command
On Tue, 13 Apr 2010 15:20:57 +0530, Hemant Soundankar
hemantsoundan...@gmail.com said:
HS please tell me where is the string value cached in the following set
HS command
In the request-requestvb varbind structure.
HS and in which case will the switch statement jump when i run the
HS above
On Sun, 11 Apr 2010 10:45:32 +0530, Hemant Soundankar
hemantsoundan...@gmail.com said:
HS case MODE_SET_ACTION:
HS Please tell me where do i make changes and what changes are to be made.
The real change should be in the ACTION phase, and the rest of the code
is to allow you to implement a
Hello ALL,
I am trying to work on snmpget and snmpset on an simple MIB that i have
created.
The objective of my subagent will be -
I have a simple text file which will contain only one word (eg either
Postgres or MySQL).
Now from the agent's machine i have to run a snmpset command for this file
Hello ALL,
I am trying to work on snmpget and snmpset on an simple MIB that i have
created.
The objective of my subagent will be -
I have a simple text file which will contain only one word (eg either
Postgres or MySQL).
Now from the agent's machine i have to run a snmpset command for this file
I didn't see a response to this old message, and I hope you solved the problem
on your own. Just answering for the archives in case someone else ran into
this same problem.
On Tue, 8 Dec 2009 20:35:22 -0800 (PST) nathan wrote:
N I am calling snmpset on an OID like this...snmpset -v2c -cpublic IP
2009/12/28 Francesco Andreozzi - Gamestorm.it
francesco.andreo...@gamestorm.it:
I write some agents, all works great!
when i start a snmpd some agent have a null value..
The value of a MIB object must match the syntax defined
in the MIB file. This cannot include the type NULL.
The NULL
Hi all, just a question... i hope for a solution :D
I write some agents, all works great!
when i start a snmpd some agent have a null value..
i can work on my agent with snmpget and snmpset without problem, but my
question is... there is a way to set a value to NULL with an snmpset
command
On Thu, Dec 24, 2009 at 5:48 PM, nathan nitha_2...@yahoo.com wrote:
You can use some OID to send the
meaningful information, and everytime
you do the set include those OID.
You mean I need to do a snmpget on another OID to get the meaningfull info
after I do the snmpset
You can use some OID to send the
meaningful information, and everytime
you do the set include those OID.
You mean I need to do a snmpget on another OID to get the meaningfull info
after I do the snmpsetif this is what you meant are there any other ways,
not snmptrap, to send back
Hi,
I am just wondering if I can customize the response as a result of a snmpset.
In other words, i want to send back some meaningfull information as a result of
snmpset. currently, the response of snmpset is the OID and the value you set
thanks
2009/12/23 nathan nitha_2...@yahoo.com:
I am just wondering if I can customize the response as a result of a snmpset.
No.
currently, the response of snmpset is the OID and the value you set
Correct.
That's what the specification of SNMP requires.
Dave
2009/12/9 nathan nitha_2...@yahoo.com:
The OID is my own, and it is nothing to do with OS.
It is a very simple integer value from my MIB tree.
Ah - so it's presumably a cross-compiling issue.
I'm afraid that I have no experience of cross-compiling,
so can't help you with this one.
Dave
2009/12/9 nathan nitha_2...@yahoo.com:
I am calling snmpset on an OID like this...snmpset -v2c -cpublic IP OID i
23.
In x86 platform, the agent gets this message and the value 23, executes fine.
Then I cross compiled for MIPS, the same code, and issued the same cmd..
now the agent
thanks for your response.
The OID is my own, and it is nothing to do with OS. It is a very simple integer
value from my MIB tree.
--- On Wed, 12/9/09, Dave Shield d.t.shi...@liverpool.ac.uk wrote:
From: Dave Shield d.t.shi...@liverpool.ac.uk
Subject: Re: snmpset fails on MIPS
To: nathan
Hi,
I am calling snmpset on an OID like this...snmpset -v2c -cpublic IP OID i
23. In x86 platform, the agent gets this message and the value 23, executes
fine. Then I cross compiled for MIPS, the same code, and issued the same
cmd..now the agent is running on MIPS. Now the value received
Hi Dave,
I was able to stop the snmp which was respawning itself even it was
stopped. And started the snmpd with ipv6. But seems there is no com2sec6
support. It warns me and errors saying unable to open specified endpoint.
Should I explicitly add code to construct com2sec6 directive and parse
Hi Dave,
okay,If the config file snmpd.conf is not relevant to the NMS, why does
it reside in NMS? Will this be used by the other end(Agent) or something?
I am working as root in the Manager and another user(but with admin powers)
in Agent.
Before starting:
2009/9/1 Karthika Arunkumar karthika.arunku...@gmail.com:
okay,If the config file snmpd.conf is not relevant to the NMS, why does
it reside in NMS?
It wouldn't.
Will this be used by the other end(Agent) or something?
Yes - this is the agent configuration file.
Remember, the Net-SNMP
of SNMP. It has since been superceded by the use
of Textual Conventions, based on an underlying (binary) string type.
So if you are using low-level commands (like snmpset), then you'd typically
use type 'x' instead.
One other main thing is I have an agent where snmp is implemented. How do
2009/8/28 Karthika Arunkumar karthika.arunku...@gmail.com:
1)snmpd.local.conf (I edited agentaddress udp:161 to
agentaddress udp:161,udp6:161 )
2) shell script which invokes my snmpd. I invoke it as snmpd
udp:161,udp6:161 instead of snmpd udp:161
These two have the same effect.
You
addresses was a design mistake in the
original specification of SNMP. It has since been superceded by the use
of Textual Conventions, based on an underlying (binary) string type.
So if you are using low-level commands (like snmpset), then you'd typically
use type 'x' instead.
One other main
Thanks Dave. I saw the FAQ and that had the solution. Now I can set the IP
for Alert destination for object ...AlertDestinationIP
snmpset -v1 -c public 192.168.2.112 OID a 192.168.2.152
Here type 'a' is of type IPaddress. once the agent will start to support
ipv6, I will try to set ipv6 and find
Hi all,
How do I set an ipv6 through snmpset command.
Does type 'a' support anyother type or only IPV4.
Also setting ipv4 says a read-write variable is notwritable. How shall I
proceed.
Thanks so much,
Karthika.
--
Let
2009/8/19 Karthika Arunkumar karthika.arunku...@gmail.com:
How do I set an ipv6 through snmpset command.
What is the exact MIB object that you are trying to set?
Does type 'a' support anyother type or only IPV4.
No - 'a' is specifically for IPv4.
More recent MIBs tend to use a (binary
On Tue, 7 Jul 2009 17:43:06 -0600, chinmaya chinm...@gmail.com said:
c It seem like somewhere in between version 5.2.1.2 and 5.4.2.1
c snmp_sess_init was updated to disable engine id probe (session-flags
c |= SNMP_FLAGS_DONT_PROBE;), as a result of snmpv3_engineID_probe does
c nothing, just
: snmpset). And engine
time details for
the authoritative engine is added during snmp session open call (snmp_open)
and its
done by snmpv3_engineID_probe.
It seem like somewhere in between version 5.2.1.2 and 5.4.2.1 snmp_sess_init
was updated to disable engine id probe (session-flags
hi
my snmp version is 5.1.3 when i try to
snmpset -v2c -c public localhost .1.3.6.1.2.1.4.21.1.3.1 i 4 /*(this is the second ip table)*/
the wrong messsage like this:
Error in packet. Reason: noCreation (that table does not support row creation)Failed object: RFC1213-MIB::ipRouteMetric1.1
2009/5/6 崔适男 r...@tdg-tech.com:
my snmp version is 5.1.3
That is a very old version, and is no longer being supported.
We suggest you upgrade.
when i try to
snmpset -v2c -c public localhost .1.3.6.1.2.1.4.21.1.3.1 i 4
/*(this is the second ip table)*/
What do you see if you
Shield
Sent: Fri 3/20/2009 5:44 AM
To: EYRE Bernadette
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: processing of the multi varbinds in one snmpset command
2009/3/19 EYRE Bernadette bernadette.e...@alcatel-lucent.com:
if the snmpset command line has multiple varbinds (variables) to modify
2009/3/19 EYRE Bernadette bernadette.e...@alcatel-lucent.com:
if the snmpset command line has multiple varbinds (variables) to modify for
the same table
and the same row (index), how can one ensures that all vars are processed in
one request struct?
That's the reason that SET requests
: processing of the multi varbinds in one snmpset command
2009/3/19 EYRE Bernadette bernadette.e...@alcatel-lucent.com:
if the snmpset command line has multiple varbinds (variables) to modify for
the same table
and the same row (index), how can one ensures that all vars are processed in
one
Hello All,
if the snmpset command line has multiple varbinds (variables) to modify for the
same table
and the same row (index), how can one ensures that all vars are processed in
one request
struct?
Here is simple case of what I do and have:
I use snmpset command to set a variable but I also
2009/2/6 Pranesh Kulkarni pranes...@gmail.com:
Thanks to Dave and Robert,
I am using SNMP v2c , so I cannot do this .
Then use an appropriate (secret) community string.
That is the access control mechanism used for SNMPv1/2c
I will give try in SNMPV2/USM .
That doesn't make sense.
By Mistake I gave as SNMPV2/USM .
I will try in SNMPV3/USM
I am now using as commity(secret) string .
On Fri, Feb 6, 2009 at 3:15 PM, Dave Shield d.t.shi...@liverpool.ac.ukwrote:
2009/2/6 Pranesh Kulkarni pranes...@gmail.com:
Thanks to Dave and Robert,
I am using SNMP v2c , so I
wrote:
PK I am running my agent as the subagent under the root user. If I
am
PK login as normal user , and do the snmpset operation , it is allowing
to set
PK the parameter.But my requirement says , it should only set the
parameter if
PK it is root user ???
The snmp packet does
On Tue, 3 Feb 2009 13:13:50 +0530 Pranesh wrote:
PK I am running my agent as the subagent under the root user. If I am
PK login as normal user , and do the snmpset operation , it is allowing to set
PK the parameter.But my requirement says , it should only set the parameter if
PK it is root
Hi All,
I am facing problem in *snmpset* operation.
I am running my agent as the subagent under the root user. If I am
login as normal user , and do the snmpset operation , it is allowing to set
the parameter.But my requirement says , it should only set the parameter if
it is root
Hi ALL,
I want to set a OID parameter which is of type COUNTER64 using 'snmpset'.
The parameter has MAX-ACCESS read-write and is member of a Table. I am
trying following command
snmpset -v2c -cpublic localhost MY-MIB::Variable.1 U 1234
But agent sends back a response with error status
:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2008 08:43
To: Oleg Rabinovich
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: snmpset max string length.
Oleg Rabinovich wrote:
Is there any changes after the release (5.4.2) that can affect this issue?
I can try to build it from SVN trunk
Oleg Rabinovich wrote:
Is there any changes after the release (5.4.2) that can affect this issue?
I can try to build it from SVN trunk if needed.
Yes, I'd say it's worth a try.
+Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
Oleg Rabinovich wrote:
I need to be able to send a large string (about 8K) to my agentX
extension using snmpset.
After getting such string the master agent hangs and doesn't answer to
replies.
When the string size is smaller ( like 512) all is working fine.
What net-snmp version
:[EMAIL PROTECTED]
Sent: Monday, October 06, 2008 17:36
To: Oleg Rabinovich
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: snmpset max string length.
Oleg Rabinovich wrote:
I need to be able to send a large string (about 8K) to my agentX
extension using snmpset.
After getting such string
Hi
Is there a way to force snmpset to send a SET request with a null value
(ie. a 0-length octet string) ? I`ve searched the docs but I didn`t
find any information how to do it.
Best regards,
--
Maciej Grela
-
SF.Net
On 04/12/2007, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Is there a way to force snmpset to send a SET request with a null value
(ie. a 0-length octet string) ? I`ve searched the docs but I didn`t
find any information how to do it.
Doesn't
snmpset . someObject.0 s ''
work?
Dave
] [mailto:[EMAIL PROTECTED] On Behalf Of wqs
Sent: 28. november 2007 04:26
To: net-snmp-coders
Subject: snmpset problem
I have compiled my module into the agent,and run snmpset,first time I set a
long string:,it's ok;next time,I set a shorter string:bb,but the value
in the mib became bbaaa
I have compiled my module into the agent,and run snmpset,first time I set a
long string:,it's ok;next time,I set a shorter string:bb,but the value
in the mib became bbaaa,how could that happen?
my code related:
case MODE_SET_ACTION:
if ( sizeof(def_nodeType) strlen(requests
On 15/12/06, Clement Hsu [EMAIL PROTECTED] wrote:
the version I used is net-snmp 5-4, and its mib
template seems much simple than net-snmp-5-3-1.
Unlikely.
Both versions of the toolkit offer the choice of several different MIB
templates,
and v54 will include *all* that 5.3.1 does (and possibly
[Firstly, having asked a question, can you please *NOT* repeat the same question
again. The people who support this software are unpaid volunteers,
and answering
queries has to fit around other commitments - most particularly paid
employment.
Having sent your first message, please be patient
Dear Dave:
Thank you a lot , and I will follow your suggestion and not violate this
mistake again, and thanks once again;
Best Regards,
Clement Hsu
-- Forwarded message --
From: Dave Shield [EMAIL PROTECTED]
Date: 2006/12/14 下午 5:09
Subject: Re: about snmpset and data_set.c
Dear Dave:
I am really sorry for post the same message last time. And I will not
make this mistake again. the version I used is net-snmp 5-4, and its mib
template seems much simple than net-snmp-5-3-1.
The problem is that many codes which net-snmp package provided is so
different to mib
Dear All:
I am Clement. when I try to develop my own mib, I found I do not
realize the c template after mib2c, why you using switch (reqinfo-mode)
switch (reqinfo-mode) {
case MODE_GET:
case MODE_SET_RESERVE1
case MODE_SET_RESERVE2:
case MODE_SET_FREE
case
Dear All,
seting Hex values for MacAddress type MIB object with
snmpset command crahes for read-create table
snmpset -v 2c -c private destMacAddr.1 x
0x0a0b0c0d0e0f destRowStatus.1 i 4
any specific approch to handle the hex string data for
OCTET-STRING? It is not accepting the value if i give
Hi,
I am writing code to get and set values for our internal
vendor-defined MIB.
When I set a string value using SNMPSET, the following
problem occurs:
- if the string is longer than the previously set value,
SNMPSET works fine;
- if the string is shorter than the previously set value
a == ayan [EMAIL PROTECTED] writes:
a - if the string is shorter than the previously set value,
a the rest of the string buffer retains the characters
a from the previous SNMPSET operation.
It sounds like the code you're using copies the string into the old
buffer but doesn't append a '\0
On 18/08/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
When I set a string value using SNMPSET, the following
problem occurs:
- if the string is longer than the previously set value,
SNMPSET works fine;
- if the string is shorter than the previously set value,
the rest of the string buffer
, Rajagopal Shanmugam (Rajagopal Shanmugam)** CTR **
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: Disabling snmpset for a specific OID
On Tue, 27 Dec 2005 11:36:27 +0530 Rajagopal Shanmugam (Rajagopal
Shanmugam)**
CTR ** wrote:
RRS Is it possible to disable snmpset for a particular object
Hi snmp-gurus,
I am newbie to SNMP. Can somebody help me in setting SNMP_ERR_NOTWRITABLE
handler. I want to disable snmpset for a particular oid. Can help me with
small example or online tutorial with example.
Ravi R.S
-Original Message-
From: Robert Story [mailto:[EMAIL PROTECTED
On Tue, 27 Dec 2005 11:36:27 +0530 Rajagopal Shanmugam (Rajagopal Shanmugam)**
CTR ** wrote:
RRS Is it possible to disable snmpset for a particular object for a specified
RRS interval of time? This is for my project requirement.
Sure, just have the handler set the error for the varbind
1 - 100 of 157 matches
Mail list logo