docker_check icon indicating copy to clipboard operation
docker_check copied to clipboard

docker procs with perf data

Open haytxy opened this issue 4 years ago • 3 comments

hello,

are you able to add the possibility to monitor exact processes in docker with performance data?

Marcin

haytxy avatar Jul 06 '21 19:07 haytxy

Do you mean something like this?

{'Processes': [['root', '28353', '28332', '0', '08:35', 'pts/0', '00:00:00', 'bash'], ['root', '30909', '28353', '0', '08:44', 'pts/0', '00:00:00', 'sleep 30']], 'Titles': ['UID', 'PID', 'PPID', 'C', 'STIME', 'TTY', 'TIME', 'CMD']}

I do not get the idea, can you please clarify your need?

elacheche avatar Jul 07 '21 06:07 elacheche

I want to provide monitoring that will monitor micro-service workflow. image Those squares are micro-services. I want to correlate them and combine them in dependences.. The main synthetic check for them will measure performance for example CPU load or CPU utilization. If the CPU utilization goes down it means that the service stopped ingesting data and we will have an alert in the system.

Generally in the system/sub-system workflow, we have different kinds of micro-services it could be systemd daemon, procss, windows service, web service, processes/concerns in docker. The goal is to monitor their performance and able to set an alert if the performance threshold is zero or near zero.

an example: this check monitors process CPU utilization, when it goes down I want to have a critical status in the monitoring tool. image

Marcin

haytxy avatar Jul 08 '21 12:07 haytxy

Afaik, what you described needs a whole monitoring system, not just some changes in this project :)

In the example you shared:

this check monitors process CPU utilization, when it goes down I want to have a critical status in the monitoring tool.

That's a config that you add to your monitoring system, to alert when there are no data..

elacheche avatar Jul 22 '21 13:07 elacheche