mirror of
https://github.com/librenms/librenms.git
synced 2024-09-22 19:08:15 +00:00
Actually added detection for netonix!
This commit is contained in:
parent
d427008eaf
commit
7ca862ec43
@ -1,4 +1,7 @@
|
||||
<?php
|
||||
|
||||
$version = snmp_get($device, 'firmwareVersion.0', '-Osqnv', 'NETONIX-SWITCH-MIB', 'mibs:mibs/netonix/');
|
||||
echo "DEBUG $version DEBUG\n";
|
||||
list(,$version) = explode(': ', $version);
|
||||
if (is_numeric($version)) {
|
||||
$os = 'netonix';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user