NetXMS Support Forum

Development => General => Topic started by: hmjvaline on November 11, 2024, 02:20:35 PM

Title: Server's configuration parameters on CodePage Case issues
Post by: hmjvaline on November 11, 2024, 02:20:35 PM
A while ago, in order to get the name of the interface from snmp,
 because the name encoding uses UTF-8, I set UTF-8 in the setting option of SNMP.Codepage,
and found that it had no effect.SNMP
.Codepage



Later, it wasn't until I thought of changing UTF-8 to utf-8 that it started to work normally.
Should this input be changed to mainly uppercase,
or should it be made directly case-insensitive?

Title: Re: Server's configuration parameters on CodePage Case issues
Post by: uldis on November 12, 2024, 02:03:12 PM
Hi, could you please share your test scenario, also OS and debug logs if possible, etc? We have tried from your side and were not able to replicate this issue just yet.
Title: Re: Server's configuration parameters on CodePage Case issues
Post by: hmjvaline on November 15, 2024, 03:38:56 PM
I tested again and found that the problem may not be a capitalization issue. 
After we set snmp.codepage to utf-8, after I restarted the service and restarted the windows server,
 I found that it began to be unable to parse text normally again 
until I pressed the edit codepage again in the server configuratione, 
but did not modify it directly After saving, it returned to normal, 
so I think the settings of snmp.codepage may not be properly accessed when the service is restarted, 
but only take effect when the settings are saved.
Title: Re: Server's configuration parameters on CodePage Case issues
Post by: Alex Kirhenshtein on November 15, 2024, 05:44:15 PM
Quote from: hmjvaline on November 15, 2024, 03:38:56 PMso I think the settings of snmp.codepage may not be properly accessed when the service is restarted, 


You are right, there is a bug. Will be fixed in next patch release.