Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

GUI LED status doesn't refresh if ledctl disables beacon #6

Open
warpmech opened this issue Apr 30, 2014 · 1 comment
Open

GUI LED status doesn't refresh if ledctl disables beacon #6

warpmech opened this issue Apr 30, 2014 · 1 comment

Comments

@warpmech
Copy link

There’s a minor problem in that if you:

  1. Enable locate in the zfswatcher UI
  2. Disable locate via ledctl on the CLI
  3. zfswatcher UI still shows the beacon active even on refresh
    a. click to clear indicator; the LED stays off (at least the function is not inverted)
@snabb
Copy link
Member

snabb commented Mar 31, 2015

Zfswatcher goes out of sync with the real led status because it does not poll the LEDs to update its knowledge about their status. Ledctl does not provide any way for getting this information. I have previously considered implementing the ledctl functionality built-in to zfswatcher but it is a lot of work.

Patches are welcome :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants