|
@@ -50,7 +50,7 @@ resource "sensu_check" "check_dns_all" {
|
|
|
namespace = "default"
|
|
|
subscriptions = [ "linux", ]
|
|
|
handlers = [ "victorops", "logfile", ]
|
|
|
- cron = "* * * * *"
|
|
|
+ interval = 60
|
|
|
publish = "true"
|
|
|
runtime_assets = [ "sensu-plugins-monitoring", ]
|
|
|
}
|
|
@@ -62,7 +62,7 @@ resource "sensu_check" "check_dns_private" {
|
|
|
namespace = "default"
|
|
|
subscriptions = [ "private_dns_client", ]
|
|
|
handlers = [ "victorops", "logfile", ]
|
|
|
- cron = "* * * * *"
|
|
|
+ interval = 60
|
|
|
publish = "true"
|
|
|
runtime_assets = [ "sensu-plugins-monitoring", ]
|
|
|
}
|
|
@@ -76,7 +76,7 @@ resource "sensu_check" "check_disks_all" {
|
|
|
namespace = "default"
|
|
|
subscriptions = [ "check_disk_all" ]
|
|
|
handlers = [ "victorops", "logfile", ]
|
|
|
- cron = "* * * * *"
|
|
|
+ interval = 300
|
|
|
publish = "true"
|
|
|
runtime_assets = [ "sensu-plugins-monitoring", ]
|
|
|
}
|
|
@@ -90,7 +90,7 @@ resource "sensu_check" "check_disks" {
|
|
|
namespace = "default"
|
|
|
subscriptions = [ "check_disk${ replace(each.key, "/", "_") }" ]
|
|
|
handlers = [ "victorops", "logfile", ]
|
|
|
- cron = "* * * * *"
|
|
|
+ interval = 300
|
|
|
publish = "true"
|
|
|
runtime_assets = [ "sensu-plugins-monitoring", ]
|
|
|
}
|
|
@@ -102,7 +102,7 @@ resource "sensu_check" "check_disks" {
|
|
|
# namespace = "default"
|
|
|
# subscriptions = [ "interconnect-0", ]
|
|
|
# handlers = [ "victorops", "logfile", ]
|
|
|
-# cron = "* * * * *"
|
|
|
+# interval = 60
|
|
|
# publish = "true"
|
|
|
# runtime_assets = [ "sensu-plugins-monitoring", ]
|
|
|
#}
|
|
@@ -114,7 +114,7 @@ resource "sensu_check" "check_disks" {
|
|
|
# namespace = "default"
|
|
|
# subscriptions = [ "interconnect-1", ]
|
|
|
# handlers = [ "victorops", "logfile", ]
|
|
|
-# cron = "* * * * *"
|
|
|
+# interval = 60
|
|
|
# publish = "true"
|
|
|
# runtime_assets = [ "sensu-plugins-monitoring", ]
|
|
|
#}
|
|
@@ -125,7 +125,7 @@ resource "sensu_check" "check_phantom_ports" {
|
|
|
namespace = "default"
|
|
|
subscriptions = [ "phantom_ports", ]
|
|
|
handlers = [ "victorops", "logfile", ]
|
|
|
- cron = "* * * * *"
|
|
|
+ interval = 60
|
|
|
publish = "true"
|
|
|
runtime_assets = [ "sensu-plugins-network-checks", "sensu-ruby-runtime", ]
|
|
|
}
|
|
@@ -136,7 +136,7 @@ resource "sensu_check" "check_portal_http" {
|
|
|
namespace = "default"
|
|
|
subscriptions = [ "portal", ]
|
|
|
handlers = [ "victorops", "logfile", ]
|
|
|
- cron = "* * * * *"
|
|
|
+ interval = 60
|
|
|
publish = "true"
|
|
|
runtime_assets = [ "sensu-plugins-http", "sensu-ruby-runtime", ]
|
|
|
}
|
|
@@ -147,7 +147,7 @@ resource "sensu_check" "check_salt_master_ports" {
|
|
|
namespace = "default"
|
|
|
subscriptions = [ "salt_master_ports", ]
|
|
|
handlers = [ "victorops", "logfile", ]
|
|
|
- cron = "* * * * *"
|
|
|
+ interval = 60
|
|
|
publish = "true"
|
|
|
runtime_assets = [ "sensu-plugins-network-checks", "sensu-ruby-runtime", ]
|
|
|
}
|
|
@@ -158,7 +158,7 @@ resource "sensu_check" "check_splunk_cm_ports" {
|
|
|
namespace = "default"
|
|
|
subscriptions = [ "splunk_cm_ports", ]
|
|
|
handlers = [ "victorops", "logfile", ]
|
|
|
- cron = "* * * * *"
|
|
|
+ interval = 60
|
|
|
publish = "true"
|
|
|
runtime_assets = [ "sensu-plugins-network-checks", "sensu-ruby-runtime", ]
|
|
|
}
|
|
@@ -169,7 +169,7 @@ resource "sensu_check" "check_splunk_ds_ports" {
|
|
|
namespace = "default"
|
|
|
subscriptions = [ "splunk_ds_ports", ]
|
|
|
handlers = [ "victorops", "logfile", ]
|
|
|
- cron = "* * * * *"
|
|
|
+ interval = 60
|
|
|
publish = "true"
|
|
|
runtime_assets = [ "sensu-plugins-network-checks", "sensu-ruby-runtime", ]
|
|
|
}
|
|
@@ -180,7 +180,7 @@ resource "sensu_check" "check_splunk_hf_ports" {
|
|
|
namespace = "default"
|
|
|
subscriptions = [ "splunk_hf_ports", ]
|
|
|
handlers = [ "victorops", "logfile", ]
|
|
|
- cron = "* * * * *"
|
|
|
+ interval = 60
|
|
|
publish = "true"
|
|
|
runtime_assets = [ "sensu-plugins-network-checks", "sensu-ruby-runtime", ]
|
|
|
}
|
|
@@ -191,7 +191,7 @@ resource "sensu_check" "check_splunk_indexer_ports_moose" {
|
|
|
namespace = "default"
|
|
|
subscriptions = [ "splunk_indexer_ports_moose", ]
|
|
|
handlers = [ "victorops", "logfile", ]
|
|
|
- cron = "* * * * *"
|
|
|
+ interval = 60
|
|
|
publish = "true"
|
|
|
runtime_assets = [ "sensu-plugins-network-checks", "sensu-ruby-runtime", ]
|
|
|
}
|
|
@@ -202,7 +202,7 @@ resource "sensu_check" "check_splunk_indexer_ports" {
|
|
|
namespace = "default"
|
|
|
subscriptions = [ "splunk_indexer_ports", ]
|
|
|
handlers = [ "victorops", "logfile", ]
|
|
|
- cron = "* * * * *"
|
|
|
+ interval = 60
|
|
|
publish = "true"
|
|
|
runtime_assets = [ "sensu-plugins-network-checks", "sensu-ruby-runtime", ]
|
|
|
}
|
|
@@ -213,7 +213,7 @@ resource "sensu_check" "check_splunk_sh_ports" {
|
|
|
namespace = "default"
|
|
|
subscriptions = [ "splunk_sh_ports", ]
|
|
|
handlers = [ "victorops", "logfile", ]
|
|
|
- cron = "* * * * *"
|
|
|
+ interval = 60
|
|
|
publish = "true"
|
|
|
runtime_assets = [ "sensu-plugins-network-checks", "sensu-ruby-runtime", ]
|
|
|
}
|
|
@@ -224,7 +224,7 @@ resource "sensu_check" "check_splunk_uf_ports" {
|
|
|
namespace = "default"
|
|
|
subscriptions = [ "splunk", ]
|
|
|
handlers = [ "victorops", "logfile", ]
|
|
|
- cron = "* * * * *"
|
|
|
+ interval = 60
|
|
|
publish = "true"
|
|
|
runtime_assets = [ "sensu-plugins-network-checks", "sensu-ruby-runtime", ]
|
|
|
}
|
|
@@ -235,7 +235,7 @@ resource "sensu_check" "check_syslog-ng_service" {
|
|
|
namespace = "default"
|
|
|
subscriptions = [ "syslog-ng_service", ]
|
|
|
handlers = [ "victorops", "logfile", ]
|
|
|
- cron = "* * * * *"
|
|
|
+ interval = 60
|
|
|
publish = "true"
|
|
|
runtime_assets = [ "sensu-plugins-process-checks", "sensu-ruby-runtime", ]
|
|
|
}
|
|
@@ -246,7 +246,7 @@ resource "sensu_check" "check_salt-minion_service" {
|
|
|
namespace = "default"
|
|
|
subscriptions = [ "salt-minion_service", ]
|
|
|
handlers = [ "victorops", "logfile", ]
|
|
|
- cron = "* * * * *"
|
|
|
+ interval = 60
|
|
|
publish = "true"
|
|
|
runtime_assets = [ "sensu-plugins-process-checks", "sensu-ruby-runtime", ]
|
|
|
}
|