2014r2.1 Upgrade Config Problem
Re: 2014r2.1 Upgrade Config Problem
I just tried applying the configuration again after making changes and still received the error. However it does appear that it is writing information. See attached screenshot.
You do not have the required permissions to view the files attached to this post.
Re: 2014r2.1 Upgrade Config Problem
Do the delete then write manually, then send over the /usr/local/nagios/etc/hostgroups.cfg file either directly attached or in a PM.
Edit: File received and placed in shared drive.
Edit: File received and placed in shared drive.
Former Nagios employee
Re: 2014r2.1 Upgrade Config Problem
- Do you have any static config files in the /usr/local/nagios/etc/static directory?
- Can you grep for that hostname?
Code: Select all
grep -R "PVM Security DVR" /usr/local/nagios/etc/
Former Nagios employee
Re: 2014r2.1 Upgrade Config Problem
See below.
You do not have the required permissions to view the files attached to this post.
Re: 2014r2.1 Upgrade Config Problem
In the static directory I have:
xiobjects.cfg
xitemplates.cfg
xitest.cfg
xiobjects.cfg
xitemplates.cfg
xitest.cfg
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: 2014r2.1 Upgrade Config Problem
Actually, We need to write the files before we do that grep because the system is rolling back to the last known good configuration
Lets go to Configure -> Core Config Manager -> Tools -> Write Config Files
Click the Delete Button
Then Write
Then from the console run
Lets go to Configure -> Core Config Manager -> Tools -> Write Config Files
Click the Delete Button
Then Write
Then from the console run
Code: Select all
grep -R "PVM Security DVR" /usr/local/nagios/etc/Re: 2014r2.1 Upgrade Config Problem
I believe that's the state I was already in. But I did the delete and the write anyway and then ran the command. The results were exactly the same as the last screenshot.
Thanks,
Aaron
Thanks,
Aaron
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: 2014r2.1 Upgrade Config Problem
email sent requesting remote session
Re: 2014r2.1 Upgrade Config Problem
I'm seeing similar issues when hitting 'Apply configuration' in CCM after upgrading to 2014r2.1
Complains about contacts missing an option, when I have deleted that contact already.
Complains about service escalation host name or description is NULL, but i'm not using a single hostname, i'm using a hostgroup....this has not change and its been working find before.
I have done a simple test, I have restore from backup and it restores fine, XI is up and running.
But when I just open CCM and hit the 'Apply Configuration' button it fails and I start getting all these errors.
Seems that the files and DB are not the same, I have tried to 'Write files' tools, but it still fails.
But if i do it from command line I have no issues
cd /usr/local/nagiosxi/scripts/ && ./reconfigure_nagios.sh
Complains about contacts missing an option, when I have deleted that contact already.
Complains about service escalation host name or description is NULL, but i'm not using a single hostname, i'm using a hostgroup....this has not change and its been working find before.
I have done a simple test, I have restore from backup and it restores fine, XI is up and running.
But when I just open CCM and hit the 'Apply Configuration' button it fails and I start getting all these errors.
Seems that the files and DB are not the same, I have tried to 'Write files' tools, but it still fails.
But if i do it from command line I have no issues
cd /usr/local/nagiosxi/scripts/ && ./reconfigure_nagios.sh
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: 2014r2.1 Upgrade Config Problem
To be clear, have you done the following?
Lets go to Configure -> Core Config Manager -> Tools -> Write Config Files
Click the Delete Button
Then Write
Then Verify
If all this looks good click Restart
Lets go to Configure -> Core Config Manager -> Tools -> Write Config Files
Click the Delete Button
Then Write
Then Verify
If all this looks good click Restart