Skip to content

Commit

Permalink
node-mixins/config: Switch fsAvailable warning and critical thresholds
Browse files Browse the repository at this point in the history
Problem: In 0b50eb7 the usage of the
threshold variables was adjusted. The values had been switched as well
resulting in reversed thresholds after the commit above. Warnings now
have a smaller threshold than critical alerts.

Solution: Adjust thresholds to reflect that warnings should be alerted
on before critical alerts.

Issues: #2352

Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
  • Loading branch information
jan--f authored and discordianfish committed Jun 7, 2022
1 parent 3999866 commit cec414d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/node-mixin/config.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@

// Available disk space (%) thresholds on which to trigger the
// 'NodeFilesystemAlmostOutOfSpace' alerts.
fsSpaceAvailableCriticalThreshold: 5,
fsSpaceAvailableWarningThreshold: 3,
fsSpaceAvailableWarningThreshold: 5,
fsSpaceAvailableCriticalThreshold: 3,

rateInterval: '5m',
// Opt-in for multi-cluster support.
Expand Down

0 comments on commit cec414d

Please sign in to comment.