Google Plus

Nagios auto install script for Fedora 17

Written by Mel Kham on . Posted in CentOS, Fedora, Frequently Asked Questions

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

Mel Kham

Founder of Unixmen, Living in Amsterdam. Am working in my free time to help people to understand the Opensource and to explain them in easy way how to make the fist steps to the the light. Working day and night with my Co-founder Zinovsky to keep this website live even with less resources.
  • Vishal Shinde

    Awesome ……..

  • amira

    i didn’t see the localhsot on hosts and i see this error :

    Whoops!

    Error: Could not read object configuration data!

    Here are some things you should check in order to resolve this error:

    Verify configuration options using the -v command-line option to check for errors.

    Check the Nagios log file for messages relating to startup or status data errors.

    Make sure you read the documentation on installing, configuring and
    running Nagios thoroughly before continuing. If all else fails, try
    sending a message to one of the mailing lists. More information can be
    found at http://www.nagios.org.

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

Lolman

|

in cmd

Oliver

|

Do you think that it works on a Macbook Air 1,1?… ohh and, it must be installed in a different partition than Mac OS X, right?… can´t have i installed only Ubuntu on my hard drive?

Nova

|

I wonder if there is a way to create your own themes.

Red Adaya

|

Thank you! This worked for me!!!

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .