mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Updated support for adva_fsp150 devices (#10049)
DO NOT DELETE THIS TEXT #### Please note > Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting. - [X] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/) #### Testers If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926` After you are done testing, you can remove the changes with `./scripts/github-remove`. If there are schema changes, you can ask on discord how to revert.
This commit is contained in:
committed by
Neil Lathwood
parent
943dbe4ff1
commit
780ee36b10
@@ -37,7 +37,7 @@
|
||||
if ($pre_cache['adva_fsp150'][$index][$sensor_name]) {
|
||||
$oid = $entry['sensor_oid'].".".$index;
|
||||
$descr = $pre_cache['adva_fsp150'][$index]['slotCardUnitName']." [#".$pre_cache['adva_fsp150'][$index]['slotIndex']."]";
|
||||
$current = $pre_cache['adva_fsp150'][$index][$entry]/$divisor;
|
||||
$current = $pre_cache['adva_fsp150'][$index][$entry['sensor_name']]/$divisor;
|
||||
|
||||
discover_sensor(
|
||||
$valid['sensor'],
|
||||
|
Reference in New Issue
Block a user