Page 1 of 1
CCM still shows /tmp for static configs!
Posted: Tue May 28, 2013 8:40 am
by BanditBBS
I just upgraded to 2.1 and my CCM is still showing the static config folder as /tmp. However, it is now listing about 50 things under the /tmp folder, but this of course is still wrong. It is not showing the /usr/local/nagios/etc/static or whatever it is supposed to be.
Thanks!
Re: CCM still shows /tmp for static configs!
Posted: Tue May 28, 2013 8:46 am
by BanditBBS
And for a quick FYI - I have two servers and both are doing the exact same thing.
Re: CCM still shows /tmp for static configs!
Posted: Tue May 28, 2013 11:15 am
by sreinhardt
Are you forcing ssl with these servers? We have confirmed that it seems to work properly on multiple versions with either http or https, when apache is not forcing ssl connections or rewriting connections to 443. However we have one person on staff that commented out all vhost port 80 options or required ssl on them and it is having the same effect that you are. An interesting note with his configuration though, that the manage static config does change properly while the ccm configuration manager where you can change the static dir path, always stays /tmp.
Re: CCM still shows /tmp for static configs!
Posted: Tue May 28, 2013 11:23 am
by BanditBBS
sreinhardt wrote:Are you forcing ssl with these servers? We have confirmed that it seems to work properly on multiple versions with either http or https, when apache is not forcing ssl connections or rewriting connections to 443. However we have one person on staff that commented out all vhost port 80 options or required ssl on them and it is having the same effect that you are. An interesting note with his configuration though, that the manage static config does change properly while the ccm configuration manager where you can change the static dir path, always stays /tmp.
Umm, I can't makes heads or tails out of your last sentence, LOL.
In regards to the rest, no, we are not forcing SSL. I do have it set with https in system config though, but tried changing that to http and it made no change.
Re: CCM still shows /tmp for static configs!
Posted: Tue May 28, 2013 11:42 am
by sreinhardt
ya.... that last one is a bit hard to read now that I am looking at it. Let's try again:
While he does force ssl, and the ccm->CCM Settings just shows /tmp despite whatever he may change it to. However when he actually goes to look at the static config files, it does search the correct location that was last saved... A little better?
Anyway, I just wanted to verify, have you resaved the path that you want in ccm->CCM Settings->Static Configuration Directory* since the upgrade as we thought this issue was resolved.
Re: CCM still shows /tmp for static configs!
Posted: Tue May 28, 2013 11:49 am
by BanditBBS
Resolved. The setting did say /tmp. Changed it to what it should be and all is good. That's been like that for a few versions now, can't recall exactly when it broke. I forgot that setting was even there, as this wasn't bugging me all that much as I modified the files in a ssh session anyway.
Thanks
Re: CCM still shows /tmp for static configs!
Posted: Tue May 28, 2013 11:51 am
by abrist
I had the same issue on my test box. Updating to 2.1 fixed the issue. Try removing the /tmp/nagoiosxi directory, redownload the tarball, and rerun the upgrade:
Code: Select all
rm -rf /tmp/nagiosxi
cd /tmp
wget http://assets.nagios.com/downloads/nagiosxi/2012/xi-2012r2.1.tar.gz
tar vfxz xi-2012r2.1.tar.gz
cd nagiosxi
./upgrade
Re: CCM still shows /tmp for static configs!
Posted: Tue May 28, 2013 12:01 pm
by BanditBBS
I am running 2.1 and the setting is working good now. No need to actually re-run the upgrade, unless you think there is something else not right?
Re: CCM still shows /tmp for static configs!
Posted: Tue May 28, 2013 12:11 pm
by lmiltchev
I'm glad to hear the issue has been resolved. I don't think you need to re-run the upgrade.