mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 18:38:25 +00:00
fdfea6e93b
* Rewrite netstats polling As modern module Don't use snmpgetnext as it can result in extra data returned * remove copyrights on interfaces * typehints * fix silly backslashes
9 lines
130 B
PHP
9 lines
130 B
PHP
<?php
|
|
|
|
use LibreNMS\OS;
|
|
|
|
if (! $os instanceof OS) {
|
|
$os = OS::make($device);
|
|
}
|
|
(new \LibreNMS\Modules\Netstats())->poll($os);
|