Page 1 of 3

Blank web interface

Posted: Thu Jul 17, 2014 9:07 am
by Fenos
We have Nagios xi installed with vmware vSphere client on server probably and my task is to bring up the web interface.

Unfortunetly when i try to enter [url]http://<machine_ip>/nagios[/url] i have blank page.

Can you pls help.

Re: Blank web interface

Posted: Thu Jul 17, 2014 9:25 am
by tmcdonald
What version of XI are you running?
What OS and version?
Do you get results when going to http://<machine_ip>/nagiosxi at all?
Can you post your /var/log/httpd/error_log file?

Re: Blank web interface

Posted: Thu Jul 17, 2014 9:41 am
by Fenos
I must admit I'm a total beginer in Nagios and forgot most of Linux, I know OS is CentOS 6.5.
Can you tell me command to check version?
From this command:

Code: Select all

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
It's Nagios Core 4.0.7
I have no results when accessing that adress.

error_log:

Code: Select all

[warn] RSA server certificate CommonName (CN) '10.10.3.169' does not match server name!?
[notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured --resuming normal operations


Re: Blank web interface

Posted: Thu Jul 17, 2014 11:04 am
by tylerhoadley
What about just http://<ServerIP>

Does this work....

is the httpd service running...

# /etc/init.d/httpd status

Re: Blank web interface

Posted: Thu Jul 17, 2014 11:15 am
by Fenos
On [url]http://<ip_machine>[/url] pops out web site from vmware.

Http is running.

Re: Blank web interface

Posted: Thu Jul 17, 2014 11:27 am
by tmcdonald
Fenos wrote:We have Nagios xi installed with vmware vSphere client on server probably and my task is to bring up the web interface.
[...]
On [url]http://<ip_machine>[/url] pops out web site from vmware.
Wait, are you trying to install Nagios XI on the same machine that you have vSphere running on? That is very unlikely to work and not something we would recommend or support.

Re: Blank web interface

Posted: Thu Jul 17, 2014 11:55 am
by Fenos
Wait, are you trying to install Nagios XI on the same machine that you have vSphere running on? That is very unlikely to work and not something we would recommend or support.
By using vSphere client I access Virtual Machines including my Nagios console. There are several VM set inside vSphere client. I have server on ip 10.10.3.169. I set that ip staticly for eth0 in nagios console, and I want to see the web interface when I type http://10.10.3.169/nagios

Can it be done? Or maybe i did sth wrong?
Do I have to set diffrent IP or there can be some mistake within my config files?

Re: Blank web interface

Posted: Fri Jul 18, 2014 3:04 am
by Fenos
It's curios however that when I try to change static IP to DHCP I have error for Determing IP information for eth0.
My ifcfg-eth0 file looks like this:

Code: Select all

BOOTPROTO=dhcp
ONBOOT=yes
TYPE=Ethernet
DEVICE=eth0
HWADDR=00:0c:29:b3:41:2b
USERCTL=no
IPV6INIT=no
DNS2=10.10.3.10
DNS1=10.10.3.5
PEERDNS=yes
Have you got any sugestions?

Re: Blank web interface

Posted: Fri Jul 18, 2014 9:54 am
by Fenos
error_log:

Code: Select all

[notice] caught SIGTERM, shutting down
[notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[notice] Digest: generating secret for digest authentication...
[notice] Digest: done
[notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured --resuming normal operations
I have tinkered a little and that's my error_log from httpd. Any ideas now?

Re: Blank web interface

Posted: Fri Jul 18, 2014 11:59 am
by abrist
Can you ping the nagios server from you workstation?
Can you post your apache vhost file?

Code: Select all

/etc/httpd/conf.d/nagios