Avatar of MichaelBalack
MichaelBalackFlag for Singapore

asked on 

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
LinuxNetworkingComponents* Monitoring tool

Avatar of undefined
Last Comment
Sebastian Talmon
Avatar of David Favor
David Favor
Flag of United States of America image

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.
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)
Do you need additional help, or is your question solved?
Avatar of MichaelBalack
MichaelBalack
Flag of Singapore image

ASKER

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
ASKER CERTIFIED SOLUTION
Avatar of MichaelBalack
MichaelBalack
Flag of Singapore image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of David Favor
David Favor
Flag of United States of America image

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.
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
Networking
Networking

Networking is the process of connecting computing devices, peripherals and terminals together through a system that uses wiring, cabling or radio waves that enable their users to communicate, share information and interact over distances. Often associated are issues regarding operating systems, hardware and equipment, cloud and virtual networking, protocols, architecture, storage and management.

102K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo