10 lines
316 B
Django/Jinja
10 lines
316 B
Django/Jinja
object Host "{{ item }}" {
|
|
/* Import the default host template defined in `templates.conf`. */
|
|
import "generic-host"
|
|
|
|
/* Specify the address attributes for checks e.g. `ssh` or `http`. */
|
|
address = "{{ item }}"
|
|
|
|
/* Set custom variable `os` for hostgroup assignment in `groups.conf`. */
|
|
vars.os = "Linux"
|