Giter Site home page Giter Site logo

grafana-integration's People

Contributors

lblanc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

grafana-integration's Issues

A problem occurs. Response code was 400 - value out of range

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

Valeurs anormales

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.