./configure --enable-embedded-perl --enable-shared

2017-08-22 Thread jayshankar nair
Hi, Net-snmp is not compiling with -enable-embedded perl and --with-perl-modules. The OS version is Fedora 25. Hence NetSNMP::TrapReceiver won't work . Error from evaluation of /home/jayshankar/net-snmp/net- snmp-5.7.3/perl/OID/Makefile.PL:

snmptable

2017-09-15 Thread jayshankar nair
Hi , I have modified snmptable program to accept the command line arguments. The parameter which i hardcoded in the program is version, peername and tableName. On running the program i get the following error. ./snmptable snmptable: Unknown host (192.168.1.4) (Address already in use). Thanks, Ja

snmptrapd

2018-10-04 Thread jayshankar nair
Hi, I am opening snmptrapd session with the below code netsnmp_session *sess_list = NULL, *ss = NULL; netsnmp_transport *transport = NULL; transport = netsnmp_transport_open_server("snmptrap", "udp:162"); ss = snmptrapd_add_session(transport); Currently i am able to read v2 traps. I was wonder

Re: snmptrapd

2018-10-12 Thread jayshankar nair
) which i need to integrate to make it v3 compliant. Thanks, Jayshankar On Fri, Oct 12, 2018 at 9:55 PM Wes Hardaker wrote: > jayshankar nair writes: > > > I was wondering in this code, how can i add snmpv3 credentials to > > decrypt the v3 trap. > > You should star

#1320 add original sender IP (and forwarder IP) when forwarded by snmptrapd

2018-10-24 Thread jayshankar nair
Hi, snmptrapd daemon doesn't track the orginal sender ip on port forwarding. Th e patch https://sourceforge.net/p/net-snmp/patches/1320/ stores the sender ip at snmpTrapAddress.0. Currently the patch is released for 5.7.3. Will there be a patch for 5.8 or this code will be integrated in future re

snmptrapd

2019-02-13 Thread jayshankar nair
Hi, I am running snmptrapd on linux machine. I am sending trap from the same machine. I am able to receive trap on snmptrapd log and tcpdump logs. My snmptrapd conf file is as below. authCommunity log,execute,net public createUser -e 0x81020304 traptest SHA mypassword DES mypassword authu

Re: snmptrapd

2019-02-13 Thread jayshankar nair
On Wed, Feb 13, 2019 at 1:50 PM jayshankar nair > wrote: > >> Hi, >> >> I am running snmptrapd on linux machine. I am sending trap from the same >> machine. I am able to receive trap on snmptrapd log and tcpdump logs. >> My snmptrapd conf file is as below. >> &g

snmptrapd missing traps

2019-07-09 Thread jayshankar nair
Hi, I am facing some issues with snmptrapd. snmptrapd is missing some isis traps. If there are 4 isis traps in tcpdump at certain time. snmptrapd shows only 3 isis traps. This could be happening for other trap types too. How can i fix this issue. Thanks, Jayshankar _

snmptrapd Time Out

2019-07-15 Thread jayshankar nair
Hi, I am running code similar to snmptrapd on linux server. Currently there are no traps receiving on the system. I am getting Time Out. Is it a valid behavior to timeout if there are no traps . while (netsnmp_running) { trapd_update_config(); numfds = 0; /* Initiali

snmptable Unknown host

2019-07-19 Thread jayshankar nair
Hi, I am running modified version of snmptable.c. On certain machines i am getting snmp_sess_open error "Unknown host". Any idea??. Thanks, Jayshankar ___ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net

Re: snmptable Unknown host

2019-07-22 Thread jayshankar nair
Magnus Fromreide wrote: > On Fri, Jul 19, 2019 at 01:08:02PM +0530, jayshankar nair wrote: > > Hi, > > > > I am running modified version of snmptable.c. On certain machines > > > > i am getting snmp_sess_open error "Unknown host". > > > > Any

snmptrapd

2019-09-18 Thread jayshankar nair
Hi, I am using variant of snmptrapd. The snmptrapd is processing trap packet at 4min delay. Why so much delay??. The delay is observed in function int snmp_input(int op, netsnmp_session *session, int reqid, netsnmp_pdu *pdu, void *magic) in snmptrapd_handlers.c. Its here i am process

Fwd: snmptrapd

2019-09-23 Thread jayshankar nair
> > Hi, >> >> I am using variant of snmptrapd. >> > > In what way is it a variant? > It using the same piece of code till snmp_input. The delay is observed in snmp_input, After which we process the pdu > > >> The snmptrapd is processing trap packet at 4min delay. Why so much >> delay??. >> > > D

snmptrapd

2020-08-09 Thread jayshankar nair
Hi, I am testing snmptrapd daemon. snmptrapd is not processing traps from certain ip address. I am receiving the traps in tcpdump. My linux release is Centos 7. I have disable the firewalld. iptables is also not running. Appreciate your help. Thanks, Jayshankar snmptrapd Logs: snmptrapd -c /tm

still reachable loss record

2021-02-24 Thread jayshankar nair
Hi, I am testing net-snmp for memory leaks with valgrind. I am getting the message for still reachable in loss record. I analyze the code parse.c. It is allocating memory for tp structure and calling do_subtree recursively. Let me know is this an issue. Thanks, Jayshankar 21,888 bytes in 114 b