Forum Home › Forums › Development and Integration › Grafana Integration on RapidScada 6
- This topic has 7 replies, 5 voices, and was last updated 1 year, 8 months ago by
Mikhail.
-
AuthorPosts
-
August 2, 2023 at 1:56 pm #13164
DonRapid
ParticipantHow should we go about integrating graphana with Rapid Scada 6?
I’ve tried using the previous method from 3 years ago but haven’t had success.August 2, 2023 at 2:12 pm #13165greenfoxx
ParticipantHi!
We faced that Grafana plugins, such as grafana-simple-json-datasource, become obsolete too often and unpredictable.
We decided not too use special plugins to integrate Rapid SCADA and Grafana. With Rapid SCADA 6.x you should configure archives to store historical data into database, then display data by Grafana. I suggest storing historical data to PostgreSQL.Could you please check short instructions for working with Grafana
PostgreSQL data source and Rapid SCADA.Work at Grafana:
1. Choose as data source PostgreSQL.
2. Set the data source’s basic configuration options in setting tab.
For example:
Host: The IP address/hostname your PostgreSQL instance
Database: rapid_scada
User: postgres
Password: Database user’s postgres password – postgres
3. Write a sql-query. You can use Query builder or Query editor.
4. Simple query example (Query on one channel, not including into stat = 0, and also not showing a gap, if there is no data in a certain period of time)SELECT time_stamp AS "time", val FROM mod_arc_postgre_sql.mincopy_historical WHERE cnl_num = 101 ORDER BY 1
August 4, 2023 at 2:55 am #13179zzz
ParticipantYou can also try influxd, it has much better storage efficiency (if you plan to store long term data in influxd) and better time series analysis support.
It’s just the configuration is a bit inconventional for DBAs used to sql dbs. Interfacing with SQL db is not hard from influxd, but interfacing with influxd from SQL is a different story.-
This reply was modified 2 years ago by
zzz.
August 7, 2023 at 9:35 am #13196DonRapid
ParticipantGreat Advice thank you.
Is it possible to simply link Rapid Scada 6 to Influx DB Cloud? Or can this only be done with a local hosted DB?
Has anyone done this that can help us with setup instructions?
August 8, 2023 at 9:13 am #13197Mikhail
ModeratorIs it possible to simply link Rapid Scada 6 to Influx DB Cloud?
Yes, it’s possible. Take into account that a free Influx DB cloud tier is very limited.
November 29, 2023 at 7:01 am #13733chika
Participanthello I have tried to follow the youtube tutorial, but the runtime page displays “localhost refused to connect.” (https://drive.google.com/file/d/12FC7OO7hiFGqtKtUP9RXug-e_TYuucd3/view?usp=sharing)
November 29, 2023 at 8:02 am #13734chika
ParticipantOn the Grafana dashboard, the data is displayed. but on fast scada the grafana dashboard is not there https://drive.google.com/file/d/1bbsQ2ZDodRatEUN_1QY1Ztkn_O2V8-NL/view
-
This reply was modified 1 year, 8 months ago by
chika.
November 29, 2023 at 9:31 am #13737 -
This reply was modified 2 years ago by
-
AuthorPosts
- You must be logged in to reply to this topic.