That is the approach I am working on now. But it is not the best one
because my requirement was to provide a library with a function that
performs this turn over. So in this case I will have to tell my
customer to re-start his process each time the turn over is done.
However, thank you for your re
On Fri, 16 Sep 2005 10:01:17 -0300 Rafael wrote:
RG> RS> If you meant 'is there a way to do this without modifying the
RG> RS> sources',
RG> then
RG> RS> the answer is no.
RG>
RG> English is not my native language, be patient with me.
Don't worry, it's not my wife's native language either, so I'
RS> If you meant 'is there a way to do this without modifying the sources', then
RS> the answer is no.
English is not my native language, be patient with me.
Do you have any other suggestion that I can try before attempting to modify the sources?
Regards,
Raf
On Thu, 15 Sep 2005 10:38:56 -0300 Rafael wrote:
RG> I took a look at the snmp code and I found out that in the function static
RG> void _init_snmp(void) there is a static variable called have_done_init
RG> that prevents snmp from doing more than one initialization. The same
RG> happens in the fun
Hello,
I took a look at the snmp code and I found out that in the function static void _init_snmp(void) there is a static variable called
have_done_init that prevents snmp from doing more than one initialization. The same happens in the function void init_snmp(const char *type).
I think
Rafael Garabato wrote:
I increased the tcpdump's snaplen as you asked. This time I didn't get
the same problem as the time before. Only 2 packets are transmited each
time the session is opened.
That's exactly how the engineID discovery is supposed to work.
So what happens now if you actually
On Mon, 2005-09-05 at 12:38 -0300, Rafael Garabato wrote:
> I tried both versions in the computer where the client is but the
> program is still unsuccessful. Do you think that the snmp version
> 5.1.3.1, or 5.2.1.2 shoul be installed where the agent is?
No - this change was concerned with how a c
I tried both versions in the computer where the client is but the
program is still unsuccessful. Do you think that the snmp version 5.1.3.1, or
5.2.1.2 shoul be installed where the agent is?. Because I don't have control over that and I think that it will be impossible.
Thanks,
Rafael.
On Wed, 2005-08-31 at 17:05 -0300, Rafael Garabato wrote:
> I am having a problem with the net-snmp api.
> PD: The snmp version is NET-SNMP version: 5.1.2
This problem sounds supiciously similar to one reported
last year, where changes in the engineID (and/or boot times,
etc) weren't ha
I increased the tcpdump's snaplen as you asked. This time I didn't get
the same problem as the time before. Only 2 packets are transmited each
time the session is opened. However I noticed that there is a parameter
called "usmStatsUnknownEngineIDs.0" that always increments its value
untill the Chan
I used tcpdump to watch the packets flow. You were right, when no
changeover is done only 2 packets are transported during the session
opening. After the changeover 4 packets are transport.
Regarding the engineID, it is configured exactly with the same string
in both snmp agents. The parameters e
Rafael Garabato wrote:
I am not allowed to use a packet sniffer.
You might still be able to use the "-d" option to snmpd on the server
side to dump packets.
But just supposing that the
problem is the EngineID. How can I do to solve that problem?
Configure the same engineID on both sides b
I am not allowed to use a packet sniffer. But just supposing that the
problem is the EngineID. How can I do to solve that problem?
Thanks,
RafaelOn 9/1/05, Robert Story <[EMAIL PROTECTED]> wrote:
On Thu, 1 Sep 2005 17:08:48 -0300 Rafael wrote:RG> I am really stuck with this, perhaps so
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
Rafael Garabato wrote:
The problem is that there are two computers that has the snmp
agent and they switch between each other to be the active computer. When
they switch the snmp configuration parameters (user, password and ip)
remains the same so it should be possible to continue us
Hello,
I am having a problem with the net-snmp api.
I have written a code which is based on the code located at
http://www.net-snmp.org/tutorial/tutorial-5/toolkit/demoapp/index.html . The only difference is that I included all that code in a fuction which I call several times
19 matches
Mail list logo