nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u stunnel4 -C stunnel4 -a '/usr/bin/stunnel4 /etc/stunnel/puppet-ekeyd.conf'"
hostgroups: wheezy, jessie
excludehostgroups: freebsd, alioth
+ -
+ name: process - stunnel4 - puppet-ekeyd is crazy
+ nrpe: 'if [ -e /var/run/stunnel4/stunnel-ekeyd.pid ] && [ "$(wc -l < /proc/$(cat /var/run/stunnel4/stunnel-ekeyd.pid)/net/tcp)" -gt 1000 ]; then echo "Crazy number of open FDs."; exit 2; else echo "All seems fine."; exit 0; fi'
+ #hostgroups: squeeze, wheezy, jessie
+ #excludehostgroups: freebsd, alioth
+ hosts: master
# }}}
# {{{ anti-services
-