resource "sensu_check" "check_cert_expire_443" { name = "check_cert_expire_443" command = "check-ssl-cert.rb -h 127.0.0.1 -p 443 -c 7 -w 30" namespace = "default" subscriptions = [ "threatq", ] handlers = [ "email-xdr-eng" ] cron = "00 16 * * *" publish = "true" runtime_assets = [ "sensu-plugins-ssl", "sensu-ruby-runtime" ] } resource "sensu_check" "check_threatq_health" { name = "check_threatq_health" command = "check-http.rb -k -u https://localhost/health/ -q OK" namespace = "default" subscriptions = [ "threatq", ] handlers = local.default_handlers interval = 60 publish = "true" runtime_assets = [ "sensu-plugins-http", "sensu-ruby-runtime" ] }