Blank web interface

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Fenos
Posts: 13
Joined: Wed Jul 16, 2014 2:25 am

Blank web interface

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Blank web interface

Post 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?
Former Nagios employee
Fenos
Posts: 13
Joined: Wed Jul 16, 2014 2:25 am

Re: Blank web interface

Post 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

User avatar
tylerhoadley
Posts: 43
Joined: Tue Jul 02, 2013 1:41 pm

Re: Blank web interface

Post by tylerhoadley »

What about just http://<ServerIP>

Does this work....

is the httpd service running...

# /etc/init.d/httpd status
Fenos
Posts: 13
Joined: Wed Jul 16, 2014 2:25 am

Re: Blank web interface

Post by Fenos »

On [url]http://<ip_machine>[/url] pops out web site from vmware.

Http is running.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Blank web interface

Post 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.
Former Nagios employee
Fenos
Posts: 13
Joined: Wed Jul 16, 2014 2:25 am

Re: Blank web interface

Post 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?
Fenos
Posts: 13
Joined: Wed Jul 16, 2014 2:25 am

Re: Blank web interface

Post 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?
Fenos
Posts: 13
Joined: Wed Jul 16, 2014 2:25 am

Re: Blank web interface

Post 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?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Blank web interface

Post 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
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.
Locked