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:
Kevin Krumm
2019-06-15 10:10:37 -05:00
committed by Tony Murray
parent 19914adc55
commit da9e67b296
3 changed files with 3 additions and 3 deletions

View File

@@ -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);

View File

@@ -2740,7 +2740,7 @@
"state_descr": "down",
"state_draw_graph": 0,
"state_value": 2,
"state_generic_value": 1
"state_generic_value": 3
}
]
},

View File

@@ -1375,7 +1375,7 @@
"state_descr": "down",
"state_draw_graph": 0,
"state_value": 2,
"state_generic_value": 1
"state_generic_value": 3
}
]
},