Skip to content
Generate Incing2 Agent Configuration
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Generate Incing2 Agent and Satellite Configuration

20170203 Siegfried

Version 1.2.1

  • has correct default zonenames
  • config Agents or Satellites for Singlemaster or Clustermaster
  • config Satellites single or double, like Cluster Satellites

example listfile

comments with hash are allowed
empty lines are allowed win ubuntulinux ubuntulinux

format of listfiles and stdin is identical


mkdir: created directory ‘gen_agent_scripts.out’
gen_icinga_agents: write file gen_agent_acripts.out/
gen_icinga_agents: write file gen_agent_scripts.out/
gen_icinga_agents: 2 config scripts written to gen_icinga_agents.out

execute a script on an agent

‘/etc/icinga2/zones.conf’ -> ‘/etc/icinga2/zones.conf.20161107_040216.bak’
information/base: Writing private key to '/etc/icinga2/pki/'.
information/base: Writing X509 certificate to '/etc/icinga2/pki/'.
information/pki: Writing certificate to file '/etc/icinga2/pki/trusted-master.crt'.
information/cli: Writing signed certificate to file '/etc/icinga2/pki/'.
information/cli: Writing CA certificate to file '/etc/icinga2/pki/ca.crt'.

the skript does on Agent

setup icinga2.conf
setup the zones.conf
setup api.conf
configure pki

You can’t perform that action at this time.