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!
CCM still shows /tmp for static configs!
CCM still shows /tmp for static configs!
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: CCM still shows /tmp for static configs!
And for a quick FYI - I have two servers and both are doing the exact same thing.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: CCM still shows /tmp for static configs!
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.
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.
Re: CCM still shows /tmp for static configs!
Umm, I can't makes heads or tails out of your last sentence, LOL.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.
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.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: CCM still shows /tmp for static configs!
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.
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.
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.
Re: CCM still shows /tmp for static configs!
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
Thanks
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: CCM still shows /tmp for static configs!
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
./upgradeFormer 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: CCM still shows /tmp for static configs!
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?
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: CCM still shows /tmp for static configs!
I'm glad to hear the issue has been resolved. I don't think you need to re-run the upgrade.
Be sure to check out our Knowledgebase for helpful articles and solutions!