-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
metricbeat: suppress error when RAID metrics are enabled on non-RAID …
…system (#41825) (#41856) * metricbeat: return partial metrics errror when RAID metrics are enabled on non-RAID system When the Linux Metrics integration (beta) is installed with the RAID metrics option enabled it causes an error if the host does not have a RAID configuration. This error causes the Agent to go into a degraded state. This happens because we report not having `/sys/block/md*` devices as an error, this only means that no RAID configuration is in place. Instead, return a partial metrics error for this case. This still shows up in the agent status but does not cause a degraded state. * use partial metrics error * fix linter issue with iface assertion (cherry picked from commit 444b8e4) Co-authored-by: Mauri de Souza Meneguzzo <[email protected]>
- Loading branch information
1 parent
0b560e7
commit 28f77b9
Showing
3 changed files
with
30 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters