Pages

Showing posts with label icinga. Show all posts
Showing posts with label icinga. Show all posts

Monday, April 20, 2015

Icinga2 + Icingaweb2 beta3 on Centos 7

After customizing Cacti with some plugin, I thought it would be enough for our needs.

Actually, it turns out I have to install a Nagios (need to perform checks using customized commands) and I discovered Icinga, a fork from Nagios.

I used to work with Nagios in the past, so I decide to try Icinga (2 birds 1 stone).

So I installed Icinga2 with Icingaweb2 (which is still in beta, but most features are already working).

What I noticed during the setup :
- Icinga2 installation guide is complete.
- Icingaweb 2 installation guide still need to be completed.

For example, you need to know that icingaweb 2 need its own database for authentication (if database option is selected). Just compared the icinga2 sql schema and the icingaweb 2 sql schema (located in icingaweb2/etc/schema/), and you will see the tables are different.
And during the web setup, the user wasn't created. So I created a dedicated db for icingaweb2 and I imported the sql schema to the database (mysql -u root -p icingaweb_db < /icingaweb2/etc/schema/mysql.sql).

I installed the monitoring-plugins and set the define the path on one Icinga config file.

Finally, it works.