check_process_runtime is a plugin for Nagios that can monitor processes that run too long on a Linux system.
If you ever had the problem that certain processes can run amok and you want to check on them, then this is your plugin. It is a simple bash script that is using the proc file system to get information about the process. It has the opportunity to check a warning and a critical level.
So, without further ado, I give you the first release of check_process_runtime.
Usage: check_process_runtime.sh -p
-c -w [-h] OPTIONS: -h Show this message -p Name of process to be checked (i.e. "init") -c Critical time. Allowed time units: s - seconds / m - minutes / h - hours / d - days / w - weeks Examples: 72h, 1w, 10s -w Warning time. Allowed time units: s - seconds / m - minutes / h - hours / d - days / w - weeks Examples: 72h, 1w, 10s
MD5 Sums for the download files:
817966e70d71169e3e8b6c068458b720 check_process_runtime-1.0.tar.bz2 df5da6ac43a493238f943df8c9e6b8ca check_process_runtime-1.0.tar.gz d43deb335cee1c115ebe54df732abb6e check_process_runtime-1.0.zip
SHA-1 checksums for the download files:
5595f80824948b7d64ec89c4b2322a0dc8f0a2e4 check_process_runtime-1.0.tar.bz2 05c41530758e4861b76eb0013e4aae67452b27b5 check_process_runtime-1.0.tar.gz ad966dccc8e80a17e58aae43564d2aa0de2232b6 check_process_runtime-1.0.zip
After some soul and web searching I decided to release this plugin under the GPL 2. The download contains the license in the file LICENSE.TXT.