Module: check_mk
Branch: master
Commit: 48b1b63cdb244c72c204ce9248710e0d0afd5bc6
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=48b1b63cdb244c…
Author: Moritz Kiemer <mo(a)mathias-kettner.de>
Date: Tue Apr 9 16:12:10 2019 +0200
esx_vsphere_datastores: extend test
Change-Id: Ie7ea04dbe027f6a5f3c66ee74d27c83c03c3d1f0
---
.../datasets/esx_vsphere_datastores_regression.py | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/tests/unit/checks/generictests/datasets/esx_vsphere_datastores_regression.py
b/tests/unit/checks/generictests/datasets/esx_vsphere_datastores_regression.py
index 37c9743..76747f8 100644
--- a/tests/unit/checks/generictests/datasets/esx_vsphere_datastores_regression.py
+++ b/tests/unit/checks/generictests/datasets/esx_vsphere_datastores_regression.py
@@ -46,6 +46,18 @@ checks = {'': [(u'WIN-0100-MCC15-M-L000-SSD',
(0, "", [('overprovisioned', 1037195.0, None, None,
None, None)]),
]),
(u'WIN-0108-MCC35-U-L008-SSD-EXC2',
+ {'provisioning_levels': (70.0, 80.0)},
+ [(0, '78.2% used (9.38 of 12.00 TB), trend: 0.00 B / 24 hours',
[
+ (u'WIN-0108-MCC35-U-L008-SSD-EXC2', 9836700.0, 10066124.8,
11324390.4, 0, 12582656.0),
+ ('fs_size', 12582656.0, None, None, None, None),
+ ('growth', 0.0, None, None, None, None),
+ ('trend', 0, None, None, 0, 524277.3333333333),
+ ]),
+ (0, 'Uncommitted: 0.00 B', [('uncommitted', 0.0, None,
None, None, None)]),
+ (1, 'Provisioning: 78.2% (warn/crit at 70.0%/80.0%)', []),
+ (0, "", [('overprovisioned', 9836700.0, 8807859.2,
10066124.8, None, None)]),
+ ]),
+ (u'WIN-0108-MCC35-U-L008-SSD-EXC2',
{'inodes_levels': (10.0, 5.0),
'levels': (80.0, 90.0),
'levels_low': (50.0, 60.0),