DUPLICATE: Config errors after XI update from 5.2.8 to 5.4.0

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
conauto
Posts: 2
Joined: Thu Apr 30, 2015 1:09 am

DUPLICATE: Config errors after XI update from 5.2.8 to 5.4.0

Post by conauto »

Hello,

I've update my system from 5.2.8 to 5.4.0 and apparently I run into some errors.

Initially, the config files seems to be ok .. and it's validating everything, but, after i edit a service, without changing anything (edit + save) i'm getting the following error:
Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/SUD0100M.cfg', starting on line 16)
my config file looks like this:

Code: Select all

###############################################################################
#
# Service configuration file
#
# Created by: Nagios Core Config Manager 2.5.2
# Date:       2016-11-24 16:01:59
# Version:    Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios CCM will overwrite all manual settings during the next update if you
# would like to edit files manually, place them in the 'static' directory or
# import your configs into the CCM by placing them in the 'import' directory.
#
###############################################################################

define service {
        host_name                       SUD0100M
        service_description             Check NRPE HDD
        use                             [template] check_nrpe_hdd
        servicegroups                   SG: V_SHOOPFLOOR_HDD
        contact_groups                  SU_IT_PROD
        register                        1
        }

###############################################################################
#
# Service configuration file
#
# END OF FILE
#
###############################################################################
I've noticed something in the XI interface:
In the Manage Host tab, i have an exclamation mark next to the host name... saying that the host is "inactive" .. though, i'm confident that it's active!

Any ideas
Locked