I need to monitor how many threads a particular Linux process (Tomcat) has spawned.
Zabbix agent doesn't seem to have a thread.num[] equivalent to proc.num[] . I also don't see any way to make proc.num[] count threads.
I've found some old bug reports that seem to indicate that proc.num[] used to count all the threads for a multi-threaded process, but that behavior wasn't what many users wanted, so the behavior was changed to be only processes.
Is a custom item using a script the recommended way to do this?
Thanks,
Tim
Zabbix agent doesn't seem to have a thread.num[] equivalent to proc.num[] . I also don't see any way to make proc.num[] count threads.
I've found some old bug reports that seem to indicate that proc.num[] used to count all the threads for a multi-threaded process, but that behavior wasn't what many users wanted, so the behavior was changed to be only processes.
Is a custom item using a script the recommended way to do this?
Thanks,
Tim
Comment