Now suddenly the upgrade process come much longer, i did an write to file and verify then the servicedependencies.cfg file was empty and i have to add the host to my cfg file again,
BUT it have upgrade to 5.2.3 and all servcies is OK and all up and running !??
On Verify system i get
Error: Could not find any host matching 'SLSV64' (config file '/usr/local/nagios/etc/services/SLSV64.cfg', starting on line 46)
Error: Failed to expand host list 'SLSV64' for service 'Ping' (/usr/local/nagios/etc/services/SLSV64.cfg:46)
WRITE CONFIGS SUCCESSFUL!
OUTPUT:
Nagios Core 4.1.1
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-19-2015
License: GPL
Website:
https://www.nagios.org
Reading configuration data...
Read main config file okay...
Error: Could not find any host matching 'SLSV64' (config file '/usr/local/nagios/etc/services/SLSV64.cfg', starting on line 61)
Error: Failed to expand host list 'SLSV64' for service 'Total Processes' (/usr/local/nagios/etc/services/SLSV64.cfg:61)
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. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
RET: 1
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/module.so' - /usr/lib64/php/modules/module.so: cannot open shared object file: No such file or directory in Unknown on line 0
/usr/local/nagiosxi/nom/checkpoints/nagioscore/errors /usr/local/nagiosxi/scripts
tar: Removing leading `/' from member names
/usr/local/nagiosxi/scripts
LATEST NOM SNAPSHOT: /usr/local/nagiosxi/nom/checkpoints/nagioscore/1455036183.tar.gz
/ /usr/local/nagiosxi/scripts
RESTORING NOM SNAPSHOT : /usr/local/nagiosxi/nom/checkpoints/nagioscore/1455036183.tar.gz
The system is upgraded , but it is alote of after work to get the verify to passed. I get errors in services.cfg files like
Error: Could not find any host matching 'SLRKXBOI' (config file '/usr/local/nagios/etc/services/SLRKXBOI.cfg', starting on line 14)
Error: Failed to expand host list 'SLRKXBOI' for service 'SL Test BOI' (/usr/local/nagios/etc/services/SLRKXBOI.cfg:14)
Should i run an new ./upgrade and see what it says or stay in this version and handle all errors one by one until verify passed?