12/20/2023 0 Comments Ubuntu check processor usage![]() ![]() If there’s a process that’s maxing resources (we assume CPU) and you’re unable to ssh to an affected instance, then the ability to monitor said instance may also be impaired. ![]() With a properly formatted output for the CMK agent you should get the information you need, more easily into CMK. runs top in batch mode, returning the “top ten” processes. Note: This approach might be a problem with the number of hosts you’re referring to, in terms of performance and/or licensing (if you use CEE).Īnother possibility would be that you write a local check, that e.g. In succession, you could create aĬombined graph of all those processes, and you would have all information in a single graph. The “downside” is that this will result in a new service for every process it discovers that way. You could also try to use the “Process discovery” rule differently: Try using a sane regular expression instead of “Match all processes” and use “%s” as “Process Name”. You can change this behaviour with a rule per host/service e.g. Good morning issue with the “HTML display” in your browser is most likely attributed to the fact, that HTML codes are escaped per default, since they are considered “insecure”. ![]() It doesn’t even have to be for all processes, it could be for say just the top 5, but I’m not sure how this would work for logging/display of the data? Or, whether if the CPU becomes maxed out and the CMK agent becomes unresponsive we would actually end up catching the problematic process if it was outside of the top 5 processes before the CPU became maxed out and instance is unresponsive and can’t be polled? ![]() I have tried extensively searching for something for this, but am yet to find a way to monitor CPU activity on a per process basis. Is there an easy way (or any way) of monitoring per process CPU usage so we can establish what particular process could be causing this? We are monitoring CPU usage as a whole, but this doesn’t obviously give us the granularity we need to be able to identify the problematic process. We have an issue where an unknown process (on Linux - Ubuntu 18.04) is maxing out CPU and causing cloud based instances to become unresponsive and require a power-cycle (no console access for troubleshooting). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |