Cacti/plugin_weathermap

Bug Weathermap - Map Style can't change Link Labels to Bits/Sec

Umpheakdeys opened this issue · 14 comments

Hello,

I have a problem with Weathermap can't change map style link labels to Bits/Sec.

I hope to fix this problem soon.

Thank you

Image_20240123130050

Worked for me perfectly. Any errors in the Cacti log?

Worked for me perfectly. Any errors in the Cacti log?

It does not work for me when I change from Percentage to Bits/Sec. After refreshing the Weathermap editor it still Percentage.

image

Record_2024_01_30_13_01_21_415.mp4

Does the web server have write access to the config file?

Does the web server have write access to the config file?

Yes, my web server can write access normally.

image

Hi, I am having the same issue. How to fix it?

Hi, I am having the same issue. How to fix it?

we are still waiting for a new update for the new version hop that can fix this problem.

Hi, I am having the same issue!!!, who know who to fix it??, thanks!!
Cacti Version 1.2.26

workaround I added HTMLSTYLE overlib and BWLABEL bits under regular LINKs section, its seem like global options is not taken options.*

I'm just getting back to work on Cacti guys. Will need some time. Lot's of plugins and then Cacti too.

It looks like this issue is present when creating a a new map via the UI, it doesn't generate a template link. You can work around this by manually adding a template link and setting the BWLABEL option:

# TEMPLATE-only LINKs:
LINK DEFAULT
        WIDTH 5
        ARROWSTYLE compact
        BWLABEL bits
        BANDWIDTH 10000M

Thanks for pointing that out @ZacharyPuls! Let me look into that.

@ZacharyPuls, after a cursory review of the code, there is no where where it sets or saves the default's. Has this worked in the past where the editor had no defaults?

This is resolved now. Please test the develop version.

This is resolved now. Please test the develop version.

Now this problem has been resolved thank you for your help.