Nagios XI install

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
anoop_bhargava
Posts: 2
Joined: Wed Dec 18, 2013 12:45 am

Nagios XI install

Post by anoop_bhargava »

I comepleted the Nagios XI install successfully on centOS as per instructions.
I was able to set nagaiosadmin password etc and could see the Dash Board once.
Once I rebooted the machine. I can not see to get to
http://<ip address>/nagiosxi screen (it just keeps waiting)

I am sure it is something very simple and perhaps stupid (:-)
excuse my ignorance.

Thanks in advance
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios XI install

Post by tmcdonald »

Is the firewall still open to allow access?

Code: Select all

iptables -L
Is nagios running smoothly?

Code: Select all

service nagios status
Is your interface set up?

Code: Select all

ifconfig
Former Nagios employee
anoop_bhargava
Posts: 2
Joined: Wed Dec 18, 2013 12:45 am

Re: Nagios XI install

Post by anoop_bhargava »

Thanks tmcdonald

In response to your questions

1. Is the firewall still open to allow access?

I haven't changed anything on the firewall. I am trying to access it from the same machine. When I just put http://<ip address> in the browser, I am able to get to get to the Welcome screen.
--------------
Welcome

Click the link below to get started using Nagios XI.
Access Nagios XI
----------
Only when I click to Access Nagios Screen, It takes me to
http://192.168.1.5/nagiosxi/

and I get a blank screen
__________________________________________________________________________________________
2. Is nagios running smoothly?

CODE: SELECT ALL
service nagios status

The above command returnns the message that
"nagios (pid xxxxx) is running)

_______________________________________________________________________________________________

Is your interface set up?

CODE: SELECT ALL
ifconfig

Above command returns the IP address that I am using. Can you tell me what else to check in the output of the ifconfig command
_______________________________________________________

Thanks again.

Anoop Bhargava
+1 732-407-5788
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios XI install

Post by slansing »

Can you run the following as well, try to access the webUI and then run:

tail -40 /var/log/httpd/error_log

And show us the output. Did you set up SSL on the system? Did you shut XI down with a hard shut down instead of a proper one? Lets do this "in the below order":

Code: Select all

service nagios stop

service httpd stop

service mysqld stop

service postgresql stop

service postgresql start

service mysqld start

service httpd start

service nagios start
Nagtest
Posts: 3
Joined: Tue Apr 15, 2014 6:58 am

Re: Nagios XI install

Post by Nagtest »

Hello, I am facing the same problem.

I just took the VMWare VM, and connected to it.

I got the welcome message, and click "acces NAgios XI" and get a white page.

service is up : "nagios (pid xxxxxxxxx) is running"

And on the log, I got a 192.168.111.1 PHP warning : mysql_pconnect() Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /usr/loca/nagiosxi/html/db/adodb/drivers/adodb-mysql.inc.php on line 383.

I launched the commands in the order you give, everything waas [ OK ] except "service mysqld start" which displays that MySQL deamon already running with the same unix socket.

And I still get a white page...

Can you help me ?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios XI install

Post by slansing »

Nagtest,

Create your own thread on this, we can't allow others to take over a user's thread as it can lead to chaos in troubleshooting.

@anoop:

Please run the following:

Code: Select all

service mysqld stop

rm -f /var/lib/mysql/mysql.sock

service mysqld start
Let us know if you can get in now.
Locked