How to configure to include this ps for monitoring linux servers/

This is using check_MK 1.4.0p26. This is a new setup with few linux servers and networking equipments put in monitoring. For linux server monitoring, found very few components were monitoring. We want to monitor "ps", and we found this ps located in /opt/omd/versions/1.4.0p26.cee/share/check_mk/checks folders. How to configure to monitor this PS(processes) for the monitored linux server as well?

Thanks in advance
LVL 1
MichaelBalackAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David FavorLinux/LXD/WordPress/Hosting SavantCommented:
My guess is this will be a better question to ask in the check_MK forums or via a support ticket.

To answer your question, someone would have to setup an OS Distro matching yours, including same packages installed.

Then install the exact check_MK version + attempt answering your question.

Post your exact OS Distro version (cat /etc/os-release) + if someone has a similar system, they can answer.

If this question... has no answers in a short period, best either use the check_MK forums or support ticket system... or hire someone to assist you, so they can ssh into your machine(s) + assist you with setup + debugging.
Sebastian TalmonSystem Engineer Datacenter SolutionsCommented:
the check_mk agent (Linux and Windows) includes the current running process list by default, and the monitoring server has a buildin check for processes (https://mathias-kettner.com/cms_check_ps.html)

But there is no automated inventory for each process as most of the processes are not relevant to monitor.

You can add checks for processes through rules (for example, ensure that apache has between 5 and 20 processes, and warn below 5 and above 20)
Sebastian TalmonSystem Engineer Datacenter SolutionsCommented:
Do you need additional help, or is your question solved?
SolarWinds® Network Configuration Manager (NCM)

SolarWinds® Network Configuration Manager brings structure and peace of mind to configuration management. Bulk config deployment, automatic backups, change detection, vulnerability assessments, and config change templates reduce the time needed for repetitive tasks.

MichaelBalackAuthor Commented:
Hi Sebastian and David,

Found this > WATO > Host and service parameters > Parameters for Discovered services > Application, Process and services > State and count of processes

See the attached diagram on how to configure to monitor sshd service
ee---process.JPG
MichaelBalackAuthor Commented:
Found this > WATO > Host and service parameters > Parameters for Discovered services > Application, Process and services > State and count of processes

See the attached diagram on how to configure to monitor sshd service
ee---process.JPG

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
The above approach you posted might not be useful.

This will depend on exactly what you're doing with this data, specifically accuracy required + sample rate required.

Whether this is only used by humans looking at a screen or requires machine readable data, so action can be taken to either recover problems before they become outages or notify someone of possible problems.
Sebastian TalmonSystem Engineer Datacenter SolutionsCommented:
Yes, that is the way you configure alarms if a process is running/not running or if there are too many processes with a specific name.

(The agent gives you a complete process list per default, but can not know what processes you want to monitor, so no automatic inventory)

For Processes that are reachable on a standard protocol (HTTP, SMTP, DNS, SSH) I would recommend to configure an active check (you will find rules for active checks also in WATO). This will test if a service is responsive, and not only if an executable is running
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.