NagiosEnterprises / ncpa

Nagios Cross-Platform Agent
Other
182 stars 94 forks source link

ncpa agent does not send passive checks when process owner has cyrillic username #608

Open akrivulya opened 4 years ago

akrivulya commented 4 years ago

Windows Server 2016, agent version 2.2.0

nspa passive configuration: %HOSTNAME%|SRV_InfinityT = processes --name=infinityT.exe --match=search

according to web interface: зображення

InfinityT.exe process is running from NT_AUTHORITY\СИСТЕМА(SYSTEM) account. There is no ANY data from agent. Removing this service configuration allows agent to send data.

jomann09 commented 4 years ago

Can you show the ncpa_passive.log if there is any errors in there? I would like to see what part is erroring out. There are numerous character encoding issues that come from our reading/writing of json/encoded characters. Normally utf8 characters cause problems if not handled correctly. Sometimes we can't handle them at all in Python 2.7.

akrivulya commented 4 years ago

log attached

ncpa_passive.zip