software:controller:vzlogger:overview_en
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| software:controller:vzlogger:overview_en [2018/04/01 15:30] – Titel jau | software:controller:vzlogger:overview_en [2022/04/21 20:09] (aktuell) – draw even with german version jau | ||
|---|---|---|---|
| Zeile 3: | Zeile 3: | ||
| **vzlogger**... | **vzlogger**... | ||
| * is a tool to read and log measurements of a wide variety of smartmeters and sensors to the volkszaehler.org middleware. | * is a tool to read and log measurements of a wide variety of smartmeters and sensors to the volkszaehler.org middleware. | ||
| - | * can run as a daemon in background | + | * runs as a daemon in background. |
| * includes a tiny onboard HTTPd to serve realtime readings to the AJAX web frontend. | * includes a tiny onboard HTTPd to serve realtime readings to the AJAX web frontend. | ||
| ===== Features ===== | ===== Features ===== | ||
| * evaluates middleware return code | * evaluates middleware return code | ||
| - | * buffering readings in case of: | + | * buffering readings |
| * network timeout | * network timeout | ||
| * invalid middleware return code/ | * invalid middleware return code/ | ||
| Zeile 51: | Zeile 51: | ||
| ===== Configuration ===== | ===== Configuration ===== | ||
| + | < | ||
| The vzlogger configuration is done with a file containing JSON encoded settings. General settings also can be set via the [[# | The vzlogger configuration is done with a file containing JSON encoded settings. General settings also can be set via the [[# | ||
| Zeile 80: | Zeile 80: | ||
| ^long^short| | | | ^long^short| | | | ||
| |%%--%%config|-c|/ | |%%--%%config|-c|/ | ||
| - | |%%--%%log|-o|/ | + | |%%--%%log|-o|/ |
| - | |%%--%%daemon|-d|// | + | |
| |%%--httpd%%|-l|// | |%%--httpd%%|-l|// | ||
| - | |%%--httpd-port%%|-p|8080|TCP port for HTTPd| | + | |%%--httpd-port%%|-p|8081|TCP port for HTTPd| |
| |%%--%%help|-h| |show short help| | |%%--%%help|-h| |show short help| | ||
| |%%--%%verbose|-v// | |%%--%%verbose|-v// | ||
| |%%--%%version|-V| |show version of vzlogger| | |%%--%%version|-V| |show version of vzlogger| | ||
| + | |||
| + | ===== Exit-Codes ===== | ||
| + | For diagnostics usally the logfile is used because of vzlogger running under control of systemd. In cases this is not possible exit-codes will be shown.\\ | ||
| + | E.g. calling '' | ||
| + | ^code^text^meaning^ | ||
| + | |1|FAILURE|generic failure, is also generated by unfeasible configuration when vzlogger is closed because of no active meters (example config from git)| | ||
| + | |64|USAGE|cli argument is bad| | ||
| + | |71|OSERR|moving service to background (daemon) didn't work out| | ||
| + | |73|CANTCREAT|vzlogger lacks the rights to write logfile| | ||
| + | |78|CONFIG|brocken syntax in config-file| | ||
| ===== Links ===== | ===== Links ===== | ||
software/controller/vzlogger/overview_en.1522589404.txt.gz · Zuletzt geändert: von jau