[
https://issues.apache.org/jira/browse/AMBARI-8629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14240965#comment-14240965
]
Victor commented on AMBARI-8629:
--------------------------------
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″.
I attached a patch for this.
Restart NAGIOS through Ambari GUI.
> Nagios web: Error: Could not read object configuration data!
> ------------------------------------------------------------
>
> Key: AMBARI-8629
> URL: https://issues.apache.org/jira/browse/AMBARI-8629
> Project: Ambari
> Issue Type: Bug
> Components: ambari-agent, ambari-server
> Affects Versions: 1.6.1
> Reporter: Victor
> Priority: Minor
> Attachments: 800px-Nagios-error.png, AMBARI-8629.patch
>
>
> Nagios web could not shown data in a clean install:
> Whoops!
> Error: Could not read object configuration data!
> This error appear in any menu section (Map, Hosts, Services.. ) except the
> home page.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)