Isilon / isilon_data_insights_connector

Connector to fetch stats from OneFS and push them to InfluxDB/Grafana
MIT License
76 stars 36 forks source link

Unable to load the stats processor : influxdb_plugin #144

Closed David-EBIND closed 1 year ago

David-EBIND commented 2 years ago

I'm getting this error after following the steps mentioned.

Influxdb installed is 1.8.10 and the port listening is 8086

Grafana installed is 9.2.4. I have modified the isi_data_insights_d.cfg file with the influxdb auth and have entered my cluster IP as well. But still I'm getting this error and I'm stuck at this step.

David-EBIND commented 2 years ago

For your information, I'm testing to monitor only one cluster which is in 9.2.1.8 Version.

tenortim commented 2 years ago

Hi @David-EBIND, that error means that the code was unable to import the influxdb_plugin.py module. There are several reasons that that could happen:

David-EBIND commented 2 years ago

Hi @tenortim,

I sorted out that stats processor loading error, but now I need to have the SDK version for 9.2.1.8 ? I couldn't able to find the sdk for this specific version. We have it only for the 9_0_0 and 9_1_0.

I would like to know whether 9_0_0 will work for the 9.2.1.8 version ? If yes, what changes i have to make on the sdk utils python file.

tenortim commented 2 years ago

Hi @David-EBIND, The API is versioned and SDK gets built for each version. The stats API endpoint we use hasn't changed since OneFS 8.0 (stats endpoint version 3). So any version will do. The code still has support for 7.2 though that should probably be dropped at this point.

psbl-it commented 2 years ago

Hi @tenortim,

I sorted out that stats processor loading error, but now I need to have the SDK version for 9.2.1.8 ? I couldn't able to find the sdk for this specific version. We have it only for the 9_0_0 and 9_1_0.

I would like to know whether 9_0_0 will work for the 9.2.1.8 version ? If yes, what changes i have to make on the sdk utils python file.

Hey @David-EBIND How were you able to resolve the initial issue? I can't seem to figure it out.

David-EBIND commented 1 year ago

Yes this is working fine, I wonder whether this will work on 9.4.X version ?

tenortim commented 1 year ago

Yes this is working fine, I wonder whether this will work on 9.4.X version ?

Yes, it will/does. The API design uses a versioned model where each subsequent OneFS release bumps the version, and any new endpoints, or endpoints where functionality is changed or extended receive a new (additional) version endpoint, but all of the previous versions are still available and don't change. We guarantee this behavior so that you don't need to change code that leverages the API when a new OneFS release ships. Unless you need to take advantage of the new functionality, you can continue to use the same (older) endpoint version on newer releases of the OS.