Question

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

  • 17 November 2023
  • 1 reply
  • 33 views

Badge +1

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

Userlevel 4
Badge +12

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.

Reply