Error: Invalid hostgroup object directive 'contact_groups'
Posted: Tue Oct 13, 2015 3:16 am
Hi,
So getting an error when restarting nagios 3 with an added oldnagios_host.cfg.
That oldnagios file is from a server running nagios 1 and trying to migrate the contact_groups and contacts, as adding them manually is tedious.
this is the error that I am getting :
-------------------------------------------------------------------------------------------------------------------
Processing object config file '/etc/nagios3/oldnagios_host.cfg'...
Error: Invalid hostgroup object directive 'contact_groups'.
Error: Could not add object property in file
'/etc/nagios3/oldnagios_host.cfg' on line 9553.
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.
[FAIL] errors in config! ... failed!
-------------------------------------------------------------------------------------------------------------------
any assistance would be appreciated.
Thanks
So getting an error when restarting nagios 3 with an added oldnagios_host.cfg.
That oldnagios file is from a server running nagios 1 and trying to migrate the contact_groups and contacts, as adding them manually is tedious.
this is the error that I am getting :
-------------------------------------------------------------------------------------------------------------------
Processing object config file '/etc/nagios3/oldnagios_host.cfg'...
Error: Invalid hostgroup object directive 'contact_groups'.
Error: Could not add object property in file
'/etc/nagios3/oldnagios_host.cfg' on line 9553.
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.
[FAIL] errors in config! ... failed!
-------------------------------------------------------------------------------------------------------------------
any assistance would be appreciated.
Thanks