Merge remote-tracking branch 'upstream/master'

Conflicts:
	AUTHORS.md
This commit is contained in:
joeywas 2016-08-30 15:30:40 -07:00
commit fd67db695f
24 changed files with 31788 additions and 12 deletions

View File

@ -123,7 +123,11 @@ LibreNMS contributors:
- Bennett Blodinger <bennett.blodinger@gmail.com> (benwa)
- Michael Hansen <nerdalertdk@gmail.com> (nerdalertdk)
- Daniel Cox <danielcoxman@gmail.com> (ospfbgp)
<<<<<<< HEAD
- Joseph Cunningham <joey.was@gmail.com> (joeywas)
=======
- Michael Van Delft <librenms@xo.tc> (HybridAU)
>>>>>>> upstream/master
[1]: http://observium.org/ "Observium web site"
Observium was written by:

View File

@ -130,6 +130,18 @@ Placeholders:
- Transport name: `%transport`
- Contacts, must be iterated in a foreach, `%key` holds email and `%value` holds name: `%contacts`
> NOTE: Placeholder names which are contained within another need to be ordered correctly. As an example:
```text
Limit: %value.sensor_limit / %value.sensor_limit_low
```
Should be done as:
```text
Limit: %value.sensor_limit_low / %value.sensor_limit
```
The Default Template is a 'one-size-fit-all'. We highly recommend defining own templates for your rules to include more specific information.
Templates can be matched against several rules.

View File

@ -9,7 +9,7 @@ We have some pre-built VirtualBox images you can use to get started:
If you want to install yourself then we have some new documentation which should make it easy.
> Please note the following docs are new and may not be 100% complate, please provide feedback on your experience.
> Please note the following docs are new and may not be 100% complete, please provide feedback on your experience.
[Ubuntu 16.04 Apache](http://docs.librenms.org/Installation/Installation-Ubuntu-1604-Apache/)

BIN
html/images/os/fujitsu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1005 B

BIN
html/images/os/lanier.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 438 B

View File

@ -26,7 +26,7 @@ if ($tmp != 0) {
$default_dash = $tmp;
} elseif ((int)$config['webui']['default_dashboard_id']) {
// if the user hasn't set their default page, and there is a global default set
$default_dash = (int)$config['webui']['default_dashboard_id'];
$default_dash = dbFetchCell('SELECT `dashboard_id` FROM `dashboards` WHERE `dashboard_id` = ?', array((int)$config['webui']['default_dashboard_id']));
}
if ($default_dash == 0 && dbFetchCell(
'SELECT dashboard_id FROM dashboards WHERE user_id=?',
@ -326,6 +326,7 @@ foreach (dbFetchRows("SELECT * FROM `widgets` ORDER BY `widget_title`") as $widg
$('.place_widget').on('click', function(event, state) {
var widget_id = $(this).data('widget_id');
event.preventDefault();
$.ajax({
type: 'POST',
url: 'ajax_form.php',

View File

@ -27,6 +27,7 @@ function generate_priority_icon($priority)
"notice" => "application_edit",
"info" => "application",
"debug" => "bug",
"" => "application",
);
return '<img src="images/16/' . $map[$priority] .'.png" title="' . $priority . '">';

View File

@ -655,6 +655,17 @@ $config['os'][$os]['text'] = 'TelePresence Conductor';
$config['os'][$os]['type'] = 'collaboration';
$config['os'][$os]['icon'] = 'cisco';
$os = 'cimc';
$config['os'][$os]['text'] = 'Cisco Integrated Management Controller';
$config['os'][$os]['type'] = 'server';
$config['os'][$os]['icon'] = 'cisco';
$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';
// Brocade NOS
$os = 'nos';
$config['os'][$os]['text'] = 'Brocade NOS';
@ -1501,6 +1512,15 @@ $config['os'][$os]['icon'] = 'ricoh';
$config['os'][$os]['over'][0]['graph'] = 'device_toner';
$config['os'][$os]['over'][0]['text'] = 'Toner';
// lanier is a rebadged ricoh
$os = 'lanier';
$config['os'][$os]['group'] = 'printer';
$config['os'][$os]['text'] = 'Lanier Printer';
$config['os'][$os]['type'] = 'printer';
$config['os'][$os]['icon'] = 'lanier';
$config['os'][$os]['over'][0]['graph'] = 'device_toner';
$config['os'][$os]['over'][0]['text'] = 'Toner';
$os = 'nrg';
$config['os'][$os]['group'] = 'printer';
$config['os'][$os]['text'] = 'NRG Printer';
@ -1534,13 +1554,6 @@ $config['os'][$os]['icon'] = 'hp';
$config['os'][$os]['over'][0]['graph'] = 'device_toner';
$config['os'][$os]['over'][0]['text'] = 'Toner';
$os = 'richoh';
$config['os'][$os]['group'] = 'printer';
$config['os'][$os]['text'] = 'Ricoh Printer';
$config['os'][$os]['type'] = 'printer';
$config['os'][$os]['over'][0]['graph'] = 'device_toner';
$config['os'][$os]['over'][0]['text'] = 'Toner';
$os = 'okilan';
$config['os'][$os]['group'] = 'printer';
$config['os'][$os]['text'] = 'OKI Printer';
@ -2027,6 +2040,17 @@ $config['os'][$os]['text'] = 'Sonus SBC';
$config['os'][$os]['type'] = 'appliance';
$config['os'][$os]['icon'] = 'sonus';
// Fujitsu Primergy Switch
$os = 'fujitsupyos';
$config['os'][$os]['text'] = 'Fujitsu';
$config['os'][$os]['type'] = 'network';
$config['os'][$os]['icon'] = 'fujitsu';
$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';
// Graph Types
require_once $config['install_dir'].'/includes/load_db_graph_types.inc.php';

View File

@ -0,0 +1,17 @@
<?php
/*
* LibreNMS
*
* Copyright (c) 2016 Søren Friis Rosiak <sorenrosiak@gmail.com>
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version. Please see LICENSE.txt at the top level of
* the source code distribution for details.
*/
if (!$os) {
if (stristr($sysDescr, 'Cisco Integrated Management Controller')) {
$os = 'cimc';
}
}

View File

@ -0,0 +1,17 @@
<?php
/*
* LibreNMS
*
* Copyright (c) 2016 Søren Friis Rosiak <sorenrosiak@gmail.com>
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version. Please see LICENSE.txt at the top level of
* the source code distribution for details.
*/
if (!$os) {
if (stristr($sysDescr, 'Fujitsu PY CB Eth Switch')) {
$os = 'fujitsupyos';
}
}

View File

@ -0,0 +1,7 @@
<?php
if (!$os) {
if (strstr($sysDescr, 'LANIER')) {
$os = 'lanier';
}
}

View File

@ -0,0 +1,44 @@
<?php
/*
* LibreNMS Ubiquiti EdgeSwitch States information module
*
* Copyright (c) 2016 Cercel Valentin <crc@nuamchefazi.ro>
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version. Please see LICENSE.txt at the top level of
* the source code distribution for details.
*/
if ($device['os'] == 'edgeswitch') {
d_echo('UBNT EdgeSwitch Chassis state');
//EdgeSwitch-BOXSERVICES-PRIVATE-MIB::boxServicesTempUnitState
$chassis_state_oid = '.1.3.6.1.4.1.4413.1.1.43.1.15.1.2.1';
$state_name = 'edgeswitch_state';
$descr = 'Chassis state';
$state = snmp_get($device, $chassis_state_oid, '-Oqv');
if (!empty($state)) {
$state_index_id = create_state_index($state_name);
if ($state_index_id !== null) {
$states = array(
array($state_index_id, 'other', 0, 0, 3),
array($state_index_id, 'ok', 1, 1, 0),
array($state_index_id, 'degraded', 1, 2, 1),
array($state_index_id, 'failed', 1, 3, 2),
);
foreach ($states as $value) {
$insert = array(
'state_index_id' => $value[0],
'state_descr' => $value[1],
'state_draw_graph' => $value[2],
'state_value' => $value[3],
'state_generic_value' => $value[4]
);
dbInsert($insert, 'state_translations');
}
}
discover_sensor($valid['sensor'], 'state', $device, $chassis_state_oid, 1, $state_name, $descr, '1', '1', null, null, null, null, $state, 'snmp', 1);
create_sensor_to_state_index($device, $state_name, 1);
}
}

View File

@ -0,0 +1,30 @@
<?php
/*
* LibreNMS Ubiquiti EdgeSwitch Temperature information module
*
* Copyright (c) 2016 Cercel Valentin <crc@nuamchefazi.ro>
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version. Please see LICENSE.txt at the top level of
* the source code distribution for details.
*/
if ($device['os'] == 'edgeswitch') {
d_echo('UBNT EdgeSwitch Temperatures');
$sensor_type = 'edgeswitch_temp';
//EdgeSwitch-BOXSERVICES-PRIVATE-MIB::boxServicesTempSensorIndex
$sensors_id_oid = '.1.3.6.1.4.1.4413.1.1.43.1.8.1.2';
$sensors_id = snmp_walk($device, $sensors_id_oid, '-Ovq');
foreach (explode("\n", $sensors_id) as $sensor) {
$descr = 'Temperature '.$sensor.':';
//EdgeSwitch-BOXSERVICES-PRIVATE-MIB::boxServicesTempSensorTemperature
$sensor_id_oid = '.1.3.6.1.4.1.4413.1.1.43.1.8.1.5.1.'.$sensor;
$current_value = trim(snmp_get($device, $sensor_id_oid, '-Oqv'));
if ($current_value > 0) {
discover_sensor($valid['sensor'], 'temperature', $device, $sensor_id_oid, $sensor, $sensor_type, $descr, 1, 1, null, null, null, null, $current_value);
}
}
}

View File

@ -22,7 +22,7 @@ if ($device['os_group'] == 'printer') {
$index = $split_oid[(count($split_oid) - 1)];
if (is_numeric($role)) {
//ricoh using private oids to expose toner levels
if ($os == 'ricoh' || $os == 'nrg') {
if ($os == 'ricoh' || $os == 'nrg' || $os == 'lanier') {
$toner_oid = ".1.3.6.1.4.1.367.3.2.1.2.24.1.1.5.$index";
$descr_oid = ".1.3.6.1.4.1.367.3.2.1.2.24.1.1.3.$index";
} else {
@ -37,14 +37,14 @@ if ($device['os_group'] == 'printer') {
$current = snmp_get($device, $toner_oid, '-Oqv');
//ricoh private mibs returns values as percent, no capacity is disclosed as it is not needed
if ($os == 'ricoh') {
if ($os == 'ricoh' || $os == 'lanier') {
$capacity = 100;
} else {
$capacity = snmp_get($device, $capacity_oid, '-Oqv');
}
//fix for ricoh devices returning garbage and devices returning percentage
if ($os == 'ricoh' || $os == 'nrg') {
if ($os == 'ricoh' || $os == 'nrg' || $os == 'lanier') {
if ($current == '-3') {
$current = 50;
} elseif ($current == '-100') {

View File

@ -0,0 +1,22 @@
<?php
/*
* LibreNMS
*
* Copyright (c) 2016 Søren Friis Rosiak <sorenrosiak@gmail.com>
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version. Please see LICENSE.txt at the top level of
* the source code distribution for details.
*/
$oids = 'cucsComputeBoardModel.1 cucsComputeBoardSerial.1';
$data = snmp_get_multi($device, $oids, '-OQUs', 'CISCO-UNIFIED-COMPUTING-COMPUTE-MIB');
if (!empty($data[1]['cucsComputeBoardModel'])) {
$hardware = $data[1]['cucsComputeBoardModel'];
}
if (!empty($data[1]['cucsComputeBoardSerial'])) {
$serial = $data[1]['cucsComputeBoardSerial'];
}
$firmwaredata = explode(" ", $poll_device['sysDescr']);
$firmware = $firmwaredata[11];

View File

@ -0,0 +1,15 @@
<?php
/*
* LibreNMS
*
* Copyright (c) 2016 Søren Friis Rosiak <sorenrosiak@gmail.com>
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version. Please see LICENSE.txt at the top level of
* the source code distribution for details.
*/
$data = str_replace(array('Fujitsu ', ' Runtime Code '), '', explode(',', $poll_device['sysDescr']));
$hardware = $data[0];
$version = $data[1];

File diff suppressed because it is too large Load Diff

2953
mibs/HH3C-LSW-DEV-ADM-MIB Normal file

File diff suppressed because it is too large Load Diff

1128
mibs/INT-SERV-MIB Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,643 @@
EdgeSwitch-BOXSERVICES-PRIVATE-MIB DEFINITIONS ::= BEGIN
-- Broadcom Inc EdgeSwitch Box Services MIB
-- Copyright Broadcom Inc(2004-2008) All rights reserved.
-- This SNMP Management Information Specification
-- embodies Broadcom Inc's confidential and proprietary
-- intellectual property. Broadcom Inc retains all title
-- and ownership in the Specification including any revisions.
-- This Specification is supplied "AS IS", Broadcom Inc
-- makes no warranty, either expressed or implied,
-- as to the use, operation, condition, or performance of the
-- Specification.
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,
Unsigned32, Integer32 FROM SNMPv2-SMI
TEXTUAL-CONVENTION FROM SNMPv2-TC
DisplayString FROM RFC1213-MIB
fastPath FROM EdgeSwitch-REF-MIB;
fastPathBoxServices MODULE-IDENTITY
LAST-UPDATED "201101260000Z" -- 26 Jan 2011 12:00:00 GMT
ORGANIZATION "Broadcom Inc"
CONTACT-INFO ""
DESCRIPTION
"The Ubiquiti Private MIB for EdgeSwitch Box Services Feature."
-- Revision history.
REVISION
"201101260000Z" -- 26 Jan 2011 12:00:00 GMT
DESCRIPTION
"Postal address updated."
REVISION
"200802220000Z" -- 22 Feb 2008 12:00:00 GMT
DESCRIPTION
"Ubiquiti branding related changes."
::= { fastPath 43 }
BoxsTemperatureStatus ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"The temperature state"
SYNTAX INTEGER {
low(0),
normal(1),
warning(2),
critical(3),
shutdown(4),
notpresent(5),
notoperational(6)
}
--**************************************************************************************
-- boxServicesGroup
--
-- This group provides configuration and status of the Box Services
-- feature.
--
--**************************************************************************************
boxServicesGroup OBJECT IDENTIFIER ::= { fastPathBoxServices 1 }
--**************************************************************************************
-- Some scalars
boxServicesNormalTempRangeMin OBJECT-TYPE
SYNTAX Integer32 (-100..100)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" Lower boundary of normal temperature range."
DEFVAL { 0 }
::= { boxServicesGroup 1 }
boxServicesNormalTempRangeMax OBJECT-TYPE
SYNTAX Integer32 (-100..100)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" Upper boundary of normal temperature range."
DEFVAL { 45 }
::= { boxServicesGroup 2 }
boxServicesTemperatureTrapEnable OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" Enable or disable temperature change event trap, raised when temperature crosses boundaries of normal range"
DEFVAL { enable }
::= { boxServicesGroup 3 }
boxServicesPSMStateTrapEnable OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" Enable or disable Power Supply Module state change trap."
DEFVAL { enable }
::= { boxServicesGroup 4 }
boxServicesFanStateTrapEnable OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" Enable or disable Fan state change trap."
DEFVAL { enable }
::= { boxServicesGroup 5 }
boxServicesThermalShutdownSensor OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"The number of the sensor which initiated thermal shutdown."
::= { boxServicesGroup 13 }
boxServicesThermalShutdownTemperature OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"The temperature of the sensor which initiated thermal shutdown."
::= { boxServicesGroup 14 }
--**************************************************************************************
-- boxServicesFans
boxServicesFansTable OBJECT-TYPE
SYNTAX SEQUENCE OF BoxServicesFansEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Fan"
::= { boxServicesGroup 6 }
boxServicesFansEntry OBJECT-TYPE
SYNTAX BoxServicesFansEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Box Services Fan Entry"
INDEX { boxServicesFanUnitIndex , boxServicesFansIndex }
::= { boxServicesFansTable 1 }
BoxServicesFansEntry ::= SEQUENCE {
boxServicesFanUnitIndex
Unsigned32,
boxServicesFansIndex
Integer32,
boxServicesFanItemType
INTEGER,
boxServicesFanItemState
INTEGER,
boxServicesFanSpeed
OCTET STRING,
boxServicesFanDutyLevel
OCTET STRING
}
boxServicesFanUnitIndex OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Unit index for an entry in the Box Services Fan Table"
::= { boxServicesFansEntry 6 }
boxServicesFansIndex OBJECT-TYPE
SYNTAX Integer32 (0..2147483647)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Unique index of fan table entry"
::= { boxServicesFansEntry 1 }
boxServicesFanItemType OBJECT-TYPE
SYNTAX INTEGER {
fixed(1),
removable(2),
fixedAC(3),
removableDC(4),
fixedDC(5),
removableAC(6)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The type of fan"
::= { boxServicesFansEntry 2 }
boxServicesFanItemState OBJECT-TYPE
SYNTAX INTEGER {
notpresent(1),
operational(2),
failed(3),
powering(4),
nopower(5),
notpowering(6),
incompatible(7)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The status of fan. nopower(4) - This state means the fan is present but no AC is connected."
::= { boxServicesFansEntry 3 }
boxServicesFanSpeed OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (13))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The speed of fan"
::= { boxServicesFansEntry 4}
boxServicesFanDutyLevel OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (13))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The duty level of fan, in percents"
::= { boxServicesFansEntry 5}
--**************************************************************************************
-- boxServicesPowSupplies
boxServicesPowSuppliesTable OBJECT-TYPE
SYNTAX SEQUENCE OF BoxServicesPowSuppliesEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Power supply"
::= { boxServicesGroup 7 }
boxServicesPowSuppliesEntry OBJECT-TYPE
SYNTAX BoxServicesPowSuppliesEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Box Services Power Supply Entry"
INDEX { boxServicesPowerSuppUnitIndex, boxServicesPowSupplyIndex }
::= { boxServicesPowSuppliesTable 1 }
BoxServicesPowSuppliesEntry ::= SEQUENCE {
boxServicesPowerSuppUnitIndex
Unsigned32,
boxServicesPowSupplyIndex
Integer32,
boxServicesPowSupplyItemType
INTEGER,
boxServicesPowSupplyItemState
INTEGER
}
boxServicesPowerSuppUnitIndex OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Unit index for an entry in the Box Services Power Supply Table"
::= { boxServicesPowSuppliesEntry 4 }
boxServicesPowSupplyIndex OBJECT-TYPE
SYNTAX Integer32 (0..2147483647)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Unique index of power supply table entry"
::= { boxServicesPowSuppliesEntry 1 }
boxServicesPowSupplyItemType OBJECT-TYPE
SYNTAX INTEGER {
fixed(1),
removable(2),
fixedAC(3),
removableDC(4),
fixedDC(5),
removableAC(6)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The type of power supply"
::= { boxServicesPowSuppliesEntry 2 }
boxServicesPowSupplyItemState OBJECT-TYPE
SYNTAX INTEGER {
notpresent(1),
operational(2),
failed(3),
powering(4),
nopower(5),
notpowering(6),
incompatible(7)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The status of power supply. nopower(5) - This state means the power supply is present but no AC is connected.
incompatible(7) - This state is possible on boards capable of pluggable Power supplies"
::= { boxServicesPowSuppliesEntry 3 }
--**************************************************************************************
-- boxServicesTempSensors
boxServicesTempSensorsTable OBJECT-TYPE
SYNTAX SEQUENCE OF BoxServicesTempSensorsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Temperature sensor"
::= { boxServicesGroup 8 }
boxServicesTempSensorsEntry OBJECT-TYPE
SYNTAX BoxServicesTempSensorsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Box Services Temperature Sensor Entry"
INDEX { boxServicesUnitIndex, boxServicesTempSensorIndex }
::= { boxServicesTempSensorsTable 1 }
BoxServicesTempSensorsEntry ::= SEQUENCE {
boxServicesUnitIndex
Unsigned32,
boxServicesTempSensorIndex
Unsigned32,
boxServicesTempSensorType
INTEGER,
boxServicesTempSensorState
BoxsTemperatureStatus,
boxServicesTempSensorTemperature
Integer32
}
boxServicesUnitIndex OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Unit index for an entry in the Box Services Temperature Sensor Table"
::= { boxServicesTempSensorsEntry 1 }
boxServicesTempSensorIndex OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Unique index of temperature sensor table entry"
::= { boxServicesTempSensorsEntry 2 }
boxServicesTempSensorType OBJECT-TYPE
SYNTAX INTEGER {
fixed(1),
removable(2),
fixedAC(3),
removableDC(4),
fixedDC(5),
removableAC(6)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The type of temperature sensor"
::= { boxServicesTempSensorsEntry 3 }
boxServicesTempSensorState OBJECT-TYPE
SYNTAX BoxsTemperatureStatus
MAX-ACCESS read-only
STATUS obsolete
DESCRIPTION
"The state of temperature sensor"
::= { boxServicesTempSensorsEntry 4 }
boxServicesTempSensorTemperature OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The temperature value reported by sensor"
::= { boxServicesTempSensorsEntry 5 }
boxServicesTempUnitTable OBJECT-TYPE
SYNTAX SEQUENCE OF BoxServicesTempUnitEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Temperature status table"
::= { boxServicesGroup 15 }
boxServicesTempUnitEntry OBJECT-TYPE
SYNTAX BoxServicesTempUnitEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Box Services Temperature Unit Entry"
INDEX { boxServicesTempUnitIndex }
::= { boxServicesTempUnitTable 1 }
BoxServicesTempUnitEntry ::= SEQUENCE {
boxServicesTempUnitIndex
Unsigned32,
boxServicesTempUnitState
BoxsTemperatureStatus,
boxServicesTempUnitTemperature
Integer32
}
boxServicesTempUnitIndex OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Unit index for an entry in the Box Services Temperature Unit Table"
::= { boxServicesTempUnitEntry 1 }
boxServicesTempUnitState OBJECT-TYPE
SYNTAX BoxsTemperatureStatus
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The temperature state of the unit"
::= { boxServicesTempUnitEntry 2 }
boxServicesTempUnitTemperature OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The highest temperature currently reported by any sensor on the unit"
::= { boxServicesTempUnitEntry 3 }
--**************************************************************************************
-- boxServicesNotificationsGroup
--
-- This group provides notification definitions for the Box Services
-- feature.
--
--**************************************************************************************
boxServicesNotificationsGroup OBJECT IDENTIFIER ::= { fastPathBoxServices 2 }
--**************************************************************************************
-- boxServices notification definitions
boxsItemStateChangeEvent OBJECT-TYPE
SYNTAX INTEGER {
insertion(1),
removal(2),
becomeoperational(3),
failure(4),
losepower(5)
}
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This event describes states of the fan or power supply.
insertion - hot-pluggable fan or power supply was inserted
removal - hot-pluggable fan or power supply was removed
becomeoperational - fan or power supply became operational after failure state
failure - fan or power supply failure happened, i.e. it is not able to perform its functions
losepower - a power supply was operational, but the power to it has been disconnected or has failed"
::= { boxServicesNotificationsGroup 1 }
boxsTemperatureChangeEvent OBJECT-TYPE
SYNTAX INTEGER {
abovethreshold(1),
belowthreshold(2),
withinnormalrange(3)
}
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This event describes change of the temperature.
To avoid flipping on boundary conditions, it is allowed to send the trap
taking into account some margin around thresholds.
abovethreshold - temperature increased and crossed upper threshold value
belowthreshold - temperature decreased and crossed lower threshold value
withinnormalrange - temperature returned to normal range (between threshold)"
::= { boxServicesNotificationsGroup 2 }
boxsTemperatureStatusCurrentEvent OBJECT-TYPE
SYNTAX BoxsTemperatureStatus
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This event describes the current status of a switch."
::= { boxServicesNotificationsGroup 3 }
boxsTemperatureStatusPreviousEvent OBJECT-TYPE
SYNTAX BoxsTemperatureStatus
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This event describes the previous status of a switch."
::= { boxServicesNotificationsGroup 4 }
--**************************************************************************************
-- Traps
--**************************************************************************************
fastPathBoxServicesTraps OBJECT IDENTIFIER ::= { fastPathBoxServices 0 }
boxsFanStateChange NOTIFICATION-TYPE
OBJECTS {
boxServicesFansIndex,
boxsItemStateChangeEvent
}
STATUS current
DESCRIPTION
"Trap is sent when fan state change happens."
::= { fastPathBoxServicesTraps 1 }
boxsPowSupplyStateChange NOTIFICATION-TYPE
OBJECTS {
boxServicesPowSupplyIndex,
boxsItemStateChangeEvent
}
STATUS current
DESCRIPTION
"Trap is sent when power supply state change happens."
::= { fastPathBoxServicesTraps 2 }
boxsTemperatureChange NOTIFICATION-TYPE
OBJECTS {
boxServicesTempSensorIndex,
boxsTemperatureChangeEvent
}
STATUS obsolete
DESCRIPTION
"Trap is sent when temperature is changing and crossing any of the thresholds"
::= { fastPathBoxServicesTraps 3 }
boxsThermalShutdown NOTIFICATION-TYPE
OBJECTS {
boxServicesThermalShutdownSensor,
boxServicesThermalShutdownTemperature
}
STATUS current
DESCRIPTION
"Trap is sent when thermal shutdown is initiated."
::= { fastPathBoxServicesTraps 4 }
boxsTemperatureStateChange NOTIFICATION-TYPE
OBJECTS {
boxServicesTempUnitIndex,
boxsTemperatureStatusCurrentEvent,
boxsTemperatureStatusPreviousEvent
}
STATUS current
DESCRIPTION
"Trap is sent when the system temperature crosses a threshold.
To avoid rapid flapping between states, a hysteresis may
be applied."
::= { fastPathBoxServicesTraps 5 }
--**************************************************************************************
-- Locator LED manage group
--
-- This group provides manage definitions for the Locator LED feature.
--
--**************************************************************************************
boxsLocatorLedConfigGroup OBJECT IDENTIFIER ::= { fastPathBoxServices 4 }
boxsLocatorLedUnit OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Spesifies unit number where Locator LED should blink on.
This is write-only value. It always returns '0' on request
if the Locator Led feature is supported."
::= { boxsLocatorLedConfigGroup 1 }
boxsLocatorLedTime OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Indicates time period in seconds for Locator LED blinking.
The range is from 20 to 3600 seconds.
The dafault value is 20 seconds.
This is write-only value. It always returns '0' on request
if the Locator Led feature is supported."
DEFVAL { 20 }
::= { boxsLocatorLedConfigGroup 2 }
boxsLocatorLedEnable OBJECT-TYPE
SYNTAX INTEGER {
disable(0),
enable(1)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Starts the Locator LED blinking.
If boxsLocatorLedUnit has not been set current(manager) unit number will be used.
If boxsLocatorLedTime has not been set default value(20 seconds) will be used.
This is write-only value. It always returns '0' on request
if the Locator Led feature is supported."
::= { boxsLocatorLedConfigGroup 3 }
END

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,804 @@
EdgeSwitch-LOGGING-MIB DEFINITIONS ::= BEGIN
-- Copyright Broadcom Inc (2004-2007) All rights reserved.
-- This SNMP Management Information Specification
-- embodies Broadcom Inc's confidential and proprietary
-- intellectual property. Broadcom Inc retains all title
-- and ownership in the Specification including any revisions.
-- This Specification is supplied "AS IS", Broadcom Inc
-- makes no warranty, either expressed or implied,
-- as to the use, operation, condition, or performance of the
-- Specification.
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, Integer32, Counter32, Gauge32,
Unsigned32, TimeTicks, NOTIFICATION-TYPE FROM SNMPv2-SMI
TEXTUAL-CONVENTION, DisplayString,
DateAndTime, RowStatus FROM SNMPv2-TC
fastPath FROM EdgeSwitch-REF-MIB
InetAddress, InetAddressType, InetPortNumber FROM INET-ADDRESS-MIB
agentInventoryComponentIndex FROM EdgeSwitch-INVENTORY-MIB
InterfaceIndexOrZero FROM IF-MIB;
AgentLogFacility ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Facility code used in determining the SysLog Priority value."
REFERENCE
"RFC3164 - 4.1.1: Table 1"
SYNTAX INTEGER {
kernel(0), -- kernel messages
user(1), -- user-level messages
mail(2), -- mail system
system(3), -- system daemons
security(4), -- security/authorization messages
syslog(5), -- messages generated internally by syslogd
lpr(6), -- line printer subsystem
nntp(7), -- network news subsystem
uucp(8), -- UUCP subsystem
cron(9), -- clock daemon
auth (10), -- security/authorization messages
ftp(11), -- FTP daemon
ntp(12), -- NTP subsystem
audit(13), -- log audit
alert(14), -- log alert
clock(15), -- clock daemon
local0(16), -- local use 0
local1(17), -- local use 1
local2(18), -- local use 2
local3(19), -- local use 3
local4(20), -- local use 4
local5(21), -- local use 5
local6(22), -- local use 6
local7(23) -- local use 7
}
AgentLogSeverity ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Severity code used in determining the SysLog Priority value."
REFERENCE
"RFC3164 - 4.1.1: Table 2"
SYNTAX INTEGER {
emergency(0), -- System is unusable. System failure has occurred.
alert(1), -- Action must be taken immediately. Unrecoverable
-- failure of a component. System failure likely.
critical(2), -- Critical conditions. Recoverable failure of a
-- component that may lead to system failure.
error(3), -- Error conditions. Recoverable failure of a component.
warning(4), -- Warning conditions. Minor failure, e.g.
-- misconfiguration of a component.
notice(5), -- Normal but significant conditions.
informational(6), -- Informational messages.
debug(7) -- Debug-level messages.
}
fastPathLogging MODULE-IDENTITY
LAST-UPDATED "201101260000Z" -- 26 Jan 2011 12:00:00 GMT
ORGANIZATION "Broadcom Inc"
CONTACT-INFO ""
DESCRIPTION
"This MIB provides objects to configure and display events logged
on this system."
-- Revision history.
REVISION
"201101260000Z" -- 26 Jan 2011 12:00:00 GMT
DESCRIPTION
"Postal address updated."
REVISION
"200705230000Z" -- 23 May 2007 12:00:00 GMT
DESCRIPTION
"Ubiquiti branding related changes."
REVISION
"200410261303Z" -- Tue Oct 23 13:03:07 2004 GMT
DESCRIPTION
"Initial version."
::= { fastPath 14 }
--**************************************************************************************
-- agentLogConfigGroup
--
--**************************************************************************************
agentLogConfigGroup OBJECT IDENTIFIER ::= { fastPathLogging 1 }
--**************************************************************************************
-- agentLogInMemoryConfigGroup
--
--**************************************************************************************
agentLogInMemoryConfigGroup OBJECT IDENTIFIER ::= { agentLogConfigGroup 1 }
agentLogInMemoryAdminStatus OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Administratively enable/disable the In Memory log."
::= { agentLogInMemoryConfigGroup 1 }
agentLogInMemoryBehavior OBJECT-TYPE
SYNTAX INTEGER {
wrap(1),
stop-on-full(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Configures the behavior of the In Memory Log when it becomes full. A value of
wrap(1) will cause the oldest log message to be removed, making room for the new
message. A value of stop-on-full(2) will prevent any further logging."
::= { agentLogInMemoryConfigGroup 4 }
--**************************************************************************************
-- agentLogConsoleConfigGroup
--
--**************************************************************************************
agentLogConsoleConfigGroup OBJECT IDENTIFIER ::= { agentLogConfigGroup 2 }
agentLogConsoleAdminStatus OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Admin mode for console logs"
::= { agentLogConsoleConfigGroup 1 }
agentLogConsoleSeverityFilter OBJECT-TYPE
SYNTAX AgentLogSeverity
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Severity filter for console logs"
::= { agentLogConsoleConfigGroup 2 }
--**************************************************************************************
-- agentLogSysLogConfigGroup
--
--**************************************************************************************
agentLogSysLogConfigGroup OBJECT IDENTIFIER ::= { agentLogConfigGroup 4 }
agentLogSyslogAdminStatus OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"For Enabling and Disabling logging to configured syslog hosts. Setting this to disable
stops logging to all syslog hosts."
::= { agentLogSysLogConfigGroup 1 }
agentLogSyslogLocalPort OBJECT-TYPE
SYNTAX Unsigned32 (1..65535)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This is the port on the local host from which syslog messages are sent."
::= { agentLogSysLogConfigGroup 3 }
agentLogSyslogMaxHosts OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Maximum number of hosts that can be configured for logging syslog messages."
::= { agentLogSysLogConfigGroup 4 }
--**************************************************************************************
-- agentLogCliCommandsConfigGroup
--
--**************************************************************************************
agentLogCliCommandsConfigGroup OBJECT IDENTIFIER ::= { agentLogConfigGroup 5 }
agentLogCliCommandsAdminStatus OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Administratively enable/disable the logging of the CLI Commands "
::= { agentLogCliCommandsConfigGroup 1 }
--**************************************************************************************
-- agentLogWebConfigGroup
--
--**************************************************************************************
agentLogWebConfigGroup OBJECT IDENTIFIER ::= { agentLogConfigGroup 7 }
agentLogWebAdminStatus OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Administratively enable/disable the logging of the Web "
::= { agentLogWebConfigGroup 1 }
--**************************************************************************************
-- agentLogSnmpConfigGroup
--
--**************************************************************************************
agentLogSnmpConfigGroup OBJECT IDENTIFIER ::= { agentLogConfigGroup 8 }
agentLogSnmpAdminStatus OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Administratively enable/disable the logging of the Snmp "
::= { agentLogSnmpConfigGroup 1 }
--**************************************************************************************
-- agentLogAuditConfigGroup
--
--**************************************************************************************
agentLogAuditConfigGroup OBJECT IDENTIFIER ::= { agentLogConfigGroup 9 }
agentLogAuditAdminStatus OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Administratively enable/disable Switch Auditing "
::= { agentLogAuditConfigGroup 1 }
--**************************************************************************************
-- agentLogSyslogHostTable
--
--**************************************************************************************
agentLogSyslogHostTable OBJECT-TYPE
SYNTAX SEQUENCE OF AgentLogSyslogHostEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Syslog host table containing syslog host entries."
::= { agentLogSysLogConfigGroup 5 }
agentLogSyslogHostEntry OBJECT-TYPE
SYNTAX AgentLogSyslogHostEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Syslog Host entry attributes."
INDEX { agentLogHostTableIndex }
::= { agentLogSyslogHostTable 1 }
AgentLogSyslogHostEntry ::=
SEQUENCE {
agentLogHostTableIndex
Unsigned32,
agentLogHostTableIpAddress
InetAddress,
agentLogHostTableIpAddressType
InetAddressType,
agentLogHostTablePort
Unsigned32,
agentLogHostTableSeverityFilter
AgentLogSeverity,
agentLogHostTableRowStatus
RowStatus
}
agentLogHostTableIndex OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Index to syslog host entry in syslog host table."
::= { agentLogSyslogHostEntry 1 }
agentLogHostTableIpAddressType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Syslog Host table IP Address Type."
::= { agentLogSyslogHostEntry 2 }
agentLogHostTableIpAddress OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Syslog Host table IP Address. Set operation of this object can be successful
only when the valid IpAddressType (Ipv4, Ipv6 or DNS) is configured and the
address specified is valid for that Address type."
::= { agentLogSyslogHostEntry 3 }
agentLogHostTablePort OBJECT-TYPE
SYNTAX Unsigned32 (1..65535)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Syslog Host table port number."
::= { agentLogSyslogHostEntry 4 }
agentLogHostTableSeverityFilter OBJECT-TYPE
SYNTAX AgentLogSeverity
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Configures the minimum severity that will be stored in the In Memory log."
::= { agentLogSyslogHostEntry 5 }
agentLogHostTableRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Syslog Host table row status"
::= { agentLogSyslogHostEntry 7 }
--**************************************************************************************
-- agentLogSyslogSourceInterface
--
--**************************************************************************************
agentLogSyslogSourceInterface OBJECT-TYPE
SYNTAX InterfaceIndexOrZero
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"A source-interface selection on an Interface Index (like vlan based
routing interface, port based routing interface, loopback interface,
tunnel interface). A non-zero value indicates ifIndex for the
corresponding interface entry in the ifTable is selected.
A zero value indicates the source-interface un-selection."
::= { agentLogSysLogConfigGroup 6 }
--**************************************************************************************
-- agentLogStatisticsGroup
--
--**************************************************************************************
agentLogStatisticsGroup OBJECT IDENTIFIER ::= { fastPathLogging 2 }
agentLogMessagesReceived OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of messages received by the log process. This includes messages that are
dropped or ignored."
::= { agentLogStatisticsGroup 1 }
agentLogMessagesDropped OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of messages that could not be processed due to error or lack of resources."
::= { agentLogStatisticsGroup 2 }
agentLogSyslogMessagesRelayed OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of messages forwarded by the syslog function to a syslog host. Messages forwarded
to multiple hosts are counted once for each host."
::= { agentLogStatisticsGroup 3 }
agentLogSyslogMessagesIgnored OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS deprecated
DESCRIPTION
"The number of messages that were not processed by the syslog process because the component name
or the priority level did not match any specification."
::= { agentLogStatisticsGroup 4 }
agentLogMessageReceivedTime OBJECT-TYPE
SYNTAX DateAndTime
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The local time when a message was last received by the log subsystem specified as the number of
non-leap seconds since 00:00:00 UTC on January 1 1970."
::= { agentLogStatisticsGroup 5 }
agentLogSyslogMessageDeliveredTime OBJECT-TYPE
SYNTAX DateAndTime
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The local time when a message was last delivered to a syslog host specified as the number of non-leap
seconds since 00:00:00 UTC on January 1 1970."
::= { agentLogStatisticsGroup 6 }
--**************************************************************************************
-- agentLogemailAlertConfigGroup
--
--**************************************************************************************
agentLogEmailAlertConfigGroup OBJECT IDENTIFIER ::= { agentLogConfigGroup 6 }
agentLogEmailAdminStatus OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"For Enabling and Disabling email alerts to SMTP server. Setting this to disable
stops emailing to SMTP servers."
::= { agentLogEmailAlertConfigGroup 1 }
agentLogEmailfromAddr OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Email from Address"
::= { agentLogEmailAlertConfigGroup 2 }
agentLogEmaillogDuration OBJECT-TYPE
SYNTAX Unsigned32(30..1440)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This duration in minutes determines how frequently the non critical messages are sent to the SMTP server."
::= { agentLogEmailAlertConfigGroup 3 }
agentLogEmailUrgentSeverity OBJECT-TYPE
SYNTAX AgentLogSeverity
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This is the severity level for the critical log messages"
::= { agentLogEmailAlertConfigGroup 4 }
agentLogEmailNonUrgentSeverity OBJECT-TYPE
SYNTAX AgentLogSeverity
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This is the severity level for the non critical log messages."
::= { agentLogEmailAlertConfigGroup 5 }
agentLogEmailTrapsSeverity OBJECT-TYPE
SYNTAX AgentLogSeverity
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This is the severity level for Trap messages."
::= { agentLogEmailAlertConfigGroup 6 }
agentLogEmailToAddrTable OBJECT-TYPE
SYNTAX SEQUENCE OF AgentLogEmailToAddrEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The (conceptual) table listing the destination email address and the message type."
::= { agentLogEmailAlertConfigGroup 7 }
agentLogEmailToAddrEntry OBJECT-TYPE
SYNTAX AgentLogEmailToAddrEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry (conceptual row) in the agentLogEmailtoAddrTable. This entry shows what kind of messages go to the given destination email addresses."
INDEX { agentLogEmailToAddrMessageType, agentLogEmailToAddr}
::= { agentLogEmailToAddrTable 1 }
AgentLogEmailToAddrEntry ::= SEQUENCE {
agentLogEmailToAddrMessageType INTEGER,
agentLogEmailToAddr DisplayString,
agentLogEmailToAddrEntryStatus RowStatus
}
agentLogEmailToAddrMessageType OBJECT-TYPE
SYNTAX INTEGER { critical(1), non-critical(2) }
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Log message Type"
::= { agentLogEmailToAddrEntry 1 }
agentLogEmailToAddr OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Email Sender Address"
::= { agentLogEmailToAddrEntry 2 }
agentLogEmailToAddrEntryStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This is to create or delete the entry"
::= { agentLogEmailToAddrEntry 3 }
agentLogEmailSubjectTable OBJECT-TYPE
SYNTAX SEQUENCE OF AgentLogEmailSubjectEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The (conceptual) table listing the subject of the email and the message type."
::= { agentLogEmailAlertConfigGroup 8 }
agentLogEmailSubjectEntry OBJECT-TYPE
SYNTAX AgentLogEmailSubjectEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry (conceptual row) in the agentLogEmailtoAddrTable. This entry shows what kind of subject to be used for the given message type."
INDEX { agentLogEmailSubjectMessageType}
::= { agentLogEmailSubjectTable 1 }
AgentLogEmailSubjectEntry ::= SEQUENCE {
agentLogEmailSubjectMessageType INTEGER,
agentLogEmailSubject DisplayString,
agentLogEmailSubjectEntryStatus RowStatus
}
agentLogEmailSubjectMessageType OBJECT-TYPE
SYNTAX INTEGER { critical(1), non-critical(2)}
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Log message Type"
::= { agentLogEmailSubjectEntry 1 }
agentLogEmailSubject OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Email Subject. When this object is set to empty-string, it resets to
factory default string."
::= { agentLogEmailSubjectEntry 2}
agentLogEmailSubjectEntryStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This is to create or delete the entry"
::= { agentLogEmailSubjectEntry 3 }
agentLogEmailMailServerTable OBJECT-TYPE
SYNTAX SEQUENCE OF AgentLogEmailMailServerEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The (conceptual) table listing the mail servers"
::= { agentLogEmailAlertConfigGroup 9 }
agentLogEmailMailServerEntry OBJECT-TYPE
SYNTAX AgentLogEmailMailServerEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry (conceptual row) in the agentLogEmailMailServerTable. This entry shows the conmfiguration for mail server."
INDEX { agentLogEmailSmtpAddrType, agentLogEmailSmtpAddr }
::= { agentLogEmailMailServerTable 1 }
AgentLogEmailMailServerEntry ::= SEQUENCE {
agentLogEmailSmtpAddrType InetAddressType,
agentLogEmailSmtpAddr InetAddress,
agentLogEmailSmtpPort InetPortNumber,
agentLogEmailSecurity INTEGER,
agentLogEmailloginID DisplayString,
agentLogEmailPassword DisplayString,
agentLogEmailEntryStatus RowStatus
}
agentLogEmailSmtpAddrType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Email SMTP Address type"
::= { agentLogEmailMailServerEntry 1 }
agentLogEmailSmtpAddr OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"SMTP server Address"
::= { agentLogEmailMailServerEntry 2 }
agentLogEmailSmtpPort OBJECT-TYPE
SYNTAX InetPortNumber
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"SMTP Port number. When this object is set to 0, it resets to
factory default port number."
::= { agentLogEmailMailServerEntry 3 }
agentLogEmailSecurity OBJECT-TYPE
SYNTAX INTEGER { none(1), tlsv1(2) }
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This is the authentication mechanism that should be used."
::= { agentLogEmailMailServerEntry 4 }
agentLogEmailloginID OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This user id is used while the switch/router is being authenticated by the SMTP server.The user ID
should be minimum of 1 charcter to maximum of 16 characters."
::= { agentLogEmailMailServerEntry 5 }
agentLogEmailPassword OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This password is used while the switch/router is being authenticated by the SMTP server.The password
should be minimum of 1 character to maximum of 16 characters."
::= { agentLogEmailMailServerEntry 6 }
agentLogEmailEntryStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This is to create or delete the entry"
::= { agentLogEmailMailServerEntry 7 }
agentLogEmailAlertStatsGroup OBJECT IDENTIFIER ::= { agentLogStatisticsGroup 7}
agentLogEmailStatsemailsSentCount OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This is the count to show the no of emails sent so far."
::= { agentLogEmailAlertStatsGroup 1 }
agentLogEmailStatsemailsFailureCount OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This is the count to show the no of emails failures happened so far..."
::= { agentLogEmailAlertStatsGroup 2 }
agentLogEmailStatsTimeSinceLastEmailSent OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This is the number of seconds since the last email was sent."
::= { agentLogEmailAlertStatsGroup 3}
agentLogEmailStatsClear OBJECT-TYPE
SYNTAX INTEGER { enable(1), disable(2)}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This is to clear the email alert stats."
::= { agentLogEmailAlertStatsGroup 4}
--**************************************************************************************
-- agentLogInMemoryGroup
--
--**************************************************************************************
agentLogInMemoryGroup OBJECT IDENTIFIER ::= { fastPathLogging 3 }
agentLogInMemoryLogCount OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The count of valid entries in the in-memory log."
::= { agentLogInMemoryGroup 1 }
--**************************************************************************************
-- agentLogInMemoryTable
--
--**************************************************************************************
agentLogInMemoryTable OBJECT-TYPE
SYNTAX SEQUENCE OF AgentLogInMemoryEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The in-memory log table containing sequence of in-memory log entries."
::= { agentLogInMemoryGroup 2 }
agentLogInMemoryEntry OBJECT-TYPE
SYNTAX AgentLogInMemoryEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An individual message entry in in-memory log table."
INDEX { agentLogInMemoryMsgIndex }
::= { agentLogInMemoryTable 1 }
AgentLogInMemoryEntry ::=
SEQUENCE {
agentLogInMemoryMsgIndex
Unsigned32,
agentLogInMemoryMsgText
DisplayString
}
agentLogInMemoryMsgIndex OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The index to message entry in the in-memory log table."
::= { agentLogInMemoryEntry 1 }
agentLogInMemoryMsgText OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Message text info for inmemory logged messages."
::= { agentLogInMemoryEntry 2 }
--**************************************************************************************
-- agentLogTrapsGroup
--
--**************************************************************************************
agentLogTrapsGroup OBJECT IDENTIFIER ::= { fastPathLogging 5 }
agentLogEmailAlertTrapsGroup OBJECT IDENTIFIER ::= { agentLogTrapsGroup 1}
agentLogEmailSendFailed NOTIFICATION-TYPE
OBJECTS {
agentLogEmailStatsemailsFailureCount -- No of emails Failed
}
STATUS current
DESCRIPTION
"When ever a mail sending to the SMTP server is failed, this trap is sent with a count of how many times the connection to the SMTP server is failed so far."
::= { agentLogEmailAlertTrapsGroup 1 }
END

View File

@ -0,0 +1,75 @@
EdgeSwitch-REF-MIB DEFINITIONS ::= BEGIN
-- Ubiquiti Fastpath Reference MIB
-- Copyright Broadcom Inc (2001-2007) All rights reserved.
-- This SNMP Management Information Specification
-- embodies Broadcom Inc confidential and proprietary
-- intellectual property. Broadcom Inc retains all title
-- and ownership in the Specification including any revisions.
-- This Specification is supplied "AS IS", Broadcom Inc
-- makes no warranty, either expressed or implied,
-- as to the use, operation, condition, or performance of the
-- Specification.
-- This MIBs were modified from Broadcom Reference MIBs to match UBNT
-- MIB names.
IMPORTS
MODULE-IDENTITY FROM SNMPv2-SMI
TEXTUAL-CONVENTION FROM SNMPv2-TC
enterprises FROM RFC1155-SMI;
broadcom MODULE-IDENTITY
LAST-UPDATED "200705230000Z" -- 23 May 2007 12:00:00 GMT
ORGANIZATION "Broadcom Inc"
CONTACT-INFO ""
DESCRIPTION
""
-- Revision history.
REVISION
"200705230000Z" -- 23 May 2007 12:00:00 GMT
DESCRIPTION
"Ubiquiti branding related changes."
REVISION
"200311210000Z" -- 21 Nov 2003 12:00:00 GMT
DESCRIPTION
"Revisions made for new release."
REVISION
"200302061200Z" -- 6 February 2003 12:00:00 GMT
DESCRIPTION
"Updated for release"
::= { enterprises 4413 }
broadcomProducts OBJECT IDENTIFIER ::= { broadcom 1 }
fastPath OBJECT IDENTIFIER ::= { broadcomProducts 1 }
-- New Textual Conventions
AgentPortMask ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Each octet within this value specifies a set of eight
ports, with the first octet specifying ports 1 through
8, the second octet specifying ports 9 through 16, etc.
Within each octet, the most significant bit represents
the lowest numbered port, and the least significant bit
represents the highest numbered port. Thus, each port
of the bridge is represented by a single bit within the
value of this object. If that bit has a value of '1'
then that port is included in the set of ports; the port
is not included if its bit has a value of '0'
When setting this value, the system will ignore
configuration for ports not between the first and last
valid ports. Configuration of any port numbers between
this range that are not valid ports return a failure
message, but will still apply configuration for valid
ports."
SYNTAX OCTET STRING
END

File diff suppressed because it is too large Load Diff