Add value 0 to HP Physical Drive Status (meaning no disk is inserted) (#16211)

* Add value 0 to HP Physical Drive Status (meaning no disk is inserted)

* Updated test data

* Updated test data

* Update hp.inc.php
This commit is contained in:
Tozz
2024-07-17 17:42:08 +02:00
committed by GitHub
parent f3227c3727
commit 22a8a237e8

View File

@@ -21,11 +21,13 @@
*
* @copyright 2017 Neil Lathwood
* @author Neil Lathwood <neil@lathwood.co.uk>
* @author Rudy Broersma <r.broersma@ctnet.nl>
*/
// One could add more entries from deviceGroup, but this will do as a start
$tables = [
['cpqDaPhyDrvStatus', '.1.3.6.1.4.1.232.3.2.5.1.1.6.', 'Status', 'CPQIDA-MIB', [
['value' => 0, 'generic' => 3, 'graph' => 0, 'descr' => 'noDisk'],
['value' => 1, 'generic' => 3, 'graph' => 0, 'descr' => 'other'],
['value' => 2, 'generic' => 0, 'graph' => 0, 'descr' => 'ok'],
['value' => 3, 'generic' => 2, 'graph' => 0, 'descr' => 'failed'],