Added basic detection of Netonix

This commit is contained in:
laf
2015-07-18 21:10:24 +01:00
parent 4ffff7de8e
commit a862da4da0
6 changed files with 189 additions and 0 deletions
+11
View File
@@ -466,6 +466,17 @@ $config['os'][$os]['bad_if'][] = 'cpu';
$config['os'][$os]['over'][0]['graph'] = 'device_bits';
$config['os'][$os]['over'][0]['text'] = 'Device Traffic';
$os = 'netonix';
$config['os'][$os]['text'] = 'Netonix';
$config['os'][$os]['type'] = 'network';
$config['os'][$os]['icon'] = 'netonix';
$config['os'][$os]['over'][0]['graph'] = 'device_bits';
$config['os'][$os]['over'][0]['text'] = 'Device Traffic';
$config['os'][$os]['over'][1]['graph'] = 'device_processor';
$config['os'][$os]['over'][1]['text'] = 'CPU Usage';
$config['os'][$os]['over'][2]['graph'] = 'device_mempool';
$config['os'][$os]['over'][2]['text'] = 'Memory Usage';
// Juniper
$os = 'junos';
$config['os'][$os]['text'] = 'Juniper JunOS';
+4
View File
@@ -0,0 +1,4 @@
<?php
$version = snmp_get($device, 'firmwareVersion.0', '-Osqnv', 'NETONIX-SWITCH-MIB', 'mibs/netonix/');
+3
View File
@@ -0,0 +1,3 @@
<?php