X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=nagios-master.cfg;h=41909ebcf9d8edeae616d28ab77cb354641bfed5;hb=b8582c8caec8828f76eb14cd65e94c31885f92eb;hp=6888d56c3c2f8512c82ae9fa855b8d45f672e759;hpb=69321d829c418152ca6500eaab201d9c82b00813;p=mirror%2Fdsa-nagios.git diff --git a/nagios-master.cfg b/nagios-master.cfg index 6888d56..41909eb 100644 --- a/nagios-master.cfg +++ b/nagios-master.cfg @@ -513,6 +513,11 @@ servicegroups: alias: kernel checks weaksshkeys: alias: weak ssh keys + apt: + alias: apt upgrade status + security: + alias: security + servicegroup_members: apt, weaksshkeys, kernel ############################# # services @@ -549,6 +554,12 @@ services: servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /" hostgroups: computers + excludehosts: ries + - + name: disk usage on / + servicegroups: diskspace + nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /" + hosts: ries - name: disk usage on /boot servicegroups: diskspace @@ -563,12 +574,12 @@ services: name: disk usage on /org servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org" - hosts: bartok, sperger, samosa, raff, lobos, villa, steffani, saens, pergolesi, verdi, puccini, spontini + hosts: sperger, samosa, raff, lobos, villa, steffani, saens, pergolesi, verdi, puccini, spontini - name: disk usage on /org servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /org" - hosts: merkel + hosts: merkel, bartok - name: disk usage on /srv servicegroups: diskspace @@ -624,6 +635,7 @@ services: #### - name: apt - security updates + servicegroups: apt nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/apt" hostgroups: computers normal_check_interval: 360 @@ -725,9 +737,15 @@ services: check: "dsa_check_ssh_port_version!22!OpenSSH_4.3p2 Debian-9etch2" depends: network service - sshd hostgroups: computers, deadslow - excludehosts: agnesi + excludehosts: agnesi, crest, kullervo excludehostgroups: lenny normal_check_interval: 360 + - + name: "network service - sshd - version" + check: "dsa_check_ssh_port_version!22!OpenSSH_4.3p2 Debian-9etch2+m68k1" + depends: network service - sshd + hosts: crest, kullervo + normal_check_interval: 360 - name: "network service - sshd - version" check: "dsa_check_ssh_port_version!22!OpenSSH_4.7p1 Debian-9" @@ -1194,7 +1212,7 @@ services: ### - name: process - slapd - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1:50 -u openldap -C slapd -a '/usr/sbin/slapd -g openldap -u openldap'" + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1:50 -u openldap -C slapd -a '/usr/sbin/slapd -h ldap:/// ldaps:/// -g openldap -u openldap'" hosts: samosa ### -