Re: [opennms-devel] New Grafana World Map Plugin for OpenNMS

2017-06-20 Thread David Hustace
> On Jun 20, 2017, at 10:54 AM, Craig Gallen (opennms) > wrote: > > I looked at generating a geohash but it isn't just the asset table, its > is also collected latitude and longitude values which need converted and > this would need to be done in the measurements api. If it can be collected, I

Re: [opennms-devel] New Grafana World Map Plugin for OpenNMS

2017-06-20 Thread Craig Gallen (opennms)
Yes I looked at generating a geohash but it isn't just the asset table, its is also collected latitude and longitude values which need converted and this would need to be done in the measurements api. I wanted to provide a simple initial solution which would make as few changes as possible. The g

Re: [opennms-devel] New Grafana World Map Plugin for OpenNMS

2017-06-20 Thread David Hustace
> On Jun 20, 2017, at 10:54 AM, Craig Gallen (opennms) > wrote: > > With feedback, we may want to revisit the opennms data source but that would > be quite a lot of work. I think you have a good point. We should start with simple and then shoot for best architecture, later. I think the JS

Re: [opennms-devel] New Grafana World Map Plugin for OpenNMS

2017-06-20 Thread David Hustace
> On Jun 20, 2017, at 10:54 AM, Craig Gallen (opennms) > wrote: > > This solution will work with existing OpenNMS implementations. That's nice. It seems another good use case for RangerRick's JS library that has service side version awareness. :David David Hustace The OpenNMS Group, Inc.

Re: [opennms-devel] New Grafana World Map Plugin for OpenNMS

2017-06-20 Thread Markus von Rüden
Of course, the @XmlTransient should not be there - sorry (-: > On 20. Jun 2017, at 16:09, Markus von Rüden wrote: > > Hey Craig, > > why not simply expose the geohash via the opennms rest api. > This would allow you to use the build in plugins. > > The change should be applied to the OnmsGeol

Re: [opennms-devel] New Grafana World Map Plugin for OpenNMS

2017-06-20 Thread Markus von Rüden
Hey Craig, why not simply expose the geohash via the opennms rest api. This would allow you to use the build in plugins. The change should be applied to the OnmsGeolocation object: https://github.com/OpenNMS/opennms/blob/9753e6af616828c62fefae0cbc5c3dc58c09b02f/opennms-model/src/main/java/org/ope

[opennms-devel] New Grafana World Map Plugin for OpenNMS

2017-06-19 Thread Craig Gallen (opennms)
Hi, The stock grafana worldmap-panel allows data points to be displayed as circles of different sizes and colours on a world map. Unfortunately the original panel needs the data coordinates to be supplied as a geohash string which the OpenNMS data source cannot provide. Without modifying the Open