yes, i know
these checks do not serve me
websphere
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: websphere
Maybe everything took a wild turn somewhere that I didn't recognize, did this get answered?jdalrymple wrote:Will you have a predictable number?
This will provide a warning alert if you have fewer than 10 or more than 100 websphere processes, and it will provide a critical alert if you have fewer than 9 or more than 1000.Code: Select all
check_procs -w 10:100 -c 9:1000 -C websphere
Would this work?
Yes.ariarlet wrote:There is no way that this works just putting the name of the service?
Code: Select all
[root@localhost libexec]# ./check_procs -w 10:100 -c 9:1000 -C httpd
PROCS OK: 13 processes with command name 'httpd' | procs=13;10:100;9:1000;0;
[root@localhost libexec]# ./check_procs -w 15:100 -c 9:1000 -C httpd
PROCS WARNING: 13 processes with command name 'httpd' | procs=13;15:100;9:1000;0;
[root@localhost libexec]# ./check_procs -w 20:100 -c 15:1000 -C httpd
PROCS CRITICAL: 13 processes with command name 'httpd' | procs=13;20:100;15:1000;0;