hello
ran the sed commands and got less errors like before
sed: can't read -e: No such file or directory
sed: can't read s/^(\s*command_check_interval\s*=\s*)/# Line Commented out for Nagios v4 Compatibility\n#\1/g: No such file or directory
sed: can't read nagios.cfg: No such file or directory
migration tools for Nagios Core
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: migration tools for Nagios Core
You need to remove this from hosts.cfg as it is a duplicate definition
HOWEVER THIS IS VERY IMPORTANT
The top of this file reads GENERATED BY CENTREON
We do not support anything created by Centreon nor can we confirm it won't break your whole installation.
Code: Select all
define host{
name generic-host
alias generic-host
_SNMPCOMMUNITY J4gu4R
check_command check_host_alive
max_check_attempts 3
check_interval 5
active_checks_enabled 1
passive_checks_enabled 0
check_period 24x7
obsess_over_host 0
check_freshness 0
flap_detection_enabled 0
retain_status_information 1
retain_nonstatus_information 1
contact_groups Supervisors, Systems_Team
notification_interval 60
notification_period 24x7
notification_options d,r
notifications_enabled 1
register 0
}
The top of this file reads GENERATED BY CENTREON
We do not support anything created by Centreon nor can we confirm it won't break your whole installation.
Re: migration tools for Nagios Core
Thanks
it worked
everything seems to be working now
it worked
everything seems to be working now
Re: migration tools for Nagios Core
Sounds great! I'll be closing this topic as resolved!
If you have any more questions, feel free to create another thread!
Thank you for using the Nagios Support Forum!
If you have any more questions, feel free to create another thread!
Thank you for using the Nagios Support Forum!