Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
This plugin check cpu / ram or both for one or more process for all,one or few user. The data is put on graphs Usage: check_process -C -p [-w ] [-c ] [-n nickname] ] [-u ] [-o ]
Current Version
1.2
Last Release Date
June 21, 2013
Owner
Cyril Menigoz
License
GPL
This plugin check cpu / ram or both for one or more process for all,one or few user. The data is put on graphs
Usage: check_process -C <check type> -p <process> [-w <warning %>] [-c <critical %>] [-n nickname] ] [-u <user>] [-o <operator between check type> ]
-C, --checktype=STRING can be "CPU" or "RAM" or both separed by a comma -w, --warning=STRING warning threshold , default = 70 If you check both type put values in the same order as in the -C arg or put only one value -c, --critical=STRING Critical threshold, default = 90 If you check both type put values in the same order as in the -C arg or put only one value -o, --operator=STRING Operator between check type can be "and" or "or", default ="or" -p, --process=STRING process(es) to be check separed by comma -u, --user=STRING user to monitor -n, --name=STRING name to show instead of the command name from the " -p " arg
Data shown : Cpu used in %; Ram used in % and number of process as asked
Here is the boolean table i used to combined the check, please comment if you find anything strange.
### BOOLEAN TABLE ###
### OR ### _or_| _0_|_1_|_2_|_3_| _0_ | _0_|_1_|_2_|_3_| _1_ | _1_|_1_|_2_|_1_| _2_ | _2_|_2_|_2_|_2_| _3_ | _3_|_1_|_2_|_3_|
because i assume an unknown state between an ok state and a warning state as following
_or_| _0_|_3_|_1_|_2_| _0_ | _0_|_3_|_1_|_2_| _3_ | _3_|_3_|_1_|_2_| _1_ | _1_|_1_|_1_|_2_| _2_ | _2_|_2_|_2_|_2_|
### AND ###
and_| _0_|_1_|_2_|_3_| _0_ | _0_|_0_|_0_|_0_| _1_ | _0_|_1_|_1_|_1_| _2_ | _0_|_1_|_2_|_3_| _3_ | _0_|_1_|_3_|_3_|
because i assume an unknown state has 2/3 chance to hide a state worse or egual to a warning state
and_| _2_|_3_|_1_|_0_| _2_ | _2_|_3_|_1_|_0_| _3_ | _3_|_3_|_1_|_0_| _1_ | _1_|_1_|_1_|_0_| _0_ | _0_|_0_|_0_|_0_|
Hi, It would be nice to have total number of processes graph. Is it possible. Thanks.
Hi, I just add this feature.
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!