Hello
I am creating a graph that is reporting traffic based on Rate limit OID - meaning I have 2 OID that for one Link.
the graph is working well - but I need a way to create it as a link in the Weathermap.
In fact I have 2 DS each one from a different Data Source.
I need this to be like regular interface links - with colors and percentages.
Ideas will be welcome!
Mike
Adding Link that is not based on Interface OID
Moderators: Developers, Moderators
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Adding Link that is not based on Interface OID
You can take data from multiple files and add it together. You can also take data for 'in' from a different file to the data for 'out'. You need to know the DS names inside your rrd files though. You can see these in the 'debug graph' output for your graph. If you get them wrong, weathermap will produce an error in the log that tells you what the possible correct ones are, too.
So that is taking the DS named 'dsname' from rrdfile1 and stuffing it into the 'in' value of the link, then taking the 'otherdsname' DS from rrdfile2 and using that for 'out'. If you needed to, you can repeat this to add several values for each of in and out.
Code: Select all
LINK link1
NODES a b
TARGET rrdfile1.rrd:dsname:- rrdfile2.rrd:-:otherdsname
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!)
Who is online
Users browsing this forum: No registered users and 1 guest