Monitoring External Status Pages?

Hi there, I was wondering if there was a way to monitor status pages for changes within Icinga.

ie: if changes to “down” or something like that, an alert will pop up on Icinga.



check_http can do that - first define the match with -R, then invert the regex to show critical on occurrence with --invert-regex.

With using the http CheckCommand from the ITL, it could look like:

apply Service "website-status" {
  check_command = "http"

  vars.http_expect_body_regex = "^Status: down.*"
  vars.http_invertregex = true

  assign where "web-server" in host.groups


1 Like