aboutsummaryrefslogtreecommitdiff
path: root/modules/profile/manifests
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-07-12 08:21:21 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-07-12 08:51:02 +0200
commit96f8d0f037f8b8e93315e864bdaf661f45e3c472 (patch)
tree96b09b188872a5d48385da467ea4a5990aeb90b0 /modules/profile/manifests
parent21d531ee2e4a5952673d694342ff01822581a1f8 (diff)
downloadPuppet-96f8d0f037f8b8e93315e864bdaf661f45e3c472.tar.gz
Puppet-96f8d0f037f8b8e93315e864bdaf661f45e3c472.tar.zst
Puppet-96f8d0f037f8b8e93315e864bdaf661f45e3c472.zip
Add monitoring for cryptoportfolio
Diffstat (limited to 'modules/profile/manifests')
-rw-r--r--modules/profile/manifests/monitoring/commands.pp6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/profile/manifests/monitoring/commands.pp b/modules/profile/manifests/monitoring/commands.pp
index 1c8d0b4..7c5d8ed 100644
--- a/modules/profile/manifests/monitoring/commands.pp
+++ b/modules/profile/manifests/monitoring/commands.pp
@@ -12,6 +12,7 @@ class profile::monitoring::commands inherits profile::monitoring {
12 "check_command", 12 "check_command",
13 "check_md_raid", 13 "check_md_raid",
14 "check_postgres_replication", 14 "check_postgres_replication",
15 "check_date",
15 "check_last_file_date", 16 "check_last_file_date",
16 ].each |$file| { 17 ].each |$file| {
17 file { "$plugins/$file": 18 file { "$plugins/$file":
@@ -57,7 +58,10 @@ class profile::monitoring::commands inherits profile::monitoring {
57 require => File["$plugins/check_postgres_replication"]; 58 require => File["$plugins/check_postgres_replication"];
58 "check_last_file_date": 59 "check_last_file_date":
59 command_line => '$USER2$/check_last_file_date "$ARG1$" "$ARG2$" "$ARG3$"', 60 command_line => '$USER2$/check_last_file_date "$ARG1$" "$ARG2$" "$ARG3$"',
60 require => File["$plugins/check_last_file_date"], 61 require => File["$plugins/check_last_file_date"];
62 "check_date":
63 command_line => '$USER2$/check_date "$ARG1$" "$ARG2$" "$ARG3$"',
64 require => File["$plugins/check_date"];
61 } 65 }
62 66
63 unless empty($naemon_url) { 67 unless empty($naemon_url) {