How to Install Nagios 4.3.4 on RHEL, CentOS and Fedora

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

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. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  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...

401 Responses

  1. Sara Chin says:

    I followed the step above, yet I get the issue.

    Warning: Monitoring process may not be running! and “You don’t have permission to access /cgi-bin/ on this server.” the Nagios service is running everything seem ok. SElinux is set to permissive.

    I’m on CentOS7, Nagios-4.4.3

    Any idea,

    • Ravi Saive says:

      @Sara,

      Disable SELinux and try..it should work.

      • Sara Chin says:

        Thanks for reply. Yet, disable SElinux still got the same error. To produce the error, access Nagios via FQDN.com (nagios.mydomain.com) Anyways, access via ipaddress/nagios working fine . I thought it is the apache configuration issue.

        Note: I did VHOST the this server.

        • Sara Chin says:

          Solved by vim /etc/httpd/conf/httpd.conf then specify the script alias>> ScriptAlias /cgi-bin/ "/usr/local/nagios/sbin/".

  2. tamilarasan says:

    Got an error while running this command ./configure --with-command-group=nagcmd.

    I also executed this command to resolve :

    # yum install -y gcc glibc glibc-common wget unzip httpd php gd gd-devel perl postfix
    
  3. Syed says:

    The way of explanation is terrific. I like it & thanks for supporting us @ 0 cost.

  4. Manoj Hande says:

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

  5. Navneet says:

    Kindly share steps to configure notification mails

  6. na says:

    Please help !!!

    When i issue command “systemctl enable nagios“, I got following errors.

    [[email protected] ~]# systemctl enable nagios
    

    nagios.service is not a native service, redirecting to /sbin/chkconfig.
    Executing /sbin/chkconfig nagios on
    The unit files have no [Install] section. They are not meant to be enabled
    using systemctl.
    Possible reasons for having this kind of units are:
    1) A unit may be statically enabled by being symlinked from another unit’s
    .wants/ or .requires/ directory.
    2) A unit’s purpose may be to act as a helper for some other unit which has
    a requirement dependency on it.
    3) A unit may be started when needed via activation (socket, path, timer,
    D-Bus, udev, scripted systemctl call, …).
    ===========================================
    ==>>

    Can anyone help me?!!! <<==

  7. haivishnu says:

    Hi, I am newbie to Nagios. am newbie to nagios

    How to configure snmpwalk with nagios please tell me.

  8. Muthukumar Ramu says:

    I have added windows machine. I am unable to monitor the client windows machine. I am getting below. Please help me on this.

    connect to address 172.24.120.78 and port 12489: Connection refused

Leave a Reply to Syed Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.