projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a964a55
)
Add nagios puppet check out of cron
author
Peter Palfrader
<peter@palfrader.org>
Mon, 20 Mar 2017 09:00:00 +0000
(10:00 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Mon, 20 Mar 2017 09:00:00 +0000
(10:00 +0100)
modules/nagios/manifests/client.pp
patch
|
blob
|
history
diff --git
a/modules/nagios/manifests/client.pp
b/modules/nagios/manifests/client.pp
index
2f4aede
..
5dfd102
100644
(file)
--- 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",
+ }
}