mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Aruba IAP: Fix Radio State Sensor (#10335)
* Aruba IAP: Fix Radio State Sensor Fix state sensor for radio status from warning when disabled to unknown state. * Update aruba-instant.json * Update aruba-instant_105.json
This commit is contained in:
@@ -40,7 +40,7 @@ if (!empty($oids)) {
|
||||
//Create State Translation
|
||||
$radio_states = [
|
||||
['value' => 1, 'generic' => 0, 'graph' => 0, 'descr' => 'up'],
|
||||
['value' => 2, 'generic' => 1, 'graph' => 0, 'descr' => 'down'],
|
||||
['value' => 2, 'generic' => 3, 'graph' => 0, 'descr' => 'down'],
|
||||
];
|
||||
|
||||
create_state_index($ap_state_name, $ap_states);
|
||||
|
||||
@@ -2740,7 +2740,7 @@
|
||||
"state_descr": "down",
|
||||
"state_draw_graph": 0,
|
||||
"state_value": 2,
|
||||
"state_generic_value": 1
|
||||
"state_generic_value": 3
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -1375,7 +1375,7 @@
|
||||
"state_descr": "down",
|
||||
"state_draw_graph": 0,
|
||||
"state_value": 2,
|
||||
"state_generic_value": 1
|
||||
"state_generic_value": 3
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user