There are different ways to start, stop, and restart Icinga. Depending on your installation, the most common example will be shown... In case of using the init script make sure you have performed
make install-init
or
make fullinstall
Tip: Always make sure you the section called “Verifying Your Configuration” before you (re)start Icinga.
Starting Icinga
Init Script: The easiest way to start Icinga is by using the init script:
/etc/init.d/icinga start
Manually: You can start Icinga manually with the -d command line option:
/usr/local/icinga/bin/icinga -d /usr/local/icinga/etc/icinga.cfg
Restarting Icinga
Restarting/reloading is nececessary after you modified your configuration files and want those changes to take effect.
Init Script: The easiest way to reload/restart Icinga is by using the init script:
/etc/init.d/icinga reload
or
/etc/init.d/icinga restart
Manually: You can restart Icinga by sending it a SIGHUP signal:
kill -HUP <icinga_pid>
Stopping Icinga
Init Script: The easiest way to stop Icinga is by using the init script:
/etc/init.d/icinga stop
Manually: You can stop by sending it a SIGTERM signal:
kill <icinga_pid>
© 2009 Icinga Development Team, http://www.icinga.org