Why does the error message, announcing the segmentation fault,
look as if it comes from the DLL (kernel32.dll), and not from snmpd?
Could it be that the segmentation fault owes its observation to a
failure of MS programmers to handle a GPF?
MS code is well know to be full of bugs, so perhaps the
Pedro After this, i tried to use the snmp applications using the localhost:
Pedro snmpget -v 2c -c public localhost system.sysLocation.0
Ted How about starting the daemon :-)
Bruce An snmpd.conf file might be appropriate. So would RTFM.
In particular, the FAQ entries:
Requests always
Actually, better yet we could make use of the fact that snmptrapd is a
sub-agent already to the master agent. We could then simply register
another usmUser table under a different SNMPv3 context (say
snmptrapd) and thus you could configure snmptrapd's users by talking
directly to the master
I am getting this segmentation fault error while trying to run
snmpd under cygwin gdb. Any suggestions or ideas?
This *might* be a bug in the Windows library, as William suggests.
But it might also be a result of a failure in higher level code.
I'd suggest that before trying to point the
Hi All,
I am currently reading your tutorial on NetSNMP sub-agent development
manual. The only change I made in my conf file is:
com2sec local localhost democommunity
master agentx
Initially I start snmpd agent: ./snmpd -f -L -D
and the the example-daemon you had provided :
Thanks Dave. This I will read.
The reason why I asked this was because I am using the Single API
functions equivalent to the Traditional API functions used in
ucd-snmp-0.4.2.5 's snmpget application. Till now I was using only
v2c(and everything worked fine), but now I wanted to get it running for
(Sorry. Let's try this again. Somehow I hit Send too early.)
I'm trying to figure out traps. I get the general principles and I've read
http://www.net-snmp.org/tutorial-5/commands/snmptrap.html which didn't seem to be much
of a tutorial 'cuz I don't feel like I learned much.
Let's say I've
Hi Dave, William,
Here is some more details regarding the environment and back trace
information. Still the segmentation fault points to kernel32.dll.
Environment details:
Host Platform: Microsoft Windows XP professional version 2002 Service Pack 1
Cygwin Version : 2.427
Net-Snmp Version:
I just thought of adding this details too. I have not made any changes
to net-snmp code. Planning to extend MIB module using C code. But
right now, Just trying to set up development environment under cygwin.
Downloaded net-snmp, compiled and able to run successfully as a stand
alone program but
On Fri, 30 Jul 2004 08:44:06 -0400, [EMAIL PROTECTED] said:
cnelson Let's say I've got an customized (sub)agent that I build code
cnelson for with mib2c. I want to send out notifications when a
cnelson certain value changes (say, a port was disconnected). Can
cnelson somone point me to an
On Thu, 29 Jul 2004 17:21:41 -0400, Reitberger, Susan [EMAIL PROTECTED] said:
Susan I am running the main agent and a subagent which communicate
Susan via the agentx protocol. When I try to set a read-only variable
Susan that the subagent is responsible for, the nonWritable error
Susan comes
On Fri, 30 Jul 2004 09:31:07 +0100, Dave Shield [EMAIL PROTECTED] said:
Dave Couldn't we use register_mib_context rather than the macro
Dave REGISTER_MIB ? It probably hasn't had much practical testing,
Dave but it *ought* to work.
Don't know. I haven't looked at it enough...
Dave Which also
Hi
I am trying to implement a table using net-snmp5.1. I
have a simple array that I want to rertieve from this
table. When I do a walk on this table it loops forever
in my get_next entry function. I have attached
relevant part of my code. It would be of great help if
you could suggest me any
I am trying to implement a table using net-snmp5.1. I
have a simple array that I want to rertieve from this
table. When I do a walk on this table it loops forever
in my get_next entry function.
The 'lnbCustom2Table_get_next_data_point' routine needs to return NULL
when it gets to the end of
hello,
I am running Linux version 9 with version 5.1.1 of net-snmp.
I have added and built the MIB and included it into the directory
/usr/local/share/snmp directory.
Generated the templates successfully and moved them into mibgroup and
created the top header with
the config_require(mibfiles.c)
I'm running Net-SNMP 5.1.2-rc2 on a Red Hat 8.0 system. This server functions
as a PPP Concentrator and thus has anywhere from 400-500 PPP interfaces up
at any given time in addition to two Ethernet interfaces.
I am using OpenNMS 1.1.2 to monitor this server and others like it.
When OpenNMS
That was it. I had to return NULL once I reached the max no of entries. It is working
now.
Thanks a lot for your prompt reply.
Sabina
-Original Message-
From: Dave Shield [mailto:[EMAIL PROTECTED]
Sent: Friday, July 30, 2004 12:00 PM
To: s sayeed
Cc: [EMAIL PROTECTED]; Sabina
On Thu, 29 Jul 2004 02:10:24 + (GMT), [EMAIL PROTECTED] said:
hoil I wish to implement proxy supporting, using Community
hoil Field(SNMPv2).
This is not possible in the currently released Net-SNMP packages.
hoil Originally, SNMPv3 supports Proxy Agent using ContextName.
hoil Instead, I
On Fri, 30 Jul 2004 11:41:47 -0500, Gary Clark [EMAIL PROTECTED] said:
Gary Questions do I have to perform a set on an entry within the MIB prior to
Gary performing the snmpwalk command?
Gary Is there a stage I have missed?
Did you actually write code to support that table within snmpd? If
you
Much appreciated Wes. The light bulb has just lit-up.
Thanks for the quick response.
Cheers,
Garyc
- Original Message -
From: Wes Hardaker [EMAIL PROTECTED]
To: Gary Clark [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, July 30, 2004 3:14 PM
Subject: Re: walking snmpd
On Fri,
Hi
I have just gone through the trap tutorial and the
notification example for trap. I could get trap
successfully from snmpd.
Now I need to design some traps that would be
triggered when an event has occurred somewhere outside
the agent. To be more specific, my agent is running on
a Linux box.
On Fri, 30 Jul 2004 07:17:44 -0700, Wes Hardaker [EMAIL PROTECTED] said:
Dave Couldn't we use register_mib_context rather than the macro
Dave REGISTER_MIB ? It probably hasn't had much practical testing,
Dave but it *ought* to work.
Wes Don't know. I haven't looked at it enough...
Well, I
22 matches
Mail list logo