Wildcards or regexp in check_process


#1

Hi, we have a Software which don’t always creates the same Filenames for their executables. Depending on OS, it can be UCXJWI3.EXE or UCXJWX6.EXE or UCXJWI3.exe. I really don’t want to create own service checks in icinga2 for each possible naming. I tried the check_process command of nrpe, also with multiple process-names, but it only when I check one single process and correct case. Is the a possibility to bring them down to one processname with wildcards or regular expressions? I found only that in old versions of NSClient the command CheckProcState supported the argument “match”, but in Versions since 0.5 this don’t seem to work any more. kind regards Robert