Did You Know?
Got a tip? Let us know

LFCS - Linux Foundation Certified SysAdmin - Exam Preparation Guide

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

Download Your Free eBooks NOW - 10 Free Linux eBooks for Administrators

Nagios is an awesome Open Source monitoring tool, its provides you more comprehensive monitoring environment to always keep an eye on your all machines / networks whether you are in a your data center or just your small labs.

With Nagios, you can monitor your remote hosts and their services remotely on a single window. It shows warnings and indicates if something goes wrong in your servers which eventually helps us to detect some problems before they occur. It helps us to reduce downtime and business losses.

Recently, Nagios released its latest versions Nagios 4.0.1 on 15th October 2013, and its latest stable release of Nagios plugins 1.5.

This article is intended to guide you with easy instructions on how to install latest Nagios 4.0.1 from source (tarball) on RHEL 6.4/6.3/6.2/6.1/6/5.8, CentOS 6.4/6.3/6.2/6.1/6/5.8 and Fedora 19,18,17,16,15,14,13,12 distributions. Within 30 minutes you will be monitoring your local machine, no any advanced installation procedure only basic installation that will work 100% on most of the today’s Linux servers.

Please Note: The installation instructions were shown in here are written based on CentOS 6.4 Linux distribution.

Installing Nagios 4.0.1 and Nagios Plugin 1.5

If you follow these instructions correctly, you will end up with following information.

  1. Nagios and its plugins will be installed under /usr/local/nagios directory.
  2. Nagios will be configured to monitor few services of your local machine (Disk Usage, CPU Load, Current Users, Total Processes, etc.)
  3. Nagios web interface will be available at http://localhost/nagios

Step 1: Install Required Dependencies

We need to install Apache, PHP and some libraries like gcc, glibc, glibc-common and GD libraries and its development libraries before installing Nagios 4.0.1 with source. And to do so we can use yum default package installer.

[root@tecmint]# yum install -y httpd php gcc glibc glibc-common gd gd-devel make net-snmp  (RedHat / CentOS)

Step 2: Create Nagios User and Group

Create a new nagios user and nagcmd group account and set a password.

[root@tecmint]# useradd nagios
[root@tecmint]# groupadd nagcmd

Next, add both the nagios user and the apache user to the nagcmd group.

[root@tecmint]# usermod -G nagcmd nagios
[root@tecmint]# usermod -G nagcmd apache

Step 3: Download Nagios Core 4.0.1 and Nagios Plugin 1.5

Create a directory for your Nagios installation and all its future downloads.

[root@tecmint]# mkdir /root/nagios
[root@tecmint]# cd /root/nagios

Now download latest Nagios Core 4.0.1 and Nagios plugins 1.5 packages with wget command.

[root@tecmint nagios~]# wget http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-4.0.1.tar.gz
[root@tecmint nagios~]# wget https://www.nagios-plugins.org/download/nagios-plugins-1.5.tar.gz

Step 4: Extract Nagios Core and its Plugins

We need to extract downloaded package with tar command as follows.

[root@tecmint nagios~]# tar –xvf nagios-4.0.1.tar.gz
[root@tecmint nagios~]# tar –xvf nagios-plugins-1.5.tar.gz

When you extract these tarballs with tar command, two new folders will appear in that directory.

[root@tecmint nagios ~]# ll
total 3712
drwxrwxr-x 18 root root    4096 Oct 17 03:28 nagios-4.0.1
-rw-r--r--  1 root root 1695367 Oct 15 19:49 nagios-4.0.1.tar.gz
drwxr-xr-x 15  200  300    4096 Oct 14 10:18 nagios-plugins-1.5
-rw-r--r--  1 root root 2428258 Oct  2 11:27 nagios-plugins-1.5.tar.gz

Configure Nagios Core

Now, first we will configure Nagios Core and to do so we need to go to Nagios directory and run configure file and if everything goes fine, it will show the output in the end as sample output. Please see below.

[root@tecmint nagios~]# cd nagios-4.0.1
[root@tecmint nagios-4.0.1 ]# ./configure --with-command-group=nagcmd
Sample output:
Nagios executable:  nagios
        Nagios user/group:  nagios,nagios
       Command user/group:  nagios,nagcmd
             Event Broker:  yes
        Install ${prefix}:  /usr/local/nagios
    Install ${includedir}:  /usr/local/nagios/include/nagios
                Lock file:  ${prefix}/var/nagios.lock
   Check result directory:  ${prefix}/var/spool/checkresults
           Init directory:  /etc/rc.d/init.d
  Apache conf.d directory:  /etc/httpd/conf.d
             Mail program:  /bin/mail
                  Host OS:  linux-gnu

 Web Interface Options:
 ------------------------
                 HTML URL:  http://localhost/nagios/
                  CGI URL:  http://localhost/nagios/cgi-bin/
 Traceroute (used by WAP):  /bin/traceroute

Review the options above for accuracy.  If they look okay,
type 'make all' to compile the main program and CGIs.

Now, after configuring we need to Compile and install all the binaries with make command and make install command will install all the needed libraries in your machine and we can proceed further.

[root@tecmint nagios-4.0.1 ]# make all
[root@tecmint nagios-4.0.1 ]# make install
Sample output:
*** Main program, CGIs and HTML files installed ***

You can continue with installing Nagios as follows (type 'make'
without any arguments for a list of all possible options):

  make install-init
     - This installs the init script in /etc/rc.d/init.d

  make install-commandmode
     - This installs and configures permissions on the
       directory for holding the external command file

  make install-config
     - This installs sample config files in /usr/local/nagios/etc

Following command will install the init scripts for Nagios.

[root@tecmint nagios-4.0.1 ]# make install-init

To make nagios work from command line we need to install command-mode.

[root@tecmint nagios-4.0.1 ]# make install-commandmode

Next, install sample nagios files, please run following command.

[root@tecmint nagios-4.0.1 ]# make install-config
Sample output:
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/etc
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/etc/objects
/usr/bin/install -c -b -m 664 -o nagios -g nagios sample-config/nagios.cfg /usr/local/nagios/etc/nagios.cfg
/usr/bin/install -c -b -m 664 -o nagios -g nagios sample-config/cgi.cfg /usr/local/nagios/etc/cgi.cfg
/usr/bin/install -c -b -m 660 -o nagios -g nagios sample-config/resource.cfg /usr/local/nagios/etc/resource.cfg
/usr/bin/install -c -b -m 664 -o nagios -g nagios sample-config/template-object/templates.cfg /usr/local/nagios/etc/objects/templates.cfg
/usr/bin/install -c -b -m 664 -o nagios -g nagios sample-config/template-object/commands.cfg /usr/local/nagios/etc/objects/commands.cfg
/usr/bin/install -c -b -m 664 -o nagios -g nagios sample-config/template-object/contacts.cfg /usr/local/nagios/etc/objects/contacts.cfg
/usr/bin/install -c -b -m 664 -o nagios -g nagios sample-config/template-object/timeperiods.cfg /usr/local/nagios/etc/objects/timeperiods.cfg
/usr/bin/install -c -b -m 664 -o nagios -g nagios sample-config/template-object/localhost.cfg /usr/local/nagios/etc/objects/localhost.cfg
/usr/bin/install -c -b -m 664 -o nagios -g nagios sample-config/template-object/windows.cfg /usr/local/nagios/etc/objects/windows.cfg
/usr/bin/install -c -b -m 664 -o nagios -g nagios sample-config/template-object/printer.cfg /usr/local/nagios/etc/objects/printer.cfg
/usr/bin/install -c -b -m 664 -o nagios -g nagios sample-config/template-object/switch.cfg /usr/local/nagios/etc/objects/switch.cfg

*** Config files installed ***

Remember, these are *SAMPLE* config files.  You'll need to read
the documentation for more information on how to actually define
services, hosts, etc. to fit your particular needs.

Step 5: Customizing Nagios Configuration

Open the “contacts.cfg” file with your choice of editor and set the email address associated with the nagiosadmin contact definition to receiving email alerts.

# vi /usr/local/nagios/etc/objects/contacts.cfg
Sample Output
###############################################################################
###############################################################################
#
# CONTACTS
#
###############################################################################
###############################################################################

# Just one contact defined by default - the Nagios admin (that's you)
# This contact definition inherits a lot of default values from the 'generic-contact'
# template which is defined elsewhere.

define contact{
       contact_name                    nagiosadmin             ; Short name of user
       use                             generic-contact         ; Inherit default values from generic-contact template (defined above)
       alias                           Nagios Admin            ; Full name of user

       email                           tecmint@tecmint.com     ; *** CHANGE THIS TO YOUR EMAIL ADDRESS ****
       }

Step 6: Install and Configure Web Interface for Nagios

We are done with all configuration in the backend, now we will configure Web Interface For Nagios with following command. The below command will Configure Web interface for Nagios and a web admin user will be created “nagiosadmin”.

[root@tecmint nagios-4.0.1 ]# make install-webconf

In this step, we will be creating a password for “nagiosadmin”. After executing this command, please provide a password twice and keep it remember because this password will be used when you login in the Nagios Web interface.

[root@tecmint nagios-4.0.1]# htpasswd -s -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
New password:
Re-type new password:
Adding password for user nagiosadmin

Restart Apache to make the new settings take effect.

[root@tecmint ]# service httpd start (On RedHat / CentOS)
[root@tecmint ]# systemctl start httpd.service (On Fedora)

Step 7: Compile and Install Nagios Plugin

We have downloaded nagios plugins in /root/nagios, Go there and configure and install it as directed below.

[root@tecmint nagios]# cd /root/nagios
[root@tecmint nagios]# cd nagios-plugins-1.5
[root@tecmint nagios]# ./configure --with-nagios-user=nagios --with-nagios-group=nagios
[root@tecmint nagios]# make
[root@tecmint nagios]# make install

Step 8: Verify Nagios Configuration Files

Now we are all done with Nagios configuration and its time to verify it and to do so please insert following command. If everything goes smooth it will show up similar to below output.

[root@tecmint nagios]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Sample Output
/usr/bin/install -c -m 644 sample-config/httpd.conf /etc/httpd/conf.d/nagios.conf

*** Nagios/Apache conf file installed ***

 /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
...
...
Total Warnings: 0
Total Errors:   0

Step 9: Add Nagios Services to System Startup

To make Nagios work across reboots, we need to add nagios and httpd with chkconfig command.

[root@tecmint ]# chkconfig --add nagios
[root@tecmint ]# chkconfig --level 35 nagios on
[root@tecmint ]# chkconfig --add httpd
[root@tecmint ]# chkconfig --level 35 httpd on

Restart Nagios to make the new settings take effect.

[root@tecmint ]# service nagios start (On RedHat / CentOS)
[root@tecmint ]# systemctl start nagios.service (On Fedora)

Step 10: Login to the Nagios Web Interface

Your nagios is ready to work, please open it in your browser with “http://Your-server-IP-address/nagios” or “http://FQDN/nagios” and Provide the username “nagiosadmin” and password.

Nagios Login
Nagios Login

Nagios Web Interface

Host View
Nagios Host View

Nagios Host View

Nagios Overview
Nagios Overview

Nagios Overview

Service View
Nagios Services

Nagios View Services

Process View
Nagios Process View

Process View

Congratulations! You’ve successfully installed and configured Nagios and its Plugins. You’ve just begin your journey into monitoring.

Upgrade Nagios 3.x to Nagios 4.0.1

If you are already running an older version of Nagios, you can upgrade it anytime. To do so, you just need to download the latest tar archive of it and configure it as shown below.

[root@tecmint ]# service nagios stop
[root@tecmint ]# tar –zxvf nagios-4.0.1.tar.gz
[root@tecmint ]# cd nagios-4.0.1
[root@tecmint ]# ./configure
[root@tecmint ]# make all
[root@tecmint ]# make install
[root@tecmint ]# service nagios start

That’s it for now, in my upcoming articles, I will show you how to add Linux, Windows, Printers, Switches and Devices to Nagios monitoring Server. If you’re having any trouble while installing, please do contact us via comments. Till then stay tuned and connected to Tecmint and don’t forget to Like and Share us to spread around.

Read Also:

  1. How to Add Linux Host to Nagios Monitoring Server
  2. How to Add Windows Host to Nagios Monitoring Server
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.
Download Free eBooks
Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Ubuntu Linux Toolbox: 1000+ Commands

192 Responses

  1. Sarfaraz Shaikh says:

    Now how to add the client machine to monitor from the nagios server. Please give complete article on how to install and configure nagios server and client for monitoring and the mail alerts as well

    • Ravi Saive says:

      The second part of this article on how to add Linux Hosts to Nagios server in progress, will soon publish it. Stay tuned for that. Thanks

      • mastansaheb says:

        Hi Ravi,

        Would like to know about the communication between nagios server and nagios clients, how it works step by step.

        Reg,
        Mastan

      • Anu says:

        Hi Ravi,

        I have configured Nagios server and I could monitor remote machines as well using the information given below. I would like to setup email notification. Could you please help me out in this. One of my friend has configured email setup using sendEmail and it’s working fine. I was unable to setup. Can you please help me out in this.

        Regards,
        Rashmi

      • Srikanth Thummala says:

        It’s really helpful. Can you please post the next article.

      • A.Abdul Jafar says:

        Than k u

      • Jyoti Ranjan Gogoi says:

        I have installed Nagios Core 4.0.1 and works fine… thanks for your help..

        But when i want to create availability report it shows me the following error..

        the gateway did not receive a timely response from the upstream server or application

        please help

      • Franck says:

        Thank you for this great article! I managed to install it well . I work simultaneously on high availability, except that I do not know the command to allow nagios to spend at the cluster level. I am running cluster, but I can not bring out Nagios

  2. Hemanth says:

    I am very eagerly waiting for the 2nd article. I need to configure 60 + client workstations to add to the Nagios server.

  3. Sachin says:

    I got error “Return Code of 127 is out of bounds – plugin may be missing”………… :(

    • Ravi Saive says:

      Most likely the error occurs due to missing SNMP packages. Make sure you have the following packages installed on your system, if not install them.

      # yum net-snmp-libs net-snmp net-snmp-utils
      

      Lastly, you need to re-compile the Nagios Plugins. Go to the nagios plugin directory and run the following commands.

      [root@tecmint nagios]# cd /root/nagios
      [root@tecmint nagios]# cd nagios-plugins-1.5
      [root@tecmint nagios]# ./configure --with-nagios-user=nagios --with-nagios-group=nagios
      [root@tecmint nagios]# make
      [root@tecmint nagios]# make install
      

      After installing, make sure to restart nagios.

      # service nagios start
      

      rpm -qa | grep net-snmp

      • sachin says:

        ThnX, It started working after installing above packages.

        But nagios will not start in enforcing mode, to start it run this commands:

        chcon -R -t httpd_sys_content_t /usr/local/nagios/sbin/

        chcon -R -t httpd_sys_content_t /usr/local/nagios/share/

        Now my nagios os is working smoothly and i am waiting for next article of this series :)

  4. davor says:

    ok, but neither ndo or live is working with 4.x version at the moment.

  5. Rahul Patadiya says:

    Hello Sir,

    I want to monitoring Cisco sg300 switch by nagios, check switch load, traffic, and load. i have try to configure snmp but i was not success. so please help me for this..

    Thanks
    Rahul Patadiya

  6. Parmod Kumar says:

    I am new to this, But I did as here mentioned……. I am able to log in but it showing – But when i click on any option mentioned there it shows internal server error

    • Ravi Saive says:

      It’s a permission issue of SELinux, run these two below commands to fix that error.

      # chcon -R -t httpd_sys_content_t /usr/local/nagios/sbin/
      # chcon -R -t httpd_sys_content_t /usr/local/nagios/share/
      
  7. Reggy says:

    Hi Mr. Ravi Saive,

    I installed nagios version 4.0 on fedora 19
    when i check the status:
    systemctl status nagios.service

    i get the error:

    Loaded: loaded (/etc/rc.d/init.d/nagios)
    Active: failed (Result:timeout) since Mon 2013-11-18 19:04:22 Est; 44s ago
    Process: 2104 ExecStart=/etc/rc.d/init.d/nagios start (code=exited, status=0/SUCCESS)
    CGroup: name=systemd:/system/nagios.service

    Then i get:
    [1]: Starting LSB: start and stop Nagios monitoring server…
    Failed to start LSB: start and stop Nagios monitoring server.
    Unit nagios.service entered failed state

    although i am able to use the service i can login to nagios and see my local host and my other lamp servers and i can see the services ssh, ping, etc… but i can’t get any email notifications ( is that the reason why by the way)
    can you please help me fix this error thank

    i tried reinstalling nagios, restarting nagios, restarting httpd,

    tried the steps from this page:
    http://nagios.sourceforge.net/docs/3_0/startstop.html

    please help thanks,

  8. vinod says:

    what a simple and accurate explanation.

    thank you sir

  9. Dybra says:

    Great tutorial !!!! Thanks

  10. Kavinda says:

    hi,
    I’m using Juniper firewall i need to add those in to nagios 4.0. please help me?

  11. Abyakta says:

    Hi ,

    Nice Guide for the new users who wants to learn Nagios.

    But i want to know why there is a need of “nagcmd group” cant we use the default “nagios” group which will be automatically created while creating the “nagios” user.

    Regards
    Abyakta

  12. sanjay says:

    hallo ravi ,

    after configure all the step , when i try to get it in web server then it doesn’t work ,
    it say that web page is not availbale.

  13. sanjay says:

    hallo ravi,
    can you please help me out . i am having really a little problem,
    your explanations is so great and the way how you explain the thing is owesome,
    may be i have missed something while configuration.
    when i want to get nagios in web browwser then it shows that web is not availble.
    can you please help me out for this problem
    thanks

    • Ravi Saive says:

      Can you please tell me exact error code of Apache?

      • sanjay says:

        “Error: Connection interrupted

        The connection to the server was reset while the page was loading.

        The site could be temporarily unavailable, please try again later.
        If you can not access any other website, please check your computer’s network connection.
        If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Internet.”

        hallo ravi ,
        i am getting this error.
        when i was doing the configuration. i never get any error but i can’t access it via web browwser.

      • sanjay says:

        apacche is running in the linux machine and status of httpd is ok .

        but when we try to access via IP of server then it doesn’T load and say web page is not availbale.

        • Ravi Saive says:

          Have you opened port 80 in firewall? If NO! please open it and try again.

          • chuck-farley says:

            Pretty disappointing. This guide seems to be pretty comprehensive, but it is lacking some fundamental things.

            I went through it EXACTLY and had no error messages, no problems, nothing. Both nagios and httpd started up perfectly.
            (Okay, I installed nagios-4.0.6 and plugins-2.0.2, otherwise the same)

            No connection to httpd on tcp/80, unable to connect.
            I opened the port, and then disabled iptables. No changes, still cannot access.

            I’ve been through all the comments, looked into problems with SELinux, permissions in /var/www/html and other possible causes. Nothing helped.

            I have gotten nothing but disappointment from TECMINT overall. This is the third or fourth howto I’ve looked at here, the first one I actually tried, and I have found varying flaws in all of them that are pretty obvious. You consistently fail to mention basic, fundamental things that a new user should at least be aware of. You don’t warn when some things might be a big problem.

            I appreciate this may be a volunteer effort for may of you, but bad information is still bad information. I won’t be coming back.

  14. prakash says:

    This is a nice article for new users…

  15. sanjay says:

    thanks
    Ravi
    now its working and this is really helpful link for linux and the most important thing is you replay to the peoples questions that is really best thing about you

    again thanks alot

  16. vinodkumar says:

    i installed nagios server in my local machine, when i trying to open http://host-ip/nagios it’s asking credentials but it’s not taken which i created i tried nagiosadmin and password is not take.

    please help me

  17. Ramesh says:

    In Fedora 19, w e have to install openssl before starting the httpd.

    yum install openssl

  18. Claudio says:

    Thanks a lot for that tutorial, all have worked fine at once, clear explanation and examples.
    Awesome job!

    Best wishes to you and thanks again!

  19. Vannara says:

    Hi all,

    I have completed installing nagios 4.0.1 but i faced a problem “(No output on stdout) stderr: ” in status information. How to fix the issue, thank.

  20. tommy says:

    Hi, except Nagios, I search that Pandora FMS is also a good monitor tool but I’m not know well how to configuration it. Could you write a topic for Pandora :D Thanks.

  21. sachin says:

    hello sir,

    i want to install mysql monitoring tool in nagios how to install and configure and were is it find….please reply

  22. andhar says:

    Hi,,Thanks alot for this tutorial.

  23. Aswin says:

    i was install nagios in linux el6 64 bit. nagios is working fine. after opening in browser when i click on left panel it ask me to save status.cgi file always. for eg: when i click hosts or maps or services anything in left panel its not opening other than that it ask to save status.cgi file. Thanks in Advance :)

  24. iffi says:

    Hi,

    Im get this error

    —————-
    tar: invalid option — ‘�’
    —————-

  25. iffi says:

    All is OK

    Terminal
    ————————–
    # tar –xvf nagios-4.0.1.tar.gz
    tar: invalid option — ‘�’
    `tar –help’

  26. Hill says:

    Hie Ravi

    I configured my nagios long time ago and now i do not remember where i configured notifications to come from my gmail account, i have tried in contacts.cfg but i only see the destination mail box please help

  27. VishnuLal says:

    I got this error, Please give a solution

    Not Found

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

  28. vinay says:

    Hi,

    Can anyone tell me the procedure to install mysql plugin in nagios-plugin-1.5 so that i can monitor mysql services.

    Thanks in advance..!!!!

  29. Jordan says:

    I am new to Linux. When I run “root@ubuntuServer:/root/nagios/nagios-4.0.1# make install-webconfig” I get this:

    /usr/bin/install -c -m 644 sample-config/httpd.conf .d/nagios.conf
    /usr/bin/install: cannot create regular file ‘/etc/httpd/conf .d/nagios.conf’ : No such file or directory
    make: *** [install-webconf] Error 1

  30. Hugo says:

    This is ackward. I can’t seem to get rid of :
    Error: Could not stat() command file ‘/usr/local/nagios/var/rw/nagios.cmd’!
    The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands.
    An error occurred while attempting to commit your command for processing.

    I doublechecked permission, and all of that. Worked my way to a dozen or so of troubleshooting pages referring to this issue but I can’t seem to find the cause and fix it.

    # ls -l rw
    prw-rw—-. 1 nagios nagcmd 0 Mar 5 17:11 nagios.cmd
    srw-rw—-. 1 nagios nagcmd 0 Mar 7 11:30 nagios.qh
    # ls -ld rw
    drwxrwsr-x. 2 nagios nagcmd 4096 Mar 7 11:30 rw
    # grep nagios /etc/group
    nagios:x:501:nagios,apache
    nagcmd:x:502:nagios,apache

    – httpd runs as user apache

    So at the moment I can’t think of anything more to check.

  31. Hugo says:

    I found the missing bit for the external commands.
    It was a sneaky thing of SELINUX.

    You need to add this 3rd SELINUX exceptions as well:

    chcon -R -t httpd_sys_script_rw_t /usr/local/nagios/var/rw

  32. Manju says:

    I followed same steps as above. But not able to monitor disk alerts. If you help on this means its great.

  33. Pavan says:

    HI , I need to Instal Nagios server with NSCA client config,
    Please update me a Document to my mail ID.
    \

    Thanks
    pavan

  34. chandu says:

    Hi i have installed the nagios as you given steps ..but finally when loged in its giving the Forbidden error ! please find the below .

    Forbidden

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

    Apache/2.2.17 (Fedora) Server at 192.168.50.4 Port 80

  35. chandu says:

    Hello sir

    Greetings !!

    i have installed the nagios successfully as per you given steps ,, once i login to server ..its throwing the error message given by below.

    Please help me about this

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Apache/2.2.17 (Fedora) Server at 192.168.50.4 Port 80

    • Ravi Saive says:

      The error basically about SELinux context file execution issue, which can be fixed by setting the permission on nagios installtion core directories, like shown below.

      # chcon -R -t httpd_sys_content_t /usr/local/nagios/sbin/
      # chcon -R -t httpd_sys_content_t /usr/local/nagios/share/
      
  36. chandu says:

    hello sir ,

    yea i got it that …and mail notifications are not coming ,, today i shut down the server due to maintenance.i was expecting the e-mail ..but there is no use ..

    i have configured the e mail id my personal ..please have a look

    ###############################################################################
    ###############################################################################
    #
    # CONTACTS
    #
    ###############################################################################
    ###############################################################################

    # Just one contact defined by default – the Nagios admin (that’s you)
    # This contact definition inherits a lot of default values from the ‘generic-contact’
    # template which is defined elsewhere.

    define contact{
    contact_name nagiosadmin ; Short name of user
    use generic-contact ; Inherit default values from generic-contact template (defined above)
    alias Nagios Admin ; Full name of user

    email chandu@ourdomain.com ; *** CHANGE THIS TO YOUR EMAIL ADDRESS ****

    • Ravi Saive says:

      Did you installed sendmail or postfix to send out mails?

      • chandoo says:

        No I didn’t do that ,can you explain me about sendmail configuration ???

        • Ravi Saive says:

          No any explanation needed, just do a yum install sendmail and start the service.

          • chandoo says:

            yes i have installed the sendmail, but there no luck ??

            i given test mail output is the same ..no erros but mails are not coming to inbox.

            mutt -s “Test Email” chandoo@ourmail.in < /dev/null
            @@@@@@@@@@@@@@@@@@@@@@@@@@@@
            and i have checked in nagios please find the below info

            Host Service Type Time Contact Notification Command Information
            localhost HTTP WARNING 03-24-2014 10:36:36 nagiosadmin notify-service-by-email HTTP WARNING: HTTP/1.1 403 Forbidden – 4807 bytes in 0.006 second response time
            localhost HTTP WARNING 03-24-2014 09:36:36 nagiosadmin notify-service-by-email HTTP WARNING: HTTP/1.1 403 Forbidden – 4807 bytes in 0.002 second response time
            localhost HTTP WARNING 03-24-2014 08:36:36 nagiosadmin notify-service-by-email HTTP WARNING: HTTP/1.1 403 Forbidden – 4807 bytes in 0.002 second response time

          • chandoo says:

            i have installed sendmail but still its not working …

          • Ravi Saive says:

            Can I have access to your machine? pls mail me your server details at tecmint.com@gmail.com

  37. santhosh says:

    hai

    iam installing nagios on centos 6.4 i did not get any email alerts

    i am adding my mail address in commands and contacts.cfg file but i did not get any mails

    if there ant answer pls tell me

  38. santhosh says:

    which version is perfectly suitable for nagios installtion in centos

  39. centosuser says:

    Hi, i had also installed the nagios plugins from the tarball and installation goes fine without any error.

    But i cannot find the location as where those plugins installed.

    i had checked /usr/local/nagios but cannot found it.

    Please help

  40. sandeep says:

    chkconfig –add nagios command showing error

  41. Furqan says:

    Hello ,
    i am stuck in doing 2nd wget (which is for plugins) it gives me error “unable to resolve host address”
    any idea?
    i am proxy server to go on internet but i already set it and its working .
    I using centos 6.5

  42. Furqan says:

    Hello, again please do not consider my previous reply, because i solved it.
    but now facing another with step number 10.
    I am unable to see webinterface using the ip address/nagios..
    please help me

    • Ravi Saive says:

      Did you get any error on the browser? if possible can you share a screen grab.

      • Furqan says:

        Hi Ravi,
        thanks for the support , but fortunetly i solved the problem by turning off the firewall, initially i tried to solve the problem by opening the http port 80 but was unable to due to some reason so i turned it off.
        but the NEW PROBLEM I am facing is when entering the webinterface -> credentials->Homepage->Clicking Host Group (from left Menu) gives me “It appears as though you do not have permission to view information for any of the hosts you requested…”..i have no idea where it went wrong..

        • Ravi Saive says:

          Its something related to permission issue, better turn off SELinux for time being and check.

          • Premnath says:

            Dear Sir,

            I am also facing same issue.. But Some time I am able to get output and some time nagios show error ” It appears as though you do not have permission to view information for any of the services you requested…”

            My SELinux is also disabled.

          • Ravi Saive says:

            Please check your Apache logs for any specific nagios error.

  43. nery says:

    hI Brother, thanks for your tutorial is very easy and clear. So i followed every single step in your example, and every was ok. I’m facing this error:

    http://myipaddres/nagios

    Not Found

    The requested URL /nagios-4.0.1/ was not found on this server.

    i’m running on Centos 6.5

    Please can you help me?

    Tanks for your time.

  44. Suidique says:

    Hello ravi..

    I did all steps to install nagios and nagios plugin, but i installed the last versions, 4.0.4 and plugins 2.0.

    So when i tried to start the nagios on browser, cannot find the page.

    • Ravi Saive says:

      Is there any error you getting while accessing the page? If yes! please look at the comment section for solutions. I hope you will fix it.

  45. ravi says:

    Dear Sir

    how can i install additional plugins

  46. Hari Sharan Gajmer says:

    Dear Ravi sir,

    Thank you very much..

    It works

  47. Hari Sharan Gajmer says:

    Dear sir,

    How to add other server’s IP?

  48. Jonus says:

    Hello Ravi,

    I have install nagios core 3.0 in my centos machine, ever thing installed properly with our error but once i am login nagios from web interface and accessing link host on left hand side getting error message Internal Server Problem.

    Please advice me the solution?

  49. karthik says:

    hi
    i try to install i unable to install nagios. i downloaded two packages as above mentioned when i enter the below command i am getting this error plz reply me
    command : ./configure –with-command-group=nagcmd
    checking for a BSD-compatible install… /usr/bin/install -c
    checking build system type… i686-pc-linux-gnu
    checking host system type… i686-pc-linux-gnu
    checking for gcc… no
    checking for cc… no
    checking for cl.exe… no
    configure: error: in `/root/nagios/nagios-4.0.1′:
    configure: error: no acceptable C compiler found in $PATH
    See `config.log’ for more details

    • Ravi Saive says:

      Please install C compilers before running configure command.

      • karthik says:

        hi
        finally i got it …the problem was not installed gcc and gcc-lib and dependency packages due to yum repository problem ,i fixed the that problem ,and i installed dependency packages .after it worked fine ….by the way thank you very mush replying ….thank u again

  50. chandoo says:

    hello sir

    I have tired in different ways but there is no luck in that.

    i was waiting for support.

    thank you
    chandu

  51. Kim says:

    Hello Sir,

    Great Article, everything worked perfectly. BUT when I click on host or on any other link I get error below error. Any idea?
    “””Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.”””

    Thanks
    Kim

  52. Kim says:

    Hey,

    got solution already. Command “sudo setenforce 0″ resolved the problem.
    Thanks again for awesome article.

    Best Wishes
    Kim

  53. avgh0s says:

    Thanks Tarunika and Ravi for this awesome article

    Best Wishes
    avgh0s

  54. santhosh says:

    which is suitable for mail generation postfix or sendmail in nagios

    nagios is default installtion postfix but why to install sendmail

  55. Hari Sharan Gajmer says:

    Sir,

    Can u write the steps to add extra plugin and way to add host from webbase?

  56. Hari Sharan Gajmer says:

    while i try to add comment it gives error message

    Error: Could not stat() command file ‘/usr/local/nagios/var/rw/nagios.cmd’!

    • Ravi Saive says:

      Please set the correct permissions by running following commands.

      # chown nagios.nagcmd /usr/local/nagios/var/rw 
      # chmod g+rwx /usr/local/nagios/var/rw 
      # chmod g+s /usr/local/nagios/var/rw
      

      This should work properly without errors.

      • Hari Sharan Gajmer says:

        Hello sir,

        I follow the steps but it gives same error.I think i have miss to create some file.i still cannot add comment.

  57. chandoo says:

    Hello sir

    i am waiting for your support …

  58. haipi says:

    hao install nagios 4.0.5? for centos 6.5

  59. i am using nagios and its working well but now i am looking to change the map layout , so please help me thanks

  60. Murfatlar says:

    Hello ,
    Followed the tutorial but i can’t seem to make the notification work with postfix or sendmail . I have Centos 6.5 on my machine and just installed Nagios 4.0.5.

    Output from /var/log/messages

    ” wproc: stderr line 01: /bin/sh: -c: line 0: unexpected EOF while looking for matching “’
    wproc: stderr line 02: /bin/sh: -c: line 1: syntax error: unexpected end of file
    Output from contacts cfg:

    define command{
    command_name notify-host-by-email
    command_line /usr/bin/printf “%b” “***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n” | /bin/mail -s “** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **” $CONTACTEMAIL$
    }

    # ‘notify-host-by-email’ command definition
    define command{
    command_name notify-host-by-email
    command_line /usr/bin/printf “%b” “***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n” | /bin/mail -s “** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **” $CONTACTEMAIL$
    }
    Any ideea where to look?

  61. mark says:

    i completed the procedure but i cannot access the site.

    no nagios file in /var/www/html/

    pls advise. Thanks

  62. James says:

    Hi Sir I follow all the steps it seems I get all it correct but when I access the GUI I got the home page correct but when I go to services, host, tactical overview etc… I got this on my page please advise thank you!

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.
    Apache/2.2.15 (CentOS) Server at 10.10.1.202 Port 80

  63. James says:

    Hi Sir Ravi

    In addition when I try to restart the httpd I got this start when httpd starting

    [root@TestLinux nagios-plugins-1.5]# service httpd restart
    Stopping httpd: [ OK ]
    Starting httpd: httpd: apr_sockaddr_info_get() failed for TestLinux
    httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName

    Thank you!
    James

    • Ravi Saive says:

      Although this warning message doesn’t interfere with your Apache starting, you can simply ignore it, or you can add your server hostname to /etc/hosts file to get rid of this error messsage.

  64. Mauricio says:

    Excuse the English, I’m using a translator. I installed everything right in my cpanel server, but it does not have access by ip / nagios. Know how to help?

  65. Ashish says:

    nice post….. :)

  66. Kim says:

    Hi,

    I have few questions related to the post.

    1. Why you choose “/root ” to do the installation?
    2. Do I have to give any special permissions to nagios user because it cant do soem tasks for example if I want to restart nagios service I get below error:
    ****sudo service nagios restart
    [sudo] password for nagios:
    —- nagios is not in the sudoers file. This incident will be reported.***
    3. So do I have to provide user nagios some special permissions?

    I am asking this because somehow I think my nagios stopped working because I installed it in root/or I am not able to use use nagios..

    problem with Nagios – the web interface has stopped responding. It is not updating – no communication with nagios.

    Thanks
    Kim

    • Ravi Saive says:

      Which Linux distro you’re using? the instructions only works for RedHat based systems.

      • Kim says:

        It is CentOS but now I have reinstalled it again using Nagios official installation guide,I am not sure if the problem was installaing it in root or something else but I just thought to ask you.

        Also, I am trying to setup notification in nagios so that I could get an email but I dont. DO I have to enable something special on CentOS as well. Like postfix? I have changed the name in Contacts.cfg and everything else seems to be fine.

        Any idea?

        • Ravi Saive says:

          Yes, you correct you need to install special mail services like postfix or sendmail to send out mails from the box.

  67. Kim says:

    Another example:

    sudo tail -50 /var/log/messages
    [sudo] password for nagios:
    nagios is not in the sudoers file. This incident will be reported.

  68. sivakumar says:

    install php package and dependencies before so that you can avoid all the errors.

    if you are getting conflicting errors while installing php with yum disable multiple repositories and try.

  69. chandoo says:

    Hello Sir

    installation and configuration done. but mails are not going to recipient.

    Pls help on this issue .

    Thank you
    chandoo

    • Ravi Saive says:

      Please check the mail logs and find out the reason why its not being delivered to recipient. And also make sure you have correct MX, SPF records are added on your mail domain.

  70. chandoo says:

    Can i give my server access. can you check ??

  71. BANDAR ALAMRI says:

    thanks

    that is very very useful.

    you too as well.

    you helped me to do it
    yeeeeees.

  72. youness says:

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.
    Apache/2.2.15 (CentOS) Server at localhost Port 80

    i dont know what’s this ?
    help me plzz

    • Ravi Saive says:

      It means your Nagios installation was unsuccessful, please follow the instructions carefully and try again.

  73. Jeff says:

    Hi, wonderful information in these posts. I have read through them and have not found anything about an issue I am seeing.

    I am installing V. 4.0.4 on CentOS 6.5 64 bit. I have a basic installation and many host item configured. They are successfully being tested with PINGs, but none of the services are working. I get a “Gateway Time-out” error when I attempt to enable services check on a host.

    Also when I go to the “Configuration” option in the left side menu on the Nagios home page and select the “Host” option from the pull down menu I get this error,

    “It appears as though you do not have permission to view the configuration information you requested…

    If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file.”

    I have not seen anything on an error like this. Do you have any suggestions on a fix?

    Thanks

    Jeff

  74. Lucas says:

    I did everything but when I put my IP in the URL does not load and the error does not appear anything Nagios

  75. Jyoti Ranjan Gogoi says:

    i have installed nagios 4.0.1 in centos and it works fine…but when i try to create availability report it shows me following error…

    the gateway did not receive a timely response from the upstream server or application

    Please Help

    Regards

    Jyotiranjan

  76. Phing says:

    Hi,

    I am faced with an issue as I cannot installed the nagios-plugin. I am using a RHEL3 which I am installing the latest nagios and its plugins. However when installing the plugins its giving me the error as follows

    check_pgsql.c:245: (Each undeclared identifier is reported only once
    check_pgsql.c:245: for each function it appears in.)
    make[2]: *** [check_pgsql.o] Error 1
    make[2]: Leaving directory `/root/nagios-plugins-2.0.2/plugins’
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/root/nagios-plugins-2.0.2′
    make: *** [all] Error 2

    Any help on this would be appreciated.

    Thank you
    Phing,

    • Ravi Saive says:

      You’re trying to install the latest Nagios version on too old RHEL distro, I think it will won’t work out for you, you must upgrade your system to latest version to install latest Nagios version.

  77. krul says:

    ok you can ignore my comment.
    disabling the selinux is the answer.
    thank you

  78. tapas says:

    hi I ahve installed nagios4.0.1 on centos6.3, i can browse the site but whenever i am trying open any other link its not openning… trying to save status.cgi file
    whats the issue?

    • Ravi Saive says:

      It seems CGI was not properly installed or configured. Please check your httpd configuration and include correct nagios configuration.

  79. krishna says:

    sir

    i am trying install nagios but i am getting bellow error

    “[root@master nagios-plugins-2.0.3]# service nagios start

    Executable file /usr/local/nagios/bin/nagios not found. Exiting.

    [root@master nagios-plugins-2.0.3]#

    what is the problem sir?

    • Ravi Saive says:

      Your installation is unsuccessful, might you have missed to run ‘make install’ command. Follow instructions correctly, don’t miss any single command.

  80. Ditmar says:

    I installed Nagios following the procedure, seem fine as I’m able to lunch the server web address.

    the issue is when I click on host or any other part withing the web MOnitoring I get the following error.

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.
    Apache/2.2.15 (CentOS) Server at localhost Port 80

    this is what I get on he log:

    [Mon Jun 30 07:12:57 2014] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
    [Mon Jun 30 07:12:57 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Mon Jun 30 07:12:57 2014] [notice] Digest: generating secret for digest authentication …
    [Mon Jun 30 07:12:57 2014] [notice] Digest: done
    [Mon Jun 30 07:12:57 2014] [warn] ./mod_dnssd.c: No services found to register
    [Mon Jun 30 07:12:57 2014] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 configured — resuming normal operations
    [Mon Jun 30 07:14:49 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
    [Mon Jun 30 07:19:49 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
    [Mon Jun 30 07:24:49 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
    [Mon Jun 30 07:29:49 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
    [Mon Jun 30 07:34:49 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
    [root@localhost html]# cd /var/www

  81. steve says:

    you are the man. Worked like a dream. A REAL GURU… thanks

  82. Charan says:

    Thank you for sharing such an excellent and appropriate step by step doc.

    I really appreciate for the time you spent and your knowledge and understanding of the complete subject.

    • Ravi Saive says:

      Thanks Chandi, for such kind of words which encourage us to write more such in-depth articles for our fellow readers like you. And don’t forget to share our updates.

  83. chandoo says:

    nagaios has been installed and send mail also installed, i have checked in mail logs logs are there but its not coming out form the pc.

    i had mail my srv details pls check and support me sir

  84. chandoo says:

    pls chk now

  85. VIshnu says:

    Hi Sir,

    I Connect two host with my server & its showing all three is up but host does’nt show in services list, its show only server host & when i down to any client effect does’nt show on the gui pannel

  86. Sandeep says:

    Hi,

    Encountered the below message when trying to plan for system downtime through nagios portal

    “Sorry, but you are not authorized to commit the specified command”

    Any pre-configuration is required to do this.

    • Ravi Saive says:

      Is your nagios configuration files are writeable by Apache user? and also check all the files have correct web server owner and group.

  87. Sandeep Bavuna says:

    Hi,
    Thanks Ravi. Already de-bugged the issue as mentioned below.
    #vi /usr/local/nagios/etc/cgi.cfg
    # READ-ONLY USERS
    # A comma-delimited list of usernames that have read-only rights in
    # the CGIs. This will block any service or host commands normally shown
    # on the extinfo CGI pages. It will also block comments from being shown
    # to read-only users.
    authorized_for_read_only=node1,node2,node3
    By adding the above comments in the file, the issue got resolved.
    REPLY

  88. Meraj Hussain says:

    When i restart the nagious service i am getting this Error, will you plz sort it out….

    Job for nagios.service failed. See ‘systemctl status nagios.service’ and ‘journalctl -xn’ for details.

  89. Gursharan Rai says:

    I am getting the below error while downloading core nagios

    unable to resolve host address prdownloads.sourceforge.net

  90. Fidele says:

    Hi Dear , I have install Nagios, Nagios-pluging and nrpe with all lib, note also 127.0.0.1 is figured in nrpe conf,
    but i still receive error below:

    CHECK_NRPE: Error – Could not complete SSL handshake.

    would you advice pls?

  91. Adam says:

    Excellent article thank you, I am a CentOS beginner and I am having a problem after following your well written instructions… I was wondering if you can help please?

    [root@nagios-cs libexec]# ./check_ping -H 8.8.8.8 -w 200,20% -c 600,60% -p4
    ping
    CRITICAL – Could not interpret output from ping command

    However, I can ping using:

    [root@nagios-cs libexec]# ping -n -U -w 10 -c 5 8.8.8.8
    PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
    64 bytes from 8.8.8.8: icmp_seq=1 ttl=50 time=11.6 ms
    64 bytes from 8.8.8.8: icmp_seq=2 ttl=50 time=11.5 ms

    The permissions look ok as far as I can tell:

    -rwsr-x— 1 root nagios 174K Aug 21 15:40 check_ping

    And SELinux is disabled.

    Any ideas would be most welcome.

    Kind regards

    Adam

    I am stuck

    • Ravi Saive says:

      Nagios user don’t have permission to execute ping command, to fix this issue use the following command and then try again.

      # chmod u+s /bin/ping 
      
  92. Kalyan says:

    Hi Ravi,

    Why we need to install Nagios using source code. Are there any advantages on doing this?

    Thanks,
    KalyanP

    • Ravi Saive says:

      Yes, there are lots of advantage installing from source, like you will configure required or selected moduels for Nagios, from source you can install latest version of Nagios, etc..

  93. Bishop says:

    Coaching people to install from source? In 2014, that’s what we call a ‘day two’ problem, and it can be seen as irresponsible.

    Even those who’ve been using EL for a while prefer a packaged install because builds are repeatable, reliable and verifiable. This makes updates trivial and, most of all, something you can automate.

    A config;make;make-install is something that ends up on the “I’ll do it tomorrow/saturday” list, where an RPM update is done via cron while you sleep, and the army of RH testors all but guarantees it’ll go smoothly.

    The difference in reliability alone is like comparing a concept car against a daily driver.

  94. Saravanabavanantharajah says:

    HI Ravi,

    Excellent procedure. I installed on CentOS6.5, no issue found except firewall.

    your procedure is for Nagios 4.0.1 with Nagios Plugin 1.5. current version is nagios 4.0.8.
    Can I use the same procedure to install nagios 4.0.8 ?
    how about the Nagios Plugin?

    Kind regards.
    Sara

    • Ravi Saive says:

      Yes Sara, you can use same instructions for latest version too, only diffrent is, make sure you replace versions accordingly, while following. :)

  95. Rajesh says:

    Dear Ravi,

    I follow the same step by step after that nagios is open with the browser but when I try to access other features like..host, services showing the that error is below.

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.
    Apache/2.2.15 (CentOS) Server at 192.168.1.100 Port 80

  96. jitender says:

    Hi Ravi,

    Thank for share the articlel of nagios installation. I have installed the nagios 4.0.1 and configure the sendmail for receive the email alart. i am not using any firewall. I am getting the following error message:-

    notify-host-by-email;(No output on stdout) stderr:

    Thanks
    Jitender

  97. akash says:

    i want to configure sms alerts for free in nagios. pls share the configuration.

  98. Vengatesh says:

    i unable browse the nagios page

    Forbidden

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

  99. dlyk says:

    When I get to the compilatio and input “make all” I get this error: “make[1]: *** No rule to make target `../include/locations.h’, needed by ‘nagios.o’. Stop.” I have followed these instructions to the letter but I cannot go further. Please help.

  100. kyra says:

    hi Ravi

    i just end to install nagios 4.0.8, and i don’t know the way to configure my first host! please can you help me to do that! i need to finish all this installation, it for my degree! sorry for my english, am a french-girl!
    tkx

    • Ravi Saive says:

      Dear Kyra,

      I’ve already included instructions on how to add first host to Nagios in this article, please follow the guide properly. Still any help you can contact me directly using our contact us page.

  101. Rock Linux says:

    Hi Ravi,

    I went through all the steps & i have configured Nagios on rhel 6 with the help of above steps given by you but when i tried to install Nagios for the third time on my rhel6 while trying to login it’s showing authentication failure, then i have reinstalled my system again tried, went through all the steps but still getting that authentication error. Can you please tell me where i’m making the mistake…

    Thank You…

  102. anbu says:

    tnks buddy ..

    how to monitoring a hard drive

Leave a Reply

This work is licensed under a (cc) BY-NC | TecMint uses cookies. By using our services, you comply to use of our cookies. More info: Privacy Policy.
© 2012-2014 All Rights Reserved.