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

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.

Host Your Own Website at $97 Discount + One Free Domain Using our Promo Code 'Tec97' (Enter this code during Signup) - Signup with DreamHost Now!

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Ubuntu Linux Toolbox: 1000+ Commands

You may also like...

227 Responses

  1. aravindh says:

    Thanks Ravi , I got it. i missed some commands .Thanks Ravi .

  2. Jonus Joseph says:

    Hi Ravi,

    Do we have any documents or steps to setup Linux and Windows server logs monitoring in Nagios ?

    -Jonus Joseph

  3. Pooja says:

    hello,
    i have installed nagios 4 on openstack in centOs7.
    i have tried the following command:

    sudo packstack –answer-file=packstack-answers-20141218-125821.txt

    Nagios is running, but i m getting error as :

    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.

    What should I do?

  4. aravindh says:

    Hi ,
    When i use this cmd ” /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg ” . i am getting error : -bash: /usr/local/nagios/bin/nagios: No such file or directory

    Is there anything i am missing . If i restart the nagios service , i am getting : stop as status .
    Any info will help . Thanks in Advance .

  5. Jonus Joseph says:

    Hi Ravi,

    Can i get any documentation/steps for Nagios graph(pnp4nagios) installation and configuration in RHEL6 ?
    I am finding lots of difficulty while installing and configuring pnp4nagios .

    Thanks in advance.

    -Jonus Joseph

    • Ravi Saive says:

      @Jonus,
      Sorry, but presently we don’t have any docs for the pnp4nagios, but we will try to cover the topic soon..stay tuned for this..

  6. Hemanth says:

    Hi All,
    I am able to launch nagios web-interface using server ip but i am getting “Internal Server Error” when i tried accessing hosts,servicse etc.
    Many thanks.Please help.

    • Ravi Saive says:

      @Hemanth,
      Try this command and check..hope it will work..

      # chcon -R -t httpd_sys_content_t /usr/local/nagios
      
      • deepak says:

        Hi Ravi,
        I was also facing the same issue that Hemanth was facing & so i tried the command that you told & it worked . But i wanted to know what was wrong before & what changes happend after the command.

  7. Gursharan Rai says:

    I wish to know if apache user gets created automatically as soon as I install the package?

    • Ravi Saive says:

      @Gursharan,
      Yes, you correct apache user created by httpd package, once you install this apache user and group are created..

  8. Tom says:

    I’ve installed Nagios 4.0.8 on CentOS 6.6 and keep getting these error messages on certain checks:

    (No output on stdout) stderr: Can’t locate Nagios/Plugin/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec/lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .)

    (No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_nrpe, …) failed. errno is 2: No such file or directory

    Any suggestions?

    • Ravi Saive says:

      @Tom,
      Seems your Nagios 4.0.8 installation was not succeed, the error clearly indicating that the plugin is missing..try to follow instructions again..

  9. Avadhut Bugade says:

    I had Follow your artificial,but when we trying to access that server url we found below error please help

    Not Found

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

    Apache/2.2.15 (CentOS) Server at 192.168.0.5 Port 80

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Join Over 70000+ Linux Users
  1. 48590
  2. 2375
  3. 13200
Enter your email to get latest Linux Howto's