Date: Wed, 18 Jun 2014 16:36:33 +0200 From: Lars Engels <lars.engels@0x20.net> To: ports@FreeBSD.org Subject: [CFT]: net-mgmt/icinga2 Message-ID: <20140618143633.GA53663@e-new.0x20.net>
index | next in thread | raw e-mail
[-- Attachment #1 --] Hey folks, I proudly present a CFT for the shiny new monitoring software Icinga 2, a completely rewritten, multi-threaded, flexible and scalable successor to Icinga 1. Although it is completely new it still can run with your Icinga / Nagios plugins and addons. To use Icinga 2 with the Classic Web interface do the following: % Download and extract shar file # fetch -o /tmp http://bsd-geek.de/FreeBSD/icinga2_1.shar # cd /usr/ports && sh /tmp/icinga2_1.shar % Install net-mgmt/icinga2 % Install net-mgmt/icinga % Install www/apache22 % Configure Apache and Icinga Classic Web # cp /usr/local/share/examples/icinga/apache22/icinga.conf-sample /usr/local/etc/apache2/Includes/icinga.conf # cp /usr/local/etc/icinga/cgi.cfg-sample /usr/local/etc/icinga/cgi.cfg % Make changes to cgi.cfg: standalone_installation=1 object_cache_file=/var/cache/icinga2/objects.cache status_file=/var/cache/icinga2/status.dat command_file=/var/run/icinga2/cmd/icinga2.cmd log_file=/var/log/icinga2/compat/icinga.log log_archive_path=/var/log/icinga2/compat/archives % Create a basic auth file # htpasswd -c -s /usr/local/etc/icinga/htpasswd.users icingaadmin (enter some password) % Enable Apache and Icinga 2 # sysrc apache22_enable=YES # sysrc icinga2_enable=YES % Enable additional Icinga 2 features # icinga2-enable-feature checker command compatlog icingastatus livestatus mainlog notification statusdata % Start Apache and Icinga 2 # service apache22 start # service icinga2 start % Check /var/log/icinga2/icinga2.log and error.log for any errors % Browse to http://localhost/icinga % Log in as icingaadmin % Read http://docs.icinga.org/icinga2/latest/doc/module/icinga2/toc % (Hopefully) have fun! Please share your experience with me. :) Lars [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQF8BAEBCgBmBQJToaPxXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1tx4QIAKl/ebC2bPmpdu8uuVd1Kj30 2UhNoxaHeK1ODPdWuqiHS73Xtm22NWTdb2LPBjJSC711fLr1mPL4P3a/19N8QsCU vON+PvVKCl953GenggOnCmmaA1X0Ue4VP42PcdG+e2dGjBRfctCrg6eHh8/9lVY7 FuFnDWI3HCF6icI5NUVxBsdTQH/0NoaaAHBEqn5zs4nIPmc8Zuo7I4R93XRVWlkZ X7USTtTFvxWUTBZ9iwJbiJFX8o3XSDxaaOmqVg8TaY6LzzptUnetIdRglCOM41Hs K4VZDMy723XUn4RnAThceWanpZdJbx3gegwxK6WZSO9OT1+CR7KOL7BCa4goEnQ= =V4sK -----END PGP SIGNATURE-----help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140618143633.GA53663>
