The default URL used to access Nagios XI directly from an internal network is set to http://<ip>/nagiosxi/
After install, changing this URL to http://<ip>/ via the GUI still results in the Welcome page displayed when navigating to the IP in a browser:
1. The expected result is that when a visitor browse to the IP/URL that Welcome page is replaced with the login. Can this setting only be modified upon initial install?
2. I was thinking it's best to just use https://URL.com rather https://URL.com/nagiosxi/ because removing the /nagiosxi/ from this URL is one less click for users seeking to login. Any negative affects to doing this?
Changing default URL used to access Nagios XI directly
-
- Posts: 621
- Joined: Wed May 18, 2011 1:26 pm
Changing default URL used to access Nagios XI directly
You do not have the required permissions to view the files attached to this post.
Nagios XI 5.9.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
-
- Posts: 1253
- Joined: Tue Mar 02, 2021 11:15 am
Re: Changing default URL used to access Nagios XI directly
Hi there,
Not 100% sure what you have going on there. On all of my VMs when I put
http://192.168.23.81/nagiosxi/ in my browser I get redirected automatically to
http://192.168.23.81/nagiosxi/login.php ... f&noauth=1
which is the login page.
From a client could you do a:
It should result in the following:
Let me know whatt you find out please.
Thanks
Not 100% sure what you have going on there. On all of my VMs when I put
http://192.168.23.81/nagiosxi/ in my browser I get redirected automatically to
http://192.168.23.81/nagiosxi/login.php ... f&noauth=1
which is the login page.
From a client could you do a:
Code: Select all
curl -v -L http://<ip>/nagiosxi/
Code: Select all
[root@gs-cent8-23-82 services]# curl -v -L http://192.168.23.84/nagiosxi
* Trying 192.168.23.84...
* TCP_NODELAY set
* Connected to 192.168.23.84 (192.168.23.84) port 80 (#0)
> GET /nagiosxi HTTP/1.1
> Host: 192.168.23.84
> User-Agent: curl/7.61.1
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Date: Mon, 23 Aug 2021 21:28:54 GMT
< Server: Apache/2.4.37 (Red Hat Enterprise Linux) OpenSSL/1.1.1g
< Location: http://192.168.23.84/nagiosxi/
< Content-Length: 238
< Content-Type: text/html; charset=iso-8859-1
<
* Ignoring the response-body
* Connection #0 to host 192.168.23.84 left intact
* Issue another request to this URL: 'http://192.168.23.84/nagiosxi/'
* Found bundle for host 192.168.23.84: 0x55e4672f65f0 [can pipeline]
* Re-using existing connection! (#0) with host 192.168.23.84
* Connected to 192.168.23.84 (192.168.23.84) port 80 (#0)
> GET /nagiosxi/ HTTP/1.1
> Host: 192.168.23.84
> User-Agent: curl/7.61.1
> Accept: */*
>
< HTTP/1.1 302 Found
< Date: Mon, 23 Aug 2021 21:28:54 GMT
< Server: Apache/2.4.37 (Red Hat Enterprise Linux) OpenSSL/1.1.1g
< X-Powered-By: PHP/7.2.24
< Expires: Thu, 19 Nov 1981 08:52:00 GMT
< Cache-Control: no-store, no-cache, must-revalidate
< Pragma: no-cache
< X-Frame-Options: SAMEORIGIN
< Content-Security-Policy: frame-ancestors 'self'
< Set-Cookie: nagiosxi=27iak33kh4ee5n9eifkibhtln3; expires=Mon, 23-Aug-2021 21:58:54 GMT; Max-Age=1800; path=/; HttpOnly
< Location: http://192.168.23.84/nagiosxi/login.php?redirect=/nagiosxi/index.php%3f&noauth=1
< Transfer-Encoding: chunked
< Content-Type: text/html; charset=UTF-8
<
* Ignoring the response-body
* Connection #0 to host 192.168.23.84 left intact
* Issue another request to this URL: 'http://192.168.23.84/nagiosxi/login.php?redirect=/nagiosxi/index.php%3f&noauth=1'
* Found bundle for host 192.168.23.84: 0x55e4672f65f0 [can pipeline]
* Re-using existing connection! (#0) with host 192.168.23.84
* Connected to 192.168.23.84 (192.168.23.84) port 80 (#0)
> GET /nagiosxi/login.php?redirect=/nagiosxi/index.php%3f&noauth=1 HTTP/1.1
> Host: 192.168.23.84
> User-Agent: curl/7.61.1
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Mon, 23 Aug 2021 21:28:54 GMT
< Server: Apache/2.4.37 (Red Hat Enterprise Linux) OpenSSL/1.1.1g
< X-Powered-By: PHP/7.2.24
< Expires: Thu, 19 Nov 1981 08:52:00 GMT
< Cache-Control: no-store, no-cache, must-revalidate
< Pragma: no-cache
< X-Frame-Options: SAMEORIGIN
< Content-Security-Policy: frame-ancestors 'self'
< Set-Cookie: nagiosxi=f3phtesmfvbdhjft9pealhhtrc; expires=Mon, 23-Aug-2021 21:58:54 GMT; Max-Age=1800; path=/; HttpOnly
< Transfer-Encoding: chunked
< Content-Type: text/html; charset=UTF-8
<
<!DOCTYPE html>
<!-- <!DOCTYPE html> -->
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
<!-- Produced by Nagios XI. Copyright (c) 2008-2021 Nagios Enterprises, LLC (www.nagios.com). All Rights Reserved. -->
<!-- Powered by the Nagios Synthesis Framework -->
<title>Login · Nagios XI</title>
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="icon" type="image/png" href="http://192.168.23.84/nagiosxi/images/favicon-32x32.png" sizes="32x32">
<link rel="shortcut icon" href="http://192.168.23.84/nagiosxi/images/favicon.ico" type="image/ico">
<link rel="apple-touch-icon-precomposed" href="http://192.168.23.84/nagiosxi/images/apple-touch-icon-precomposed.png">
<link rel="apple-touch-icon" href="http://192.168.23.84/nagiosxi/images/apple-touch-icon.png">
<!-- Adding Font-Awesome for all themes -->
<link rel="stylesheet" type="text/css" href="http://192.168.23.84/nagiosxi/includes/css/font-awesome.min.css?1626452887" />
<!-- Global variables & Javascript translation text -->
<script type="text/javascript">
var base_url = "http://192.168.23.84/nagiosxi/";
var backend_url = "http%3A%2F%2F192.168.23.84%2Fnagiosxi%2Flogin.php";
var ajax_helper_url = "http://192.168.23.84/nagiosxi/ajaxhelper.php";
var ajax_proxy_url = "http://192.168.23.84/nagiosxi/ajaxproxy.php";
var suggest_url = "http://192.168.23.84/nagiosxi/suggest.php";
var request_uri = "%2Fnagiosxi%2Flogin.php%3Fredirect%3D%2Fnagiosxi%2Findex.php%253f%26noauth%3D1";
var demo_mode = 0;
var nsp_str = "0ed4a53d56406f53dab5cdaa9eaee0b8b89b8b431d948a878a64835a99b3721f";
var theme = "xi5";
// Language string for translations
var lang = {
'Add to Dashboard': "Add to Dashboard",
'Add Dashboard': "Add Dashboard",
'Edit Dashboard': "Edit Dashboard",
'Dashlet Title': "Dashlet Title",
'Dashboard Added': "Dashboard Added",
'Add It': "Add It",
'Add this powerful little dashlet to one of your dashboards for visual goodness.': "Add this powerful little dashlet to one of your dashboards for visual goodness.",
'Select a Dashboard to Add To': "Select a Dashboard to Add To",
'Add this graph to a dashboard.': "Add this graph to a dashboard.",
'Dashlet is now loaded on your dashboard.': "Dashlet is now loaded on your dashboard.",
'Dashlet Added': "Dashlet Added",
'Please Wait': "Please Wait",
'Submitting command': "Submitting command",
'Show Details': "Show Details",
'Hide Details': "Hide Details",
'Show password': "Show password",
'Hide password': "Hide password",
'Permalink': "Permalink",
'Copy the URL below to retain a direct link to your current view.': "Copy the URL below to retain a direct link to your current view.",
'URL': "URL",
'Thank You!': "Thank You!",
'Thanks for helping to make this product better! We will review your comments as soon as we get a chance. Until then, kudos to you for being awesome and helping drive innovation!': "Thanks for helping to make this product better! We will review your comments as soon as we get a chance. Until then, kudos to you for being awesome and helping drive innovation!",
'Error': "Error",
'An error occurred. Please try again later.': "An error occurred. Please try again later.",
'Sending Feedback': "Sending Feedback",
'Use this to add a new dashboard to your Dashboards page.': "Use this to add a new dashboard to your Dashboards page.",
'Dashboard Title': "Dashboard Title",
'Background Color': "Background Color",
'Submit': "Submit",
'Processing': "Processing",
'Success! Your new dashboard has been added.': "Success! Your new dashboard has been added.",
'An error occurred processing your request.': "An error occurred processing your request.",
'Dashboard Changes Saved': "Dashboard Changes Saved",
'Success! Your dashboard was updated successfully.': "Success! Your dashboard was updated successfully.",
'You cannot delete your home page dashboard.': "You cannot delete your home page dashboard.",
'Confirm Dashboard Deletion': "Confirm Dashboard Deletion",
'Are you sure you want to delete this dashboard and all dashlets it contains?': "Are you sure you want to delete this dashboard and all dashlets it contains?",
'Delete': "Delete",
'Cancel': "Cancel",
'The requested dashboard has been deleted.': "The requested dashboard has been deleted.",
'Dashboard Deleted': "Dashboard Deleted",
'Clone Dashboard': "Clone Dashboard",
'Use this to make an exact clone of the current dashboard and all its wonderful dashlets.': "Use this to make an exact clone of the current dashboard and all its wonderful dashlets.",
'Clone': "Clone",
'New Title': "New Title",
'Dashboard Cloned': "Dashboard Cloned",
'Dashboard successfully cloned.': "Dashboard successfully cloned.",
'Deleting dashlets from the home page dashboard is disabled while in demo mode.': "Deleting dashlets from the home page dashboard is disabled while in demo mode.",
'Dashlet Deleted': "Dashlet Deleted",
'Dashlet removed from dashboard.': "Dashlet removed from dashboard.",
'The dashlet has been added and will now show up on your dashboard.': "The dashlet has been added and will now show up on your dashboard.",
'Masquerade Notice': "Masquerade Notice",
'You are about to masquerade as another user. If you choose to continue you will be logged out of your current account and logged in as the selected user. In the process of doing so, you may lose your admin privileges.': "You are about to masquerade as another user. If you choose to continue you will be logged out of your current account and logged in as the selected user. In the process of doing so, you may lose your admin privileges.",
'Continue': "Continue",
'Add View': "Add View",
'Use this to add what you see on the screen to your views page.': "Use this to add what you see on the screen to your views page.",
'View Title': "View Title",
'View Added': "View Added",
'Success! Your view was added to your views page.': "Success! Your view was added to your views page.",
'View Deleted': "View Deleted",
'View has been removed.': "View has been removed.",
'Edit View': "Edit View",
'View Changes Saved': "View Changes Saved",
'Success! Your view was updated successfully.': "Success! Your view was updated successfully.",
'Start Rotation': "Start Rotation",
'Stop Rotation': "Stop Rotation",
'Pause rotation': "Pause rotation",
'Resume rotation': "Resume rotation",
'You are about to delete the view': "You are about to delete the view",
'Cannot schedule outside pages.': "Cannot schedule outside pages.",
'Any page not under nagiosxi cannot be scheduled.': "Any page not under nagiosxi cannot be scheduled.",
'Loading': "Loading",
'Update': "Update",
'Close': "Close",
'Time Range': "Time Range",
'Last 4 Hours': "Last 4 Hours",
'Last 24 Hours': "Last 24 Hours",
'Last Week': "Last Week",
'Last Month': "Last Month",
'Last Year': "Last Year",
'Last 7 Days': "Last 7 Days",
'Last 30 Days': "Last 30 Days",
'Last 365 Days': "Last 365 Days",
'My graph': "My graph",
'You must fill out the entire form.': "You must fill out the entire form.",
'Copy to Clipboard': "Copy to Clipboard",
'Copied': "Copied",
'Press Ctrl+C to copy': "Press Ctrl+C to copy",
'Dismiss' : "Dismiss"
};
// Translation helper function
function _(str) {
var trans = lang[str];
if (trans) { return trans; }
return str;
}
</script>
<!-- main jquery libraries -->
<script type='text/javascript' src='http://192.168.23.84/nagiosxi/includes/js/jquery/jquery-3.6.0.min.js?1626452887'></script>
<script type='text/javascript' src='http://192.168.23.84/nagiosxi/includes/js/jquery/jquery-migrate-3.0.0.min.js?1626452887'></script>
<script type='text/javascript' src='http://192.168.23.84/nagiosxi/includes/js/jquery/jquery-migrate-1.4.1.min.js?1626452887'></script>
<link type="text/css" href="http://192.168.23.84/nagiosxi/includes/js/jquery/css/smoothness/jquery-ui.custom.min.css?1626452887" rel="stylesheet"/>
<script type='text/javascript' src='http://192.168.23.84/nagiosxi/includes/js/jquery/jquery.colorBlend.js'></script>
<script type='text/javascript' src='http://192.168.23.84/nagiosxi/includes/js/jquery/jquery.timers-1.1.3.js'></script>
<script type='text/javascript' src='http://192.168.23.84/nagiosxi/includes/js/jquery/jquery-ui-1.12.1.custom.min.js?1626452887'></script>
<script type='text/javascript' src='http://192.168.23.84/nagiosxi/includes/js/jquery/jquery-ui-timepicker-addon.js?1626452887'></script>
<script type='text/javascript' src='http://192.168.23.84/nagiosxi/includes/js/jquery/jquery.searchabledropdown.custom.js?1626452887'></script>
<link rel="stylesheet" href="http://192.168.23.84/nagiosxi/includes/css/bootstrap.3.min.css?1626452887" type="text/css" />
<script type='text/javascript' src='http://192.168.23.84/nagiosxi/includes/js/bootstrap.3.min.js?1626452887'></script>
<!-- spin kit -->
<link rel="stylesheet" href="http://192.168.23.84/nagiosxi/includes/css/spinkit.css?1626452887" type="text/css" />
<!-- jquery autocomplete -->
<link rel='stylesheet' type='text/css' href='http://192.168.23.84/nagiosxi/includes/css/jquery.autocomplete.css'/>
<!-- colorpicker -->
<link rel="stylesheet" href="http://192.168.23.84/nagiosxi/includes/js/jquery/colorpicker/css/colorpicker.css" type="text/css" />
<script type="text/javascript" src="http://192.168.23.84/nagiosxi/includes/js/jquery/colorpicker/js/colorpicker.js"></script>
<!-- clipboard plugin -->
<script type="text/javascript" src="http://192.168.23.84/nagiosxi/includes/js/clipboard.min.js"></script>
<!-- XI JS Scripts -->
<script type='text/javascript' src='http://192.168.23.84/nagiosxi/includes/js/core.js?1626452887'></script>
<script type='text/javascript' src='http://192.168.23.84/nagiosxi/includes/js/themes/modern.js?1626452887'></script>
<script type='text/javascript' src='http://192.168.23.84/nagiosxi/includes/js/commands.js?1626452887'></script>
<script type='text/javascript' src='http://192.168.23.84/nagiosxi/includes/js/views.js?1626452887'></script>
<script type='text/javascript' src='http://192.168.23.84/nagiosxi/includes/js/dashboards.js?1626452887'></script>
<script type='text/javascript' src='http://192.168.23.84/nagiosxi/includes/js/dashlets.js?1626452887'></script>
<script type='text/javascript' src='http://192.168.23.84/nagiosxi/includes/js/tables.js?1626452887'></script>
<script type='text/javascript' src='http://192.168.23.84/nagiosxi/includes/js/users.js?1626452887'></script>
<script type='text/javascript' src='http://192.168.23.84/nagiosxi/includes/js/perfdata.js?1626452887'></script>
<script type='text/javascript' src='http://192.168.23.84/nagiosxi/includes/js/wizards.js?1626452887'></script>
<!-- XI CSS -->
<link rel='stylesheet' type='text/css' href='http://192.168.23.84/nagiosxi/includes/css/base.css?1626452887' />
<link rel='stylesheet' type='text/css' href='http://192.168.23.84/nagiosxi/includes/css/themes/modern.css?1626452887' />
<!-- Highcharts graphing Library -->
<script type="text/javascript" src="http://192.168.23.84/nagiosxi//includes/js/highcharts/highcharts.js?1626452887"></script>
<script type="text/javascript" src="http://192.168.23.84/nagiosxi//includes/js/highcharts/highcharts-more.js?1626452887"></script>
<script type="text/javascript" src="http://192.168.23.84/nagiosxi//includes/js/highcharts/modules/exporting.js?1626452887"></script>
<script type="text/javascript" src="http://192.168.23.84/nagiosxi//includes/js/highcharts/modules/no-data-to-display.js?1626452887"></script>
<!-- D3 graphing Library -->
<script type='text/javascript' src='http://192.168.23.84/nagiosxi/includes/js/d3/d3.v3.min.js?1626452887'></script>
<!-- jScrollPane -->
<link type="text/css" href="http://192.168.23.84/nagiosxi/includes/js/jquery/css/jquery.jscrollpane.css" rel="stylesheet" media="all" />
<script type="text/javascript" src="http://192.168.23.84/nagiosxi/includes/js/jquery/jquery.jscrollpane.min.js"></script>
<script type='text/javascript' src='http://192.168.23.84/nagiosxi/includes/dashlets/gauges/js/gauge.js'></script>
<link rel='stylesheet' type='text/css' href='http://192.168.23.84/nagiosxi/includes/dashlets/internettrafficreport/internettrafficreport.css' />
<link rel='stylesheet' type='text/css' href='http://192.168.23.84/nagiosxi/includes/dashlets/rss_dashlet/rss_dashlet.css' />
<script type='text/javascript' src='http://192.168.23.84/nagiosxi/includes/components/favorites/favorites_head.js'></script><script type="text/javascript" src="http://192.168.23.84/nagiosxi/includes/components/graphexplorer/includes/graphexplorerinclude.js"></script><link rel='stylesheet' type='text/css' href='http://192.168.23.84/nagiosxi/includes/components/helpsystem/css/helpsystem.css?2.0.1' /><script type='text/javascript' src='http://192.168.23.84/nagiosxi/includes/components/helpsystem/js/helpsysteminclude.js?2.0.1'></script>
<!-- Mobile redirect -->
<script>
var mobile_redirects_disabled = 0;
check_for_mobile();
</script>
</head>
<body class="parent scroll" >
<div class="parentpage">
<div id="whiteout"></div>
<div id="blackout"></div>
<div id="header" class="parenthead" >
<!--- HEADER START -->
<div id="toplogo">
<a href="http://192.168.23.84/nagiosxi/" target="_top">
<img src="http://192.168.23.84/nagiosxi/images/nagios_logo_white_transbg.png" border="0" class="xi-logo" alt="Nagios XI" title="Nagios XI">
XI
</a>
</div>
<div id="topmenu">
<div class="mainmenu">
<div><a href="http://192.168.23.84/nagiosxi/login.php">Login</a></div>
</div>
</div>
<div id="popup_layer">
<div id="popup_content">
<div id="popup_close">
<a id="close_popup_link" style="display: inline-block;" title="Close"><i class="fa fa-times" style="font-size: 16px;"></i></a>
</div>
<div id="popup_container">
</div>
</div>
</div>
<div id="throbber" class="sk-spinner sk-spinner-center sk-spinner-three-bounce">
<div class="sk-bounce1"></div>
<div class="sk-bounce2"></div>
<div class="sk-bounce3"></div>
</div>
</div>
<div id="mainframe">
<script type="text/javascript">
// Frame buster
if (top.location != self.location) {
top.location = self.location.href;
}
// Focus on the login fields automatically
$(document).ready(function() {
if ("" == '') {
$('input[name="username"]').focus();
} else {
$('input[name="password"]').focus();
}
});
</script>
<div class="login-table">
<div class="login-cell left">
<div class="login-box">
<div class="well">
<form id="loginForm" method="post" action="/nagiosxi/login.php" autocomplete='off'>
<input type="hidden" name="nsp" value="0ed4a53d56406f53dab5cdaa9eaee0b8b89b8b431d948a878a64835a99b3721f">
<input type="hidden" name="page" value="auth">
<input type="hidden" name="debug" value="">
<input type="hidden" name="pageopt" value="login">
<input type="hidden" name="redirect" value="/nagiosxi/index.php?">
<h1>Login</h1>
<div style="margin-bottom: 10px;">
<input type="text" class="form-control" placeholder="Username" value="" name="username" id="usernameBox" autocomplete='off'>
</div>
<div>
<input type="password" class="form-control" placeholder="Password" name="password" id="passwordBox" autocomplete='off'>
</div>
<div>
<button type="submit" class="submitbutton login btn btn-sm btn-primary" id="loginButton" name="loginButton">Login</button>
</div>
</form>
<p class="forgot-pw"><a href="?forgotpass">Forgot your password?</a></p>
</div>
<div class="select-language">
<label>Select Language:</label>
<div id="languageopts">
<div>
<a href='?locale=en_US' class='locale-icon en_US tt-bind' title='English'></a>
<a href='?locale=de_DE' class='locale-icon de_DE tt-bind' title='German'></a>
<a href='?locale=es_ES' class='locale-icon es_ES tt-bind' title='Spanish'></a>
<a href='?locale=fr_FR' class='locale-icon fr_FR tt-bind' title='French'></a>
<a href='?locale=it_IT' class='locale-icon it_IT tt-bind' title='Italian'></a>
<a href='?locale=ko_KR' class='locale-icon ko_KR tt-bind' title='Korean'></a>
<a href='?locale=pt_PT' class='locale-icon pt_PT tt-bind' title='Portuguese'></a>
</div>
<div>
<a href='?locale=bg_BG' class='locale-icon bg_BG tt-bind' title='Bulgarian'></a>
<a href='?locale=ru_RU' class='locale-icon ru_RU tt-bind' title='Russian'></a>
<a href='?locale=zh_CN' class='locale-icon zh_CN tt-bind' title='Simplified Chinese'></a>
<a href='?locale=zh_TW' class='locale-icon zh_TW tt-bind' title='Traditional Chinese'></a>
<a href='?locale=ja_JP' class='locale-icon ja_JP tt-bind' title='Japanese'></a>
<a href='?locale=pl_PL' class='locale-icon pl_PL tt-bind' title='Polish'></a>
<a href='?locale=cs_CZ' class='locale-icon cs_CZ tt-bind' title='Czech'></a>
</div>
</div>
</div>
</div>
<div class="clear"></div>
</div>
<div class="login-cell right">
<style type="text/css">
a.product-select-tab { display: inline-block; font-family: 'robotoblack'; background-color: #FFF; padding: 2px 15px; font-weight: bold; font-size: 40px; margin-right: 10px; text-decoration: none; border: 2px solid #EEE; }
a.product-select-tab.xi { color: #4D89F9; }
a.product-select-tab.fusion { color: #444; }
a.product-select-tab.logserver { color: #23B55E; }
a.product-select-tab.na { color: #FFA121; }
a.product-select-tab:hover { border: 2px solid transparent; color: #FFF; }
a.product-select-tab.xi:hover { background-color: #4D89F9; }
a.product-select-tab.fusion:hover { background-color: #444; }
a.product-select-tab.logserver:hover { background-color: #23B55E; }
a.product-select-tab.na:hover { background-color: #FFA121; }
.product-tab { display: none; background-color: #F6F6F6; margin-top: 10px; padding: 15px; }
</style>
<script type="text/javascript">
$(document).ready(function() {
// Hover change 'tab'
$('a.product-select-tab').mouseenter(function() {
var type = $(this).data('tab');
$('.product-tab').hide();
$('.product-tab.' + type).show();
});
});
</script>
<div class="loginsplash"></div>
<h3>Nagios Products</h3>
<div style="margin: 20px 0 35px 0;">
<a class="product-select-tab xi" data-tab="xi" target="_new" href="https://www.nagios.com/products/nagios-xi/">XI</a>
<a class="product-select-tab fusion" data-tab="fusion" target="_new" href="https://www.nagios.com/products/nagios-fusion/">F</a>
<a class="product-select-tab logserver" data-tab="logserver" target="_new" href="https://www.nagios.com/products/nagios-log-server/">LS</a>
<a class="product-select-tab na" data-tab="na" target="_new" href="https://www.nagios.com/products/nagios-network-analyzer/">NA</a>
<div class="product-tab xi" style="display: block;">
<b>Nagios XI</b>
<div style="margin-top: 10px;">Provides monitoring of all mission-critical infrastructure components including applications, services, operating systems, network protocols, systems metrics, and network infrastructure. Hundreds of third-party addons provide for monitoring of virtually all in-house applications, services, and systems.</div>
</div>
<div class="product-tab fusion">
<b>Nagios Fusion</b>
<div style="margin-top: 10px;">Provides IT operations staff and management with quick, at-a-glance visual indication of problems anywhere across your IT infrastructure. Integrates with both Nagios Core and Nagios XI monitoring servers to provide infrastructure-wide visibility.</div>
</div>
<div class="product-tab logserver"">
<b>Nagios Log Server</b>
<div style="margin-top: 10px;">Nagios Log Server greatly simplifies the process of searching your log data. Set up alerts to notify you when potential threats arise, or simply query your log data to quickly audit any system. With Nagios Log Server, you get all of your log data in one location, with high availability and fail-over built right in. Quickly configure your servers to send all log data with easy source setup wizards and start monitoring your logs in minutes.</div>
</div>
<div class="product-tab na">
<b>Nagios Network Analyzer</b>
<div style="margin-top: 10px;">Network Analyzer provides an in-depth look at all network traffic sources and potential security threats allowing system admins to quickly gather high-level information regarding the health of the network as well as highly granular data for complete and thorough network analysis.</div>
</div>
</div>
<h3>Contact Us</h3>
<p>
Looking for more information? Have a technical or sales question? </p>
<table class="table table-condensed table-no-border" style="width: auto;">
<tr>
<td style="vertical-align: top; padding-right: 15px;">
<div><b>Sales</b></div>
Phone: (651) 204-9102
<br>Email: <a href="mailto:sales@nagios.com">sales@nagios.com</a>
</td>
<td style="vertical-align: top; padding-right: 15px;">
<div><b>Web</b></div>
<a href="https://www.nagios.com/" target="_blank" rel="noreferrer">Nagios Website</a><br>
<a href="https://exchange.nagios.com/" target="_blank" rel="noreferrer">Nagios Exchange</a><br>
</td>
<td style="vertical-align: top;">
<div><b>Support</b></div>
<a href="https://support.nagios.com/forum/" target="_blank" rel="noreferrer">Support Forum</a><br>
<a href="https://support.nagios.com/kb/" target="_blank" rel="noreferrer">Knowledgebase</a>
</td>
</tr>
</table>
</div>
<div class="clear"></div>
</div>
</div><!--mainframe-->
<!-- FOOTER START -->
<div id="footer">
<div class="container-fluid">
<div class="row">
<div class="col-sm-6 footer-left">
<a href="http://nagios.com/products/nagiosxi" target="new"><b>Nagios XI</b></a> </div>
<div class="col-sm-6 footer-right">
<a href="http://192.168.23.84/nagiosxi/about/">About</a> | <a href="http://192.168.23.84/nagiosxi/about/?legal">Legal</a> | Copyright © 2008-2021 <a href="https://www.nagios.com/" target="_blank" rel="noreferrer">Nagios Enterprises, LLC</a> </div>
</div>
</div>
</div> <!-- end footer div -->
<!-- FOOTER END -->
</div><!--page-->
<noframes>
<!-- This page requires a web browser which supports frames. -->
<h2>Nagios XI</h2>
<p align="center">
<a href="https://www.nagios.com/">www.nagios.com</a><br>
Copyright (c) 2009-2021 Nagios Enterprises, LLC<br>
</p>
<p>
<i>Note: These pages require a browser which supports frames</i>
</p>
</noframes>
</body>
</html>
* Connection #0 to host 192.168.23.84 left intact
Thanks
-
- Posts: 621
- Joined: Wed May 18, 2011 1:26 pm
Re: Changing default URL used to access Nagios XI directly
I am trying to eliminate the Welcome page by removing the /nagiosxi/ from the Program URL, eg http://instance.domain.com
So in a browser a user will get the login page by visiting http://instance.domain.com, rather than a Welcome page or needing to navigate to http://instance.domain.com/nagiosxi/
Is the /nagiosxi/ required?
So in a browser a user will get the login page by visiting http://instance.domain.com, rather than a Welcome page or needing to navigate to http://instance.domain.com/nagiosxi/
Is the /nagiosxi/ required?
Nagios XI 5.9.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
-
- Posts: 1253
- Joined: Tue Mar 02, 2021 11:15 am
Re: Changing default URL used to access Nagios XI directly
Hi
If you remove the /nagiosxi you should be taken to the Welcome page. With the /nagiosxi you'll go directly
to the login page. Seems like your installation is the exact opposite.
Watch (you'll have to rename the file url.txt ---> url.mp4): If you look at the "curl" command in my first response you can see the redirects. You can use the
same command on your system(s) to see what is going on.
If you look at /var/www/html/index.php you'll see it is the Welcome page
while/etc/httpd/conf.d/nagiosxi.conf contains
/usr/local/nagiosxi/html/index.php is the login page
Thanks
If you remove the /nagiosxi you should be taken to the Welcome page. With the /nagiosxi you'll go directly
to the login page. Seems like your installation is the exact opposite.
Watch (you'll have to rename the file url.txt ---> url.mp4): If you look at the "curl" command in my first response you can see the redirects. You can use the
same command on your system(s) to see what is going on.
If you look at /var/www/html/index.php you'll see it is the Welcome page
while/etc/httpd/conf.d/nagiosxi.conf contains
Code: Select all
Alias /nagiosxi "/usr/local/nagiosxi/html"
Thanks
You do not have the required permissions to view the files attached to this post.
-
- Posts: 621
- Joined: Wed May 18, 2011 1:26 pm
Re: Changing default URL used to access Nagios XI directly
I am talking about changing the Systems Settings configuration.
I'd like users to be able to navigate to https://domain.com and get the login screen, not hit a welcome page. Does that make more sense?
I'd like users to be able to navigate to https://domain.com and get the login screen, not hit a welcome page. Does that make more sense?
You do not have the required permissions to view the files attached to this post.
Nagios XI 5.9.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
-
- Posts: 1253
- Joined: Tue Mar 02, 2021 11:15 am
Re: Changing default URL used to access Nagios XI directly
Hi
Yes, I understand what you want to do. It should be doing it
by default. Look at the url.mp4 file, that is the behavior you want, correct?
Thanks
Yes, I understand what you want to do. It should be doing it
by default. Look at the url.mp4 file, that is the behavior you want, correct?
Thanks
-
- Posts: 621
- Joined: Wed May 18, 2011 1:26 pm
Re: Changing default URL used to access Nagios XI directly
NO, that is incorrect. In your video you still have /nagiosxi in the URL.gsmith wrote:Hi
Yes, I understand what you want to do. It should be doing it
by default. Look at the url.mp4 file, that is the behavior you want, correct?
Thanks
As I've mentioned previously, I'd like users to be able to navigate to https://domain.com and get the login screen, this means not hit a welcome page or have "nagiosxi" in the URL.
Nagios XI 5.9.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
-
- Posts: 1288
- Joined: Tue Jun 01, 2021 1:27 pm
Re: Changing default URL used to access Nagios XI directly
Hello @TBT
Smith is out of the office today, and I am responding on his behalf. I understand when users are hitting the FQDN.com they are presented with the Nagios default root index page.
This page is located: /var/www/html/index.php.
First, make a backup of this index by:
The option to use a redirect on this page instead and that looks like this:
**On the url; where you see yournagiosserveraddresshere[/code] will need to be changed to your FQDN.com address for your Nagios XI server.
Thanks,
Perry
Smith is out of the office today, and I am responding on his behalf. I understand when users are hitting the FQDN.com they are presented with the Nagios default root index page.
This page is located: /var/www/html/index.php.
First, make a backup of this index by:
Code: Select all
cp /var/www/html/index.php /var/www/html/index.php.bak
Code: Select all
<!DOCTYPE HTML>
<html>
<head>
<!-- redirect default (index.html) page to another page or subfolder -->
<meta http-equiv="refresh" content="0; url=http://yournagiosxiserveraddresshere/nagiosxi" />
<title>Nagios XI</title>
</head>
</html>
Thanks,
Perry
-
- Posts: 621
- Joined: Wed May 18, 2011 1:26 pm
Re: Changing default URL used to access Nagios XI directly
@Perry I was also under the impression this could be done within the XI GUI. Regardless, this is the correct answer, thank you.
Nagios XI 5.9.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
-
- Posts: 1288
- Joined: Tue Jun 01, 2021 1:27 pm
Re: Changing default URL used to access Nagios XI directly
Excellent, I will go ahead and lock this thread.
Thanks,
Perry
Thanks,
Perry