neuralfraud / grafana-prtg

A PRTG Datasource plugin for Grafana
181 stars 75 forks source link

PRTG plug in failed error: Cannont read properties #202

Open LiamKing7845 opened 1 year ago

LiamKing7845 commented 1 year ago

This plug in was working perfectly for months however now all data shows as "Datasource: XXXX was not found".

When going into connections -> data sources I can still see the data source but when clicking on it all of the settings are blank:

image

Another error I am getting is: PRTG plugin failed TypeError: Cannot read properties of undefined (reading 'module')

Thank you

PeterBranagh commented 1 year ago

We are seeing the same. We use Grafana Cloud (current version v10.2.0-60139) and it looks like the depreciation of the AngularJS plugin has come quicker than we had hoped! (https://github.com/neuralfraud/grafana-prtg/issues/201)

Hoping a kind person will be able to update the plugin to React to allow the continuation of PRTG/Grafana integration!

sympatheticmoose commented 1 year ago

Hi @LiamKing7845 @PeterBranagh , David from Grafana here 👋 this particular issue should hopefully be fixed with https://github.com/grafana/grafana/pull/75424 and will roll out to Grafana Cloud shortly.

Just to confirm - angular is only disabled by default for new Grafana Cloud instances at the moment https://grafana.com/docs/grafana/latest/developers/angular_deprecation/. Config for existing instances has not changed.

But yes, unfortunately - unless this plugin is migrated/rewritten, it will soon cease to function.