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
4668
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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.*"