alias: Hosts running jessie
stretch:
alias: Hosts running stretch
+ buster:
+ alias: Hosts running buster
kvmdomains:
alias: Hosts that are KVM domains
name: process - nrpe
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'"
hostgroups: computers
- excludehostgroups: stretch
+ excludehostgroups: stretch buster
max_check_attempts: -1
depends: network service - nrpe
-
name: process - nrpe
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 -f'"
- hostgroups: stretch
+ hostgroups: stretch buster
max_check_attempts: -1
depends: network service - nrpe
###
-
name: unwanted process - rpc.statd
nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C rpc.statd"
- hostgroups: stretch
+ hostgroups: stretch buster
excludehosts: storace
-
name: unwanted process - inetd
name: process - statd
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u statd -C rpc.statd -a '/sbin/rpc.statd'"
hostgroups: nfs-client, nfs-server
- excludehostgroups: stretch
+ excludehostgroups: stretch buster
-
name: process - nfsd
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u root -C nfsd -a '[nfsd]'"
hostgroups: computers
check_interval: 60
retry_interval: 15
- -
- name: puppet - client cert
- nrpe: "sudo -u puppet /usr/lib/nagios/plugins/dsa-check-cert-expire /var/lib/puppet/ssl/certs/$HOSTNAME$.debian.org.pem"
- hostgroups: computers
- check_interval: 60
- max_check_attempts: 2
- retry_interval: 5
####
-
name: ping peer on mgmt network