cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Host Process Availability - Can't find Process

Joao1
Visitor

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:

Joao1_0-1761212763235.png

 

But it opens a problem where it says it can't find the process. What am i doing wrong?

 

Thanks in advance,

João

8 REPLIES 8

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

Is that processes autodiscovered in some host already?

You can go to host view and checking existing list.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

rastislav_danis
DynaMight Pro
DynaMight Pro

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.

Alanata a.s.

GilesDay
Advisor

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.

Why do App Developers have high insurance rates? (gnihsarc peek yehT)

Joao1
Visitor

That process is already discovered at the host level, image:

 

Joao1_0-1761230785975.png

 

 

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.

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

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Joao1
Visitor

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?

Hi,

You can try another rule, for example exe name or exe path instead of command line rule.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Joao1
Visitor

Hi everyone. I got it.

Joao1_0-1761294365632.png

 

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:

Joao1_1-1761294438593.png

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.

Featured Posts