librenms-plugins / Weathermap

MIT License
64 stars 51 forks source link

Adding a fix to allow IPv6 addresses by replacing ":" with underscore #80

Open ClementPrimot opened 2 years ago

ClementPrimot commented 2 years ago

During the conception of our weathermap @ Telerys Communication, we noticed that devices's RRD with IPv6 addresses are stored with this format: XXXX_XXXX_XXXXXXXX. PHP Weathermap use ":" instead of "".

This fix replaces ":" by "_" to allow the usage of IPv6 devices with PHP Weathermap.