|
From: | Marie Mcallister |
Subject: | Re: Monit: 'Matching' functionality isn't working |
Date: | Wed, 24 Jun 2015 13:33:12 -0700 |
Hi Martin,
The pattern based process check uses regular _expression_ - the “procmatch” calls exactly the same code to find the matching process. I’m not sure what exactly you need - if partial pattern is not sufficient, you can either use full command, or for example if you need to make sure the command starts with some absolute path, you can do it using “^” character in the pattern:
check process xyz matching “^/mnt1/build/seeing/build/bin/classification_node”
The “start (program)” may be different then the running process pattern - if for example the start program is script, which daemonizes the started program or adds some parameters/options, etc.
Regards,
Martin
[Prev in Thread] | Current Thread | [Next in Thread] |