mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Option to filter Oxidized groups (#12966)
* Add support for Liebert humidity setpoint and UPS powerfactor
* Option to ignore groups so they are not sent to Oxidized
* Revert "Add support for Liebert humidity setpoint and UPS powerfactor"
This reverts commit c338528aba.
* Updated docs
* Added ignore_groups option
* Added descriptions and updated translations
* Update settings.php
* Fixed typo
Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
@@ -1406,6 +1406,10 @@ function list_oxidized(Illuminate\Http\Request $request)
|
||||
}
|
||||
}
|
||||
}
|
||||
//Exclude groups from being sent to Oxidized
|
||||
if (in_array($output['group'], Config::get('oxidized.ignore_groups'))) {
|
||||
break;
|
||||
}
|
||||
|
||||
$return[] = $output;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user