monitor puppet runs
authorPeter Palfrader <peter@palfrader.org>
Fri, 30 Aug 2019 11:28:46 +0000 (13:28 +0200)
committerPeter Palfrader <peter@palfrader.org>
Fri, 30 Aug 2019 11:28:54 +0000 (13:28 +0200)
config/nagios-master.cfg

index 532036b..aadcf3a 100644 (file)
@@ -2993,6 +2993,18 @@ services:
     hostgroups: computers
     check_interval:  60
     retry_interval: 15
+
+  -
+    name: puppet - catalog run
+    remotecheck: "/usr/lib/nagios/plugins/check_puppetdb_nodes -a 4 --node $HOSTNAME$.debian.org -w 720 -c 1440"
+    hostgroups: computers
+    runfrom: handel
+
+  -
+    name: puppet - all catalog runs
+    nrpe: "/usr/lib/nagios/plugins/check_puppetdb_nodes -a 4 -w 720 -c 1440"
+    hosts: handel
+
   ####
   -
     name: ping peer on mgmt network