call inflxu
This commit is contained in:
parent
e2dde9cad9
commit
45cc8db7c3
@ -283,6 +283,10 @@ int forwardMinuteBuffer(t_forwarderHandle *handle, t_minuteBuffer *buf) {
|
||||
return -1;
|
||||
}
|
||||
logmsg(LOG_INFO, "Payload: %s", payload);
|
||||
res = httpPostRequest(handle->influxUrl, handle->influxUser, handle->influxPass, payload);
|
||||
if (res == 0) {
|
||||
logmsg(LOG_INFO, "Successfully sent to InfluxDB");
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user