Hallo zusammen,
ich habe ein HTTPMOD Device names PiHoleInfo, welches ich alle halbe Stunde abfrage. Seit 3 Tagen bekomme ich folgende Meldungen im log-file und keine Updates im Device:
2023.01.07 18:55:20.184 3: PiHoleInfo: no parsed JSON structure available
Ein list des Devices:
define PiHoleInfo HTTPMOD http://127.0.0.1/admin/api.php 1800
attr PiHoleInfo event-on-change-reading .*
attr PiHoleInfo extractAllJSON 1
attr PiHoleInfo getURL http://127.0.0.1/admin/api.php
attr PiHoleInfo group Performance
attr PiHoleInfo icon it_internet
attr PiHoleInfo room Network
attr PiHoleInfo stateFormat DNS-Anfragen: dns_queries_today<br>geblockt: ads_blocked_today (ads_percentage_today_round%)
attr PiHoleInfo userReadings ads_percentage_today_round {round(ReadingsVal('PiHoleInfo','ads_percentage_today',''),1)}
# BUSY 0
# CFGFN ./FHEM/NetzwerkServerTV.cfg
# DEF http://127.0.0.1/admin/api.php 1800
# FUUID 5d3ff28a-f33f-e986-ddb4-c82c89992d7c2681
# Interval 1800
# MainURL http://127.0.0.1/admin/api.php
# ModuleVersion 4.1.14 - 19.8.2022
# NAME PiHoleInfo
# NOTIFYDEV global
# NR 1217
# NTFY_ORDER 50-PiHoleInfo
# STATE DNS-Anfragen: 23721<br>geblockt: 9436 (39.8%)
# TYPE HTTPMOD
# eventCount 2
# value
# HTTPCookieHash:
# PHPSESSID;/:
# Name PHPSESSID
# Options path=/; HttpOnly; SameSite=Strict
# Path /
# Value uq2bps8pkvdcdnu7sb0u3fq9kl
# HttpUtils:
# NAME
# addr http://127.0.0.1:80
# auth 0
# buf
# code 200
# compress 1
# conn
# data
# displayurl http://127.0.0.1/admin/api.php
# header Cookie: PHPSESSID=uq2bps8pkvdcdnu7sb0u3fq9kl
# host 127.0.0.1
# httpheader HTTP/1.0 200 OK
#Expires: Thu, 19 Nov 1981 08:52:00 GMT
#Cache-Control: no-store, no-cache, must-revalidate
#Pragma: no-cache
#Set-Cookie: PHPSESSID=uq2bps8pkvdcdnu7sb0u3fq9kl; path=/; HttpOnly; SameSite=Strict
#Content-type: application/json
#X-Pi-hole: The Pi-hole Web interface is working!
#X-Frame-Options: DENY
#X-XSS-Protection: 1; mode=block
#X-Content-Type-Options: nosniff
#Content-Security-Policy: default-src 'self' 'unsafe-inline';
#X-Permitted-Cross-Domain-Policies: none
#Referrer-Policy: same-origin
#Content-Length: 2
#Connection: close
#Date: Sat, 07 Jan 2023 17:55:20 GMT
#Server: lighttpd/1.4.59
# httpversion 1.0
# hu_blocking 0
# hu_filecount 1
# hu_port 80
# hu_portSfx
# ignoreredirects 1
# loglevel 4
# path /admin/api.php
# protocol http
# redirects 0
# timeout 2
# url http://127.0.0.1/admin/api.php
# sslargs:
# QUEUE:
# READINGS:
# 2023-01-04 13:39:45 ads_blocked_today 9436
# 2023-01-04 13:39:45 ads_percentage_today 39.779099
# 2023-01-07 18:55:20 ads_percentage_today_round 39.8
# 2023-01-04 13:39:45 clients_ever_seen 6
# 2023-01-04 13:39:45 dns_queries_all_replies 23721
# 2023-01-04 13:39:45 dns_queries_all_types 23721
# 2023-01-04 13:39:45 dns_queries_today 23721
# 2023-01-04 13:39:45 domains_being_blocked 177450
# 2023-01-04 13:39:45 gravity_last_updated_absolute 1672541109
# 2023-01-04 13:39:45 gravity_last_updated_file_exists 1
# 2023-01-04 13:39:45 gravity_last_updated_relative_days 3
# 2023-01-04 13:39:45 gravity_last_updated_relative_hours 9
# 2023-01-04 13:39:45 gravity_last_updated_relative_minutes 54
# 2023-01-04 13:39:45 privacy_level 0
# 2023-01-04 13:39:45 queries_cached 4333
# 2023-01-04 13:39:45 queries_forwarded 9685
# 2023-01-04 13:39:45 reply_BLOB 81
# 2023-01-04 13:39:45 reply_CNAME 7640
# 2023-01-04 13:39:45 reply_DNSSEC 0
# 2023-01-04 13:39:45 reply_DOMAIN 0
# 2023-01-04 13:39:45 reply_IP 13655
# 2023-01-04 13:39:45 reply_NODATA 1004
# 2023-01-04 13:39:45 reply_NONE 0
# 2023-01-04 13:39:45 reply_NOTIMP 0
# 2023-01-04 13:39:45 reply_NXDOMAIN 1007
# 2023-01-04 13:39:45 reply_OTHER 0
# 2023-01-04 13:39:45 reply_REFUSED 0
# 2023-01-04 13:39:45 reply_RRNAME 24
# 2023-01-04 13:39:45 reply_SERVFAIL 0
# 2023-01-04 13:39:45 reply_UNKNOWN 310
# 2023-01-04 13:39:45 status enabled
# 2023-01-04 13:39:45 unique_clients 6
# 2023-01-04 13:39:45 unique_domains 3272
# REQUEST:
# context reading
# data
# header
# ignoreredirects 0
# num unknown
# retryCount 0
# type update
# url http://127.0.0.1/admin/api.php
# helper:
# bm:
# CODE(0x559147fa7450):
# cnt 28
# dmx -1000
# dtot 0
# dtotcnt 0
# mTS 07.01. 18:55:20
# max 0.00605201721191406
# tot 0.0191688537597656
# mAr:
# HASH(0x55914fd60ea8)
# PiHoleInfo
# reread
# CODE(0x559147fa8930):
# cnt 5
# dmx -1000
# dtot 0
# dtotcnt 0
# mTS 07.01. 19:03:11
# max 0.000128030776977539
# tot 0.000465869903564453
# mAr:
# HASH(0x55914fd60ea8)
# PiHoleInfo
# ?
# CODE(0x55914811aa20):
# cnt 7
# dmx -1000
# dtot 0
# dtotcnt 0
# mTS 07.01. 18:21:18
# max 1.31130218505859e-05
# tot 7.10487365722656e-05
# mAr:
# HASH(0x55914fd60ea8)
# HASH(0x559142812940)
#
setstate PiHoleInfo DNS-Anfragen: 23721<br>geblockt: 9436 (39.8%)
setstate PiHoleInfo 2023-01-04 13:39:45 ads_blocked_today 9436
setstate PiHoleInfo 2023-01-04 13:39:45 ads_percentage_today 39.779099
setstate PiHoleInfo 2023-01-07 18:55:20 ads_percentage_today_round 39.8
setstate PiHoleInfo 2023-01-04 13:39:45 clients_ever_seen 6
setstate PiHoleInfo 2023-01-04 13:39:45 dns_queries_all_replies 23721
setstate PiHoleInfo 2023-01-04 13:39:45 dns_queries_all_types 23721
setstate PiHoleInfo 2023-01-04 13:39:45 dns_queries_today 23721
setstate PiHoleInfo 2023-01-04 13:39:45 domains_being_blocked 177450
setstate PiHoleInfo 2023-01-04 13:39:45 gravity_last_updated_absolute 1672541109
setstate PiHoleInfo 2023-01-04 13:39:45 gravity_last_updated_file_exists 1
setstate PiHoleInfo 2023-01-04 13:39:45 gravity_last_updated_relative_days 3
setstate PiHoleInfo 2023-01-04 13:39:45 gravity_last_updated_relative_hours 9
setstate PiHoleInfo 2023-01-04 13:39:45 gravity_last_updated_relative_minutes 54
setstate PiHoleInfo 2023-01-04 13:39:45 privacy_level 0
setstate PiHoleInfo 2023-01-04 13:39:45 queries_cached 4333
setstate PiHoleInfo 2023-01-04 13:39:45 queries_forwarded 9685
setstate PiHoleInfo 2023-01-04 13:39:45 reply_BLOB 81
setstate PiHoleInfo 2023-01-04 13:39:45 reply_CNAME 7640
setstate PiHoleInfo 2023-01-04 13:39:45 reply_DNSSEC 0
setstate PiHoleInfo 2023-01-04 13:39:45 reply_DOMAIN 0
setstate PiHoleInfo 2023-01-04 13:39:45 reply_IP 13655
setstate PiHoleInfo 2023-01-04 13:39:45 reply_NODATA 1004
setstate PiHoleInfo 2023-01-04 13:39:45 reply_NONE 0
setstate PiHoleInfo 2023-01-04 13:39:45 reply_NOTIMP 0
setstate PiHoleInfo 2023-01-04 13:39:45 reply_NXDOMAIN 1007
setstate PiHoleInfo 2023-01-04 13:39:45 reply_OTHER 0
setstate PiHoleInfo 2023-01-04 13:39:45 reply_REFUSED 0
setstate PiHoleInfo 2023-01-04 13:39:45 reply_RRNAME 24
setstate PiHoleInfo 2023-01-04 13:39:45 reply_SERVFAIL 0
setstate PiHoleInfo 2023-01-04 13:39:45 reply_UNKNOWN 310
setstate PiHoleInfo 2023-01-04 13:39:45 status enabled
setstate PiHoleInfo 2023-01-04 13:39:45 unique_clients 6
setstate PiHoleInfo 2023-01-04 13:39:45 unique_domains 3272
Was kann ich jetzt tun?
Viele Grüße Gisbert
Laut Zeitstempel hast Du seit 3 Tagen auch keine neuen Daten mehr bekommen
... nur das userReading wird immer neu berechnet
Hast Du vor 3 Tagen auf die "neueste" PiHole-Version upgedatet ?
Hallo OdfFhem,
ZitatHast Du vor 3 Tagen auf die "neueste" PiHole-Version upgedatet ?
Das hatte ich tatsächlich gemacht, hatte es schon wieder vergessen, aber verifiziert, dass ich tatsächlich ein Update gemacht hatte.
Wie geht es jetzt weiter?
Viele Grüße Gisbert
Hilfreiches könnte man ab hier finden: https://forum.fhem.de/index.php/topic,84031.msg1253817.html#msg1253817 (https://forum.fhem.de/index.php/topic,84031.msg1253817.html#msg1253817)
Hallo OdfFhem,
vielen Dank für deinen Hinweis. Ich hab dort mein Anliegen vorgebracht.
Viele Grüße Gisbert