Added support for AirOS and AirFibre from UBNT

This commit is contained in:
laf 2015-04-03 18:59:58 +01:00
parent dc6c166804
commit ac4eba78e4
35 changed files with 3192 additions and 8 deletions

1
.gitignore vendored
View File

@ -9,3 +9,4 @@ html/plugins/*
nbproject
.alerts.lock
.ircbot.alert
.metadata_never_index

View File

@ -0,0 +1,26 @@
<?php
include("includes/graphs/common.inc.php");
//$rrd_options .= " -l 0 -E ";
$rrdfilename = $config['rrd_dir'] . "/".$device['hostname']."/ubnt-airfiber-mib.rrd";
if (file_exists($rrdfilename))
{
$rrd_options .= " COMMENT:'mbps Now Min Max\\n'";
$rrd_options .= " DEF:rxCapacity=".$rrdfilename.":rxCapacity:AVERAGE ";
$rrd_options .= " DEF:txCapacity=".$rrdfilename.":txCapacity:AVERAGE ";
$rrd_options .= " CDEF:rxCapacityC=rxCapacity,1000000,/ ";
$rrd_options .= " CDEF:txCapacityC=txCapacity,1000000,/ ";
$rrd_options .= " LINE1:rxCapacityC#00FF00:'Rx Rate ' ";
$rrd_options .= " GPRINT:rxCapacityC:LAST:%0.2lf%s ";
$rrd_options .= " GPRINT:rxCapacityC:MIN:%0.2lf%s ";
$rrd_options .= " GPRINT:rxCapacityC:MAX:%0.2lf%s\\\l ";
$rrd_options .= " LINE1:txCapacityC#CC0000:'Tx Rate ' ";
$rrd_options .= " GPRINT:txCapacityC:LAST:%0.2lf%s ";
$rrd_options .= " GPRINT:txCapacityC:MIN:%0.2lf%s ";
$rrd_options .= " GPRINT:txCapacityC:MAX:%0.2lf%s\\\l ";
}
?>

View File

@ -0,0 +1,19 @@
<?php
include("includes/graphs/common.inc.php");
$rrd_options .= " -l 0 -E ";
$rrdfilename = $config['rrd_dir'] . "/".$device['hostname']."/ubnt-airfiber-mib.rrd";
if (file_exists($rrdfilename))
{
$rrd_options .= " COMMENT:'Metres Now Min Max\\n'";
$rrd_options .= " DEF:radioLinkDistM=".$rrdfilename.":radioLinkDistM:AVERAGE ";
$rrd_options .= " LINE1:radioLinkDistM#CC0000:'Distance ' ";
$rrd_options .= " GPRINT:radioLinkDistM:LAST:%3.2lf%s ";
$rrd_options .= " GPRINT:radioLinkDistM:MIN:%3.2lf%s ";
$rrd_options .= " GPRINT:radioLinkDistM:MAX:%3.2lf%s\\\l ";
}
?>

View File

@ -0,0 +1,19 @@
<?php
include("includes/graphs/common.inc.php");
//$rrd_options .= " -l 0 -E ";
$rrdfilename = $config['rrd_dir'] . "/".$device['hostname']."/ubnt-airfiber-mib.rrd";
if (file_exists($rrdfilename))
{
$rrd_options .= " COMMENT:'Octets Now Min Max\\n'";
$rrd_options .= " DEF:rxoctetsAll=".$rrdfilename.":rxoctetsAll:AVERAGE ";
$rrd_options .= " LINE1:rxoctetsAll#00CC00:'Rx Octets ' ";
$rrd_options .= " GPRINT:rxoctetsAll:LAST:%0.2lf%s ";
$rrd_options .= " GPRINT:rxoctetsAll:MIN:%0.2lf%s ";
$rrd_options .= " GPRINT:rxoctetsAll:MAX:%0.2lf%s\\\l ";
}
?>

View File

@ -0,0 +1,19 @@
<?php
include("includes/graphs/common.inc.php");
//$rrd_options .= " -l 0 -E ";
$rrdfilename = $config['rrd_dir'] . "/".$device['hostname']."/ubnt-airfiber-mib.rrd";
if (file_exists($rrdfilename))
{
$rrd_options .= " COMMENT:'Octets Now Min Max\\n'";
$rrd_options .= " DEF:txoctetsAll=".$rrdfilename.":txoctetsAll:AVERAGE ";
$rrd_options .= " LINE1:txoctetsAll#CC0000:'Tx Octets ' ";
$rrd_options .= " GPRINT:txoctetsAll:LAST:%0.2lf%s ";
$rrd_options .= " GPRINT:txoctetsAll:MIN:%0.2lf%s ";
$rrd_options .= " GPRINT:txoctetsAll:MAX:%0.2lf%s\\\l ";
}
?>

View File

@ -0,0 +1,19 @@
<?php
include("includes/graphs/common.inc.php");
//$rrd_options .= " -l 0 -E ";
$rrdfilename = $config['rrd_dir'] . "/".$device['hostname']."/ubnt-airfiber-mib.rrd";
if (file_exists($rrdfilename))
{
$rrd_options .= " COMMENT:'Packets Now Min Max\\n'";
$rrd_options .= " DEF:rxpktsAll=".$rrdfilename.":rxpktsAll:AVERAGE ";
$rrd_options .= " LINE1:rxpktsAll#CC0000:'Rx Packets ' ";
$rrd_options .= " GPRINT:rxpktsAll:LAST:%0.2lf%s ";
$rrd_options .= " GPRINT:rxpktsAll:MIN:%0.2lf%s ";
$rrd_options .= " GPRINT:rxpktsAll:MAX:%0.2lf%s\\\l ";
}
?>

View File

@ -0,0 +1,19 @@
<?php
include("includes/graphs/common.inc.php");
//$rrd_options .= " -l 0 -E ";
$rrdfilename = $config['rrd_dir'] . "/".$device['hostname']."/ubnt-airfiber-mib.rrd";
if (file_exists($rrdfilename))
{
$rrd_options .= " COMMENT:'Packets Now Min Max\\n'";
$rrd_options .= " DEF:txpktsAll=".$rrdfilename.":txpktsAll:AVERAGE ";
$rrd_options .= " LINE1:txpktsAll#CC0000:'Tx Packets ' ";
$rrd_options .= " GPRINT:txpktsAll:LAST:%0.2lf%s ";
$rrd_options .= " GPRINT:txpktsAll:MIN:%0.2lf%s ";
$rrd_options .= " GPRINT:txpktsAll:MAX:%0.2lf%s\\\l ";
}
?>

View File

@ -0,0 +1,24 @@
<?php
include("includes/graphs/common.inc.php");
//$rrd_options .= " -l 0 -E ";
$rrdfilename = $config['rrd_dir'] . "/".$device['hostname']."/ubnt-airfiber-mib.rrd";
if (file_exists($rrdfilename))
{
$rrd_options .= " COMMENT:' Now Min Max\\n'";
$rrd_options .= " DEF:rxFrequency=".$rrdfilename.":rxFrequency:AVERAGE ";
$rrd_options .= " DEF:txFrequency=".$rrdfilename.":txFrequency:AVERAGE ";
$rrd_options .= " LINE1:rxFrequency#00FF00:'Rx Frequency ' ";
$rrd_options .= " GPRINT:rxFrequency:LAST:%0.2lf%s ";
$rrd_options .= " GPRINT:rxFrequency:MIN:%0.2lf%s ";
$rrd_options .= " GPRINT:rxFrequency:MAX:%0.2lf%s\\\l ";
$rrd_options .= " LINE1:txFrequency#CC0000:'Tx Frequency ' ";
$rrd_options .= " GPRINT:txFrequency:LAST:%0.2lf%s ";
$rrd_options .= " GPRINT:txFrequency:MIN:%0.2lf%s ";
$rrd_options .= " GPRINT:txFrequency:MAX:%0.2lf%s\\\l ";
}
?>

View File

@ -0,0 +1,24 @@
<?php
include("includes/graphs/common.inc.php");
//$rrd_options .= " -l 0 -E ";
$rrdfilename = $config['rrd_dir'] . "/".$device['hostname']."/ubnt-airfiber-mib.rrd";
if (file_exists($rrdfilename))
{
$rrd_options .= " COMMENT:'Celcius Now Min Max\\n'";
$rrd_options .= " DEF:radio0TempC=".$rrdfilename.":radio0TempC:AVERAGE ";
$rrd_options .= " DEF:radio1TempC=".$rrdfilename.":radio1TempC:AVERAGE ";
$rrd_options .= " LINE1:radio0TempC#00FF00:'Radio 0 ' ";
$rrd_options .= " GPRINT:radio0TempC:LAST:%0.2lf%s ";
$rrd_options .= " GPRINT:radio0TempC:MIN:%0.2lf%s ";
$rrd_options .= " GPRINT:radio0TempC:MAX:%0.2lf%s\\\l ";
$rrd_options .= " LINE1:radio1TempC#CC0000:'Radio 1 ' ";
$rrd_options .= " GPRINT:radio1TempC:LAST:%0.2lf%s ";
$rrd_options .= " GPRINT:radio1TempC:MIN:%0.2lf%s ";
$rrd_options .= " GPRINT:radio1TempC:MAX:%0.2lf%s\\\l ";
}
?>

View File

@ -0,0 +1,19 @@
<?php
include("includes/graphs/common.inc.php");
$rrd_options .= " -l 0 -E ";
$rrdfilename = $config['rrd_dir'] . "/".$device['hostname']."/ubnt-airfiber-mib.rrd";
if (file_exists($rrdfilename))
{
$rrd_options .= " COMMENT:'dbm Now Min Max\\n'";
$rrd_options .= " DEF:txPower=".$rrdfilename.":txPower:AVERAGE ";
$rrd_options .= " LINE1:txPower#CC0000:'Tx Power ' ";
$rrd_options .= " GPRINT:txPower:LAST:%3.2lf ";
$rrd_options .= " GPRINT:txPower:MIN:%3.2lf ";
$rrd_options .= " GPRINT:txPower:MAX:%3.2lf\\\l ";
}
?>

View File

@ -0,0 +1,19 @@
<?php
include("includes/graphs/common.inc.php");
//$rrd_options .= " -l 0 -E ";
$rrdfilename = $config['rrd_dir'] . "/".$device['hostname']."/ubnt-airmax-mib.rrd";
if (file_exists($rrdfilename))
{
$rrd_options .= " COMMENT:' Now Min Max\\n'";
$rrd_options .= " DEF:AirMaxCapacity=".$rrdfilename.":AirMaxCapacity:AVERAGE ";
$rrd_options .= " LINE1:AirMaxCapacity#CC0000:'Percent ' ";
$rrd_options .= " GPRINT:AirMaxCapacity:LAST:%3.0lf ";
$rrd_options .= " GPRINT:AirMaxCapacity:MIN:%3.0lf ";
$rrd_options .= " GPRINT:AirMaxCapacity:MAX:%3.0lf\\\l ";
}
?>

View File

@ -0,0 +1,19 @@
<?php
include("includes/graphs/common.inc.php");
//$rrd_options .= " -l 0 -E ";
$rrdfilename = $config['rrd_dir'] . "/".$device['hostname']."/ubnt-airmax-mib.rrd";
if (file_exists($rrdfilename))
{
$rrd_options .= " COMMENT:' Now Min Max\\n'";
$rrd_options .= " DEF:AirMaxQuality=".$rrdfilename.":AirMaxQuality:AVERAGE ";
$rrd_options .= " LINE1:AirMaxQuality#CC0000:'Percent ' ";
$rrd_options .= " GPRINT:AirMaxQuality:LAST:%3.0lf ";
$rrd_options .= " GPRINT:AirMaxQuality:MIN:%3.0lf ";
$rrd_options .= " GPRINT:AirMaxQuality:MAX:%3.0lf\\\l ";
}
?>

View File

@ -0,0 +1,19 @@
<?php
include("includes/graphs/common.inc.php");
//$rrd_options .= " -l 0 -E ";
$rrdfilename = $config['rrd_dir'] . "/".$device['hostname']."/ubnt-airmax-mib.rrd";
if (file_exists($rrdfilename))
{
$rrd_options .= " COMMENT:'Metres Now Min Max\\n'";
$rrd_options .= " DEF:RadioDistance=".$rrdfilename.":RadioDistance:AVERAGE ";
$rrd_options .= " LINE1:RadioDistance#CC0000:'Distance ' ";
$rrd_options .= " GPRINT:RadioDistance:LAST:%3.2lf%s ";
$rrd_options .= " GPRINT:RadioDistance:MIN:%3.2lf%s ";
$rrd_options .= " GPRINT:RadioDistance:MAX:%3.2lf%s\\\l ";
}
?>

View File

@ -0,0 +1,19 @@
<?php
include("includes/graphs/common.inc.php");
$rrd_options .= " -l 0 -E ";
$rrdfilename = $config['rrd_dir'] . "/".$device['hostname']."/ubnt-airmax-mib.rrd";
if (file_exists($rrdfilename))
{
$rrd_options .= " COMMENT:' Now Min Max\\n'";
$rrd_options .= " DEF:RadioFreq=".$rrdfilename.":RadioFreq:AVERAGE ";
$rrd_options .= " LINE1:RadioFreq#CC0000:'Frequency ' ";
$rrd_options .= " GPRINT:RadioFreq:LAST:%3.2lf%s ";
$rrd_options .= " GPRINT:RadioFreq:MIN:%3.2lf%s ";
$rrd_options .= " GPRINT:RadioFreq:MAX:%3.2lf%s\\\l ";
}
?>

View File

@ -0,0 +1,19 @@
<?php
include("includes/graphs/common.inc.php");
//$rrd_options .= " -l 0 -E ";
$rrdfilename = $config['rrd_dir'] . "/".$device['hostname']."/ubnt-airmax-mib.rrd";
if (file_exists($rrdfilename))
{
$rrd_options .= " COMMENT:'dbm Now Min Max\\n'";
$rrd_options .= " DEF:RadioRssi_0=".$rrdfilename.":RadioRssi_0:AVERAGE ";
$rrd_options .= " LINE1:RadioRssi_0#CC0000:'RSSI ' ";
$rrd_options .= " GPRINT:RadioRssi_0:LAST:%3.2lf ";
$rrd_options .= " GPRINT:RadioRssi_0:MIN:%3.2lf ";
$rrd_options .= " GPRINT:RadioRssi_0:MAX:%3.2lf\\\l ";
}
?>

View File

@ -0,0 +1,19 @@
<?php
include("includes/graphs/common.inc.php");
//$rrd_options .= " -l 0 -E ";
$rrdfilename = $config['rrd_dir'] . "/".$device['hostname']."/ubnt-airmax-mib.rrd";
if (file_exists($rrdfilename))
{
$rrd_options .= " COMMENT:'dbm Now Min Max\\n'";
$rrd_options .= " DEF:RadioRssi_1=".$rrdfilename.":RadioRssi_1:AVERAGE ";
$rrd_options .= " LINE1:RadioRssi_1#00FF00:'RSSI ' ";
$rrd_options .= " GPRINT:RadioRssi_1:LAST:%3.2lf ";
$rrd_options .= " GPRINT:RadioRssi_1:MIN:%3.2lf ";
$rrd_options .= " GPRINT:RadioRssi_1:MAX:%3.2lf\\\l ";
}
?>

View File

@ -0,0 +1,19 @@
<?php
include("includes/graphs/common.inc.php");
$rrd_options .= " -l 0 -E ";
$rrdfilename = $config['rrd_dir'] . "/".$device['hostname']."/ubnt-airmax-mib.rrd";
if (file_exists($rrdfilename))
{
$rrd_options .= " COMMENT:'dbm Now Min Max\\n'";
$rrd_options .= " DEF:RadioTxPower=".$rrdfilename.":RadioTxPower:AVERAGE ";
$rrd_options .= " LINE1:RadioTxPower#CC0000:'Tx Power ' ";
$rrd_options .= " GPRINT:RadioTxPower:LAST:%3.2lf ";
$rrd_options .= " GPRINT:RadioTxPower:MIN:%3.2lf ";
$rrd_options .= " GPRINT:RadioTxPower:MAX:%3.2lf\\\l ";
}
?>

View File

@ -0,0 +1,19 @@
<?php
include("includes/graphs/common.inc.php");
$rrd_options .= " -l 0 -E ";
$rrdfilename = $config['rrd_dir'] . "/".$device['hostname']."/ubnt-airmax-mib.rrd";
if (file_exists($rrdfilename))
{
$rrd_options .= " COMMENT:'Percent Now Min Max\\n'";
$rrd_options .= " DEF:WlStatCcq=".$rrdfilename.":WlStatCcq:AVERAGE ";
$rrd_options .= " LINE1:WlStatCcq#CC0000:'CCQ ' ";
$rrd_options .= " GPRINT:WlStatCcq:LAST:%3.2lf ";
$rrd_options .= " GPRINT:WlStatCcq:MIN:%3.2lf ";
$rrd_options .= " GPRINT:WlStatCcq:MAX:%3.2lf\\\l ";
}
?>

View File

@ -0,0 +1,19 @@
<?php
include("includes/graphs/common.inc.php");
//$rrd_options .= " -l 0 -E ";
$rrdfilename = $config['rrd_dir'] . "/".$device['hostname']."/ubnt-airmax-mib.rrd";
if (file_exists($rrdfilename))
{
$rrd_options .= " COMMENT:'dbm Now Min Max\\n'";
$rrd_options .= " DEF:WlStatNoiseFloor=".$rrdfilename.":WlStatNoiseFloor:AVERAGE ";
$rrd_options .= " LINE1:WlStatNoiseFloor#CC0000:'Noise ' ";
$rrd_options .= " GPRINT:WlStatNoiseFloor:LAST:%3.2lf ";
$rrd_options .= " GPRINT:WlStatNoiseFloor:MIN:%3.2lf ";
$rrd_options .= " GPRINT:WlStatNoiseFloor:MAX:%3.2lf\\\l ";
}
?>

View File

@ -0,0 +1,19 @@
<?php
include("includes/graphs/common.inc.php");
//$rrd_options .= " -l 0 -E ";
$rrdfilename = $config['rrd_dir'] . "/".$device['hostname']."/ubnt-airmax-mib.rrd";
if (file_exists($rrdfilename))
{
$rrd_options .= " COMMENT:'dbm Now Min Max\\n'";
$rrd_options .= " DEF:WlStatRssi=".$rrdfilename.":WlStatRssi:AVERAGE ";
$rrd_options .= " LINE1:WlStatRssi#CC0000:'RSSI ' ";
$rrd_options .= " GPRINT:WlStatRssi:LAST:%3.2lf ";
$rrd_options .= " GPRINT:WlStatRssi:MIN:%3.2lf ";
$rrd_options .= " GPRINT:WlStatRssi:MAX:%3.2lf\\\l ";
}
?>

View File

@ -0,0 +1,20 @@
<?php
include("includes/graphs/common.inc.php");
//$rrd_options .= " -l 0 -E ";
$rrdfilename = $config['rrd_dir'] . "/".$device['hostname']."/ubnt-airmax-mib.rrd";
if (file_exists($rrdfilename))
{
$rrd_options .= " COMMENT:'mbps Now Min Max\\n'";
$rrd_options .= " DEF:WlStatRxRate=".$rrdfilename.":WlStatRxRate:AVERAGE ";
$rrd_options .= " CDEF:WlStatRxRateC=WlStatRxRate,1000,/ ";
$rrd_options .= " LINE1:WlStatRxRateC#00FF00:'Rx Rate ' ";
$rrd_options .= " GPRINT:WlStatRxRateC:LAST:%0.2lf%s ";
$rrd_options .= " GPRINT:WlStatRxRateC:MIN:%0.2lf%s ";
$rrd_options .= " GPRINT:WlStatRxRateC:MAX:%0.2lf%s\\\l ";
}
?>

View File

@ -0,0 +1,19 @@
<?php
include("includes/graphs/common.inc.php");
//$rrd_options .= " -l 0 -E ";
$rrdfilename = $config['rrd_dir'] . "/".$device['hostname']."/ubnt-airmax-mib.rrd";
if (file_exists($rrdfilename))
{
$rrd_options .= " COMMENT:'dbm Now Min Max\\n'";
$rrd_options .= " DEF:WlStatSignal=".$rrdfilename.":WlStatSignal:AVERAGE ";
$rrd_options .= " LINE1:WlStatSignal#CC0000:'Signal ' ";
$rrd_options .= " GPRINT:WlStatSignal:LAST:%3.2lf ";
$rrd_options .= " GPRINT:WlStatSignal:MIN:%3.2lf ";
$rrd_options .= " GPRINT:WlStatSignal:MAX:%3.2lf\\\l ";
}
?>

View File

@ -0,0 +1,19 @@
<?php
include("includes/graphs/common.inc.php");
$rrd_options .= " -l 0 -E ";
$rrdfilename = $config['rrd_dir'] . "/".$device['hostname']."/ubnt-airmax-mib.rrd";
if (file_exists($rrdfilename))
{
$rrd_options .= " COMMENT:' Now Min Max\\n'";
$rrd_options .= " DEF:WlStatStaCount=".$rrdfilename.":WlStatStaCount:AVERAGE ";
$rrd_options .= " LINE1:WlStatStaCount#CC0000:'Stations ' ";
$rrd_options .= " GPRINT:WlStatStaCount:LAST:%3.0lf ";
$rrd_options .= " GPRINT:WlStatStaCount:MIN:%3.0lf ";
$rrd_options .= " GPRINT:WlStatStaCount:MAX:%3.0lf\\\l ";
}
?>

View File

@ -0,0 +1,20 @@
<?php
include("includes/graphs/common.inc.php");
//$rrd_options .= " -l 0 -E ";
$rrdfilename = $config['rrd_dir'] . "/".$device['hostname']."/ubnt-airmax-mib.rrd";
if (file_exists($rrdfilename))
{
$rrd_options .= " COMMENT:'mbps Now Min Max\\n'";
$rrd_options .= " DEF:WlStatTxRate=".$rrdfilename.":WlStatTxRate:AVERAGE ";
$rrd_options .= " CDEF:WlStatTxRateC=WlStatTxRate,1000,/ ";
$rrd_options .= " LINE1:WlStatTxRateC#CC0000:'Tx Rate ' ";
$rrd_options .= " GPRINT:WlStatTxRateC:LAST:%0.2lf%s ";
$rrd_options .= " GPRINT:WlStatTxRateC:MIN:%0.2lf%s ";
$rrd_options .= " GPRINT:WlStatTxRateC:MAX:%0.2lf%s\\\l ";
}
?>

View File

@ -57,6 +57,33 @@ $config['os'][$os]['over'][1]['text'] = "Processor Usage";
$config['os'][$os]['over'][2]['graph'] = "device_ucd_memory";
$config['os'][$os]['over'][2]['text'] = "Memory Usage";
// Ubiquiti
$os = "unifi";
$config['os'][$os]['text'] = "Ubiquiti UniFi";
$config['os'][$os]['type'] = "wireless";
$config['os'][$os]['icon'] = "ubiquiti";
$config['os'][$os]['nobulk'] = 1;
$config['os'][$os]['over'][0]['graph'] = "device_bits";
$config['os'][$os]['over'][1]['graph'] = "device_processor";
$os = "airos";
$config['os'][$os]['text'] = "Ubiquiti AirOS";
$config['os'][$os]['type'] = "network";
$config['os'][$os]['icon'] = "ubiquiti";
$config['os'][$os]['nobulk'] = 1;
$config['os'][$os]['over'][0]['graph'] = "device_bits";
$config['os'][$os]['over'][1]['graph'] = "device_processor";
$os = "airos-af";
$config['os'][$os]['text'] = "Ubiquiti AirFiber";
$config['os'][$os]['type'] = "network";
$config['os'][$os]['icon'] = "ubiquiti";
$config['os'][$os]['nobulk'] = 1;
$config['os'][$os]['over'][0]['graph'] = "device_bits";
$config['os'][$os]['over'][1]['graph'] = "device_processor";
// Linux-based OSes here please.
$os = "linux";
@ -580,12 +607,12 @@ $config['os'][$os]['text'] = "D-Link Access Point";
$config['os'][$os]['type'] = "wireless";
$config['os'][$os]['icon'] = "dlink";
$os = "ubiquitiap";
$config['os'][$os]['text'] = "Ubiquiti Networks Wireless";
$config['os'][$os]['type'] = "wireless";
$config['os'][$os]['icon'] = "ubiquiti";
$config['os'][$os]['over'][0]['graph'] = "device_bits";
$config['os'][$os]['over'][0]['text'] = "Device Traffic";
//$os = "ubiquitiap";
//$config['os'][$os]['text'] = "Ubiquiti Networks Wireless";
//$config['os'][$os]['type'] = "wireless";
//$config['os'][$os]['icon'] = "ubiquiti";
//$config['os'][$os]['over'][0]['graph'] = "device_bits";
//$config['os'][$os]['over'][0]['text'] = "Device Traffic";
$os = "axiscam";
$config['os'][$os]['text'] = "AXIS Network Camera";
@ -1011,6 +1038,280 @@ foreach ($config['os'] as $this_os => $blah)
$config['graph_sections'] = array('general', 'system', 'firewall', 'netstats', 'wireless', 'storage', 'vpdn', 'load balancer');
// Device - Wireless - AirMAX
$config['graph_types']['device']['ubnt_airmax_WlStatStaCount'] = array(
'section' => 'wireless',
'order' => '0',
'descr' => 'Wireless Clients',
'file' => 'ubnt-airmax-mib.rrd',
'colours' => 'reds',
'unit_text' => 'Number',
'ds' => array(
'WlStatStaCount' => array('label' => 'Clients', 'draw' => 'LINE', 'line' => TRUE)
)
);
$config['graph_types']['device']['ubnt_airmax_RadioDistance'] = array(
'section' => 'wireless',
'order' => '1',
'descr' => 'Radio Distance',
'file' => 'ubnt-airmax-mib.rrd',
'colours' => 'blues',
'unit_text' => 'Metres',
'ds' => array(
'RadioDistance' => array('label' => 'Distance', 'draw' => 'LINE', 'line' => TRUE)
)
);
$config['graph_types']['device']['ubnt_airmax_RadioFreq'] = array(
'section' => 'wireless',
'order' => '2',
'descr' => 'Radio Frequency',
'file' => 'ubnt-airmax-mib.rrd',
'colours' => 'reds',
'unit_text' => 'Mhz',
'ds' => array(
'RadioFreq' => array('label' => 'Frequency', 'draw' => 'LINE', 'line' => TRUE, 'rra_min' => FALSE, 'rra_max' => FALSE, 'colour' => '3ca3c1')
)
);
$config['graph_types']['device']['ubnt_airmax_RadioTxPower'] = array(
'section' => 'wireless',
'order' => '3',
'descr' => 'Radio Tx Power',
'file' => 'ubnt-airmax-mib.rrd',
'colours' => 'reds',
'unit_text' => 'dBm',
'ds' => array(
'RadioTxPower' => array('label' => 'Tx Power', 'draw' => 'LINE', 'line' => TRUE)
)
);
$config['graph_types']['device']['ubnt_airmax_RadioRssi_0'] = array(
'section' => 'wireless',
'order' => '4',
'descr' => 'Radio Rssi Chain 0',
'file' => 'ubnt-airmax-mib.rrd',
'colours' => 'blues',
'unit_text' => 'dBm',
'ds' => array(
'RadioRssi_0' => array('label' => 'RSSI', 'draw' => 'AREA', 'line' => TRUE)
)
);
$config['graph_types']['device']['ubnt_airmax_RadioRssi_1'] = array(
'section' => 'wireless',
'order' => '5',
'descr' => 'Radio Rssi Chain 1',
'file' => 'ubnt-airmax-mib.rrd',
'colours' => 'blues',
'unit_text' => 'dBm',
'ds' => array(
'RadioRssi_1' => array('label' => 'RSSI', 'draw' => 'AREA', 'line' => TRUE)
)
);
$config['graph_types']['device']['ubnt_airmax_WlStatSignal'] = array(
'section' => 'wireless',
'order' => '6',
'descr' => 'Radio Signal',
'file' => 'ubnt-airmax-mib.rrd',
'colours' => 'reds',
'unit_text' => 'dBm',
'ds' => array(
'WlStatSignal' => array('label' => 'Signal', 'draw' => 'LINE', 'line' => TRUE)
)
);
$config['graph_types']['device']['ubnt_airmax_WlStatRssi'] = array(
'section' => 'wireless',
'order' => '7',
'descr' => 'Radio Overall RSSI',
'file' => 'ubnt-airmax-mib.rrd',
'colours' => 'blues',
'unit_text' => 'dBm',
'ds' => array(
'WlStatRssi' => array('label' => 'RSSI', 'draw' => 'AREA', 'line' => TRUE)
)
);
$config['graph_types']['device']['ubnt_airmax_WlStatCcq'] = array(
'section' => 'wireless',
'order' => '8',
'descr' => 'Radio CCQ',
'file' => 'ubnt-airmax-mib.rrd',
'colours' => 'blues',
'unit_text' => 'Percent',
'ds' => array(
'WlStatCcq' => array('label' => 'CCQ', 'draw' => 'AREA', 'line' => TRUE)
)
);
$config['graph_types']['device']['ubnt_airmax_WlStatNoiseFloor'] = array(
'section' => 'wireless',
'order' => '10',
'descr' => 'Radio Noise Floor',
'file' => 'ubnt-airmax-mib.rrd',
'colours' => 'blues',
'unit_text' => 'dBm',
'ds' => array(
'WlStatNoiseFloor' => array('label' => 'Noise', 'draw' => 'AREA', 'line' => TRUE)
)
);
$config['graph_types']['device']['ubnt_airmax_WlStatTxRate'] = array(
'section' => 'wireless',
'order' => '11',
'descr' => 'Radio Tx Rate',
'file' => 'ubnt-airmax-mib.rrd',
'colours' => 'reds',
'unit_text' => 'mbps',
'ds' => array(
'WlStatTxRate' => array('label' => 'Tx Rate', 'draw' => 'LINE', 'line' => TRUE)
)
);
$config['graph_types']['device']['ubnt_airmax_WlStatRxRate'] = array(
'section' => 'wireless',
'order' => '12',
'descr' => 'Radio Rx Rate',
'file' => 'ubnt-airmax-mib.rrd',
'colours' => 'greens',
'unit_text' => 'mbps',
'ds' => array(
'WlStatRxRate' => array('label' => 'Rx Rate', 'draw' => 'LINE', 'line' => TRUE)
)
);
$config['graph_types']['device']['ubnt_airmax_AirMaxQuality'] = array(
'section' => 'wireless',
'order' => '13',
'descr' => 'AirMax Quality',
'file' => 'ubnt-airmax-mib.rrd',
'colours' => 'greens',
'unit_text' => 'Percent',
'ds' => array(
'AirMaxQuality' => array('label' => 'Quality', 'draw' => 'LINE', 'line' => TRUE)
)
);
$config['graph_types']['device']['ubnt_airmax_AirMaxCapacity'] = array(
'section' => 'wireless',
'order' => '14',
'descr' => 'AirMax Capacity',
'file' => 'ubnt-airmax-mib.rrd',
'colours' => 'greens',
'unit_text' => 'Percent',
'ds' => array(
'AirMaxCapacity' => array('label' => 'Capacity', 'draw' => 'LINE', 'line' => TRUE)
)
);
// Device - AirFIBER
$config['graph_types']['device']['ubnt_airfiber_RadioFreqs'] = array(
'section' => 'wireless',
'order' => '0',
'descr' => 'Radio Frequencies',
'file' => 'ubnt-airfiber-mib.rrd',
'colours' => 'blues',
'unit_text' => 'Mhz',
'ds' => array(
'txFrequency' => array('label' => 'Tx Frequency', 'draw' => 'LINE', 'line' => TRUE),
'rxFrequency' => array('label' => 'Rx Frequency', 'draw' => 'LINE', 'line' => TRUE)
)
);
$config['graph_types']['device']['ubnt_airfiber_TxPower'] = array(
'section' => 'wireless',
'descr' => 'Radio Tx Power',
'file' => 'ubnt-airfiber-mib.rrd',
'colours' => 'reds',
'unit_text' => 'dBm',
'ds' => array(
'txPower' => array('label' => 'Tx Power', 'draw' => 'LINE', 'line' => TRUE)
)
);
$config['graph_types']['device']['ubnt_airfiber_LinkDist'] = array(
'section' => 'wireless',
'descr' => 'Link Distance',
'file' => 'ubnt-airfiber-mib.rrd',
'colours' => 'reds',
'unit_text' => 'Metres',
'ds' => array(
'radioLinkDistM' => array('label' => 'Distance', 'draw' => 'LINE', 'line' => TRUE)
)
);
$config['graph_types']['device']['ubnt_airfiber_Capacity'] = array(
'section' => 'wireless',
'descr' => 'Link Capacity',
'file' => 'ubnt-airfiber-mib.rrd',
'colours' => 'blues',
'unit_text' => 'bps',
'ds' => array(
'rxCapacity' => array('label' => 'Rx Capacity', 'draw' => 'LINE', 'line' => TRUE),
'txCapacity' => array('label' => 'Tx Capacity', 'draw' => 'LINE', 'line' => TRUE)
)
);
$config['graph_types']['device']['ubnt_airfiber_RadioTemp'] = array(
'section' => 'wireless',
'descr' => 'Radio Temperatures',
'file' => 'ubnt-airfiber-mib.rrd',
'colours' => 'blues',
'unit_text' => 'Deg C',
'ds' => array(
'radio0TempC' => array('label' => 'Radio 0 Temp', 'draw' => 'LINE', 'line' => TRUE),
'radio1TempC' => array('label' => 'Radio 1 Temp', 'draw' => 'LINE', 'line' => TRUE)
)
);
$config['graph_types']['device']['ubnt_airfiber_RFTotOctetsTx'] = array(
'section' => 'wireless',
'descr' => 'RF Total Octets Tx',
'file' => 'ubnt-airfiber-mib.rrd',
'colours' => 'reds',
'unit_text' => 'Octets',
'ds' => array(
'txoctetsAll' => array('label' => 'Octets', 'draw' => 'AREA', 'line' => TRUE)
)
);
$config['graph_types']['device']['ubnt_airfiber_RFTotPktsTx'] = array(
'section' => 'wireless',
'descr' => 'RF Total Packets Tx',
'file' => 'ubnt-airfiber-mib.rrd',
'colours' => 'reds',
'unit_text' => 'Packets',
'ds' => array(
'txpktsAll' => array('label' => 'Packets', 'draw' => 'AREA', 'line' => TRUE)
)
);
$config['graph_types']['device']['ubnt_airfiber_RFTotOctetsRx'] = array(
'section' => 'wireless',
'descr' => 'RF Total Octets Rx',
'file' => 'ubnt-airfiber-mib.rrd',
'colours' => 'greens',
'unit_text' => 'Octets',
'ds' => array(
'rxoctetsAll' => array('label' => 'Octets', 'draw' => 'AREA', 'line' => TRUE)
)
);
$config['graph_types']['device']['ubnt_airfiber_RFTotPktsRx'] = array(
'section' => 'wireless',
'descr' => 'RF Total Packets Rx',
'file' => 'ubnt-airfiber-mib.rrd',
'colours' => 'greens',
'unit_text' => 'Packets',
'ds' => array(
'rxpktsAll' => array('label' => 'Packets', 'draw' => 'AREA', 'line' => TRUE)
)
);
$config['graph_types']['device']['wifi_clients']['section'] = 'wireless';
$config['graph_types']['device']['wifi_clients']['order'] = '0';
$config['graph_types']['device']['wifi_clients']['descr'] = 'Wireless Clients';

View File

@ -15,6 +15,13 @@ if (!$os)
elseif (strstr($sysDescr, "endian")) { $os = "endian"; }
elseif (preg_match("/Cisco Small Business/", $sysDescr)) { $os = "ciscosmblinux"; }
elseif (strpos($entPhysicalMfgName, "QNAP") !== FALSE) { $os = "qnap"; }
elseif (strstr($sysObjectId, ".1.3.6.1.4.1.10002.1") || strstr($sysObjectId, ".1.3.6.1.4.1.41112.1.4") || strpos(trim(snmp_get($device, "dot11manufacturerName.5", "-Osqnv", "IEEE802dot11-MIB")), "Ubiquiti") !== FALSE)
{
$os = "airos";
if (strpos(trim(snmp_get($device, "dot11manufacturerProductName.5", "-Osqnv", "IEEE802dot11-MIB")), "UAP") !== FALSE) { $os = "unifi"; }
elseif (strpos(trim(snmp_get($device, "dot11manufacturerProductName.2", "-Osqnv", "IEEE802dot11-MIB")), "UAP") !== FALSE) { $os = "unifi"; }
elseif (trim(snmp_get($device, "fwVersion.1", "-Osqnv", "UBNT-AirFIBER-MIB")) != '') { $os = "airos-af"; }
}
else
{
// Check for Synology DSM

View File

@ -241,4 +241,82 @@ function poll_device($device, $options)
}
}
function poll_mib_def($device, $mib_name_table, $mib_subdir, $mib_oids, $mib_graphs, &$graphs)
{
global $config;
echo("This is mag_poll_mib_def Processing\n");
$rrd = array();
$mib = NULL;
$table = NULL;
list($mib,$table) = explode(":", $mib_name_table, 2);
//$mib_dirs = mib_dirs($mib_subdir);
$rrd_file = strtolower(safename($mib)).'.rrd';
$rrdcreate = '--step 300 ';
$oidglist = array();
foreach ($mib_oids as $oid => $param)
{
$oidindex = $param[0];
$oiddsname = $param[1];
$oiddsdesc = $param[2];
$oiddstype = $param[3];
if (strlen($oiddsname) > 19) { $oiddsname = truncate($oiddsname, 19, ''); }
$rrdcreate .= ' DS:'.$oiddsname.':'.$oiddstype.':600:U:100000000000';
if ($oidindex != '')
{
$fulloid = $oid.'.'.$oidindex;
} else {
$fulloid = $oid;
}
// Add to oid GET list
$oidglist[] = $fulloid;
}
// Implde for LibreNMS Version
$oidilist = implode(" ",$oidglist);
$snmpdata = snmp_get_multi($device, $oidilist, "-OQUs", $mib);
if (isset($GLOBALS['exec_status']['exitcode']) && $GLOBALS['exec_status']['exitcode'] !== 0)
{
print_debug(" ERROR, bad snmp response");
return FALSE;
}
$rrdupdate = 'N';
foreach ($oidglist as $fulloid)
{
list($splitoid, $splitindex) = explode(".", $fulloid, 2);
if (is_numeric($snmpdata[$splitindex][$splitoid]))
{
$rrdupdate .= ':'.$snmpdata[$splitindex][$splitoid];
} else {
$rrdupdate .= ':U';
}
}
$rrdfilename = $config['rrd_dir']."/".$device['hostname']."/".$rrd_file;
if (!is_file($rrdfilename))
{
rrdtool_create($rrdfilename, $rrdcreate." ".$config['rrd_rra']);
}
rrdtool_update($rrdfilename, $rrdupdate);
foreach ($mib_graphs as $graphtoenable)
{
$graphs[$graphtoenable] = TRUE;
}
return TRUE;
}
?>

View File

@ -0,0 +1,57 @@
<?php
/**
* @copyright (C) 2015 Mark Gibbons
*
*/
// Polling of AirFIBER MIB AP for Ubiquiti AirFIBER Radios
//
// UBNT-AirFIBER-MIB
echo(" UBNT-AirFIBER-MIB ");
// $mib_oids (oidindex,dsname,dsdescription,dstype)
$mib_oids = array(
'txFrequency' => array('1', 'txFrequency', 'Tx Frequency', 'GAUGE'),
'rxFrequency' => array('1', 'rxFrequency', 'Rx Frequency', 'GAUGE'),
'txPower' => array('1', 'txPower', 'Tx Power', 'GAUGE'),
'radioLinkDistM' => array('1', 'radioLinkDistM', 'Link Distance', 'GAUGE'),
'rxCapacity' => array('1', 'rxCapacity', 'Rx Capacity', 'GAUGE'),
'txCapacity' => array('1', 'txCapacity', 'Tx Capacity', 'GAUGE'),
'radio0TempC' => array('1', 'radio0TempC', 'Radio 0 Temp', 'GAUGE'),
'radio1TempC' => array('1', 'radio1TempC', 'Radio 1 Temp', 'GAUGE'),
'txOctetsOK' => array('1', 'txOctetsOK', 'Tx Octets OK', 'COUNTER'),
'rxOctetsOK' => array('1', 'rxOctetsOK', 'Rx Octets OK', 'COUNTER'),
'rxValidUnicastFrames' => array('1', 'rxValUnicastFrms', 'TODOa', 'COUNTER'),
'rxValidMulticastFrames' => array('1', 'rxValMulticastFrms', 'TODOa', 'COUNTER'),
'rxValidBroadcastFrames' => array('1', 'rxValBroadcastFrms', 'TODO', 'COUNTER'),
'txValidUnicastFrames' => array('1', 'txValUnicastFrms', 'TODO', 'COUNTER'),
'txValidMulticastFrames' => array('1', 'txValMulticastFrms', 'TODO', 'COUNTER'),
'txValidBroadcastFrames' => array('1', 'txValBroadcastFrms', 'TODO', 'COUNTER'),
'rxTotalOctets' => array('1', 'rxTotalOctets', 'TODO', 'COUNTER'),
'rxTotalFrames' => array('1', 'rxTotalFrms', 'TODO', 'COUNTER'),
'rx64BytePackets' => array('1', 'rx64BytePkts', 'TODO', 'COUNTER'),
'rx65-127BytePackets' => array('1', 'rx65-127BytePkts', 'TODO', 'COUNTER'),
'rx128-255BytePackets' => array('1', 'rx128-255BytePkts', 'TODO', 'COUNTER'),
'rx256-511BytePackets' => array('1', 'rx256-511BytePkts', 'TODO', 'COUNTER'),
'rx512-1023BytePackets' => array('1', 'rx512-1023BytePkts', 'TODO', 'COUNTER'),
'rx1024-1518BytesPackets' => array('1', 'rx1024-1518BytePkts', 'TODO', 'COUNTER'),
'rx1519PlusBytePackets' => array('1', 'rx1519PlusBytePkts', 'TODO', 'COUNTER'),
'txoctetsAll' => array('1', 'txoctetsAll', 'TODO', 'COUNTER'),
'txpktsAll' => array('1', 'txpktsAll', 'TODO', 'COUNTER'),
'rxoctetsAll' => array('1', 'rxoctetsAll', 'TODO', 'COUNTER'),
'rxpktsAll' => array('1', 'rxpktsAll', 'TODO', 'COUNTER'),
);
$mib_graphs = array('ubnt_airfiber_RadioFreqs', 'ubnt_airfiber_TxPower', 'ubnt_airfiber_LinkDist', 'ubnt_airfiber_Capacity', 'ubnt_airfiber_RadioTemp',
'AF1', 'AF2', 'AF3', 'AF4', 'AF5',
'ubnt_airfiber_RFTotOctetsTx', 'ubnt_airfiber_RFTotPktsTx', 'ubnt_airfiber_RFTotOctetsRx', 'ubnt_airfiber_RFTotPktsRx');
unset($graph, $oids, $oid);
poll_mib_def($device, 'UBNT-AirFIBER-MIB:UBNT', 'ubiquiti', $mib_oids, $mib_graphs, $graphs);
// EOF

View File

@ -0,0 +1,72 @@
<?php
/**
* @copyright (C) 2015 Mark Gibbons
*
*/
// Polling of Airmax MIB AP for Ubiquiti Airmax Radios
//
// UBNT-AirMAX-MIB
echo(" UBNT-AirMAX-MIB ");
// Check If It Is A Device that supports latest Airmax MIB By Trying To Read Frequency
//if (substr($device['version'],0,3) == "5.6")
if (is_numeric(snmp_get($device, "ubntRadioFreq.1", "-OUqnv", "UBNT-AirMAX-MIB", $config['mib_dir'])))
{
// $mib_oids (oidindex,dsname,dsdescription,dstype)
$mib_oids = array(
'ubntRadioFreq' => array('1', 'RadioFreq', 'Frequency', 'GAUGE'),
'ubntRadioTxPower' => array('1', 'RadioTxPower', 'Tx Power', 'GAUGE'),
'ubntRadioDistance' => array('1', 'RadioDistance', 'Distance', 'GAUGE'),
'ubntRadioRssi.1.1' => array('', 'RadioRssi_0', 'RSSI Chain 0', 'GAUGE'),
'ubntRadioRssi.1.2' => array('', 'RadioRssi_1', 'RSSI Chain 1', 'GAUGE'),
'ubntWlStatSignal' => array('1', 'WlStatSignal', 'Signal', 'GAUGE'),
'ubntWlStatRssi' => array('1', 'WlStatRssi', 'Overall RSSI', 'GAUGE'),
'ubntWlStatCcq' => array('1', 'WlStatCcq', 'Transmit CCQ', 'GAUGE'),
'ubntWlStatNoiseFloor' => array('1', 'WlStatNoiseFloor', 'Noise Floor', 'GAUGE'),
'ubntWlStatTxRate' => array('1', 'WlStatTxRate', 'Tx Rate', 'GAUGE'),
'ubntWlStatRxRate' => array('1', 'WlStatRxRate', 'Rx Rate', 'GAUGE'),
'ubntWlStatStaCount' => array('1', 'WlStatStaCount', 'Sta Count', 'GAUGE'),
'ubntAirMaxQuality' => array('1', 'AirMaxQuality', 'AirMax Quality', 'GAUGE'),
'ubntAirMaxCapacity' => array('1', 'AirMaxCapacity', 'AirMax Capacity', 'GAUGE'),
);
$mib_graphs = array();
// Build Graph List Array
if (1 == 1)
{
// Is It An AP
if (stristr(snmp_get($device, "ubntRadioMode.1", "-OUqnv", "UBNT-AirMAX-MIB", $config['mib_dir']),"ap"))
{
// Yes - Add Station Count Graph
array_push($mib_graphs, 'ubnt_airmax_WlStatStaCount');
}
// Add Common Graphs
array_push($mib_graphs, 'ubnt_airmax_RadioFreq', 'ubnt_airmax_RadioTxPower', 'ubnt_airmax_RadioDistance', 'ubnt_airmax_RadioRssi_0', 'ubnt_airmax_RadioRssi_1',
'ubnt_airmax_WlStatSignal', 'ubnt_airmax_WlStatRssi', 'ubnt_airmax_WlStatCcq', 'ubnt_airmax_WlStatNoiseFloor', 'ubnt_airmax_WlStatTxRate',
'ubnt_airmax_WlStatRxRate');
// Is Airmax Enabled?
if (snmp_get($device, "ubntAirMaxEnabled.1", "-OUqnv", "UBNT-AirMAX-MIB", $config['mib_dir']) == 'true')
{
// Check To See If It Is An AC Device - Returns Airmax Capacity of 0
if (snmp_get($device, "ubntAirMaxCapacity.1", "-OUqnv", "UBNT-AirMAX-MIB", $config['mib_dir']) != 0)
{
//No - Not AC - add AirMax Graphs
array_push($mib_graphs, 'ubnt_airmax_AirMaxQuality', 'ubnt_airmax_AirMaxCapacity');
}
}
}
}
unset($graph, $oids, $oid);
poll_mib_def($device, 'UBNT-AirMAX-MIB:UBNT', 'ubiquiti', $mib_oids, $mib_graphs, $graphs);
// EOF

View File

@ -0,0 +1,8 @@
<?php
$hardware = "Ubiquiti AF ".trim(snmp_get($device, "dot11manufacturerProductName.5", "-Ovq", "IEEE802dot11-MIB", "/opt/librenms/mibs:/opt/librenms/mibs/rfc:/opt/librenms/mibs/net-snmp:/opt/librenms/mibs/ubiquiti"));
$version = trim(snmp_get($device, "dot11manufacturerProductVersion.5", "-Ovq", "IEEE802dot11-MIB", "/opt/librenms/mibs:/opt/librenms/mibs/rfc:/opt/librenms/mibs/net-snmp:/opt/librenms/mibs/ubiquiti"));
list(, $version) = preg_split('/\.v/',$version);
// EOF

View File

@ -0,0 +1,8 @@
<?php
$hardware = "Ubiquiti ".trim(snmp_get($device, "dot11manufacturerProductName.5", "-Ovq", "IEEE802dot11-MIB"));
$version = trim(snmp_get($device, "dot11manufacturerProductVersion.5", "-Ovq", "IEEE802dot11-MIB"));
list(, $version) = preg_split('/\.v/',$version);
// EOF

View File

@ -1,8 +1,24 @@
<?php
if ($device['type'] == 'network' || $device['type'] == 'firewall')
if ($device['type'] == 'network' || $device['type'] == 'firewall' || $device['type'] == 'wireless')
{
echo("Wireless: ");
echo("Wireless: MAG\n");
if ($device['os'] == 'airos')
{
echo("It Is Airos\n");
include("includes/polling/mib/ubnt-airmax-mib.inc.php");
}
if ($device['os'] == 'airos-af')
{
echo("It Is AirFIBER\n");
include("includes/polling/mib/ubnt-airfiber-mib.inc.php");
}
///# GENERIC FRAMEWORK, FILLING VARIABLES
if ($device['os'] == 'airport')

1360
mibs/UBNT-AirFIBER-MIB Executable file

File diff suppressed because it is too large Load Diff

712
mibs/UBNT-AirMAX-MIB Executable file
View File

@ -0,0 +1,712 @@
UBNT-AirMAX-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, Integer32, Gauge32, Counter64,
IpAddress, TimeTicks FROM SNMPv2-SMI
DisplayString, TruthValue, MacAddress FROM SNMPv2-TC
OBJECT-GROUP, MODULE-COMPLIANCE FROM SNMPv2-CONF
ubntAirosGroups, ubntMIB FROM UBNT-MIB;
ubntAirMAX MODULE-IDENTITY
LAST-UPDATED "201405250000Z"
ORGANIZATION "Ubiquiti Networks, Inc."
CONTACT-INFO "support@ubnt.com"
DESCRIPTION "The AirMAX MIB module for Ubiquiti Networks, Inc. entities"
REVISION "201405250000Z"
DESCRIPTION "ubntAirMAX revision"
::= { ubntMIB 4 }
-- --------------------------------------------------------------------------------
-- radio table
-- --------------------------------------------------------------------------------
ubntRadioTable OBJECT-TYPE
SYNTAX SEQUENCE OF UbntRadioEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Radio status & statistics"
::= { ubntAirMAX 1 }
ubntRadioEntry OBJECT-TYPE
SYNTAX UbntRadioEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "An entry in the ubntRadioTable"
INDEX { ubntRadioIndex }
::= { ubntRadioTable 1 }
UbntRadioEntry ::= SEQUENCE {
ubntRadioIndex Integer32,
ubntRadioMode INTEGER,
ubntRadioCCode Integer32,
ubntRadioFreq Integer32,
ubntRadioDfsEnabled TruthValue,
ubntRadioTxPower Integer32,
ubntRadioDistance Integer32,
ubntRadioChainmask Integer32,
ubntRadioAntenna DisplayString
}
ubntRadioIndex OBJECT-TYPE
SYNTAX Integer32 (1..255)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Index for the ubntRadioTable"
::= { ubntRadioEntry 1 }
ubntRadioMode OBJECT-TYPE
SYNTAX INTEGER {
sta(1),
ap(2),
aprepeater(3),
apwds(4)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Radio mode"
::= { ubntRadioEntry 2 }
ubntRadioCCode OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Country code"
::= { ubntRadioEntry 3 }
ubntRadioFreq OBJECT-TYPE
SYNTAX Integer32 (1..65535)
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Operating frequency"
::= { ubntRadioEntry 4 }
ubntRadioDfsEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION "DFS status"
::= { ubntRadioEntry 5 }
ubntRadioTxPower OBJECT-TYPE
SYNTAX Integer32 (1..65535)
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Transmit power"
::= { ubntRadioEntry 6 }
ubntRadioDistance OBJECT-TYPE
SYNTAX Integer32 (1..65535)
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Distance"
::= { ubntRadioEntry 7 }
ubntRadioChainmask OBJECT-TYPE
SYNTAX Integer32 (1..255)
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Chainmask"
::= { ubntRadioEntry 8 }
ubntRadioAntenna OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Antenna"
::= { ubntRadioEntry 9 }
ubntRadioRssiTable OBJECT-TYPE
SYNTAX SEQUENCE OF UbntRadioRssiEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Radio RSSI per chain"
::= { ubntAirMAX 2 }
ubntRadioRssiEntry OBJECT-TYPE
SYNTAX UbntRadioRssiEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "An entry in the ubntRadioRssiTable"
INDEX { ubntRadioIndex, ubntRadioRssiIndex }
::= { ubntRadioRssiTable 1 }
UbntRadioRssiEntry ::= SEQUENCE {
ubntRadioRssiIndex Integer32,
ubntRadioRssi Integer32,
ubntRadioRssiMgmt Integer32,
ubntRadioRssiExt Integer32
}
ubntRadioRssiIndex OBJECT-TYPE
SYNTAX Integer32 (1..255)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Index for the ubntRadioRssiTable"
::= { ubntRadioRssiEntry 1 }
ubntRadioRssi OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Data frames rssi per chain"
::= { ubntRadioRssiEntry 2 }
ubntRadioRssiMgmt OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Management frames rssi per chain"
::= { ubntRadioRssiEntry 3 }
ubntRadioRssiExt OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Extension channel rssi per chain"
::= { ubntRadioRssiEntry 4 }
-- --------------------------------------------------------------------------------
-- airMAX table
-- --------------------------------------------------------------------------------
ubntAirMaxTable OBJECT-TYPE
SYNTAX SEQUENCE OF UbntAirMaxEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "airMAX protocol statistics"
::= { ubntAirMAX 6 }
ubntAirMaxEntry OBJECT-TYPE
SYNTAX UbntAirMaxEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "An entry in the ubntAirMaxTable"
INDEX { ubntAirMaxIfIndex }
::= { ubntAirMaxTable 1 }
UbntAirMaxEntry ::= SEQUENCE {
ubntAirMaxIfIndex Integer32,
ubntAirMaxEnabled TruthValue,
ubntAirMaxQuality Integer32,
ubntAirMaxCapacity Integer32,
ubntAirMaxPriority INTEGER,
ubntAirMaxNoAck TruthValue
}
ubntAirMaxIfIndex OBJECT-TYPE
SYNTAX Integer32 (1..255)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Index for the ubntAirMaxTable"
::= { ubntAirMaxEntry 1 }
ubntAirMaxEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION "airMAX status - on/off"
::= { ubntAirMaxEntry 2 }
ubntAirMaxQuality OBJECT-TYPE
SYNTAX Integer32 (0..100)
MAX-ACCESS read-only
STATUS current
DESCRIPTION "airMAX quality - percentage"
::= { ubntAirMaxEntry 3 }
ubntAirMaxCapacity OBJECT-TYPE
SYNTAX Integer32 (0..100)
MAX-ACCESS read-only
STATUS current
DESCRIPTION "airMAX capacity - percentage"
::= { ubntAirMaxEntry 4 }
ubntAirMaxPriority OBJECT-TYPE
SYNTAX INTEGER {
high(0),
medium(1),
low(2),
none(3)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION "airMAX priority - none/high/low/medium"
::= { ubntAirMaxEntry 5 }
ubntAirMaxNoAck OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION "airMAX NoACK mode - on/off"
::= { ubntAirMaxEntry 6 }
-- --------------------------------------------------------------------------------
-- airSync table
-- --------------------------------------------------------------------------------
ubntAirSyncTable OBJECT-TYPE
SYNTAX SEQUENCE OF UbntAirSyncEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "airSync protocol statistics"
::= { ubntAirMAX 3 }
ubntAirSyncEntry OBJECT-TYPE
SYNTAX UbntAirSyncEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "An entry in the ubntAirSyncTable"
INDEX { ubntAirSyncIfIndex }
::= { ubntAirSyncTable 1 }
UbntAirSyncEntry ::= SEQUENCE {
ubntAirSyncIfIndex Integer32,
ubntAirSyncMode INTEGER,
ubntAirSyncCount Integer32,
ubntAirSyncDownUtil Integer32,
ubntAirSyncUpUtil Integer32
}
ubntAirSyncIfIndex OBJECT-TYPE
SYNTAX Integer32 (1..255)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Index for the ubntAirSyncTable"
::= { ubntAirSyncEntry 1 }
ubntAirSyncMode OBJECT-TYPE
SYNTAX INTEGER {
disabled(0),
master(1),
slave(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION "airSync mode - master/slave"
::= { ubntAirSyncEntry 2 }
ubntAirSyncCount OBJECT-TYPE
SYNTAX Integer32 (0..255)
MAX-ACCESS read-only
STATUS current
DESCRIPTION "airSync client count"
::= { ubntAirSyncEntry 3 }
ubntAirSyncDownUtil OBJECT-TYPE
SYNTAX Integer32 (0..100)
MAX-ACCESS read-only
STATUS current
DESCRIPTION "airSync down utilization"
::= { ubntAirSyncEntry 4 }
ubntAirSyncUpUtil OBJECT-TYPE
SYNTAX Integer32 (0..100)
MAX-ACCESS read-only
STATUS current
DESCRIPTION "airSync up utilization"
::= { ubntAirSyncEntry 5 }
-- --------------------------------------------------------------------------------
-- airSelect table
-- --------------------------------------------------------------------------------
ubntAirSelTable OBJECT-TYPE
SYNTAX SEQUENCE OF UbntAirSelEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "airSelect protocol statistics"
::= { ubntAirMAX 4 }
ubntAirSelEntry OBJECT-TYPE
SYNTAX UbntAirSelEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "An entry in the ubntAirSelTable"
INDEX { ubntAirSelIfIndex }
::= { ubntAirSelTable 1 }
UbntAirSelEntry ::= SEQUENCE {
ubntAirSelIfIndex Integer32,
ubntAirSelEnabled TruthValue,
ubntAirSelInterval Integer32
}
ubntAirSelIfIndex OBJECT-TYPE
SYNTAX Integer32 (1..255)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Index for the ubntAirSelTable"
::= { ubntAirSelEntry 1 }
ubntAirSelEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION "airSelect status - on/off"
::= { ubntAirSelEntry 2 }
ubntAirSelInterval OBJECT-TYPE
SYNTAX Integer32 (0..65535)
MAX-ACCESS read-only
STATUS current
DESCRIPTION "airSelect hop interval (miliseconds)"
::= { ubntAirSelEntry 3 }
-- --------------------------------------------------------------------------------
-- wireless statistics table
-- --------------------------------------------------------------------------------
ubntWlStatTable OBJECT-TYPE
SYNTAX SEQUENCE OF UbntWlStatEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Wireless statistics"
::= { ubntAirMAX 5 }
ubntWlStatEntry OBJECT-TYPE
SYNTAX UbntWlStatEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "An entry in the ubntWlStatTable"
INDEX { ubntWlStatIndex }
::= { ubntWlStatTable 1 }
UbntWlStatEntry ::= SEQUENCE {
ubntWlStatIndex Integer32,
ubntWlStatSsid DisplayString,
ubntWlStatHideSsid TruthValue,
ubntWlStatApMac MacAddress,
ubntWlStatSignal Integer32,
ubntWlStatRssi Integer32,
ubntWlStatCcq Integer32,
ubntWlStatNoiseFloor Integer32,
ubntWlStatTxRate Integer32,
ubntWlStatRxRate Integer32,
ubntWlStatSecurity DisplayString,
ubntWlStatWdsEnabled TruthValue,
ubntWlStatApRepeater TruthValue,
ubntWlStatChanWidth Integer32,
ubntWlStatStaCount Gauge32
}
ubntWlStatIndex OBJECT-TYPE
SYNTAX Integer32 (1..255)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Index for the ubntWlStatTable"
::= { ubntWlStatEntry 1 }
ubntWlStatSsid OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION "SSID"
::= { ubntWlStatEntry 2 }
ubntWlStatHideSsid OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Hide SSID - on/off"
::= { ubntWlStatEntry 3 }
ubntWlStatApMac OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION "AP MAC address"
::= { ubntWlStatEntry 4 }
ubntWlStatSignal OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Signal strength, dBm"
::= { ubntWlStatEntry 5 }
ubntWlStatRssi OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "RSSI, dBm"
::= { ubntWlStatEntry 6 }
ubntWlStatCcq OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "CCQ in %"
::= { ubntWlStatEntry 7 }
ubntWlStatNoiseFloor OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Noise floor"
::= { ubntWlStatEntry 8 }
ubntWlStatTxRate OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "TX rate"
::= { ubntWlStatEntry 9 }
ubntWlStatRxRate OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "RX rate"
::= { ubntWlStatEntry 10 }
ubntWlStatSecurity OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Wireless security mode"
::= { ubntWlStatEntry 11 }
ubntWlStatWdsEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION "WDS - on/off"
::= { ubntWlStatEntry 12 }
ubntWlStatApRepeater OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION "AP repeater - on/off"
::= { ubntWlStatEntry 13 }
ubntWlStatChanWidth OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Channel Width"
::= { ubntWlStatEntry 14 }
ubntWlStatStaCount OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Station count"
::= { ubntWlStatEntry 15 }
-- --------------------------------------------------------------------------------
-- station list table
-- --------------------------------------------------------------------------------
ubntStaTable OBJECT-TYPE
SYNTAX SEQUENCE OF UbntStaEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Station list"
::= { ubntAirMAX 7 }
ubntStaEntry OBJECT-TYPE
SYNTAX UbntStaEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "An entry in the ubntStaEntry"
INDEX { ubntWlStatIndex, ubntStaMac }
::= { ubntStaTable 1 }
UbntStaEntry ::= SEQUENCE {
ubntStaMac MacAddress,
ubntStaName DisplayString,
ubntStaSignal Integer32,
ubntStaNoiseFloor Integer32,
ubntStaDistance Integer32,
ubntStaCcq Integer32,
ubntStaAmp Integer32,
ubntStaAmq Integer32,
ubntStaAmc Integer32,
ubntStaLastIp IpAddress,
ubntStaTxRate Integer32,
ubntStaRxRate Integer32,
ubntStaTxBytes Counter64,
ubntStaRxBytes Counter64,
ubntStaConnTime TimeTicks,
ubntStaLocalCINR Integer32
}
ubntStaMac OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Station MAC address"
::= { ubntStaEntry 1 }
ubntStaName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Station name"
::= { ubntStaEntry 2 }
ubntStaSignal OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Signal strength, dBm"
::= { ubntStaEntry 3 }
ubntStaNoiseFloor OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Noise floor"
::= { ubntStaEntry 4 }
ubntStaDistance OBJECT-TYPE
SYNTAX Integer32 (1..65535)
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Distance"
::= { ubntStaEntry 5 }
ubntStaCcq OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "CCQ in %"
::= { ubntStaEntry 6 }
ubntStaAmp OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "airMAX priority"
::= { ubntStaEntry 7 }
ubntStaAmq OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "airMAX quality"
::= { ubntStaEntry 8 }
ubntStaAmc OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "airMAX capacity"
::= { ubntStaEntry 9 }
ubntStaLastIp OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Last known IP address"
::= { ubntStaEntry 10 }
ubntStaTxRate OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "TX rate"
::= { ubntStaEntry 11 }
ubntStaRxRate OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "RX rate"
::= { ubntStaEntry 12 }
ubntStaTxBytes OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION "TX bytes"
::= { ubntStaEntry 13 }
ubntStaRxBytes OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION "TX rate"
::= { ubntStaEntry 14 }
ubntStaConnTime OBJECT-TYPE
SYNTAX TimeTicks
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Connection Time in seconds"
::= { ubntStaEntry 15 }
ubntStaLocalCINR OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Local CINR"
::= { ubntStaEntry 16 }
ubntAirMAXStatusGroup OBJECT-GROUP OBJECTS {
ubntStaName,
ubntStaSignal,
ubntStaNoiseFloor,
ubntStaDistance,
ubntStaCcq,
ubntStaAmp,
ubntStaAmq,
ubntStaAmc,
ubntStaLastIp,
ubntStaTxRate,
ubntStaRxRate,
ubntStaTxBytes,
ubntStaRxBytes,
ubntStaConnTime,
ubntStaLocalCINR,
ubntRadioMode,
ubntRadioCCode,
ubntRadioFreq,
ubntRadioDfsEnabled,
ubntRadioTxPower,
ubntRadioDistance,
ubntRadioChainmask,
ubntRadioAntenna,
ubntRadioRssi,
ubntRadioRssiMgmt,
ubntRadioRssiExt,
ubntAirMaxEnabled,
ubntAirMaxQuality,
ubntAirMaxCapacity,
ubntAirMaxPriority,
ubntAirMaxNoAck,
ubntAirSyncMode,
ubntAirSyncCount,
ubntAirSyncDownUtil,
ubntAirSyncUpUtil,
ubntAirSelEnabled,
ubntAirSelInterval,
ubntWlStatSsid,
ubntWlStatHideSsid,
ubntWlStatApMac,
ubntWlStatSignal,
ubntWlStatRssi,
ubntWlStatCcq,
ubntWlStatNoiseFloor,
ubntWlStatTxRate,
ubntWlStatRxRate,
ubntWlStatSecurity,
ubntWlStatWdsEnabled,
ubntWlStatApRepeater,
ubntWlStatChanWidth,
ubntWlStatStaCount }
STATUS current
DESCRIPTION "Status and statistics for AirMax monitoring"
::= { ubntAirosGroups 1 }
ubntAirMAXStatusCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION "The compliance statement for Ubiquiti AirMax entities."
MODULE
GROUP ubntAirMAXStatusGroup
DESCRIPTION "This group is for Ubiquiti systems."
::= { ubntAirosGroups 2 }
END

108
mibs/UBNT-MIB Executable file
View File

@ -0,0 +1,108 @@
UBNT-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, Integer32, enterprises FROM SNMPv2-SMI
DisplayString FROM SNMPv2-TC
OBJECT-GROUP, MODULE-COMPLIANCE FROM SNMPv2-CONF;
ubntMIB MODULE-IDENTITY
LAST-UPDATED "201402270000Z"
ORGANIZATION "Ubiquiti Networks, Inc."
CONTACT-INFO "support@ubnt.com"
DESCRIPTION "The MIB module for Ubiquiti Networks, Inc. entities"
REVISION "201402270000Z"
DESCRIPTION "Split revision"
::= { ubnt 1 }
-- --------------------------------------------------------------------------------
-- Ubiquiti Networks Root
-- --------------------------------------------------------------------------------
ubnt OBJECT IDENTIFIER ::= { enterprises 41112 }
-- --------------------------------------------------------------------------------
-- Ubiquiti Networks SNMP Information
-- --------------------------------------------------------------------------------
ubntSnmpInfo OBJECT IDENTIFIER ::= { ubntMIB 2 }
ubntSnmpGroups OBJECT IDENTIFIER ::= { ubntSnmpInfo 1}
ubntAirosGroups OBJECT IDENTIFIER ::= { ubntSnmpInfo 2}
ubntAirFiberGroups OBJECT IDENTIFIER ::= { ubntSnmpInfo 3}
ubntEdgeMaxGroups OBJECT IDENTIFIER ::= { ubntSnmpInfo 4}
ubntUniFiGroups OBJECT IDENTIFIER ::= { ubntSnmpInfo 5}
ubntAirVisionGroups OBJECT IDENTIFIER ::= { ubntSnmpInfo 6}
ubntMFiGroups OBJECT IDENTIFIER ::= { ubntSnmpInfo 7}
ubntUniTelGroups OBJECT IDENTIFIER ::= { ubntSnmpInfo 8}
-- --------------------------------------------------------------------------------
-- Ubiquiti Networks Products
-- --------------------------------------------------------------------------------
ubntAirFIBER OBJECT IDENTIFIER ::= { ubntMIB 3 }
ubntEdgeMax OBJECT IDENTIFIER ::= { ubntMIB 5 }
ubntUniFi OBJECT IDENTIFIER ::= { ubntMIB 6 }
ubntAirVision OBJECT IDENTIFIER ::= { ubntMIB 7 }
ubntMFi OBJECT IDENTIFIER ::= { ubntMIB 8 }
ubntUniTel OBJECT IDENTIFIER ::= { ubntMIB 9 }
-- --------------------------------------------------------------------------------
-- Ubiquiti Networks OR table
-- --------------------------------------------------------------------------------
ubntORTable OBJECT-TYPE
SYNTAX SEQUENCE OF UbntOREntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Capabilities"
::= { ubntMIB 1 }
ubntOREntry OBJECT-TYPE
SYNTAX UbntOREntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "An entry in the ubntORTable"
INDEX { ubntORIndex }
::= { ubntORTable 1 }
UbntOREntry ::= SEQUENCE {
ubntORIndex Integer32,
ubntORID OBJECT IDENTIFIER,
ubntORDescr DisplayString
}
ubntORIndex OBJECT-TYPE
SYNTAX Integer32 (1..255)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Index for the ubntORTable"
::= { ubntOREntry 1 }
ubntORID OBJECT-TYPE
SYNTAX OBJECT IDENTIFIER
MAX-ACCESS read-only
STATUS current
DESCRIPTION "OR ID"
::= { ubntOREntry 2 }
ubntORDescr OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Description of idenfifier"
::= { ubntOREntry 3 }
ubntORInfoGroup OBJECT-GROUP
OBJECTS { ubntORID,
ubntORDescr }
STATUS current
DESCRIPTION "Collection of related objects"
::= { ubntSnmpGroups 1 }
ubntORCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION "The compliance statement for Ubiquiti entities."
MODULE
GROUP ubntORInfoGroup
DESCRIPTION "This group is for Ubiquiti systems."
::= { ubntSnmpGroups 2 }
END