roaldnefs / p1_exporter Goto Github PK
View Code? Open in Web Editor NEWPrometheus exporter for DSMR (Dutch Smart Meter Requirements) using the end-consumer (P1) interface.
Prometheus exporter for DSMR (Dutch Smart Meter Requirements) using the end-consumer (P1) interface.
Hello!
After having used the exporter for 3 hours it suddenly stopped updating the values. stderr was showing msg=EOF
so I restarted the executable. But within two days it happened again.
Situation:
Ubuntu 18.04 armhf on a raspberry 2 with the sole purpose of reading out the values of my DSMR
Output from the exporter shows:
~
root @ meterkast # systemctl status p1_exporter.service
● p1_exporter.service - DSMR P1 Exporter
Loaded: loaded (/etc/systemd/system/p1_exporter.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2020-02-08 20:10:54 CET; 3 days ago
Main PID: 2190 (p1_exporter.lin)
Tasks: 8 (limit: 2150)
CGroup: /system.slice/p1_exporter.service
└─2190 /usr/local/bin/p1_exporter.linux-arm --serial.port /dev/ttyUSB0
Feb 12 13:43:16 meterkast p1_exporter[2190]: time="2020-02-12T13:43:16+01:00" level=error msg=EOF
Feb 12 13:43:26 meterkast p1_exporter[2190]: time="2020-02-12T13:43:26+01:00" level=error msg=EOF
Feb 12 13:43:36 meterkast p1_exporter[2190]: time="2020-02-12T13:43:36+01:00" level=error msg=EOF
Feb 12 13:43:47 meterkast p1_exporter[2190]: time="2020-02-12T13:43:47+01:00" level=error msg=EOF
Feb 12 13:43:57 meterkast p1_exporter[2190]: time="2020-02-12T13:43:57+01:00" level=error msg=EOF
Feb 12 13:44:07 meterkast p1_exporter[2190]: time="2020-02-12T13:44:07+01:00" level=error msg=EOF
Feb 12 13:44:17 meterkast p1_exporter[2190]: time="2020-02-12T13:44:17+01:00" level=error msg=EOF
Feb 12 13:44:27 meterkast p1_exporter[2190]: time="2020-02-12T13:44:27+01:00" level=error msg=EOF
Feb 12 13:44:37 meterkast p1_exporter[2190]: time="2020-02-12T13:44:37+01:00" level=error msg=EOF
Feb 12 13:44:47 meterkast p1_exporter[2190]: time="2020-02-12T13:44:47+01:00" level=error msg=EOF
What can I do to help debug this?
edit: I wrote a simple workaround in my systemd unit so no rush :)
Restart=always
RuntimeMaxSec=3600
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.