35 lines
706 B
Plaintext
35 lines
706 B
Plaintext
object Host "icinga-test.devnet.local" {
|
|
/* Import the default host template defined in `templates.conf`. */
|
|
import "generic-host"
|
|
|
|
/* Specify the address attributes for checks e.g. `ssh` or `http`. */
|
|
address = "192.168.56.11"
|
|
#address6 = "::1"
|
|
|
|
/* Set custom variable `os` for hostgroup assignment in `groups.conf`. */
|
|
vars.os = "Linux"
|
|
vars.flavour = "Debian 12"
|
|
vars.flavour_name = "Bookworm"
|
|
|
|
|
|
//vars.disks["disk"] = {
|
|
// /* No parameters. */
|
|
//}
|
|
|
|
vars.disks["disk /"] = {
|
|
disk_partitions = "/"
|
|
}
|
|
|
|
|
|
vars.http_vhosts["http"] = {
|
|
http_uri = "/"
|
|
}
|
|
|
|
vars.http_vhosts["Icinga Web 2"] = {
|
|
http_uri = "/icingaweb2"
|
|
}
|
|
|
|
|
|
vars.my_groups = ["icinga2-master"]
|
|
}
|