Can't Apply Configuration in Core Config Manager
Re: Can't Apply Configuration in Core Config Manager
Are you editing these files from vi/nano, or are you editing them on a windows box? (through filezilla/cygwin spc/etc)?
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.
"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.
Re: Can't Apply Configuration in Core Config Manager
I'm using vim on the linux (centos) side.
Re: Can't Apply Configuration in Core Config Manager
Can you zip up and post your /usr/local/nagiosxi/html/config.inc.php file? If your server is public, then you can send it in a PM.
Re: Can't Apply Configuration in Core Config Manager
Here's the file
You do not have the required permissions to view the files attached to this post.
Re: Can't Apply Configuration in Core Config Manager
Ah, found the problem, you've got two entries in config.inc.php.
Line 9
and line 24
The second entry is overriding the first.
Line 9
Code: Select all
// base url
$cfg['base_url']="/nagiosxi"; // do not include http(s) or host name - this is the base from "http://localhost"
$cfg['use_https']=true;Code: Select all
// force http/https
$cfg['use_https']=false; // determines whether cron jobs and other scripts will force the use of HTTPS instead of HTTPRe: Can't Apply Configuration in Core Config Manager
I commented out the extra line and it appears to be working. Thanks for all your help.