Expand description
Icinga instance config files, one TOML file per Icinga master
A directory of these files can be shared by several tools that talk to the same Icinga masters. The file stem is the instance name. A file looks like this:
url = "https://icinga.example.com:5665"
ca_certificate = "/path/to/ca.pem"
web_base_url = "https://icinga.example.com/monitoring/"
username = "api-user"
password_command = ["pass", "show", "icinga/api-user"]
password_command_env = { PASSWORD_STORE_DIR = "/path/to/store" }Instead of password_command a literal password can be used, and
instead of username and a password a TLS client certificate can be used
with client_certificate and client_key (PEM files), e.g. the
certificate of an Icinga agent for an ApiUser with a client_cn.
Structs§
- Icinga2
Instance File - one Icinga instance config file
Enums§
- Icinga2
Instance File Auth - how an instance config file authenticates
- Icinga2
Instance File Error - errors when loading instance config files or resolving their auth