On 22 January 2013 21:21, Guillermo Veneranda wrote:
> I try what you say and... It's Works! :)
But of course, oh ye of little faith
> Let's go now for the SET!
OK.
So go back to the code generated by mib2c.
Add the declaration of 'example1' as before,
and tweak the MODE_GET block to report
On 22 January 2013 10:23, Geet Bhatia wrote:
> I am trying to build a simple C trap receiver.
Is there any reason why you don't wish to use the standard 'snmptrapd'
application?
> Here I am calling function netsnmp_transport_open_server with application
> name and udp:162 as parameters. But thi
On 21 January 2013 20:20, Guillermo Veneranda wrote:
> Hi,
> I'm reading the files examples/netSnmpHostsTable* but I find these quite
> difficult to understand, This is going to take a while. Maybe I should try
> something easier that use subhandler function.
>
> Could you please show me a sim
On 16 January 2013 08:31, Zheng, Wenjie (Barclay)
wrote:
> I spend some time to study the iterator helper to retrieve external data
> outside from SNMP agent.
> I found that iterator uses a 'get first' and 'get next' way for get and
> getbulk requests.
The iterator uses 'get_first' and 'get_nex
On 13 January 2013 14:30, Vivek Nagaraj wrote:
> I had a quick question. Can you please suggest me platform (OS) and tools
> (IDE) used to develop and test feature/bugs?
Basic advice - use what you are most comfortable with.
I do most of my development on Linux, with a command-line terminal.
If
On 10 January 2013 16:00, Vivek Nagaraj wrote:
> Any bugs / feature requests in net-snmp that you might think I can handle as
> a fresher, can you please point me to?
One relatively self-contained feature that should be reasonably straightforward
to implement would be to extend the "forward" mech
On 9 January 2013 14:03, Vivek Nagaraj wrote:
> My passion was always to contribute a little bit to the opensource softwares.
> This might also provide me a good insight of how net-snmp works behind the
> scenes.
OK - so you're looking for some idea about what you might do
with/for the project
On 8 January 2013 21:33, Suna Sana wrote:
> I need net-snmp 5.4.1 source. Could you please share the link to get it.
See
http://sourceforge.net/projects/net-snmp/files/OldFiles/net-snmp-5.4.x/
Dave
--
Master SQL Se
On 8 January 2013 11:16, Vivek Nagaraj wrote:
> I am interested to work on net-snmp.
What are you wanting to do with the software?
It's a bit difficult to offer advice given the level of detail
you have provided so far :-)
Dave
---
On 7 January 2013 19:53, Suna Sana wrote:
> I added dlmod command in snmpd.conf under C:\usr\etc\snmp but its not
> loading.
> dlmod nstAgentModuleObjectTest test5DLL.dll
>
> test5DLL.dll has the function definition for init_ test5DLL.dll().
If the init function is called 'init_test5DLL.dll', the
On 7 January 2013 08:53, Zheng, Wenjie (Barclay)
wrote:
> I am using net-snmp provided agent.
Now I'm confused.
When you first posted, you said
"I am trying to implement an SNMP agent using net-snmp APIs"
and the code that you listed there doesn't look much like the standard
Net-SNMP agent.
On 7 January 2013 02:45, Zheng, Wenjie (Barclay)
wrote:
> What I did is to store the engineboot somewhere else from Agent,
> when agent restarts will read the last engineboot and increase 1,
> and response with new engineboot=2
But that's exactly what the Net-SNMP library should be taking care of
On 6 January 2013 17:40, Summers, Scott H wrote:
> One of the first things that MAN pages reference is to run SNMPCONF (which
> I've found I need to create).
snmpconf is one way to generate configuration files, yes.
But it's not actually necessary to use this.
As I said, these are simply text f
On 6 January 2013 17:24, Summers, Scott H wrote:
> At this point I'm simply trying to figure out how to generate the CONF files.
The configuration files are simple plain text files.
You can create them using your preferred text editor
There's no need to use any specialised tools for this.
See t
On 5 January 2013 13:21, Zheng, Wenjie (Barclay)
wrote:
> I try to use set_enginetime() by set the engineboots to a value stored in
> out side of agent.
I don't understand what you are trying to do here.
Is this call to 'set_enginetime' in the agent, or in the manager?
You shouldn't need to to
On 5 January 2013 03:41, Zheng, Wenjie (Barclay)
wrote:
> But when this process re-started, and there is another request comes in,
> SNMP agent will replies error:usmstatus not in timewindow.
That is correct - an SNMPv3 request will fail if the boot time/count
values in the
request don't match t
On 4 January 2013 19:19, Niels Baggesen wrote:
Is there a firewall . on the Linux host, that blocks SNMP?
That was my immediate reaction too.
If you're running iptables, and haven't tweaked the default settings,
it probably only accepts incoming requests for specific, known services
(which
On 2 January 2013 08:45, Zheng, Wenjie (Barclay)
wrote:
> I am trying to implement an SNMP agent using net-snmp APIs,
> I used below method to setup a SNMP agent process,called SNMP_agt.
:
> This agent works but I can not find the deamon process using "ps -ef|grep
> snmpd"?
What about "p
On 30 December 2012 23:08, SureshCilutions S wrote:
> Is there any function for register "string/char variable" similar to
> netsnmp_register_long_instance?
netsnmp_register_watched_instance
This can be used to handle strings or OID-valued variables.
See 'examples/watched.c' in the source t
On 30 December 2012 14:16, SureshCilutions S wrote:
> I have compiled the sub agent using AgentX
> Run the agent[snmpd] exe and subagent[exampled] exe separately, both are
> running fine. Request the GET operation for the OID
> ".1.3.6.1.4.1.8072.2.4.1.1.2.0" and received the response as "2"
On 18 December 2012 05:53, Zheng, Wenjie (Barclay)
wrote:
> We have concern to keep a cache of index, we might need audit to detect
> the mismatch between cache and external data.
How rapidly is the data changing?
If you took two snapshots, say 5 seconds apart, how likely is it that
they would be
On 17 December 2012 01:18, Zheng, Wenjie (Barclay)
wrote:
> Thanks for your response, it's really helps.
> Is there an example I can refer that SNNP can retrieve data from outside?
Hmmm...
there are probably not many examples of using the iterator to
walk through external data.
As I indica
On 14 December 2012 06:45, Zheng, Wenjie (Barclay)
wrote:
> I am trying to setup a SNMP Agent to manage data from outside of SNMP Agent.
> I try to use mib2c.iterate.conf to generate code, I found that the table
> handler need
> to keep a index list of the table data, but as my data is from out s
[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy
at the best of times - let alone at the moment. Keep
discussions to the list, where others can bot
On 1 November 2012 13:34, Jatin Bodarya wrote:
>For example, is it actually necessary to dynamically
> allocate memory within the 'getfield' routine?
> This is then parsed as a decimal number, and
> then released immediately.
>
> ->> yes as the original CSV file is very dynamically change its
On 1 November 2012 10:50, Jatin Bodarya wrote:
> (With attachment there is a full code)
First question:
Why are you creating two caches?
I would expect this to double the loading time
(Though given that poolTable_load1 doesn't
seem to be defined anywhere, I can't see
how this cod
On 1 November 2012 09:13, Jatin Bodarya wrote:
> Hi Dave,
I'm actually taking something of a sabbatical from Net-SNMP support at the
moment. It would be sensible to address your queries to the general community,
rather than to me personally, as I'm relatively unlikely to respond
> I have implem
On 16 October 2012 14:10, Giuseppe Modugno wrote:
> In this case, why to use the "service object" somethingChangedOID? The
> OID of the changed instance can be retrieved from the "extra" (not
> specified in the MIB) varbind that contains the value too, so the
> OBJECTS clause for the notification
On 16 October 2012 09:05, Giuseppe Modugno wrote:
>> Remember that you can always append additional varbinds to a
>> notification payload - over and above those listed in the MIB definitions.
> Really? I thought I was forced to append just the varbinds defined in
> the MIB. Which is the RFC wher
On 16 October 2012 08:32, Giuseppe Modugno wrote:
> Now I'd like to have an agent that sends a notification for *each*
> parameter: if an alarm occurs, if the user change a setting (even
> through SNMP SET) and so on.
>
> The only approach I know is to define in the MIB a different
> NOTIFICATION-
On 9 October 2012 14:02, Glenn Gagné wrote:
> May be, it could be a good update to add this information in specific
> manpage of snmpwalk
$ man snmpwalk
OPTIONS
[snip]
In addition to these options, snmpwalk takes the common options
described in the snmpcmd(1) manual page
On 5 October 2012 15:55, Glenn Gagné wrote:
> But I have a problem with some equipments due to the lack of using an
> alternative UDP port (non-standard UDP/161). I searched on the Internet to
> known how to use an alternative port with snmpwalk and the answer was : This
> option was removed in n
On 21 September 2012 08:23, Giuseppe Modugno wrote:
> Another idea would be the use of caching data helper, but I don't if it
> could be a real solution. Consider that many variables accessed from the
> serial bus are analog signals (voltages, currents, ...) and they may
> change frequently over t
On 12 September 2012 10:02, Jatin Bodarya wrote:
> But the issue is with popen(); call... when I am using SNMPWALK
> command to get value it is working perfectly and returning me correct
> value... but only 10-15 time... then after popen fails !
Have you considered closing the pipe a
On 11 September 2012 05:32, Jatin Bodarya wrote:
> If the port is allocated to another process kill it with
> Kill -9 PROCESSID
Arggg No!!
Do not NOT *NOT* use "kill -9" as your weapon of choice.
Use a simple "kill" by all means - that at least allows the
process a chance t
On 22 August 2012 09:11, Schmoll Walter wrote:
> ... as far as I know, strlcpy is not standard and only available on BSD
> related
> systems and slightly incompatible on Solaris (the return value is different)
> but not on Linux related systems nor on Windows (just checked with my Ubuntu
> 10.04
On 7 August 2012 15:59, Siva Esana -X (sesana - Tech Mahindra at
Cisco) wrote:
> No, the MIB modules are written by my group.
> I have the source code.
> The OIDs that I am working are enterprises OIDs.
If these are enterprise OIDs being written by your own group,
then I would have though you'd n
On 7 August 2012 13:09, Siva Esana -X (sesana - Tech Mahindra at
Cisco) wrote:
> The situation is we do not have MIB files as such and I want to generate the
> MIB from the code.
> Some kind of reverse engineering the MIB to say...
If you don't have the MIB - then there is no way to (automatical
On 7 August 2012 12:41, Siva Esana -X (sesana - Tech Mahindra at
Cisco) wrote:
> But do the net-snmp agent also keeps the mapping array for its own purpose?
Short answer: no, not really
Longer answer: yes, but...
Full answer:
There are two situations where the agent needs to make a connec
On 7 August 2012 12:16, Siva Esana -X (sesana - Tech Mahindra at
Cisco) wrote:
> I would like to know whether the net-snmp derives and keeps an array of all
> the OID names to OID number.
>
> I know a simple walk from the root will give all the OIDs implemented in
> this agent. But what I am inter
On 6 August 2012 08:34, Bart Van Assche wrote:
>> Doesn't this introduce a change in the API ?
>
> That change restores the API to what it has always been before July 30,
> 2012 (see also commit 7374b84fe4c2ef8497fde3dae80a69aa89eba19c). So I'm
> not breaking the API but restoring it ...
Fair eno
On 5 August 2012 11:41, Bart Van Assche wrote:
> --- a/agent/mibgroup/utilities/execute.h
> +++ b/agent/mibgroup/utilities/execute.h
> @@ -4,8 +4,8 @@
> config_belongs_in(agent_module)
>
> int run_shell_command(char *command, char *input,
> - char *output, size_t *out_len)
On 26 July 2012 11:46, wrote:
> I want to convert a port instance internal name to its corresponding port
> number.
>
> for example when I query a get Bulk for OID name ="fcsPortState"
You need to consult the MIB file that defines the tables
and other objects that you are looking at.
For exampl
On 1 August 2012 07:23, Madhu Sudhana Rao wrote:
> I think table is registering correctly, as I am getting snmpget output looks
> correct
Yes - that sounds reasonable.
> only problem is with snmpwalk and getnext
I see from your code that you are using the iterator helper.
This is designed to
On 31 July 2012 13:14, Madhu Sudhana Rao wrote:
> It is not part of the standard agent, I added this proprietary table.
>
> Copied .c and .h files of myifTable from (agent/mibgroup), which is working
> properly (both snmpget & snmpwalk) in version 5.2.1 to version 5.6.2 but in
> latest version o
On 30 July 2012 15:27, Madhu Sudhana Rao wrote:
> I replaced net-snmp version 5.2.1 to 5.6.2 which is working on all the
> tables but for one of the table,
Which table?
Is this one you wrote yourself, or part of the standard agent?
>snmpget comman
[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy.
Keep discussions to the list, where others can both learn
and offer advice. Thanks. ]
On 31 J
On 30 July 2012 13:44, Rajeesh R wrote:
> While creating a table entry using the command nmpset -v2c -c public
> 192.168.3.163 .1.3.111.2.802.1.1.8.1.5.2.1.8 i 4
> I am geting a error like below
>
> Error in packet.
> Reason: noAccess
> Failed object: IEEE8021-CFM-MIB::dot1agCfmMdRowStatus
Have y
On 11 July 2012 23:56, Wes Hardaker wrote:
> Andreas Köster writes:
>
>> -Op PRECISION_STRING
>> which allows to change the default behavior and inserts this precision
>> string into the sprintfs used for output.
> ...
>> Another idea is to define a corresponding snmp.conf item.
>
> I think both
On 26 July 2012 16:44, Anthony Bush wrote:
> I need a bit of help with the snmpwalk command. Im trying to run a simple
> test on a network switch to see if the ports are on or off using snmpwalk
> but I can't seem to figure out the proper command to use in terms of the
> arguments and options that
On 26 July 2012 09:59, Madhu Sudhana Rao wrote:
> Sorry! I can't post companys propriety code here, because it has copyrights.
>
> Is there a way to compile the code with configure_require(mibII/interface)
> line, by commenting other things like if-mib/ifTable?
I have no idea - without seeing the
On 25 July 2012 14:22, Jatin Bodarya wrote:
> I can’t grab integer values with read_objid() function.
Correct - you can't. That's not what this API call is for.
>From the mib_api(3) man page:
read_objid takes a string containing a textual version of an
object identifier (in ei
On 26 July 2012 09:11, Madhu Sudhana Rao wrote:
> Problem is if I comment interface line, I am getting "no such object
> available at this OID" for one my properity table which is related to
> ifTable.
OK - please post the code for your properity table
(as attachments), so that we can take a look
On 26 July 2012 08:38, Madhu Sudhana Rao wrote:
> I commented config_require(mibII/interfaces) and compilation done without
> any issues
So run with that.
There's no problem - that's essentially what the 'mibII/ifTable'
header does anyway
Dave
---
On 25 July 2012 09:50, Madhu Sudhana Rao wrote:
> Coming to net-snmp issue:
> I am using my_mibs.h file in the agent/mibgroup to configure net-snmp
> modules and my project related modules, where it has both lines...
>
> config_require(if-mib/ifTable)
> config_require(mibII/interfaces)
No - that
On 25 July 2012 06:51, Madhu Sudhana Rao wrote:
> I replaced my old net-snmp (5.2.1) to 5.6.1.
>
> With old version 5.2.1 I didn't have any issues but with new version while
> compiling I am getting errors,
What O/S distribution (and version) are you working with?
What was the full configure comm
[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy.
Keep discussions to the list, where others can both learn
and offer advice. Thanks. ]
On 23 J
On 23 July 2012 02:12, robin yin wrote:
> # snmpwalk -v 2c -c public 10.101.161.131 .1.3.6.1.2.1.25.2.3.1
> hrStorageDescr.4 = STRING: E:\ Label:data Serial Number 88074d8d
> hrStorageAllocationUnits.4 = INTEGER: 4096 Bytes
> hrStorageSize.4 = INTEGER: 78642183
> hrStorageUsed.4 = INTEGER: 567487
On 23 July 2012 07:52, Madhu Sudhana Rao wrote:
> I want to implement udpEndpointTable of UDP-MIB.txt.
Why?
There is already an implementation of this table
(The code for this is under 'mibgroup/udp-mib/udpEndpointTable')
Why repeat something that has already been done?
> I found that there ar
On 2 July 2012 08:09, Chris Cossman wrote:
> What is Do the .h file refer to?
This is a comment within the 'mib2c' template - not the header file.
It's indicating that this is the part of the template which generates
the .h file
Dave
-
On 2 July 2012 12:50, Scales, Neil wrote:
> I’m trying to install net-snmp 5.7.1 on an embedded linux system (fedora 7).
> There aren’t any binaries on sourceforge for 5.7.1
>
> I can’t do “yum install” or “rpm get” or whatever, so I need to transfer the
> required files manually.
>
> Is there som
On 17 July 2012 10:48, robin yin wrote:
> When I use check_snmp_storage script to check windows server 2003’s storage,
That's not part of the Net-SNMP suite, so it's a bit difficult to
know exactly what it is doing.
> I found the percentage is not correct on E drive. But on the other it is ok,
On 18 July 2012 08:41, wrote:
> To reproduce an issue ,we want to introduce delay on how Switch(SNMP
> agent) responds when SNMP calls are made from our SNMP manger. Is there any
> config change will do it from switch/agent side.
I don't believe so, no.
You are probably going to have to write
On 19 July 2012 15:55, wrote:
> I am using VACM approach
> My snmpd.conf file without contextname
> createUser V3User MD5 "Password"
This really belongs in the /var/net-snmp/snmpd.conf file
> com2sec V3User default community
This is not relevant for SNMPv3
It's concerned with
On 19 July 2012 11:08, wrote:
> I have an application which worked perfectly in SNMpv3 in AuthnoPriv mode.
> There is a requirement like a “context name” is to be added to the snmp
> requests which is sent by the application.
> I have only one snmpd server which sends responses back to this appl
On 9 July 2012 06:41, Harvey Shepherd wrote:
> I’m trying to design a MIB that contains two tables as follows:
[snip]
> Is it valid to define a table that is indexed by an external table’s object
> that is not itself an index (hwAlarmDescPrivileged)?
>
> Any advice greatly appreciated.
I'm n
On 5 July 2012 22:28, Alex Zannos wrote:
> I am trying to use the snmpgetx method
Where did you find mention of this method?
What package are you using?
I've just done a search of the Net-SNMP source code,
and there's absolutely no mention of the name "snmpgetx"
anywhere within our code, or docu
On 20 June 2012 15:56, Suresh kumar wrote:
> Following is the snmpd.conf configuration:
>
> trapsess -v 3 -Ci -r 1 -t 5 -e 0x80001f8880386a8adc0005946b -n "" -a SHA -A
> mypassword -l authNoPriv -u traptest 192.168.101.226
and the snmptrapd.conf configuration?
Dave
On 19 June 2012 23:22, Wes Hardaker wrote:
>> Any reason for adding the extra api? I would say this is a private api
>> for snmpd, so we are free to change it
>
> I'm pretty sure the interface scanning APIs are heavily used in
> 3rd-party apps that extend the ifTable. There are zillions of MIBs t
On 18 June 2012 19:19, Niels Baggesen wrote:
> The attached patch is a modified version of the patch attached to the bug.
> In addition to finding the right data, it also uses atol to fetch the data
> instead of atoi. And then it adds the proper scaling to the cpu value ...
I'm inclined to vote f
On 18 June 2012 23:10, Wes Hardaker wrote:
> Patch #1 is simple and just increases the shift variable allowing
> for 16 bits of index values instead of the previous 8
+1
> Patch #2 is a bit more complex and creates new integer based index
> API for retrieving indexes and then ensure that they'r
On 13 June 2012 19:18, Cyrus Virus wrote:
> I can compile the code using the make file, but when I try to run it I
> get this error:
>
>> sudo snmpd -f -L nstAgentPluginObject.so, dldmod
Where did you find that command?
The instructions for loading the dynamic module in the tutorial
you mentioned
On 6 June 2012 15:36, wrote:
> Hi
>
> the example
>
> http://www.net-snmp.org/tutorial/tutorial-5/toolkit/mib_module/nstAgentModuleObject.c
>
> Work with the "snmpget -v2c -c tutget localhost:
> NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0" command
>
> but fail with
>
> "snmpset -v2c -c tut
On 29 May 2012 11:32, Holger Klaas wrote:
> I am trying to implement an SNMP table which can monitor several
> inputs. The table looks like this:
>
> Column1: inputNumber (table index: 1,2,3 ...)
> Column2: inputStatus (disabled, signalLoss, signalPresent)
> Column3: inputFlowId (unsigned32)
> C
On 28 May 2012 06:55, Madhu Sudhana Rao wrote:
> I am using Linux Ubuntu 11.04 system.
>
> In my current project we are using net-snmp 5.2.1 (old) version which didn't
> have UDP-MIB.txt and some part of IP-MIB.txt implementation code.
>
> I took this implementation code from the latest net-snmp 5
On 21 May 2012 13:50, Jehan Badshah wrote:
> I have installed Net-Snmp 5.2.1 on windows 2003 server
First thing - that's a very old version of the agent (2005!),
and the 5.2.x line is no longer being actively supported.
Can you try with something a little newer?
> and configured snmpt agent on
[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy.
Keep discussions to the list, where others can both learn
and offer advice. Thanks. ]
On 28 M
On 28 May 2012 14:13, Jasti Durgashree wrote:
> I want to write my own c code for snmp message format.
Why?
> So which file I
> should refer in net-snmp directory to write my own snmp header and pdu
> format code and also how to map asn.1 d
On 23 May 2012 20:51, Niels Baggesen wrote:
> Btw, haven't you forgot to git push after applying patch 3525998?
> I have two fixes in the queue for 5.5 and 5.6
Apologies - now pushed.
Dave
--
Live Security Virtual Confe
I'm just getting ready to roll out the rc2 versions of these two releases,
and have been looking through the recent Bug and Patch trackers entries,
to see whether there's anything been reported that needs fixing first.
The above mentioned patch is the main one that caught my eye.
It looks a fairly
On 19 May 2012 12:41, Douglas Hubler wrote:
> In short, the prErrorFlag flag in the prTable had to transition like so
>
> prErrorFlag values:
> 0 => 1 => 0 => 1 OK - prFixIt event fired on each transition from 0 to 1
> 0 => 1 => 1 => 1 Not OK - prFixIt event only fired once
That's cor
On 15 May 2012 17:02, Douglas Hubler wrote:
> Oh right, I can either wrap my commands that restart processes with a trap
> command, thanks!
That should work, yes - but I don't think it's what Richard meant.
The DisMan Event MIB is designed to detect "interesting" events,
and:
a) trigger an
On 9 May 2012 12:48, Lewis Adam-VNQM87 wrote:
> Dissecting the ChangeLog, a typical couple of entries might be:
>
> 2011-09-22 Dave Shield
>
> * : commit c55f608f16f160f5e79dc057f8878def462973e1 Author: Dave
> Shield Date: Thu Sep 22 10:35:24 2011
> +0100
That
On 9 May 2012 12:12, Lewis Adam-VNQM87 wrote:
> I am trying to determine exactly what code changes have occurred between
> 2 different releases (including all releases in between).
That's exactly what ChangeLog is for.
It lists all the commit log messages, together with the files affected.
CHANG
On 6 May 2012 06:25, Magnus Fromreide wrote:
> On Fri, 2012-05-04 at 09:05 +, Durga Sree wrote:
>> Is it possible to set specified source port no. instead of available
>> source port no.?
>
> It depends on the protocol. For UDPIPv4 the answer is no.
Are you sure, Magnus?
I haven't played w
On 3 May 2012 05:01, Durga Sree 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 "office"
> SNMPv2-MI
]
On 3 May 2012 08:18, Giuseppe Modugno wrote:
> Il 02/05/2012 23:50, Dave Shield ha scritto:
>> (You could perhaps make a case for returning noSuchInstance,
>> but genErr is probably less misleading)
>
> With genErr error code there is another problem: the walk (GET NEXT
On 1 May 2012 17:50, Robert Story wrote:
> On Tue, 1 May 2012 09:03:55 -0400 Jasti wrote:
> JD> Instead of generating template code for ifTable (eg:) if we generate code
> &
> JD> adding necessary logic to the ifEntry code makes any difference?
> JD> Because am comfortable with scalars rather tha
On 2 May 2012 10:20, Giuseppe Modugno wrote:
> Robert suggested to use SNMP_ERR_RESOURCEUNAVAILABLE in response to GET
> requests of variables related to malfunction hardware sub-sections.
>
> Recently I was reading RFC 3416 (Version 2 of the Protocol Operations
> for the Simple Network Management
On 1 May 2012 13:15, Jasti Durgashree 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 can't I set any va
[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy.
Keep discussions to the list, where others can both learn
and offer advice. Thanks. ]
On 23 A
On 23 April 2012 05:47, Lawrence E Widman wrote:
> Also, snmpset doesn't work with Counter32 or Counter64 because
> the 'c' and 'C' types were inadvertantly omitted from the
> current source.
No - that was not an oversight.
It is not permissable to SET counter-based objects.
They are inherently r
On 20 April 2012 07:47, Nguyen Dinh Phong wrote:
> I'd like to know how to make the agent to generate the WarmStart trap.
How to generate a warmStart trap is easy - just call
send_easy_trap(1, 0);
Deciding *when* to send a warmStart is much harder.
Remember that this means that the agent i
On 18 April 2012 16:44, Jasti Durgashree 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;
snmp_parse_oid(names[count]
On 17 April 2012 13:34, Andrew Hood wrote:
> Another vote for libsmi, but if you don't understand SMI syntax and
> semantics quite well you will find smilint's error messages have a
> steep learning curve.
I'd have to say that if you don't understand SMI syntax and
semantics fairly well, then you
On 17 April 2012 07:32, sadanand harkantra wrote:
> I have a mib text file and want to check if there is any net-snmp command
> that can be used to
> parse a mib text file and check for any error in the text file.
The Net-SNMP suite is probably not the right tool in this situation.
Our MIB parse
[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy.
Keep discussions to the list, where others can both learn
and offer advice. Thanks. ]
On 10 April 2
On 9 April 2012 10:38, Jasti Durgashree wrote:
> Hi all, am following the steps given in
> http://net-snmp.sourceforge.net/wiki/index.php/TUT:Writing_a_Subagent but
> when am giving the below command am getting the result as follows:
>
> newuser@newuser-desktop:/$ snmpd -f -Lo -C --rocommunity=p
On 5 April 2012 17:32, Ramakrishnan Sreenivasamallan
wrote:
> I am implementing a MIB module as a Agentx sub-agent. Inside my sub-agent
> code, I need to set another OID. After searching in forum it seems to me
> that I need to use snmp_open() and netsnmp_query_set() functions to open a
> connecti
On 3 April 2012 16:23, Yun Li wrote:
> I am trying to change the debugTokens at runtime.
> From gdb, I can tell debugTokens are not reread (since debugTokens is
> registered as premib_config_handlers, but during reconfig, only normal
> config handlers are reread). .. I wonder what
> is the id
1 - 100 of 3479 matches
Mail list logo