Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Emiliano X 1 month, 2 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 logged in to reply to this topic.

  • 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)