Hi everyone, After the blog post yesterday of the amazing looking director, I wanted to give it a shot and add that module to my installation. Unfortunately, I didn't get very far. Installation did work without a problem, settings up the database was straightforward, but the kickstart doesn't work.
I enabled the API feature, added an ApiUser and reused my Webserver
certificates for the PKI stuff. But then, the import fails with a
message saying "Failed to load icinga_zone <my_fqdn>". Config is as follows:
const ZoneName = NodeName
object Endpoint NodeName {
host = NodeName
}
object Zone ZoneName {
endpoints = [ NodeName ]
}
object ApiListener "api" {
cert_path = SysconfDir + "/icinga2/pki/" + NodeName + ".crt"
key_path = SysconfDir + "/icinga2/pki/" + NodeName + ".key"
ca_path = SysconfDir + "/icinga2/pki/ca.crt"
ticket_salt = TicketSalt
}
object ApiUser "admin" {
password = "mypassword"
permissions = [ "*" ]
}
I tried changing the name of the ApiListener object, but to no avail.
Anything I'm missing?
Best regards,
Stephan
signature.asc
Description: OpenPGP digital signature
_______________________________________________ icinga-users mailing list [email protected] https://lists.icinga.org/mailman/listinfo/icinga-users
