Actually added detection for netonix!

This commit is contained in:
laf 2015-07-19 12:00:21 +01:00
parent d427008eaf
commit 7ca862ec43

View File

@ -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';
}