From b8f9583aa25d8967e8dce9508733b107bd8c1ca1 Mon Sep 17 00:00:00 2001 From: Philipp Panzer Date: Wed, 12 Jul 2017 17:33:30 +0200 Subject: [PATCH] add new states to thresholds --- network/checkpoint/snmp/mode/hardware.pm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/network/checkpoint/snmp/mode/hardware.pm b/network/checkpoint/snmp/mode/hardware.pm index 575a49779..6887bc5e7 100644 --- a/network/checkpoint/snmp/mode/hardware.pm +++ b/network/checkpoint/snmp/mode/hardware.pm @@ -57,10 +57,18 @@ sub set_system { ['online', 'OK'], ['missing', 'OK'], ['not_compatible', 'CRITICAL'], - ['failed', 'CRITICAL'], + ['disc_failed', 'CRITICAL'], ['initializing', 'OK'], ['offline_requested', 'OK'], ['failed_requested', 'OK'], + ['unconfigured_good_spun_up', 'WARNING'], + ['unconfigured_good_spun_down', 'WARNING'], + ['unconfigured_bad', 'CRITICAL'], + ['hotspare', 'OK'], + ['drive_offline', 'WARNING'], + ['rebuild', 'WARNING'], + ['failed', 'CRITICAL'], + ['copyback', 'WARNING'], ['other_offline', 'WARNING'], ['.*', 'UNKNOWN'], ],