Nagios Core Config Manager not showing up

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sappjt
Posts: 59
Joined: Thu Nov 18, 2010 12:52 pm

Nagios Core Config Manager not showing up

Post by sappjt »

I have ran through the scripts to install nagiosxi on rhel 5.5. It is 32bit and I am behind a proxy. I finally (after several attempts) got Nagiosxi to the web page and was able to log in. Everything seems to work, but I was missing some config files and I copied them over from a CentOS appliance that I downloaded from you. After that I was able to get nagios to start without errors and start to monitor systems. I can put new systems in (I dont have all the options that the trial appliance has) and they work. I can't seem to get the nagios core config manager page to work. I have the index to the left, but it never asks me to log in. I can click on the index and nothing happens. I copied more files from the appliance from the includes directory and hoped that would work. I still get the same results. Can you let me know what script failed to get all the data, or let me know where I should start?
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Nagios Core Config Manager not showing up

Post by tonyyarusso »

Did you follow the steps outlined on http://support.nagios.com/wiki/index.ph ... th_Proxies when you installed?
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
sappjt
Posts: 59
Joined: Thu Nov 18, 2010 12:52 pm

Re: Nagios Core Config Manager not showing up

Post by sappjt »

I did have the proxy in the yum.conf, but I don't think it was in the wgetrc. Could I just add it and rerun the scripts, or would I be better off starting over?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Nagios Core Config Manager not showing up

Post by mguthrie »

With proxies, the other place that the scripts might fail is the E-nagiosql script, because they use wget with php scripts to perform NagiosQL functions. I can't give you a definite answer on if it will work without fully reinstalling, but if you're able to get into nagios xi, but the CCM is causing errors, I would try running the E-nagiosql script again with the wget fix, and also check your apache error log if you keep getting a blank screen for the CCM. One of the requirements for the CCM is running something to the effect of "pear install HTML-template" (I don't remember the exact package name, but it's in the prereqs script), it's possible the proxy would mess that part up as well.
sappjt
Posts: 59
Joined: Thu Nov 18, 2010 12:52 pm

Re: Nagios Core Config Manager not showing up

Post by sappjt »

I will run both the prereqs script and the nagiosql script with the settings in place. Another note for people who are behind a proxy is, I couldn't get the rpmdevtools installed unless I put an .rpmmacros file in /root. You have to put

%_httpproxy "nameofproxy"
%_httpport "portnumber"

I ran both of the scripts and this is probably my problem.
+ yum -y install phpMyAdmin
Loaded plugins: rhnplugin, security
Setting up Install Process
Package phpMyAdmin-2.11.10.1-1.el5.noarch already installed and latest version
Nothing to do
+ pear install HTML_Template_IT
PHP Warning: Module 'SourceGuardian' already loaded in Unknown on line 0
No releases available for package "pear.php.net/HTML_Template_IT"
Cannot initialize 'HTML_Template_IT', invalid or missing package file
Package "HTML_Template_IT" is not valid
install failed

Is this a proxy issue still or is it because of SourceGuardian?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Nagios Core Config Manager not showing up

Post by mguthrie »

I ran this to make sure the pear package was still valid:
[root@localhost services]# pear instal ... all failed

The package is still there, but the proxy is maybe preventing it from being found. I don't think sourcegaurdian is causing the issue there.
sappjt
Posts: 59
Joined: Thu Nov 18, 2010 12:52 pm

Re: Nagios Core Config Manager not showing up

Post by sappjt »

I checked with the administrator of our proxy and pear wasn't using it. I ran this command

pear config-set http_proxy http://proxy:port

Then I ran

pear install HTML_Template_IT

Checked the Core config manager and it worked. Thanks.
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Nagios Core Config Manager not showing up

Post by rdedon »

Excellent! Thank you for the update :-)
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
Locked