Last active
March 28, 2018 21:19
-
-
Save mlutfy/91b63a18aa472a3ee7fe8bef771141c6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object Host "abc.symbiotic.coop" { | |
import "generic-host" | |
groups = [ "icinga-satellites", "aegir-servers", "nginx-servers", "ovh-servers" ] | |
check_command = "ping" | |
address = "[...]" | |
address6 = "[...]" | |
vars.civicrm["crm.symbiotic.coop"] = { cms = "drupal" } | |
vars.civicrm["www.symbiotic.coop"] = { cms = "drupal" } | |
// etc | |
} | |
apply Service "DRUPALCORE " for (civicrm => config in host.vars.civicrm) { | |
import "generic-service" | |
check_command = "http" | |
check_interval = 2h | |
retry_interval = 120s | |
vars += config | |
vars.http_ssl = true | |
vars.http_uri = "/CHANGELOG.txt" | |
vars.http_vhost = civicrm | |
vars.http_expect_body_regex = "Drupal 7.58" | |
assign where config.cms == "drupal" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment