From 1e4d291a1bd9c00d775341c2224197ab95012f14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20K=C3=A4stle?= Date: Mon, 27 May 2024 10:58:01 +0200 Subject: [PATCH] Replace upper default boundary for percentage with infinity instead of 100 --- cmd/filesystem.go | 4 ++-- cmd/memory.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/filesystem.go b/cmd/filesystem.go index 43a6298..7ff0259 100644 --- a/cmd/filesystem.go +++ b/cmd/filesystem.go @@ -564,7 +564,7 @@ func init() { IsSet: true, Th: check.Threshold{ Lower: 2, - Upper: 100, + Upper: check.PosInf, }, }, }, @@ -576,7 +576,7 @@ func init() { IsSet: true, Th: check.Threshold{ Lower: 5, - Upper: 100, + Upper: check.PosInf, }, }, }, diff --git a/cmd/memory.go b/cmd/memory.go index 04fb251..5f0846d 100644 --- a/cmd/memory.go +++ b/cmd/memory.go @@ -328,7 +328,7 @@ func init() { IsSet: true, Th: check.Threshold{ Lower: 15, - Upper: 100, + Upper: check.PosInf, }, }, }, @@ -340,7 +340,7 @@ func init() { IsSet: true, Th: check.Threshold{ Lower: 5, - Upper: 100, + Upper: check.PosInf, }, }, },