NetXMS Support Forum

English Support => General Support => Topic started by: Med on February 13, 2018, 05:18:42 AM

Title: Event message containing multibyte characters
Post by: Med on February 13, 2018, 05:18:42 AM
Hello,

If you register a message containing multibyte characters in the message in Event Configuration, a character string that is not registered at the end of the Message will be appended.
It is not added immediately after registration, but when Event Configuration is redisplayed, it can be confirmed that it is added with Event Configuration List or Edit Event Template.
This occurred from the previous version, but is there a workaround?

OS Version: Windows2012 (64bit)
NetXMS Version: 2.2.3

Thank you.
Title: Re: Event message containing multibyte characters
Post by: Victor Kirhenshtein on February 20, 2018, 09:21:56 PM
Hi,

we will check.

Best regards,
Victor
Title: Re: Event message containing multibyte characters
Post by: Med on July 27, 2018, 10:30:45 AM
Hello,

I am currently using version 2.2.6, but it is the same situation.
Currently multi-byte character strings are used in the event of snmptrap.

Although I do not know the effect of this case, if you use multibyte character string in event presentation of snmptrap, an unknown character string will be displayed after the value in the event monitor message of the management console.

Thank you.
Title: Re: Event message containing multibyte characters
Post by: Victor Kirhenshtein on July 28, 2018, 12:15:38 AM
Hi,

what database you are using? Can you check if data in database table event_cfg is correct or also has garbage at the end?

Best regards,
Victor
Title: Re: Event message containing multibyte characters
Post by: Med on July 30, 2018, 06:51:32 AM
Hi,

Thank you for the immediate reply.
I am using MySQL 5.6.15.

Garbage was not added to the relevant data in the database.
I tried organizing the occurrence situation, so please refer to the attached PDF file.

Thank you.
Title: Re: Event message containing multibyte characters
Post by: Victor Kirhenshtein on August 08, 2018, 02:49:36 PM
Hi,

I was able to reproduce this issue and fixed it in current development branch. Fix will be included into next release.

Best regards,
Victor
Title: Re: Event message containing multibyte characters
Post by: Med on August 13, 2018, 08:12:20 AM
Hi,

Thank you very much for your quick response.

Best regards,
Title: Re: Event message containing multibyte characters
Post by: Med on October 15, 2018, 08:30:45 AM
Hi,

We upgraded to 2.2.9 and confirmed that the event configuration problem has been resolved.
Thank you very much.

Although it is set to replace the snmp trap value with% n in the event message, there is still a problem that garbage is added after the replaced string if the value contains a multibyte character string.

Example)

snmp trap parameter:
%2 -> The second value of snmp trap is a multibyte character string

Event message definition:
Error:%2

Event monitor messages:
"Error: multibyte character stringxx"
xx -> garbage

Best regards,
Title: Re: Event message containing multibyte characters
Post by: Victor Kirhenshtein on October 15, 2018, 11:48:33 AM
Hi,

yes, I've found possible cause for that issue. Should be fixed in next release.

Best regards,
Victor
Title: Re: Event message containing multibyte characters
Post by: Med on October 15, 2018, 01:10:33 PM
Hi,

Thank you very much for your quick response any time.

Best regards,