When I am trying to add a new host now, I get an error when I go to "Generate Nagios config"
It should be noted that the host in question is one of the existing hosts migrated from the old configuration.[INFO] Starting generate_config script
[INFO] Generating global config files
[INFO] Generating config for Nagios-collector 'Default Nagios'
[ERROR] Failed to get host-alive check for host 'XXXXXX'. Make sure the host is linked with a host-preset. Aborting.
And the additional info reads
I checked through SSH and directory /var/www/html/nconf/temp/ exists, but /var/www/html/nconf/temp/test/ does not.Nagios Core 4.4.3
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2019-01-15
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Error: Cannot open main configuration file '/var/www/html/nconf/temp/test/Default_collector.cfg' for reading!
When I searched for the error online I came across a similar error message mentioned in the release notes for version 1.2.2.
Can anyone assist with what to do to resolve this issue?May 26, 2017 - NEMS Linux Migrator updated to fix bug in host presets. Was causing these two errors: “[ERROR] Failed to get host-alive check for host ‘NEMS Linux’. Make sure the host is linked with a host-preset. Aborting.” and “Error: Cannot open main configuration file ‘/var/www/html/nconf/temp/test/Default_collector.cfg’ for reading!” - Thanks to Rick for giving me access to his affected system so I could fix this. Requires NEMS Linux 1.2.1 or higher.