Hi all
Regarding the hover over graph feature on Weathermaps, I prefer there to always be a legend in place and also not to set the graph width and height on the URL as this causes the graph to blur as I use the overlibwidth and height values. Is there a way to get the URL to display as default without the following:
Hover Graph Link URL on link properties:
So when selecting data source I currently get:
/graph_image.php?local_graph_id=1234&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
But i always just want:
/graph_image.php?local_graph_id=1234&rra_id=0
Thanks in advance
Overlib graph link URL insertion
Moderators: Developers, Moderators
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Overlib graph link URL insertion
If you're getting blurry graphs, it's because you're not setting the correct width and height and the browser is scaling it. Open the URL in a browser, and it usually will tell you the dimensions of the image at the top of the window.
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!)
Re: Overlib graph link URL insertion
I have already set the image size correctly in the config file, it only blurs when the default height and width config is put on the overlib graph URL when you first add a datasource to a link.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Overlib graph link URL insertion
Right, because the height and width are incorrect. With width=300 and height=100 on the end of the URL, the resulting image is not 300x100 pixels, for example.smiffy wrote:I have already set the image size correctly in the config file, it only blurs when the default height and width config is put on the overlib graph URL when you first add a datasource to a link.
The line you'll want to change is in cacti-picker.php - just look for the URL in there.
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!)
Re: Overlib graph link URL insertion
Thats done the trick perfectly!! Many thanks
Who is online
Users browsing this forum: No registered users and 0 guests