collect HUP signal

2008-01-31 Thread Meilán García Antonio
Hi, I have a loaded module by snmpd.conf file with 'dlmod'. The problem is when I send kill -HUP snmpdpid the system does not retrieve all memory, the snmpd proces take more and more memory (RAM) if I send more HUP signals. For test that my module is the problem, I modify the snmpd.conf and

unregister and free tables memory

2008-01-31 Thread Meilán García Antonio
Hi, I would like to free all used memory for snmpd. How can I free or unregister used tables in a snmpd load module. I send a -HUP signal to snmpd process, and my system does not retrieve all memory. reg = *netsnmp_create_handler_registration*("snmpTrapsDestinationTable",

BITS (UNIVERSAL) variable

2007-12-19 Thread Meilán García Antonio
I would like to set bits (wich indicate alert statues) with a BITS variable. mib2c give me a OCTECT_STRING variable charmuxAlarmStatus[NNN]; size_t muxAlarmStatus_len; and if I would like to set these bits '001010010001'b (0x2901) Is it correct? (NNN=2 because my alarm

Re: same read and community names

2007-12-18 Thread Meilán García Antonio
bye, Antonio Mike Ayers escribió: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Meilán García Antonio I have a problem with de access control when read community is equal to write community, with this simple snmpd.conf There is no such thing as a "rea

same read and community names

2007-12-18 Thread Meilán García Antonio
Hello, I have a problem with de access control when read community is equal to write community, with this simple snmpd.conf # sec.name source community com2sec public_sec default private com2sec private_sec default private # groupNamesecurityModelsecurityName group

Re: snmpd conf at run time

2007-12-14 Thread Meilán García Antonio
Mike Ayers escribió: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Meilán García Antonio Sent: Thursday, December 13, 2007 2:59 AM I would like to set or clear some trap2sink token and modify the community names at run time on the actual snmpd file configuration

snmpd conf at run time

2007-12-13 Thread Meilán García Antonio
Hello, I would like to set or clear some trap2sink token and modify the community names at run time on the actual snmpd file configuration (snmpd.conf) but I don't know. I was reading the web http://net-snmp.sourceforge.net/dev/agent/group__read__config.html but this is only the headers funct

modify tokens at run time

2007-12-13 Thread Meilán García Antonio
Hello, I would like to set or clear some trap2sink token and modify the community names at run time on the actual snmpd file configuration (snmpd.conf) but I don't know. I was reading the web http://net-snmp.sourceforge.net/dev/agent/group__read__config.html but this is only the headers fun

disable initial traps

2007-12-12 Thread Meilán García Antonio
Hello, I would like to disable the traps that net-snmp sending when it starts. This traps are: / * enterprises.8072.4.0.2: CommunityString = ### Request = ### mib-2.1.3.0 = ### snmpModules.1.1.4.1.0 = enterprises.8072.4.0.2/ ** and this other