Nagios

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Emiliano X 2 months, 4 weeks ago.

  • Creator
    Topic
  • #37022

    bruno bonnin
    Participant

    Hi,

    I have installed the last version of HDP2 and I have a problem with Nagios provided by HDP : when I click on any links on the right side of the Web UI of Nagios, I got the same error :

    Whoops!
    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.

    There is no error in logs (nagios and httpd) and I can receive mails from Nagios each time a problem occurs.
    Thanks for any help !

    Bruno

Viewing 1 replies (of 1 total)

You must be to reply to this topic. | Create Account

  • Author
    Replies
  • #62300

    Emiliano X
    Participant

    This post is old, but only for future reference, the real problem is in the NAGIOS config and CGI scripts, the parameter “retry_check_interval” must be an integer for CGI to work, but in many lines is 0.5 or 0.25 by default.

    Ambari in HDP2.1 use a template for this configuration located in:

    /var/lib/ambari-server/resources/stacks/HDP/2.0.6/services/NAGIOS/package/templates

    You need to edit hadoop-services.cfg.j2 and replace every occurrence of “retry_check_interval 0.25″ or “retry_check_interval 0.5″ with “retry_check_interval 1″.

    Restart NAGIOS.

    Hope this help someone.

    Regards,
    Emiliano.

    Collapse
Viewing 1 replies (of 1 total)
Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.