Skip to content

Instantly share code, notes, and snippets.

@frootmig
Created March 25, 2017 13:54
Show Gist options
  • Save frootmig/c190304c1dc78c6bb5654595e4a3213a to your computer and use it in GitHub Desktop.
Save frootmig/c190304c1dc78c6bb5654595e4a3213a to your computer and use it in GitHub Desktop.
object Host "{{ hostitem }}" {
import "generic-host"
check_command = "hostalive"
address = "{{ hostvars[hostitem]['icinga_addr'] }}"
address6 = "{{ hostvars[hostitem]['icinga_addr6'] }}"
vars.os = "Linux"
zone = "MASTERFQDN"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment