command_name dsa_check_ssh_port
command_line /usr/lib/nagios/plugins/check_ssh -t 40 -H $HOSTADDRESS$ -p $ARG1$
}
+define command{
+ command_name dsa_check_time
+ command_line /usr/lib/nagios/plugins/check_time -w 5 -c 60 -H $HOSTADDRESS$
+}
check: check_ntp
hostgroups: computers
depends: process - ntpd
- excludehosts: raptor
+ excludehosts: raptor, allegri
#
-
name: network service - time
- check: check_time
- hosts: raptor
+ check: dsa_check_time
+ hosts: raptor, allegri
depends: process - xinetd
###
-
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, raptor
+ hosts: samosa, raptor, allegri
hostgroups: rsyncd-hosts
-
name: unwanted process - xinetd
nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C xinetd"
hostgroups: computers
- excludehosts: samosa, raptor
+ excludehosts: samosa, raptor, allegri
excludehostgroups: rsyncd-hosts
###
-