| Home »
Categories
» Products » Nagios Fusion » Documentation » System Configuration |
Nagios Fusion - Enabling Relative URLs |
|
Article Number: 758 | Rating: 1/5 from 3 votes | Last Updated by rspielman on Tue, Feb 9, 2021 at 10:58 AM
|
Overview
This KB article shows you how to configure Nagios Fusion to use relative URLs. Relative URLs may be required when accessing your Nagios Fusion server via a proxy server.
Enable Relative URLs
Establish a terminal session to your Nagios fusion server and execute the following command to open the config.inc.php file in vi:
vi /usr/local/nagiosfusion/html/config.inc.php
When using the vi editor, to make changes press i on the keyboard first to enter insert mode. Press Esc to exit insert mode.
Find the force_relative_path line in the file and change it to true. If the line doesn't exist then simply add it, making sure it ends with a comma (,).
$cfg = array(
'force_relative_path' => true,
'root_dir' => '/usr/local/nagiosfusion',
When you have finished, save the changes in vi by typing:
:wq
and press Enter.
After making these changes you need to restart the Apache web server using one of the commands below:
RHEL 7 | CentOS 7 | Oracle Linux 7
systemctl restart httpd.service
Debian | Ubuntu 16/18
systemctl restart apache2.service
Once you have performed these steps the Nagios Fusion server will now use relative URLs.
Final Thoughts
For any support related questions please visit the Nagios Support Forums at:
http://support.nagios.com/forum/
Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.
Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!
|
Posted by: tlea on Sun, Oct 8, 2017 at 11:44 PM. This article has been viewed 4681 times. Filed Under: System Configuration |
|
Have a question? Try our Forums! | Give Feedback |
1 (3)
Article Rating (3 Votes)
Rate this article
|
| |
|
Attachments
There are no attachments for this article.
| Related Articles 
Moving /var/log/
Viewed 19795 times since Tue, Feb 23, 2016
Nagios Fusion - Managing Fused Servers
Viewed 4627 times since Mon, Jul 17, 2017
Nagios Fusion - Configuring Mail Settings
Viewed 4520 times since Mon, Jul 17, 2017
Nagios Fusion - Administration Scripts
Viewed 3802 times since Tue, Jul 18, 2017
Nagios Fusion - Using A Proxy Server
Viewed 4079 times since Tue, Feb 20, 2018
Nagios Fusion - Managing System Extensions
Viewed 3744 times since Tue, Jul 18, 2017
Nagios Fusion - Performance Tuning
Viewed 3829 times since Mon, Jul 17, 2017
Nagios Fusion - Adding a License
Viewed 4016 times since Mon, Jul 17, 2017
|
|