From ca22d8d3d9dd9f4cfa66af02b3536c04d99fadd8 Mon Sep 17 00:00:00 2001 From: Samuel Berthe Date: Sun, 14 Jul 2019 17:31:52 +0200 Subject: [PATCH] Fixed windows disk usage computation --- _data/rules.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/rules.yml b/_data/rules.yml index 3e7ac62..81a847c 100644 --- a/_data/rules.yml +++ b/_data/rules.yml @@ -445,7 +445,7 @@ services: severity: warning - name: Disk Space Usage description: Disk Space on Drive is used more than 80% - query: '100.0 - 100 * ((wmi_logical_disk_free_bytes{} / 1000 / 1000 ) / (wmi_logical_disk_size_bytes{} / 1024 / 1024)) > 80' + query: '100.0 - 100 * ((wmi_logical_disk_free_bytes{} / 1024 / 1024 ) / (wmi_logical_disk_size_bytes{} / 1024 / 1024)) > 80' severity: error - name: Juniper