aboutsummaryrefslogtreecommitdiff
path: root/modules/profile/manifests/monitoring/commands.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/profile/manifests/monitoring/commands.pp')
-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) {