Instantly share code, notes, and snippets.

Embed
What would you like to do?
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