ソースを参照

Adds cribl check

Brad Poulton 2 年 前
コミット
d105b53833
1 ファイル変更11 行追加0 行削除
  1. 11 0
      base/sensu-configuration/checks.tf

+ 11 - 0
base/sensu-configuration/checks.tf

@@ -278,3 +278,14 @@ resource "sensu_check" "check_vault_service" {
   publish        = "true"
   runtime_assets = ["sensu-plugins-process-checks", "sensu-ruby-runtime", ]
 }
+
+resource "sensu_check" "check_cribl_service" {
+  name           = "cribl_service"
+  command        = "check-process.rb -p cribl"
+  namespace      = "default"
+  subscriptions  = ["cribl_service", ]
+  handlers       = local.default_handlers
+  interval       = 60
+  publish        = "true"
+  runtime_assets = ["sensu-plugins-process-checks", "sensu-ruby-runtime", ]
+}