Page 1 of 1

changing Nagios XI window tab title

Posted: Fri Apr 04, 2014 1:33 pm
by kendallchenoweth
How can I configure to title on the Nagios XI tab (html page) to be something specifically identifying that Nagios XI instance vs another one?

Re: changing Nagios XI window tab title

Posted: Fri Apr 04, 2014 1:38 pm
by tmcdonald
That would not be a setting in the web interface, but rather the PHP itself. I would have to do some digging or ask a dev about that.

Re: changing Nagios XI window tab title

Posted: Tue Apr 22, 2014 10:19 am
by kendallchenoweth
Is this something you can look into? I'm curious 1) how to make this change and 2) if this change would persist through an upgrade?

Thanks!

Re: changing Nagios XI window tab title

Posted: Tue Apr 22, 2014 1:25 pm
by lmiltchev
You can modify the following line (about line 21) in the "/usr/local/nagiosxi/html/includes/pageparts.inc.php" from this:

Code: Select all

$pagetitle=get_product_name();
to this:

Code: Select all

// $pagetitle=get_product_name();
   $pagetitle=whatever;
Note: We do not recommend making these changes. You can do this at your own risk. Also, most probably, an upgrade would wipe out the mods you made (I haven't tested this so I cannot say so sure).

Re: changing Nagios XI window tab title

Posted: Tue Apr 22, 2014 6:29 pm
by Box293
Make sure "whatever" is enclosed in quotes.

Code: Select all

 $pagetitle="whatever";