plugin_weathermap icon indicating copy to clipboard operation
plugin_weathermap copied to clipboard

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

Open Umpheakdeys opened this issue 1 year ago • 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

Umpheakdeys avatar Jan 23 '24 06:01 Umpheakdeys

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

TheWitness avatar Jan 29 '24 23:01 TheWitness

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

Umpheakdeys avatar Jan 30 '24 05:01 Umpheakdeys

https://github.com/Cacti/plugin_weathermap/assets/86238637/576d89c9-cda5-44f6-9db2-56cec39bb2bb

Umpheakdeys avatar Jan 30 '24 06:01 Umpheakdeys

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

TheWitness avatar Jan 30 '24 17:01 TheWitness

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

Yes, my web server can write access normally.

image

Umpheakdeys avatar Jan 31 '24 11:01 Umpheakdeys

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

Phallideth avatar Feb 22 '24 05:02 Phallideth

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.

Umpheakdeys avatar Feb 28 '24 14:02 Umpheakdeys

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.*

kmorales026 avatar Mar 13 '24 22:03 kmorales026

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

TheWitness avatar Mar 18 '24 14:03 TheWitness

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

ZacharyPuls avatar Jul 08 '24 15:07 ZacharyPuls

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

TheWitness avatar Jul 20 '24 14:07 TheWitness

@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?

TheWitness avatar Jul 21 '24 15:07 TheWitness

This is resolved now. Please test the develop version.

TheWitness avatar Jul 21 '24 20:07 TheWitness

This is resolved now. Please test the develop version.

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

Umpheakdeys avatar Aug 07 '24 15:08 Umpheakdeys