import from https://github.com/keyereal/snmp_lldp, pre-compiled modules removed
This commit is contained in:
parent
37f29a063f
commit
8bfa1fd9af
341
COPYING
Normal file
341
COPYING
Normal file
@ -0,0 +1,341 @@
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Library General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) 19yy <name of author>
|
||||
|
||||
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 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) 19yy name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Library General
|
||||
Public License instead of this License.
|
25
ChangeLog
Normal file
25
ChangeLog
Normal file
@ -0,0 +1,25 @@
|
||||
Layer 2 Discovery Module for LLDP
|
||||
Changes
|
||||
|
||||
|
||||
[2018-09-21] Changes for 1.0
|
||||
- initial version.
|
||||
|
||||
[2018-11-26] Changes for 1.1
|
||||
- Add module for Zabbix 4.0
|
||||
- Updated installation document.
|
||||
|
||||
[2019-05-28] Changes for 1.2
|
||||
- Add module for Zabbix 4.2
|
||||
- Change of specification of monitoring template (disable trigger)
|
||||
- Updated installation document.
|
||||
|
||||
[2019-07-08] Changes for 1.3
|
||||
- Source code modification to support Zabbix 4.0.7
|
||||
- Separate modules by Zabbix 4.0.0 to 4.0.6 and 4.0.7 or later.
|
||||
|
||||
[2019-11-14] Changes for 1.4
|
||||
- Add module for Zabbix 4.4
|
||||
|
||||
[2020-06-05] Changes for 1.5
|
||||
- Add module for Zabbix 5.0
|
106
INSTALL
Normal file
106
INSTALL
Normal file
@ -0,0 +1,106 @@
|
||||
|
||||
Layer 2 Discovery Module for LLDP
|
||||
Installation document
|
||||
|
||||
------------------
|
||||
Tree Layout
|
||||
------------------
|
||||
|
||||
./ .................... Top-Level Root Directory
|
||||
COPYING ............. License description (GPL version 2)
|
||||
ChangeLog ........... Binary package change history
|
||||
INSTALL ............. This file
|
||||
README.md............ Overview of this distribution
|
||||
|
||||
data/ ................. Configuration files for Zabbix
|
||||
zabbix3.0/ .......... Configuration file for Zabbix 3.0
|
||||
templates/ ........ LLDP monitoring template
|
||||
value_mapping/ .... Configuration file for value mapping
|
||||
|
||||
mibs/ ................. Management Information Base files
|
||||
lldp-mibs/ .......... Management Information Base module for LLDP (LLDP-MIB)
|
||||
|
||||
source/ .............. Source of Zabbix loadable module
|
||||
|
||||
------------------
|
||||
Install
|
||||
------------------
|
||||
|
||||
How to install loadable module.
|
||||
-----------------------------------
|
||||
|
||||
1. Store the LLDP-MIB files in a location according to Net-SNMP's MIBDIR setting.
|
||||
|
||||
ex) /usr/share/snmp/mibs/
|
||||
|
||||
2. Build and store the loadable module in place.
|
||||
|
||||
ex) /usr/lib/zabbix/modules/
|
||||
|
||||
3. Make settings to load loadable modules into Zabbix Server / Proxy configuration file.
|
||||
|
||||
ex) LoadModulePath=/usr/lib/zabbix/modules
|
||||
LoadModule=lldp_get.so
|
||||
|
||||
4. Restart the Zabbix Server / Proxy process.
|
||||
Check the Zabbix Server / Proxy log file and confirm that the following wording
|
||||
indicating that the loadable module has been loaded is output.
|
||||
|
||||
ex) lldp_get module: loaded by server process. [1]
|
||||
loaded modules: lldp_get.so
|
||||
|
||||
The display may vary depending on the version of Zabbix and the log debug level.
|
||||
(The example shows the case when Zabbix 3.0 is set to log level 3)
|
||||
|
||||
|
||||
How to setting templates
|
||||
-----------------------------------
|
||||
|
||||
1. Login to the Zabbix Web interface with an account with super administrator privileges.
|
||||
|
||||
2. [Administration] -> [General settings] -> [Value mapping], value mapping
|
||||
Import the file for setting.
|
||||
|
||||
3. [Settings] -> [Template], import the LLDP monitoring template.
|
||||
|
||||
|
||||
How to setting the host
|
||||
-----------------------------------
|
||||
|
||||
1. "Create Host" is done from setting screen.
|
||||
Set the IP address in "SNMP interfaces".
|
||||
|
||||
2. Set "Template LLDP - General" or "Template LLDP - IndexNum" to the created host. (Select one)
|
||||
|
||||
Template LLDP - General .... Use "ifName" as the local port number
|
||||
Template LLDP - IndexNum ... Use "ifIndex" as the local port number
|
||||
|
||||
Tips : In most cases, please use "Template LLDP - General".
|
||||
If the local port number becomes "eth0" please try "Template LLDP - IndexNum".
|
||||
|
||||
3. (Zabbix 3.x) Wait for low-level discovery to generate the item.
|
||||
(Zabbix 4.0 or later) Execute [Check now] from the discovery rule on the host setting screen to generate the item.
|
||||
|
||||
|
||||
------------------
|
||||
Special function
|
||||
------------------
|
||||
|
||||
How to overwrite lldp.rem.sysname
|
||||
-----------------------------------
|
||||
|
||||
You can override the adjacent device host name ([Connect to] Host item) using host macros.
|
||||
|
||||
1. Check the 5th parameter (macro name) from the key of the item that is acquiring
|
||||
the neighbor device information.
|
||||
|
||||
ex) Item Key : lldp.rem.sysname[{HOST.CONN},{$SNMP_COMMUNITY},1,7,{$FIXED_SYSNAME_1}]
|
||||
5th parameter : {$FIXED_SYSNAME_1}
|
||||
|
||||
2. On the host macro setting screen, make the following settings.
|
||||
Set "character string acquired from the fifth parameter" in the macro field.
|
||||
Set "Overwrite character string" in the value field.
|
||||
|
||||
3. From the next monitoring timing, the specified character string is collected as "Neighbor device host name".
|
||||
|
||||
# EOF
|
26
README.md
26
README.md
@ -1,3 +1,27 @@
|
||||
# snmp_lldp
|
||||
This project is a mirror for https://github.com/keyereal/snmp_lldp
|
||||
which is a mirrot for https://github.com/zabbix-book/snmp_lldp
|
||||
which is a mirror for https://share.zabbix.com/network_devices/l2-discovery-module-for-lldp
|
||||
|
||||
Zabbix SNMP LLDP Topology Discovery
|
||||
Zabbix SNMP LLDP Topology Discovery
|
||||
|
||||
Layer 2 Discovery Module for LLDP
|
||||
Introduction document
|
||||
|
||||
What is it?
|
||||
-----------
|
||||
|
||||
The LLDP monitoring module provides a function to read adjacent device
|
||||
information of LLDP held by network equipment from Zabbix using SNMP.
|
||||
|
||||
|
||||
Licensing
|
||||
---------
|
||||
|
||||
Please see the file called COPYING.
|
||||
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
||||
Please see the file called INSTALL.
|
||||
|
1635
data/zabbix3.0/templates/zbx_export_templates.xml
Normal file
1635
data/zabbix3.0/templates/zbx_export_templates.xml
Normal file
File diff suppressed because it is too large
Load Diff
40
data/zabbix3.0/value_mapping/zbx_export_valuemaps.xml
Normal file
40
data/zabbix3.0/value_mapping/zbx_export_valuemaps.xml
Normal file
@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<zabbix_export>
|
||||
<version>3.0</version>
|
||||
<date>2018-09-27T01:38:55Z</date>
|
||||
<value_maps>
|
||||
<value_map>
|
||||
<name>LLDP LldpPortIdSubtype</name>
|
||||
<mappings>
|
||||
<mapping>
|
||||
<value>1</value>
|
||||
<newvalue>interfaceAlias</newvalue>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<value>2</value>
|
||||
<newvalue>portComponent</newvalue>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<value>3</value>
|
||||
<newvalue>macAddress</newvalue>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<value>4</value>
|
||||
<newvalue>networkAddress</newvalue>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<value>5</value>
|
||||
<newvalue>interfaceName</newvalue>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<value>6</value>
|
||||
<newvalue>agentCircuitId</newvalue>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<value>7</value>
|
||||
<newvalue>local</newvalue>
|
||||
</mapping>
|
||||
</mappings>
|
||||
</value_map>
|
||||
</value_maps>
|
||||
</zabbix_export>
|
68
mibs/lldp-mibs/DIFFSERV-DSCP-TC.mib.txt
Normal file
68
mibs/lldp-mibs/DIFFSERV-DSCP-TC.mib.txt
Normal file
@ -0,0 +1,68 @@
|
||||
|
||||
-- WinAgents MIB Extraction Wizard
|
||||
-- Extracted from rfc3289.txt 16.03.2005 20:21:57
|
||||
|
||||
DIFFSERV-DSCP-TC DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
Integer32, MODULE-IDENTITY, mib-2
|
||||
FROM SNMPv2-SMI
|
||||
TEXTUAL-CONVENTION
|
||||
FROM SNMPv2-TC;
|
||||
|
||||
diffServDSCPTC MODULE-IDENTITY
|
||||
LAST-UPDATED "200205090000Z"
|
||||
ORGANIZATION "IETF Differentiated Services WG"
|
||||
CONTACT-INFO
|
||||
" Fred Baker
|
||||
Cisco Systems
|
||||
1121 Via Del Rey
|
||||
Santa Barbara, CA 93117, USA
|
||||
E-mail: fred@cisco.com
|
||||
|
||||
Kwok Ho Chan
|
||||
Nortel Networks
|
||||
600 Technology Park Drive
|
||||
Billerica, MA 01821, USA
|
||||
E-mail: khchan@nortelnetworks.com
|
||||
|
||||
Andrew Smith
|
||||
Harbour Networks
|
||||
Jiuling Building
|
||||
21 North Xisanhuan Ave.
|
||||
Beijing, 100089, PRC
|
||||
E-mail: ah_smith@acm.org
|
||||
|
||||
Differentiated Services Working Group:
|
||||
diffserv@ietf.org"
|
||||
DESCRIPTION
|
||||
"The Textual Conventions defined in this module should be used
|
||||
whenever a Differentiated Services Code Point is used in a MIB."
|
||||
REVISION "200205090000Z"
|
||||
DESCRIPTION
|
||||
"Initial version, published as RFC 3289."
|
||||
::= { mib-2 96 }
|
||||
|
||||
Dscp ::= TEXTUAL-CONVENTION
|
||||
DISPLAY-HINT "d"
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A Differentiated Services Code-Point that may be used for
|
||||
marking a traffic stream."
|
||||
REFERENCE
|
||||
"RFC 2474, RFC 2780"
|
||||
SYNTAX Integer32 (0..63)
|
||||
|
||||
DscpOrAny ::= TEXTUAL-CONVENTION
|
||||
DISPLAY-HINT "d"
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The IP header Differentiated Services Code-Point that may be
|
||||
|
||||
used for discriminating among traffic streams. The value -1 is
|
||||
used to indicate a wild card i.e. any value."
|
||||
REFERENCE
|
||||
"RFC 2474, RFC 2780"
|
||||
SYNTAX Integer32 (-1 | 0..63)
|
||||
|
||||
END
|
821
mibs/lldp-mibs/LLDP-EXT-DOT1-MIB-200505060000Z.txt
Normal file
821
mibs/lldp-mibs/LLDP-EXT-DOT1-MIB-200505060000Z.txt
Normal file
@ -0,0 +1,821 @@
|
||||
LLDP-EXT-DOT1-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
MODULE-IDENTITY, OBJECT-TYPE, Integer32
|
||||
FROM SNMPv2-SMI
|
||||
TruthValue
|
||||
FROM SNMPv2-TC
|
||||
SnmpAdminString
|
||||
FROM SNMP-FRAMEWORK-MIB
|
||||
MODULE-COMPLIANCE, OBJECT-GROUP
|
||||
FROM SNMPv2-CONF
|
||||
lldpExtensions, lldpLocPortNum,
|
||||
lldpRemTimeMark, lldpRemLocalPortNum, lldpRemIndex,
|
||||
lldpPortConfigEntry
|
||||
FROM LLDP-MIB
|
||||
VlanId
|
||||
FROM Q-BRIDGE-MIB;
|
||||
|
||||
lldpXdot1MIB MODULE-IDENTITY
|
||||
LAST-UPDATED "200505060000Z" -- May 06, 2005
|
||||
ORGANIZATION "IEEE 802.1 Working Group"
|
||||
CONTACT-INFO
|
||||
" WG-URL: http://grouper.ieee.org/groups/802/1/index.html
|
||||
WG-EMail: stds-802-1@ieee.org
|
||||
|
||||
Contact: Paul Congdon
|
||||
Postal: Hewlett-Packard Company
|
||||
8000 Foothills Blvd.
|
||||
Roseville, CA 95747
|
||||
USA
|
||||
Tel: +1-916-785-5753
|
||||
E-mail: paul_congdon@hp.com"
|
||||
DESCRIPTION
|
||||
"The LLDP Management Information Base extension module for
|
||||
IEEE 802.1 organizationally defined discovery information.
|
||||
|
||||
In order to assure the uniqueness of the LLDP-MIB,
|
||||
lldpXdot1MIB is branched from lldpExtensions using OUI value
|
||||
as the node. An OUI/'company_id' is a 24 bit globally unique
|
||||
assigned number referenced by various standards.
|
||||
|
||||
Copyright (C) IEEE (2005). This version of this MIB module
|
||||
is published as Annex F.7.1 of IEEE Std 802.1AB-2005;
|
||||
see the standard itself for full legal notices."
|
||||
REVISION "200505060000Z" -- May 06, 2005
|
||||
DESCRIPTION
|
||||
"Published as part of IEEE Std 802.1AB-2005 initial version."
|
||||
-- OUI for IEEE 802.1 is 32962 (00-80-C2)
|
||||
::= { lldpExtensions 32962 }
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
------------------------------------------------------------------------------
|
||||
--
|
||||
-- Organizationally Defined Information Extension - IEEE 802.1
|
||||
--
|
||||
------------------------------------------------------------------------------
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
lldpXdot1Objects OBJECT IDENTIFIER ::= { lldpXdot1MIB 1 }
|
||||
|
||||
-- LLDP IEEE 802.1 extension MIB groups
|
||||
lldpXdot1Config OBJECT IDENTIFIER ::= { lldpXdot1Objects 1 }
|
||||
lldpXdot1LocalData OBJECT IDENTIFIER ::= { lldpXdot1Objects 2 }
|
||||
lldpXdot1RemoteData OBJECT IDENTIFIER ::= { lldpXdot1Objects 3 }
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
-- IEEE 802.1 - Configuration
|
||||
------------------------------------------------------------------------------
|
||||
--
|
||||
-- lldpXdot1ConfigPortVlanTable : configure the transmission of the
|
||||
-- Port VLAN-ID TLVs on set of ports.
|
||||
--
|
||||
|
||||
lldpXdot1ConfigPortVlanTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF LldpXdot1ConfigPortVlanEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A table that controls selection of LLDP Port VLAN-ID TLVs
|
||||
to be transmitted on individual ports."
|
||||
::= { lldpXdot1Config 1 }
|
||||
|
||||
lldpXdot1ConfigPortVlanEntry OBJECT-TYPE
|
||||
SYNTAX LldpXdot1ConfigPortVlanEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"LLDP configuration information that controls the
|
||||
transmission of IEEE 802.1 organizationally defined Port
|
||||
VLAN-ID TLV on LLDP transmission capable ports.
|
||||
|
||||
This configuration object augments the lldpPortConfigEntry of
|
||||
the LLDP-MIB, therefore it is only present along with the port
|
||||
configuration defined by the associated lldpPortConfigEntry
|
||||
entry.
|
||||
|
||||
Each active lldpConfigEntry must be restored from non-volatile
|
||||
storage (along with the corresponding lldpPortConfigEntry)
|
||||
after a re-initialization of the management system."
|
||||
AUGMENTS { lldpPortConfigEntry }
|
||||
::= { lldpXdot1ConfigPortVlanTable 1 }
|
||||
|
||||
LldpXdot1ConfigPortVlanEntry ::= SEQUENCE {
|
||||
lldpXdot1ConfigPortVlanTxEnable TruthValue
|
||||
}
|
||||
|
||||
lldpXdot1ConfigPortVlanTxEnable OBJECT-TYPE
|
||||
SYNTAX TruthValue
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The lldpXdot1ConfigPortVlanTxEnable, which is defined as
|
||||
a truth value and configured by the network management,
|
||||
determines whether the IEEE 802.1 organizationally defined
|
||||
port VLAN TLV transmission is allowed on a given LLDP
|
||||
transmission capable port.
|
||||
|
||||
The value of this object must be restored from non-volatile
|
||||
storage after a re-initialization of the management system."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 10.2.1.1"
|
||||
DEFVAL { false }
|
||||
::= { lldpXdot1ConfigPortVlanEntry 1 }
|
||||
|
||||
--
|
||||
-- lldpXdot1ConfigVlanNameTable : configure the transmission of the
|
||||
-- VLAN name instances on set of ports.
|
||||
--
|
||||
|
||||
lldpXdot1ConfigVlanNameTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF LldpXdot1ConfigVlanNameEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The table that controls selection of LLDP VLAN name TLV
|
||||
instances to be transmitted on individual ports."
|
||||
::= { lldpXdot1Config 2 }
|
||||
|
||||
lldpXdot1ConfigVlanNameEntry OBJECT-TYPE
|
||||
SYNTAX LldpXdot1ConfigVlanNameEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"LLDP configuration information that specifies the set of
|
||||
ports (represented as a PortList) on which the Local System
|
||||
VLAN name instance will be transmitted.
|
||||
|
||||
This configuration object augments the lldpLocVlanEntry,
|
||||
therefore it is only present along with the VLAN Name instance
|
||||
contained in the associated lldpLocVlanNameEntry entry.
|
||||
|
||||
Each active lldpXdot1ConfigVlanNameEntry must be restored
|
||||
from non-volatile storage (along with the corresponding
|
||||
lldpXdot1LocVlanNameEntry) after a re-initialization of the
|
||||
management system."
|
||||
AUGMENTS { lldpXdot1LocVlanNameEntry }
|
||||
::= { lldpXdot1ConfigVlanNameTable 1 }
|
||||
|
||||
LldpXdot1ConfigVlanNameEntry ::= SEQUENCE {
|
||||
lldpXdot1ConfigVlanNameTxEnable TruthValue
|
||||
}
|
||||
|
||||
lldpXdot1ConfigVlanNameTxEnable OBJECT-TYPE
|
||||
SYNTAX TruthValue
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The boolean value that indicates whether the corresponding
|
||||
Local System VLAN name instance will be transmitted on the
|
||||
port defined by the given lldpXdot1LocVlanNameEntry.
|
||||
|
||||
The value of this object must be restored from non-volatile
|
||||
storage after a re-initialization of the management system."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 10.2.1.1"
|
||||
DEFVAL { false }
|
||||
::= { lldpXdot1ConfigVlanNameEntry 1 }
|
||||
|
||||
--
|
||||
-- lldpXdot1ConfigProtoVlanTable : configure the transmission of the
|
||||
-- protocol VLAN instances on set
|
||||
-- of ports.
|
||||
--
|
||||
|
||||
lldpXdot1ConfigProtoVlanTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF LldpXdot1ConfigProtoVlanEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The table that controls selection of LLDP Port and Protocol
|
||||
VLAN ID TLV instances to be transmitted on individual ports."
|
||||
::= { lldpXdot1Config 3 }
|
||||
|
||||
lldpXdot1ConfigProtoVlanEntry OBJECT-TYPE
|
||||
SYNTAX LldpXdot1ConfigProtoVlanEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"LLDP configuration information that specifies the set of
|
||||
ports (represented as a PortList) on which the Local System
|
||||
Protocol VLAN instance will be transmitted.
|
||||
|
||||
This configuration object augments the lldpXdot1LocVlanEntry,
|
||||
therefore it is only present along with the Port and
|
||||
Protocol VLAN ID instance contained in the associated
|
||||
lldpXdot1LocVlanEntry entry.
|
||||
|
||||
Each active lldpXdot1ConfigProtoVlanEntry must be restored
|
||||
from non-volatile storage (along with the corresponding
|
||||
lldpXdot1LocProtoVlanEntry) after a re-initialization of
|
||||
the management system."
|
||||
|
||||
AUGMENTS { lldpXdot1LocProtoVlanEntry }
|
||||
::= { lldpXdot1ConfigProtoVlanTable 1 }
|
||||
|
||||
LldpXdot1ConfigProtoVlanEntry ::= SEQUENCE {
|
||||
lldpXdot1ConfigProtoVlanTxEnable TruthValue
|
||||
}
|
||||
|
||||
lldpXdot1ConfigProtoVlanTxEnable OBJECT-TYPE
|
||||
SYNTAX TruthValue
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The boolean value that indicates whether the corresponding
|
||||
Local System Port and Protocol VLAN instance will
|
||||
be transmitted on the port defined by the given
|
||||
lldpXdot1LocProtoVlanEntry.
|
||||
|
||||
The value of this object must be restored from non-volatile
|
||||
storage after a re-initialization of the management system."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 10.2.1.1"
|
||||
DEFVAL { false }
|
||||
::= { lldpXdot1ConfigProtoVlanEntry 1 }
|
||||
|
||||
--
|
||||
-- lldpXdot1ConfigProtocolTable : configure the transmission of the
|
||||
-- protocol instances on set
|
||||
-- of ports.
|
||||
--
|
||||
|
||||
lldpXdot1ConfigProtocolTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF LldpXdot1ConfigProtocolEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The table that controls selection of LLDP Protocol
|
||||
TLV instances to be transmitted on individual ports."
|
||||
::= { lldpXdot1Config 4 }
|
||||
|
||||
lldpXdot1ConfigProtocolEntry OBJECT-TYPE
|
||||
SYNTAX LldpXdot1ConfigProtocolEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"LLDP configuration information that specifies the set of
|
||||
ports (represented as a PortList) on which the Local System
|
||||
Protocol instance will be transmitted.
|
||||
|
||||
This configuration object augments the lldpXdot1LocProtoEntry,
|
||||
therefore it is only present along with the Protocol instance
|
||||
contained in the associated lldpXdot1LocProtoEntry entry.
|
||||
|
||||
Each active lldpXdot1ConfigProtocolEntry must be restored
|
||||
from non-volatile storage (along with the corresponding
|
||||
lldpXdot1LocProtocolEntry) after a re-initialization of the
|
||||
management system."
|
||||
AUGMENTS { lldpXdot1LocProtocolEntry }
|
||||
::= { lldpXdot1ConfigProtocolTable 1 }
|
||||
|
||||
LldpXdot1ConfigProtocolEntry ::= SEQUENCE {
|
||||
lldpXdot1ConfigProtocolTxEnable TruthValue
|
||||
}
|
||||
|
||||
lldpXdot1ConfigProtocolTxEnable OBJECT-TYPE
|
||||
SYNTAX TruthValue
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The boolean value that indicates whether the corresponding
|
||||
Local System Protocol Identity instance will be transmitted
|
||||
on the port defined by the given lldpXdot1LocProtocolEntry.
|
||||
|
||||
The value of this object must be restored from non-volatile
|
||||
storage after a re-initialization of the management system."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 10.2.1.1"
|
||||
DEFVAL { false }
|
||||
::= { lldpXdot1ConfigProtocolEntry 1 }
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
-- IEEE 802.1 - Local System Information
|
||||
------------------------------------------------------------------------------
|
||||
lldpXdot1LocTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF LldpXdot1LocEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This table contains one row per port for IEEE 802.1
|
||||
organizationally defined LLDP extension on the local system
|
||||
known to this agent."
|
||||
::= { lldpXdot1LocalData 1 }
|
||||
|
||||
lldpXdot1LocEntry OBJECT-TYPE
|
||||
SYNTAX LldpXdot1LocEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Information about IEEE 802.1 organizationally defined
|
||||
LLDP extension."
|
||||
INDEX { lldpLocPortNum }
|
||||
::= { lldpXdot1LocTable 1 }
|
||||
|
||||
LldpXdot1LocEntry ::= SEQUENCE {
|
||||
lldpXdot1LocPortVlanId Integer32
|
||||
}
|
||||
|
||||
lldpXdot1LocPortVlanId OBJECT-TYPE
|
||||
SYNTAX Integer32(0|1..4094)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The integer value used to identify the port's VLAN identifier
|
||||
associated with the local system. A value of zero shall
|
||||
be used if the system either does not know the PVID or does
|
||||
not support port-based VLAN operation."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 F.2.1"
|
||||
::= { lldpXdot1LocEntry 1 }
|
||||
|
||||
--
|
||||
-- lldpXdot1LocProtoVlanTable: Port and Protocol VLAN information
|
||||
--
|
||||
|
||||
lldpXdot1LocProtoVlanTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF LldpXdot1LocProtoVlanEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This table contains one or more rows per Port and Protocol
|
||||
VLAN information about the local system."
|
||||
::= { lldpXdot1LocalData 2 }
|
||||
|
||||
lldpXdot1LocProtoVlanEntry OBJECT-TYPE
|
||||
SYNTAX LldpXdot1LocProtoVlanEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Port and protocol VLAN ID Information about a particular
|
||||
port component. There may be multiple port and protocol VLANs,
|
||||
identified by a particular lldpXdot1LocProtoVlanId, configured
|
||||
on the given port."
|
||||
INDEX { lldpLocPortNum,
|
||||
lldpXdot1LocProtoVlanId }
|
||||
::= { lldpXdot1LocProtoVlanTable 1 }
|
||||
|
||||
LldpXdot1LocProtoVlanEntry ::= SEQUENCE {
|
||||
lldpXdot1LocProtoVlanId Integer32,
|
||||
lldpXdot1LocProtoVlanSupported TruthValue,
|
||||
lldpXdot1LocProtoVlanEnabled TruthValue
|
||||
}
|
||||
|
||||
lldpXdot1LocProtoVlanId OBJECT-TYPE
|
||||
SYNTAX Integer32(0|1..4094)
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The integer value used to identify the port and protocol
|
||||
VLANs associated with the given port associated with the
|
||||
local system. A value of zero shall be used if the system
|
||||
either does not know the protocol VLAN ID (PPVID) or does
|
||||
not support port and protocol VLAN operation."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 F.3.2"
|
||||
::= { lldpXdot1LocProtoVlanEntry 1 }
|
||||
|
||||
lldpXdot1LocProtoVlanSupported OBJECT-TYPE
|
||||
SYNTAX TruthValue
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The truth value used to indicate whether the given port
|
||||
(associated with the local system) supports port and protocol
|
||||
VLANs."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 F.3.1"
|
||||
::= { lldpXdot1LocProtoVlanEntry 2 }
|
||||
|
||||
lldpXdot1LocProtoVlanEnabled OBJECT-TYPE
|
||||
SYNTAX TruthValue
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The truth value used to indicate whether the port and
|
||||
protocol VLANs are enabled on the given port associated with
|
||||
the local system."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 F.3.1"
|
||||
::= { lldpXdot1LocProtoVlanEntry 3 }
|
||||
|
||||
--
|
||||
-- lldpXdot1LocVlanNameTable : VLAN name information about the local system
|
||||
--
|
||||
|
||||
lldpXdot1LocVlanNameTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF LldpXdot1LocVlanNameEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This table contains one or more rows per IEEE 802.1Q VLAN
|
||||
name information on the local system known to this agent."
|
||||
::= { lldpXdot1LocalData 3 }
|
||||
|
||||
lldpXdot1LocVlanNameEntry OBJECT-TYPE
|
||||
SYNTAX LldpXdot1LocVlanNameEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"VLAN name Information about a particular port component.
|
||||
There may be multiple VLANs, identified by a particular
|
||||
lldpXdot1LocVlanId, configured on the given port."
|
||||
INDEX { lldpLocPortNum,
|
||||
lldpXdot1LocVlanId }
|
||||
::= { lldpXdot1LocVlanNameTable 1 }
|
||||
|
||||
LldpXdot1LocVlanNameEntry ::= SEQUENCE {
|
||||
lldpXdot1LocVlanId VlanId,
|
||||
lldpXdot1LocVlanName SnmpAdminString
|
||||
}
|
||||
|
||||
lldpXdot1LocVlanId OBJECT-TYPE
|
||||
SYNTAX VlanId
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The integer value used to identify the IEEE 802.1Q
|
||||
VLAN IDs with which the given port is compatible."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 F.4.2"
|
||||
::= { lldpXdot1LocVlanNameEntry 1 }
|
||||
|
||||
lldpXdot1LocVlanName OBJECT-TYPE
|
||||
SYNTAX SnmpAdminString (SIZE(1..32))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The string value used to identify VLAN name identified by the
|
||||
Vlan Id associated with the given port on the local system.
|
||||
|
||||
This object should contain the value of the dot1QVLANStaticName
|
||||
object (defined in IETF RFC 2674) identified with the given
|
||||
lldpXdot1LocVlanId."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 F.4.4"
|
||||
::= { lldpXdot1LocVlanNameEntry 2 }
|
||||
|
||||
--
|
||||
-- lldpXdot1LocProtocolTable : Protocol Identity information
|
||||
--
|
||||
|
||||
lldpXdot1LocProtocolTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF LldpXdot1LocProtocolEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This table contains one or more rows per protocol identity
|
||||
information on the local system known to this agent."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 F.5"
|
||||
::= { lldpXdot1LocalData 4 }
|
||||
|
||||
lldpXdot1LocProtocolEntry OBJECT-TYPE
|
||||
SYNTAX LldpXdot1LocProtocolEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Information about particular protocols that are accessible
|
||||
through the given port component.
|
||||
|
||||
There may be multiple protocols, identified by particular
|
||||
lldpXdot1ProtocolIndex, and lldpLocPortNum."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 F.5"
|
||||
INDEX { lldpLocPortNum,
|
||||
lldpXdot1LocProtocolIndex }
|
||||
::= { lldpXdot1LocProtocolTable 1 }
|
||||
|
||||
LldpXdot1LocProtocolEntry ::= SEQUENCE {
|
||||
lldpXdot1LocProtocolIndex Integer32,
|
||||
lldpXdot1LocProtocolId OCTET STRING
|
||||
}
|
||||
|
||||
lldpXdot1LocProtocolIndex OBJECT-TYPE
|
||||
SYNTAX Integer32(1..2147483647)
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This object represents an arbitrary local integer value used
|
||||
by this agent to identify a particular protocol identity."
|
||||
::= { lldpXdot1LocProtocolEntry 1 }
|
||||
|
||||
lldpXdot1LocProtocolId OBJECT-TYPE
|
||||
SYNTAX OCTET STRING (SIZE (1..255))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The octet string value used to identify the protocols
|
||||
associated with the given port of the local system."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 F.5.3"
|
||||
::= { lldpXdot1LocProtocolEntry 2 }
|
||||
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
-- IEEE 802.1 - Remote System Information
|
||||
------------------------------------------------------------------------------
|
||||
lldpXdot1RemTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF LldpXdot1RemEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This table contains one or more rows per physical network
|
||||
connection known to this agent. The agent may wish to
|
||||
ensure that only one lldpXdot1RemEntry is present for
|
||||
each local port, or it may choose to maintain multiple
|
||||
lldpXdot1RemEntries for the same local port."
|
||||
::= { lldpXdot1RemoteData 1 }
|
||||
|
||||
lldpXdot1RemEntry OBJECT-TYPE
|
||||
SYNTAX LldpXdot1RemEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Information about a particular port component."
|
||||
INDEX { lldpRemTimeMark,
|
||||
lldpRemLocalPortNum,
|
||||
lldpRemIndex }
|
||||
::= { lldpXdot1RemTable 1 }
|
||||
|
||||
LldpXdot1RemEntry ::= SEQUENCE {
|
||||
lldpXdot1RemPortVlanId Integer32
|
||||
}
|
||||
|
||||
lldpXdot1RemPortVlanId OBJECT-TYPE
|
||||
SYNTAX Integer32(0|1..4094)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The integer value used to identify the port's VLAN identifier
|
||||
associated with the remote system. if the remote system
|
||||
either does not know the PVID or does not support port-based
|
||||
VLAN operation, the value of lldpXdot1RemPortVlanId should
|
||||
be zero."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 F.2.1"
|
||||
::= { lldpXdot1RemEntry 1 }
|
||||
|
||||
lldpXdot1RemProtoVlanTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF LldpXdot1RemProtoVlanEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This table contains one or more rows per Port and Protocol
|
||||
VLAN information about the remote system, received on the
|
||||
given port."
|
||||
::= { lldpXdot1RemoteData 2 }
|
||||
|
||||
lldpXdot1RemProtoVlanEntry OBJECT-TYPE
|
||||
SYNTAX LldpXdot1RemProtoVlanEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Port and protocol VLAN name Information about a particular
|
||||
port component. There may be multiple protocol VLANs,
|
||||
identified by a particular lldpXdot1RemProtoVlanId, configured
|
||||
on the remote system."
|
||||
INDEX { lldpRemTimeMark,
|
||||
lldpRemLocalPortNum,
|
||||
lldpRemIndex,
|
||||
lldpXdot1RemProtoVlanId }
|
||||
::= { lldpXdot1RemProtoVlanTable 1 }
|
||||
|
||||
LldpXdot1RemProtoVlanEntry ::= SEQUENCE {
|
||||
lldpXdot1RemProtoVlanId Integer32,
|
||||
lldpXdot1RemProtoVlanSupported TruthValue,
|
||||
lldpXdot1RemProtoVlanEnabled TruthValue
|
||||
}
|
||||
|
||||
lldpXdot1RemProtoVlanId OBJECT-TYPE
|
||||
SYNTAX Integer32(0|1..4094)
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The integer value used to identify the port and protocol
|
||||
VLANs associated with the given port associated with the
|
||||
remote system.
|
||||
|
||||
If port and protocol VLANs are not supported on the given
|
||||
port associated with the remote system, or if the port is
|
||||
not enabled with any port and protocol VLAN, the value of
|
||||
lldpXdot1RemProtoVlanId should be zero."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 F.3.2"
|
||||
::= { lldpXdot1RemProtoVlanEntry 1 }
|
||||
|
||||
lldpXdot1RemProtoVlanSupported OBJECT-TYPE
|
||||
SYNTAX TruthValue
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The truth value used to indicate whether the given port
|
||||
(associated with the remote system) is capable of supporting
|
||||
port and protocol VLANs."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 F.3.1"
|
||||
::= { lldpXdot1RemProtoVlanEntry 2 }
|
||||
|
||||
lldpXdot1RemProtoVlanEnabled OBJECT-TYPE
|
||||
SYNTAX TruthValue
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The truth value used to indicate whether the port and
|
||||
protocol VLANs are enabled on the given port associated with
|
||||
the remote system."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 F.3.1"
|
||||
::= { lldpXdot1RemProtoVlanEntry 3 }
|
||||
|
||||
|
||||
--
|
||||
-- lldpXdot1RemVlanNameTable : VLAN name information of the remote
|
||||
-- systems
|
||||
--
|
||||
|
||||
lldpXdot1RemVlanNameTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF LldpXdot1RemVlanNameEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This table contains one or more rows per IEEE 802.1Q VLAN
|
||||
name information about the remote system, received on the
|
||||
given port."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 F.4"
|
||||
::= { lldpXdot1RemoteData 3 }
|
||||
|
||||
lldpXdot1RemVlanNameEntry OBJECT-TYPE
|
||||
SYNTAX LldpXdot1RemVlanNameEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"VLAN name Information about a particular port component.
|
||||
There may be multiple VLANs, identified by a particular
|
||||
lldpXdot1RemVlanId, received on the given port."
|
||||
INDEX { lldpRemTimeMark,
|
||||
lldpRemLocalPortNum,
|
||||
lldpRemIndex,
|
||||
lldpXdot1RemVlanId }
|
||||
::= { lldpXdot1RemVlanNameTable 1 }
|
||||
|
||||
LldpXdot1RemVlanNameEntry ::= SEQUENCE {
|
||||
lldpXdot1RemVlanId VlanId,
|
||||
lldpXdot1RemVlanName SnmpAdminString
|
||||
}
|
||||
|
||||
lldpXdot1RemVlanId OBJECT-TYPE
|
||||
SYNTAX VlanId
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The integer value used to identify the IEEE 802.1Q
|
||||
VLAN IDs with which the given port of the remote system
|
||||
is compatible."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 F.4.2"
|
||||
::= { lldpXdot1RemVlanNameEntry 1 }
|
||||
|
||||
lldpXdot1RemVlanName OBJECT-TYPE
|
||||
SYNTAX SnmpAdminString (SIZE(1..32))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The string value used to identify VLAN name identified by the
|
||||
VLAN Id associated with the remote system."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 F.4.4"
|
||||
::= { lldpXdot1RemVlanNameEntry 2 }
|
||||
|
||||
--
|
||||
-- lldpXdot1RemProtocolTable : Protocol information of the remote systems
|
||||
--
|
||||
|
||||
lldpXdot1RemProtocolTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF LldpXdot1RemProtocolEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This table contains one or more rows per protocol information
|
||||
about the remote system, received on the given port."
|
||||
::= { lldpXdot1RemoteData 4 }
|
||||
|
||||
lldpXdot1RemProtocolEntry OBJECT-TYPE
|
||||
SYNTAX LldpXdot1RemProtocolEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Protocol information about a particular port component.
|
||||
There may be multiple protocols, identified by a particular
|
||||
lldpXdot1ProtocolIndex, received on the given port."
|
||||
INDEX { lldpRemTimeMark,
|
||||
lldpRemLocalPortNum,
|
||||
lldpRemIndex,
|
||||
lldpXdot1RemProtocolIndex }
|
||||
::= { lldpXdot1RemProtocolTable 1 }
|
||||
|
||||
LldpXdot1RemProtocolEntry ::= SEQUENCE {
|
||||
lldpXdot1RemProtocolIndex Integer32,
|
||||
lldpXdot1RemProtocolId OCTET STRING
|
||||
}
|
||||
|
||||
lldpXdot1RemProtocolIndex OBJECT-TYPE
|
||||
SYNTAX Integer32(1..2147483647)
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This object represents an arbitrary local integer value used
|
||||
by this agent to identify a particular protocol identity."
|
||||
::= { lldpXdot1RemProtocolEntry 1 }
|
||||
|
||||
lldpXdot1RemProtocolId OBJECT-TYPE
|
||||
SYNTAX OCTET STRING (SIZE (1..255))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The octet string value used to identify the protocols
|
||||
associated with the given port of remote system."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 F.5.3"
|
||||
::= { lldpXdot1RemProtocolEntry 2 }
|
||||
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
-- Conformance Information
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
lldpXdot1Conformance OBJECT IDENTIFIER ::= { lldpXdot1MIB 2 }
|
||||
lldpXdot1Compliances OBJECT IDENTIFIER ::= { lldpXdot1Conformance 1 }
|
||||
lldpXdot1Groups OBJECT IDENTIFIER ::= { lldpXdot1Conformance 2 }
|
||||
|
||||
-- compliance statements
|
||||
|
||||
lldpXdot1Compliance MODULE-COMPLIANCE
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The compliance statement for SNMP entities which implement
|
||||
the IEEE 802.1 organizationally defined LLDP extension MIB."
|
||||
MODULE -- this module
|
||||
MANDATORY-GROUPS { lldpXdot1ConfigGroup,
|
||||
lldpXdot1LocSysGroup,
|
||||
lldpXdot1RemSysGroup
|
||||
}
|
||||
::= { lldpXdot1Compliances 1 }
|
||||
|
||||
-- MIB groupings
|
||||
|
||||
lldpXdot1ConfigGroup OBJECT-GROUP
|
||||
OBJECTS {
|
||||
lldpXdot1ConfigPortVlanTxEnable,
|
||||
lldpXdot1ConfigVlanNameTxEnable,
|
||||
lldpXdot1ConfigProtoVlanTxEnable,
|
||||
lldpXdot1ConfigProtocolTxEnable
|
||||
}
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The collection of objects which are used to configure the
|
||||
IEEE 802.1 organizationally defined LLDP extension
|
||||
implementation behavior.
|
||||
|
||||
This group is mandatory for agents which implement the
|
||||
IEEE 802.1 organizationally defined LLDP extension."
|
||||
::= { lldpXdot1Groups 1 }
|
||||
|
||||
lldpXdot1LocSysGroup OBJECT-GROUP
|
||||
OBJECTS {
|
||||
lldpXdot1LocPortVlanId,
|
||||
lldpXdot1LocProtoVlanSupported,
|
||||
lldpXdot1LocProtoVlanEnabled,
|
||||
lldpXdot1LocVlanName,
|
||||
lldpXdot1LocProtocolId
|
||||
}
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The collection of objects which are used to represent
|
||||
IEEE 802.1 organizationally defined LLDP extension associated
|
||||
with the Local Device Information.
|
||||
|
||||
This group is mandatory for agents which implement the
|
||||
IEEE 802.1 organizationally defined LLDP extension in the
|
||||
TX mode."
|
||||
::= { lldpXdot1Groups 2 }
|
||||
|
||||
lldpXdot1RemSysGroup OBJECT-GROUP
|
||||
OBJECTS {
|
||||
lldpXdot1RemPortVlanId,
|
||||
lldpXdot1RemProtoVlanSupported,
|
||||
lldpXdot1RemProtoVlanEnabled,
|
||||
lldpXdot1RemVlanName,
|
||||
lldpXdot1RemProtocolId
|
||||
}
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The collection of objects which are used to represent LLDP
|
||||
802.1 organizational extension Local Device Information.
|
||||
|
||||
This group is mandatory for agents which implement the
|
||||
LLDP 802.1 organizational extension in the RX mode."
|
||||
::= { lldpXdot1Groups 3 }
|
||||
|
||||
END
|
855
mibs/lldp-mibs/LLDP-EXT-DOT3-MIB-200505060000Z.txt
Normal file
855
mibs/lldp-mibs/LLDP-EXT-DOT3-MIB-200505060000Z.txt
Normal file
@ -0,0 +1,855 @@
|
||||
LLDP-EXT-DOT3-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
MODULE-IDENTITY, OBJECT-TYPE, Integer32
|
||||
FROM SNMPv2-SMI
|
||||
TEXTUAL-CONVENTION, TruthValue
|
||||
FROM SNMPv2-TC
|
||||
MODULE-COMPLIANCE, OBJECT-GROUP
|
||||
FROM SNMPv2-CONF
|
||||
lldpExtensions, lldpLocPortNum,
|
||||
lldpRemTimeMark, lldpRemLocalPortNum, lldpRemIndex,
|
||||
lldpPortConfigEntry
|
||||
FROM LLDP-MIB;
|
||||
|
||||
lldpXdot3MIB MODULE-IDENTITY
|
||||
LAST-UPDATED "200505060000Z" -- May 06, 2005
|
||||
ORGANIZATION "IEEE 802.1 Working Group"
|
||||
CONTACT-INFO
|
||||
" WG-URL: http://grouper.ieee.org/groups/802/1/index.html
|
||||
WG-EMail: stds-802-1@ieee.org
|
||||
|
||||
Contact: Paul Congdon
|
||||
Postal: Hewlett-Packard Company
|
||||
8000 Foothills Blvd.
|
||||
Roseville, CA 95747
|
||||
USA
|
||||
Tel: +1-916-785-5753
|
||||
E-mail: paul_congdon@hp.com"
|
||||
DESCRIPTION
|
||||
"The LLDP Management Information Base extension module for
|
||||
IEEE 802.3 organizationally defined discovery information.
|
||||
|
||||
In order to assure the uniqueness of the LLDP-MIB,
|
||||
lldpXdot3MIB is branched from lldpExtensions using OUI value
|
||||
as the node. An OUI/'company_id' is a 24 bit globally unique
|
||||
assigned number referenced by various standards.
|
||||
|
||||
Copyright (C) IEEE (2005). This version of this MIB module
|
||||
is published as Annex G.6.1 of IEEE Std 802.1AB-2005;
|
||||
see the standard itself for full legal notices."
|
||||
REVISION "200505060000Z" -- May 06, 2005
|
||||
DESCRIPTION
|
||||
"Published as part of IEEE Std 802.1AB-2005 initial version."
|
||||
-- OUI for IEEE 802.3 is 4623 (00-12-0F)
|
||||
::= { lldpExtensions 4623 }
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
------------------------------------------------------------------------------
|
||||
--
|
||||
-- Organizationally Defined Information Extension - IEEE 802.3
|
||||
--
|
||||
------------------------------------------------------------------------------
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
lldpXdot3Objects OBJECT IDENTIFIER ::= { lldpXdot3MIB 1 }
|
||||
|
||||
-- LLDP IEEE 802.3 extension MIB groups
|
||||
lldpXdot3Config OBJECT IDENTIFIER ::= { lldpXdot3Objects 1 }
|
||||
lldpXdot3LocalData OBJECT IDENTIFIER ::= { lldpXdot3Objects 2 }
|
||||
lldpXdot3RemoteData OBJECT IDENTIFIER ::= { lldpXdot3Objects 3 }
|
||||
|
||||
-- textual conventions
|
||||
|
||||
LldpPowerPortClass ::= TEXTUAL-CONVENTION
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This TC describes the Power over Ethernet (PoE) port class."
|
||||
SYNTAX INTEGER {
|
||||
pClassPSE(1),
|
||||
pClassPD(2)
|
||||
}
|
||||
|
||||
LldpLinkAggStatusMap ::= TEXTUAL-CONVENTION
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This TC describes the link aggregation status.
|
||||
|
||||
The bit 'aggCapable(0)' indicates the link is capable of being
|
||||
aggregated.
|
||||
|
||||
The bit 'aggEnabled(1)' indicates the link is currently in
|
||||
aggregation."
|
||||
SYNTAX BITS {
|
||||
aggCapable(0),
|
||||
aggEnabled(1)
|
||||
}
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
-- IEEE 802.3 - Configuration
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
lldpXdot3PortConfigTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF LldpXdot3PortConfigEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A table that controls selection of LLDP TLVs to be transmitted
|
||||
on individual ports."
|
||||
::= { lldpXdot3Config 1 }
|
||||
|
||||
lldpXdot3PortConfigEntry OBJECT-TYPE
|
||||
SYNTAX LldpXdot3PortConfigEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"LLDP configuration information that controls the
|
||||
transmission of IEEE 802.3 organizationally defined TLVs on
|
||||
LLDP transmission capable ports.
|
||||
|
||||
This configuration object augments the lldpPortConfigEntry of
|
||||
the LLDP-MIB, therefore it is only present along with the port
|
||||
configuration defined by the associated lldpPortConfigEntry
|
||||
entry.
|
||||
|
||||
Each active lldpXdot3PortConfigEntry must be from non-volatile
|
||||
storage (along with the corresponding lldpPortConfigEntry)
|
||||
after a re-initialization of the management system."
|
||||
AUGMENTS { lldpPortConfigEntry }
|
||||
::= { lldpXdot3PortConfigTable 1 }
|
||||
|
||||
LldpXdot3PortConfigEntry ::= SEQUENCE {
|
||||
lldpXdot3PortConfigTLVsTxEnable BITS
|
||||
}
|
||||
|
||||
lldpXdot3PortConfigTLVsTxEnable OBJECT-TYPE
|
||||
SYNTAX BITS {
|
||||
macPhyConfigStatus(0),
|
||||
powerViaMDI(1),
|
||||
linkAggregation(2),
|
||||
maxFrameSize(3)
|
||||
}
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The lldpXdot3PortConfigTLVsTxEnable, defined as a bitmap,
|
||||
includes the IEEE 802.3 organizationally defined set of LLDP
|
||||
TLVs whose transmission is allowed on the local LLDP agent by
|
||||
the network management. Each bit in the bitmap corresponds
|
||||
to an IEEE 802.3 subtype associated with a specific IEEE
|
||||
802.3 optional TLV. The bit 0 is not used since there is
|
||||
no corresponding subtype.
|
||||
|
||||
The bit 'macPhyConfigStatus(0)' indicates that LLDP agent
|
||||
should transmit 'MAC/PHY configuration/status TLV'.
|
||||
|
||||
The bit 'powerViaMDI(1)' indicates that LLDP agent should
|
||||
transmit 'Power via MDI TLV'.
|
||||
|
||||
The bit 'linkAggregation(2)' indicates that LLDP agent should
|
||||
transmit 'Link Aggregation TLV'.
|
||||
|
||||
The bit 'maxFrameSize(3)' indicates that LLDP agent should
|
||||
transmit 'Maximum-frame-size TLV'.
|
||||
|
||||
The default value for lldpXdot3PortConfigTLVsTxEnable object
|
||||
is an empty set, which means no enumerated values are set.
|
||||
|
||||
The value of this object must be restored from non-volatile
|
||||
storage after a re-initialization of the management system."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 10.2.1.1"
|
||||
DEFVAL { { } }
|
||||
::= { lldpXdot3PortConfigEntry 1 }
|
||||
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
-- IEEE 802.3 - Local Device Information
|
||||
------------------------------------------------------------------------------
|
||||
---
|
||||
--- lldpXdot3LocPortTable: Ethernet Port AutoNeg/Speed/Duplex
|
||||
--- Information Table
|
||||
---
|
||||
---
|
||||
lldpXdot3LocPortTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF LldpXdot3LocPortEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This table contains one row per port of Ethernet port
|
||||
information (as a part of the LLDP 802.3 organizational
|
||||
extension) on the local system known to this agent."
|
||||
::= { lldpXdot3LocalData 1 }
|
||||
|
||||
lldpXdot3LocPortEntry OBJECT-TYPE
|
||||
SYNTAX LldpXdot3LocPortEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Information about a particular port component."
|
||||
INDEX { lldpLocPortNum }
|
||||
::= { lldpXdot3LocPortTable 1 }
|
||||
|
||||
LldpXdot3LocPortEntry ::= SEQUENCE {
|
||||
lldpXdot3LocPortAutoNegSupported TruthValue,
|
||||
lldpXdot3LocPortAutoNegEnabled TruthValue,
|
||||
lldpXdot3LocPortAutoNegAdvertisedCap OCTET STRING,
|
||||
lldpXdot3LocPortOperMauType Integer32
|
||||
}
|
||||
|
||||
lldpXdot3LocPortAutoNegSupported OBJECT-TYPE
|
||||
SYNTAX TruthValue
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The truth value used to indicate whether the given port
|
||||
(associated with the local system) supports Auto-negotiation."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 G.2.1"
|
||||
::= { lldpXdot3LocPortEntry 1 }
|
||||
|
||||
lldpXdot3LocPortAutoNegEnabled OBJECT-TYPE
|
||||
SYNTAX TruthValue
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The truth value used to indicate whether port
|
||||
Auto-negotiation is enabled on the given port associated
|
||||
with the local system."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 G.2.1"
|
||||
::= { lldpXdot3LocPortEntry 2 }
|
||||
|
||||
lldpXdot3LocPortAutoNegAdvertisedCap OBJECT-TYPE
|
||||
SYNTAX OCTET STRING(SIZE(2))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This object contains the value (bitmap) of the
|
||||
ifMauAutoNegCapAdvertisedBits object (defined in IETF RFC
|
||||
3636) which is associated with the given port on the
|
||||
local system."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 G.2.2"
|
||||
::= { lldpXdot3LocPortEntry 3 }
|
||||
|
||||
lldpXdot3LocPortOperMauType OBJECT-TYPE
|
||||
SYNTAX Integer32(0..2147483647)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An integer value that indicates the operational MAU type
|
||||
of the given port on the local system.
|
||||
|
||||
This object contains the integer value derived from the
|
||||
list position of the corresponding dot3MauType as listed
|
||||
in IETF RFC 3636 (or subsequent revisions) and is equal
|
||||
to the last number in the respective dot3MauType OID.
|
||||
|
||||
For example, if the ifMauType object is dot3MauType1000BaseTHD
|
||||
which corresponds to {dot3MauType 29}, the numerical value of
|
||||
this field will be 29. For MAU types not listed in RFC 3636
|
||||
(or subsequent revisions), the value of this field shall be
|
||||
set to zero."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 G.2.3"
|
||||
::= { lldpXdot3LocPortEntry 4 }
|
||||
|
||||
---
|
||||
---
|
||||
--- lldpXdot3LocPowerTable: Power Ethernet Information Table
|
||||
---
|
||||
---
|
||||
lldpXdot3LocPowerTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF LldpXdot3LocPowerEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This table contains one row per port of power ethernet
|
||||
information (as a part of the LLDP 802.3 organizational
|
||||
extension) on the local system known to this agent."
|
||||
::= { lldpXdot3LocalData 2 }
|
||||
|
||||
lldpXdot3LocPowerEntry OBJECT-TYPE
|
||||
SYNTAX LldpXdot3LocPowerEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Information about a particular port component."
|
||||
INDEX { lldpLocPortNum }
|
||||
::= { lldpXdot3LocPowerTable 1 }
|
||||
|
||||
LldpXdot3LocPowerEntry ::= SEQUENCE {
|
||||
lldpXdot3LocPowerPortClass LldpPowerPortClass,
|
||||
lldpXdot3LocPowerMDISupported TruthValue,
|
||||
lldpXdot3LocPowerMDIEnabled TruthValue,
|
||||
lldpXdot3LocPowerPairControlable TruthValue,
|
||||
lldpXdot3LocPowerPairs Integer32,
|
||||
lldpXdot3LocPowerClass Integer32
|
||||
}
|
||||
|
||||
lldpXdot3LocPowerPortClass OBJECT-TYPE
|
||||
SYNTAX LldpPowerPortClass
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The value that identifies the port Class of the given port
|
||||
associated with the local system."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 G.3.1"
|
||||
::= { lldpXdot3LocPowerEntry 1 }
|
||||
|
||||
lldpXdot3LocPowerMDISupported OBJECT-TYPE
|
||||
SYNTAX TruthValue
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The truth value used to indicate whether the MDI power is
|
||||
supported on the given port associated with the local system."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 G.3.1"
|
||||
::= { lldpXdot3LocPowerEntry 2 }
|
||||
|
||||
lldpXdot3LocPowerMDIEnabled OBJECT-TYPE
|
||||
SYNTAX TruthValue
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The truth value used to identify whether MDI power is
|
||||
enabled on the given port associated with the local system."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 G.3.1"
|
||||
::= { lldpXdot3LocPowerEntry 3 }
|
||||
|
||||
lldpXdot3LocPowerPairControlable OBJECT-TYPE
|
||||
SYNTAX TruthValue
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The truth value is derived from the value of
|
||||
pethPsePortPowerPairsControlAbility object (defined in IETF
|
||||
RFC 3621) and is used to indicate whether the pair selection
|
||||
can be controlled on the given port associated with the
|
||||
local system."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 G.3.1"
|
||||
::= { lldpXdot3LocPowerEntry 4 }
|
||||
|
||||
lldpXdot3LocPowerPairs OBJECT-TYPE
|
||||
SYNTAX Integer32(1|2)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This object contains the value of the pethPsePortPowerPairs
|
||||
object (defined in IETF RFC 3621) which is associated with
|
||||
the given port on the local system."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 G.3.2"
|
||||
::= { lldpXdot3LocPowerEntry 5 }
|
||||
|
||||
lldpXdot3LocPowerClass OBJECT-TYPE
|
||||
SYNTAX Integer32(1|2|3|4|5)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This object contains the value of the
|
||||
pethPsePortPowerClassifications object (defined in IETF
|
||||
RFC 3621) which is associated with the given port on the
|
||||
local system."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 G.3.3"
|
||||
::= { lldpXdot3LocPowerEntry 6 }
|
||||
|
||||
---
|
||||
---
|
||||
--- lldpXdot3LocLinkAggTable: Link Aggregation Information Table
|
||||
---
|
||||
---
|
||||
lldpXdot3LocLinkAggTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF LldpXdot3LocLinkAggEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This table contains one row per port of link aggregation
|
||||
information (as a part of the LLDP 802.3 organizational
|
||||
extension) on the local system known to this agent."
|
||||
::= { lldpXdot3LocalData 3 }
|
||||
|
||||
lldpXdot3LocLinkAggEntry OBJECT-TYPE
|
||||
SYNTAX LldpXdot3LocLinkAggEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Link Aggregation information about a particular port
|
||||
component."
|
||||
INDEX { lldpLocPortNum }
|
||||
::= { lldpXdot3LocLinkAggTable 1 }
|
||||
|
||||
LldpXdot3LocLinkAggEntry ::= SEQUENCE {
|
||||
lldpXdot3LocLinkAggStatus LldpLinkAggStatusMap,
|
||||
lldpXdot3LocLinkAggPortId Integer32
|
||||
}
|
||||
|
||||
lldpXdot3LocLinkAggStatus OBJECT-TYPE
|
||||
SYNTAX LldpLinkAggStatusMap
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The bitmap value contains the link aggregation capabilities
|
||||
and the current aggregation status of the link."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 G.4.1"
|
||||
::= { lldpXdot3LocLinkAggEntry 1 }
|
||||
|
||||
lldpXdot3LocLinkAggPortId OBJECT-TYPE
|
||||
SYNTAX Integer32(0|1..2147483647)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This object contains the IEEE 802.3 aggregated port
|
||||
identifier, aAggPortID (IEEE 802.3-2002, 30.7.2.1.1),
|
||||
derived from the ifNumber of the ifIndex for the port
|
||||
component in link aggregation.
|
||||
|
||||
If the port is not in link aggregation state and/or it
|
||||
does not support link aggregation, this value should be set
|
||||
to zero."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 G.4.2"
|
||||
::= { lldpXdot3LocLinkAggEntry 2 }
|
||||
|
||||
---
|
||||
---
|
||||
--- lldpXdot3LocMaxFrameSizeTable: Maximum Frame Size information
|
||||
---
|
||||
---
|
||||
lldpXdot3LocMaxFrameSizeTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF LldpXdot3LocMaxFrameSizeEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This table contains one row per port of maximum frame
|
||||
size information (as a part of the LLDP 802.3 organizational
|
||||
extension) on the local system known to this agent."
|
||||
::= { lldpXdot3LocalData 4 }
|
||||
|
||||
lldpXdot3LocMaxFrameSizeEntry OBJECT-TYPE
|
||||
SYNTAX LldpXdot3LocMaxFrameSizeEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Maximum Frame Size information about a particular port
|
||||
component."
|
||||
INDEX { lldpLocPortNum }
|
||||
::= { lldpXdot3LocMaxFrameSizeTable 1 }
|
||||
|
||||
LldpXdot3LocMaxFrameSizeEntry ::= SEQUENCE {
|
||||
lldpXdot3LocMaxFrameSize Integer32
|
||||
}
|
||||
|
||||
lldpXdot3LocMaxFrameSize OBJECT-TYPE
|
||||
SYNTAX Integer32(0..65535)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An integer value indicating the maximum supported frame
|
||||
size in octets on the given port of the local system."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 G.5.1"
|
||||
::= { lldpXdot3LocMaxFrameSizeEntry 1 }
|
||||
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
-- IEEE 802.3 - Remote Devices Information
|
||||
------------------------------------------------------------------------------
|
||||
---
|
||||
---
|
||||
--- lldpXdot3RemPortTable: Ethernet Information Table
|
||||
---
|
||||
---
|
||||
lldpXdot3RemPortTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF LldpXdot3RemPortEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This table contains Ethernet port information (as a part
|
||||
of the LLDP 802.3 organizational extension) of the remote
|
||||
system."
|
||||
::= { lldpXdot3RemoteData 1 }
|
||||
|
||||
lldpXdot3RemPortEntry OBJECT-TYPE
|
||||
SYNTAX LldpXdot3RemPortEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Information about a particular physical network connection."
|
||||
INDEX { lldpRemTimeMark,
|
||||
lldpRemLocalPortNum,
|
||||
lldpRemIndex }
|
||||
::= { lldpXdot3RemPortTable 1 }
|
||||
|
||||
LldpXdot3RemPortEntry ::= SEQUENCE {
|
||||
lldpXdot3RemPortAutoNegSupported TruthValue,
|
||||
lldpXdot3RemPortAutoNegEnabled TruthValue,
|
||||
lldpXdot3RemPortAutoNegAdvertisedCap OCTET STRING,
|
||||
lldpXdot3RemPortOperMauType Integer32
|
||||
}
|
||||
|
||||
lldpXdot3RemPortAutoNegSupported OBJECT-TYPE
|
||||
SYNTAX TruthValue
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The truth value used to indicate whether the given port
|
||||
(associated with remote system) supports Auto-negotiation."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 G.2.1"
|
||||
::= { lldpXdot3RemPortEntry 1 }
|
||||
|
||||
lldpXdot3RemPortAutoNegEnabled OBJECT-TYPE
|
||||
SYNTAX TruthValue
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The truth value used to indicate whether port
|
||||
Auto-negotiation is enabled on the given port associated
|
||||
with the remote system."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 G.2.1"
|
||||
::= { lldpXdot3RemPortEntry 2 }
|
||||
|
||||
lldpXdot3RemPortAutoNegAdvertisedCap OBJECT-TYPE
|
||||
SYNTAX OCTET STRING(SIZE(2))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This object contains the value (bitmap) of the
|
||||
ifMauAutoNegCapAdvertisedBits object (defined in IETF RFC
|
||||
3636) which is associated with the given port on the
|
||||
remote system."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 G.2.2"
|
||||
::= { lldpXdot3RemPortEntry 3 }
|
||||
|
||||
lldpXdot3RemPortOperMauType OBJECT-TYPE
|
||||
SYNTAX Integer32(0..2147483647)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An integer value that indicates the operational MAU type
|
||||
of the sending device.
|
||||
|
||||
This object contains the integer value derived from the
|
||||
list position of the corresponding dot3MauType as listed in
|
||||
in IETF RFC 3636 (or subsequent revisions) and is equal
|
||||
to the last number in the respective dot3MauType OID.
|
||||
|
||||
For example, if the ifMauType object is dot3MauType1000BaseTHD
|
||||
which corresponds to {dot3MauType 29}, the numerical value of
|
||||
this field will be 29. For MAU types not listed in RFC 3636
|
||||
(or subsequent revisions), the value of this field shall be
|
||||
set to zero."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 G.2.3"
|
||||
::= { lldpXdot3RemPortEntry 4 }
|
||||
|
||||
---
|
||||
---
|
||||
--- lldpXdot3RemPowerTable: Power Ethernet Information Table
|
||||
---
|
||||
---
|
||||
lldpXdot3RemPowerTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF LldpXdot3RemPowerEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This table contains Ethernet power information (as a part
|
||||
of the LLDP 802.3 organizational extension) of the remote
|
||||
system."
|
||||
::= { lldpXdot3RemoteData 2 }
|
||||
|
||||
lldpXdot3RemPowerEntry OBJECT-TYPE
|
||||
SYNTAX LldpXdot3RemPowerEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Information about a particular physical network connection."
|
||||
INDEX { lldpRemTimeMark,
|
||||
lldpRemLocalPortNum,
|
||||
lldpRemIndex }
|
||||
::= { lldpXdot3RemPowerTable 1 }
|
||||
|
||||
LldpXdot3RemPowerEntry ::= SEQUENCE {
|
||||
lldpXdot3RemPowerPortClass LldpPowerPortClass,
|
||||
lldpXdot3RemPowerMDISupported TruthValue,
|
||||
lldpXdot3RemPowerMDIEnabled TruthValue,
|
||||
lldpXdot3RemPowerPairControlable TruthValue,
|
||||
lldpXdot3RemPowerPairs Integer32,
|
||||
lldpXdot3RemPowerClass Integer32
|
||||
}
|
||||
|
||||
lldpXdot3RemPowerPortClass OBJECT-TYPE
|
||||
SYNTAX LldpPowerPortClass
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The value that identifies the port Class of the given port
|
||||
associated with the remote system."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 G.3.1"
|
||||
::= { lldpXdot3RemPowerEntry 1 }
|
||||
|
||||
lldpXdot3RemPowerMDISupported OBJECT-TYPE
|
||||
SYNTAX TruthValue
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The truth value used to indicate whether the MDI power
|
||||
is supported on the given port associated with the remote
|
||||
system."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 G.3.1"
|
||||
::= { lldpXdot3RemPowerEntry 2 }
|
||||
|
||||
lldpXdot3RemPowerMDIEnabled OBJECT-TYPE
|
||||
SYNTAX TruthValue
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The truth value used to identify whether MDI power is
|
||||
enabled on the given port associated with the remote system."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 G.3.1"
|
||||
::= { lldpXdot3RemPowerEntry 3 }
|
||||
|
||||
lldpXdot3RemPowerPairControlable OBJECT-TYPE
|
||||
SYNTAX TruthValue
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The truth value is derived from the value of
|
||||
pethPsePortPowerPairsControlAbility object (defined in IETF
|
||||
RFC 3621) and is used to indicate whether the pair selection
|
||||
can be controlled on the given port associated with the
|
||||
remote system."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 G.3.1"
|
||||
::= { lldpXdot3RemPowerEntry 4 }
|
||||
|
||||
lldpXdot3RemPowerPairs OBJECT-TYPE
|
||||
SYNTAX Integer32(1|2)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This object contains the value of the pethPsePortPowerPairs
|
||||
object (defined in IETF RFC 3621) which is associated with
|
||||
the given port on the remote system."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 G.3.2"
|
||||
::= { lldpXdot3RemPowerEntry 5 }
|
||||
|
||||
lldpXdot3RemPowerClass OBJECT-TYPE
|
||||
SYNTAX Integer32(1|2|3|4|5)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This object contains the value of the
|
||||
pethPsePortPowerClassifications object (defined in IETF
|
||||
RFC 3621) which is associated with the given port on the
|
||||
remote system."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 G.3.3"
|
||||
::= { lldpXdot3RemPowerEntry 6 }
|
||||
|
||||
---
|
||||
---
|
||||
--- lldpXdot3RemLinkAggTable: Link Aggregation Information Table
|
||||
---
|
||||
---
|
||||
lldpXdot3RemLinkAggTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF LldpXdot3RemLinkAggEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This table contains port link aggregation information
|
||||
(as a part of the LLDP 802.3 organizational extension)
|
||||
of the remote system."
|
||||
::= { lldpXdot3RemoteData 3 }
|
||||
|
||||
lldpXdot3RemLinkAggEntry OBJECT-TYPE
|
||||
SYNTAX LldpXdot3RemLinkAggEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Link Aggregation information about remote system's port
|
||||
component."
|
||||
INDEX { lldpRemTimeMark,
|
||||
lldpRemLocalPortNum,
|
||||
lldpRemIndex }
|
||||
::= { lldpXdot3RemLinkAggTable 1 }
|
||||
|
||||
LldpXdot3RemLinkAggEntry ::= SEQUENCE {
|
||||
lldpXdot3RemLinkAggStatus LldpLinkAggStatusMap,
|
||||
lldpXdot3RemLinkAggPortId Integer32
|
||||
}
|
||||
|
||||
lldpXdot3RemLinkAggStatus OBJECT-TYPE
|
||||
SYNTAX LldpLinkAggStatusMap
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The bitmap value contains the link aggregation capabilities
|
||||
and the current aggregation status of the link."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 G.4.1"
|
||||
::= { lldpXdot3RemLinkAggEntry 1 }
|
||||
|
||||
lldpXdot3RemLinkAggPortId OBJECT-TYPE
|
||||
SYNTAX Integer32(0|1..2147483647)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This object contains the IEEE 802.3 aggregated port
|
||||
identifier, aAggPortID (IEEE 802.3-2002, 30.7.2.1.1),
|
||||
derived from the ifNumber of the ifIndex for the port
|
||||
component associated with the remote system.
|
||||
|
||||
If the remote port is not in link aggregation state and/or
|
||||
it does not support link aggregation, this value should be
|
||||
zero."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 G.4.2"
|
||||
::= { lldpXdot3RemLinkAggEntry 2 }
|
||||
|
||||
|
||||
---
|
||||
---
|
||||
--- lldpXdot3RemMaxFrameSizeTable: Maximum Frame Size information
|
||||
---
|
||||
---
|
||||
lldpXdot3RemMaxFrameSizeTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF LldpXdot3RemMaxFrameSizeEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This table contains one row per port of maximum frame
|
||||
size information (as a part of the LLDP 802.3 organizational
|
||||
extension) of the remote system."
|
||||
::= { lldpXdot3RemoteData 4 }
|
||||
|
||||
lldpXdot3RemMaxFrameSizeEntry OBJECT-TYPE
|
||||
SYNTAX LldpXdot3RemMaxFrameSizeEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Maximum Frame Size information about a particular port
|
||||
component."
|
||||
INDEX { lldpRemTimeMark,
|
||||
lldpRemLocalPortNum,
|
||||
lldpRemIndex }
|
||||
::= { lldpXdot3RemMaxFrameSizeTable 1 }
|
||||
|
||||
LldpXdot3RemMaxFrameSizeEntry ::= SEQUENCE {
|
||||
lldpXdot3RemMaxFrameSize Integer32
|
||||
}
|
||||
|
||||
lldpXdot3RemMaxFrameSize OBJECT-TYPE
|
||||
SYNTAX Integer32(0..65535)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An integer value indicating the maximum supported frame
|
||||
size in octets on the port component associated with the
|
||||
remote system."
|
||||
REFERENCE
|
||||
"IEEE 802.1AB-2005 G.5.1"
|
||||
::= { lldpXdot3RemMaxFrameSizeEntry 1 }
|
||||
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
-- Conformance Information
|
||||
------------------------------------------------------------------------------
|
||||
lldpXdot3Conformance OBJECT IDENTIFIER ::= { lldpXdot3MIB 2 }
|
||||
lldpXdot3Compliances OBJECT IDENTIFIER ::= { lldpXdot3Conformance 1 }
|
||||
lldpXdot3Groups OBJECT IDENTIFIER ::= { lldpXdot3Conformance 2 }
|
||||
|
||||
-- compliance statements
|
||||
|
||||
lldpXdot3Compliance MODULE-COMPLIANCE
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The compliance statement for SNMP entities which implement
|
||||
the LLDP 802.3 organizational extension MIB."
|
||||
MODULE -- this module
|
||||
MANDATORY-GROUPS { lldpXdot3ConfigGroup,
|
||||
lldpXdot3LocSysGroup,
|
||||
lldpXdot3RemSysGroup
|
||||
}
|
||||
::= { lldpXdot3Compliances 1 }
|
||||
|
||||
-- MIB groupings
|
||||
|
||||
lldpXdot3ConfigGroup OBJECT-GROUP
|
||||
OBJECTS {
|
||||
lldpXdot3PortConfigTLVsTxEnable
|
||||
}
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The collection of objects which are used to configure the
|
||||
LLDP 802.3 organizational extension implementation behavior.
|
||||
|
||||
This group is mandatory for agents which implement the
|
||||
LLDP 802.3 organizational extension."
|
||||
::= { lldpXdot3Groups 1 }
|
||||
|
||||
lldpXdot3LocSysGroup OBJECT-GROUP
|
||||
OBJECTS {
|
||||
lldpXdot3LocPortAutoNegSupported,
|
||||
lldpXdot3LocPortAutoNegEnabled,
|
||||
lldpXdot3LocPortAutoNegAdvertisedCap,
|
||||
lldpXdot3LocPortOperMauType,
|
||||
lldpXdot3LocPowerPortClass,
|
||||
lldpXdot3LocPowerMDISupported,
|
||||
lldpXdot3LocPowerMDIEnabled,
|
||||
lldpXdot3LocPowerPairControlable,
|
||||
lldpXdot3LocPowerPairs,
|
||||
lldpXdot3LocPowerClass,
|
||||
lldpXdot3LocLinkAggStatus,
|
||||
lldpXdot3LocLinkAggPortId,
|
||||
lldpXdot3LocMaxFrameSize
|
||||
}
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The collection of objects which are used to represent LLDP
|
||||
802.3 organizational extension Local Device Information.
|
||||
|
||||
This group is mandatory for agents which implement the
|
||||
LLDP 802.3 organizational extension in the TX mode."
|
||||
::= { lldpXdot3Groups 2 }
|
||||
|
||||
lldpXdot3RemSysGroup OBJECT-GROUP
|
||||
OBJECTS {
|
||||
lldpXdot3RemPortAutoNegSupported,
|
||||
lldpXdot3RemPortAutoNegEnabled,
|
||||
lldpXdot3RemPortAutoNegAdvertisedCap,
|
||||
lldpXdot3RemPortOperMauType,
|
||||
lldpXdot3RemPowerPortClass,
|
||||
lldpXdot3RemPowerMDISupported,
|
||||
lldpXdot3RemPowerMDIEnabled,
|
||||
lldpXdot3RemPowerPairControlable,
|
||||
lldpXdot3RemPowerPairs,
|
||||
lldpXdot3RemPowerClass,
|
||||
lldpXdot3RemLinkAggStatus,
|
||||
lldpXdot3RemLinkAggPortId,
|
||||
lldpXdot3RemMaxFrameSize
|
||||
}
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The collection of objects which are used to represent LLDP
|
||||
802.3 organizational extension Local Device Information.
|
||||
|
||||
This group is mandatory for agents which implement the
|
||||
LLDP 802.3 organizational extension in the RX mode."
|
||||
::= { lldpXdot3Groups 3 }
|
||||
|
||||
END
|
1636
mibs/lldp-mibs/LLDP-EXT-MED-MIB.mib.txt
Normal file
1636
mibs/lldp-mibs/LLDP-EXT-MED-MIB.mib.txt
Normal file
File diff suppressed because it is too large
Load Diff
2032
mibs/lldp-mibs/LLDP-MIB-200505060000Z.txt
Normal file
2032
mibs/lldp-mibs/LLDP-MIB-200505060000Z.txt
Normal file
File diff suppressed because it is too large
Load Diff
1102
mibs/lldp-mibs/P-BRIDGE.my
Normal file
1102
mibs/lldp-mibs/P-BRIDGE.my
Normal file
File diff suppressed because it is too large
Load Diff
2489
mibs/lldp-mibs/Q-BRIDGE-MIB
Normal file
2489
mibs/lldp-mibs/Q-BRIDGE-MIB
Normal file
File diff suppressed because it is too large
Load Diff
5781
mibs/lldp-mibs/RMON2-MIB.my
Normal file
5781
mibs/lldp-mibs/RMON2-MIB.my
Normal file
File diff suppressed because it is too large
Load Diff
2580
mibs/lldp-mibs/TOKEN-RING-RMON-MIB.my
Normal file
2580
mibs/lldp-mibs/TOKEN-RING-RMON-MIB.my
Normal file
File diff suppressed because it is too large
Load Diff
340
source/COPYING
Normal file
340
source/COPYING
Normal file
@ -0,0 +1,340 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Lesser General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
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 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License.
|
||||
|
10
source/ChangeLog
Normal file
10
source/ChangeLog
Normal file
@ -0,0 +1,10 @@
|
||||
Layer 2 Discovery Module for LLDP
|
||||
Changes
|
||||
|
||||
[2018-09-21] Changes for 1.0
|
||||
- initial version.
|
||||
|
||||
[2018-09-21] Changes for 1.1
|
||||
- Modified version for specification changes of Zabbix 4.2 and 4.0.7 or later.
|
||||
|
||||
|
36
source/INSTALL
Normal file
36
source/INSTALL
Normal file
@ -0,0 +1,36 @@
|
||||
|
||||
Layer 2 Discovery Module for LLDP
|
||||
Compile & Installation document
|
||||
(Version 1.1, May 2019)
|
||||
|
||||
---------
|
||||
Compile
|
||||
---------
|
||||
|
||||
1. Prepare the same version of Zabbix source as you are installing to.
|
||||
Supported version will be 2.2 or later.
|
||||
|
||||
2. Extract the Zabbix sources, and configure with appropriate options.
|
||||
(To generate config.h necessary for module compilation.)
|
||||
|
||||
3. Place the module source at anywhere, and rewrite Makefile.
|
||||
Specify the zabbix source directory for top_srcdir.
|
||||
(Either absolute path or relative path is acceptable.)
|
||||
|
||||
ex) top_srcdir = /usr/local/src/zabbix/zabbix-3.4.13
|
||||
|
||||
4. Run make to build, then it will be produced lldp_get.so.
|
||||
|
||||
|
||||
---------
|
||||
Install
|
||||
---------
|
||||
|
||||
1. Copy lldp_get.so to the module directory specified in
|
||||
Zabbix proxy / server configulation file.
|
||||
|
||||
2. Set "lldp_get.so" to LoadModule parameters in configuration file.
|
||||
|
||||
3. Restart Zabbix proxy / server.
|
||||
|
||||
|
32
source/README
Normal file
32
source/README
Normal file
@ -0,0 +1,32 @@
|
||||
|
||||
Layer 2 Discovery Module for LLDP
|
||||
Introduction document
|
||||
(Version 1.1, May 2019)
|
||||
|
||||
What is it?
|
||||
-----------
|
||||
|
||||
The Layer 2 Discovery Module for LLDP is a Zabbix loadable module
|
||||
that collects LLDP information accumulated in network equipment
|
||||
by SNMP polling.
|
||||
|
||||
|
||||
Requirements
|
||||
------------
|
||||
|
||||
Enough environment for which Zabbix can operate.
|
||||
Libraries: Net-SNMP
|
||||
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
||||
Please see the file called INSTALL.
|
||||
|
||||
|
||||
Licensing
|
||||
---------
|
||||
|
||||
Please see the file called COPYING.
|
||||
|
||||
|
26
source/modules/Makefile
Normal file
26
source/modules/Makefile
Normal file
@ -0,0 +1,26 @@
|
||||
# module_lldp_get Makefile
|
||||
|
||||
TARGET_SO = lldp_get.so
|
||||
|
||||
top_srcdir = /usr/local/src/zabbix/
|
||||
|
||||
CC = gcc
|
||||
CFLAGS = -g -O2 -Wall -fPIC $(TARGET_FLAGS)
|
||||
LDFLAGS =
|
||||
LDFLAGS_SO = -shared
|
||||
INCLUDES = -I$(top_srcdir)/include
|
||||
LIBS =
|
||||
|
||||
OBJS = \
|
||||
lldp_get.o
|
||||
|
||||
all: $(TARGET_SO)
|
||||
|
||||
$(TARGET_SO): $(OBJS)
|
||||
$(CC) $(LDFLAGS_SO) -o $@ $(OBJS) $(LIBS)
|
||||
|
||||
clean:
|
||||
rm -f $(TARGET_SO) $(OBJS)
|
||||
|
||||
.c.o:
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c $<
|
1858
source/modules/lldp_get.c
Normal file
1858
source/modules/lldp_get.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user