Dieter Asked: 2011-08-27 03:46:51 +0800 CST2011-08-27 03:46:51 +0800 CST 2011-08-27 03:46:51 +0800 CST How do I add a host in icinga-web? 772 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? nagios icinga 1 Answers Voted quanta 2011-08-27T04:03:26+08:002011-08-27T04:03:26+08:00 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: cfg_file=/usr/local/icinga/etc/hosts/linux.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
To add a host, you must define it first, e.g
linux.cfg
:(Do the sames for all services which you want to monitor)
Insert full path to this file into
icinga.cfg
:Verify your configuration with:
and restart Icinga: