Nagios XI http to https web.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
shailu2014
Posts: 102
Joined: Thu Apr 24, 2014 3:17 am

Nagios XI http to https web.

Post by shailu2014 »

Hi,

Please can some one help that how to configure the Nagios XI http to https web.

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

Re: Nagios XI http to https web.

Post by tmcdonald »

Take a look through this document:

http://assets.nagios.com/downloads/nagi ... s%20XI.pdf

I usually suggest reading through it once before making any changes, as there are some pretty specific steps that must be taken.
Former Nagios employee
shailu2014
Posts: 102
Joined: Thu Apr 24, 2014 3:17 am

Re: Nagios XI http to https web.

Post by shailu2014 »

Hi,

Thanks for help, I have gone through with your document and done all configuration but when I am doing the last steps as per document

Next, in the web interface, navigate to Configure → Core Config Manager → Config Manager Admin → Config Manager Settings

change the "server protocol" from http to https and then click on the save button. It showing the error which mention below. (Screenshot attached).

Error : Unable to save to file: /var/www/html/nagiosql/config/settings.php

Thanks,
Sjain
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios XI http to https web.

Post by tmcdonald »

What are the permissions on that file?

Code: Select all

ls -l /var/www/html/nagiosql/config/settings.php
Mine are "-rw-r--r-- apache.apache" and I have not had any problems.
Former Nagios employee
shailu2014
Posts: 102
Joined: Thu Apr 24, 2014 3:17 am

Re: Nagios XI http to https web.

Post by shailu2014 »

I have checked and found file permission which mentioned below.

-rw-r--r--. 1 root root 662 Sep 18 10:34 /var/www/html/nagiosql/config/settings.php

Pls suggest


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

Re: Nagios XI http to https web.

Post by tmcdonald »

Change the file ownership from root.root to apache.apache as I showed you above:

Code: Select all

chown apache.apache /var/www/html/nagiosql/config/settings.php
Former Nagios employee
shailu2014
Posts: 102
Joined: Thu Apr 24, 2014 3:17 am

Re: Nagios XI http to https web.

Post by shailu2014 »

Hi,

Thanks for reply, it is working but when I open the URl https:// it is showing in red mark. (screen shot attached)

Please help.....

Thanks,
Sjain
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios XI http to https web.

Post by tmcdonald »

That is just the browser telling you that the SSL certificate is self-signed, as opposed to being signed by a certificate authority.
Former Nagios employee
shailu2014
Posts: 102
Joined: Thu Apr 24, 2014 3:17 am

Re: Nagios XI http to https web.

Post by shailu2014 »

Thanks for help.

every things working fine but when I am trying to restart the httpd services on that time I am getting warning error which mentioned below

[Wed Feb 04 12:02:59 2015] [warn] _default_ VirtualHost overlap on port 443, the first has precedence


Kindly please let me why I am getting this error.

Thanks,
sjain2014.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios XI http to https web.

Post by abrist »

Your server most likely has a default *:443 virtual host config file. IF everything is working you are most likely fine. The vhost files are usually located at:

Code: Select all

ls -la /etc/httpd/conf.d 
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