We have /usr/sbin/snmpd (version 4.2.3) running on our Sun servers. I
would like to add a module. Apparently this can be done without
rebuildnig /usr/sbin/snmpd by building the new module as a "dynamic
module" and loading it at runtime.
I believe I have been successful building the module and n
On Wed, 31 Aug 2005 11:45:41 -0400 Philip W (Philip) wrote:
GPW> Then we hit the SET button. We're trying to make sure bad
GPW> values don't crash things. We found that the agent crashes (segmentation
GPW> violation) before it calls our handler.
What kind of handler is it?
If you are having pr
On Wed, 31 Aug 2005 15:50:32 +0200 Radek wrote:
RV> > Are you using tcp, or udp? The default is udp, and a full buffer should
RV> > cause dropped packets, not a hang. Tcp or domain sockets, on the other
RV> > hand, could hang on a full buffer.
RV>
RV> It is all running on the localhost and appears
On Thu, 1 Sep 2005 17:08:48 -0300 Rafael wrote:
RG> I am really stuck with this, perhaps someone can take a look at the
RG> sources of the tutorial and tell me if using all that code inside a
RG> function is a bad approach.
Everything between the snmp_sess_init and snmp_close is ok.
RG> computer
The code that I used is basically the same as the one of the tutorial
http://www.net-snmp.org/tutorial/tutorial-5/toolkit/demoapp/index.html.
I close the session at the end of the function. When I open the session
the next time I execute the function everything works fine. But when
the computer tha
On Thu, 1 Sep 2005 09:31:54 -0300 Rafael wrote:
RG> Both computers have the same "snmpd.conf" file. Besides, supposing that
RG> the engineId and incremented engineBoots values were different, I still
RG> can use my function when I exit the CLI and start it again. There must be
RG> a way to clean al
Both computers have the same "snmpd.conf" file. Besides, supposing that
the engineId and incremented engineBoots values were different, I still
canĀ use my function when I exit the CLI and start it again. There
must be a way to clean all the variables so that, from the function
perspective, it seem