-
name: process - xinetd
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C xinetd -a '/usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive'"
- hosts: samosa, allegri, gluck, zelenka, ancina
+ hosts: samosa, allegri, gluck, zelenka, ancina, draghi
hostgroups: rsyncd-hosts
-
name: unwanted process - xinetd
nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C xinetd"
hostgroups: computers
- excludehosts: samosa, allegri, gluck, zelenka, ancina
+ excludehosts: samosa, allegri, gluck, zelenka, ancina, draghi
excludehostgroups: rsyncd-hosts
###
-
name: network service - finger
check: check_tcp!79
- hosts: samosa
+ hosts: samosa, draghi
depends: process - xinetd
###
-