mehdy / keepalived-exporter

Prometheus Keepalived exporter
GNU General Public License v3.0
121 stars 40 forks source link

Cannot start exporter: unexpected end of JSON input #44

Closed yasharne closed 4 years ago

yasharne commented 4 years ago

Hi When I try to run the exporter, I get this fatal error:

FATA[0000] Error unmarshalling signum result             error="unexpected end of JSON input" signal=DATA

I'm using version 1.0.3 of the exporter on centos7 and keepalived version 1.3.5

clwluvw commented 4 years ago

@yasharne Can you please share the result of this command:

keepalived --signum=DATA
yasharne commented 4 years ago

@clwluvw I get this error on --signum=DATA:

flag provided but not defined: -signum

Using -signum=DATA also has a same error:

flag provided but not defined: -signum
clwluvw commented 4 years ago

@yasharne It seems --signum is introduced in keepalived v1.3.8 You can update you keepalived to fix this issue.

clwluvw commented 4 years ago

We will also check to see if we can support these versions or not CC: @mehdy