maybe chmod 0644 'icinga2/constants.conf.orig'
maybe chmod 0755 'icinga2/features-available'
maybe chmod 0644 'icinga2/features-available/api.conf'
-maybe chmod 0644 'icinga2/features-available/api.conf.orig'
+maybe chmod 0644 'icinga2/features-available/api.conf.orig.2017-10-10'
+maybe chmod 0644 'icinga2/features-available/api.conf.orig.2017-11-16'
maybe chmod 0644 'icinga2/features-available/checker.conf'
maybe chmod 0644 'icinga2/features-available/command.conf'
maybe chmod 0644 'icinga2/features-available/compatlog.conf'
/**
* The API listener is used for distributed monitoring setups.
*/
+
object ApiListener "api" {
- cert_path = SysconfDir + "/icinga2/pki/" + NodeName + ".crt"
- key_path = SysconfDir + "/icinga2/pki/" + NodeName + ".key"
- ca_path = SysconfDir + "/icinga2/pki/ca.crt"
+ accept_config = true
+ accept_commands = true
ticket_salt = TicketSalt
}
+++ /dev/null
-/**
- * The API listener is used for distributed monitoring setups.
- */
-
-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
-}
--- /dev/null
+/**
+ * The API listener is used for distributed monitoring setups.
+ */
+
+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
+}
--- /dev/null
+/**
+ * The API listener is used for distributed monitoring setups.
+ */
+
+object ApiListener "api" {
+ //accept_config = false
+ //accept_commands = false
+
+ ticket_salt = TicketSalt
+}