Home Directory Plugins System Metrics Processes check processes combined

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 processes combined

Current Version
1.2
Owner
License
GPL
Hits
43323
Files:
FileDescription
check_process.plcheck_process.pl
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!
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 ]
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 ]


-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_|




Reviews (1)
Hi,

It would be nice to have total number of processes graph. Is it possible.

Thanks.
Owner's reply

Hi,
I just add this feature.