Home Directory Plugins Operating Systems Linux check_linux_threadcount

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_linux_threadcount

Rating
0 votes
Favoured:
0
Current Version
v1.0
Last Release Date
2018-12-19
Compatible With
  • Nagios 3.x
  • Nagios 4.x
Twitter Handle
@kadirsert
License
GPL
Hits
5059
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Description:
-------------
This Nagios Plugin calculates count of threads for one or more Linux process(es). One can give pid number or pid file path to identify the unique process. pid_cmd_regex is useful when monitoring sum of thread counts for multiple processes.

Usage:
--------
check_linux_threadcount.py {-w,--warn} {-c,--crit} {--pid_number,--pid_file,--pid_cmd_regex}

Examples:
------------
Monitoring the process with pid number 1757:
check_linux_threadcount.py -w 1500 -c 2000 --pid_number 1757

Monitoring the process by using pid file:
check_linux_threadcount.py --warn 2000 --crit 2200 --pid_file /var/run/autofs.pid

Getting sum of the thread counts for multiple jboss instances:
check_linux_threadcount.py -w 1500 -c 2000 --pid_cmd_regex ".*org.jboss.Main.*"