Win32ServiceDetector doesn't handle unicode characters

Description

If you try to setup a Win32ServiceDetector which has unicode characters (example, umlaut, &#228winking face then the detector tries to create an OID with negative values.

Acceptance / Success Criteria

None

Attachments

1
  • 21 Jul 2017, 03:14 PM

Lucidchart Diagrams

Activity

Show:

Norbert Steinhoff October 23, 2017 at 6:35 PM

Hi,

 

any news here ?

Norbert Steinhoff July 21, 2017 at 3:21 PM

F.... slightly smiling face
First was

Using ä

Second

Using ä

Norbert Steinhoff July 21, 2017 at 3:18 PM

Sample:

Using Ġ in the detector definition results in:

 
2017-07-11 19:20:01,821 DEBUG [Provisiond-TaskScheduler-Thread] o.o.n.p.d.s.Win32ServiceDetector: setWin32ServiceName: setting service name to G DATA Dateisystem Wächter
2017-07-11 19:20:01,821 DEBUG [Provisiond-TaskScheduler-Thread] o.o.n.p.d.s.Win32ServiceDetector: setWin32ServiceName: the OID for the Win32 service  is .1.3.6.1.4.1.77.1.2.3.1.3.26.71.32.68.65.84.65.32.68.97.116.101.105.115.121.115.116.101.109.32.87*.-61.-92*.99.104.116.101.114
 
Using ä
 
Internal Exception: org.xml.sax.SAXParseException: The entity "auml" was referenced, but not declared.]; nested exception is javax.xml.bind.UnmarshalException
 - with linked exception:

Norbert Steinhoff July 21, 2017 at 3:15 PM

Hi Ron,

attached the requested snmpwalk-debug data.

 

Best
Norbert

Details

Assignee

Reporter

Labels

Affects versions

Priority

PagerDuty

Created July 18, 2017 at 12:25 AM
Updated September 21, 2021 at 6:25 PM