tabs ?>

escape($this->title) ?>

escape($this->certname); $master = $this->escape($this->master); ?>

Please check the Icinga 2 Client documentation for more related information. The Director-assisted setup corresponds to configuring the Client as Command Execution Bridge.

error): ?>

escape($this->error) ?>

For manual configuration

Ticket : escape($ticket) ?>

Windows Kickstart Script

qlink( 'Download', $this->url()->with('download', 'windows-kickstart'), null, array('class' => 'icon-download', 'target' => '_blank') ) ?>
escape($this->windows) ?>

translate( 'This requires the Icinga Agent to be installed. It generates and signs' . ' it\'s certificate and it also generates a minimal icinga2.conf to get' . ' your agent connected to it\'s parents' ) ?>

Linux commandline

qlink( 'Download', $this->url()->with('download', 'linux'), null, array('class' => 'icon-download') ) ?>

Just copy & paste this script (and please scroll down for a corresponding icinga2.conf):

#!/bin/bash

# This generates and signs your required certificates. Please do not
# forget to install the Icinga 2 package and your desired monitoring
# plugins first:

ICINGA_PKI_DIR=/etc/icinga2/pki
ICINGA_USER=nagios
chown $ICINGA_USER $ICINGA_PKI_DIR

icinga2 pki new-cert --cn  \
--key $ICINGA_PKI_DIR/.key \
--cert $ICINGA_PKI_DIR/.crt

icinga2 pki save-cert --key $ICINGA_PKI_DIR/.key \
--trustedcert $ICINGA_PKI_DIR/trusted-master.crt \
--host 

icinga2 pki request --host  \
--port 5665 \
--ticket escape($ticket) ?> \
--key $ICINGA_PKI_DIR/.key \
--cert $ICINGA_PKI_DIR/.crt \
--trustedcert $ICINGA_PKI_DIR/trusted-master.crt \
--ca $ICINGA_PKI_DIR/ca.crt

/etc/icinga2/icinga2.conf

/** Icinga 2 Config - proposed by Icinga Director */

include "constants.conf"
include <itl>
include <plugins>
// include <plugins-contrib>

object FileLogger "main-log" {
  severity = "information"
  path = LocalStateDir + "/log/icinga2/icinga2.log"
}

// TODO: improve establish connection handling
object Endpoint "" {}
object Endpoint "" {}
object Zone "" {
  endpoints = [ "" ]
  // TODO: all endpoints in master zone
}

object Zone "" { global = true }

object Zone "" {
  parent = ""
  endpoints = [ "" ]
}

object ApiListener "api" {
  cert_path = SysconfDir + "/icinga2/pki/.crt"
  key_path = SysconfDir + "/icinga2/pki/.key"
  ca_path = SysconfDir + "/icinga2/pki/ca.crt"
  accept_commands = true
  accept_config = true
}