-
Notifications
You must be signed in to change notification settings - Fork 30
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
[v2.x] Add logging/notification/alerting facility to BMC #153
Comments
I like this, and the possibilities to polish such a feature are endless. But I think there are two separate components here: Logging and Tracing. As a starter, I considered focusing on a trivial logging component that logs to syslog instead of stdout. Syslog comes with log rotation. Then, in the UI, we can dump the syslog buffer in a text field. The upside to this is we can also display system logs. The downside is that logs are cluttered with noise. What you are describing sounds more like tracing to me. I know there is quite a popular tracing crate, but I have yet to use it. |
Additionally, it would be great to expose/log changes in any environment-monitoring data that exists on the BMC, but also provide a simple per-node service which pushes the node environment data (temperature, voltages, perhaps even clock-speed) to the BMC as the aggregator/single-source-of-truth. As a more ambitious extension, it would be great if the BMC WebUI were then able to graph all of this data! |
Many other embedded systems also log to a tmpfs by default for live debugging. I’d love to see this even without a persistent storage option. |
I would scope this issue later to logging only: notification and alerting are two seperate topics. I personally modify the syslogd/klogd usage in the BMC to log to memory only ring-buffer (which needs to be enabled in buildroot during compile time.)
|
@j0ju i would like to integrate a syslog daemon like you mentioned. I think its too soon for the upcoming release that comes around the same time as the v2.5 boards. But i will start on this soon anyway |
if there is more input on this from anyone, feel free to dump it here |
Is your feature request related to a problem? Please describe.
As an end-user, I would like to know what events the BMC has observed. Such events might include:
Due to concerns over frequent writes to the BMC filesystem, logs could be held in memory and only committed to storage at specified intervals, or the feature could only be allowed when an SD card is mounted to provide external storage.
Describe the solution you'd like
Logging and alerting capabilities added to the BMC and exposed in the WebUI.
The text was updated successfully, but these errors were encountered: