Nagios XI Version: 5.2.9
Is there a way to adjust the wording in the tab which show up in the web browser? Currently it says "NagiosXI", I want to change it to "Production Monitoring". Normally, this is handled by changing the title in the HTML. Do I need to just hardcode the change in the html or do you have this somewhere in the configuration files?
Branding and Customizing
Branding and Customizing
You do not have the required permissions to view the files attached to this post.
Re: Branding and Customizing
There is not currently a reliable way to change the page titles on a stock XI installation (due to SourceGuardian) without a third party script/component. You could write a greasemonkey script to tackle something like that though or create a custom XI component that includes a JS file on every page to modify the page title.
In 5.3.0, you will be able to include a custom JS file on every page (or select pages) via the XI GUI, so there's that too!
In 5.3.0, you will be able to include a custom JS file on every page (or select pages) via the XI GUI, so there's that too!
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Branding and Customizing
Here is a custom component that can make the requested change, upload zip from
Admin -> Manage components
Admin -> Manage components
You do not have the required permissions to view the files attached to this post.
Re: Branding and Customizing
I was able to upload and install the component through the user interface, but I did not have the option to change the wording from the "Manage Components" section.
Admin -> Manage Component - > (Missing Edit) Change Title
Admin -> Manage Component - > (Missing Edit) Change Title
You do not have the required permissions to view the files attached to this post.
Re: Branding and Customizing
I believe the "Production Monitoring" is "hardcoded". After you install the component, just log off, then log in to the Nagios XI server. You should be able to see "Production Monitoring" title in the tab.
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Branding and Customizing
A messy way to change this is in change_title_bodystart_callback of change_title.inc.php included in that zip file:
Code: Select all
function change_title_bodystart_callback($cbtype, &$cbargs)
{
echo ' <script>
$(document).ready(function () {
$("title").text(function () {
return $(this).text().replace("Nagios XI", "My Cool Page Title Here");
});
});
</script>';
}
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Branding and Customizing
Perfect. Thank you. This can be closed.