Migration to 1.5.2 from 1.5.1 problem

Having issues? Post them here, and help other users.
Post Reply
charesdewit
Junior Member
Posts: 2
Joined: Mon Jul 20, 2020 7:18 am

Migration to 1.5.2 from 1.5.1 problem

Post by charesdewit »

Hi there,

I migrated my config from my 1.5.1 setup, and happily imported into 1.5.2.
When it tries to start, it gives this error.

Jul 24 13:50:16 nems nagios[11041]: Reading configuration data...
Jul 24 13:50:16 nems nagios[11041]: Read main config file okay...
Jul 24 13:50:16 nems nagios[11041]: Error: Could not find a service matching host name 'Hilton Carestream PACS' and description 'Internet Speed Test' (config file '/etc/nems/conf/Default_collector/servicegroups.cfg', starting on
Jul 24 13:50:16 nems nagios[11041]: Error: Could not expand members specified in servicegroup 'web-services' (config file '/etc/nems/conf/Default_collector/servicegroups.cfg', starting at line 5)
Jul 24 13:50:16 nems nagios[11041]: Error processing object config files!
Jul 24 13:50:16 nems nagios[11041]: ***> One or more problems was encountered while processing the config files...
Jul 24 13:50:16 nems nagios[11041]: Check your configuration file(s) to ensure that they contain valid
Jul 24 13:50:16 nems nagios[11041]: directives and data definitions. If you are upgrading from a previous
Jul 24 13:50:16 nems nagios[11041]: version of Nagios, you should be aware that some variables/definitions
Jul 24 13:50:16 nems nagios[11041]: may have been removed or modified in this version. Make sure to read
Jul 24 13:50:16 nems nagios[11041]: the HTML documentation regarding the config files, as well as the
Jul 24 13:50:16 nems nagios[11041]: 'Whats New' section to find out what has changed.
Jul 24 13:50:16 nems systemd[1]: nagios.service: Control process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited

My servicegroups file looks like this :

# Default_collector/servicegroups.cfg
# This file was generated by NEMS-Migrator
# Visit https://nemslinux.com/ to learn more

define servicegroup {
servicegroup_name web-services
alias Web Services
members Hilton Carestream PACS,Internet Speed Test,St Annes Carestream PACS,Internet Speed Test,St Annes Carestream IMS,Internet Speed Test
}

After doing some poking around and looking at what the file should look like at the Nagios site, it seems to be fine.

What am I missing please?

Kind Regards
Charles

Post Reply