Page 1 of 3

2014r2.1 Upgrade Config Problem

Posted: Mon Dec 22, 2014 4:34 pm
by pvmadmin
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

Re: 2014r2.1 Upgrade Config Problem

Posted: Mon Dec 22, 2014 4:56 pm
by tgriep
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

Re: 2014r2.1 Upgrade Config Problem

Posted: Mon Dec 22, 2014 4:58 pm
by slansing
Can you provide us with some information that will help us resolve your issue? First of all, what is the output of:

Code: Select all

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
When it errors out, please attach the relevant configuration file(s), feel free to blank anything out that may be confidential.

Re: 2014r2.1 Upgrade Config Problem

Posted: Mon Dec 22, 2014 5:09 pm
by pvmadmin
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

Re: 2014r2.1 Upgrade Config Problem

Posted: Mon Dec 22, 2014 5:13 pm
by tmcdonald
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.

Re: 2014r2.1 Upgrade Config Problem

Posted: Mon Dec 22, 2014 5:15 pm
by pvmadmin
Error screenshot attached.

Re: 2014r2.1 Upgrade Config Problem

Posted: Mon Dec 22, 2014 5:23 pm
by lmiltchev
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?

Re: 2014r2.1 Upgrade Config Problem

Posted: Mon Dec 22, 2014 5:31 pm
by pvmadmin
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.

Re: 2014r2.1 Upgrade Config Problem

Posted: Mon Dec 22, 2014 5:43 pm
by scottwilkerson
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.

Re: 2014r2.1 Upgrade Config Problem

Posted: Mon Dec 22, 2014 6:01 pm
by pvmadmin
I did everything you said. Delete, write, verify all looked good. Restarted and tried applying the configuration. I received the same error again.