Skip to content

Commit

Permalink
final fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlhansen committed Jul 19, 2024
1 parent fc8b312 commit e656d1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/collector/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func (client *Client) findAllEndpoints() error {
// Path for event log
switch client.vendor {
case DELL:
client.eventPath = "/redfish/v1/Managers/iDRAC.Embedded.1/Logs/Sel"
client.eventPath = "/redfish/v1/Managers/iDRAC.Embedded.1/LogServices/Sel/Entries"
case LENOVO:
client.eventPath = "/redfish/v1/Systems/1/LogServices/PlatformLog/Entries"
case HPE:
Expand Down
2 changes: 1 addition & 1 deletion internal/collector/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ func (mc *Collector) NewEventLogEntry(id string, message string, severity string
prometheus.CounterValue,
float64(created.Unix()),
id,
message,
strings.TrimSpace(message),
severity,
)
}
Expand Down

0 comments on commit e656d1c

Please sign in to comment.