changing Nagios XI window tab title

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kendallchenoweth
Posts: 195
Joined: Fri Sep 13, 2013 10:43 am

changing Nagios XI window tab title

Post 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?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: changing Nagios XI window tab title

Post 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.
Former Nagios employee
kendallchenoweth
Posts: 195
Joined: Fri Sep 13, 2013 10:43 am

Re: changing Nagios XI window tab title

Post 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!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: changing Nagios XI window tab title

Post 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).
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: changing Nagios XI window tab title

Post by Box293 »

Make sure "whatever" is enclosed in quotes.

Code: Select all

 $pagetitle="whatever";
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked