Migration from EZNag nagios 3.3.1 to Nagios core 4.0.1
Posted: Tue Jun 07, 2016 2:31 pm
copied old nagios configuration files from old nagios server 3.3.1 to new nagios core 4.0.1 and restarted nagios got some errors.
Running configuration check...
Nagios Core 4.0.4
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 03-14-2014
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Error: Invalid notification option 'options' in service definition.
Error: Could not add object property in file '/usr/local/nagios/etc/objects/svc_nrpe.cfg' on line 69.
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.
cat objects/svc_nrpe
svc_nrpe.cfg svc_nrpe-Groups.cfg svc_nrpe-Storage.cfg
Thanks,
isub
Running configuration check...
Nagios Core 4.0.4
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 03-14-2014
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Error: Invalid notification option 'options' in service definition.
Error: Could not add object property in file '/usr/local/nagios/etc/objects/svc_nrpe.cfg' on line 69.
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.
cat objects/svc_nrpe
svc_nrpe.cfg svc_nrpe-Groups.cfg svc_nrpe-Storage.cfg
Thanks,
isub