Nagios 4.0.1 Released – Install on RHEL/CentOS 6.x/5.x and Fedora 19/18/17

If you have any questions or problems regarding this article and want help within 24 Hours? Ask Now

Support TecMint: Did you find this tutorial helpful?. Please help to keep it alive by donating. Every cent counts! - Donate Now

Tarunika Shrivastava

I am a linux server admin and love to play with Linux and all other distributions of it. I am working as System Engineer with a Web Hosting Company.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

258 Responses

  1. Raghuveer Singh says:

    Hi Ravi … Thanks for this website. I have configured Nagios but when access it from web (http://locahost/nagios) and put credential it gives following error.

    You don’t have permission to access /nagios/ on this server.

  2. Gemini Babul says:

    Helpful guide, thank you very much. long live.

  3. Shailesh Gupta says:

    The requested URL /nagios/ was not found on this server.
    Apache/2.2.15 (CentOS) Server at Port 80

    I followed your instruction it goes smoothly but when i am trying to access it give above error.
    could you please help me out?

    Thanks In Advance :)

    • Ravi Saive says:

      Sorry, but your installation was not successful, please try again…or if you feels your installation was perfect then try to disable SELinux and try again.

  4. Zohaib says:

    Hey Hi and thx for such and awesome upload…

    I just followed the guide.. Knows nothing about Linux but having issues with my hosting server so i wanted to get this thing done.. everything went as you showed in you sample but when i`m trying to open it, its showing me a 404 Error page..
    [Note: I`m not accessing it locally but have a live ip and our server is on some remote location. so don’t know, if i need to do some tweaks with iptables as well.. need your guidance on that.]

    Thanks in advance..!!

    • Ravi Saive says:

      Can you try to access it locally at localhost and see whether its opening or not? secondly can you verify the nagios configuration using following command.

      # /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

      Please post the output here..

      • James says:

        Reading main config file okay…
        Error: Unexpected start of object definition in file ‘/usr/local/nagios/etc/objects/contacts.cfg on line 49. Make sure you close preceding objects before starting a new one.
        Error processing object config files!

        ***> One or more problems was encountered while processing the config files…

        Check your configuration file(s) to ensure that they contain valid directives and data definitions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the ‘Whats New’ section to find out what has changed.

        That was typed word for word so there may be some typos. I have run through the contacts.cfg but don’t see anything that stands out. I even counted down to line 49. I am setting this up on a virtual environment using virtualbox on my home pc to understand the monitoring world. Thank you for your assistance.

  5. Maruti says:

    I have followed your instructions and installed nagios even though some libraries are missing on my localhost.

    Do you have instructions for installing Nagios NRPE and monitoring remote service via nagios web page.

    Thanks alot:)

  6. Ian Lleva says:


    I follow the steps in installing nagios on centos, the installation go smoothly. but when i try to access the web interface it shows “This webpage is not available ERR_CONNECTION_TIMED_OUT”. I disabled the selinux the restart both httpd and nagios service but still having same error.

    Please Help. Thanks

  7. Rajan says:

    How to add Network Devices in Nagios 4.0.1

    • Ravi Saive says:

      Sorry we haven’t covered that topic so far, but we are in process to soon post a topic that shows how to add Network devices, switches and printers to Nagios monitoring Server. Stay tuned for updates..

Leave a Reply

Your email address will not be published. Required fields are marked *

Join Over 95000+ Linux Users
  1. 57,739
  2. 3,201
  3. 25,639

Enter your email to get latest Linux Howto's