Project

General

Profile

Add New Hosts to Icinga2 » History » Version 2

Jon Goldberg, 06/09/2017 05:01 AM

1 2 Jon Goldberg
{{last_updated_at}} by {{last_updated_by}}
2 1 Jon Goldberg
# Add New Hosts to Icinga2
3
4
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.
5
6
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.