upgrade to r7 and cannot apply config
Posted: Mon Oct 31, 2011 7:19 pm
Hi
I was previosly on R3 and i upgraded to the latest R7. Since the upgrade, i am unable to "Apply configuration" succesfully now. It fails on Waiting for configuration verification... .
and Backend login to the Core Config Manager failed.
The first lot of errors in the log related to no notification periods and check periods. xi_timeperiod_24x7 is what was being used.
I checked the xi_timeperiod_24x7 and it wasnt active. i had to edit it and then it was active again. This fixed most of the issues.
Some services still didnt have the notificationa dn check periods. i checked the configs via web config and it was selected. I checked the .cfg files via ssh and there were no settings for these periods.
I added these via SSH (hope this was ok)
this fixed the errors when doing the configuration verification.
When i run the apply config now. i get the following errors-
Warning: Duplicate definition found for service 'Port 6 Status' on host 'flpckwirtr01' (config file '/usr/local/nagios/etc/services/flpckwirtr01.cfg', starting on line 109)
Warning: Duplicate definition found for service 'Port 6 Bandwidth' on host 'flpckwirtr01' (config file '/usr/local/nagios/etc/services/flpckwirtr01.cfg', starting on line 93)
Warning: Duplicate definition found for service 'Port 2 Status' on host 'flpckwirtr01' (config file '/usr/local/nagios/etc/services/flpckwirtr01.cfg', starting on line 77)
Warning: Duplicate definition found for service 'Port 2 Bandwidth' on host 'flpckwirtr01' (config file '/usr/local/nagios/etc/services/flpckwirtr01.cfg', starting on line 61)
Warning: Duplicate definition found for service 'Port 1 Status' on host 'flpckwirtr01' (config file '/usr/local/nagios/etc/services/flpckwirtr01.cfg', starting on line 45)
Warning: Duplicate definition found for service 'Port 1 Bandwidth' on host 'flpckwirtr01' (config file '/usr/local/nagios/etc/services/flpckwirtr01.cfg', starting on line 29)
Warning: Duplicate definition found for service 'Ping' on host 'flpckwirtr01' (config file '/usr/local/nagios/etc/services/flpckwirtr01.cfg', starting on line 14)
Read object config files okay...
Running pre-flight check on configuration data...
Checking services...
Warning: Service 'Ping' on host 'flpcbrartr01' has no check time period defined!
Checked 876 services.
Checking hosts...
Checked 99 hosts.
Checking host groups...
Checked 8 host groups.
Checking service groups...
Checked 2 service groups.
Checking contacts...
Checked 5 contacts.
Checking contact groups...
Checked 4 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 76 commands.
Checking time periods...
Checked 11 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 1
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
I have removed this service and host that is failing and its still getting the same error.
I have run the fix permissions also without success.
Let me know what information you require to help further diagnose this issue.
Please help and thanks in advance.
David
I was previosly on R3 and i upgraded to the latest R7. Since the upgrade, i am unable to "Apply configuration" succesfully now. It fails on Waiting for configuration verification... .
and Backend login to the Core Config Manager failed.
The first lot of errors in the log related to no notification periods and check periods. xi_timeperiod_24x7 is what was being used.
I checked the xi_timeperiod_24x7 and it wasnt active. i had to edit it and then it was active again. This fixed most of the issues.
Some services still didnt have the notificationa dn check periods. i checked the configs via web config and it was selected. I checked the .cfg files via ssh and there were no settings for these periods.
I added these via SSH (hope this was ok)
this fixed the errors when doing the configuration verification.
When i run the apply config now. i get the following errors-
Warning: Duplicate definition found for service 'Port 6 Status' on host 'flpckwirtr01' (config file '/usr/local/nagios/etc/services/flpckwirtr01.cfg', starting on line 109)
Warning: Duplicate definition found for service 'Port 6 Bandwidth' on host 'flpckwirtr01' (config file '/usr/local/nagios/etc/services/flpckwirtr01.cfg', starting on line 93)
Warning: Duplicate definition found for service 'Port 2 Status' on host 'flpckwirtr01' (config file '/usr/local/nagios/etc/services/flpckwirtr01.cfg', starting on line 77)
Warning: Duplicate definition found for service 'Port 2 Bandwidth' on host 'flpckwirtr01' (config file '/usr/local/nagios/etc/services/flpckwirtr01.cfg', starting on line 61)
Warning: Duplicate definition found for service 'Port 1 Status' on host 'flpckwirtr01' (config file '/usr/local/nagios/etc/services/flpckwirtr01.cfg', starting on line 45)
Warning: Duplicate definition found for service 'Port 1 Bandwidth' on host 'flpckwirtr01' (config file '/usr/local/nagios/etc/services/flpckwirtr01.cfg', starting on line 29)
Warning: Duplicate definition found for service 'Ping' on host 'flpckwirtr01' (config file '/usr/local/nagios/etc/services/flpckwirtr01.cfg', starting on line 14)
Read object config files okay...
Running pre-flight check on configuration data...
Checking services...
Warning: Service 'Ping' on host 'flpcbrartr01' has no check time period defined!
Checked 876 services.
Checking hosts...
Checked 99 hosts.
Checking host groups...
Checked 8 host groups.
Checking service groups...
Checked 2 service groups.
Checking contacts...
Checked 5 contacts.
Checking contact groups...
Checked 4 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 76 commands.
Checking time periods...
Checked 11 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 1
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
I have removed this service and host that is failing and its still getting the same error.
I have run the fix permissions also without success.
Let me know what information you require to help further diagnose this issue.
Please help and thanks in advance.
David