Issue applying configuration changes

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
intelXIadmin
Posts: 65
Joined: Mon Mar 25, 2013 9:10 am

Issue applying configuration changes

Post by intelXIadmin »

Hello,

Recently, we installed a certificate. Now, when I go to delete a service, or make any change, then click apply configuration I get the following message:

An error occurred while attempting to apply your configuration to Nagios Core. Monitoring engine configuration files have been rolled back to their last known good checkpoint.

I looked at the XI wiki, and ran through the steps on the closest error match I could find, and the error is from wget complaining about the certificate/hostname match:

certificate common name `ubitmon-jf.intel.com' doesn't match requested host name `localhost'.
HTTP request sent, awaiting response.


Apparently, the hostname doesn't match the certificate, and I don't know where this needs to be changed. I am including two error files.

Nagios Version: 2012R1.8
Redhat 6.4

Regards,

Randy.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Issue applying configuration changes

Post by lmiltchev »

Did you follow the steps, outlined in this document?
Be sure to check out our Knowledgebase for helpful articles and solutions!
intelXIadmin
Posts: 65
Joined: Mon Mar 25, 2013 9:10 am

Re: Issue applying configuration changes

Post by intelXIadmin »

Yes. I can't find anything about hostname in that file. The error message definitely claims the cert is being used but the hostname is wrong.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Issue applying configuration changes

Post by abrist »

It is only a warning, and it still fetches the page. (200 OK) Just a note - you need to set your time (localtime and php.ini timezone). See the following document: http://assets.nagios.com/downloads/nagi ... m_Time.pdf
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
intelXIadmin
Posts: 65
Joined: Mon Mar 25, 2013 9:10 am

Re: Issue applying configuration changes

Post by intelXIadmin »

The date and time is correct. That doesn't solve the problem as I still can't save the configuration. Can we please escalate this?

Regards,

Randy.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Issue applying configuration changes

Post by sreinhardt »

You can certainly open a ticket with [email protected] and preferably link back to this page. Otherwise I see a couple things that don't really seem to have been addressed. It seems a system update may have caused a known issue with php and it seems that your nagios ql login might be incorrect.

So first question, do you know if you have changed the QL default authentication at all?

Secondly check your /etc/php.d/mcrypt.ini like so:

Code: Select all

modify /etc/php.d/mcrypt.ini
FROM: extension=module.so
TO: extension=mcrypt.so 
Once that is done, if you could attempt to save the config again, and attach another errors.txt and reconfig.txt that would be fantastic!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
intelXIadmin
Posts: 65
Joined: Mon Mar 25, 2013 9:10 am

Re: Issue applying configuration changes

Post by intelXIadmin »

Thank you. Given all the suggestions you all gave me, it turns out that the system now works very well. You can close this out.

Regards,

Randy.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Issue applying configuration changes

Post by sreinhardt »

Thanks for letting us know!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked