Thursday, 8 September 2011

INSTALL ICINGA, ICINGA-WEB, PNP4NAGIOS ON UBUNTU SERVER

Install ubuntu server, don't select any additional packages (except maybe ssh server). I've updated all the scripts to allow for a version parameter, so you can specify what version of icinga/icinga-web/pnp4nagios to install at run time.

Then run this script to install icinga

Then run this script to install icinga-web

Then run this script to install PNP4Nagios

You can automate the whole process by saving the scripts and linking them, for example:

5 comments:

Tim Brown said...

This is great! You saved me hours of time. The only thing that did not work is check-snmp did not compile because I did not have snmp installed. Thanks again.

- Tim

Charlie Ton said...

Ezra! Thank you so much! Awesome work. I heart you big time!

formorer said...

it would be better to use packages than such a script.

Smileheart said...

Hi,
First of all thank you very much for this excellent script, and I was able to do the whole thing very easily. I am now trying to add a host to monitor and after adding that, when i restart icinga service I am getting an error.
Running configuration check...CONFIG ERROR! Start aborted. See /usr/local/icinga/var/icinga.chk for details.
When I checked in the icinga.chk, i got the below error:
Running pre-flight check on configuration data...

Checking services...
Error: Service check command 'check_nrpe' specified in service 'CPU Load' for host 'hostname' not defined anywhere!

Could you please kindly help me to solve this? I am really new to icinga and couldn't find a way to fix this.

Devin said...

Great work again. Just so everyone is aware I have verified all 3 scripts work with latest versions of everything. I am up and running perfectly on Ubuntu Server 11.10, Icinga 1.6.1, Icinga-web 1.5.2 and PNP4nagios 0.6.15. Although I did run into the same issue as earlier with the icinga-web script where it doesn't like the timezone. But that is a quick fix in your apache2 php.ini file. Great work.