Hello all,
I want to change from http to https. I assume the information I need is this document:
Configuring_SSL_with_Nagios xi.pdf
but getting an error 404 accessing it.
Problem for me cause I need it urgently for a project.
Someone has the docu running nagios xi with https?
Can someone help?
tia
stefan
http https error 404 Configuring_SSL_with_Nagios xi.pdf
-
- Posts: 9
- Joined: Wed Jan 05, 2011 4:36 am
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: http https error 404 Configuring_SSL_with_Nagios xi.pdf
Yeah, the link was broken, thanks for the heads up!
It should be accessible now from the following URL within 5mn of this post:
http://assets.nagios.com/downloads/nagi ... ios_xi.pdf
Let us know if you're still having trouble with it.
It should be accessible now from the following URL within 5mn of this post:
http://assets.nagios.com/downloads/nagi ... ios_xi.pdf
Let us know if you're still having trouble with it.
-
- Posts: 18
- Joined: Fri Oct 07, 2011 1:36 pm
Re: http https error 404 Configuring_SSL_with_Nagios xi.pdf
Anyone notice Nagvis no longer function when you force SSL?
-
- Posts: 1040
- Joined: Wed May 11, 2011 8:54 am
Re: http https error 404 Configuring_SSL_with_Nagios xi.pdf
It may very well be that there is a call in NagVis that is hardcoded to call to http. You could try doing rewrites with Apache if you want to see if that fixes your problem:
Here is a good link on how to do it:
http://whoopis.com/howtos/apache-rewrite.html
Here is a good link on how to do it:
http://whoopis.com/howtos/apache-rewrite.html
Nicholas Scott
Former Nagios employee
Former Nagios employee
-
- Posts: 18
- Joined: Fri Oct 07, 2011 1:36 pm
Re: http https error 404 Configuring_SSL_with_Nagios xi.pdf
Thanks Scott!...if i go directly to https://*.*.*.*/nagvis... it work just fine but kicking it off from within the nagiosxi launch page...it continues to try http:// and fails...any pointers on which files governs the path and iframe window?
-
- Posts: 1040
- Joined: Wed May 11, 2011 8:54 am
Re: http https error 404 Configuring_SSL_with_Nagios xi.pdf
nms,
Any calls that Nagios xi makes should go through the config.inc.php, which should be set to https enable as specified in the doc, do you remember editing the config.inc.php to do that?
Any calls that Nagios xi makes should go through the config.inc.php, which should be set to https enable as specified in the doc, do you remember editing the config.inc.php to do that?
Nicholas Scott
Former Nagios employee
Former Nagios employee
-
- Posts: 18
- Joined: Fri Oct 07, 2011 1:36 pm
Re: http https error 404 Configuring_SSL_with_Nagios xi.pdf
Yes indeed... Added $cfg['use_https']=true
Whats interesting is...if i click no to pass unsecured content (via the internet explorer popup) it shows the page via https which means it is functioning somewhat...also there is a typo in the configuring ssl with nagios.pdf....the NameVirtualHost *.443 should read *:443 (might throw a few folks off when they restart apache)
When i scroll over the link..it still shows http while bbmap and the rest shows https
Whats interesting is...if i click no to pass unsecured content (via the internet explorer popup) it shows the page via https which means it is functioning somewhat...also there is a typo in the configuring ssl with nagios.pdf....the NameVirtualHost *.443 should read *:443 (might throw a few folks off when they restart apache)
When i scroll over the link..it still shows http while bbmap and the rest shows https
-
- Posts: 1040
- Joined: Wed May 11, 2011 8:54 am
Re: http https error 404 Configuring_SSL_with_Nagios xi.pdf
nms,
I found where it was hardcoded. IN the file
/usr/local/nagiosxi/html/includes/components/nagvis/nagvis.inc.php
On line 104 there is a call to http://
If you want you can just change it to https, or just take the http part out and have your browser resolve it for you everytime. I'll update this component to use the Nagios xi API to call to reference the config.inc.php and let you know what I've done it.
I found where it was hardcoded. IN the file
/usr/local/nagiosxi/html/includes/components/nagvis/nagvis.inc.php
On line 104 there is a call to http://
If you want you can just change it to https, or just take the http part out and have your browser resolve it for you everytime. I'll update this component to use the Nagios xi API to call to reference the config.inc.php and let you know what I've done it.
Nicholas Scott
Former Nagios employee
Former Nagios employee
-
- Posts: 18
- Joined: Fri Oct 07, 2011 1:36 pm
Re: http https error 404 Configuring_SSL_with_Nagios xi.pdf
Perfect! Thanks Alot nscott...would have taken me forever to track down which file...(dont ya just hate hard paths
)

-
- Posts: 2
- Joined: Fri Oct 07, 2011 8:01 pm
Re: http https error 404 Configuring_SSL_with_Nagios xi.pdf
Thanks for the file link nscott.nscott wrote:nms,
I found where it was hardcoded. IN the file
/usr/local/nagiosxi/html/includes/components/nagvis/nagvis.inc.php
On line 104 there is a call to http://
If you want you can just change it to https, or just take the http part out and have your browser resolve it for you everytime. I'll update this component to use the Nagios xi API to call to reference the config.inc.php and let you know what I've done it.
