Event message containing multibyte characters

Started by Med, February 13, 2018, 05:18:42 AM

Previous topic - Next topic

Med

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.

Victor Kirhenshtein


Med

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.

Victor Kirhenshtein

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

Med

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.

Victor Kirhenshtein

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

Med

Hi,

Thank you very much for your quick response.

Best regards,

Med

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,

Victor Kirhenshtein

Hi,

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

Best regards,
Victor

Med

Hi,

Thank you very much for your quick response any time.

Best regards,