Feature request: Implement "number of threads" metric for processes

Issue #268 duplicate
Gyorgy Demarcsek created an issue

Dear Monit Team,

It would be nice to have the "number of threads" as a resource that can be monitored, so one could write "if threads ..." inside a "check process" block of a monitrc, for example:

#!

if threads > 50 for 2 cycles then alert
if threads > 100 for 5 cycles then restart 

Thanks.

Cheers, Gyuri

Comments (1)

  1. Log in to comment