I have found /etc/nagios3/conf.d/
so I have copie the configuration files from /usr/local/nagios/etc/objects to /etc/nagios3/conf.d/
but now I have this type of message:
Restarting nagios3 monitoring daemon: nagios3
Copyright © 1999-2008 Ethan Galstad (nagios.org)
Last Modified: 12-01-2008
Reading configuration data…
Warning: Duplicate definition found for timeperiod ‘24x7’ (config file ‘/etc/nagios3/conf.d/timeperiods.cfg’, starting on line 28)
Error: Could not add object property in file ‘/etc/nagios3/conf.d/timeperiods.cfg’ on line 29.
***> 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.
errors in config! failed!