Skip to main content
Question

os::windows::snmp::mode::service not working with special italian or german language chars because filter not decoded

  • November 17, 2023
  • 1 reply
  • 46 views

Forum|alt.badge.img+4

When using some German or Italian systems the service names can contain some special language chars. The plugin is working fine because the value receiving from SNMP is UTF-8 decoded (when you don't use --source-encoding UTF-8 is the standard).

The problem is when use a filter to filter only one specific service the filter will not be decoded. So the plugin will filter with a regex that not matches because the filter is not decoded.

The check fails

 

decode the filter, too and the check will work fine

and the check works
 


Pull request

https://github.com/centreon/centreon-plugins/pull/4744​​​​​​​

1 reply

omercier
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • 277 replies
  • January 16, 2024

Hi @rmorandell,

With delay, thank you for your interest in Centreon and thank you a lot for your pull request.

We’ll examine it within the next days/weeks.