Displaying different data with links
Moderators: Developers, Moderators
Displaying different data with links
Hello,
Been searching the forum for an answer but cannot find it. Probably searching the wrong thing!
Trying to display power from UPS to L1(rack) and to PDU. I have the data sources and they are displaying correctly as graphs. However the links are designed for bandwidth. Is there a way to display it for different data and to set a max percentage.
Sorry if there is docs on this, couldn't find it!
Been searching the forum for an answer but cannot find it. Probably searching the wrong thing!
Trying to display power from UPS to L1(rack) and to PDU. I have the data sources and they are displaying correctly as graphs. However the links are designed for bandwidth. Is there a way to display it for different data and to set a max percentage.
Sorry if there is docs on this, couldn't find it!
Re: Displaying different data with links
No ideas? Did I not ask the question very well?
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Displaying different data with links
Hmm, I posted a reply, but it disappeared...
You should look at:
[*] Use "linkstyle oneway" to show only one arrow (power is one direction)
[*] Use "TARGET gauge:myrrdfile.rrd" to stop weathermap from multiplying by 8 when it reads the data
[*] Use BANDWIDTH to specify the maximum current/power in the same units that will be read from the rrd file.
You should look at:
[*] Use "linkstyle oneway" to show only one arrow (power is one direction)
[*] Use "TARGET gauge:myrrdfile.rrd" to stop weathermap from multiplying by 8 when it reads the data
[*] Use BANDWIDTH to specify the maximum current/power in the same units that will be read from the rrd file.
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: Displaying different data with links
Just tried it but it's displaying 0, cannot find anything in the logs? I have:
LINK node99999-node88888
LINKSTYLE oneway
INFOURL /cacti/graph.php?rra_id=all&local_graph_id=001
OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=001&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
TARGET gauge:/var/www/html/cacti/rra/myrrdfile.rrd
NODES node09797 node23424
BANDWIDTH 100
By the way, thank you for all your help so far.
LINK node99999-node88888
LINKSTYLE oneway
INFOURL /cacti/graph.php?rra_id=all&local_graph_id=001
OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=001&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
TARGET gauge:/var/www/html/cacti/rra/myrrdfile.rrd
NODES node09797 node23424
BANDWIDTH 100
By the way, thank you for all your help so far.
Re: Displaying different data with links
Any ideas?
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Displaying different data with links
Run with DEBUG logging for one poller cycle, then check the logs. You'll see a bunch of lines mark WEATHERMAP and also "ReadData" which are the logging from the data-collection part of weathermap. That will show you what is being fetched from the RRD file. My guess is that you need to specify DS names on the end of the target, but you would be getting warnings in the cacti.log for that (even without DEBUG logging).
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: Displaying different data with links
Can't find anything, a lot of info to sort through and I don't really know what I'm looking for. Is there anything else I could try?
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Displaying different data with links
You could guess I suppose... The logs tell you exactly what is going on, though.
You are looking for the lines like
All lines have the map name in them, and for ReadData it will have the link/node name too.
You are looking for the lines like
Code: Select all
RRD ReadData: Headings are:
RRD ReadDataFromRealRRD: Returning
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 3 guests