Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

how do I add a host in icinga-web? Do I need to modify access.xml and rebuild the cache? Or can I have a configuration similar to icinga/nagios?

share|improve this question
Never Mind! One can use standard configs from /usr/local/icinga/ – Dieter Aug 26 '11 at 11:59

To add a host, you must define it first, e.g linux.cfg:

define host {
    use                 linux-server
    host_name           s80
    address             x.x.x.x
    check_command       check-icmp
    contact_groups      admin

(Do the sames for all services which you want to monitor)

Insert full path to this file into icinga.cfg:


Verify your configuration with:

# /usr/local/icinga/bin/icinga -v /usr/local/icinga/etc/icinga.cfg 

and restart Icinga:

# /etc/init.d/icinga reload
share|improve this answer
getting this error while adding hosts in icinga : information/cli: Requesting a signed certificate from the master. critical/cli: Could not fetch valid response. Please check the master log (notice or debug). critical/cli: Failed to request certificate from Icinga 2 master. – Ashish Karpe Dec 15 '15 at 9:55

protected by Sven Feb 2 '15 at 3:10

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.