[vz-users] vzlogger loggt nur im daemon Modus

RaspberryVZ raspberry_vz at gmx.de
Mon Oct 30 20:48:07 CET 2017


Hallo,

wie im Wiki beschrieben, kann man bei selteneren Abfragen auch den 
vzlogger per cron laufen lassen. Das wollte ich nun auch wieder so 
machen (lief bei mir lange problemlos).

Habe aber nun komplett neu aufgesetzt und er schreibt nur noch im daemon 
mode in die Datenbank.

Das Log dazu im Nicht-daemon Mode sieht so aus (gekürzt um 
nichtbenötigte Zählerwerte):

[Oct 29 22:20:35][mtr0] Reading: 
id=1-0:1.8.0*255/ObisIdentifier:1-0:1.8.0*255 value=33114398.90 
ts=1509312035456
[Oct 29 22:20:35][chn0] Adding reading to queue (value=33114398.90 
ts=1509312035456)
[Oct 29 22:20:35][chn0] ==> number of tuples: 1
[Oct 29 22:20:35][chn0] compare: 0 1509312035456
[Oct 29 22:20:35][chn0] copied 1/1 values for middleware transmission
[Oct 29 22:20:35][chn0] JSON request body: [ [ 1509312035456, 
33114398.900000002 ] ]
[Oct 29 22:20:35][mtr0] Stopped reading.
[Oct 29 22:20:35][]     Server stopped.
[Oct 29 22:20:35][]     Trying to delete curlSessionProvider...
[Oct 29 22:20:35][chn0] CURL: Curl_http_done: called premature == 1
[Oct 29 22:20:35][chn0] CURL: stopped the pause stream!
[Oct 29 22:20:35][chn0] CURL: Closing connection 0
[Oct 29 22:20:35][]     deleted curlSessionProvider

########################################################################
dagegen im daemon Mode:

[Oct 29 22:11:57][mtr0] Reading: 
id=1-0:1.8.0*255/ObisIdentifier:1-0:1.8.0*255 value=33114287.50 
ts=1509311517799
[Oct 29 22:11:57][chn0] Adding reading to queue (value=33114287.50 
ts=1509311517799)
[Oct 29 22:11:57][chn0] ==> number of tuples: 1
[Oct 29 22:11:57][chn0] compare: 0 1509311517799
[Oct 29 22:11:57][chn0] copied 1/1 values for middleware transmission
[Oct 29 22:11:57][chn0] JSON request body: [ [ 1509311517799, 33114287.5 ] ]
[Oct 29 22:11:57][chn0] CURL:   Trying 127.0.0.1...
[Oct 29 22:11:57][chn0] CURL: TCP_NODELAY set
[Oct 29 22:11:57][chn0] CURL: Connected to localhost (127.0.0.1) port 80 
(#0)
[Oct 29 22:11:57][chn0] CURL: Sent 33 bytes..
[Oct 29 22:11:57][chn0] CURL: Sent '[ [ 1509311517799, 33114287.5 ] ]' bytes
[Oct 29 22:11:57][chn0] CURL: upload completely sent off: 33 out of 33 bytes
[Oct 29 22:11:57][chn0] CURL: HTTP 1.0, assume close after body
[Oct 29 22:11:57][chn0] CURL: Received 26 bytes
[Oct 29 22:11:57][chn0] CURL: Received '{"version":"0.3","rows":1}' bytes
[Oct 29 22:11:57][chn0] CURL: Curl_http_done: called premature == 0
[Oct 29 22:11:57][chn0] CURL: Closing connection 0
[Oct 29 22:11:57][chn0] CURL Request succeeded with code: 200
[Oct 29 22:11:57][chn0] emptied all (1) values


Wo könnte ich suchen oder ist das by design, weil die Daten irgendwo 
gecached (queue?) werden?

Danke.
Frank


More information about the volkszaehler-users mailing list