From: Peter Palfrader Date: Mon, 20 Mar 2017 09:00:00 +0000 (+0100) Subject: Add nagios puppet check out of cron X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=6f20bca6cbb82c792be697e6ae1e47fcded1ccaf;p=mirror%2Fdsa-puppet.git Add nagios puppet check out of cron --- 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", + } }