Skip to content
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

feat: add ipmi_sel_events_time #225

Closed

Conversation

HappyFX
Copy link
Contributor

@HappyFX HappyFX commented Dec 6, 2024

Add type in ipmi_sel_events_count_by_state - so it can be distinguish between sel events

ipmi_sel_events_count_by_state{type="Power Supply",state="Critical"} 18

Add new metric about more detailed resent time occurrence event in log, so it can be stored in prometheus even after sel log was cleared.
It's not 1-1 sel log event copy, so it won't be with big cardinality. 18 real event are presented as 4 metrics with resent time occurrence

ipmi_sel_events_time{event="Power Supply Failure detected",name="Power Supply 2 Status",state="Critical",type="Power Supply"} 1.731064451e+09
ipmi_sel_events_time{event="Power Supply Failure detected ; Fan Fault",name="Power Supply 2 Status",state="Critical",type="Power Supply"} 1.731064449e+09
ipmi_sel_events_time{event="Power Supply input lost (AC/DC)",name="Power Supply 2 Status",state="Critical",type="Power Supply"} 1.727789819e+09
ipmi_sel_events_time{event="Redundancy Lost",name="System Board PS Redundancy",state="Critical",type="Power Supply"} 1.731064452e+09

@HappyFX HappyFX force-pushed the feat--add-event-logs branch from 85ec133 to 3790b2f Compare December 6, 2024 14:48
@HappyFX HappyFX changed the title feat: add event logs feat: add ipmi_sel_events_time Dec 6, 2024
@HappyFX HappyFX closed this Dec 6, 2024
@HappyFX HappyFX force-pushed the feat--add-event-logs branch from 4cc6265 to 59038de Compare December 6, 2024 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant