23 Oct 2025 10:46 AM
I have a requirement to monitor a certain process, i'll put the command they gave me to grab this process:
[user@server~]$ ps -ef | grep "runmqlsr -r -m QMCORONA -t TCP -p 1416"
mqm 2179 2158 0 Oct11 ? 00:00:01 /apps/MQ/mqm/bin/runmqlsr -r -m QMCORONA -t TCP -p 1416
user 32298 32277 0 10:43 pts/0 00:00:00 grep --color=auto runmqlsr -r -m QMCORONA -t TCP -p 1416
As we can see, we can find the process.
I configured the rule like this:
But it opens a problem where it says it can't find the process. What am i doing wrong?
Thanks in advance,
João
Solved! Go to Solution.
23 Oct 2025 02:27 PM
Hi,
Is that processes autodiscovered in some host already?
You can go to host view and checking existing list.
Best regards
23 Oct 2025 02:43 PM
Dumb question: is it a Linux OS? You can also check agent's support archive (diagnostic commands), it should contain list of all running processes.
23 Oct 2025 03:07 PM
you can also run a process instance snapshot and see if it is in there. then grab the process there.
We have noticed some issues with certain processes not being detected. Trying to get that sorted out with support right now.
23 Oct 2025 03:46 PM
That process is already discovered at the host level, image:
Issue here is the port part. We want to monitor only the process running on 1416 and not the other.
I was trying to see if there was a way to monitor that specific process instead of de-aggregate the process group (Don't even know if it's possible to de-aggregate through port because of tecnology being classified as other).
It is a Linux OS. Haven't tried process instance snapshot.
23 Oct 2025 04:13 PM
Hi,
Maybe exe path contains more information where you can define your own Process group detection.
And later, when process is split out, you can enable alerting.
Best regards
23 Oct 2025 04:40 PM
I understand, but isn't there a simpler way of doing process availability instead of using Process group detection and splitting the process group?
Is it recommended to try and do it through what Giles said?
24 Oct 2025 07:48 AM
Hi,
You can try another rule, for example exe name or exe path instead of command line rule.
Best regards
24 Oct 2025 09:28 AM
Hi everyone. I got it.
So the process is splitted. Didn't need to configure it at the environment level but at the host level. Inside Host -> Declarative Process Grouping, the following configuration:
It's solved. It would still be good to find out how Host -> Process Availability works and if it would be possible through that setting, but either way this is a good solution. Thanks.