You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Sumit Mohanty (JIRA)" <ji...@apache.org> on 2013/08/10 08:37:47 UTC
[jira] [Resolved] (AMBARI-2865) Nagios server fails to start with
invalid configuration error
[ https://issues.apache.org/jira/browse/AMBARI-2865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sumit Mohanty resolved AMBARI-2865.
-----------------------------------
Resolution: Fixed
committed to trunk.
> Nagios server fails to start with invalid configuration error
> -------------------------------------------------------------
>
> Key: AMBARI-2865
> URL: https://issues.apache.org/jira/browse/AMBARI-2865
> Project: Ambari
> Issue Type: Bug
> Components: agent
> Affects Versions: 1.4.0
> Reporter: Sumit Mohanty
> Assignee: Sumit Mohanty
> Fix For: 1.4.0
>
> Attachments: AMBARI-2865.patch
>
>
> Nagios fails to start with invalid configuration error. (This is likely intermittent).
> Error: Configuration validation failed - when Nagios is started.
> /usr/sbin/nagios -v /etc/nagios/nagios.cfg
> {noformat}
> Copyright (c) 1999-2009 Ethan Galstad
> Last Modified: 03-15-2013
> License: GPL
> Website: http://www.nagios.org
> Reading configuration data...
> Read main config file okay...
> Processing object config file '/etc/nagios/objects/commands.cfg'...
> Processing object config file '/etc/nagios/objects/contacts.cfg'...
> Processing object config file '/etc/nagios/objects/timeperiods.cfg'...
> Processing object config file '/etc/nagios/objects/templates.cfg'...
> Processing object config file '/etc/nagios/objects/hadoop-hosts.cfg'...
> Processing object config file '/etc/nagios/objects/hadoop-hostgroups.cfg'...
> Processing object config file '/etc/nagios/objects/hadoop-servicegroups.cfg'...
> Processing object config file '/etc/nagios/objects/hadoop-services.cfg'...
> Processing object config file '/etc/nagios/objects/hadoop-commands.cfg'...
> Error: Could not find any hostgroup matching 'resourcemanager' (config file '/etc/nagios/objects/hadoop-services.cfg', starting on line 292)
> Error processing object config files!
> ***> One or more problems was encountered while processing the config files...
> Check your configuration file(s) to ensure that they contain valid
> directives and data defintions. If you are upgrading from a previous
> version of Nagios, you should be aware that some variables/definitions
> may have been removed or modified in this version. Make sure to read
> the HTML documentation regarding the config files, as well as the
> 'Whats New' section to find out what has changed.
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira