lblanc / grafana-integration Goto Github PK
View Code? Open in Web Editor NEWDocker Image with Telegraf, InfluxDB and Grafana with DataCore SANsymphony's dashboard & REST script included
License: MIT License
Docker Image with Telegraf, InfluxDB and Grafana with DataCore SANsymphony's dashboard & REST script included
License: MIT License
SANsymphony : 10.0 PSP 13 (15.0.1300.34171)
Bonjour,
Tout d'abord merci pour le travail effectué sur ce projet.
J'ai l'erreur suivante lorsque j'utilise les scripts de récupération au moment de l'envoi des données vers Influxdb :
A problem occurs. Response code was 400
Avec de nombreux messages de log identiques au suivant :
{"error":"unable to parse 'DataCore_Servers,instance=SRV-DATACORE02\\ in\\ XXX-SDSGROUP,objectname=DataCore\\ Servers,host=SRV-DATACORE02,id=B98ED8CF-51FC-487E-9D9A-508BE5F4A0CE,OsVersion=Microsoft\\ Windows\\ Server\\ 2019\\ Datacenter\\ \\ Build\\ 17763,ProductBuild=15.0.1300.34171,ProductVersion=10.0\\ PSP\\ 13,ProductName=DataCore\\ SANsymphony,ProductType=Standard,Caption=SRV-DATACORE02 PollerLoad=0 -62135596800000000000': strconv.ParseInt: parsing \"-62135596800000000000\": value out of range
Bonjour
Lors de l'utilisation du script datacore_get_perf.py , j'ai régulièrement des valeurs anormales sur la datation des enregistrements dans influxdb
Un enregistrement correct:
DataCore_Physical_disk,instance=SSY1-NVMe1\ on\ orsw-2018-0001,objectname=DataCore\ Physical\ disk,host=orsw-2018-0001,id={8a8ea79e-2e9d-471b80c4-9c1a23af9c49},Serial=FE49_0104_80CF_0400.,Type=4,Caption=SSY1-NVMe1 DiskStatus=1 1593703097084000000
Un enregistrement incorrect:
DataCore_Physical_disk,instance=MSA2-V4-SSY2\ on\ orsw-2018-0002,objectname=DataCore\ Physical\ disk,host=orsw-2018-0002,id={07fdf856-2260-4eba-9ffc-3574f040c281},Serial=00c0ff268f150000dfbdad5d01000000,Type=4,Caption=MSA2-V4-SSY2 MaxReadWriteTime=0 253402300799999000
J'ai patché le script pour recaler la datation à la date courante (+ 1" pour ne pas ecarter les valeurs correctes), mais ce n'est surement pas une bonne solution car cela apporte un biais dans les mesures.
...
import time
recaltime=1
....
min(int((time.time()+recaltime)*1000000000),int(data["Performances"]["CollectionTime"][6:-2])*1000000))
Est-ce une anomalie de l'API ? ou autre....
Votre aide serait bienvenue
En vous remerciant par avance de l'aide que vous pourriez m'apporter
Pascal
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.