Zabbix-Network-Weathermap icon indicating copy to clipboard operation
Zabbix-Network-Weathermap copied to clipboard

Question about Links

Open daniloulbrecht opened this issue 7 years ago • 5 comments

First of all, congratulations for this project. Is there a way to overcome this boring behavior? https://support.zabbix.com/browse/ZBXNEXT-442

For example, in my map I have only two devices connected each other with two links, but I can only see one link, because one stay behind another.

link-1: node1: node-2 node2: node-3 name1: Switch_L2 name2: Switch_L3 hostname: Switch_L3 itemin: net.if.in[ifHCInOctets.1] itemout: net.if.out[ifHCOutOctets.1] link-2: node1: node-2 node2: node-3 name1: Switch_L2 name2: Switch_L3 hostname: Switch_L3 itemin: net.if.in[ifHCInOctets.2] itemout: net.if.out[ifHCOutOctets.2] link-4: node1: node-6 node2: node-3 name1: Cloud_(128) name2: Switch_L3 hostname: Switch_L3 itemin: net.if.in[ifHCInOctets.3] itemout: net.if.out[ifHCOutOctets.3]

Thank you! capture

daniloulbrecht avatar Oct 12 '18 16:10 daniloulbrecht

Hi, Thanks. There is a solution to this problem: https://github.com/Prototype-X/Zabbix-Network-Weathermap/issues/23

Prototype-X avatar Oct 12 '18 18:10 Prototype-X

The solution https://github.com/Prototype-X/Zabbix-Network-Weathermap/issues/23 does not work as expected. The only thing was made was a copy of one link (node x to node y) to another new link. But my problem is other, the links stays one under another. Is there any workaround?

Thank you.

daniloulbrecht avatar Oct 15 '18 13:10 daniloulbrecht

Yes. Open mapname.yaml file find link with option copy: true and change node x, y(for node-nridx7c0 and node-uwf443jw). Modify x, y until these links are fully visible.

node-nridx7c0:
  name: net1
  x: 10
  y: 20
node-uwf443jw:
  name: net1
  x: 870
  y: 500
link-lyonlz7x:
  node1: node-nridx7c0
  node2: node-uwf443jw
  name1: net1
  name2: net2
  copy: true
  hostname: R10
  itemin: ifHCOutOctets[1/6]
  itemout: ifHCInOctets[1/6]

Prototype-X avatar Oct 16 '18 11:10 Prototype-X

Prototype-X I would like to say thank you. Now I got It how it works. Is there a way do use curves in arrows? I tried the command "via" without success.

daniloulbrecht avatar Oct 17 '18 13:10 daniloulbrecht

Now curved arrows are not supported, maybe support will be in future releases. You are welcome! :)

Prototype-X avatar Oct 17 '18 17:10 Prototype-X