In the editor we can choose between Percentage or Bit/Sec for the values in link's labels in Map style. Actually I Want to display both.
Is there a way ?
Display percentage and Bandwithd in link's labels
Moderators: Developers, Moderators
Display percentage and Bandwithd in link's labels
Last edited by VictorJ on Mon Apr 10, 2017 11:09 am, edited 1 time in total.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Display percentage and Bandwithd in link's labels
Yes, use inbwformat and outbwformat in the default link (or the link you want to format this way).
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: Display percentage and Bandwithd in link's labels
Thanks Howie for your immediate respond.
Re: Display percentage and Bandwithd in link's labels
Talking about links, quick question
Is there any variable we can use to make this?
RRD file names are made up for the example
I did try this but i'm getting this. Looks like it sort of does that but appends 'NODE' to it.
It's not a request, just asking maybe there is something already I could use.
Thanks
Is there any variable we can use to make this?
RRD file names are made up for the example
Code: Select all
LINK node1-node2
TARGET {link:this:a}_up.rrd:42:- {link:this:a}_down.rrd:-:42
NODES node1 node2
Code: Select all
04/11/2017 11:30:12 AM - WEATHERMAP: Poller[0] WARNING: [Map 130] MAP.conf: Target /var/lib/x/y/z/NODE node1-if_eth1-up-d.rrd doesn't exist. Is it a file? [WMRRD06]
Thanks
Cacti - 1.2.15
Poller Type - Spine
Weathermap 0.98a
Server Info - Linux 3.10.0 - Centos 7
Web Server - Apache/2.4.6 PHP 5.4.16
MySQL - 5.5 ;RRDTool - 1.4.8 ;SNMP - 5.7.2
Religion - Anti forum pets
Poller Type - Spine
Weathermap 0.98a
Server Info - Linux 3.10.0 - Centos 7
Web Server - Apache/2.4.6 PHP 5.4.16
MySQL - 5.5 ;RRDTool - 1.4.8 ;SNMP - 5.7.2
Religion - Anti forum pets
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Display percentage and Bandwithd in link's labels
This is not documented, but is in the code for at least 0.98...
Try {node:_linkstart_:name} and {node:_linkend_:name} to get the names for the two nodes.
This isn't very pretty, but it should work.
Try {node:_linkstart_:name} and {node:_linkend_:name} to get the names for the two nodes.
This isn't very pretty, but it should work.
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: Display percentage and Bandwithd in link's labels
Yeahhhh I knew it!Howie wrote:This is not documented, but is in the code for at least 0.98...
Try {node:_linkstart_:name} and {node:_linkend_:name} to get the names for the two nodes.
This isn't very pretty, but it should work.
Thank you!
Cacti - 1.2.15
Poller Type - Spine
Weathermap 0.98a
Server Info - Linux 3.10.0 - Centos 7
Web Server - Apache/2.4.6 PHP 5.4.16
MySQL - 5.5 ;RRDTool - 1.4.8 ;SNMP - 5.7.2
Religion - Anti forum pets
Poller Type - Spine
Weathermap 0.98a
Server Info - Linux 3.10.0 - Centos 7
Web Server - Apache/2.4.6 PHP 5.4.16
MySQL - 5.5 ;RRDTool - 1.4.8 ;SNMP - 5.7.2
Religion - Anti forum pets
Who is online
Users browsing this forum: No registered users and 4 guests