Param Name | Description |
---|---|
discovery_rule Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
Validations:
|
discovery_rule[name] Required |
represents rule name shown to the users Validations:
|
discovery_rule[search] Required |
query to match discovered hosts for the particular rule Validations:
|
discovery_rule[hostgroup_id] Required |
the hostgroup that is used to auto provision a host Validations:
|
discovery_rule[hostname] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
defines a pattern to assign human-readable hostnames to the matching hosts Validations:
|
discovery_rule[max_count] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
enables to limit maximum amount of provisioned hosts per rule Validations:
|
discovery_rule[priority] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
puts the rules in order, low numbers go first. Must be greater then zero Validations:
|
discovery_rule[enabled] Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span> |
flag is used for temporary shutdown of rules Validations:
|