Skip to content

check_mk check for Tapicero procs falsely reports 2 procs running

panda.unstable.bitmask.i
    Tapicero_Procs       CRITICAL CRIT - PROCS CRITICAL: 2 processes with args 'tapicero'

we need to be more precise with the check, otherwise it will could the "tail -f /var/log/leap/tapicero.log" proc as tapicero proc.

root@panda:~# ps aux|grep tapi
root     13986  0.0  0.3 170012 26212 ?        Sl   Apr14   0:28 tapicero                                    
root     17794  0.0  0.0   5632   580 ?        S    Apr14   0:00 tail -f /var/log/leap/tapicero.log
root     22236  0.0  0.0   7836   844 pts/2    S+   21:34   0:00 grep tapi

root@panda:~# grep Tapicero_Procs /etc/check_mk/mrpe.cfg
Tapicero_Procs  /usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -a tapicero

(from redmine: created on 2015-04-15, closed on 2015-07-07)