FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
05-13-2024 11:18 AM
Hello Together,
is there a way to monitor the existence of a certain folder within the data layer?
Background:
We are working with some specific folders in combination with the KVD app. Sometimes (during runtime) the folders disappear from the data layer. This seems to be a bug which occurs not very often but regularely. So we want to monitor if the folder still exists. If not (kind of watchdog) a reboot of the core should be triggered since this is the only way to bring back the folders. As long as the folder doesn't exist the flows cannot any data.
Would be great if this feature can be either configured in the internal watchdog or within a node-red flow?
Thanks in advance,
BR Markus
Solved! Go to Solution.
05-13-2024 11:36 AM - edited 05-13-2024 11:36 AM
I guess related topic mentioned above is "KVD folder missing in CtrlX Core data layer".
You can check availability by browsing a node path and check response. If you do a subscription you also will get an error message, if node is not longer responsive (after set timeout interval).
05-13-2024 04:18 PM
Hi @leonberger-m ,
You can also check out the node-red filesystem nodes. They provide functionality including checking file existance and read/write authorization.
05-13-2024 04:27 PM
Please beware that nodes in the data layer are not based on a file system but a data broker. Mentioned "folders" is a little misleading and should better be called top nodes or node group.