Page 1 of 1
Disabling HTTP completely
Posted: Fri Oct 04, 2019 10:50 am
by nicholashadaway
I am unable to push the SSL rewrite code into my Nagios configuration due to security restrictions.
My options are to disable HTTP in the apache configuration or to put an HAProxy instance in front of NagiosXI
Are there any negative side effects to disabling HTTP and only allowing HTTPS?
Re: Disabling HTTP completely
Posted: Fri Oct 04, 2019 11:08 am
by benjaminsmith
Hello Nicholas,
I am unable to push the SSL rewrite code into my Nagios configuration due to security restrictions.
Which re-write code?
You can force https in Nagios XI. Please see the guide below for setting this up.
Nagios XI How To Configure SSL/TLS
Re: Disabling HTTP completely
Posted: Wed Oct 16, 2019 11:33 am
by nicholashadaway
Regarding enabling the rewrite: The problem is my security team does not allow apache rewrites and will only allow a proxy in front of the server to do a rewrite.
My question specifically is: Can I disable HTTP (leaving HTTPS enabled only) in my apache configuration or do I need to leave HTTP enabled in apache for Nagios XI to work properly?
Re: Disabling HTTP completely
Posted: Wed Oct 16, 2019 2:19 pm
by mbellerue
You should be able to run without an HTTP configuration. The only thing I see potentially breaking are any servers that are set to passively report back via the API via HTTP rather than HTTPS.
You could probably watch your /var/log/httpd/access_log, and see if you're getting new messages there. That should be your HTTP log. All of your HTTPS requests should go to /var/log/httpd/ssl_access_log. That would allow you to track down anything that is still communicating with the Nagios server over HTTP.
Re: Disabling HTTP completely
Posted: Wed Nov 06, 2019 6:00 pm
by nicholashadaway
Thank you for clarifying this for me. I will do some experimentation with this on my test instance and confirm.
Re: Disabling HTTP completely
Posted: Thu Nov 07, 2019 9:56 am
by mbellerue
Sounds good. We will keep this thread open and wait to hear back.