[Solved] How do I copy this style/theme/scheme ?
Moderators: Developers, Moderators
[Solved] How do I copy this style/theme/scheme ?
I'd like to copy this look (with different colors):
I've attempted to get there with the attached, but I'd really like to plot the zero baseline, have the x and y labels, but no grid.
How could I remove the rightmost "RRDTOOL / TOBI OETIKER" label as well?
Thanks!
I've attempted to get there with the attached, but I'd really like to plot the zero baseline, have the x and y labels, but no grid.
How could I remove the rightmost "RRDTOOL / TOBI OETIKER" label as well?
Thanks!
- Attachments
-
- graph_3555_1.png (20.46 KiB) Viewed 7644 times
Last edited by MU-IT on Mon Sep 29, 2008 12:38 pm, edited 1 time in total.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: How do I copy this style/theme/scheme ?
I expect if you pay Tobi for all his hard work, he might allow you to remove it...MU-IT wrote: How could I remove the rightmost "RRDTOOL / TOBI OETIKER" label as well?
Thanks!
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
- streaker69
- Cacti Pro User
- Posts: 712
- Joined: Mon Mar 27, 2006 10:35 am
- Location: Psychic Amish Network Administrator
http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html
It appears it's all there. Of course you'd need to modify the php page that creates the graphs with your own settings, but that should give ya a good start.
It appears it's all there. Of course you'd need to modify the php page that creates the graphs with your own settings, but that should give ya a good start.
[b]Cacti Version[/b] - 0.8.7d
[b]Plugin Architecture[/b] - 2.4
[b]Poller Type[/b] - Cactid v
[b]Server Info[/b] - Linux 2.6.18-128.1.6.el5
[b]Web Server[/b] - Apache/2.2.3 (CentOS)
[b]PHP[/b] - 5.2.9
[b]MySQL[/b] - 5.0.45-log
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.3.2.2
[b]Plugins[/b]PHP Network Managing v0.6.1, Global Plugin Settings v0.6,thold v0.4.1,XMLPort v0.3.5,CactiCam v0.1.5,NetTools v0.1.5,pollperf v0.32,RRD Cleaner v1.1,sqlqueries v0.2,superlinks v0.8,syslog v0.5.2,update v0.4,discovery v0.9,zond v0.34a,hostinfo v0.2,Bloom v0.6.5,mactrack v1.1,weathermap v0.96a,mobile v0.1
[b]Plugin Architecture[/b] - 2.4
[b]Poller Type[/b] - Cactid v
[b]Server Info[/b] - Linux 2.6.18-128.1.6.el5
[b]Web Server[/b] - Apache/2.2.3 (CentOS)
[b]PHP[/b] - 5.2.9
[b]MySQL[/b] - 5.0.45-log
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.3.2.2
[b]Plugins[/b]PHP Network Managing v0.6.1, Global Plugin Settings v0.6,thold v0.4.1,XMLPort v0.3.5,CactiCam v0.1.5,NetTools v0.1.5,pollperf v0.32,RRD Cleaner v1.1,sqlqueries v0.2,superlinks v0.8,syslog v0.5.2,update v0.4,discovery v0.9,zond v0.34a,hostinfo v0.2,Bloom v0.6.5,mactrack v1.1,weathermap v0.96a,mobile v0.1
is this a RTFM response?streaker69 wrote:http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html
It appears it's all there. Of course you'd need to modify the php page that creates the graphs with your own settings, but that should give ya a good start.
'cuz i deserved it. a little guess and test and i got it.
thx Streaker.
- streaker69
- Cacti Pro User
- Posts: 712
- Joined: Mon Mar 27, 2006 10:35 am
- Location: Psychic Amish Network Administrator
I wasn't sure if what you wanted was there until I read it myself, but I do like your idea, that graph you posted is pretty slick looking. It would be good if we could modify the Graph template page to include some of those other settings.MU-IT wrote:is this a RTFM response?streaker69 wrote:http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html
It appears it's all there. Of course you'd need to modify the php page that creates the graphs with your own settings, but that should give ya a good start.
'cuz i deserved it. a little guess and test and i got it.
thx Streaker.
There now ya got a task.
[b]Cacti Version[/b] - 0.8.7d
[b]Plugin Architecture[/b] - 2.4
[b]Poller Type[/b] - Cactid v
[b]Server Info[/b] - Linux 2.6.18-128.1.6.el5
[b]Web Server[/b] - Apache/2.2.3 (CentOS)
[b]PHP[/b] - 5.2.9
[b]MySQL[/b] - 5.0.45-log
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.3.2.2
[b]Plugins[/b]PHP Network Managing v0.6.1, Global Plugin Settings v0.6,thold v0.4.1,XMLPort v0.3.5,CactiCam v0.1.5,NetTools v0.1.5,pollperf v0.32,RRD Cleaner v1.1,sqlqueries v0.2,superlinks v0.8,syslog v0.5.2,update v0.4,discovery v0.9,zond v0.34a,hostinfo v0.2,Bloom v0.6.5,mactrack v1.1,weathermap v0.96a,mobile v0.1
[b]Plugin Architecture[/b] - 2.4
[b]Poller Type[/b] - Cactid v
[b]Server Info[/b] - Linux 2.6.18-128.1.6.el5
[b]Web Server[/b] - Apache/2.2.3 (CentOS)
[b]PHP[/b] - 5.2.9
[b]MySQL[/b] - 5.0.45-log
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.3.2.2
[b]Plugins[/b]PHP Network Managing v0.6.1, Global Plugin Settings v0.6,thold v0.4.1,XMLPort v0.3.5,CactiCam v0.1.5,NetTools v0.1.5,pollperf v0.32,RRD Cleaner v1.1,sqlqueries v0.2,superlinks v0.8,syslog v0.5.2,update v0.4,discovery v0.9,zond v0.34a,hostinfo v0.2,Bloom v0.6.5,mactrack v1.1,weathermap v0.96a,mobile v0.1
streaker69 wrote:
I wasn't sure if what you wanted was there until I read it myself, but I do like your idea, that graph you posted is pretty slick looking. It would be good if we could modify the Graph template page to include some of those other settings.
There now ya got a task.
Well, I thought I had it... until i noticed I've lost both the grid and the units of measure along the vertical axis.
It seems can't get the units to show up without the grid... any idea?
I've got the following line in RRD.php line# 769:
Code: Select all
"--x-grid none --y-grid none -c GRID#bfbfaf -c SHADEA#bfbfaf -c SHADEB#bfbfaf -c MGRID#6B6C5B -c CANVAS#B0B0A2 -c FONT#000000 -c BACK#bfbfaf --title="" . $graph["title_cache"] . """ . RRD_NL .
- streaker69
- Cacti Pro User
- Posts: 712
- Joined: Mon Mar 27, 2006 10:35 am
- Location: Psychic Amish Network Administrator
You have the x-grid and y-grid set to none? Not sure about the units of measure, doesn't look like you've posted all the code related to graph creation. I don't have time to look at the rrd.php right now, but maybe later today I will.MU-IT wrote:streaker69 wrote:
I wasn't sure if what you wanted was there until I read it myself, but I do like your idea, that graph you posted is pretty slick looking. It would be good if we could modify the Graph template page to include some of those other settings.
There now ya got a task.
Well, I thought I had it... until i noticed I've lost both the grid and the units of measure along the vertical axis.
It seems can't get the units to show up without the grid... any idea?
I've got the following line in RRD.php line# 769:
for those who are interested.Code: Select all
"--x-grid none --y-grid none -c GRID#bfbfaf -c SHADEA#bfbfaf -c SHADEB#bfbfaf -c MGRID#6B6C5B -c CANVAS#B0B0A2 -c FONT#000000 -c BACK#bfbfaf --title="" . $graph["title_cache"] . """ . RRD_NL .
[b]Cacti Version[/b] - 0.8.7d
[b]Plugin Architecture[/b] - 2.4
[b]Poller Type[/b] - Cactid v
[b]Server Info[/b] - Linux 2.6.18-128.1.6.el5
[b]Web Server[/b] - Apache/2.2.3 (CentOS)
[b]PHP[/b] - 5.2.9
[b]MySQL[/b] - 5.0.45-log
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.3.2.2
[b]Plugins[/b]PHP Network Managing v0.6.1, Global Plugin Settings v0.6,thold v0.4.1,XMLPort v0.3.5,CactiCam v0.1.5,NetTools v0.1.5,pollperf v0.32,RRD Cleaner v1.1,sqlqueries v0.2,superlinks v0.8,syslog v0.5.2,update v0.4,discovery v0.9,zond v0.34a,hostinfo v0.2,Bloom v0.6.5,mactrack v1.1,weathermap v0.96a,mobile v0.1
[b]Plugin Architecture[/b] - 2.4
[b]Poller Type[/b] - Cactid v
[b]Server Info[/b] - Linux 2.6.18-128.1.6.el5
[b]Web Server[/b] - Apache/2.2.3 (CentOS)
[b]PHP[/b] - 5.2.9
[b]MySQL[/b] - 5.0.45-log
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.3.2.2
[b]Plugins[/b]PHP Network Managing v0.6.1, Global Plugin Settings v0.6,thold v0.4.1,XMLPort v0.3.5,CactiCam v0.1.5,NetTools v0.1.5,pollperf v0.32,RRD Cleaner v1.1,sqlqueries v0.2,superlinks v0.8,syslog v0.5.2,update v0.4,discovery v0.9,zond v0.34a,hostinfo v0.2,Bloom v0.6.5,mactrack v1.1,weathermap v0.96a,mobile v0.1
With the x-grid and y-grid set to none this suppresses the grid and labels so if you want the labels you might need to leave that out and set the grid colours the same as the canvas background. I think you're close though. What about trying something like this,
Code: Select all
"-c GRID#B0B0A2 -c SHADEA#bfbfaf -c SHADEB#bfbfaf -c MGRID#B0B0A2 -c CANVAS#B0B0A2 -c FONT#000000 -c BACK#bfbfaf --title=\"" . $graph["title_cache"] . "\"" . RRD_NL ."
I've been there. Still stumped.warnesj wrote: I think you're close though. What about trying something like this,
Code: Select all
"-c GRID#B0B0A2 -c SHADEA#bfbfaf -c SHADEB#bfbfaf -c MGRID#B0B0A2 -c CANVAS#B0B0A2 -c FONT#000000 -c BACK#bfbfaf --title="" . $graph["title_cache"] . """ . RRD_NL ."
The grid goes over my data, like so:
- Attachments
-
- graph_image.png (32.25 KiB) Viewed 7407 times
Okay, how about making the grid colour transparent? Something like this,
Code: Select all
"-c GRID#B0B0A200 -c SHADEA#bfbfaf -c SHADEB#bfbfaf -c MGRID#B0B0A200 -c CANVAS#B0B0A2 -c FONT#000000 -c BACK#bfbfaf --title=\"" . $graph["title_cache"] . "\"" . RRD_NL ."
And warnesj takes the cake.warnesj wrote:Okay, how about making the grid colour transparent? Something like this,
Code: Select all
"-c GRID#B0B0A200 -c SHADEA#bfbfaf -c SHADEB#bfbfaf -c MGRID#B0B0A200 -c CANVAS#B0B0A2 -c FONT#000000 -c BACK#bfbfaf --title="" . $graph["title_cache"] . """ . RRD_NL ."
how is it that i've never come across that transparent malarkey?
Thanks!
- Attachments
-
- graph_image.png (33.18 KiB) Viewed 7368 times
Who is online
Users browsing this forum: No registered users and 0 guests