Wolfgang Fritz | 1 May 08:30 2004
Picon
Picon

Re: Memory leak in 5.1.1 agentx subagent

Tommy Christensen wrote:
> Hi Wolfgang
> 
> Yeah, memory leaks can be really nasty to track down.
> 
> I am running with this patch on top of 5.0.8 - and I don't see
> any more leaks on SET requests! Perhaps it will work for you too,
> or at least provide some usefull hints.
> 
> -Tommy
> 
> 

Tommy,

thank you very much. As far as I can see (I'm at home now and have no
net-snmp sources available), your patch touches some spots in the code
I've found suspiscious too. So it may work for me too. I'll check it
Monday in the office and keep you informed.

Wolfgang

[cut]

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
(Continue reading)

Robert Story | 3 May 01:33 2004

Re: Minor bug in snmpd 5.1.1 disabling smux support (Solaris)

On Fri, 30 Apr 2004 20:27:36 +0200 Michael wrote:
MH> Starting snmpd with "-I -smux" doesn't work, snmpd still binds to port 199.
MH> 
MH> Configuring using "--with-out-mib-modules="smux" does disable smux 
MH> permanent. It worked without any problems in 5.0.x disabling smux 
MH> support via -I - from snmpd startup script.

Actually, it appears that this same problem was introduced in 5.1. At least I
assume it's a bug, and not an intentional behaviour change.

Dave, it appears that this was introduced by some changes you made, with the
comment 'Support configuration of the socket address to listen for SMUX
connections on'.  The problem is that the new routine real_init_smux is called
unconditionally from snmp_agent.c, as opposed to the previous
mib_module_inits.h invocation.

If the behaviour change was not intentional, then the initialization should be
conditional based on a should_init call, either in snmp_agent.c or inside the
real_init_smux function.

--

-- 
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
(Continue reading)

Wolfgang Fritz | 3 May 11:17 2004

Re: Memory leak in 5.1.1 agentx subagent

Tommy Christensen wrote:
> Hi Wolfgang
> 
> Yeah, memory leaks can be really nasty to track down.
> 
> I am running with this patch on top of 5.0.8 - and I don't see
> any more leaks on SET requests! Perhaps it will work for you too,
> or at least provide some usefull hints.
> 
> -Tommy
> 

Hi Tommy,

the patch applied (with offset) to 5.0.9 and my first tests indicate
that it is working and removing the memory leaks.

Thank you,

Wolfgang

[cut]

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Net-snmp-users mailing list
(Continue reading)

Gemma Sánchez | 3 May 12:35 2004
Picon

Fw:

> int
> handle_coInicEst(netsnmp_mib_handler *handler,
>                          netsnmp_handler_registration *reginfo,
>                          netsnmp_agent_request_info   *reqinfo,
>                          netsnmp_request_info         *requests)
> {
> }
> How could I guess the transmitter of the request in this function?
> Which field in this structure carries the information about the
> transmitter? I wolud like to study, inside the handle, if the transmitter
has permission to give my agent a command trhough this variable.

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

cnelson | 3 May 16:14 2004
Picon

What is read-create?

A bunch of entries in the RMON MIB have max-access "read-create".  Can someone help me understand what that
means?  TIA.

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

"Fernández Piñas, David" | 3 May 17:07 2004
Picon

ssCpuRawIdle Units


Hi, I' am polling the UCD-SNMP-MIB::ssCpuRawIdle object on a SuSE Linux 8.2 ucd-snmp-agent, the one that
comes with the operating system CDs. I would like to confirm which are the units of this counter to compute
Cpu Idle in %. It seems it is 0.5 centi-seconds.

If I poll each 10 s and divide the counter value increment between 10 s I get a value of aproximately 200. Using
top command I see that Idle Cpu is 99.8 %.

The ssCpuIdle value gives the correct value (99 %).
-------------------------------------------------------------------------------------------------------------------
Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de
carácter confidencial exclusivamente dirigida a su destinatario o destinatarios. Queda prohibida su
divulgación, copia o distribución a terceros sin la previa autorización escrita de Indra. En el caso
de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta
circunstancia mediante reenvío a la dirección electrónica del remitente.

The information in this e-mail and in any attachments is confidential and solely for the attention and use
of the named addressee(s). You are hereby notified that any dissemination, distribution or copy of this
communication is prohibited without the prior written consent of Indra. If you have received this
communication in error, please, notify the sender by reply e-mail

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id66&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
(Continue reading)

Carlos Cantu | 3 May 16:39 2004
Picon

Re: Memory leak in 5.1.1 agentx subagent

> Hi Tommy,
>
> the patch applied (with offset) to 5.0.9 and my first tests indicate
> that it is working and removing the memory leaks.
>
> Thank you,
>
> Wolfgang

Hi, sorry I haven't kept a close eye on this thread, but I was just
curious if someone knew in which version the bug was introduced.  The
subject has 5.1.1, but it looks from this post that 5.0.9 needs a
patch as well.  How about 5.0.8?  I'd be happy to test 5.0.8 if someone
could re-post the recreate.

Thanks,

Carlos

razl | 3 May 17:19 2004

Community in agent-demon


-- How can I add master-agent v2c community support in my agent-demon code
so that the user will connect to my demon with this community ?
(I'm using Ver 5.1.1.pre2)  

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Gemma Sánchez | 3 May 20:17 2004
Picon

G+ transmitter of a request

Hi all !!!

I have a new cuestion for you.

case MODE_SET_ACTION:
      if (coInicEst== INACT && *(requests->requestvb->val.integer) ==
SOLSEL)
              if (TRUE /*acepta_seleccion(autor de la peticion, COINIC)*/)
              {
                   coInicEst = SELACEP;
                   coInicEstTT = time (NULL);
              }
              else
                   coInicEst = INACT;

In this piece of code I write TRUE but I need to check if the transmitter of
this request has permission to make an action in the agent, how could I do
it? How could I obtein information about the transmitter of it?

Thanks a lot.

Gemma

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Michael Heiming | 3 May 20:28 2004
Picon

Re: Minor bug in snmpd 5.1.1 disabling smux support (Solaris)

Robert Story (Users) wrote:
> On Fri, 30 Apr 2004 20:27:36 +0200 Michael wrote:
> MH> Starting snmpd with "-I -smux" doesn't work, snmpd still binds to port 199.
> MH> 
> MH> Configuring using "--with-out-mib-modules="smux" does disable smux 
> MH> permanent. It worked without any problems in 5.0.x disabling smux 
> MH> support via -I - from snmpd startup script.
> 
> Actually, it appears that this same problem was introduced in 5.1. At least I
> assume it's a bug, and not an intentional behaviour change.
> 
> Dave, it appears that this was introduced by some changes you made, with the
> comment 'Support configuration of the socket address to listen for SMUX
> connections on'.  The problem is that the new routine real_init_smux is called
> unconditionally from snmp_agent.c, as opposed to the previous
> mib_module_inits.h invocation.
> 
> If the behaviour change was not intentional, then the initialization should be
> conditional based on a should_init call, either in snmp_agent.c or inside the
> real_init_smux function.

Hi Robert!

Thx for approving, so there's hope for a fix?

Other then that 5.1.1 runs quite nice on Solaris.;) I'm still looking 
for a HP-UX and Tru64 net-snmp version with working snmpv3 support. The 
HP-UX binaries from sourceforge.net work, but are sadly missing snmpv3 
encryption support. Couldn't get it working, using gcc or HP compiler.;(

Thx and keep the great work!

Michael Heiming

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Gmane