Add vin to its own router group

This commit is contained in:
root 2019-11-01 22:52:38 +02:00
parent 542dd75e88
commit a4e67ea220
2 changed files with 6 additions and 1 deletions

View File

@ -88,3 +88,8 @@ object HostGroup "ups" {
display_name = "UPS-es" display_name = "UPS-es"
assign where "ups" in host.vars.groups assign where "ups" in host.vars.groups
} }
object HostGroup "routers" {
display_name = "Routers"
assign where "routers" in host.vars.groups
}

View File

@ -7,7 +7,7 @@ object Host "vin-external.openfest.org" {
vars.by_ssh_port = "22" vars.by_ssh_port = "22"
vars.by_ssh_logname = "nagios" vars.by_ssh_logname = "nagios"
vars.by_ssh_identity = "/var/lib/nagios/.ssh/id_rsa" vars.by_ssh_identity = "/var/lib/nagios/.ssh/id_rsa"
# vars.specification = "router" vars.groups = [ "routers" ]
vars.net_interfaces = [ "bond0", "bond0.20", "bond0.21", "bond0.22", "bond0.23", "bond0.24", "bond0.25", "bond0.26", "bond0.4001", "eno1", "enp1s0f4", "enp1s0f4d1" ] vars.net_interfaces = [ "bond0", "bond0.20", "bond0.21", "bond0.22", "bond0.23", "bond0.24", "bond0.25", "bond0.26", "bond0.4001", "eno1", "enp1s0f4", "enp1s0f4d1" ]