Vis.js visualization library

Hi

I’m sure you are aware of this visualisation library, it seems like a perfect fit for network weathermap no? http://visjs.org/network_examples.html

Also, would it not be a more modern approach to decouple from legacy RRD/Cacti/Munin/Nagios whatever, and provide a more modular way of integrating with for example Grafana or directly from any of it’s time series databases?

Thanks

1 Like

Data access is already modular - that’s what the lib/datasource plugins do. The most commonly used one is the rrd plugin, but there is very little “special” rrd code outside of that plugin (one line in the command-line tool to tell it where to find the rrdtool binary). In the editor, the target picker there is Cacti-specific currently, but it’s planned to make that plugin driven too. You can paste in targets for other data sources with no issues though.

Vis.js looks like it could do some of the same things as Weathermap, yes. It doesn’t appear to have a link style that is the same as the current one though, and maps would look quite a bit different from the same configuration, I think.

I have a proof-of-concept for a javascript version of weathermap that draws links the same way as the current PHP version does. That’s more likely to be where it goes eventually.

I just remembered that I made a video of the javascript work I’ve been working on slowly: https://www.youtube.com/watch?v=hlFpgCTbQFY&t=19s

1 Like