Per process CPU monitoring

Good morning @Clemlar

  • The 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”. You can change this behaviour with a rule per host/service e.g. “Escape HTML codes in service output”.

  • 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”. The “downside” is that this will result in a new service for every process it discovers that way. In succession, you could create a
    combined graph of all those processes, and you would have all information in a single graph. Now how useful such a graph with e.g. 1000 processes is, is another story…

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

Another possibility would be that you write a local check, that e.g. runs top in batch mode, returning the “top ten” processes. With a properly formatted output for the CMK agent you should get the information you need, more easily into CMK.

HTH,
Openmindz

1 Like