mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
lnms snmp:fetch command and new SNMP code (#13303)
* SNMP WIP * cleanup, more types * Include my snmp:fetch command * Fix Facade name conflict * Command WIP remove mib * Ignore exit code cleanups * Doc blocks and style fixes * forgot to use parseOid * Hopefully final fixes * missed on (: * small changes deviates from existing code, hopefully doesn't re-add too many corner cases. * add some simple tests, will make it easier to add more in the future when we find corner cases. * test numeric * API refinements, try to avoid setting textual net-snmp options directly * change numeric to a toggle makes for nicer usage * make ci happy * Some errors happen only in stderr, pass that to SnmpResponse for parsing. Add error message access * More consistent naming
This commit is contained in:
@@ -244,7 +244,8 @@ return [
|
||||
// LibreNMS
|
||||
'Permissions' => \App\Facades\Permissions::class,
|
||||
'DeviceCache' => \App\Facades\DeviceCache::class,
|
||||
'Rrd' => App\Facades\Rrd::class,
|
||||
'Rrd' => \App\Facades\Rrd::class,
|
||||
'NetSnmp' => \App\Facades\FacadeAccessorSnmp::class,
|
||||
],
|
||||
|
||||
'charset' => env('CHARSET', ini_get('php.output_encoding') ?: ini_get('default_charset') ?: 'UTF-8'),
|
||||
|
Reference in New Issue
Block a user