I created a procedure on how to enable SSL in Nagios XI
Configuring SSL For Nagios XI.zip
Previously posted at http://support.nagios.com/forum/viewtopic.php?f=6&t=125.
Problem #1
I have since discovered that when CCM is set to
https "Apply Configuration" ceases to function correctly.
Here is how the problem is reproducable:
- Login to CCM
Click the menu Config Manager Admin and then click Config Manager Settings
Change Server protocol to https
Click the Save button
Once I do this I go to the localhost PING service and duplicate it. I edit the copy, fix the name so it's PING TEST and click Save.
I click the Apply Configuration button.
After clicking Apply Configuration I get the error that the configuration did not apply properly.
The details are:
- Nagios Core 3.2.0
Copyright (c) 2009 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-12-2009
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/static/xiobjects.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitest.cfg'...
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/contacts.cfg'...
Processing object config file '/usr/local/nagios/etc/timeperiods.cfg'...
Processing object config file '/usr/local/nagios/etc/commands.cfg'...
Processing object config file '/usr/local/nagios/etc/hostgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/servicegroups.cfg'...
Processing object config file '/usr/local/nagios/etc/hosttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicetemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicedependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostdependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/hostescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostextinfo.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceextinfo.cfg'...
Processing object config directory '/usr/local/nagios/etc/hosts'...
Processing object config file '/usr/local/nagios/etc/hosts/localhost.cfg'...
Processing object config directory '/usr/local/nagios/etc/services'...
Processing object config file '/usr/local/nagios/etc/services/localhost.cfg'...
Error: Template 'linux-server' specified in host definition could not be not found (config file '/usr/local/nagios/etc/hosts/localhost.cfg', starting on line 14)
Error processing object config files!
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
I then click Try Again it tells me that it was successful.
I click the Continue button and it takes me back to the services section.
The duplicated PING TEST says Out of Sync[/list]
No matter how many times I click the Apply Configuration button it tells me that it was successfully applied however the service is always Out of Sync.
Also, if I go and create another service the same issue continues, it tells me that it was successfully applied however all of the new the services are always Out of Sync
I go back to Config Manager Settings and Change Server protocol to http.
I then click Apply Configuration and it successfully applies. The Sync Status now says Synced for all of my new services.
Is my procedure correct? Is there something I am missing that is causing the problem?
Problem #2
Using IE:
I go to the Manage Configuration Snapshots section
I click either the Download or View Output icon
I get the error "Unable to download coreconfigsnapshots from xibase.ed.local" Unable to open this Internet site .......
However if I open Firefox and try either the Download or View Output icon it works fine.
Problem #3
Using IE:
I click the Home link
I click the Monitorig Process link
I get a Security Warning window saying "Do you want to view only the webpage content that was delivered securely?
Using Firefox:
I click the Home link
I click the Monitorig Process link
I get a Security Warning window saying "You have requested an encrypted page that contains some unencrypted information. Information that you see or enter on this page could easily be read by a third party."
Is my procedure correct? Is there something I am missing that is causing the problem?
Everything above has been using 2009R1.1F.
Thanks
Troy