-
- ############ Processes/Services that only run on some computers ############
- ####
- ###
- -
- name: process - rngd
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd -a '/usr/sbin/rngd -r /dev/hwrng'"
- hostgroups: dl385
- ###
- -
- name: process - mdadm monitor
- servicegroups: raid
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C mdadm -a '/sbin/mdadm --monitor --pid-file /var/run/mdadm/monitor.pid --daemonise --scan'"
- hostgroups: sw-raid
- excludehostgroups: wheezy
- -
- # wheezy:
- name: process - mdadm monitor
- servicegroups: raid
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C mdadm -a '/sbin/mdadm --monitor --pid-file /run/mdadm/monitor.pid --daemonise --scan'"
- hostgroups: sw-raid
- excludehostgroups: squeeze
- -
- name: RAID - sw raid
- servicegroups: raid
- nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
- hostgroups: sw-raid
-
- ###
- -
- name: process - ud-replicated
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C ud-replicated -a '/usr/bin/python /usr/bin/ud-replicated'"
- hostgroups: computers
- excludehostgroups: squeeze,freebsd
- -
- name: process - ud-replicated
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C python2.7 -a '/usr/bin/python /usr/bin/ud-replicated'"
- hostgroups: freebsd
- -
- name: process - monit
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C monit -a '/usr/sbin/monit -d 300 -I -c /etc/monit/monitrc -s /var/lib/monit/monit.state'"
- hostgroups: squeeze
- -
- name: process - monit
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C monit -a '/usr/bin/monit -d 300 -I -c /etc/monit/monitrc -s /var/lib/monit/monit.state'"
- hostgroups: computers
- excludehostgroups: squeeze
- -
- name: HW - hpacucli status
- servicegroups: raid
- nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli"
- normal_check_interval: 120
- hostgroups: dl385, dl380, dl360, bl460
- excludehosts: schein, rietz
- -
- name: HW - hpacucli status
- servicegroups: raid
- nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli --no-controller-ok --ignore-controller='P700m'"
- normal_check_interval: 120
- hostgroups: bm-bl
- -
- name: HW - hpacucli status
- servicegroups: raid
- nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli --no-battery"
- normal_check_interval: 120
- hosts: schein, rietz
- -
- name: HW - hpacucli enclosure status
- servicegroups: raid
- nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli-enclosure 1 1E:1"
- normal_check_interval: 120
- hosts: franck
- -
- name: HW - hpacucli status
- servicegroups: raid
- nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli --ignore-transfer-speed=1I:1:1 --ignore-transfer-speed=1I:1:2"
- normal_check_interval: 120
- hostgroups: dl585
- ###
- -
- name: HW - hpasmcli status
- nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm"
- normal_check_interval: 120
- hostgroups: dl385, dl380, dl360, bl460, dl585, bm-bl
- excludehosts: villa, lobos, senfl, schein
- -
- name: HW - hpasmcli status
- nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm --ps-no-redundant"
- normal_check_interval: 120
- hosts: villa, lobos
- -
- name: HW - hpasmcli status
- nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm --fan-no-redundant"
- normal_check_interval: 120
- hosts: senfl, schein
- ###
- -
- name: RAID - 3ware
- servicegroups: raid
- nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-3ware"
- hosts: powell
- ###
- -
- name: RAID - aacraid
- servicegroups: raid
- nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-aacraid"
- hostgroups: aacraid
- ###
- -
- name: RAID - megaraid
- servicegroups: raid
- nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-megaraid"
- hostgroups: megaraid
- ###
- #-
- # name: RAID - 3ware
- # servicegroups: raid
- # nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-3ware"
- # hosts: puccini
- ###
- -
- name: RAID - MPT
- servicegroups: raid
- nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-mpt"
- hostgroups: mptraid
-
- ###
-# -
-# name: RAID - megactl
-# servicegroups: raid
-# nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-megactl"
-# hostgroups: megactl
- ###
- -
- name: RAID - DRBD
- servicegroups: raid
- nrpe: "/usr/lib/nagios/plugins/dsa-check-drbd -d All"
- hostgroups: drbd-hosts
- ###
- -
- name: process - slapd
- 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: draghi
- -
- name: network service - ldaps cert
- check: dsa_check_cert!636
- depends: process - slapd
- normal_check_interval: 60
- hosts: draghi
- ###
- -
- name: process - ulogd
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C ulogd -a '/usr/sbin/ulogd -d'"
- hostgroups: computers
- excludehostgroups: freebsd, sparc
- -
- name: unexpected process - ulogd
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C ulogd"
- hostgroups: freebsd, sparc
-
- ###
- -
- name: process - udevd
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -p 1 -C udevd -a 'udevd'"
- hostgroups: computers
- excludehostgroups: freebsd
- -
- name: unexpected process - udev
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C udevd"
- hostgroups: freebsd
- ###
- -
- name: process - acpid
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C acpid -a '/usr/sbin/acpid'"
- hostgroups: acpid-hosts
- -
- name: unexpected process - acpid
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C acpid"
- hostgroups: computers
- excludehostgroups: acpid-hosts, kvmdomains
- ###
-# -
-# name: process - bosserver
-# nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C bosserver -a '/usr/sbin/bosserver'"
-# hostgroups: bosserver
-#
- ###
- -
- 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'"
- hostgroups: xinetd-hosts
- -
- name: unwanted process - xinetd
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C xinetd"
- hostgroups: computers
- excludehostgroups: xinetd-hosts, deadslow
- ###
- -
- name: network service - finger
- check: check_tcp!79
- hosts: draghi
- depends: process - xinetd
- ###
- -
- name: network service - rsync
- check: check_tcp!873
- hostgroups: rsyncd-hosts
- depends: process - xinetd
- excludehosts: rietz
- -
- name: network service - rsync
- check: check_tcp!873
- hosts: rietz2
- depends: rietz:process - xinetd
- -
- name: network service - rsync
- check: check_tcp!873
- hosts: milanollo2
- depends: milanollo:process - xinetd
-
- ###
- -
- name: process - icinga
- # there is always one extra process per check currently running..
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:30 -c 1: -u nagios -C icinga -a '/usr/sbin/icinga -d /etc/icinga/icinga.cfg'"
- hosts: tchaikovsky
- ###
- -
- name: process - jetty - master
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -a 'jsvc.exec'"
- hostgroups: jetty-hosts
- -
- name: process - jetty - worker
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1:100 -u jetty -a 'jsvc.exec -user jetty'"
- hostgroups: jetty-hosts
- depends: process - jetty - master
-
- ###
- -
- name: process - apache2 - master
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -a /usr/sbin/apache2"
- hostgroups: apache2-hosts
- -
- name: process - apache2 - worker
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1:100 -u www-data -a /usr/sbin/apache2"
- hostgroups: apache2-hosts
- depends: process - apache2 - master
- -
- name: unwanted process - apache2
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C apache2"
- hostgroups: computers
- excludehostgroups: apache2-hosts, deadslow