Threads and counting them

Tobias Klausmann klausman at schwarzvogel.de
Wed May 31 12:24:40 CEST 2006


Hi! 

I'm monitoring several processes that do not for but use threads.
Unfortunately, check_procs can be coerced into count threads
individually. While I could hack a shell script together using 
ps a -L, I'd rather use a stock plugin for this. Is there any way
to make check_procs count the threads? Or maybe anoither plugin
that can do what I need? A patch against check_procs would also
be nice, since I'm not very keen on hacking C myself (I know my
limits).

Regards,
Tobias


-- 
You don't need eyes to see, you need vision.


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list