multiple procs reported by check_proc check
gadwall.cdev.bitmask.i Soledad_Procs CRITICAL CRIT - PROCS CRITICAL: 3 processes with args 'soledad'
i checked the procs table:
root 10713 0.0 0.6 208856 50896 ? Sl Mar12 1:04 /usr/bin/python /usr/bin/twistd --pidfile=/var/run/soledad.pid --logfile=/var/log/soledad.log web --wsgi=leap.soledad.server.application --port=ssl:2323:privateKey=/etc/x509/keys/leap.key:certKey=/etc/x509/certs/leap.crt root 18870 0.2 0.1 39536 8868 pts/0 S+ 20:35 0:02 /usr/bin/python ./get-soledad-and-couch-mem.py root 19251 0.0 0.0 5632 584 pts/1 S+ 20:36 0:00 tail -f /var/log/soledad.log
the check is called with:
/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -a soledad
so we need to tweak the check so it only matches the twisted proc, not the other ones.
(from redmine: created on 2014-03-13, closed on 2014-04-29)