mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@@ -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'],
|
||||
|
Reference in New Issue
Block a user