when i setup the alert, the link will become this
http://127.0.0.1/var/www/html/nagioslog ... vTzUIwHu7g
how can i change to my normal hostname and without /var/www/html
thanks
alert url is 127.0.0.1
Re: alert url is 127.0.0.1
Please see attached picture for the relevant setting. Your alerts will refer to 127.0.0.1 until the setting below is changed. Thank you!
You do not have the required permissions to view the files attached to this post.
-
pccwglobalit
- Posts: 105
- Joined: Wed Mar 11, 2015 9:00 pm
Re: alert url is 127.0.0.1
thanks. i will change to hostname and try.
however, i see the link include /var/www/html which is should not display in url.
also, can we do the redirect from http to https? we need redirect in apache ourself?
thanks again.
however, i see the link include /var/www/html which is should not display in url.
also, can we do the redirect from http to https? we need redirect in apache ourself?
thanks again.
Re: alert url is 127.0.0.1
Yes, you can implement ssl by configuring the apache vhost files. You can add a permanent redirect if you want to force ssl as well.pccwglobalit wrote:can we do the redirect from http to https? we need redirect in apache ourself?
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.
"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.
Re: alert url is 127.0.0.1
Let us know if the hostname change works for you.
What version of Log Server are you running? You can grab it from the very bottom left of your page.
You can enable SSL on Log Servers, you will have to manually add the rewrite rule in your /etc/httpd/conf/httpd.conf
You can use this as your guide: http://assets.nagios.com/downloads/nagi ... alyzer.pdf
What version of Log Server are you running? You can grab it from the very bottom left of your page.
You can enable SSL on Log Servers, you will have to manually add the rewrite rule in your /etc/httpd/conf/httpd.conf
Code: Select all
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
-
pccwglobalit
- Posts: 105
- Joined: Wed Mar 11, 2015 9:00 pm
Re: alert url is 127.0.0.1
thanks. it was working.
we will change vhost.
we will change vhost.
Re: alert url is 127.0.0.1
I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee