Page 1 of 1

Running Nagios through HA Proxy

Posted: Tue Dec 05, 2017 5:18 pm
by smcdonald
Hello,

We have setup Nagios to use port 8090 http going through HAProxy to allow monitoring from outside without a firewall. When viewing through HA proxy, the text is all garbled. Has can someone advise any settings in Nagios that can be done to have this render correctly?

Below are log examples Errors in Web development in firefox. I have xxxx my domain name.

Blocked loading mixed active content “http://xxxxxxxxxxxxxxxxxxxxxxxx/nagiosx ... 1499702040
[Learn More]
index.php
Blocked loading mixed active content “http://xxxxxxxxxxxxxxxxxx/nagiosxi/incl ... 1499702040
[Learn More]
index.php
Blocked loading mixed active content “http://xxxxxxxxxxxxxxxxxxxxx/nagiosxi/i ... 1499702040
[Learn More]
index.php
Blocked loading mixed active content “http://Xxxxxxxxxxxxxxxxxxxx/nagiosxi/in ... 1499702040
[Learn More]
index.php
Blocked loading mixed active content “http://xxxxxxxxxxxxxxxx/nagiosxi/includ ... orBlend.js
[Learn More]
index.php


Any suggestions would be great

Thanks

Re: Running Nagios through HA Proxy

Posted: Wed Dec 06, 2017 1:11 pm
by mcapra
smcdonald wrote:We have setup Nagios to use port 8090 http going through HAProxy
Just double-checking: Is HAProxy configured for SSL/HTTPS?

An explanation of "mixed content":
https://blog.mozilla.org/tanvi/2013/04/ ... irefox-23/

Re: Running Nagios through HA Proxy

Posted: Wed Dec 06, 2017 2:02 pm
by kyang
Thanks @mcapra!

smcdonald, Let us know!

Re: Running Nagios through HA Proxy

Posted: Fri Dec 08, 2017 9:59 am
by smcdonald
Hi,

Yes HA proxy is configured for HTTPS.

I tried running both Chrome and Firefox with allowing insecure content, and everything is still garbled.

C:\Program Files (x86)\Google\Chrome\Application\chrome.exe --allow-running-insecure-content

Re: Running Nagios through HA Proxy

Posted: Fri Dec 08, 2017 1:18 pm
by tmcdonald
I see you have a support portal ticket open for this, so I have referenced this thread in the ticket. I will be locking this thread and we will continue in the ticket so we can focus our efforts in once place.