Add New Hosts to Icinga2¶
New host files should be placed in
/etc/icinga2/conf.d/hosts. In time we will automate their creation via the API; for now, copy an existing host file that most closely matches the host you'd like to create. The host files are well-commented, so additional documentation on the variables themselves should not be on this page.
After creating a new host file, run
service icinga2 checkconfig to do a syntax check. If you pass, run
service icinga2 reload to incorporate your new host.