Merge pull request #2103 from UrBnW/idrac-hwth
fix(idrac) Hardware thresholds
This commit is contained in:
commit
f39a8d71c2
|
@ -79,6 +79,7 @@ our @EXPORT_OK = qw(%map_probe_status %map_state %map_status %map_amperage_type
|
|||
7 => 'failed',
|
||||
8 => 'non-raid',
|
||||
9 => 'removed',
|
||||
10 => 'readonly',
|
||||
);
|
||||
|
||||
%map_vdisk_state = (
|
||||
|
|
|
@ -69,6 +69,7 @@ sub set_system {
|
|||
['failed', 'CRITICAL'],
|
||||
['non-raid', 'OK'],
|
||||
['removed', 'OK'],
|
||||
['readonly', 'WARNING'],
|
||||
],
|
||||
'pdisk.smartalert' => [
|
||||
['off', 'OK'],
|
||||
|
@ -88,7 +89,11 @@ sub set_system {
|
|||
'slot', 'fru', 'storagectrl', 'storagebattery', 'pdisk', 'vdisk'];
|
||||
|
||||
$self->{regexp_threshold_overload_check_section_option} =
|
||||
'^(?:' . join('|', @{$self->{components_module}}). ')\.(?:status|state)$';
|
||||
'^(' .
|
||||
'(psu|punit|temperature|voltage|amperage|systembattery|coolingunit|coolingdevice|processor|memory|pci|network|slot|fru|storagectrl|storagebattery|pdisk)\.status' .
|
||||
'|(punit|temperature|voltage|amperage|systembattery|coolingunit|coolingdevice|processor|memory|pci|pdisk|vdisk)\.state' .
|
||||
'|(pdisk)\.smartalert' .
|
||||
')$';
|
||||
}
|
||||
|
||||
sub snmp_execute {
|
||||
|
|
Loading…
Reference in New Issue