Re: cache problems with table data mib2c

2010-06-15 Thread Kathy McLeod
Hi - Here are the files I was using before (See attached file: lldpPortConfigTable.c)(See attached file: lldpPortConfigTable.h)and here is my compile command gcc `net-snmp-config --cflags` -fPIC -shared -g -O0 -o lldpPortConfigTable.so lldpPortConfigTable.c `net-snmp-config --libs` These files

Re: subagent core dump at startup

2010-06-15 Thread Bart Van Assche
On Mon, Jun 14, 2010 at 8:53 PM, W Z wrote: > We use net-snmp 5.4.2.1. We had a subagent core dump at system start up. > This happens rarely, i.e., cannot reproduce. > > After gdb core file, backtrace shows: > == > Program term

Re: cache problems with table data mib2c

2010-06-15 Thread Kathy McLeod
Yes, you are right. It should be "struct". I am testing in a different environment now and that compiler didn't like struct. I was lucky to still have an old copy of my code around - have added quite a bit to actually use the backend DB for gets and sets instead of fake data. I will try your su

tracking agentx communication to find out lack of answer reason

2010-06-15 Thread Julian Kania
Hello everyone. I have a difficulty with netsnmp 5.4.3 running on hpux11.23: snmpd doesn't answer to agentx request, and I want to know how to force snmpd to log why it doesn't answer. The subagent supporting agentX is a legacy, closed-code software. It's a simple application: supports localhos

SNMP V3 missing components

2010-06-15 Thread Joan Landry
I have not been able to find any information on how to get the following list of SNMPV3 options to work via snmpd.conf. Does anyone know if there is a way to get these features to work in the current release (5.5) of net-snmp - or if there is any plans to have these features in the next release?

Re: inetCidrRouteTable persistence

2010-06-15 Thread Asaf Ohaion
from rfc4292, in inetCidrRouteEntry description : "Dynamically created rows will survive an agent reboot." is this implemented in net-snmp ? > > I've successfully add row to inetCidrRouteTable > , but it is gone away after a reboot > > is there a way to persist changes to routing table > betwee

external authentification

2010-06-15 Thread Torsten Bitterlich
Hi there, I would like to know if there are any new developments on external authentication for SNMP. Is it possible to use PAM or any external mechanism to authenticate users ? For the current release I could not find any hint on such a topic. thanks, -- with best regards / mit freundlichen

Re: cache problems with table data mib2c

2010-06-15 Thread Dave Shield
On 14 June 2010 20:25, Kathy McLeod wrote: > (See attached file: lldpPortConfigTable.C) Unfortunately, this file did not actually compile. (it complained about line 210 entry = SNMP_MALLOC_TYPEDEF(lldpPortConfigTable_entry); which should presumable be "struct lldpPortConfigTable_entry"

Shared object "libperl.so" not found, required by "libnetsnmphelpers.so.20"

2010-06-15 Thread nicHolas chew
Hi i am facing this problem using snmpd. can you help me? Command : > /usr/local/etc/rc.d/snmpd start Error: /libexec/ld-elf.so.1: Shared object "libperl.so" not found, required by "libnetsnmphelpers.so.20" WHEN I TYPE THIS COMMAND, I GET THESE: ldd /usr/local/sbin/snmpd /usr/local/sbin/snmpd

how to attach trap pdu agent address

2010-06-15 Thread gunsnroses
Hi Everybody, I need to set trap pdu agent address in net-snmp 5.5 from the configuration file snmpd.conf. Like, I am able to pass snmpd -z , I can get that trap pdu agent address, in main of snmpd.c. But how do I use that to set up the trap pdu agent address? Thanks and Rega