Custom Web Pages
Moderators: Developers, Moderators
Custom Web Pages
Hey all - I am looking to do some custom displays for graphs outside of the tree views that come with Cacti. Not the graphs themselves but how they are presented to my NOC techs. Like for example I am asked if I can display ingress | egress interfaces side by side and then do someother groupings
I am thinking that the Superlinks Plug-In is my baby but was curious to know if someone could push me in the right direction on how to imbed graphs into the custom page.
I would know what graphs I wanted to show but just need to know how to call them in an html file or one of the other files in the superlinks content samples.
If anyone has any suggestions that would be greatly appreciated. This would go a long way for the NOC techs in my env.
I am thinking that the Superlinks Plug-In is my baby but was curious to know if someone could push me in the right direction on how to imbed graphs into the custom page.
I would know what graphs I wanted to show but just need to know how to call them in an html file or one of the other files in the superlinks content samples.
If anyone has any suggestions that would be greatly appreciated. This would go a long way for the NOC techs in my env.
I'd say to start with, check out QuickTree.
http://forums.cacti.net/viewtopic.php?t ... torder=asc
If you're using Netcool and creating right clicks to maps within the web gui, a combination of this and weathermap should do you well.
http://forums.cacti.net/viewtopic.php?t ... torder=asc
If you're using Netcool and creating right clicks to maps within the web gui, a combination of this and weathermap should do you well.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
As long as whoever is viewing the custom page is logged into Cacti (and they would be of course if it's superlinks) you just need HTML image tags:
or
if you want it to be clickable. (where 69 is the graph id in both cases).
Code: Select all
<img src="/cacti/graph_image.php?action=view&local_graph_id=69&rra_id=1">
Code: Select all
<a href="/cacti/graph.php?action=view&rra_id=all&local_graph_id=69">
<img src="/cacti/graph_image.php?action=view&local_graph_id=69&rra_id=1"></a>
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: Custom Web Pages
I installed Quick Tree on 8.8b, allowed it for Admin user, but don't see any changes: it supposed to add some icons right to the graphs?
Re: Custom Web Pages
It should add a green "plus" sign next to your graph. You click it and it adds it to the QuickTree tab. Unfortunately, at least for me, QuickTree 0.2 is broken with Cacti 0.8.8b.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Custom Web Pages
I'll take a look in the next few days, when I get a moment. You should get a green + on the graph detail page (the one with the hourly, weekly, yearly graphs)
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: Custom Web Pages
Hey Howie.
I'd love to know if you found anything. The plus sign is there, but there are no graphs added on the QuickTree page.
I'd love to know if you found anything. The plus sign is there, but there are no graphs added on the QuickTree page.
Who is online
Users browsing this forum: No registered users and 3 guests