From 6f20bca6cbb82c792be697e6ae1e47fcded1ccaf Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 20 Mar 2017 10:00:00 +0100 Subject: [PATCH] Add nagios puppet check out of cron --- modules/nagios/manifests/client.pp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/nagios/manifests/client.pp b/modules/nagios/manifests/client.pp index 2f4aede23..5dfd1029f 100644 --- a/modules/nagios/manifests/client.pp +++ b/modules/nagios/manifests/client.pp @@ -77,4 +77,7 @@ class nagios::client inherits nagios { mode => '0555', } + file { '/etc/cron.d/puppet-nagios-wraps': + content => "47 * * * * root /usr/sbin/dsa-wrap-nagios-check -s puppet-agent /usr/lib/nagios/plugins/dsa-check_puppet_agent -d0 -c 28800 -w 18000\n", + } } -- 2.20.1