check_vsz


#1

This is an old plugin for which I am looking for a replacement. Looks like it might have went away with netsaint. Following is the output from -h. Does anyone know if there is a newer version of this or if there is a replacement plugin? I couldn’t find anything like it in the new nagios-plugins-1.4.3 distribution.

check_vsz (netsaint-plugins 1.2.8-4) 1.7
The netsaint plugins come with ABSOLUTELY NO WARRANTY. You may redistribute
copies of the plugins under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
Copyright © 2000 Karl DeBisschop [email protected]

This plugin checks the image size of a running program and returns an
error if the number is above either of the thresholds given.

Usage: check_vsz -w -c -C command]
check_vsz --help
check_vsz --version

Options:
-h, --help
Print detailed help
-V, --version
Print version numbers and license information
-w, --warning=INTEGER
Program image size necessary to cause a WARNING state
-c, --critical=INTEGER
Program image size necessary to cause a CRITICAL state
-C, --command=STRING
Program to search for [optional]


#2

Don’t know of a replacement, but if it works, then why do you need one?


#3

…looks like check_procs 1.46 from nagios-plugins 1.4.2 has a more generic implementation used as follows
:
check_procs -w 50000 -c 100000 --metric=VSZ
Alert if vsz of any processes over 50K or 100K