Nagios 4.2.0 Released – Install on RHEL/CentOS 7.x/6.x/5.x and Fedora 24-19

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

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

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

314 Responses


    HI Ravi ..

    Thanks for your valuable installation procedure, please keep posted, very well documented

  2. Venketraman says:

    Hi Team,

    We have the issue in get the status from switches and routers.


  3. otos says:

    Following the instructions, the nagios-plugins didn’t install on my system. I need the check_dns command.

  4. bishal says:

    Thanks Ravi,
    I am installed the nagios core, and able to view all my windows host in same.

    I want to configure services for my host to check who is current login users and which are the running application or installed application in my host.
    can you please help me on same.

  5. Vishnu says:

    Hello Ravi,
    I thank you for this wonderful job.

    I’m facing one problem at the end of installation.

    While accessing the web interface it showing some error

    Error: could not read object file configuration data

    And it’s also shows not running message in home page.

    But the process is running fine in server

    • Ravi Saive says:


      This is something permission issue, Apache user should able to access Nagios files, try setting the correct webserver user to the Nagios directory structure as shown:

      # chgrp -R apache:apache /var/log/nagios
  6. sudhan says:

    Hi ravi,

    I have installed the redhat 6 in my virtual box and i did all step which u mentioned in the webpage.but still i am not able to connect nagios page. My IP is, When I gave the ip with /nagios its not viewing in the web page. I do know where is problem kindly help me.!

    • Ravi Saive says:


      What error you getting while accessing the Nagios web page? also could you run the below command to verify the Nagios Configuration and post the output here?

      # /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
  7. Abhishek Yadav says:

    can i monitor windows network (i.e. all clients with windows 7) with nagios core

  8. sheikvara says:

    Awesome hats off to you Ravi.


  9. Anil kumar kalu says:

    This is Anil kumar kalu and i configured Nagios with ZERO errors and finally all are over.
    but when i type in google chrome in my lapy like ” or
    its showing

    “””’ Forbidden
    You don’t have permission to access /nagios/ on this server. Apache/2.2.15 (Red Hat) Server at Port 80 “””””””

    so please help me and my os is windows-10 , vmware-08 , linux-RHEL-06.
    i will wait for your feed back.
    Thank you.

  10. Brt23 says:


    I followed the installation procedure and seems to be running without any errors, but when trying to access from browser [chrome] – it asks for username and password and then the browser throws “ERR_CONNECTION_ABORTED”.

    Can you help me with identifying the issue please.?..

    – Nagios credentials are verified
    – /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg has zero warning/errors
    – URL: http:///nagios
    – http:// opens as a default Apache Welcome Page, no errors here!

    On the server:
    – #service nagios status
    nagios (pid 22576 22575 22574 22573 22572 22570 2449 2366 2365 2364 2363 2357) is running…
    – #service httpd status
    httpd (pid 22611) is running…
    – # iptables -L -n | grep 80
    ACCEPT tcp — tcp dpt:80

    • Ravi Saive says:


      It something related to your Windows chrome issue, try to open the Nagios using other browser such as Firefox or Opera and see..

      • Brt23 says:

        Thanks for responding Ravi,

        I tried the same with IE (v11) and Firefox (v45.2.0), but here http://IP/nagios fails to ask for username/password.
        But Apache default page works in all browsers, so kind of stuck with figuring out if this is a browser/client or server issue.

        Page cant be displayed [IE] or Connection error [Firefox]

        Can I debug the connection on Nagios Server or check if the requests are hitting it..?

      • Brt23 says:

        Thanks for responding Ravi,

        I tried accessing the same from IE[v11] and Firefox[v45.2.0] but it fails to ask Nagios credentials.
        Whereas in Chrome [incognito mode], it asks for nagios credentials but then fails to open the webpage.

        Is there a way i can debug this issue?
        As i am not sure if this is a browser/client or server side config issue.

        • Ravi Saive says:


          I suggest you to try to open the Nagios page within the Nagios Monitoring server terminal using links or lynx commandline browsing tools and see the page opens with authentication or you still see the same error page, if you able to open it via console, then it seems issue with your client OS or browser..

      • Brt23 says:


        It worked on local using command line [lynx] with authentication.
        So, as you mentioned it should be an issue with client/browser.

        • Ravi Saive says:


          Yes, the issue with your client machine or browser, try to check the Nagios web from other machine with different OS or browser..

Got something to say? Join the discussion.

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

Join Over 300K+ Linux Users
  1. 177,942
  2. 8,310
  3. 37,548

Are you subscribed?