|
|
| Author |
Message |
egarnel Cacti Pro User
Joined: 21 Nov 2002 Posts: 630 Location: Austin, TX
|
Posted: Wed Nov 01, 2006 12:39 pm Post subject: [INFO] How to customize the Browser title of Cacti |
|
|
I run multiple Cacti servers and view the pages under seperate tabs within Firefox and was tired of trying to remember what tab is what Cacti server
Under <cacti dir>/include
change line 95 in top_graph_header.php from <title>cacti</title>
to <title>servername cacti</cacti>
do the same for line 31 in top_header.php
Last edited by egarnel on Tue Nov 14, 2006 2:27 pm; edited 1 time in total |
|
| Back to top |
|
 |
rony Developer/Forum Admin
Joined: 17 Nov 2003 Posts: 5448 Location: Wisconsin, USA
|
Posted: Wed Nov 01, 2006 2:09 pm Post subject: |
|
|
I don't know why... But I want to add to this thread...
Oooga Booga!!
 |
|
| Back to top |
|
 |
cigamit Developer
Joined: 07 Apr 2005 Posts: 945 Location: B/CS Texas
|
Posted: Wed Nov 01, 2006 11:25 pm Post subject: |
|
|
| Heh, I actually have done this for my 3 servers. Since we have the monitor plugin running, and a browser opened to each one, its much easier to track which server you are looking at this way. |
|
| Back to top |
|
 |
noeq
Joined: 02 Nov 2006 Posts: 2 Location: Kuala Lumpur, MY
|
Posted: Thu Nov 02, 2006 4:20 am Post subject: |
|
|
| Why dont make it can configure from config file or from web based. |
|
| Back to top |
|
 |
Jesper
Joined: 11 Mar 2002 Posts: 33
|
Posted: Thu Nov 02, 2006 9:39 am Post subject: Hostname in title? |
|
|
Would it be possible to add |host_description| to the title?
/Jesper |
|
| Back to top |
|
 |
egarnel Cacti Pro User
Joined: 21 Nov 2002 Posts: 630 Location: Austin, TX
|
Posted: Thu Nov 02, 2006 10:01 am Post subject: Re: Hostname in title? |
|
|
| Jesper wrote: | Would it be possible to add |host_description| to the title?
/Jesper |
The line is actually hard coded with the html syntax, but I'm sure the Cacti Wizards can make it possible. |
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9671 Location: MI, USA
|
Posted: Sun Jan 21, 2007 9:01 am Post subject: |
|
|
egarnel,
Can you be very specific and add a feature request to Mantis?
TheWitness |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12206 Location: Muenster, Germany
|
Posted: Sun Jan 21, 2007 12:16 pm Post subject: |
|
|
Personally, I'm changing my titles as advised above. On my laptop, I have currentyl 4 different versions running. So I would prefer a configurable string as a title option. Perhaps it would be nice to have the hosts hostname as a variable, but there should be a configurable string as well
Reinhard |
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9671 Location: MI, USA
|
Posted: Sun Jan 21, 2007 7:28 pm Post subject: |
|
|
How bout a vote?
TheWitness |
|
| Back to top |
|
 |
egarnel Cacti Pro User
Joined: 21 Nov 2002 Posts: 630 Location: Austin, TX
|
Posted: Mon Jan 22, 2007 9:36 am Post subject: |
|
|
| TheWitness wrote: | egarnel,
Can you be very specific and add a feature request to Mantis?
TheWitness |
Done |
|
| Back to top |
|
 |
cigamit Developer
Joined: 07 Apr 2005 Posts: 945 Location: B/CS Texas
|
Posted: Sat Mar 03, 2007 10:29 pm Post subject: |
|
|
| I have added a hook to the PA SVN that allows a plugin to change the title. Now you can do it was you wish, and even have a plugin do it dynamically based on host, etc... |
|
| Back to top |
|
 |
|