Closed thoschworks closed 5 years ago
You can store the custom variable vars.fritz_password
in the host object.
Example:
object Host "router" {
import "generic-host"
display_name = "Fritz!Box 7490"
address = "192.168.178.1"
vars.fritz_password = "supersecret"
}
apply Service "update" {
import "generic-service"
check_command = "check_tr64_fritz"
vars.fritz_function = "update"
assign where host.name == "router"
}
For further question regarding to the Icinga 2 configuration, please join the community and ask your question there.
Where do you store
fritz_password
?