Re: Snmptrap Buffer Error

2021-04-07 Thread Feroz
Can you share your snmptrapd.conf file contents?

On Wed, 7 Apr, 2021, 4:51 pm Ahmet Muzaffer Dülger, <
ahmetmuzafferdul...@gmail.com> wrote:

> Hi,
>
> I use net-snmp 5.7.3 and I want to send snmptrap continuously on OpenWrt.
> First trap message is OK. But I'm getting error when sending a second trap
> message ( buffer too small to read octet string (13 < 13) ).
>
> The command is as follows;
> snmptrap -m ALL -v 2c -c public :' 
>  s 'text message'
>
> I noticed that I got the error when the oldEngineID parameter was added to
> the snmpapp.conf file. I am not sure if there is an error I made while
> running the command, or if there is an error caused by net-snmp.
>
> Can you help with this topic?
> Best regards.
>
> --
>
> *Ahmet Muzaffer DULGER*
> ___
> Net-snmp-users mailing list
> Net-snmp-users@lists.sourceforge.net
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Snmptrap Buffer Error

2021-04-07 Thread Ahmet Muzaffer Dülger
Hi,

I use net-snmp 5.7.3 and I want to send snmptrap continuously on OpenWrt.
First trap message is OK. But I'm getting error when sending a second trap
message ( buffer too small to read octet string (13 < 13) ).

The command is as follows;
snmptrap -m ALL -v 2c -c public :'  
s 'text message'

I noticed that I got the error when the oldEngineID parameter was added to
the snmpapp.conf file. I am not sure if there is an error I made while
running the command, or if there is an error caused by net-snmp.

Can you help with this topic?
Best regards.

-- 

*Ahmet Muzaffer DULGER*
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users