nlamirault / pihole_exporter

Prometheus exporter for PiHole metrics
Apache License 2.0
76 stars 20 forks source link

ERRO[0069] Pihole error: json: cannot unmarshal number into Go value of type string source="pihole_exporter.go:143" #8

Closed wjanes closed 5 years ago

wjanes commented 6 years ago

Hi nlamirault

When i start the pihole_explorer i get the following error

ERRO[0069] Pihole error: json: cannot unmarshal number into Go value of type string source="pihole_exporter.go:143"

It seems that it has something to do with the pi_hole API

BR Wolfgang

dr1s commented 6 years ago

Hi Wolfgang,

I got the same issue with this exporter.

Go is not a language I understand, so I wrote my own exporter in Python 3. https://github.com/dr1s/pihole_exporter.py

Sorry for the shameless plug.

nlamirault commented 6 years ago

@wjanes could you try with the version of the develop branch ?

wjanes commented 5 years ago

Oh Hey, sorry for the late answer. I will try it in the next few days when i will install pihole again. BR Wolfgang