Trap Engine ID incorrect

2020-06-02 Thread Philippe DENIS via Net-snmp-users
Hello all, I’m using net-snmp 5.7.3 to send a V3 trap thanks to C code. The code is working correctly. I tested it first with V2c protocol and after I switch to V3 protocol. (All the keywords were changed trap2sink to trapsess) When sniffing on the network interface thanks to tcpdump, I receive

Re: Agentx timeout no response

2019-12-12 Thread Philippe DENIS via Net-snmp-users
Hi again, My problem was linked to the Udp port which is not aligned with the Configuration file. B/R Phil > Le 10 déc. 2019 à 07:31, Philippe DENIS a écrit : > > Hi again, > > By modifying the Udp port, I’ve succeeded to get an answer from snmpget -v > 2c -c MyComRO system.sysLocation.

Re: Agentx timeout no response

2019-12-09 Thread Philippe DENIS via Net-snmp-users
Hi again, By modifying the Udp port, I’ve succeeded to get an answer from snmpget -v 2c -c MyComRO system.sysLocation.0 But when I’m sending a request linked to my MIB. I still have the timeout. In order to know what part is not working correctly I typed the tcpdump -vv -i lo and the requests

Agentx timeout no response

2019-12-09 Thread Philippe DENIS via Net-snmp-users
Hello all, I've a problem to communicate with my agentx. I've set the MIBS environment variable by typing 'export MIBS=ALL' First, I write a small mib containing 2 objects (counter1 and counters2). Thanks to the mib2c tool, i've generated the C code and update the data needed. I follow all the st

Re: Agent and shared memory

2019-12-04 Thread Philippe DENIS via Net-snmp-users
Hi, Do you have any answer or any clue ? Have you already experienced a similar use-case ? Phil > Le 2 déc. 2019 à 20:53, Philippe DENIS a écrit : > > Hello all, > > I’ve created a MIB which contains 2 object Counter1 and Counter2. > > Thanks to the mib2c tool, I’ve generated the associat

Agent and shared memory

2019-12-02 Thread Philippe DENIS via Net-snmp-users
Hello all, I’ve created a MIB which contains 2 object Counter1 and Counter2. Thanks to the mib2c tool, I’ve generated the associated C skeleton and configure, compile and install. I succeeded to retrieve information thanks to snmpget command. Now, I want to create an agent to poll a shared mem

Re: net-snmp5.8 endpoint ""

2019-06-15 Thread Philippe DENIS via Net-snmp-users
that the problem is fixed but I’m wondering why do we have 3 snmpd.conf file under /etc, /var and /usr/local/share/snmp ? I assume that each one may have a specific role, is it ? Thanks > Le 8 juin 2019 à 23:03, Philippe DENIS via Net-snmp-users > a écrit : > > Hello, > >

Re: net-snmp5.8 endpoint ""

2019-06-08 Thread Philippe DENIS via Net-snmp-users
Hello, I tried it without success... I’ve checked that the one snmpd which is running is the one currently built and it’s. Any other idea to help me to fix the problem or mean to investigate ? > Le 8 juin 2019 à 05:30, Bart Van Assche a écrit : > >> On 6/7/19 11:19 AM, Philippe D

net-snmp5.8 endpoint ""

2019-06-07 Thread Philippe DENIS via Net-snmp-users
Dear all, I've an issue with the net-snmp 5.8 package, it's the first time, I used this protocol. I think that I've missed something either in the configuration of the snmpd or in the writing of the configuration file. See attached, a description of my problem. 1st step: == I've created a V