Nagios auto install script for Fedora 17

by
Share this Article: Facebook0Google+0Twitter8LinkedIn1Reddit0StumbleUpon0

I  have last night  updated  a good  script to  automate  install   Nagios script,  now with  this script you are  able to install Nagios  3.4.1  and  nagios plugins 1.4.16  with  1 running command .

1- First   Download theNagios  script from this link.

2- Extract the the file to your home directory

3 -cd the directory where you extracted the script and run the following command:

chmod  777 Nagios-Auto.sh

4- Now  run script  under  root

#./script
 ./Nagios-Auto.sh
#############################################################
#############################################################
##                                                         ##
##       Welcome to Nagios Auto Installation Script        ##
##               Written By Yogesh Panchal                 ##
##   Edited By Pirat9 from Unixmen Admins ##
#############################################################
#############################################################

Hi Nagios Installation Requires

***** Apache *****
***** PHP *****
***** GCC compiler *****
***** GD development libraries *****

Please Enter for  next

 First Install Above Pre-requesites Then continue with this script
or You will face problems with installation nagios

You can Install Pre-requeesites using following commands
To install Apache >>> yum install httpd
To install PHP >>> yum install php
To install GCC compiler >>> yum install gcc glibc glibc-common
To install GD development libraries >>> yum install gd gd-devel

If You have already installed pre-requesites ignore above warning & continue with this script...!
Do You Want to continue with this script? [ y/n ]

Hi this script currently supports installation of Nagios 3.2.3 & Nagios 3.4.1

Do you want me to continue ? [ y/n ]
y

OK fine I am going to Continue with this script...!
Trying to Guess Your operating system 

Your Operating System is Fedora release 17 (Beefy Miracle)

Press Enter to Continue...

Please  follow the script steps . Its  easy  and  should be  working  For all Centos/Fedora/SL/RHEL machines

Now  start http://host/nagios  (login : nagiosadmin and  password  you did inserted   on the  installation script

 

For questions please refer to our Q/A forum at : http://ask.unixmen.com/


Share this Article: Facebook0Google+0Twitter8LinkedIn1Reddit0StumbleUpon0