5.6.x upgrade from 5.5.11 - missing free variables on hosts

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jaimie.livingston
Posts: 59
Joined: Wed Nov 23, 2016 10:41 am

5.6.x upgrade from 5.5.11 - missing free variables on hosts

Post by jaimie.livingston »

Has anyone else noticed that free variables defined on host objects are lost during upgrades from 5.5.11 to 5.6.0 or 5.6.1 and from 5.6.0 to 5.6.1? Just trying to make sure it's not just my config doing this...

5.5.11 Before GUI upgrade to 5.6.1

Code: Select all

###############################################################################
#
# Hosts configuration file
#
# Created by: Nagios CCM 2.7.4
# Date:       2019-05-02 21:34:00
# Version:    Nagios Core 4.x
#
# --- 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 host {
    host_name       XTEST ATLTSTHST41 172.16.0.41 dc-atl win-p
    use             windows-testhost
    display_name    atltsthst41.prod.peopleclick.com
    address         10.36.21.41
    hostgroups      +XTEST - Test Group [P/N ---TSTHST-- subset],ALL Servers - Windows
    _WORKER         hostgroup_WORKERQ-ATL
    register        1
}

###############################################################################
#
# Hosts configuration file
#
# END OF FILE
#
###############################################################################

After upgrade to 5.6.1

Code: Select all

###############################################################################
#
# Hosts configuration file
#
# Created by: Nagios CCM 3.0.0
# Date:       2019-05-02 21:33:30
# Version:    Nagios Core 4.x
#
# --- 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 host {
    host_name       XTEST ATLTSTHST41 172.16.0.41 dc-atl win-p
    use             windows-testhost
    display_name    atltsthst41.prod.peopleclick.com
    address         10.36.21.41
    hostgroups      +XTEST - Test Group [P/N ---TSTHST-- subset],ALL Servers - Windows
    register        1
}

###############################################################################
#
# Hosts configuration file
#
# END OF FILE
#
###############################################################################
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: 5.6.x upgrade from 5.5.11 - missing free variables on ho

Post by benjaminsmith »

Hi Jaimie,

I just tested this and was not able to repeat the error on my system. Is the free variable missing in in the user interface as well? Go to Configure >Monitoring > Hosts > Misc Settings to check.

If so, go to Configure > Tools > Config File Management and then:

1. Delete Files
2. Write Config Files
3. Verify and Restart ( are there any errors when you verify? )
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked