How to disable the Graph / Source Properties
Moderators: Developers, Moderators
How to disable the Graph / Source Properties
Hi All...
I'm using Cacti to provide bandwitdh usage for my customers. It's realy a grate software.
I want to disable the link to Graph / Source Properties.
How ?
Regards
Tullio
I'm using Cacti to provide bandwitdh usage for my customers. It's realy a grate software.
I want to disable the link to Graph / Source Properties.
How ?
Regards
Tullio
- Attachments
-
- cacti.jpg (4.48 KiB) Viewed 2117 times
Re: How to disable the Graph / Source Properties
Hope the following answer can help you:
-Change the directory path to cacti directory, normally at /var/www/cacti/:
[/b]
then vim following files:
graph.php
graph.php.rej
find and delete all the following lines of those files:
-Then Change the directory path to:
[/b]
then vim following files:
html.php
html.php.rej
find and delete all the following lines of those files:
then restart httpd service
cheers... !!
-Change the directory path to cacti directory, normally at /var/www/cacti/:
Code: Select all
cd /var/www/cacti/
then vim following files:
graph.php
graph.php.rej
find and delete all the following lines of those files:
Code: Select all
<a href='<?php print htmlspecialchars($config['url_path'] . "graph.php?action=properties&local_graph_id=" . $graph["local_graph_id"] . "&rra_id=0&" . $extra_url_args);?>'><img src='<?php print $config['url_path'];?>images/graph_properties.gif' border='0' alt='Graph Source/Properties' title='Graph Source/Properties' style='padding: 3px;'></a><br>
Code: Select all
cd /var/www/cacti/lib/
then vim following files:
html.php
html.php.rej
find and delete all the following lines of those files:
Code: Select all
<a href='<?php print htmlspecialchars($config['url_path'] . "graph.php?action=properties&local_graph_id=" . $graph["local_graph_id"] . "&rra_id=0&" . $extra_url_args);?>'><img src='<?php print $config['url_path'];?>images/graph_properties.gif' border='0' alt='Graph Source/Properties' title='Graph Source/Properties' style='padding: 3px;'></a><br>
Code: Select all
service httpd restart
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: How to disable the Graph / Source Properties
The *.rej files are of no use. They are a result of a failing patch command.
R.
R.
Re: How to disable the Graph / Source Properties
Hello
Is there any other way to do it from the user privileges?
Is there any other way to do it from the user privileges?
-
- Cacti User
- Posts: 62
- Joined: Fri Sep 23, 2011 2:48 pm
Re: How to disable the Graph / Source Properties
I don't believe there is.abouabed wrote:Hello
Is there any other way to do it from the user privileges?
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: How to disable the Graph / Source Properties
No. This would be a new feature requestabouabed wrote:Hello
Is there any other way to do it from the user privileges?
R.
Re: How to disable the Graph / Source Properties
Hi all,
Remove that lines in graph.php and html.php would disable the link to Graph Source/Properties in Tree mode.
How to disable that link in Preview mode?
Thanks,
Remove that lines in graph.php and html.php would disable the link to Graph Source/Properties in Tree mode.
How to disable that link in Preview mode?
Thanks,
Who is online
Users browsing this forum: No registered users and 0 guests