Ok,
I think I found a bug in check_procs.
On my server:
ps -ef | grep -i ora_smon_RMAN
oracle 10562 1 0 02:14:39 ? 0:00 ora_smon_RMAN
Now when I try to find the same process in check_procs:
./check_procs -vvv -c 1: -C 'ora_smon_RMAN'
1001 S 105 10562 1 0 156 20 61d237c0 8069 5e2cc0d4 ? 0:00 oracleproc#=0 uid=105 vsz=0 rss=0 pid=10562 ppid=1 pcpu=0.00 stat=S etime= prog=oracle args=oracle
I see no way to differentiate from the other 136 other oracle processes on the system. Is there some other workaround to search for the exact process name?
check_procs doesn't find the correct process name
Re: check_procs doesn't find the correct process name
You might have better luck posting this to the nagios users list on sourceforge. The nagios plugin developers watch that list and might be able to answer this better than we can.