Error Applying Configuration

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
cdrussell
Posts: 18
Joined: Fri Nov 14, 2014 10:49 am

Error Applying Configuration

Post by cdrussell »

'BSWSNMIDP02.swntdomain.sw.org'
Error: Could not register host (config file '/usr/local/nagios/etc/hosts/BSWSNMIDP02.swntdomain.sw.org.cfg', starting on line 14)
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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Error Applying Configuration

Post by tmcdonald »

What XI version is this?
Former Nagios employee
mp4783
Posts: 116
Joined: Wed May 14, 2014 11:11 am

Re: Error Applying Configuration

Post by mp4783 »

Can you post the relevant portion of the cfg file?
cdrussell
Posts: 18
Joined: Fri Nov 14, 2014 10:49 am

Re: Error Applying Configuration

Post by cdrussell »

2012R2.9
cdrussell
Posts: 18
Joined: Fri Nov 14, 2014 10:49 am

Re: Error Applying Configuration

Post by cdrussell »

###############################################################################
#
# Host configuration file
#
# Created by: Nagios QL Version 3.0.3
# Date: 2015-03-27 10:04:57
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios QL will overwite all manual settings during the next update
#
###############################################################################

define host {
host_name BSWSNMIDP02.swntdomain.sw.org
address 10.130.24.88
register 1
}

###############################################################################
#
# Host configuration file
#
# END OF FILE
#
###############################################################################
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Error Applying Configuration

Post by tgriep »

If you edit this host in Core Config Manager and add a template to that host, that should fix the issue. If you have a template setup for that server type.

If you don't have a template, you will have to edit the host and go through all of the tabs and fill in the defaults.
Be sure to check out our Knowledgebase for helpful articles and solutions!
cdrussell
Posts: 18
Joined: Fri Nov 14, 2014 10:49 am

Re: Error Applying Configuration

Post by cdrussell »

Thanks everyone that was my issue.
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: Error Applying Configuration

Post by cmerchant »

We'll go ahead and close the thread. Thanks.
Locked