Question

os::windows::snmp::plugin --mode=processcount process-path error in web

  • 10 April 2024
  • 3 replies
  • 25 views

Badge +5

Hi,

 

I have an issue - I am trying to check windows process.

When I check it via command line, it works but in web I get this error:

UNKNOWN: Can't find Unicode property definition "r" in regex: marked by <-- HERE in m/C:\Pr <-- HERE ogram Files\Technology AS\WorkerService\/ at /usr/lib/centreon/plugins/centreon_windows_snmp.pl line 13921.

bash-5.1$ /usr/lib/centreon/plugins/centreon_windows_snmp.pl --plugin=os::windows::snmp::plugin --mode=processcount --process-name='WorkerService.exe' --hostname=1.2.3.1 --snmp-community=abcde --snmp-version=2c --critical=1: --process-path='C:\\Program Files\\Technology AS\\WorkerService\\' --regexp-path --verbose --process-status='running|runnable'

OK: Number of current processes running: 1 | 'nbproc'=1;;1:;0;

Process '1200' [status: running] [path: C:\Program Files\Technology AS\WorkerService\] [name: WorkerService.exe]

 

Am I doing something wrong or am I missing something from the command?


3 replies

Userlevel 4
Badge +12

Hi @katska can you show the result of the same command with the --debug option?

Badge +5

Can I send that output to your email?

Userlevel 4
Badge +12

Hi, yes please. And I know I owe you answers on several topics, so feel free to include links to all your unanswered questions 😅

Reply