Icinga (Monitoring Solution) Installation And Configuration On CentOS
|
Submitted by iron_michael86 (Contact Author) (Forums) on Wed, 2011-01-19 18:01. :: CentOS | Ubuntu | Monitoring
Icinga (Monitoring Solution) Installation And Configuration On CentOSIcinga is an enterprise grade open source monitoring system which keeps watch over networks and any conceivable network resource, notifies the user of errors and recoveries and generates performance data for reporting. Scalable and extensible, Icinga can monitor complex, large environments across dispersed locations. I am going with the Icinga basic installation and this is similar to Nagios and this document can also be referred for Nagios installation, too. Lots of documents are available on the Internet and they will be installing with nagios user but for my setup I made use of the default user which is already present in the system (daemon) and also I will not be installing it on the default path instead I will be referring to /opt since I find it very convenient. The UI of Icinga is much better than Nagios. In this tutorial I will using three servers: 192.168.1.20 – Icinga monitoring server (centos5)
RequirementsNote: Make sure development tools and development libraries have been installed during installation:
Packages Needed1. Xampp for Linux: [root@sunil~]# mkdir /software 2. Icinga core: [root@sunil software]# wget http://sourceforge.net/projects/icinga/files/icinga/1.2.1/icinga-1.2.1.tar.gz/download
Installation of Icinga1. Untar the xampp package: [root@sunil software]# tar -zxvf xampp-linux-1.7.3.tar.gz Xampp package is very neatly compilied package and extracting the same is more than enough for more details can refer to xampp page: http://www.apachefriends.org/en/xampp.html 2. Untar the Icinga package: [root@sunil software]# tar -zxvf icinga-1.2.1.tar.gz Note: please make sure you do not get any error while compiling. If you are getting errors make sure the required packages are installed. [root@sunil icinga-1.2.1]# make all 3. Now need to configure Apache with Icinga: [root@sunil icinga-1.2.1]# cd /opt/lampp/etc/ 4. Add the following line: Include etc/icinga.conf 5. Set password for login: [root@sunil /]# cd /opt/lampp/bin/ New password: 6. Start Apache: [root@sunillampp]# cd /opt/lampp/ XAMPP: Starting Apache with SSL (and PHP5)... 7. Check whether Apache is working: http://192.168.1.20 8. Now we need to start Icinga but before that we need to check whether Icinga has been compiled properly and all the configuration are set: [root@sunillampp]# cd /opt/icinga/ 9. Before configuring Icinga we will start and see whether we get the page: [root@sunilicinga]# /opt/icinga/bin/icinga –v /opt/icinga/etc/icinga.cfg Total Warnings: 0 Things look okay - No serious problems were detected during the pre-flight check. 10. Now start Icinga since we do not get any errors: [root@sunilicinga]# /opt/icinga/bin/icinga -d /opt/icinga/etc/icinga.cfg daemon 6961 1 0 19:03 ? 00:00:00 /opt/icinga/bin/icinga -d /opt/icinga/etc/icinga.cfg [root@sunilrw]# chmod 777 /opt/ 11. Login to check whether Icinga website opens:
|






Recent comments
1 day 6 hours ago
1 day 11 hours ago
1 day 15 hours ago
1 day 17 hours ago
2 days 7 hours ago
2 days 8 hours ago
2 days 13 hours ago
2 days 19 hours ago
2 days 20 hours ago
2 days 21 hours ago