1 # Non comment lines are YAML
3 # Strings ought to be in double quotes, but it works in most cases if they aren't :)
7 #############################
9 #############################
16 #############################
19 # hostgroups ircd and all are automatically defined
21 #############################
26 #############################
28 #############################
32 check: "check_ping!300.0,20%!600.0,40%"
35 ############ Services ############
38 ############ Disk Usage ############
42 nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /"
45 ############ All Computers ############
48 # name: apt - security updates
49 # nrpe: "/usr/local/bin/nagios-check-apt-updates --warnifupdates"
50 # hostgroups: computers
51 # normal_check_interval: 480
52 # notification_interval: 480
53 # max_check_attempts: 4
54 # retry_check_interval: 12
58 nrpe: "/usr/lib/nagios/plugins/check_users 30 35"
63 nrpe: "/usr/lib/nagios/plugins/check_load -w 12,10,8 -c 22,18,14"
67 name: processes - zombies
68 nrpe: "/usr/lib/nagios/plugins/check_procs 5 10 -s Z"
72 name: processes - total
73 nrpe: "/usr/lib/nagios/plugins/check_procs 620 700"
77 name: swap usage - percent
78 nrpe: "/usr/lib/nagios/plugins/check_swap -w 20% -c 10%"
83 nrpe: "/usr/lib/nagios/plugins/check_swap -w 20000 -c 5000"
88 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty"
93 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C inetd -a '/usr/sbin/inetd'"
98 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1: -u root -C sshd -a '/usr/sbin/sshd'"
101 name: "network service - sshd"
103 hostgroups: computers
104 depends: process - sshd
105 normal_check_interval: 60
106 notification_interval: 60
110 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C udevd -a 'udevd'"
111 hostgroups: computers
114 name: network service - nrpe
115 check: check_tcp!5666
116 hostgroups: computers
117 max_check_attempts: -1
120 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:25 -c 1: -u nagios -C nrpe -a '/usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d'"
121 hostgroups: computers
122 depends: network service - nrpe
125 name: process - munin-node
126 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C munin-node -a '/usr/sbin/munin-node'"
127 hostgroups: computers
129 name: network service - munin-node
130 check: check_tcp!4949
131 hostgroups: computers
132 depends: process - munin-node
136 # sarge: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
137 # etch: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u ntp -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
138 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
139 hostgroups: computers
141 name: network service - ntp
143 hostgroups: computers
144 depends: process - ntpd
145 excludehostgroups: vservers, xendomains
149 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C atd -a /usr/sbin/atd"
150 hostgroups: computers
154 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C cron -a /usr/sbin/cron"
155 hostgroups: computers