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:20 -c 1: -u root -C sshd -a '/usr/sbin/sshd'"
96 name: "network service - sshd"
99 depends: process - sshd
100 normal_check_interval: 60
101 notification_interval: 60
104 name: network service - nrpe
105 check: check_tcp!5666
106 hostgroups: computers
107 max_check_attempts: -1
110 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'"
111 hostgroups: computers
112 depends: network service - nrpe
115 name: process - munin-node
116 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C munin-node -a '/usr/sbin/munin-node'"
117 hostgroups: computers
119 name: network service - munin-node
120 check: check_tcp!4949
121 hostgroups: computers
122 depends: process - munin-node
126 # 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'"
127 # 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'"
128 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
129 hostgroups: computers
131 name: network service - ntp
133 hostgroups: computers
134 depends: process - ntpd
138 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C atd -a /usr/sbin/atd"
139 hostgroups: computers
143 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C cron -a /usr/sbin/cron"
144 hostgroups: computers