diff --git a/app/Http/Controllers/Device/Tabs/MibController.php b/app/Http/Controllers/Device/Tabs/MibController.php deleted file mode 100644 index 393bb4bd04..0000000000 --- a/app/Http/Controllers/Device/Tabs/MibController.php +++ /dev/null @@ -1,58 +0,0 @@ -. - * - * @link https://www.librenms.org - * - * @copyright 2020 Tony Murray - * @author Tony Murray - */ - -namespace App\Http\Controllers\Device\Tabs; - -use App\Models\Device; -use LibreNMS\Config; -use LibreNMS\Interfaces\UI\DeviceTab; - -class MibController implements DeviceTab -{ - public function visible(Device $device): bool - { - return Config::get('poller_modules.mib') && $device->getAttrib('poll_mib'); - } - - public function slug(): string - { - return 'mib'; - } - - public function icon(): string - { - return 'fa-file-text-o'; - } - - public function name(): string - { - return __('MIB'); - } - - public function data(Device $device): array - { - return []; - } -} diff --git a/app/Http/Controllers/DeviceController.php b/app/Http/Controllers/DeviceController.php index 23971116a6..47de6f69fa 100644 --- a/app/Http/Controllers/DeviceController.php +++ b/app/Http/Controllers/DeviceController.php @@ -52,7 +52,6 @@ class DeviceController extends Controller 'latency' => \App\Http\Controllers\Device\Tabs\LatencyController::class, 'nac' => \App\Http\Controllers\Device\Tabs\NacController::class, 'notes' => \App\Http\Controllers\Device\Tabs\NotesController::class, - 'mib' => \App\Http\Controllers\Device\Tabs\MibController::class, 'edit' => \App\Http\Controllers\Device\Tabs\EditController::class, 'capture' => \App\Http\Controllers\Device\Tabs\CaptureController::class, ]; diff --git a/misc/config_definitions.json b/misc/config_definitions.json index aad6dcc722..3fa7f4ff22 100644 --- a/misc/config_definitions.json +++ b/misc/config_definitions.json @@ -4699,13 +4699,6 @@ "default": true, "type": "boolean" }, - "poller_modules.mib": { - "order": 260, - "group": "poller", - "section": "poller_modules", - "default": false, - "type": "boolean" - }, "poller_modules.stp": { "order": 380, "group": "poller", diff --git a/resources/lang/en/settings.php b/resources/lang/en/settings.php index c385c35038..2b85e14fd5 100644 --- a/resources/lang/en/settings.php +++ b/resources/lang/en/settings.php @@ -1163,9 +1163,6 @@ return [ 'applications' => [ 'description' => 'Applications', ], - 'mib' => [ - 'description' => 'MIB', - ], 'stp' => [ 'description' => 'STP', ], diff --git a/resources/lang/it/settings.php b/resources/lang/it/settings.php index 8c355285f7..3fbb21b66a 100644 --- a/resources/lang/it/settings.php +++ b/resources/lang/it/settings.php @@ -1155,9 +1155,6 @@ return [ 'applications' => [ 'description' => 'Applications', ], - 'mib' => [ - 'description' => 'MIB', - ], 'stp' => [ 'description' => 'STP', ], diff --git a/resources/lang/uk/settings.php b/resources/lang/uk/settings.php index e5cbb0f9d2..b9ce765f78 100644 --- a/resources/lang/uk/settings.php +++ b/resources/lang/uk/settings.php @@ -1155,9 +1155,6 @@ return [ 'applications' => [ 'description' => 'Застосунки', ], - 'mib' => [ - 'description' => 'MIB', - ], 'stp' => [ 'description' => 'STP', ], diff --git a/resources/views/layouts/menu.blade.php b/resources/views/layouts/menu.blade.php index 22052946fa..0d7f7ae195 100644 --- a/resources/views/layouts/menu.blade.php +++ b/resources/views/layouts/menu.blade.php @@ -159,11 +159,6 @@
  • {{ __('FDB Tables') }}
  • - @config('poller_modules.mib') - -
  • {{ __('MIB definitions') }}
  • - @endconfig {{-- Devices --}}