Replies: 2 comments
-
Some format suggestions: since it's too complex to design a system that resolves errors the system will always report all errors since the last boot. the respondd format would be a list containing items of:
this list is sorted in the order the errors appeared. If an error reappears it will be sorted back in at the end of the list. nodeinfo could have an id counter for the errors so yanic only queries respondd for new errors if the counter was updated since the last request. (either this or a timestamp of the last error but a timestamp could lead to race conditions) this should not interfere with existing systems like yanic since it only adds a new feature. It's useful for node monitoring and systems like Node Alarm https://nodealarm.freifunk-stuttgart.de/sign-in and Node Monitor https://play.google.com/store/apps/details?id=net.freifunk.darmstadt.nodewhisperer&hl=en_US |
Beta Was this translation helpful? Give feedback.
-
I didn't even know discussions were a thing, huh. |
Beta Was this translation helpful? Give feedback.
-
#3319 lead me to an idea:
respondd should have the ability to report the device being in an error state.
possible error states:
The info could also be available thereby when you are connected to an offline node via wifi mesh but don't have the key on the affected device, yet. You could read out an error-state before rebooting and thereby deleting all logs.
Communities could define custom errors like these:
These are just examples. Some communities already did similar things in the past by renaming the release-name or the hostname with a package. But those were fairly limited.
example device: https://map.freifunk-winterberg.net/#!/de/map/fcecda7cc036
These error messages could be displayed on the map and also further evaluated by Grafana (including timestamps when the device started showing an error and how often)
They could help on evaluating major version updates.
I'm not sure how verbose we want to make these messages since they are queried constantly. We could define error codes instead of sending full strings over the air.
Or we could define a new data type in addition to the current one where you can query the full message:
What are your thoughts on my idea?
Beta Was this translation helpful? Give feedback.
All reactions