Revert "Add a check for puppet client cert expiration"
authorAurelien Jarno <aurelien@aurel32.net>
Sun, 31 Mar 2019 20:06:43 +0000 (22:06 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 31 Mar 2019 20:06:43 +0000 (22:06 +0200)
This reverts commit e88536af180f92dee0a035de9fce7e3b6ecf2bb8.

This would require a sudoers update for all hosts, not sure we really
want that.

config/nagios-master.cfg

index 363e159..af2a92b 100644 (file)
@@ -2928,13 +2928,6 @@ services:
     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