kasa-collector icon indicating copy to clipboard operation
kasa-collector copied to clipboard

Health Check is failing

Open florianeichin opened this issue 3 years ago • 3 comments

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'

florianeichin avatar Feb 04 '22 10:02 florianeichin

I have the same issue and based on no reply, it looks like this is not supported anymore - or never was.

danktankk avatar May 18 '22 03:05 danktankk

I have the same issue as well.

goku2k avatar Jun 03 '22 15:06 goku2k

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"

nbergen avatar Dec 02 '23 06:12 nbergen

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.

lux4rd0 avatar Jun 26 '24 03:06 lux4rd0