-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[rrd4j] Add console commands to check and clean RRD files #14960
Conversation
Console commands added to detect and remove RRD files associated with items that no longer exist. Signed-off-by: Laurent Garnier <lg.hc@free.fr>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A helpful addition! In the past I did this manually when upgrading old OH instances.
Code LGTM.
I gave it a try on my RPI test system, it worked as intended.
Maybe you could add some user documentation? I was - until now - not aware that addons can easily add console commands.
...rd4j/src/main/java/org/openhab/persistence/rrd4j/internal/console/RRD4jCommandExtension.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the commands!
Hello and thank you, but how can I use the Command, is there a documentation? |
Yes you can use it by logging into the Console. The command has its own help:
|
Thank you this is a very helpful command |
Console commands added to detect and remove RRD files associated with items that no longer exist.
Signed-off-by: Laurent Garnier lg.hc@free.fr