mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 21:55:03 +02:00
parent
7df7ec94d2
commit
c465ec90b7
@ -194,11 +194,11 @@ Details on the `assign where` syntax can be found [here]
|
|||||||
|
|
||||||
object HostGroup "mssql" {
|
object HostGroup "mssql" {
|
||||||
display_name = "MSSQL Servers"
|
display_name = "MSSQL Servers"
|
||||||
assign where host.vars.mssql_port == 1433
|
assign where host.vars.mssql_port
|
||||||
}
|
}
|
||||||
|
|
||||||
In this inherited example from above all hosts with the `var` `mssql_port`
|
In this inherited example from above all hosts with the `var` `mssql_port`
|
||||||
set to `1433` will be added as members to the host group `mssql`.
|
set will be added as members to the host group `mssql`.
|
||||||
|
|
||||||
|
|
||||||
## <a id="timeperiods"></a> Time Periods
|
## <a id="timeperiods"></a> Time Periods
|
||||||
|
Loading…
x
Reference in New Issue
Block a user