Nagivs customization

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
btemple
Posts: 183
Joined: Fri Nov 08, 2013 9:30 am

Nagivs customization

Post by btemple »

Does anyone know how to change the name " Map Index " to something different like " Companyname Infrastructure " . My boss would like a more custom look .....
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagivs customization

Post by ssax »

*** Note: This will change it for all languages.

The easiest way (without changing a binary file) would be for you to edit this file:

Code: Select all

/usr/local/nagvis/share/server/core/classes/GlobalIndexPage.php
Comment out (around line 276):

Code: Select all

$arr['lang_mapIndex']      = $this->CORE->getLang()->getText('mapIndex');
And add this below it:

Code: Select all

$arr['lang_mapIndex']      = "Company Infrastructure";
So it looks like this:

Code: Select all

#$arr['lang_mapIndex']      = $this->CORE->getLang()->getText('mapIndex');
$arr['lang_mapIndex']      = "Company Infrastructure";
btemple
Posts: 183
Joined: Fri Nov 08, 2013 9:30 am

Re: Nagivs customization

Post by btemple »

that worked thank you !
Locked