2014r2.1 Upgrade Config Problem
2014r2.1 Upgrade Config Problem
I have been working in Nagios all day adding hosts and making CCM changes. Didn't have any problems applying the config. I received the notification for r2.1 and decided to install since some fixes applied to me. Upgrade went fine and things seemed to be working fine until I tried to Apply Configuration. It errors out and says that one of the host groups has an illegal character in its name. I didn't make any changes to the host group that it is having the problem with. I tried retyping the name, deleting the host group, and restarting the Nagios server. Nothing works. It still reports the same error and the group doesn't even exist.
Thanks,
Aaron
Thanks,
Aaron
Re: 2014r2.1 Upgrade Config Problem
Could you upload your profile and the error log so we can review them?
To get your profile, click "Admin -> System Profile -> Download Profile"
Thanks
To get your profile, click "Admin -> System Profile -> Download Profile"
Thanks
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: 2014r2.1 Upgrade Config Problem
Can you provide us with some information that will help us resolve your issue? First of all, what is the output of:
When it errors out, please attach the relevant configuration file(s), feel free to blank anything out that may be confidential.
Code: Select all
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Re: 2014r2.1 Upgrade Config Problem
I'm uploading the profile.zip. How do I get you the error log?
The output from the other command I was asked to run is:
Nagios Core 4.0.8
Copyright (c) 2009-present Nagios Core Development Team and Community Contributo rs
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-12-2014
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 651 services.
Checked 145 hosts.
Checked 11 host groups.
Checked 11 service groups.
Checked 15 contacts.
Checked 13 contact groups.
Checked 114 commands.
Checked 21 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 145 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 21 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
The output from the other command I was asked to run is:
Nagios Core 4.0.8
Copyright (c) 2009-present Nagios Core Development Team and Community Contributo rs
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-12-2014
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 651 services.
Checked 145 hosts.
Checked 11 host groups.
Checked 11 service groups.
Checked 15 contacts.
Checked 13 contact groups.
Checked 114 commands.
Checked 21 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 145 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 21 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
Last edited by tmcdonald on Mon Dec 22, 2014 5:12 pm, edited 1 time in total.
Reason: Removed profile.zip
Reason: Removed profile.zip
Re: 2014r2.1 Upgrade Config Problem
The error referred to was the error that was saying your hostgroup had an illegal character. A screenshot after the apply config fails will suffice.
Former Nagios employee
Re: 2014r2.1 Upgrade Config Problem
Error screenshot attached.
You do not have the required permissions to view the files attached to this post.
Re: 2014r2.1 Upgrade Config Problem
Go to the CCM->Host Groups->PVM Security DVR's, and remove the " ' " from the service name, e.i. "PVM Security DVRs" . Save and try to apply configuration again. Did this fix your issue?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: 2014r2.1 Upgrade Config Problem
The group doesn't exist anymore. I deleted as one of my tests.
Also, even before I deleted it it was spelled exactly "PVM Security DVRs" There was no " ' " in it.
Also, even before I deleted it it was spelled exactly "PVM Security DVRs" There was no " ' " in it.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: 2014r2.1 Upgrade Config Problem
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
Once back up and going Apply configuration again.
Click the Delete Button
Then Write
Then Verify
If all this looks good click Restart
Once back up and going Apply configuration again.
Re: 2014r2.1 Upgrade Config Problem
I did everything you said. Delete, write, verify all looked good. Restarted and tried applying the configuration. I received the same error again.