User Tools

Site Tools


icinga

Initial Setup

  • Add databases in puppet
    • icinga2, icingaweb2, icingaweb2_director, icingaweb2_vsphere
  • Run nomad job
  • Configure icingadb
    • Edit data/etc/icinga2/features-available/icingadb.conf and set host=localhost, port=6379
    • Exec in master container to enable the icingadb feature:
      icinga2 feature enable icingadb
    • Restart the master container
  • Configure the Director
    • Exec into the master container and run the setup wizard:
      icinga2 node wizard
      # Answer 'n' to first prompt to pick a master config
      # Set hostname to icinga.sihnon.net
      # accept all other defaults
    • Grab the api user password from data/etc/icinga2/conf.d/api-users.conf
    • In webui, navigate to Director
    • Pick the directordb database resource
    • Enter the following details under the setup section
      • Endpoint: icinga.sihnon.net
      • Host: localhost
      • Port: 5665
      • Username: root
      • Password: grabbed from the api-users.conf before
    • Once the default resources are imported, run the deploy action to clear the warning prompt
  • Setup vspheredb
    • Navigate to Virtualization (VMware) section
    • Select the vspheredb database resource
    • Add a server connection to vsphere using the icinga-vmware account
icinga.txt · Last modified: 2021/12/27 13:19 by ben