S
S
Satisfied IT2021-03-01 10:26:44
Zabbix
Satisfied IT, 2021-03-01 10:26:44

Zabbix monitoring the existence of a process by part of the name, how?

There was a need to monitor the process in the process list by part of the name, but I just don’t understand how to attach a regular expression to proc.num, it’s not a problem to find the process by the full name, but you need to by part of the word (for example, find the console.exe process by entering con). Point in the right direction. Used zabbix 5.0, windows clients.

Alternatively, it is acceptable to use the request in the form system.run[TASKLIST /FI "IMAGENAME eq con*"], but the question arises how to return the response in the correct encoding, Russian characters in the response are unreadable

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
neol, 2021-03-01
specialist @borisdenis

Judging by the documentation, you need the 4th
cmdline parameter - a filter on the command line (it is a regular expression)
proc.num[,,,con]
like that

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question