kasa-collector
kasa-collector copied to clipboard
Health Check is failing
I always get this message. By visiting the code, I cannot find this file at all.
kasa-collector | kasa-init: Starting Health Check
kasa-collector | /kasa-collector/kasa-collector-init.sh: line 98: ./start-health-check.sh: No such file or directory
this is my compose
services:
kasa-collector:
container_name: kasa-collector
environment:
TZ: America/Chicago
KASA_COLLECTOR_COLLECT_INTERVAL: 5
KASA_COLLECTOR_DEVICE_HOST: 192.168.178.49
KASA_COLLECTOR_HOST_HOSTNAME: localhost
KASA_COLLECTOR_INFLUXDB_PASSWORD: none
KASA_COLLECTOR_INFLUXDB_URL: http://influxdb:8086/write?db=kasa
KASA_COLLECTOR_INFLUXDB_USERNAME: none
image: lux4rd0/kasa-collector:latest
restart: always
depends_on:
- influxdb
influxdb:
image: influxdb:1.8
container_name: influxdb
restart: always
ports:
- "8086:8086"
version: '3.3'
I have the same issue and based on no reply, it looks like this is not supported anymore - or never was.
I have the same issue as well.
This repository is a bit incomplete...
You can disable health checks with the following additional environment variables:
KASA_COLLECTOR_HEALTHCHECK: "false"
KASA_COLLECTOR_DISABLE_HEALTH_CHECK: "true"
You'll also want to add the following variables so that the script doesn't try to set negative sleep intervals.
KASA_COLLECTOR_PERF_INTERVAL: "60"
KASA_COLLECTOR_HOST_PERFORMANCE_POLL_INTERVAL: "60"
The new version just released - sorry for the quietness!! It's all brand new - no health checks in this current version, so closing this out.