How to draw lines at an angle of 90°
Moderators: Developers, Moderators
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: How to draw lines at an angle of 90°
Not sure what you mean by rectangular frame... you mean the box around the node? It's always centred at the POSITION point.
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: How to draw lines at an angle of 90°
Hmm, i meah the box, on the link.
- Attachments
-
- Без названия1_20200615151025.png (84.54 KiB) Viewed 5111 times
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: How to draw lines at an angle of 90°
Check out the diagram on the front page of the manual. It covers a lot of these (including this one).
https://www.network-weathermap.com/manu ... /howto.png
https://www.network-weathermap.com/manu ... /howto.png
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: How to draw lines at an angle of 90°
I have seen this picture. When i type BWLABELPOS (Example 7) nothing happens... Example:Howie wrote: ↑Mon Jun 15, 2020 7:13 am Check out the diagram on the front page of the manual. It covers a lot of these (including this one).
https://www.network-weathermap.com/manu ... /howto.png
LINK node03018-node03020
WIDTH 2
BWLABELPOS 7
NODES node03018 node03020
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: How to draw lines at an angle of 90°
1) The logs will tell you that this is invalid
2) The reason it's invalid is that you need to give TWO numbers. One for the 'in' box and one for the 'out' box.
2) The reason it's invalid is that you need to give TWO numbers. One for the 'in' box and one for the 'out' box.
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: How to draw lines at an angle of 90°
Hello Howie, your previous answers very helpful, pls, can u give another one answer for my question? I found similar topic, but cannot find solution for my problem.
We have a node, how i can change the color in this rectangle? By default is white. And for example, when Node crashing, it change color in red or yellow. I attach the picture below. Thank you Howie!
We have a node, how i can change the color in this rectangle? By default is white. And for example, when Node crashing, it change color in red or yellow. I attach the picture below. Thank you Howie!
- Attachments
-
- Без іме6768768ні.png (8.67 KiB) Viewed 5090 times
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: How to draw lines at an angle of 90°
Where are you getting the information that it is crashing from? Cacti status or something else?
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: How to draw lines at an angle of 90°
It will be a lot of manual work... nodes often have more than one link. So you'd want the total of all those links. And when you add a new link, add it to the right nodes.
Code: Select all
SCALE zerotraffic 0 0.1 255 0 0
SCALE zerotraffic 0 100 0 255 0
NODE n1
TARGET link1.rrd link2.rrd link3.rrd
USESCALE zerotraffic
Re: How to draw lines at an angle of 90°
EAleg wrote: ↑Thu Jul 02, 2020 3:46 amIt will be a lot of manual work... nodes often have more than one link. So you'd want the total of all those links. And when you add a new link, add it to the right nodes.
Code: Select all
SCALE zerotraffic 0 0.1 255 0 0 SCALE zerotraffic 0 100 0 255 0 NODE n1 TARGET link1.rrd link2.rrd link3.rrd USESCALE zerotraffic
Oka-a-y, what if vice versa? How to draw so that only nodes are visible on the map? It turns out that the links should be invisible or something... There are 5 cities, say, and make sure that only they are displayed in working condition. And if the node falls off, it lights up in red.
- Attachments
-
- hren'.png (22.58 KiB) Viewed 5084 times
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: How to draw lines at an angle of 90°
Do the same thing with the node targets, but don't add the links. The game is the same - you need a value to check if it's zero.
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: How to draw lines at an angle of 90°
Good Day Howie, pls, tell me, how make one link between two maps, for example map#1 Kiev to map#2 London? What i must type in link or node?
I found this guide https://www.network-weathermap.com/2016 ... ween-maps/ but i cannot understand this guide )=
Thank you for answer!
I found this guide https://www.network-weathermap.com/2016 ... ween-maps/ but i cannot understand this guide )=
Thank you for answer!
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: How to draw lines at an angle of 90°
UImm, I wrote the guide, so I guess I'm the wrong person to answer...
You get the URL of the other map's Cacti page, and you put it in INFOURL for the node you want to click on the first map.
You get the URL of the other map's Cacti page, and you put it in INFOURL for the node you want to click on the first map.
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: How to draw lines at an angle of 90°
E-m-m-m what i must type in the LINK? O_o Or how i must connect link?
Who is online
Users browsing this forum: No registered users and 1 guest