diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index b3fa1e0..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,12 +0,0 @@ -version: 2 -updates: - - package-ecosystem: github-actions - directory: "/" - schedule: - interval: daily - time: "04:00" - reviewers: - - "waja" - pull-request-branch-name: - separator: "-" - open-pull-requests-limit: 10 diff --git a/.github/issue-branch.yml b/.github/issue-branch.yml deleted file mode 100644 index 703c478..0000000 --- a/.github/issue-branch.yml +++ /dev/null @@ -1,20 +0,0 @@ -mode: auto -branchName: '${issue.number}-${issue.title[0,40]}' -gitSafeReplacementChar: '-' -branches: - - label: question - skip: true - - label: feature - prefix: feature/ - - label: bug - prefix: bugfix/ - - label: security - prefix: security/ - - label: automation - prefix: automation/ -openDraftPR: true -copyIssueDescriptionToPR: false -copyIssueLabelsToPR: true -copyIssueAssigneeToPR: true -copyIssueProjectsToPR: false -copyIssueMilestoneToPR: true diff --git a/.github/workflows/automate-issue-branch.yml b/.github/workflows/automate-issue-branch.yml deleted file mode 100644 index 46de58e..0000000 --- a/.github/workflows/automate-issue-branch.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Tools - Automate Issue Branch -on: - issues: - types: [ assigned ] - issue_comment: - types: [ created ] - -jobs: - create_issue_branch_job: - runs-on: ubuntu-latest - permissions: - actions: read - checks: write - contents: write - deployments: none - issues: write - packages: none - pull-requests: write - repository-projects: none - security-events: none - steps: - - name: Create Issue Branch - uses: robvanderleek/create-issue-branch@main - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/packaging_test.yml b/.github/workflows/packaging_test.yml index 9aef0a7..f95cc2b 100644 --- a/.github/workflows/packaging_test.yml +++ b/.github/workflows/packaging_test.yml @@ -17,20 +17,22 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v2 env: DEBIAN_FRONTEND: "noninteractive" - name: Remove github artefacts run: | - rm -rf .github* + rm -rf .github/ - name: Adjust distibution in changelog file run: | sed -i '0,/restricted/s//stable/' debian/changelog - name: Build Debian package - uses: dawidd6/action-debian-package@v1.6.0 + uses: dawidd6/action-debian-package@v1 +# uses: pi-top/action-debian-package@v4 with: +# source_directory: "${SOURCE_DIR}" +# artifacts_directory: "${ARTIFACTS_DIR}" artifacts_directory: debian/build/release/ - os_distribution: testing - - name: Debug - run: | - ls -la +# target_architectures: "amd64,i386" +# distribution: 'stable' +# os: 'debian' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9ae7df4..58dfdd7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,71 +1,38 @@ -on: - push: - # Sequence of patterns matched against refs/tags - tags: - - 'debian/*' # Push events to matching debian/*, i.e. debian/1.0-2, debian/20.15.10, debian/23.20020326 +name: Build Packages -name: Release Process +on: + release: + types: [published, created, edited] + # Run tests for any PRs +# pull_request: env: SOURCE_DIR: ./ ARTIFACTS_DIR: debian/build/release/ jobs: - create-release: - name: Create Release - runs-on: ubuntu-latest - outputs: - release-id: ${{ steps.create_release.outputs.id }} - steps: - - name: Checkout code - uses: actions/checkout@v4 - - name: Install needed packages - run: | - if [ $(dpkg -l | grep -c dpkg-dev) -ne 1 ]; then sudo apt-get update && sudo apt-get install -y dpkg-dev; fi - - name: Gather changelog - run: | - ls -la - dpkg-parsechangelog | tail -n +9 > debian.changelog - - name: Create Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token - with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} - body_path: debian.changelog - draft: false - prerelease: false - build: - name: Build and upload packages - needs: create-release runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v2 env: DEBIAN_FRONTEND: "noninteractive" - name: Remove github artefacts run: | - rm -rf .github* + rm -rf .github/ - name: Adjust distibution in changelog file run: | sed -i '0,/restricted/s//stable/' debian/changelog - name: Build Debian package - uses: dawidd6/action-debian-package@v1.6.0 + uses: pi-top/action-debian-package@v4 with: artifacts_directory: debian/build/release/ - os_distribution: testing -# - name: Build Debian package -# uses: pi-top/action-debian-package@v0.2.0 -# with: -# artifacts_directory: debian/build/release/ -# target_architectures: "amd64,i386" + target_architectures: "amd64,i386" - name: Upload the artifacts - uses: skx/github-action-publish-binaries@release-2.0 + uses: skx/github-action-publish-binaries@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - releaseId: ${{ needs.create-release.outputs.release-id }} +# releaseId: 'debian/18.20201012+4' +# releaseId: ${{ needs.create_release.outputs.id }} args: debian/build/release/* diff --git a/check_bond/check_bond b/check_bond/check_bond deleted file mode 100644 index b292149..0000000 --- a/check_bond/check_bond +++ /dev/null @@ -1,149 +0,0 @@ -#!/bin/bash -# Nagios plugin to monitor Nic Bonding state -# -# Based on check_bond.sh written by L.Gill 10/08/06 - V.1.0 as found on -# http://exchange.nagios.org/directory/Plugins/Operating-Systems/Linux/check-network-bonding/details - -# currently I maintain my own version at https://github.com/aswen/nagios-plugins/blob/master/check_bond -# Copyright (c) 2010 L.Gill -# Copyright (c) 2011 Alexander Swen -# -# Permission to use, copy, modify, and distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -# -# -# Example configuration -# -# Typical this check is placed on a client and runs via nrpe -# So add this to nrpe.cfg: -# command[check_bond]=/usr/lib/nagios/plugins/check_bond -# This should warn when one of the slaves is down and go critical when the whole bond is not available. -# This plugin defaults to bond0. If you have multiple bonds you can tell the script so by adding -i . -# It will also warn if the Currently Active Slave is not the expected primary interface, -# the default primary interface is eth0, You can override this with -p -# -p can be a comma separated list like "-p eno49,eno50" - -# if you have dont_blame_nrpe=1 set you can choose to -# command[check_bond]=/usr/lib/nagios/plugins/check_bond -i $ARG1$ -p $ARG2$ -# -# define service { -# use generic-service -# service_description Bond state -# check_command check_nrpe!check_bond -# or -# check_command check_nrpe!check_bond!bond1 -# or -# check_command check_nrpe!check_bond!bond1!eth1 -#} -# - -# ------------------------------------------ -# ######## Script Modifications ########## -# ------------------------------------------ -# Who When What -# --- ---- ---- -# A.Swen 2011-09-07 Add support for other bond module than bond0 (defaults to bond0 however) -# A.Swen 2013-10-11 Remove some obsolete stuff and make the script shorter -# B.Potts 2017-01-16 Check and display expected primary interface on bond -# J.Guldmyr 2018-09-25 Check for a list of primary interfaces instead of a single one -# -# -# SETTINGS -# Default if is bond0 -if=bond0 -# Default pri is eth0 -pri=eth0 - -# commands -GREP=/bin/grep -AWK=/usr/bin/gawk -LSMOD=/sbin/lsmod - -# FUNCTIONS -get_options () { - [ $# -gt 0 ]||result 5 - while getopts "i:p:" opt;do - case ${opt} in - i) export if=`echo ${OPTARG}` ;; - p) export pri=`echo ${OPTARG}` ;; - *) result 5;; - esac -done -} - -result () { - case $1 in - 0) echo "OK: - Bondingmode: $(grep "Bonding Mode:" /proc/net/bonding/${if}), active link: $2";; - 1) echo "UNKNOWN: plugin error";rc=3;; - 2) echo "CRITICAL: bonding module not loaded";rc=2;; - 3) echo "WARNING: state of ${if} device $2 is $3";rc=1;; - 4) echo "UNKNOWN: no bondinterface with name ${if} found";rc=3;; - 5) echo "UNKNOWN: Usage: ${me} [-i ] [-p ]";rc=3;; - 6) echo "CRITICAL: bondinterface ${if} has no active slaves";rc=2;; - 7) echo "WARNING: Bondingmode: $(grep "Bonding Mode:" /proc/net/bonding/${if}), (unexpected) active link: $2";rc=1;; - 8) echo "WARNING: bondinterface with name ${if} has less than 2 interfaces - so zero redundancy";rc=1;; - esac -} - -# SCRIPT -# 1st set default return code: -rc=0 - -# test if this script was called correctly -[ $# -eq 1 -o $# -eq 3 -o $# -gt 4 ] && result 5 -[ $rc -gt 0 ] && exit $rc - -[ $# -eq 2 -o $# -eq 4 ] && get_options $@ -[ $rc -gt 0 ] && exit $rc - -# 1st we check if bonding module is loaded -[ "$(${LSMOD}|grep bonding)" = "" ] && result 2 -[ $rc -gt 0 ] && exit $rc - -# test if there is any bond interface with this name -[ -f "/proc/net/bonding/${if}" ] || result 4 -[ $rc -gt 0 ] && exit $rc - -case $(grep "Bonding Mode:" /proc/net/bonding/${if}) in - *"IEEE 802.3ad Dynamic link aggregation"*) bondingmode=lacp;; - *) bondingmode=masterslave;; -esac - -# Inspect the state of the entire bond interface -if [ "$bondingmode" == "lacp" ] -then - ifstate=$(${AWK} '/MII Status:/ {print $3}' /proc/net/bonding/bond0 | head -n 1) - ifslavecount=$(${AWK} '/Slave Interface:/ {print $3}' /proc/net/bonding/bond0 | wc -l) - [ "${ifstate}" != "up" ]&& result 6 - [[ "${pri}" =~ "${ifstate}" ]] || result 7 "${ifstate}" - [ ${ifslavecount} -lt 2 ]&& result 8 -else - ifstate=$(${AWK} '/Currently Active Slave/ {print $4}' /proc/net/bonding/${if}) - [ "${ifstate}" = "None" ]&& result 6 - [[ "${pri}" =~ "${ifstate}" ]] || result 7 "${ifstate}" - [ $rc -gt 0 ] && exit $rc -fi - -# test state of each if in bond -ethdevs=$(${AWK} '/Slave Interface/ {print $3}' /proc/net/bonding/${if}) -for ethdev in ${ethdevs};do - state=$(${GREP} -A1 "Slave Interface: ${ethdev}" /proc/net/bonding/${if}|${AWK} '/MII Status:/ {print $3}') - if [ "${state}" != "up" ];then - result 3 ${ethdev} ${state} - fi -done - -[ $rc -eq 0 ] && result 0 "${ifstate}" -exit $rc - -#END - diff --git a/check_bond/control b/check_bond/control deleted file mode 100644 index f594494..0000000 --- a/check_bond/control +++ /dev/null @@ -1,4 +0,0 @@ -Homepage: https://raw.githubusercontent.com/aswen/nagios-plugins/master/check_bond -Uploaders: Jan Wagner -Description: plugin that checks for the status of bonding interfaces. -Recommends: gawk diff --git a/check_bond/copyright b/check_bond/copyright deleted file mode 100644 index 9d619ab..0000000 --- a/check_bond/copyright +++ /dev/null @@ -1,17 +0,0 @@ -Copyright (c) 2010 L.Gill -Copyright (c) 2011 Alexander Swen - -License: ISC license - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY - SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER - RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF - CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - diff --git a/check_es_system/Makefile b/check_es_system/Makefile deleted file mode 100644 index 1b8a9df..0000000 --- a/check_es_system/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -#/usr/bin/make -f - -PLUGIN = src/check_es_system -CLEANEXTRAFILES = $(PLUGIN) -DOCFILES = src/README.md - -include ../common.mk - -src/$(PLUGIN): src/$(PLUGIN).sh - cp $< $@ diff --git a/check_es_system/check_es_system-1.12.1/.travis.yml b/check_es_system/check_es_system-1.12.1/.travis.yml deleted file mode 100644 index 9e437af..0000000 --- a/check_es_system/check_es_system-1.12.1/.travis.yml +++ /dev/null @@ -1,22 +0,0 @@ ---- -sudo: required -dist: focal -language: generic - -services: - - elasticsearch - -before_install: - - sudo apt-get update -q - - sudo apt-get install curl jq - -before_script: - #- sleep 10 - -script: - - ./check_es_system.sh --help || true - - test/test_status.sh - - test/test_readonly.sh - - test/test_disk.sh - - diff --git a/check_es_system/check_es_system-1.12.1/LICENSE b/check_es_system/check_es_system-1.12.1/LICENSE deleted file mode 100644 index 23cb790..0000000 --- a/check_es_system/check_es_system-1.12.1/LICENSE +++ /dev/null @@ -1,339 +0,0 @@ - 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. - - {description} - Copyright (C) {year} {fullname} - - 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. diff --git a/check_es_system/check_es_system-1.12.1/README.md b/check_es_system/check_es_system-1.12.1/README.md deleted file mode 100644 index 59c0870..0000000 --- a/check_es_system/check_es_system-1.12.1/README.md +++ /dev/null @@ -1,15 +0,0 @@ -# check_es_system -This is a monitoring plugin to check the status of an ElasticSearch cluster node. Besides the classical status check (green, yellow, red) this plugin also allows to monitor disk or memory usage of Elasticsearch. This is especially helpful when running Elasticsearch in the cloud (e.g. Elasticsearch as a service) because, as ES does not run on your own server, you cannot monitor the disk or memory usage. This is where this plugin comes in. Just tell the plugin how much resources (diskspace, memory capacity) you have available (-d) and it will alarm you when you reach a threshold. -Besides that, the plugin offers additional (advanced) checks of a Elasticsearch node/cluster (Java Threads, Thread Pool Statistics, Master Verification, Read-Only Indexes, ...). - -Please refer to https://www.claudiokuenzler.com/monitoring-plugins/check_es_system.php for full documentation and usage examples. - -Requirements ------- -- The following commands must be available: `curl`, `expr` -- One of the following json parsers must be available: `jshon` or `jq` (defaults to jq) - -Usage ------- - - ./check_es_system.sh -H ESNode [-P port] [-S] [-u user] [-p pass] [-d available] -t check [-o unit] [-i indexes] [-w warn] [-c crit] [-m max_time] [-e node] [-X jq|jshon] diff --git a/check_es_system/check_es_system-1.12.1/check_es_system.sh b/check_es_system/check_es_system-1.12.1/check_es_system.sh deleted file mode 100755 index 57d386f..0000000 --- a/check_es_system/check_es_system-1.12.1/check_es_system.sh +++ /dev/null @@ -1,767 +0,0 @@ -#!/bin/bash -################################################################################ -# Script: check_es_system.sh # -# Author: Claudio Kuenzler www.claudiokuenzler.com # -# Purpose: Monitor ElasticSearch Store (Disk) Usage # -# Docs: www.claudiokuenzler.com/monitoring-plugins/check_es_system.php # -# License: GPLv2 # -# GNU General Public Licence (GPL) http://www.gnu.org/ # -# 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, see . # -# # -# Copyright 2016,2018-2021,2023 Claudio Kuenzler # -# Copyright 2018 Tomas Barton # -# Copyright 2020 NotAProfessionalDeveloper # -# Copyright 2020 tatref # -# Copyright 2020 fbomj # -# Copyright 2021 chicco27 # -# # -# History/Changelog: # -# 20160429: Started programming plugin # -# 20160601: Continued programming. Working now as it should =) # -# 20160906: Added memory usage check, check types option (-t) # -# 20160906: Renamed plugin from check_es_store to check_es_system # -# 20160907: Change internal referenced variable name for available size # -# 20160907: Output now contains both used and available sizes # -# 20161017: Add missing -t in usage output # -# 20180105: Fix if statement for authentication (@deric) # -# 20180105: Fix authentication when wrong credentials were used # -# 20180313: Configure max_time for Elastic to respond (@deric) # -# 20190219: Fix alternative subject name in ssl (issue 4), direct to auth # -# 20190220: Added status check type # -# 20190403: Check for mandatory parameter checktype, adjust help # -# 20190403: Catch connection refused error # -# 20190426: Catch unauthorized (403) error # -# 20190626: Added readonly check type # -# 20190905: Catch empty cluster health status (issue #13) # -# 20190909: Added jthreads and tps (thread pool stats) check types # -# 20190909: Handle correct curl return codes # -# 20190924: Missing 'than' in tps output # -# 20191104: Added master check type # -# 20200401: Fix/handle 503 errors with curl exit code 0 (issue #20) # -# 20200409: Fix 503 error lookup (issue #22) # -# 20200430: Support both jshon and jq as json parsers (issue #18) # -# 20200609: Fix readonly check on ALL indices (issue #26) # -# 20200723: Add cluster name to status output # -# 20200824: Fix typo in readonly check output # -# 20200916: Internal renaming of -i parameter, use for tps check (issue #28) # -# 20201110: Fix thresholds in jthreads check # -# 20201125: Show names of read_only indexes with jq, set jq as default parser # -# 20210616: Fix authentication bug (#38) and non ES URL responding (#39) # -# 20211202: Added local node (-L), SSL settings (-K, -E), cpu check # -# 20230929: Bugfix in readonly check type for missing privileges # -################################################################################ -#Variables and defaults -STATE_OK=0 # define the exit code if status is OK -STATE_WARNING=1 # define the exit code if status is Warning -STATE_CRITICAL=2 # define the exit code if status is Critical -STATE_UNKNOWN=3 # define the exit code if status is Unknown -export PATH=$PATH:/usr/local/bin:/usr/bin:/bin # Set path -version=1.12.1 -port=9200 -httpscheme=http -unit=G -include='_all' -max_time=30 -parsers=(jq jshon) -################################################################################ -#Functions -help () { -echo -e "$0 $version (c) 2016-$(date +%Y) Claudio Kuenzler and contributors (open source rulez!) - -Usage: ./check_es_system.sh -H ESNode [-P port] [-S] [-u user -p pass|-E cert -K key] -t checktype [-o unit] [-w int] [-c int] [-m int] [-e string] [-X parser] - -Options: - - * -H Hostname or ip address of ElasticSearch Node - -L Run check on local node instead of cluster - -P Port (defaults to 9200) - -S Use https - -E Certs for Authentication - -K Key for Authentication - -u Username if authentication is required - -p Password if authentication is required - * -t Type of check (disk, mem, cpu, status, readonly, jthreads, tps, master) - -o Disk space unit (K|M|G) (defaults to G) - -i Space separated list of included object names to be checked (index names on readonly check, pool names on tps check) - -w Warning threshold (see usage notes below) - -c Critical threshold (see usage notes below) - -m Maximum time in seconds to wait for response (default: 30) - -e Expect master node (used with 'master' check) - -X The json parser to be used jshon or jq (default: jq) - -h Help! - -*mandatory options - -Threshold format for 'disk', 'mem' and 'cpu': int (for percent), defaults to 80 (warn) and 95 (crit) -Threshold format for 'tps': int,int,int (active, queued, rejected), no defaults -Threshold format for all other check types': int, no defaults - -Requirements: curl, expr and one of $(IFS=,; echo "${parsers[*]}")" -exit $STATE_UNKNOWN; -} - -authlogic () { -if [[ -z $user ]] && [[ -z $pass ]]; then echo "ES SYSTEM UNKNOWN - Authentication required but missing username and password"; exit $STATE_UNKNOWN -elif [[ -n $user ]] && [[ -z $pass ]]; then echo "ES SYSTEM UNKNOWN - Authentication required but missing password"; exit $STATE_UNKNOWN -elif [[ -n $pass ]] && [[ -z $user ]]; then echo "ES SYSTEM UNKNOWN - Missing username"; exit $STATE_UNKNOWN -fi -} - -authlogic_cert () { -if [[ -z $cert ]] && [[ -z $key ]]; then echo "ES SYSTEM UNKNOWN - Authentication required but missing cert and key"; exit $STATE_UNKNOWN -elif [[ -n $cert ]] && [[ -z $key ]]; then echo "ES SYSTEM UNKNOWN - Authentication required but missing key"; exit $STATE_UNKNOWN -elif [[ -n $key ]] && [[ -z $cert ]]; then echo "ES SYSTEM UNKNOWN - Missing cert"; exit $STATE_UNKNOWN -fi -} - -unitcalc() { -# ES presents the currently used disk space in Bytes -if [[ -n $unit ]]; then - case $unit in - K) availsize=$(expr $available / 1024); outputsize=$(expr ${size} / 1024);; - M) availsize=$(expr $available / 1024 / 1024); outputsize=$(expr ${size} / 1024 / 1024);; - G) availsize=$(expr $available / 1024 / 1024 / 1024); outputsize=$(expr ${size} / 1024 / 1024 / 1024);; - esac - if [[ -n $warning ]] ; then - warningsize=$(expr $warning \* ${available} / 100) - fi - if [[ -n $critical ]] ; then - criticalsize=$(expr $critical \* ${available} / 100) - fi - usedpercent=$(expr $size \* 100 / $available) -else echo "UNKNOWN - Shouldnt exit here. No units given"; exit $STATE_UNKNOWN -fi -} - -thresholdlogic () { -if [ -n $warning ] && [ -z $critical ]; then echo "UNKNOWN - Define both warning and critical thresholds"; exit $STATE_UNKNOWN; fi -if [ -n $critical ] && [ -z $warning ]; then echo "UNKNOWN - Define both warning and critical thresholds"; exit $STATE_UNKNOWN; fi -} - -default_percentage_thresholds() { -if [ -z $warning ] || [ "${warning}" = "" ]; then warning=80; fi -if [ -z $critical ] || [ "${critical}" = "" ]; then critical=95; fi -} - -json_parse() { - json_parse_usage() { echo "$0: [-r] [-q] [-c] [-a] -x arg1 -x arg2 ..." 1>&2; exit; } - - local OPTIND opt r q c a x - while getopts ":rqcax:" opt - do - case "${opt}" in - r) raw=1;; - q) quiet=1;; # only required for jshon - c) continue=1;; # only required for jshon - a) across=1;; - x) args+=("$OPTARG");; - *) json_parse_usage;; - esac - done - - case ${parser} in - jshon) - cmd=() - for arg in "${args[@]}"; do - cmd+=(-e $arg) - done - jshon ${quiet:+-Q} ${continue:+-C} ${across:+-a} "${cmd[@]}" ${raw:+-u} - ;; - jq) - cmd=() - for arg in "${args[@]}"; do - cmd+=(.$arg) - done - jq ${raw:+-r} $(IFS=; echo ${across:+.[]}"${cmd[*]}") - ;; - esac -} - -################################################################################ -# Check for people who need help - aren't we all nice ;-) -if [ "${1}" = "--help" -o "${#}" = "0" ]; then help; exit $STATE_UNKNOWN; fi -################################################################################ -# Get user-given variables -while getopts "H:LP:SE:K:u:p:d:o:i:w:c:t:m:e:X:" Input -do - case ${Input} in - H) host=${OPTARG};; - L) local=true;; - P) port=${OPTARG};; - S) httpscheme=https;; - E) cert=${OPTARG};; - K) key=${OPTARG};; - u) user=${OPTARG};; - p) pass=${OPTARG};; - d) oldavailable=${OPTARG};; - o) unit=${OPTARG};; - i) include=${OPTARG};; - w) warning=${OPTARG};; - c) critical=${OPTARG};; - t) checktype=${OPTARG};; - m) max_time=${OPTARG};; - e) expect_master=${OPTARG};; - X) parser=${OPTARG:=jq};; - *) help;; - esac -done - -# Check for mandatory opts -if [[ -z ${host} ]]; then help; exit $STATE_UNKNOWN; fi -if [[ -z ${checktype} ]]; then help; exit $STATE_UNKNOWN; fi - -# Check for deprecated opts -if [[ -n ${oldavailable} ]]; then - echo "ES SYSTEM UNKNOWN: -d parameter is now invalid. Capacities are now discovered directly from Elasticsearch." - exit ${STATE_UNKNOWN} -fi - -# Local checks are only useful for certain check types -if [[ -n ${local} ]] && ( ! [[ ${checktype} =~ ^(cpu|mem|disk|jthreads)$ ]] ); then - echo "ES SYSTEM UNKNOWN: Node local checks (-L) only work with the following check types: cpu, mem, disk, jthreads" - exit ${STATE_UNKNOWN} -fi -################################################################################ -# Check requirements -for cmd in curl expr ${parser}; do - if ! `which ${cmd} >/dev/null 2>&1`; then - echo "UNKNOWN: ${cmd} does not exist, please check if command exists and PATH is correct" - exit ${STATE_UNKNOWN} - fi -done -# Find parser -if [ -z ${parser} ]; then - for cmd in ${parsers[@]}; do - if `which ${cmd} >/dev/null 2>&1`; then - parser=${cmd} - break - fi - done - if [ -z "${parser}" ]; then - echo "UNKNOWN: No JSON parser found. Either one of the following is required: $(IFS=,; echo "${parsers[*]}")" - exit ${STATE_UNKNOWN} - fi -fi - -################################################################################ -# Retrieve information from Elasticsearch cluster -getstatus() { -if [[ ${local} ]]; then - esurl="${httpscheme}://${host}:${port}/_nodes/_local/stats" -else - esurl="${httpscheme}://${host}:${port}/_cluster/stats" -fi -eshealthurl="${httpscheme}://${host}:${port}/_cluster/health" - -if [[ -z $user ]] && [[ -z $cert ]]; then - # Without authentication - esstatus=$(curl -k -s --max-time ${max_time} $esurl) - esstatusrc=$? - if [[ $esstatusrc -eq 7 ]]; then - echo "ES SYSTEM CRITICAL - Failed to connect to ${host} port ${port}: Connection refused" - exit $STATE_CRITICAL - elif [[ $esstatusrc -eq 28 ]]; then - echo "ES SYSTEM CRITICAL - server did not respond within ${max_time} seconds" - exit $STATE_CRITICAL - elif [[ "$esstatus" =~ "503 Service Unavailable" ]]; then - echo "ES SYSTEM CRITICAL - Elasticsearch not available: ${host}:${port} return error 503" - exit $STATE_CRITICAL - elif [[ "$esstatus" =~ "Unknown resource" ]]; then - echo "ES SYSTEM CRITICAL - Elasticsearch not available: ${esstatus}" - exit $STATE_CRITICAL - elif ! [[ "$esstatus" =~ "cluster_name" ]]; then - echo "ES SYSTEM CRITICAL - Elasticsearch not available at this address ${host}:${port}" - exit $STATE_CRITICAL - fi - # Additionally get cluster health infos - if [ $checktype = status ]; then - eshealth=$(curl -k -s --max-time ${max_time} $eshealthurl) - if [[ -z $eshealth ]]; then - echo "ES SYSTEM CRITICAL - unable to get cluster health information" - exit $STATE_CRITICAL - fi - fi -fi - -if [[ -n $user ]] || [[ -n $(echo $esstatus | grep -i authentication) ]] ; then - # Authentication required - authlogic - esstatus=$(curl -k -s --max-time ${max_time} --basic -u ${user}:${pass} $esurl) - esstatusrc=$? - if [[ $esstatusrc -eq 7 ]]; then - echo "ES SYSTEM CRITICAL - Failed to connect to ${host} port ${port}: Connection refused" - exit $STATE_CRITICAL - elif [[ $esstatusrc -eq 28 ]]; then - echo "ES SYSTEM CRITICAL - server did not respond within ${max_time} seconds" - exit $STATE_CRITICAL - elif [[ "$esstatus" =~ "503 Service Unavailable" ]]; then - echo "ES SYSTEM CRITICAL - Elasticsearch not available: ${host}:${port} return error 503" - exit $STATE_CRITICAL - elif [[ "$esstatus" =~ "Unknown resource" ]]; then - echo "ES SYSTEM CRITICAL - Elasticsearch not available: ${esstatus}" - exit $STATE_CRITICAL - elif [[ -n $(echo "$esstatus" | grep -i "unable to authenticate") ]]; then - echo "ES SYSTEM CRITICAL - Unable to authenticate user $user for REST request" - exit $STATE_CRITICAL - elif [[ -n $(echo "$esstatus" | grep -i "unauthorized") ]]; then - echo "ES SYSTEM CRITICAL - User $user is unauthorized" - exit $STATE_CRITICAL - elif ! [[ "$esstatus" =~ "cluster_name" ]]; then - echo "ES SYSTEM CRITICAL - Elasticsearch not available at this address ${host}:${port}" - exit $STATE_CRITICAL - fi - # Additionally get cluster health infos - if [[ $checktype = status ]]; then - eshealth=$(curl -k -s --max-time ${max_time} --basic -u ${user}:${pass} $eshealthurl) - if [[ -z $eshealth ]]; then - echo "ES SYSTEM CRITICAL - unable to get cluster health information" - exit $STATE_CRITICAL - fi - fi -fi - -if [[ -n $cert ]] || [[ -n $(echo $esstatus | grep -i authentication) ]] ; then - # Authentication with certificate - authlogic_cert - esstatus=$(curl -k -s --max-time ${max_time} -E ${cert} --key ${key} $esurl) - esstatusrc=$? - if [[ $esstatusrc -eq 7 ]]; then - echo "ES SYSTEM CRITICAL - Failed to connect to ${host} port ${port}: Connection refused" - exit $STATE_CRITICAL - elif [[ $esstatusrc -eq 28 ]]; then - echo "ES SYSTEM CRITICAL - server did not respond within ${max_time} seconds" - exit $STATE_CRITICAL - elif [[ "$esstatus" =~ "503 Service Unavailable" ]]; then - echo "ES SYSTEM CRITICAL - Elasticsearch not available: ${host}:${port} return error 503" - exit $STATE_CRITICAL - elif [[ -n $(echo "$esstatus" | grep -i "unable to authenticate") ]]; then - echo "ES SYSTEM CRITICAL - Unable to authenticate user $user for REST request" - exit $STATE_CRITICAL - elif [[ -n $(echo "$esstatus" | grep -i "unauthorized") ]]; then - echo "ES SYSTEM CRITICAL - User $user is unauthorized" - exit $STATE_CRITICAL - fi - # Additionally get cluster health infos - if [[ $checktype = status ]]; then - eshealth=$(curl -k -s --max-time ${max_time} -E ${cert} --key ${key} $eshealthurl) - if [[ -z $eshealth ]]; then - echo "ES SYSTEM CRITICAL - unable to get cluster health information" - exit $STATE_CRITICAL - fi - fi -fi - -# Catch empty reply from server (typically happens when ssl port used with http connection) -if [[ -z $esstatus ]] || [[ $esstatus = '' ]]; then - echo "ES SYSTEM UNKNOWN - Empty reply from server (verify ssl settings)" - exit $STATE_UNKNOWN -fi -} -################################################################################ -# Do the checks -case $checktype in -disk) # Check disk usage - getstatus - default_percentage_thresholds - if [[ ${local} ]]; then - size=$(echo $esstatus | json_parse -x 'nodes|' -x '[]' -x indices -x store -x size_in_bytes) - available=$(echo $esstatus | json_parse -x 'nodes|' -x '[]' -x fs -x total -x total_in_bytes) - else - size=$(echo $esstatus | json_parse -x indices -x store -x size_in_bytes) - available=$(echo $esstatus | json_parse -x nodes -x fs -x total_in_bytes) - fi - - unitcalc - if [ -n "${warning}" ] || [ -n "${critical}" ]; then - # Handle tresholds - thresholdlogic - if [ $size -ge $criticalsize ]; then - echo "ES SYSTEM CRITICAL - Disk usage is at ${usedpercent}% ($outputsize $unit from $availsize $unit)|es_disk=${size}B;${warningsize};${criticalsize};0;${available}" - exit $STATE_CRITICAL - elif [ $size -ge $warningsize ]; then - echo "ES SYSTEM WARNING - Disk usage is at ${usedpercent}% ($outputsize $unit from $availsize $unit)|es_disk=${size}B;${warningsize};${criticalsize};0;${available}" - exit $STATE_WARNING - else - echo "ES SYSTEM OK - Disk usage is at ${usedpercent}% ($outputsize $unit from $availsize $unit)|es_disk=${size}B;${warningsize};${criticalsize};0;${available}" - exit $STATE_OK - fi - else - # No thresholds - echo "ES SYSTEM OK - Disk usage is at ${usedpercent}% ($outputsize $unit from $availsize $unit)|es_disk=${size}B;;;0;${available}" - exit $STATE_OK - fi - ;; - -mem) # Check memory usage - getstatus - default_percentage_thresholds - if [[ ${local} ]]; then - size=$(echo $esstatus | json_parse -x 'nodes|' -x '[]' -x jvm -x mem -x heap_used_in_bytes) - available=$(echo $esstatus | json_parse -x 'nodes|' -x '[]' -x jvm -x mem -x heap_max_in_bytes) - else - size=$(echo $esstatus | json_parse -x nodes -x jvm -x mem -x heap_used_in_bytes) - available=$(echo $esstatus | json_parse -x nodes -x jvm -x mem -x heap_max_in_bytes) - fi - - unitcalc - if [ -n "${warning}" ] || [ -n "${critical}" ]; then - # Handle tresholds - thresholdlogic - if [ $size -ge $criticalsize ]; then - echo "ES SYSTEM CRITICAL - Memory usage is at ${usedpercent}% ($outputsize $unit) from $availsize $unit|es_memory=${size}B;${warningsize};${criticalsize};0;${available}" - exit $STATE_CRITICAL - elif [ $size -ge $warningsize ]; then - echo "ES SYSTEM WARNING - Memory usage is at ${usedpercent}% ($outputsize $unit from $availsize $unit)|es_memory=${size}B;${warningsize};${criticalsize};0;${available}" - exit $STATE_WARNING - else - echo "ES SYSTEM OK - Memory usage is at ${usedpercent}% ($outputsize $unit from $availsize $unit)|es_memory=${size}B;${warningsize};${criticalsize};0;${available}" - exit $STATE_OK - fi - else - # No thresholds - echo "ES SYSTEM OK - Memory usage is at ${usedpercent}% ($outputsize $unit from $availsize $unit)|es_memory=${size}B;;;0;${available}" - exit $STATE_OK - fi - ;; - -cpu) # Check memory usage - getstatus - default_percentage_thresholds - if [[ ${local} ]]; then - value=$(echo $esstatus | json_parse -x 'nodes|' -x '[]' -x process -x cpu -x percent) - else - value=$(echo $esstatus | json_parse -x nodes -x process -x cpu -x percent) - fi - - if [ -n "${warning}" ] || [ -n "${critical}" ]; then - # Handle tresholds - thresholdlogic - if [ $value -ge $critical ]; then - echo "ES SYSTEM CRITICAL - CPU usage is at ${value}% |es_cpu=${value}%;${warning};${critical};0;100" - exit $STATE_CRITICAL - elif [ $value -ge $warning ]; then - echo "ES SYSTEM WARNING - CPU usage is at ${value}% |es_cpu=${value}%;${warning};${critical};0;100" - exit $STATE_WARNING - else - echo "ES SYSTEM OK - CPU usage is at ${value}% |es_cpu=${value}%;${warning};${critical};0;100" - exit $STATE_OK - fi - else - # No thresholds - echo "ES SYSTEM OK - CPU usage is at ${value}% |es_cpu=${value}%;${warning};${critical};0;100" - exit $STATE_OK - fi - ;; - -status) # Check Elasticsearch status - getstatus - status=$(echo $esstatus | json_parse -r -x status) - clustername=$(echo $esstatus | json_parse -r -x cluster_name) - shards=$(echo $esstatus | json_parse -r -x indices -x shards -x total) - docs=$(echo $esstatus | json_parse -r -x indices -x docs -x count) - nodest=$(echo $esstatus | json_parse -r -x nodes -x count -x total) - nodesd=$(echo $esstatus | json_parse -r -x nodes -x count -x data) - relocating=$(echo $eshealth | json_parse -r -x relocating_shards) - init=$(echo $eshealth | json_parse -r -x initializing_shards) - unass=$(echo $eshealth | json_parse -r -x unassigned_shards) - if [ "$status" = "green" ]; then - echo "ES SYSTEM OK - Elasticsearch Cluster \"$clustername\" is green (${nodest} nodes, ${nodesd} data nodes, ${shards} shards, ${docs} docs)|total_nodes=${nodest};;;; data_nodes=${nodesd};;;; total_shards=${shards};;;; relocating_shards=${relocating};;;; initializing_shards=${init};;;; unassigned_shards=${unass};;;; docs=${docs};;;;" - exit $STATE_OK - elif [ "$status" = "yellow" ]; then - echo "ES SYSTEM WARNING - Elasticsearch Cluster \"$clustername\" is yellow (${nodest} nodes, ${nodesd} data nodes, ${shards} shards, ${relocating} relocating shards, ${init} initializing shards, ${unass} unassigned shards, ${docs} docs)|total_nodes=${nodest};;;; data_nodes=${nodesd};;;; total_shards=${shards};;;; relocating_shards=${relocating};;;; initializing_shards=${init};;;; unassigned_shards=${unass};;;; docs=${docs};;;;" - exit $STATE_WARNING - elif [ "$status" = "red" ]; then - echo "ES SYSTEM CRITICAL - Elasticsearch Cluster \"$clustername\" is red (${nodest} nodes, ${nodesd} data nodes, ${shards} shards, ${relocating} relocating shards, ${init} initializing shards, ${unass} unassigned shards, ${docs} docs)|total_nodes=${nodest};;;; data_nodes=${nodesd};;;; total_shards=${shards};;;; relocating_shards=${relocating};;;; initializing_shards=${init};;;; unassigned_shards=${unass};;;; docs=${docs};;;;" - exit $STATE_CRITICAL - fi - ;; - -readonly) # Check Readonly status on given indexes - getstatus - icount=0 - for index in $include; do - if [[ -z $user ]]; then - # Without authentication - settings=$(curl -k -s --max-time ${max_time} ${httpscheme}://${host}:${port}/$index/_settings) - if [[ $? -eq 7 ]]; then - echo "ES SYSTEM CRITICAL - Failed to connect to ${host} port ${port}: Connection refused" - exit $STATE_CRITICAL - elif [[ $? -eq 28 ]]; then - echo "ES SYSTEM CRITICAL - server did not respond within ${max_time} seconds" - exit $STATE_CRITICAL - elif [[ "$settings" =~ "is unauthorized" ]]; then - errormsg=$(echo "$settings" | json_parse -r -q -c -x error -x reason) - echo "ES SYSTEM CRITICAL - Access denied ($errormsg)" - exit $STATE_CRITICAL - fi - rocount=$(echo $settings | json_parse -r -q -c -a -x settings -x index -x blocks -x read_only | grep -c true) - roadcount=$(echo $settings | json_parse -r -q -c -a -x settings -x index -x blocks -x read_only_allow_delete | grep -c true) - if [[ $rocount -gt 0 ]]; then - output[${icount}]=" $index is read-only -" - roerror=true - fi - if [[ $roadcount -gt 0 ]]; then - output[${icount}]+=" $index is read-only (allow delete) -" - roerror=true - fi - fi - - if [[ -n $user ]] || [[ -n $(echo $esstatus | grep -i authentication) ]] ; then - # Authentication required - authlogic - settings=$(curl -k -s --max-time ${max_time} --basic -u ${user}:${pass} ${httpscheme}://${host}:${port}/$index/_settings) - settingsrc=$? - if [[ $settingsrc -eq 7 ]]; then - echo "ES SYSTEM CRITICAL - Failed to connect to ${host} port ${port}: Connection refused" - exit $STATE_CRITICAL - elif [[ $settingsrc -eq 28 ]]; then - echo "ES SYSTEM CRITICAL - server did not respond within ${max_time} seconds" - exit $STATE_CRITICAL - elif [[ -n $(echo "$settings" | grep -i "unable to authenticate") ]]; then - echo "ES SYSTEM CRITICAL - Unable to authenticate user $user for REST request" - exit $STATE_CRITICAL - elif [[ "$settings" =~ "is unauthorized" ]]; then - errormsg=$(echo "$settings" | json_parse -r -q -c -x error -x reason) - echo "ES SYSTEM CRITICAL - Access denied ($errormsg)" - exit $STATE_CRITICAL - fi - rocount=$(echo $settings | json_parse -r -q -c -a -x settings -x index -x blocks -x read_only | grep -c true) - roadcount=$(echo $settings | json_parse -r -q -c -a -x settings -x index -x blocks -x read_only_allow_delete | grep -c true) - if [[ $rocount -gt 0 ]]; then - if [[ "$index" = "_all" ]]; then - if [[ $parser = "jq" ]]; then - roindexes=$(echo $settings | jq -r '.[].settings.index |select(.blocks.read_only == "true").provided_name') - fi - output[${icount}]=" $rocount index(es) found read-only $roindexes -" - else output[${icount}]=" $index is read-only -" - fi - roerror=true - fi - if [[ $roadcount -gt 0 ]]; then - if [[ "$index" = "_all" ]]; then - if [[ $parser = "jq" ]]; then - roadindexes=$(echo $settings | jq -r '.[].settings.index |select(.blocks.read_only_allow_delete == "true").provided_name' | tr '\n' ' ') - fi - output[${icount}]+=" $roadcount index(es) found read-only (allow delete) $roadindexes" - else output[${icount}]+=" $index is read-only (allow delete) -" - fi - roerror=true - fi - fi - let icount++ - done - - if [[ $roerror ]]; then - echo "ES SYSTEM CRITICAL - ${output[*]}" - exit $STATE_CRITICAL - else - echo "ES SYSTEM OK - Elasticsearch Indexes ($include) are writeable" - exit $STATE_OK - fi - ;; - -jthreads) # Check JVM threads - getstatus - if [[ ${local} ]]; then - threads=$(echo $esstatus | json_parse -x 'nodes|' -x '[]' -x jvm -x threads -x count) - else - threads=$(echo $esstatus | json_parse -r -x nodes -x jvm -x "threads") - fi - - if [ -n "${warning}" ] || [ -n "${critical}" ]; then - # Handle tresholds - thresholdlogic - if [[ $threads -ge $critical ]]; then - echo "ES SYSTEM CRITICAL - Number of JVM threads is ${threads}|es_jvm_threads=${threads};${warning};${critical};;" - exit $STATE_CRITICAL - elif [[ $threads -ge $warning ]]; then - echo "ES SYSTEM WARNING - Number of JVM threads is ${threads}|es_jvm_threads=${threads};${warning};${critical};;" - exit $STATE_WARNING - else - echo "ES SYSTEM OK - Number of JVM threads is ${threads}|es_jvm_threads=${threads};${warning};${critical};;" - exit $STATE_OK - fi - else - # No thresholds - echo "ES SYSTEM OK - Number of JVM threads is ${threads}|es_jvm_threads=${threads};${warning};${critical};;" - exit $STATE_OK - fi - ;; - -tps) # Check Thread Pool Statistics - getstatus - if [[ -z $user ]]; then - # Without authentication - threadpools=$(curl -k -s --max-time ${max_time} ${httpscheme}://${host}:${port}/_cat/thread_pool) - threadpoolrc=$? - if [[ $threadpoolrc -eq 7 ]]; then - echo "ES SYSTEM CRITICAL - Failed to connect to ${host} port ${port}: Connection refused" - exit $STATE_CRITICAL - elif [[ $threadpoolrc -eq 28 ]]; then - echo "ES SYSTEM CRITICAL - server did not respond within ${max_time} seconds" - exit $STATE_CRITICAL - fi - fi - - if [[ -n $user ]] || [[ -n $(echo $esstatus | grep -i authentication) ]] ; then - # Authentication required - authlogic - threadpools=$(curl -k -s --max-time ${max_time} --basic -u ${user}:${pass} ${httpscheme}://${host}:${port}/_cat/thread_pool) - threadpoolrc=$? - if [[ $threadpoolrc -eq 7 ]]; then - echo "ES SYSTEM CRITICAL - Failed to connect to ${host} port ${port}: Connection refused" - exit $STATE_CRITICAL - elif [[ $threadpoolrc -eq 28 ]]; then - echo "ES SYSTEM CRITICAL - server did not respond within ${max_time} seconds" - exit $STATE_CRITICAL - elif [[ -n $(echo $esstatus | grep -i "unable to authenticate") ]]; then - echo "ES SYSTEM CRITICAL - Unable to authenticate user $user for REST request" - exit $STATE_CRITICAL - elif [[ -n $(echo $esstatus | grep -i "unauthorized") ]]; then - echo "ES SYSTEM CRITICAL - User $user is unauthorized" - exit $STATE_CRITICAL - fi - fi - - if ! [[ $include = "_all" ]]; then - tpsgrep=$(echo "$include" | sed "s/ /|/g") - threadpools=$(echo "$threadpools" | egrep -i "(${tpsgrep})") - if [[ $(echo ${threadpools[*]}) = "" ]]; then - echo "Thread Pool check is critical: No thread pools found with given name(s): ${include}." - exit $STATE_CRITICAL - fi - fi - - tpname=($(echo "$threadpools" | awk '{print $1"-"$2}' | sed "s/\n//g")) - tpactive=($(echo "$threadpools" | awk '{print $3}' | sed "s/\n//g")) - tpqueue=($(echo "$threadpools" | awk '{print $4}' | sed "s/\n//g")) - tprejected=($(echo "$threadpools" | awk '{print $5}' | sed "s/\n//g")) - - if [ -n "${warning}" ] || [ -n "${critical}" ]; then - # Handle thresholds. They have to come in a special format: n,n,n (active, queue, rejected) - thresholdlogic - wactive=$(echo ${warning} | awk -F',' '{print $1}') - wqueue=$(echo ${warning} | awk -F',' '{print $2}') - wrejected=$(echo ${warning} | awk -F',' '{print $3}') - cactive=$(echo ${critical} | awk -F',' '{print $1}') - cqueue=$(echo ${critical} | awk -F',' '{print $2}') - crejected=$(echo ${critical} | awk -F',' '{print $3}') - - i=0; for tp in ${tpname[*]}; do - perfdata[$i]="tp_${tp}_active=${tpactive[$i]};${wactive};${cactive};; tp_${tp}_queue=${tpqueue[$i]};${wqueue};${cqueue};; tp_${tp}_rejected=${tprejected[$i]};${wrejected};${crejected};; " - let i++ - done - - i=0 - for tpa in $(echo ${tpactive[*]}); do - if [[ $tpa -ge $cactive ]]; then - echo "Thread Pool ${tpname[$i]} is critical: Active ($tpa) is equal or higher than threshold ($cactive)|${perfdata[*]}" - exit $STATE_CRITICAL - elif [[ $tpa -ge $wactive ]]; then - echo "Thread Pool ${tpname[$i]} is warning: Active ($tpa) is equal or higher than threshold ($wactive)|${perfdata[*]}" - exit $STATE_WARNING - fi - let i++ - done - - i=0 - for tpq in $(echo ${tpqueue[*]}); do - if [[ $tpq -ge $cqueue ]]; then - echo "Thread Pool ${tpname[$i]} is critical: Queue ($tpq) is equal or higher than threshold ($cqueue)|${perfdata[*]}" - exit $STATE_CRITICAL - elif [[ $tpq -ge $wqueue ]]; then - echo "Thread Pool ${tpname[$i]} is warning: Queue ($tpq) is equal or higher than threshold ($wqueue)|${perfdata[*]}" - exit $STATE_WARNING - fi - let i++ - done - - i=0 - for tpr in $(echo ${tprejected[*]}); do - if [[ $tpr -ge $crejected ]]; then - echo "Thread Pool ${tpname[$i]} is critical: Rejected ($tpr) is equal or higher than threshold ($crejected)|${perfdata[*]}" - exit $STATE_CRITICAL - elif [[ $tpr -ge $wrejected ]]; then - echo "Thread Pool ${tpname[$i]} is warning: Rejected ($tpr) is equal or higher than threshold ($wrejected)|${perfdata[*]}" - exit $STATE_WARNING - fi - let i++ - done - - echo "ES SYSTEM OK - Found ${#tpname[*]} thread pools in cluster|${perfdata[*]}" - exit $STATE_OK - fi - - # No Thresholds - i=0; for tp in ${tpname[*]}; do - perfdata[$i]="tp_${tp}_active=${tpactive[$i]};;;; tp_${tp}_queue=${tpqueue[$i]};;;; tp_${tp}_rejected=${tprejected[$i]};;;; " - let i++ - done - echo "ES SYSTEM OK - Found ${#tpname[*]} thread pools in cluster|${perfdata[*]}" - exit $STATE_OK - ;; - -master) # Check Cluster Master - getstatus - if [[ -z $user ]]; then - # Without authentication - master=$(curl -k -s --max-time ${max_time} ${httpscheme}://${host}:${port}/_cat/master) - masterrc=$? - if [[ $masterrc -eq 7 ]]; then - echo "ES SYSTEM CRITICAL - Failed to connect to ${host} port ${port}: Connection refused" - exit $STATE_CRITICAL - elif [[ $masterrc -eq 28 ]]; then - echo "ES SYSTEM CRITICAL - server did not respond within ${max_time} seconds" - exit $STATE_CRITICAL - fi - fi - - if [[ -n $user ]] || [[ -n $(echo $esstatus | grep -i authentication) ]] ; then - # Authentication required - authlogic - master=$(curl -k -s --max-time ${max_time} --basic -u ${user}:${pass} ${httpscheme}://${host}:${port}/_cat/master) - masterrc=$? - if [[ $threadpoolrc -eq 7 ]]; then - echo "ES SYSTEM CRITICAL - Failed to connect to ${host} port ${port}: Connection refused" - exit $STATE_CRITICAL - elif [[ $threadpoolrc -eq 28 ]]; then - echo "ES SYSTEM CRITICAL - server did not respond within ${max_time} seconds" - exit $STATE_CRITICAL - elif [[ -n $(echo $esstatus | grep -i "unable to authenticate") ]]; then - echo "ES SYSTEM CRITICAL - Unable to authenticate user $user for REST request" - exit $STATE_CRITICAL - elif [[ -n $(echo $esstatus | grep -i "unauthorized") ]]; then - echo "ES SYSTEM CRITICAL - User $user is unauthorized" - exit $STATE_CRITICAL - fi - fi - - masternode=$(echo "$master" | awk '{print $NF}') - - if [[ -n ${expect_master} ]]; then - if [[ "${expect_master}" = "${masternode}" ]]; then - echo "ES SYSTEM OK - Master node is $masternode" - exit $STATE_OK - else - echo "ES SYSTEM WARNING - Master node is $masternode but expected ${expect_master}" - exit $STATE_WARNING - fi - else - echo "ES SYSTEM OK - Master node is $masternode" - exit $STATE_OK - fi - ;; - -*) help -esac diff --git a/check_es_system/check_es_system-1.12.1/test/test_disk.sh b/check_es_system/check_es_system-1.12.1/test/test_disk.sh deleted file mode 100755 index ac4155a..0000000 --- a/check_es_system/check_es_system-1.12.1/test/test_disk.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash -echo "Test Elasticsearch status" -./check_es_system.sh -H 127.0.0.1 -P 9200 -t disk -output=$(./check_es_system.sh -H 127.0.0.1 -P 9200 -t disk) - -if [[ $? -eq 0 ]]; then - echo -e "\e[1m\e[32m✔ Test 3.1 OK: Disk check worked and shows green\e[0m" - exitcode=0 -else - echo -e "\e[1m\e[31m✘ Test 3.1 ERROR: Disk check has not worked\e[0m" - exitcode=1 -fi - -if ! [[ "${output}" =~ "ES SYSTEM OK - Disk usage is at 0%" ]]; then - exitcode=1 -fi - -exit $exitcode diff --git a/check_es_system/check_es_system-1.12.1/test/test_readonly.sh b/check_es_system/check_es_system-1.12.1/test/test_readonly.sh deleted file mode 100755 index 6daf06b..0000000 --- a/check_es_system/check_es_system-1.12.1/test/test_readonly.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash -echo "Test Elasticsearch status" -./check_es_system.sh -H 127.0.0.1 -P 9200 -t readonly - -if [[ $? -eq 0 ]]; then - echo -e "\e[1m\e[32m✔ Test 2.1 OK: Readonly check worked and no read_only indexes were found\e[0m" - exitcode=0 -else - echo -e "\e[1m\e[31m✘ Test 2.1 ERROR: Readonly check has not worked or read_only indexes were found\e[0m" - exitcode=1 -fi - -# Create an index with read_only setting -curl -X PUT "127.0.0.1:9200/my-index-002" -H 'Content-Type: application/json' -d'{ "settings": { "index": { "blocks.read_only": true } } }' -sleep 5 - -./check_es_system.sh -H 127.0.0.1 -P 9200 -t readonly -if [[ $? -eq 2 ]]; then - echo -e "\e[1m\e[32m✔ Test 2.1 OK: Readonly check worked and detected a read only index\e[0m" - exitcode=0 -else - echo -e "\e[1m\e[31m✘ Test 2.1 ERROR: Readonly check has not worked as expected\e[0m" - exitcode=1 -fi - - -exit $exitcode diff --git a/check_es_system/check_es_system-1.12.1/test/test_status.sh b/check_es_system/check_es_system-1.12.1/test/test_status.sh deleted file mode 100755 index e51d998..0000000 --- a/check_es_system/check_es_system-1.12.1/test/test_status.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash -echo "Test Elasticsearch status" -./check_es_system.sh -H 127.0.0.1 -P 9200 -t status - -if [[ $? -eq 0 ]]; then - echo -e "\e[1m\e[32m✔ Test 1.1 OK: Status check worked and shows green\e[0m" - exitcode=0 -else - echo -e "\e[1m\e[31m✘ Test 1.1 ERROR: Status check has not worked\e[0m" - exitcode=1 -fi - -# Create index with a replica, this should result in unassigned shards and yellow status -curl -X PUT "127.0.0.1:9200/my-index-001" -H 'Content-Type: application/json' -d'{ "settings": { "index": { "number_of_shards": 2, "number_of_replicas": 1 } } }' -sleep 5 - -./check_es_system.sh -H 127.0.0.1 -P 9200 -t status -if [[ $? -eq 1 ]]; then - echo -e "\e[1m\e[32m✔ Test 1.2 OK: Status check worked and shows yellow\e[0m" - exitcode=0 -else - echo -e "\e[1m\e[31m✘ Test 1.2 ERROR: Status check has not worked as expected\e[0m" - exitcode=1 -fi - - -exit $exitcode diff --git a/check_es_system/control b/check_es_system/control deleted file mode 100644 index c01e200..0000000 --- a/check_es_system/control +++ /dev/null @@ -1,6 +0,0 @@ -Uploaders: Jan Wagner -Recommends: curl, jshon | jq -Version: 1.12.1 -Homepage: https://github.com/Napsty/check_es_system/ -Watch: https://github.com/Napsty/check_es_system/tags .*/v?(\d\S+)\.tar\.gz -Description: Plugin script to check the status of an ElasticSearch cluster node. diff --git a/check_es_system/src b/check_es_system/src deleted file mode 120000 index 478cf69..0000000 --- a/check_es_system/src +++ /dev/null @@ -1 +0,0 @@ -check_es_system-1.12.1/ \ No newline at end of file diff --git a/check_esxi_hardware/check_esxi_hardware.py b/check_esxi_hardware/check_esxi_hardware.py old mode 100755 new mode 100644 index badd256..59d7166 --- a/check_esxi_hardware/check_esxi_hardware.py +++ b/check_esxi_hardware/check_esxi_hardware.py @@ -22,7 +22,7 @@ # Copyright (c) 2008 David Ligeret # Copyright (c) 2009 Joshua Daniel Franklin # Copyright (c) 2010 Branden Schneider -# Copyright (c) 2010-2022 Claudio Kuenzler +# Copyright (c) 2010-2020 Claudio Kuenzler # Copyright (c) 2010 Samir Ibradzic # Copyright (c) 2010 Aaron Rogers # Copyright (c) 2011 Ludovic Hutin @@ -38,7 +38,6 @@ # Copyright (c) 2015 Stefan Roos # Copyright (c) 2018 Peter Newman # Copyright (c) 2020 Luca Berra -# Copyright (c) 2022 Marco Markgraf # # The VMware 4.1 CIM API is documented here: # http://www.vmware.com/support/developer/cim-sdk/4.1/smash/cim_smash_410_prog.pdf @@ -281,18 +280,6 @@ #@ Reason : Improve missing mandatory parameter error text (issue #47) #@ Delete temporary openssl config file after use (issue #48) #@--------------------------------------------------- -#@ Date : 20210809 -#@ Author : Claudio Kuenzler -#@ Reason : Fix TLSv1 usage (issue #51) -#@--------------------------------------------------- -#@ Date : 20220509 -#@ Author : Marco Markgraf -#@ Reason : Added JSON-output (Zabbix needs it) -#@--------------------------------------------------- -#@ Date : 20221230 -#@ Author : Claudio Kuenzler -#@ Reason : Fix bug when missing S/N (issue #68) -#@--------------------------------------------------- from __future__ import print_function import sys @@ -300,10 +287,9 @@ import time import pywbem import re import pkg_resources -import json from optparse import OptionParser,OptionGroup -version = '20221230' +version = '20200710' NS = 'root/cimv2' hosturl = '' @@ -351,7 +337,6 @@ sensor_Type = { } data = [] -xdata = {} perf_Prefix = { 1:'Pow', @@ -383,10 +368,6 @@ vendor='unknown' # verbose verbose=False -# output json -format='string' -pretty=False - # Produce performance data output for nagios perfdata=False @@ -532,20 +513,12 @@ def verboseoutput(message) : # ---------------------------------------------------------------------- -def xdataprint(): - if format == 'json' and not pretty: - print(json.dumps(xdata, sort_keys=True)) - if format == 'json' and pretty: - print(json.dumps(xdata, sort_keys=True, indent=4)) - -# ---------------------------------------------------------------------- - def getopts() : - global hosturl,hostname,cimport,sslproto,user,password,vendor,verbose,perfdata,urlise_country,timeout,ignore_list,regex,get_power,get_volts,get_current,get_temp,get_fan,get_lcd,get_intrusion,format,pretty + global hosturl,hostname,cimport,sslproto,user,password,vendor,verbose,perfdata,urlise_country,timeout,ignore_list,regex,get_power,get_volts,get_current,get_temp,get_fan,get_lcd,get_intrusion usage = "usage: %prog -H hostname -U username -P password [-C port -S proto -V vendor -v -p -I XX -i list,list -r]\n" \ "example: %prog -H hostname -U root -P password -C 5989 -V auto -I uk\n\n" \ "or, verbosely:\n\n" \ - "usage: %prog --host=hostname --user=username --pass=password [--cimport=port --sslproto=version --vendor=system --verbose --perfdata --html=XX --format=json --pretty]\n" + "usage: %prog --host=hostname --user=username --pass=password [--cimport=port --sslproto=version --vendor=system --verbose --perfdata --html=XX]\n" parser = OptionParser(usage=usage, version="%prog "+version) group1 = OptionGroup(parser, 'Mandatory parameters') @@ -557,7 +530,7 @@ def getopts() : help="password, if password matches file:, first line of given file will be used as password", metavar="PASS") group2.add_option("-C", "--cimport", dest="cimport", help="CIM port (default 5989)", metavar="CIMPORT") - group2.add_option("-S", "--sslproto", dest="sslproto", help="SSL/TLS protocol version to overwrite system default: SSLv2, SSLv3, TLSv1, TLSv1.1, TLSv1.2, TLSv1.3", metavar="SSLPROTO") + group2.add_option("-S", "--sslproto", dest="sslproto", help="SSL/TLS protocol version to overwrite system default: SSLv2, SSLv3, TLSv1.0, TLSv1.1, TLSv1.2, TLSv1.3", metavar="SSLPROTO") group2.add_option("-V", "--vendor", dest="vendor", help="Vendor code: auto, dell, hp, ibm, intel, or unknown (default)", \ metavar="VENDOR", type='choice', choices=['auto','dell','hp','ibm','intel','unknown'],default="unknown") group2.add_option("-v", "--verbose", action="store_true", dest="verbose", default=False, \ @@ -586,10 +559,6 @@ def getopts() : help="don't collect lcd/front display status") group2.add_option("--no-intrusion", action="store_false", dest="get_intrusion", default=True, \ help="don't collect chassis intrusion status") - group2.add_option("--format", dest="format", help="'string' (default) or 'json'", \ - metavar="FORMAT", type='choice', choices=['string','json'],default="string") - group2.add_option("--pretty", action="store_true", dest="pretty", default=False, \ - help="return data as a pretty-printed json-array") parser.add_option_group(group1) parser.add_option_group(group2) @@ -636,16 +605,14 @@ def getopts() : user=options.user password=options.password cimport=options.cimport - ignore_list=options.ignore.split(',') - format=options.format - pretty=options.pretty - perfdata=options.perfdata - regex=options.regex sslproto=options.sslproto - timeout=options.timeout - urlise_country=options.urlise_country.lower() vendor=options.vendor.lower() verbose=options.verbose + perfdata=options.perfdata + urlise_country=options.urlise_country.lower() + timeout=options.timeout + ignore_list=options.ignore.split(',') + regex=options.regex get_power=options.get_power get_volts=options.get_volts get_current=options.get_current @@ -687,12 +654,12 @@ if os_platform != "win32": # Use non-default CIM port if cimport: verboseoutput("Using manually defined CIM port "+cimport) - hosturl += ':'+cimport + hosturl += ':'+cimport # Use non-default SSL protocol version if sslproto: verboseoutput("Using non-default SSL protocol: "+sslproto) - allowed_protos = ["SSLv2", "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2", "TLSv1.3"] + allowed_protos = ["SSLv2", "SSLv3", "TLSv1.0", "TLSv1.1", "TLSv1.2", "TLSv1.3"] if any(proto.lower() == sslproto.lower() for proto in allowed_protos): import os sslconfpath = '/tmp/'+hostname+'_openssl.conf' @@ -806,7 +773,7 @@ for classe in ClassesToCheck : verboseoutput("Check classe "+classe) try: instance_list = wbemclient.EnumerateInstances(classe) - except pywbem._cim_operations.CIMError as args: + except pywbem.cim_operations.CIMError as args: if ( args[1].find('Socket error') >= 0 ): print("UNKNOWN: {}".format(args)) sys.exit (ExitUnknown) @@ -819,7 +786,7 @@ for classe in ClassesToCheck : GlobalStatus = ExitUnknown print("UNKNOWN: {}".format(args)) sys.exit (GlobalStatus) - except pywbem._cim_http.AuthError as arg: + except pywbem.cim_http.AuthError as arg: verboseoutput("Global exit set to UNKNOWN") GlobalStatus = ExitUnknown print("UNKNOWN: Authentication Error") @@ -851,8 +818,6 @@ for classe in ClassesToCheck : + str(instance[u'ReleaseDate'].datetime.date()) verboseoutput(" VersionString = "+instance[u'VersionString']) - xdata['Bios Info'] = bios_info - elif elementName == 'Chassis' : man = instance[u'Manufacturer'] if man is None : @@ -867,7 +832,7 @@ for classe in ClassesToCheck : model = instance[u'Model'] if model: verboseoutput(" Model = "+model) - server_info += model + server_info += model + ' s/n:' elif elementName == 'Server Blade' : SerialNumber = instance[u'SerialNumber'] @@ -875,8 +840,6 @@ for classe in ClassesToCheck : verboseoutput(" SerialNumber = "+SerialNumber) isblade = "yes" - xdata['SerialNumber'] = SerialNumber - # Report detail of Numeric Sensors and generate nagios perfdata if classe == "CIM_NumericSensor" : @@ -918,33 +881,27 @@ for classe in ClassesToCheck : if units == 7: # Watts if get_power: data.append( ("%s=%g;%g;%g " % (perf_el, cr, utnc, utc),1) ) - xdata[perf_el] = { 'Unit': 'Watt', 'Value': cr, 'warn' : utnc, 'crit': utc } elif units == 6: # Current if get_current: data.append( ("%s=%g;%g;%g " % (perf_el, cr, utnc, utc),3) ) - xdata[perf_el] = { 'Unit': 'Ampere', 'Value': cr, 'warn' : utnc, 'crit': utc } # PSU Voltage elif sensorType == 3: # Voltage if get_volts: data.append( ("%s=%g;%g;%g " % (perf_el, cr, utnc, utc),2) ) - xdata[perf_el] = { 'Unit': 'Volt', 'Value': cr, 'warn' : utnc, 'crit': utc } # Temperatures elif sensorType == 2: # Temperature if get_temp: data.append( ("%s=%g;%g;%g " % (perf_el, cr, utnc, utc),4) ) - xdata[perf_el] = { 'Value': cr, 'warn' : utnc, 'crit': utc } # Fan speeds elif sensorType == 5: # Tachometer if get_fan: - if units == 65: # percentage + if units == 65: # percentage data.append( ("%s=%g%%;%g;%g " % (perf_el, cr, utnc, utc),6) ) - xdata[perf_el] = { 'Unit': '%', 'Value': cr, 'warn' : utnc, 'crit': utc } else: data.append( ("%s=%g;%g;%g " % (perf_el, cr, utnc, utc),5) ) - xdata[perf_el] = { 'Value': cr, 'warn' : utnc, 'crit': utc } elif classe == "CIM_Processor" : verboseoutput(" Family = %d" % instance['Family']) @@ -1040,7 +997,6 @@ if (urlise_country != '') : # If this is a blade server, also output chassis serial number as additional info if (isblade == "yes") : SerialNumber += " Chassis S/N: %s " % (SerialChassis) - xdata['ChassisSerialNumber'] = SerialChassis # Output performance data perf = '|' @@ -1066,24 +1022,13 @@ if perf == '|': if sslproto: os.remove(sslconfpath) -xdata['GlobalStatus'] = GlobalStatus - if GlobalStatus == ExitOK : - if format == 'string': - print("OK - Server: %s s/n: %s %s%s" % (server_info, SerialNumber, bios_info, perf)) - else: - xdataprint() + print("OK - Server: %s %s %s%s" % (server_info, SerialNumber, bios_info, perf)) elif GlobalStatus == ExitUnknown : - if format == 'string': - print("UNKNOWN: %s" % (ExitMsg)) #ARR - else: - xdataprint() + print("UNKNOWN: %s" % (ExitMsg)) #ARR else: - if format == 'string': - print("%s - Server: %s %s %s%s" % (ExitMsg, server_info, 's/n: ' + SerialNumber, bios_info, perf)) - else: - xdataprint() + print("%s - Server: %s %s %s%s" % (ExitMsg, server_info, SerialNumber, bios_info, perf)) sys.exit (GlobalStatus) diff --git a/check_esxi_hardware/control b/check_esxi_hardware/control index 8970419..9cd67f1 100644 --- a/check_esxi_hardware/control +++ b/check_esxi_hardware/control @@ -1,6 +1,6 @@ Uploaders: Jan Wagner Recommends: python3-minimal, python-pywbem -Version: 20221230 +Version: 20200710 Homepage: https://github.com/Napsty/check_esxi_hardware -Watch: https://github.com/Napsty/check_esxi_hardware/tags .*/v?(\d\S+)\.tar\.gz +Watch: https://raw.githubusercontent.com/Napsty/check_esxi_hardware/master/check_esxi_hardware.py version = '([0-9.]+)' Description: Plugin for checking global health of VMware ESX/ESXi host diff --git a/check_bond/Makefile b/check_ipsec/Makefile similarity index 100% rename from check_bond/Makefile rename to check_ipsec/Makefile diff --git a/check_ipsec/check_ipsec b/check_ipsec/check_ipsec new file mode 100644 index 0000000..29834df --- /dev/null +++ b/check_ipsec/check_ipsec @@ -0,0 +1,194 @@ +#!/bin/bash +# Written By Nicole +# Any Comments or Questions please e-mail to ml@nicole-haehnel.de +# +# Plugin Name: check_ipsec +# Version: 2.0 +# Date: 26/08/2008 +# +# Usage: check_ipsec --tunnels +# +# gateways.txt file must be located in same directory +# and has to look like: +# nameofconn1 192.168.0.1 +# nameofconn2 192.168.1.1 +# +# ------------Defining Variables------------ +PROGNAME=`basename $0` +PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` +REVISION=`echo '$Revision: 2.0 $' | sed -e 's/[^0-9.]//g'` +#STRONG=`$IPSECBIN --version |grep strongSwan | wc -l` +DOWN="" +# ---------- Change to your needs ---------- +PLUGINPATH="/usr/lib64/nagios/plugins" +GATEWAYLIST="gateways.txt" +IPSECBIN="/usr/sbin/ipsec" +FPINGBIN="/usr/sbin/fping" +# ping server in network on the other side of the tunnel +PINGIP=1 # ping yes or no (1/0) +# ------------------------------------------ + +. $PROGPATH/utils.sh + + +# Testing availability of $IPSECBIN, $FPINGBIN and $GATEWAYLIST + +if [ $# -eq 0 ]; +then + echo UNKNOWN - missing Arguments. Run check_ipsec --help + exit $STATE_UNKNOWN +fi + +test -e $IPSECBIN +if [ $? -ne 0 ]; +then + echo CRITICAL - $IPSECBIN not exist + exit $STATE_CRITICAL +else + STRONG=`$IPSECBIN --version |grep strongSwan | wc -l` +fi + +if [ $PINGIP -eq 1 ] +then + test -e $FPINGBIN + if [ $? -ne 0 ]; + then + echo CRITICAL - $FPINGBIN not exist + exit $STATE_CRITICAL + fi +fi + +test -e $PROGPATH/$GATEWAYLIST +if [ $? -ne 0 ]; +then + echo CRITICAL - $GATEWAYLIST not exist + exit $STATE_CRITICAL +fi + +print_usage() { + echo "Usage:" + echo " $PROGNAME --tunnels " + echo " $PROGNAME --help" + echo " $PROGNAME --version" + echo " Created by Nicole, questions or problems e-mail ml@nicole-haehnel.de" + echo "" +} + +print_help() { + print_revision $PROGNAME $REVISION + echo "" + print_usage + echo " Checks vpn connection status of an openswan or strongswan installation." + echo "" + echo " --tunnels " + echo " -T " + echo " provides the tunnel status of the openswan or strongswan installation" + echo "" + echo " --help" + echo " -h" + echo " prints this help screen" + echo "" + echo " --version" + echo " -V" + echo " Print version and license information" + echo "" +} + +check_tunnel() { + + if [[ "$STRONG" -eq "1" ]] + then + eroutes=`$IPSECBIN status | grep -e "IPsec SA established" | grep -e "newest IPSEC" | wc -l` + else + eroutes=`$IPSECBIN whack --status | grep -e "IPsec SA established" | grep -e "newest IPSEC" | wc -l` + fi + + + if [[ "$eroutes" -eq "$2" ]] + then + echo "OK - All $2 tunnels are up an running" + exit $STATE_OK + elif [[ "$eroutes" -gt "$2" ]] + then + echo "WARNING - More than $2 ($eroutes) tunnels are up an running" + exit $STATE_WARNING + else + echo "CRITICAL - Only $eroutes tunnels from $2 are up an running - $(location)" + exit $STATE_CRITICAL + fi +} + + +location() { + +count=0 +i=1 + +while read line; do + + CONN=`echo $line| awk '{print $1}'` + IP=`echo $line| awk '{print $2}'` + + if [[ "$STRONG" -eq "1" ]] + then + tunneltest=`$IPSECBIN status | grep -e "IPsec SA established" | grep -e "newest IPSEC" |grep -e $CONN | wc -l` + else + tunneltest=`$IPSECBIN whack --status | grep -e "IPsec SA established" | grep -e "newest IPSEC" |grep -e "$CONN" | wc -l` + fi + + if [[ "$tunneltest" -eq "0" ]] + then + count=$[$count+1] + DOWN="$DOWN $CONN" + fi + + if [[ "$PINGIP" -eq "1" && "$tunneltest" -eq "1" ]] + then + alive=`$FPINGBIN $IP -r 1 | grep alive | wc -l` + + if [[ "$alive" -eq "0" ]] + then + count=$[$count+1] + DOWN="$DOWN $CONN (no ping)" + fi + fi + + +i=$[$i+1] + +done < $PLUGINPATH/$GATEWAYLIST + +echo $DOWN + +} + + +case "$1" in +--help) + print_help + exit $STATE_OK + ;; +-h) + print_help + exit $STATE_OK + ;; +--version) + print_revision $PLUGIN $REVISION + exit $STATE_OK + ;; +-V) + print_revision $PLUGIN $REVISION + exit $STATE_OK + ;; +--tunnels) + check_tunnel $1 $2 + ;; +-T) + check_tunnel $1 $2 + ;; +*) + print_help + exit $STATE_OK + +esac + diff --git a/check_ipsec/control b/check_ipsec/control new file mode 100644 index 0000000..5313784 --- /dev/null +++ b/check_ipsec/control @@ -0,0 +1,6 @@ +Homepage: https://raw.githubusercontent.com/Inuits/monitoring-plugins/master/check_ipsec +Watch: https://raw.githubusercontent.com/Inuits/monitoring-plugins/master/check_ipsec # Version: ([0-9.]+) +Recommends: monitoring-plugins-common | nagios-plugins-common, fping, strongswan-starter | openswan +Version: 2.0 +Uploaders: Jan Wagner +Description: plugin checking ipsec connections from open- or stongswan diff --git a/check_es_system/copyright b/check_ipsec/copyright similarity index 66% rename from check_es_system/copyright rename to check_ipsec/copyright index 57b6d16..78f7ab5 100644 --- a/check_es_system/copyright +++ b/check_ipsec/copyright @@ -1,6 +1,6 @@ -Copyright (c) Claudio Kuenzler +Copyright (c) 2008 ml@nicole-haehnel.de -License: GPL v2 +License: N/A On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". diff --git a/check_keepalived/Makefile b/check_keepalived/Makefile deleted file mode 100644 index cf9673d..0000000 --- a/check_keepalived/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -#/usr/bin/make -f - -include ../common.mk diff --git a/check_keepalived/check_keepalived b/check_keepalived/check_keepalived deleted file mode 100644 index 5f34b29..0000000 --- a/check_keepalived/check_keepalived +++ /dev/null @@ -1,259 +0,0 @@ -#!/bin/bash - -# Monitoring plugin to check the keepalived status -usage(){ - echo "Check: Is the keepalived service operate as it should. - --status | -s ) Target state of the system (MASTER, BACKUP) - --interface | -i ) Interface for vrrp instance - --ha-ip | -ip ) Vrrp-ip - --interface2 | -i2 ) Interface for 2nd vrrp instance - --ha-ip2 | -ip2 ) 2nd vrrp-ip - --help | -h ) Usage - " -} - -# Exit Codes -OK=0 -WARNING=1 -CRITICAL=2 -UNKNOWN=3 - -# Command definitions -if [ -x "$(which cat)" ]; -then - CAT="$(which cat)" -fi - -if [ -x "$(which grep)" ]; -then - GREP="$(which grep)" -fi - -if [ -x "$(which ip)" ]; -then - IP="$(which ip)" -fi - -if [ -x "$(which pgrep)" ]; -then - PG="$(which pgrep)" -fi - -if [ -x "$(which wc)" ]; -then - WC="$(which wc)" -fi - -if [ "$1" = "" ] -then - echo "CRITICAL: No arguments given. Take a look at the usage:" - usage - exit "${CRITICAL}" -fi - -# shifting through our command line arguments and setting our values -while [ "$1" != "" ]; do - case $1 in - --status | -s ) shift - TARGET_STATE="$1" - ;; - --interface | -i ) shift - IFACE="$1" - ;; - --ha-ip | -ip ) shift - HAIP="$1" - ;; - --interface2 | -i2 ) shift - IFACE2="$1" - SEC_IP=true - ;; - --ha-ip2 | -ip2 ) shift - HAIP2="$1" - ;; - --help | -h ) usage - exit - ;; - * ) usage - echo "CRITICAL: No valid arguments given. Take a look at the usage." - exit "${CRITICAL}" - esac - shift -done - -# Config and commands -STAT_FILE='/var/run/keepalived.status' -PID_FILE='/run/keepalived.pid' -PID=$("${CAT}" "${PID_FILE}" 2>/dev/null) -SERVICE=$("${PG}" keepalived) -STATUS=(MASTER BACKUP FAULT) -CHECK_HAIP=$("${IP}" 2>/dev/null addr sh "${IFACE}" | "${GREP}" "${HAIP}" | "${WC}" -l) -CHECK_HAIP2=$("${IP}" 2>/dev/null addr sh "${IFACE2}" | "${GREP}" "${HAIP2}" | "${WC}" -l) - -# Check files are valid -if [ ! -e "${STAT_FILE}" ] -then - if [ -e /tmp/keepalived.status ] - then - STAT_FILE='/tmp/keepalived.status' - else - echo "CRITICAL: Generated status file is missing. State could not be determined." - exit "${CRITICAL}" - fi -fi - -FILE_CONT=$("${CAT}" "${STAT_FILE}" 2>/dev/null) - -if [ ! -e "${PID_FILE}" ] -then - echo "CRITICAL: PID file is missing, keepalived is not running." - exit "${CRITICAL}" -fi - -# Check variables exists -if [ -z "${TARGET_STATE}" ] -then - echo "CRITICAL: Parameter 'status' not given. Check usage:" - usage - exit "${CRITICAL}" -fi - -if [ -z "${IFACE}" ] -then - echo "CRITICAL: Parameter 'interface' not given. Check usage:" - usage - exit "${CRITICAL}" -fi - -if [ -z "${HAIP}" ] -then - echo "CRITICAL: Parameter 'ha-ip' not given. Check usage:" - usage - exit "${CRITICAL}" -fi - -# Check service is running -if [[ ! "${SERVICE}" =~ ${PID} ]] -then - echo "CRITICAL: keepalived is not running." - exit "${CRITICAL}" -fi - -# Confirm valid STATUS -if [[ ! "${STATUS[*]}" =~ ${FILE_CONT} ]] -then - echo "CRITICAL: Status file contains unknown status or is empty. Take a look at ${STAT_FILE}." - exit "${CRITICAL}" -fi - -# Check ha ip and status -if [ "${TARGET_STATE}" = "${STATUS[0]}" ] # Machine is defined as MASTER -then - case "${FILE_CONT}" in - MASTER ) STAT=ok - ;; - BACKUP ) STAT=fail - ;; - FAULT ) echo "CRITICAL: Machine status is FAULT." - exit "${CRITICAL}" - ;; - * ) echo "CRITICAL: Status file contains unknown status or is empty. Take a look at ${STAT_FILE}." - exit "${CRITICAL}" - esac - - if [ "${SEC_IP}" == "true" ] # 2nd ha instance - then - if [ "${CHECK_HAIP2}" == 0 ] && [ "${STAT}" == ok ] - then - echo "CRITICAL: 2nd HA IP ${HAIP2} is not up but machine is MASTER according to ${STAT_FILE}." - STAT_SEC_IP=CRIT - elif [ "${CHECK_HAIP2}" == 0 ] && [ "${STAT}" == fail ] - then - echo "CRITICAL: 2nd HA IP ${HAIP2} is not up, machine is BACKUP. Should be MASTER." - elif [ "${CHECK_HAIP2}" == 1 ] && [ "${STAT}" == fail ] - then - echo "CRITICAL: 2nd HA IP ${HAIP2} is up, but machine is BACKUP according to ${STAT_FILE}. Should be MASTER." - else - echo "OK: 2nd HA IP ${HAIP2} is up and machine is MASTER." - fi - fi - - if [ "${CHECK_HAIP}" == 0 ] && [ "${STAT}" == ok ] # Target-actual comparison machine state; IP should be up - then - echo "CRITICAL: HA IP ${HAIP} is not up but machine is MASTER according to ${STAT_FILE}." - exit "${CRITICAL}" - elif [ "${CHECK_HAIP}" == 0 ] && [ "${STAT}" == fail ] - then - echo "CRITICAL: HA IP ${HAIP} is not up, machine is BACKUP. Should be MASTER." - exit "${CRITICAL}" - elif [ "${CHECK_HAIP}" == 1 ] && [ "${STAT}" == fail ] - then - echo "CRITICAL: HA IP ${HAIP} is up, but machine is BACKUP according to ${STAT_FILE}. Should be MASTER." - exit "${CRITICAL}" - else - echo "OK: HA IP ${HAIP} is up and machine is MASTER." - if [ "${STAT_SEC_IP}" == CRIT ] - then - exit "${CRITICAL}" - else - exit "${OK}" - fi - - fi - -elif [ "${TARGET_STATE}" = "${STATUS[1]}" ] # Machine is defined as BACKUP -then - case "${FILE_CONT}" in - MASTER ) STAT=fail - ;; - BACKUP ) STAT=ok - ;; - FAULT ) echo "CRITICAL: Machine status is FAULT." - exit "${CRITICAL}" - ;; - * ) echo "CRITICAL: Status file contains unknown status or is empty." - exit "${CRITICAL}" - esac - - if [ "${SEC_IP}" == "true" ] # 2nd ha instance - then - if [ "${CHECK_HAIP2}" == 1 ] && [ "${STAT}" == ok ] - then - echo "CRITICAL: 2nd HA IP ${HAIP2} is up but machine is BACKUP according to ${STAT_FILE}." - STAT_SEC_IP=CRIT - elif [ "${CHECK_HAIP2}" == 1 ] && [ "${STAT}" == fail ] - then - echo "WARNING: 2nd HA IP ${HAIP2} is up, machine is MASTER. Should be BACKUP." - elif [ "${CHECK_HAIP2}" == 0 ] && [ "${STAT}" == fail ] - then - echo "CRITICAL: 2nd HA IP ${HAIP2} is not up but machine is MASTER according to ${STAT_FILE}. Should be BACKUP." - else - echo "OK: 2nd HA IP ${HAIP2} is not up and machine is BACKUP." - fi - fi - - if [ "${CHECK_HAIP}" == 1 ] && [ "${STAT}" == ok ] # Target-actual comparison machine state; IP should be down - then - echo "CRITICAL: HA IP ${HAIP} is up but machine is BACKUP according to ${STAT_FILE}." - exit "${CRITICAL}" - elif [ "${CHECK_HAIP}" == 1 ] && [ "${STAT}" == fail ] - then - echo "WARNING: HA IP ${HAIP} is up, machine is MASTER. Should be BACKUP." - exit "${WARNING}" - elif [ "${CHECK_HAIP}" == 0 ] && [ "${STAT}" == fail ] - then - echo "CRITICAL: HA IP ${HAIP} is not up but machine is MASTER according to ${STAT_FILE}. Should be BACKUP." - exit "${CRITICAL}" - else - echo "OK: HA IP ${HAIP} is not up and machine is BACKUP." - if [ "${STAT_SEC_IP}" == CRIT ] - then - exit "${CRITICAL}" - else - exit "${OK}" - fi - fi - -else - echo "Unknown: Unknown status given. Check ${STAT_FILE} and script usage." - exit "${UNKNOWN}" -fi diff --git a/check_keepalived/control b/check_keepalived/control deleted file mode 100644 index 31af5c4..0000000 --- a/check_keepalived/control +++ /dev/null @@ -1,4 +0,0 @@ -Uploaders: Jan Wagner -Description: plugin checking keepalived status -Recommends: procps -Version: 0.0.1 diff --git a/check_keepalived/copyright b/check_keepalived/copyright deleted file mode 100644 index 56a9345..0000000 --- a/check_keepalived/copyright +++ /dev/null @@ -1,7 +0,0 @@ -Copyright (C) 2021 Stella Sieber / TMT GmbH & Co. KG - -License: GPL+ - - On Debian systems, the complete text of the GNU General - Public License can be found in "/usr/share/common-licenses/GPL". - diff --git a/check_nextcloud/README.md b/check_nextcloud/README.md index 8d4431d..c18e25b 100644 --- a/check_nextcloud/README.md +++ b/check_nextcloud/README.md @@ -1,13 +1,11 @@ -# Nagios/Centron check | Nextcloud serverinfo +# check_nextcloud Nagios/Centreon plugin for nextcloud serverinfo API (https://github.com/nextcloud/serverinfo) -This branch contains the check for Python 3. A version for Python 2.7 can be found [here](https://github.com/BornToBeRoot/check_nextcloud/tree/stable-python2.7). - ## Syntax / Help ``` -./check_nextcloud.py -u username -p password -H cloud.example.com -c [system|storage|shares|webserver|php|database|users|apps] +./check_nextcloud.py -u username -p password -H cloud.example.com -c [system|storage|shares|webserver|php|database|users] Options: @@ -18,14 +16,12 @@ Options: on the nextcloud server -p PASSWORD, --password=PASSWORD Password of the user - -t TOKEN, --nc-token=TOKEN - NC-Token for the Serverinfo API -H HOSTNAME, --hostname=HOSTNAME Nextcloud server address (make sure that the address is a trusted domain in the config.php) -c CHECK, --check=CHECK The thing you want to check - [system|storage|shares|webserver|php|database|activeUsers|uploadFilesize|apps] + [system|storage|shares|webserver|php|database|activeUsers|uploadFilesize] --upload-filesize Filesize in MiB, GiB without spaces (default="512.0GiB") --protocol=PROTOCOL Protocol you want to use [http|https] (default="https") @@ -80,77 +76,3 @@ OK - Upload max filesize: 2.0GiB CRITICAL - Upload max filesize is set to 512.0MiB, but should be 2.0GiB ``` - - - -## Icinga config example - - -Adjust the command path to your local situation. - -``` -object CheckCommand "check_nextcloud" { - command = [ "/var/lib/nagios/src/check_nextcloud/check/check_nextcloud.py" ] - arguments = { - "--nc-token" = { - value = "$nextcloud_token$" - description = "NC-Token for the Serverinfo API" - } - "--hostname" = { - value = "$nextcloud_hostname$" - description = "Hostname" - } - "--api-url" = { - value = "$nextcloud_api_url$" - set_if = "$nextcloud_api_url$" - description = "Api-url" - } - "--check" = { - value = "$nextcloud_check$" - description = "Which check to run" - } - "--perfdata-format" = { - value = "nagios" - description = "The perfdata format we like" - } - } -} -``` - -``` -apply Service for (checkname in ["system","storage","shares","webserver","php","database","activeUsers","uploadFilesize","apps"]) { - import "generic-service" - name = "check-nextcloud-" + checkname - check_interval = 30m - retry_interval = 10m - display_name = "Nextcloud monitor " + checkname - vars.notification_interval = 1d - - vars.nextcloud_check = checkname - vars.nextcloud_hostname = host.vars.nextcloud_hostname - vars.nextcloud_token = host.vars.nextcloud_token - vars.nextcloud_api_url = host.vars.nextcloud_api_url - vars.notification["mail"] = { } - check_command = "check_nextcloud" - - assign where (host.address || host.address6) && host.vars.nextcloud_token -} -``` - -``` -object Host "server42.example.com" { - - display_name = "My Nextcloud server" - address = "" - - ... - - # The token can be set with: occ config:app:set serverinfo token --value yourtoken - vars.nextcloud_token = "XXX" - vars.nextcloud_hostname = "nextcloud.example.com" - - # Optional if you e.g. use a subdirectory. - vars.nextcloud_api_url = "/subdir/ocs/v2.php/apps/serverinfo/api/v1/info" -} - -``` diff --git a/check_nextcloud/check/check_nextcloud.py b/check_nextcloud/check/check_nextcloud.py index 2bf5cd1..ad03666 100644 --- a/check_nextcloud/check/check_nextcloud.py +++ b/check_nextcloud/check/check_nextcloud.py @@ -1,29 +1,23 @@ #!/usr/bin/python ############################################################################################################### -# Language : Python 3 +# Language : Python (3.*) # Filename : check_nextcloud.py # Autor : https://github.com/BornToBeRoot # Description : Nagios/Centreon plugin for nextcloud serverinfo API (https://github.com/nextcloud/serverinfo) # Repository : https://github.com/BornToBeRoot/check_nextcloud ############################################################################################################### -### Changelog ### -# -# ~~ Version 1.2 ~~ -# - Parameter "--ignore-sslcert" added. (Note: If you use an ip address as hostname... you need to add the ip -# address as trusted domain in the config.php) -# - Parameter "--perfdata-format" added [centreon|nagios] (default="centreon") -# ~~ Version 1.3 ~~ -# - Check for app updates added (Thanks @thinkl33t) -# ~~ Version 1.4 ~~ -# - Parameter "--nc-token" added (Thanks @sblatt) -# ~~ Version 2.0 ~~ -# - Migrated from Python 2.7 to 3 (Thanks @waja) -# -################# +### Changelog ################################################################################################# +# ~~ Version 2.0 ~~ +# - Update to Python 3.* +# - Check: Theme +# - [not implemented yet] Check: App + Updates available +# - [not implemented yet] Check: Cache/Filelocking +# - [not implemented yet] Open pull requests... +############################################################################################################### -import urllib.request, urllib.error, urllib.parse, base64, xml.etree.ElementTree, sys, traceback, ssl, re +import urllib.parse, urllib.request, urllib.response, base64, xml.etree.ElementTree, sys, traceback, re # Some helper functions def calc_size_suffix(num, suffix='B'): @@ -47,38 +41,35 @@ def calc_size_nagios(num, suffix='B'): # Command line parser from optparse import OptionParser -parser = OptionParser(usage='%prog -u username -p password -H cloud.example.com -c [system|storage|shares|webserver|php|database|activeUsers|uploadFilesize|apps]') +parser = OptionParser(usage='%prog -u username -p password -H cloud.example.com -c [system|theme|storage|shares|webserver|php|database|activeUsers|uploadFilesize]') parser.add_option('-v', '--version', dest='version', default=False, action='store_true', help='Print the version of this script') parser.add_option('-u', '--username', dest='username', type='string', help='Username of the user with administrative permissions on the nextcloud server') parser.add_option('-p', '--password', dest='password', type='string', help='Password of the user') -parser.add_option('-t', '--nc-token', dest='nc_token', type='string', help='Token to access the nextcloud serverinfo api. You can generate the token with "occ config:app:set serverinfo token --value yourtoken"; replaces username/password') parser.add_option('-H', '--hostname', dest='hostname', type='string', help='Nextcloud server address (make sure that the address is a trusted domain in the config.php)') -parser.add_option('-c', '--check', dest='check', choices=['system','storage','shares','webserver','php','database','activeUsers','uploadFilesize','apps'], help='The thing you want to check [system|storage|shares|webserver|php|database|activeUsers|uploadFilesize|apps]') -parser.add_option('--perfdata-format', dest='perfdata_format', default='centreon', choices=['centreon','nagios'], help='Format for the performance data [centreon|nagios] (default="centreon")') -parser.add_option('--upload-filesize', dest='upload_filesize', default='512.0MiB', help='Filesize in MiB, GiB without spaces (default="512.0MiB")') +parser.add_option('-c', '--check', dest='check', choices=['system','theme','storage','shares','webserver','php','database','activeUsers','uploadFilesize'], help='The thing you want to check [system|theme|storage|shares|webserver|php|database|activeUsers|uploadFilesize]') +parser.add_option('--upload-filesize', dest='upload_filesize', default='512.0MiB', help='Filesize in MiB, GiB without spaces (default="512.0GiB")') parser.add_option('--protocol', dest='protocol', choices=['https', 'http'], default='https', help='Protocol you want to use [http|https] (default="https")') -parser.add_option('--ignore-proxy', dest='ignore_proxy', default=False, action='store_true', help='Ignore any configured proxy server on this system for this request (default="false")') -parser.add_option('--ignore-sslcert', dest='ignore_sslcert', default=False, action='store_true', help='Ignore ssl certificate (default="false")') -parser.add_option('--api-url', dest='api_url', type='string', default='/ocs/v2.php/apps/serverinfo/api/v1/info?skipApps=false&skipUpdate=false', help='Url of the api (default="/ocs/v2.php/apps/serverinfo/api/v1/info?skipApps=false&skipUpdate=false")') +parser.add_option('--ignore-proxy', dest='ignore_proxy', default=False, action='store_true', help='Ignore any configured proxy server on this system for this request') +parser.add_option('--api-url', dest='api_url', type='string', default='/ocs/v2.php/apps/serverinfo/api/v1/info', help='Url of the api (default="/ocs/v2.php/apps/serverinfo/api/v1/info")') (options, args) = parser.parse_args() # Print the version of this script if options.version: - print('Version 2.0') - sys.exit(0) + print('Version 2.0') + sys.exit(0) # Validate the user input... if not options.username and not options.password and not options.hostname and not options.check: parser.print_help() sys.exit(3) -if not options.username and not options.nc_token: - parser.error('Username or nc-token is required, use parameter [-u|--username] or [--nc-token].') +if not options.username: + parser.error('Username is required, use parameter [-u|--username].') sys.exit(3) -if not options.password and not options.nc_token: - parser.error('Password or nc-token is required, use parameter [-p|--password] or [--nc-token].') +if not options.password: + parser.error('Password is required, use parameter [-p|--password].') sys.exit(3) if not options.hostname: @@ -94,7 +85,7 @@ url_strip = re.compile(r"https?://") hostname = url_strip.sub('', options.hostname).split('/')[0] # Re-validate the api_url -if options.api_url.startswith('/'): +if options.api_url.startswith('/'): api_url = options.api_url else: api_url = '/{0}'.format(options.api_url) @@ -102,44 +93,22 @@ else: # Create the url to access the api url = '{0}://{1}{2}'.format(options.protocol, hostname, api_url) -# Encode credentials as base64 +# Create the request +request = urllib.request.Request(url) + +# Basic authentication... credential = base64.b64encode(bytes('%s:%s' % (options.username, options.password), 'ascii')) +request.add_header("Authorization", "Basic %s" % credential.decode('utf-8')) + +request.add_header('OCS-APIRequest', 'true') try: - # Create the request - request = urllib.request.Request(url) - - # Add the token header - if options.nc_token: - request.add_header('NC-Token',"%s" % options.nc_token) - else: - # Add the authentication and api request header - request.add_header("Authorization", "Basic %s" % credential.decode('utf-8')) - request.add_header('OCS-APIRequest','true') - - # SSL/TLS certificate validation (see: https://stackoverflow.com/questions/19268548/python-ignore-certificate-validation-urllib2) - ctx = ssl.create_default_context() - - if(options.ignore_sslcert): - ctx.check_hostname = False - ctx.verify_mode = ssl.CERT_NONE - - # Proxy handler - if(options.ignore_proxy): - proxy_handler = urllib.request.ProxyHandler({}) - ctx_handler = urllib.request.HTTPSHandler(context=ctx) - opener = urllib.request.build_opener(proxy_handler, ctx_handler) - - response = opener.open(request) - else: - response = urllib.request.urlopen(request, context=ctx) - - # Read the content - content = response.read() + with urllib.request.urlopen(request) as response: + content = response.read() except urllib.error.HTTPError as error: # User is not authorized (401) - print('UNKOWN - [WEBREQUEST] {0} {1}'.format(error.code, error.reason)) - sys.exit(3) + print('UNKOWN - [WEBREQUEST] {0} {1}'.format(error.code, error.reason)) + sys.exit(3) except urllib.error.URLError as error: # Connection has timed out (wrong url / server down) print('UNKOWN - [WEBREQUEST] {0}'.format(str(error.reason).split(']')[0].strip())) @@ -170,24 +139,25 @@ except AttributeError: print('UNKOWN - [XML] Content contains no or wrong xml data... check the url and if the api is reachable!') sys.exit(3) -# Performance data format -perfdata_format = "" # nagios - -if(options.perfdata_format == 'centreon'): # centreon - perfdata_format = "," - -# Get the nextcloud version... -# [output] +# Get the nextcloud version... other informations about the system like RAM/CPU/DISK are nagios/centreon own checks - so we don't need them here... if options.check == 'system': xml_system = xml_root.find('data').find('nextcloud').find('system') - xml_system_version = str(xml_system.find('version').text) + xml_system_version = str(xml_system.find('version').text) print('OK - Nextcloud version: {0}'.format(xml_system_version)) sys.exit(0) +# Get the nextcloud theme +if options.check == 'theme': + xml_system = xml_root.find('data').find('nextcloud').find('system') + + xml_system_theme = str(xml_system.find('theme').text) + + print('OK - Nextcloud theme: {0}'.format(xml_system_theme)) + sys.exit(0) + # Get informations about the storage -# [output + performance data] if options.check == 'storage': xml_storage = xml_root.find('data').find('nextcloud').find('storage') @@ -198,11 +168,10 @@ if options.check == 'storage': xml_storage_storages_home = int(xml_storage.find('num_storages_home').text) xml_storage_storages_other = int(xml_storage.find('num_storages_other').text) - print('OK - Users: {1}, files: {2}, storages: {3}, storages local: {4}, storages home: {5}, storages other: {6} | users={1}{0} files={2}{0} storages={3}{0} storages_local={4}{0} storages_home={5}{0} storage_other={6}'.format(perfdata_format, xml_storage_users, xml_storage_files, xml_storage_storages, xml_storage_storages_local, xml_storage_storages_home, xml_storage_storages_other)) + print('OK - Users: {0}, files: {1}, storages: {2}, storages local: {3}, storages home: {4}, storages other: {5} | users={0}, files={1}, storages={2}, storages_local={3}, storages_home={4}, storage_other={5}'.format(xml_storage_users, xml_storage_files, xml_storage_storages, xml_storage_storages_local, xml_storage_storages_home, xml_storage_storages_other)) sys.exit(0) # Get informations about the shares -# [output + performance data] if options.check == 'shares': xml_shares = xml_root.find('data').find('nextcloud').find('shares') @@ -214,11 +183,10 @@ if options.check == 'shares': xml_shares_fed_shares_sent = int(xml_shares.find('num_fed_shares_sent').text) xml_shares_fed_shares_received = int(xml_shares.find('num_fed_shares_received').text) - print('OK - Shares: {1}, shares user: {2}, shares groups: {3}, shares link: {4}, shares link no password: {5}, shares federation sent: {6}, shares federation received: {7} | shares={1}{0} shares_user={2}{0} shares_groups={3}{0} shares_link={4}{0} shares_link_no_password={5}{0} federation_shares_sent={6}{0} federation_shares_received={7}'.format(perfdata_format, xml_shares_shares, xml_shares_shares_user, xml_shares_shares_groups, xml_shares_shares_link, xml_shares_shares_link_no_password, xml_shares_fed_shares_sent, xml_shares_fed_shares_received)) + print('OK - Shares: {0}, shares user: {1}, shares groups: {2}, shares link: {3}, shares link no password: {4}, shares federation sent: {5}, shares federation received: {6} | shares={0}, shares_user={1}, shares_groups={2}, shares_link={3}, shares_link_no_password={4}, federation_shares_sent={5}, federation_shares_received={6}'.format(xml_shares_shares, xml_shares_shares_user, xml_shares_shares_groups, xml_shares_shares_link, xml_shares_shares_link_no_password, xml_shares_fed_shares_sent, xml_shares_fed_shares_received)) sys.exit(0) # Get informations about the webserver -# [output] if options.check == 'webserver': xml_webserver = str(xml_root.find('data').find('server').find('webserver').text) @@ -226,7 +194,6 @@ if options.check == 'webserver': sys.exit(0) # Get informations about php -# [output] if options.check == 'php': xml_php = xml_root.find('data').find('server').find('php') @@ -239,7 +206,6 @@ if options.check == 'php': sys.exit(0) # Get informations about the database -# [output + performance data] if options.check == 'database': xml_database = xml_root.find('data').find('server').find('database') @@ -251,7 +217,6 @@ if options.check == 'database': sys.exit(0) # Check the active users -# [output + performance data] if options.check == 'activeUsers': xml_activeUsers = xml_root.find('data').find('activeUsers') @@ -259,12 +224,12 @@ if options.check == 'activeUsers': xml_activeUsers_last1hour = int(xml_activeUsers.find('last1hour').text) xml_activeUsers_last24hours = int(xml_activeUsers.find('last24hours').text) - print('OK - Last 5 minutes: {1} user(s), last 1 hour: {2} user(s), last 24 hour: {3} user(s) | users_last_5_minutes={1}{0} users_last_1_hour={2}{0} users_last_24_hours={3}'.format(perfdata_format, xml_activeUsers_last5minutes, xml_activeUsers_last1hour, xml_activeUsers_last24hours)) + print('OK - Last 5 minutes: {0} user(s), last 1 hour: {1} user(s), last 24 hour: {2} user(s) | users_last_5_minutes={0}, users_last_1_hour={1}, users_last_24_hours={2}'.format(xml_activeUsers_last5minutes, xml_activeUsers_last1hour, xml_activeUsers_last24hours)) sys.exit(0) if options.check == 'uploadFilesize': xml_php = xml_root.find('data').find('server').find('php') - + # Get upload max filesize xml_php_upload_max_filesize = int(xml_php.find('upload_max_filesize').text) @@ -273,28 +238,7 @@ if options.check == 'uploadFilesize': if options.upload_filesize == upload_max_filesize: print('OK - Upload max filesize: {0}'.format(upload_max_filesize)) - sys.exit(0) + sys.exit(0) else: print('CRITICAL - Upload max filesize is set to {0}, but should be {1}'.format(upload_max_filesize, options.upload_filesize)) sys.exit(2) - -# Get informations about any app updates -# [output] -if options.check == 'apps': - xml_apps = xml_root.find('data').find('nextcloud').find('system').find('apps') - - if xml_apps is not None: - xml_apps_num_updates_available = int(xml_apps.find('num_updates_available').text) - else: - xml_apps_num_updates_available = 0 - - if xml_apps_num_updates_available == 0: - print('OK - No apps requiring update') - sys.exit(0) - else: - xml_apps_updates = xml_apps.find('app_updates') - xml_apps_list = [] - for app in xml_apps_updates: - xml_apps_list.append('{0}->{1}'.format(app.tag, app.text)) - print('WARNING - {0} apps require update: {1}'.format(xml_apps_num_updates_available, ' ,'.join(xml_apps_list))) - sys.exit(1) diff --git a/check_nextcloud/control b/check_nextcloud/control index 765ab49..5e49c4c 100644 --- a/check_nextcloud/control +++ b/check_nextcloud/control @@ -1,6 +1,6 @@ Uploaders: Jan Wagner Recommends: python3-minimal -Version: 2.0 +Version: b7e5755 Homepage: https://github.com/BornToBeRoot/check_nextcloud -Watch: https://raw.githubusercontent.com/BornToBeRoot/check_nextcloud/master/check/check_nextcloud.py # ~~ Version ([0-9.]+) ~~ +Watch: https://github.com/BornToBeRoot/check_nextcloud ]*>\s+([0-9a-f]+)\s+ Description: Plugin script to monitor your nextcloud serverinfo API diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADONISDNSMIBMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADONISDNSMIBMIB.pm deleted file mode 100644 index aa51ea2..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADONISDNSMIBMIB.pm +++ /dev/null @@ -1,101 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::ADONISDNSMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'ADONIS-DNS-MIB'} = { - url => '', - name => 'ADONIS-DNS-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'ADONIS-DNS-MIB'} = - '1.3.6.1.4.1.13315.100.101'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'ADONIS-DNS-MIB'} = { - 'adonis' => '1.3.6.1.4.1.13315.100.101', - 'adonisObjects' => '1.3.6.1.4.1.13315.100.101.1', - 'dns' => '1.3.6.1.4.1.13315.100.101.1.1', - 'dnsDaemon' => '1.3.6.1.4.1.13315.100.101.1.1.1', - 'dnsDaemonRunning' => '1.3.6.1.4.1.13315.100.101.1.1.1.1', - 'dnsDaemonNumberOfZones' => '1.3.6.1.4.1.13315.100.101.1.1.1.2', - 'dnsDaemonDebugLevel' => '1.3.6.1.4.1.13315.100.101.1.1.1.3', - 'dnsDaemonZoneTransfersInProgress' => '1.3.6.1.4.1.13315.100.101.1.1.1.4', - 'dnsDaemonZoneTransfersDeferred' => '1.3.6.1.4.1.13315.100.101.1.1.1.5', - 'dnsDaemonSOAQueriesInProgress' => '1.3.6.1.4.1.13315.100.101.1.1.1.6', - 'dnsDaemonQueryLoggingState' => '1.3.6.1.4.1.13315.100.101.1.1.1.7', - 'dnsDaemonZoneTransferFailure' => '1.3.6.1.4.1.13315.100.101.1.1.1.8', - 'dnsStats' => '1.3.6.1.4.1.13315.100.101.1.1.2', - 'dnsStatsSuccess' => '1.3.6.1.4.1.13315.100.101.1.1.2.1', - 'dnsStatsReferral' => '1.3.6.1.4.1.13315.100.101.1.1.2.2', - 'dnsStatsNXRRSet' => '1.3.6.1.4.1.13315.100.101.1.1.2.3', - 'dnsStatsNXDomain' => '1.3.6.1.4.1.13315.100.101.1.1.2.4', - 'dnsStatsRecursion' => '1.3.6.1.4.1.13315.100.101.1.1.2.5', - 'dnsStatsFailure' => '1.3.6.1.4.1.13315.100.101.1.1.2.6', - 'dhcp' => '1.3.6.1.4.1.13315.100.101.1.2', - 'dhcpDaemon' => '1.3.6.1.4.1.13315.100.101.1.2.1', - 'dhcpDaemonRunning' => '1.3.6.1.4.1.13315.100.101.1.2.1.1', - 'dhcpDaemonSubnetAlert' => '1.3.6.1.4.1.13315.100.101.1.2.1.2', - 'dhcpDaemonLeaseStatsSuccess' => '1.3.6.1.4.1.13315.100.101.1.2.1.3', - 'dhcpFailOverState' => '1.3.6.1.4.1.13315.100.101.1.2.1.4', - 'dhcpStats' => '1.3.6.1.4.1.13315.100.101.1.2.2', - 'dhcpLeaseTable' => '1.3.6.1.4.1.13315.100.101.1.2.2.1', - 'dhcpLeaseEntry' => '1.3.6.1.4.1.13315.100.101.1.2.2.1.1', - 'dhcpIP' => '1.3.6.1.4.1.13315.100.101.1.2.2.1.1.1', - 'dhcpLeaseStartTime' => '1.3.6.1.4.1.13315.100.101.1.2.2.1.1.2', - 'dhcpLeaseEndTime' => '1.3.6.1.4.1.13315.100.101.1.2.2.1.1.3', - 'dhcpLeaseTimeStamp' => '1.3.6.1.4.1.13315.100.101.1.2.2.1.1.4', - 'dhcpLeaseBindState' => '1.3.6.1.4.1.13315.100.101.1.2.2.1.1.5', - 'dhcpLeaseBindStateDefinition' => 'ADONIS-DNS-MIB::dhcpLeaseBindState', - 'dhcpLeaseHardwareAddress' => '1.3.6.1.4.1.13315.100.101.1.2.2.1.1.6', - 'dhcpLeaseHostname' => '1.3.6.1.4.1.13315.100.101.1.2.2.1.1.7', - 'dhcpSubnetTable' => '1.3.6.1.4.1.13315.100.101.1.2.2.2', - 'dhcpSubnetEntry' => '1.3.6.1.4.1.13315.100.101.1.2.2.2.1', - 'dhcpSubnetIP' => '1.3.6.1.4.1.13315.100.101.1.2.2.2.1.1', - 'dhcpSubnetMask' => '1.3.6.1.4.1.13315.100.101.1.2.2.2.1.2', - 'dhcpSubnetSize' => '1.3.6.1.4.1.13315.100.101.1.2.2.2.1.3', - 'dhcpSubnetUsed' => '1.3.6.1.4.1.13315.100.101.1.2.2.2.1.4', - 'dhcpSubnetAlert' => '1.3.6.1.4.1.13315.100.101.1.2.2.2.1.5', - 'dhcpPoolTable' => '1.3.6.1.4.1.13315.100.101.1.2.2.3', - 'dhcpPoolEntry' => '1.3.6.1.4.1.13315.100.101.1.2.2.3.1', - 'dhcpPoolSubnetIP' => '1.3.6.1.4.1.13315.100.101.1.2.2.3.1.1', - 'dhcpPoolStartIP' => '1.3.6.1.4.1.13315.100.101.1.2.2.3.1.2', - 'dhcpPoolEndIP' => '1.3.6.1.4.1.13315.100.101.1.2.2.3.1.3', - 'dhcpPoolSize' => '1.3.6.1.4.1.13315.100.101.1.2.2.3.1.4', - 'dhcpPoolUsed' => '1.3.6.1.4.1.13315.100.101.1.2.2.3.1.5', - 'dhcpPoolAlert' => '1.3.6.1.4.1.13315.100.101.1.2.2.3.1.6', - 'dhcpConfig' => '1.3.6.1.4.1.13315.100.101.1.2.3', - 'dhcpFixedIPTable' => '1.3.6.1.4.1.13315.100.101.1.2.3.1', - 'dhcpFixedIPEntry' => '1.3.6.1.4.1.13315.100.101.1.2.3.1.1', - 'dhcpFixedIP' => '1.3.6.1.4.1.13315.100.101.1.2.3.1.1.1', - 'ha' => '1.3.6.1.4.1.13315.100.101.1.3', - 'haService' => '1.3.6.1.4.1.13315.100.101.1.3.1', - 'haServiceRunning' => '1.3.6.1.4.1.13315.100.101.1.3.1.1', - 'haServiceNodeType' => '1.3.6.1.4.1.13315.100.101.1.3.1.2', - 'haReplicationBinding' => '1.3.6.1.4.1.13315.100.101.1.3.1.3', - 'commandServer' => '1.3.6.1.4.1.13315.100.101.1.4', - 'commandServerDaemon' => '1.3.6.1.4.1.13315.100.101.1.4.1', - 'commandServerDaemonRunning' => '1.3.6.1.4.1.13315.100.101.1.4.1.1', - 'lcd' => '1.3.6.1.4.1.13315.100.101.1.5', - 'lcdDaemon' => '1.3.6.1.4.1.13315.100.101.1.5.1', - 'licenseValid' => '1.3.6.1.4.1.13315.100.101.1.5.1.1', - 'licenseExpiry' => '1.3.6.1.4.1.13315.100.101.1.5.1.2', - 'tftp' => '1.3.6.1.4.1.13315.100.101.1.6', - 'tftpDaemon' => '1.3.6.1.4.1.13315.100.101.1.6.1', - 'tftpDaemonRunning' => '1.3.6.1.4.1.13315.100.101.1.6.1.1', - 'system' => '1.3.6.1.4.1.13315.100.101.1.7', - 'systemDaemon' => '1.3.6.1.4.1.13315.100.101.1.7.1', - 'systemState' => '1.3.6.1.4.1.13315.100.101.1.7.1.1', - 'adonisTraps' => '1.3.6.1.4.1.13315.100.101.2', - 'trapDNS' => '1.3.6.1.4.1.13315.100.101.2.1', - 'trapHA' => '1.3.6.1.4.1.13315.100.101.2.2', - 'trapCommandServer' => '1.3.6.1.4.1.13315.100.101.2.3', - 'trapDHCP' => '1.3.6.1.4.1.13315.100.101.2.4', - 'trapReplication' => '1.3.6.1.4.1.13315.100.101.2.5', - 'trapTFTP' => '1.3.6.1.4.1.13315.100.101.2.6', - 'trapSystem' => '1.3.6.1.4.1.13315.100.101.2.7', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'ADONIS-DNS-MIB'} = { - 'dhcpLeaseBindState' => { - '0' => 'free', - '1' => 'active', - '2' => 'fixed', - }, -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARISTAIFMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARISTAIFMIB.pm deleted file mode 100644 index 1d64ada..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARISTAIFMIB.pm +++ /dev/null @@ -1,47 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::ARISTAIFMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'ARISTA-IF-MIB'} = { - url => '', - name => 'ARISTA-IF-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'ARISTA-IF-MIB'} = - '1.3.6.1.4.1.30065.3.15'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'ARISTA-IF-MIB'} = { - 'aristaIfMIB' => '1.3.6.1.4.1.30065.3.15', - 'aristaIf' => '1.3.6.1.4.1.30065.3.15.1', - 'aristaIfTable' => '1.3.6.1.4.1.30065.3.15.1.1', - 'aristaIfEntry' => '1.3.6.1.4.1.30065.3.15.1.1.1', - 'aristaIfCounterLastUpdated' => '1.3.6.1.4.1.30065.3.15.1.1.1.1', - #'aristaIfCounterLastUpdatedDefinition' => 'SNMPv2-SMI::TimeTicks', - 'aristaIfRateInterval' => '1.3.6.1.4.1.30065.3.15.1.1.1.2', - #'aristaIfRateIntervalDefinition' => 'SNMPv2-SMI::TimeTicks', - 'aristaIfInPktRate' => '1.3.6.1.4.1.30065.3.15.1.1.1.3', - #'aristaIfInPktRateDefinition' => 'SNMPv2-SMI::Gauge32', - 'aristaIfOutPktRate' => '1.3.6.1.4.1.30065.3.15.1.1.1.4', - #'aristaIfOutPktRateDefinition' => 'SNMPv2-SMI::Gauge32', - 'aristaIfInOctetRate' => '1.3.6.1.4.1.30065.3.15.1.1.1.5', - #'aristaIfInOctetRateDefinition' => 'HCNUM-TC::CounterBasedGauge64', - 'aristaIfOutOctetRate' => '1.3.6.1.4.1.30065.3.15.1.1.1.6', - #'aristaIfOutOctetRateDefinition' => 'HCNUM-TC::CounterBasedGauge64', - 'aristaIfRatesLastUpdated' => '1.3.6.1.4.1.30065.3.15.1.1.1.7', - #'aristaIfRatesLastUpdatedDefinition' => 'SNMPv2-SMI::TimeTicks', - 'aristaIfOperStatusChanges' => '1.3.6.1.4.1.30065.3.15.1.1.1.8', - #'aristaIfOperStatusChangesDefinition' => 'SNMPv2-SMI::Counter32', - 'aristaIfInAclDrops' => '1.3.6.1.4.1.30065.3.15.1.1.1.9', - #'aristaIfInAclDropsDefinition' => 'SNMPv2-SMI::Counter32', - 'aristaIfErrDisabledReason' => '1.3.6.1.4.1.30065.3.15.1.1.1.10', - 'aristaIfDot1xEapolPortDrops' => '1.3.6.1.4.1.30065.3.15.1.1.1.11', - #'aristaIfDot1xEapolPortDropsDefinition' => 'SNMPv2-SMI::Counter32', - 'aristaIfDot1xEapolHostDrops' => '1.3.6.1.4.1.30065.3.15.1.1.1.12', - #'aristaIfDot1xEapolHostDropsDefinition' => 'SNMPv2-SMI::Counter32', - 'aristaIfDot1xMbaHostDrops' => '1.3.6.1.4.1.30065.3.15.1.1.1.13', - #'aristaIfDot1xMbaHostDropsDefinition' => 'SNMPv2-SMI::Counter32', - 'aristaIfConformance' => '1.3.6.1.4.1.30065.3.15.2', - 'aristaIfGroups' => '1.3.6.1.4.1.30065.3.15.2.1', - 'aristaIfCompliances' => '1.3.6.1.4.1.30065.3.15.2.2', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'ARISTA-IF-MIB'} = { -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDCHASSISMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDCHASSISMIB.pm deleted file mode 100644 index ca8943d..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDCHASSISMIB.pm +++ /dev/null @@ -1,20 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::ARUBAWIREDCHASSISMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'ARUBAWIRED-CHASSIS-MIB'} = { - url => '', - name => 'ARUBAWIRED-CHASSIS-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'ARUBAWIRED-CHASSIS-MIB'} = - '1.3.6.1.4.1.47196.4.1.1.3.11'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'ARUBAWIRED-CHASSIS-MIB'} = { - 'arubaWiredChassisMIB' => '1.3.6.1.4.1.47196.4.1.1.3.11', - 'arubaWiredPowerSupply' => '1.3.6.1.4.1.47196.4.1.1.3.11.2', - 'arubaWiredTempSensor' => '1.3.6.1.4.1.47196.4.1.1.3.11.3', - 'arubaWiredFanTray' => '1.3.6.1.4.1.47196.4.1.1.3.11.4', - 'arubaWiredFan' => '1.3.6.1.4.1.47196.4.1.1.3.11.5', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'ARUBAWIRED-CHASSIS-MIB'} = { -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDFANMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDFANMIB.pm deleted file mode 100644 index ee3f6d8..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDFANMIB.pm +++ /dev/null @@ -1,31 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::ARUBAWIREDFANMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'ARUBAWIRED-FAN-MIB'} = { - url => '', - name => 'ARUBAWIRED-FAN-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'ARUBAWIRED-FAN-MIB'} = - '1.3.6.1.4.1.47196.4.1.1.3.11.5'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'ARUBAWIRED-FAN-MIB'} = { - 'arubaWiredFan' => '1.3.6.1.4.1.47196.4.1.1.3.11.5', - 'arubaWiredFanNotifications' => '1.3.6.1.4.1.47196.4.1.1.3.11.5.0', - 'arubaWiredFanTable' => '1.3.6.1.4.1.47196.4.1.1.3.11.5.1', - 'arubaWiredFanEntry' => '1.3.6.1.4.1.47196.4.1.1.3.11.5.1.1', - 'arubaWiredFanGroupIndex' => '1.3.6.1.4.1.47196.4.1.1.3.11.5.1.1.1', - 'arubaWiredFanTrayIndex' => '1.3.6.1.4.1.47196.4.1.1.3.11.5.1.1.2', - 'arubaWiredFanSlotIndex' => '1.3.6.1.4.1.47196.4.1.1.3.11.5.1.1.3', - 'arubaWiredFanName' => '1.3.6.1.4.1.47196.4.1.1.3.11.5.1.1.4', - 'arubaWiredFanState' => '1.3.6.1.4.1.47196.4.1.1.3.11.5.1.1.5', - 'arubaWiredFanProductName' => '1.3.6.1.4.1.47196.4.1.1.3.11.5.1.1.6', - 'arubaWiredFanSerialNumber' => '1.3.6.1.4.1.47196.4.1.1.3.11.5.1.1.7', - 'arubaWiredFanRPM' => '1.3.6.1.4.1.47196.4.1.1.3.11.5.1.1.8', - 'arubaWiredFanAirflowDirection' => '1.3.6.1.4.1.47196.4.1.1.3.11.5.1.1.9', - 'arubaWiredFanConformance' => '1.3.6.1.4.1.47196.4.1.1.3.11.5.99', - 'arubaWiredFanCompliances' => '1.3.6.1.4.1.47196.4.1.1.3.11.5.99.1', - 'arubaWiredFanGroups' => '1.3.6.1.4.1.47196.4.1.1.3.11.5.99.2', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'ARUBAWIRED-FAN-MIB'} = { -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDFANTRAYMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDFANTRAYMIB.pm deleted file mode 100644 index 14a4fda..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDFANTRAYMIB.pm +++ /dev/null @@ -1,29 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::ARUBAWIREDFANTRAYMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'ARUBAWIRED-FANTRAY-MIB'} = { - url => '', - name => 'ARUBAWIRED-FANTRAY-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'ARUBAWIRED-FANTRAY-MIB'} = - '1.3.6.1.4.1.47196.4.1.1.3.11.4'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'ARUBAWIRED-FANTRAY-MIB'} = { - 'arubaWiredFanTray' => '1.3.6.1.4.1.47196.4.1.1.3.11.4', - 'arubaWiredFanTrayNotifications' => '1.3.6.1.4.1.47196.4.1.1.3.11.4.0', - 'arubaWiredFanTrayTable' => '1.3.6.1.4.1.47196.4.1.1.3.11.4.1', - 'arubaWiredFanTrayEntry' => '1.3.6.1.4.1.47196.4.1.1.3.11.4.1.1', - 'arubaWiredFanTrayGroupIndex' => '1.3.6.1.4.1.47196.4.1.1.3.11.4.1.1.1', - 'arubaWiredFanTraySlotIndex' => '1.3.6.1.4.1.47196.4.1.1.3.11.4.1.1.2', - 'arubaWiredFanTrayName' => '1.3.6.1.4.1.47196.4.1.1.3.11.4.1.1.3', - 'arubaWiredFanTrayState' => '1.3.6.1.4.1.47196.4.1.1.3.11.4.1.1.4', - 'arubaWiredFanTrayProductName' => '1.3.6.1.4.1.47196.4.1.1.3.11.4.1.1.5', - 'arubaWiredFanTraySerialNumber' => '1.3.6.1.4.1.47196.4.1.1.3.11.4.1.1.6', - 'arubaWiredFanTrayNumberFans' => '1.3.6.1.4.1.47196.4.1.1.3.11.4.1.1.7', - 'arubaWiredFanTrayConformance' => '1.3.6.1.4.1.47196.4.1.1.3.11.4.99', - 'arubaWiredFanTrayCompliances' => '1.3.6.1.4.1.47196.4.1.1.3.11.4.99.1', - 'arubaWiredFanTrayGroups' => '1.3.6.1.4.1.47196.4.1.1.3.11.4.99.2', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'ARUBAWIRED-FANTRAY-MIB'} = { -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDPOWERSUPPLYMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDPOWERSUPPLYMIB.pm deleted file mode 100644 index 608791d..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDPOWERSUPPLYMIB.pm +++ /dev/null @@ -1,32 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::ARUBAWIREDPOWERSUPPLYMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'ARUBAWIRED-POWERSUPPLY-MIB'} = { - url => '', - name => 'ARUBAWIRED-POWERSUPPLY-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'ARUBAWIRED-POWERSUPPLY-MIB'} = - '1.3.6.1.4.1.47196.4.1.1.3.11.2'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'ARUBAWIRED-POWERSUPPLY-MIB'} = { - 'arubaWiredPowerSupply' => '1.3.6.1.4.1.47196.4.1.1.3.11.2', - 'arubaWiredPSUNotifications' => '1.3.6.1.4.1.47196.4.1.1.3.11.2.0', - 'arubaWiredPowerSupplyTable' => '1.3.6.1.4.1.47196.4.1.1.3.11.2.1', - 'arubaWiredPowerSupplyEntry' => '1.3.6.1.4.1.47196.4.1.1.3.11.2.1.1', - 'arubaWiredPSUGroupIndex' => '1.3.6.1.4.1.47196.4.1.1.3.11.2.1.1.1', - 'arubaWiredPSUSlotIndex' => '1.3.6.1.4.1.47196.4.1.1.3.11.2.1.1.2', - 'arubaWiredPSUName' => '1.3.6.1.4.1.47196.4.1.1.3.11.2.1.1.3', - 'arubaWiredPSUState' => '1.3.6.1.4.1.47196.4.1.1.3.11.2.1.1.4', - 'arubaWiredPSUProductName' => '1.3.6.1.4.1.47196.4.1.1.3.11.2.1.1.5', - 'arubaWiredPSUSerialNumber' => '1.3.6.1.4.1.47196.4.1.1.3.11.2.1.1.6', - 'arubaWiredPSUInstantaneousPower' => '1.3.6.1.4.1.47196.4.1.1.3.11.2.1.1.7', - 'arubaWiredPSUMaximumPower' => '1.3.6.1.4.1.47196.4.1.1.3.11.2.1.1.8', - 'arubaWiredPSUNumberFailures' => '1.3.6.1.4.1.47196.4.1.1.3.11.2.1.1.9', - 'arubaWiredPSUAirflowDirection' => '1.3.6.1.4.1.47196.4.1.1.3.11.2.1.1.10', - 'arubaWiredPowerSupplyConformance' => '1.3.6.1.4.1.47196.4.1.1.3.11.2.99', - 'arubaWiredPowerSupplyCompliances' => '1.3.6.1.4.1.47196.4.1.1.3.11.2.99.1', - 'arubaWiredPowerSupplyGroups' => '1.3.6.1.4.1.47196.4.1.1.3.11.2.99.2', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'ARUBAWIRED-POWERSUPPLY-MIB'} = { -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDTEMPSENSORMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDTEMPSENSORMIB.pm deleted file mode 100644 index 4218542..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDTEMPSENSORMIB.pm +++ /dev/null @@ -1,31 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::ARUBAWIREDTEMPSENSORMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'ARUBAWIRED-TEMPSENSOR-MIB'} = { - url => '', - name => 'ARUBAWIRED-TEMPSENSOR-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'ARUBAWIRED-TEMPSENSOR-MIB'} = - '1.3.6.1.4.1.47196.4.1.1.3.11.3'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'ARUBAWIRED-TEMPSENSOR-MIB'} = { - 'arubaWiredTempSensor' => '1.3.6.1.4.1.47196.4.1.1.3.11.3', - 'arubaWiredTempSensorNotifications' => '1.3.6.1.4.1.47196.4.1.1.3.11.3.0', - 'arubaWiredTempSensorTable' => '1.3.6.1.4.1.47196.4.1.1.3.11.3.1', - 'arubaWiredTempSensorEntry' => '1.3.6.1.4.1.47196.4.1.1.3.11.3.1.1', - 'arubaWiredTempSensorGroupIndex' => '1.3.6.1.4.1.47196.4.1.1.3.11.3.1.1.1', - 'arubaWiredTempSensorSlotTypeIndex' => '1.3.6.1.4.1.47196.4.1.1.3.11.3.1.1.2', - 'arubaWiredTempSensorSlotIndex' => '1.3.6.1.4.1.47196.4.1.1.3.11.3.1.1.3', - 'arubaWiredTempSensorIndex' => '1.3.6.1.4.1.47196.4.1.1.3.11.3.1.1.4', - 'arubaWiredTempSensorName' => '1.3.6.1.4.1.47196.4.1.1.3.11.3.1.1.5', - 'arubaWiredTempSensorState' => '1.3.6.1.4.1.47196.4.1.1.3.11.3.1.1.6', - 'arubaWiredTempSensorTemperature' => '1.3.6.1.4.1.47196.4.1.1.3.11.3.1.1.7', - 'arubaWiredTempSensorMinTemp' => '1.3.6.1.4.1.47196.4.1.1.3.11.3.1.1.8', - 'arubaWiredTempSensorMaxTemp' => '1.3.6.1.4.1.47196.4.1.1.3.11.3.1.1.9', - 'arubaWiredTempSensorConformance' => '1.3.6.1.4.1.47196.4.1.1.3.11.3.99', - 'arubaWiredTempSensorCompliances' => '1.3.6.1.4.1.47196.4.1.1.3.11.3.99.1', - 'arubaWiredTempSensorGroups' => '1.3.6.1.4.1.47196.4.1.1.3.11.3.99.2', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'ARUBAWIRED-TEMPSENSOR-MIB'} = { -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDVSFMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDVSFMIB.pm deleted file mode 100644 index f4f606f..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDVSFMIB.pm +++ /dev/null @@ -1,56 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::ARUBAWIREDVSFMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'ARUBAWIRED-VSF-MIB'} = { - url => '', - name => 'ARUBAWIRED-VSF-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'ARUBAWIRED-VSF-MIB'} = - '1.3.6.1.4.1.47196.4.1.1.3.10'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'ARUBAWIRED-VSF-MIB'} = { - 'arubaWiredVsfMIB' => '1.3.6.1.4.1.47196.4.1.1.3.10', - 'arubaWiredVsfObjects' => '1.3.6.1.4.1.47196.4.1.1.3.10.0', - 'arubaWiredVsfConfig' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.1', - 'arubaWiredVsfTrapEnable' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.1.1', - 'arubaWiredVsfOobmMADEnable' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.1.2', - 'arubaWiredVsfOobmMADEnableDefinition' => 'ARUBAWIRED-VSF-MIB::arubaWiredVsfOobmMADEnable', - 'arubaWiredVsfStatus' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.2', - 'arubaWiredVsfOperStatus' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.2.1', - 'arubaWiredVsfTopology' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.2.2', - 'arubaWiredVsfMemberTable' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.3', - 'arubaWiredVsfMemberEntry' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.3.1', - 'arubaWiredVsfMemberIndex' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.3.1.1', - 'arubaWiredVsfMemberRole' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.3.1.2', - 'arubaWiredVsfMemberStatus' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.3.1.3', - 'arubaWiredVsfMemberPartNumber' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.3.1.4', - 'arubaWiredVsfMemberMacAddr' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.3.1.5', - 'arubaWiredVsfMemberProductName' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.3.1.6', - 'arubaWiredVsfMemberSerialNum' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.3.1.7', - 'arubaWiredVsfMemberBootImage' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.3.1.8', - 'arubaWiredVsfMemberCpuUtil' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.3.1.9', - 'arubaWiredVsfMemberMemoryUtil' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.3.1.10', - 'arubaWiredVsfMemberBootTime' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.3.1.11', - 'arubaWiredVsfMemberBootRomVersion' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.3.1.12', - 'arubaWiredVsfMemberTotalMemory' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.3.1.13', - 'arubaWiredVsfMemberCurrentUsage' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.3.1.14', - 'arubaWiredVsfLinkTable' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.4', - 'arubaWiredVsfLinkEntry' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.4.1', - 'arubaWiredVsfLinkMemberId' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.4.1.1', - 'arubaWiredVsfLinkId' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.4.1.2', - 'arubaWiredVsfLinkOperStatus' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.4.1.3', - 'arubaWiredVsfLinkPeerMemberId' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.4.1.4', - 'arubaWiredVsfLinkPeerLinkId' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.4.1.5', - 'arubaWiredVsfLinkPortList' => '1.3.6.1.4.1.47196.4.1.1.3.10.0.4.1.6', - 'arubaWiredVsfNotifications' => '1.3.6.1.4.1.47196.4.1.1.3.10.1', - 'arubaWiredVsfConformance' => '1.3.6.1.4.1.47196.4.1.1.3.10.2', - 'arubaWiredVsfCompliances' => '1.3.6.1.4.1.47196.4.1.1.3.10.2.1', - 'arubaWiredVsfGroups' => '1.3.6.1.4.1.47196.4.1.1.3.10.2.2', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'ARUBAWIRED-VSF-MIB'} = { - 'arubaWiredVsfOobmMADEnable' => { - '1' => 'none', - '2' => 'mgmt', - }, -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BAMSNMPMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BAMSNMPMIB.pm deleted file mode 100644 index acc0369..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BAMSNMPMIB.pm +++ /dev/null @@ -1,82 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::BAMSNMPMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'BAM-SNMP-MIB'} = { - url => '', - name => 'BAM-SNMP-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'BAM-SNMP-MIB'} = - '1.3.6.1.4.1.13315.100.210'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'BAM-SNMP-MIB'} = { - 'bam' => '1.3.6.1.4.1.13315.100.210', - 'app' => '1.3.6.1.4.1.13315.100.210.1', - 'common' => '1.3.6.1.4.1.13315.100.210.1.1', - 'version' => '1.3.6.1.4.1.13315.100.210.1.1.1', - 'startTime' => '1.3.6.1.4.1.13315.100.210.1.1.2', - 'startTimeDefinition' => 'MIB-2-MIB::DateAndTime', - 'notificationMessage' => '1.3.6.1.4.1.13315.100.210.1.1.3', - 'database' => '1.3.6.1.4.1.13315.100.210.1.2', - 'maxPoolSize' => '1.3.6.1.4.1.13315.100.210.1.2.1', - 'numConnections' => '1.3.6.1.4.1.13315.100.210.1.2.2', - 'deployer' => '1.3.6.1.4.1.13315.100.210.1.3', - 'serverCountInQueue' => '1.3.6.1.4.1.13315.100.210.1.3.1', - 'executingServerCount' => '1.3.6.1.4.1.13315.100.210.1.3.2', - 'numberOfTasks' => '1.3.6.1.4.1.13315.100.210.1.3.3', - 'eventNotification' => '1.3.6.1.4.1.13315.100.210.1.4', - 'queueCount' => '1.3.6.1.4.1.13315.100.210.1.4.1', - 'reconciliation' => '1.3.6.1.4.1.13315.100.210.1.5', - 'poolSize' => '1.3.6.1.4.1.13315.100.210.1.5.1', - 'scheduledDeployer' => '1.3.6.1.4.1.13315.100.210.1.6', - 'numOfTimers' => '1.3.6.1.4.1.13315.100.210.1.6.1', - 'running' => '1.3.6.1.4.1.13315.100.210.1.6.2', - 'scheduledTaskService' => '1.3.6.1.4.1.13315.100.210.1.7', - 'queueSize' => '1.3.6.1.4.1.13315.100.210.1.7.1', - 'replication' => '1.3.6.1.4.1.13315.100.210.1.8', - 'walFilesTotalSize' => '1.3.6.1.4.1.13315.100.210.1.8.1', - 'replicationNodeStatus' => '1.3.6.1.4.1.13315.100.210.1.8.2', - 'replicationNodeStatusDefinition' => 'BAM-SNMP-MIB::replicationNodeStatus', - 'replicationAverageLatency' => '1.3.6.1.4.1.13315.100.210.1.8.3', - 'replicationWarningThreshold' => '1.3.6.1.4.1.13315.100.210.1.8.4', - 'replicationBreakThreshold' => '1.3.6.1.4.1.13315.100.210.1.8.5', - 'replicationLatencyWarningThreshold' => '1.3.6.1.4.1.13315.100.210.1.8.6', - 'replicationLatencyCriticalThreshold' => '1.3.6.1.4.1.13315.100.210.1.8.7', - 'replicationStatusTable' => '1.3.6.1.4.1.13315.100.210.1.8.8', - 'replicationStatusEntry' => '1.3.6.1.4.1.13315.100.210.1.8.8.1', - 'hostname' => '1.3.6.1.4.1.13315.100.210.1.8.8.1.1', - 'ipv4Address' => '1.3.6.1.4.1.13315.100.210.1.8.8.1.2', - 'currentLatency' => '1.3.6.1.4.1.13315.100.210.1.8.8.1.3', - 'replicationHealth' => '1.3.6.1.4.1.13315.100.210.1.8.8.1.4', - 'replicationHealthDefinition' => 'BAM-SNMP-MIB::replicationHealth', - 'replicationRole' => '1.3.6.1.4.1.13315.100.210.1.8.8.1.5', - 'notification' => '1.3.6.1.4.1.13315.100.210.1.9', - 'messagesReceived' => '1.3.6.1.4.1.13315.100.210.1.9.1', - 'messagesAccepted' => '1.3.6.1.4.1.13315.100.210.1.9.2', - 'ackSent' => '1.3.6.1.4.1.13315.100.210.1.9.3', - 'messagesProcessed' => '1.3.6.1.4.1.13315.100.210.1.9.4', - 'dbBackup' => '1.3.6.1.4.1.13315.100.210.1.10', - 'lastSuccessfulBackupTime' => '1.3.6.1.4.1.13315.100.210.1.10.1', - 'lastSuccessfulBackupTimeDefinition' => 'MIB-2-MIB::DateAndTime', - 'lastSuccessfulRemoteBackupTime' => '1.3.6.1.4.1.13315.100.210.1.10.2', - 'lastSuccessfulRemoteBackupTimeDefinition' => 'MIB-2-MIB::DateAndTime', - 'jvm' => '1.3.6.1.4.1.13315.100.210.3', - 'freeMemory' => '1.3.6.1.4.1.13315.100.210.3.1', - 'maxMemory' => '1.3.6.1.4.1.13315.100.210.3.2', - 'gcTime' => '1.3.6.1.4.1.13315.100.210.3.3', - 'usageThresholdExceeded' => '1.3.6.1.4.1.13315.100.210.3.4', - 'activeThreadCount' => '1.3.6.1.4.1.13315.100.210.3.5', - 'traps' => '1.3.6.1.4.1.13315.100.210.255', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'BAM-SNMP-MIB'} = { - 'replicationNodeStatus' => { - '0' => 'standalone', - '1' => 'primary', - '2' => 'standby', - }, - 'replicationHealth' => { - '0' => 'Not Replicating', - '1' => 'Initializing', - '2' => 'Replicating', - } -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDHCPV4MIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDHCPV4MIB.pm deleted file mode 100644 index 34455f4..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDHCPV4MIB.pm +++ /dev/null @@ -1,80 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::BCNDHCPV4MIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'BCN-DHCPV4-MIB'} = { - url => '', - name => 'BCN-DHCPV4-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'BCN-DHCPV4-MIB'} = - 'bcnDhcpv4MIB'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'BCN-DHCPV4-MIB'} = { - 'bcnDhcpv4' => '1.3.6.1.4.1.13315.3.1.1', - 'bcnDhcpv4MIB' => '1.3.6.1.4.1.13315.3.1.1.1', - 'bcnDhcpv4Objects' => '1.3.6.1.4.1.13315.3.1.1.2', - 'bcnDhcpv4ServiceStatus' => '1.3.6.1.4.1.13315.3.1.1.2.1', - 'bcnDhcpv4SerOperState' => '1.3.6.1.4.1.13315.3.1.1.2.1.1', - 'bcnDhcpv4SerOperStateDefinition' => 'BCN-DHCPV4-MIB::bcnDhcpv4SerOperState', - 'bcnDhcpv4FirstAlertIpAddr' => '1.3.6.1.4.1.13315.3.1.1.2.1.2', - 'bcnDhcpv4LeaseStatsSuccess' => '1.3.6.1.4.1.13315.3.1.1.2.1.3', - 'bcnDhcpv4ServiceStatistics' => '1.3.6.1.4.1.13315.3.1.1.2.2', - 'bcnDhcpv4LeaseTable' => '1.3.6.1.4.1.13315.3.1.1.2.2.1', - 'bcnDhcpv4LeaseEntry' => '1.3.6.1.4.1.13315.3.1.1.2.2.1.1', - 'bcnDhcpv4LeaseIP' => '1.3.6.1.4.1.13315.3.1.1.2.2.1.1.1', - 'bcnDhcpv4LeaseStartTime' => '1.3.6.1.4.1.13315.3.1.1.2.2.1.1.2', - 'bcnDhcpv4LeaseEndTime' => '1.3.6.1.4.1.13315.3.1.1.2.2.1.1.3', - 'bcnDhcpv4LeaseTimeStamp' => '1.3.6.1.4.1.13315.3.1.1.2.2.1.1.4', - 'bcnDhcpv4LeaseMacAddress' => '1.3.6.1.4.1.13315.3.1.1.2.2.1.1.5', - 'bcnDhcpv4LeaseHostname' => '1.3.6.1.4.1.13315.3.1.1.2.2.1.1.6', - 'bcnDhcpv4SubnetTable' => '1.3.6.1.4.1.13315.3.1.1.2.2.2', - 'bcnDhcpv4SubnetEntry' => '1.3.6.1.4.1.13315.3.1.1.2.2.2.1', - 'bcnDhcpv4SubnetIP' => '1.3.6.1.4.1.13315.3.1.1.2.2.2.1.1', - 'bcnDhcpv4SubnetMask' => '1.3.6.1.4.1.13315.3.1.1.2.2.2.1.2', - 'bcnDhcpv4SubnetSize' => '1.3.6.1.4.1.13315.3.1.1.2.2.2.1.3', - 'bcnDhcpv4SubnetFreeAddresses' => '1.3.6.1.4.1.13315.3.1.1.2.2.2.1.4', - 'bcnDhcpv4SubnetLowThreshold' => '1.3.6.1.4.1.13315.3.1.1.2.2.2.1.5', - 'bcnDhcpv4SubnetHighThreshold' => '1.3.6.1.4.1.13315.3.1.1.2.2.2.1.6', - 'bcnDhcpv4PoolTable' => '1.3.6.1.4.1.13315.3.1.1.2.2.3', - 'bcnDhcpv4PoolEntry' => '1.3.6.1.4.1.13315.3.1.1.2.2.3.1', - 'bcnDhcpv4PoolStartIP' => '1.3.6.1.4.1.13315.3.1.1.2.2.3.1.1', - 'bcnDhcpv4PoolEndIP' => '1.3.6.1.4.1.13315.3.1.1.2.2.3.1.2', - 'bcnDhcpv4PoolSubnetIP' => '1.3.6.1.4.1.13315.3.1.1.2.2.3.1.3', - 'bcnDhcpv4PoolSize' => '1.3.6.1.4.1.13315.3.1.1.2.2.3.1.4', - 'bcnDhcpv4PoolFreeAddresses' => '1.3.6.1.4.1.13315.3.1.1.2.2.3.1.5', - 'bcnDhcpv4FixedIPTable' => '1.3.6.1.4.1.13315.3.1.1.2.2.4', - 'bcnDhcpv4FixedIPEntry' => '1.3.6.1.4.1.13315.3.1.1.2.2.4.1', - 'bcnDhcpv4FixedIP' => '1.3.6.1.4.1.13315.3.1.1.2.2.4.1.1', - 'bcnDhcpv4Notification' => '1.3.6.1.4.1.13315.3.1.1.3', - 'bcnDhcpv4NotificationEvents' => '1.3.6.1.4.1.13315.3.1.1.3.0', - 'bcnDhcpv4NotificationData' => '1.3.6.1.4.1.13315.3.1.1.3.1', - 'bcnDhcpv4AlarmSeverity' => '1.3.6.1.4.1.13315.3.1.1.3.1.1', - 'bcnDhcpv4AlarmInfo' => '1.3.6.1.4.1.13315.3.1.1.3.1.2', - 'bcnDhcpv4FailOverState' => '1.3.6.1.4.1.13315.3.1.1.3.1.3', - 'bcnDhcpv4FailOverStateDefinition' => 'BCN-DHCPV4-MIB::bcnDhcpv4FailOverState', - 'bcnDhcpv4SubnetAlertIpAddr' => '1.3.6.1.4.1.13315.3.1.1.3.1.4', - 'bcnDhcpv4Conformance' => '1.3.6.1.4.1.13315.3.1.1.4', - 'bcnDhcpv4ServiceCompliances' => '1.3.6.1.4.1.13315.3.1.1.4.1', - 'bcnDhcpv4ServiceGroups' => '1.3.6.1.4.1.13315.3.1.1.4.2', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'BCN-DHCPV4-MIB'} = { - 'bcnDhcpv4FailOverState' => { - '1' => 'startup', - '2' => 'normal', - '3' => 'communicationsInterrupted', - '4' => 'partnerDown', - '5' => 'potentialConflict', - '6' => 'recover', - '7' => 'paused', - '8' => 'shutdown', - '9' => 'recoverDone', - '254' => 'recoverWait', - }, - 'bcnDhcpv4SerOperState' => { - '1' => 'running', - '2' => 'notRunning', - '3' => 'starting', - '4' => 'stopping', - '5' => 'fault', - }, -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDNSMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDNSMIB.pm deleted file mode 100644 index e596f63..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDNSMIB.pm +++ /dev/null @@ -1,55 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::BCNDNSMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'BCN-DNS-MIB'} = { - url => '', - name => 'BCN-DNS-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'BCN-DNS-MIB'} = - '1.3.6.1.4.1.13315.3.1.2.1'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'BCN-DNS-MIB'} = { - 'bcnDns' => '1.3.6.1.4.1.13315.3.1.2', - 'bcnDnsMIB' => '1.3.6.1.4.1.13315.3.1.2.1', - 'bcnDnsObjects' => '1.3.6.1.4.1.13315.3.1.2.2', - 'bcnDnsServiceStatus' => '1.3.6.1.4.1.13315.3.1.2.2.1', - 'bcnDnsSerOperState' => '1.3.6.1.4.1.13315.3.1.2.2.1.1', - 'bcnDnsSerOperStateDefinition' => 'BCN-DNS-MIB::bcnDnsSerOperState', - 'bcnDnsSerNumberOfZones' => '1.3.6.1.4.1.13315.3.1.2.2.1.2', - 'bcnDnsSerTransfersRunning' => '1.3.6.1.4.1.13315.3.1.2.2.1.3', - 'bcnDnsSerTransfersDeferred' => '1.3.6.1.4.1.13315.3.1.2.2.1.4', - 'bcnDnsSerSOAQueriesInProgress' => '1.3.6.1.4.1.13315.3.1.2.2.1.5', - 'bcnDnsSerQueryLogging' => '1.3.6.1.4.1.13315.3.1.2.2.1.6', - 'bcnDnsSerQueryLoggingDefinition' => 'BCN-DNS-MIB::bcnDnsSerQueryLogging', - 'bcnDnsSerDebugLevel' => '1.3.6.1.4.1.13315.3.1.2.2.1.7', - 'bcnDnsServiceStatistics' => '1.3.6.1.4.1.13315.3.1.2.2.2', - 'bcnDnsStatServer' => '1.3.6.1.4.1.13315.3.1.2.2.2.1', - 'bcnDnsStatSrvQrySuccess' => '1.3.6.1.4.1.13315.3.1.2.2.2.1.1', - 'bcnDnsStatSrvQryReferral' => '1.3.6.1.4.1.13315.3.1.2.2.2.1.2', - 'bcnDnsStatSrvQryNXRRSet' => '1.3.6.1.4.1.13315.3.1.2.2.2.1.3', - 'bcnDnsStatSrvQryNXDomain' => '1.3.6.1.4.1.13315.3.1.2.2.2.1.4', - 'bcnDnsStatSrvQryRecursion' => '1.3.6.1.4.1.13315.3.1.2.2.2.1.5', - 'bcnDnsStatSrvQryFailure' => '1.3.6.1.4.1.13315.3.1.2.2.2.1.6', - 'bcnDnsNotification' => '1.3.6.1.4.1.13315.3.1.2.3', - 'bcnDnsNotificationEvents' => '1.3.6.1.4.1.13315.3.1.2.3.0', - 'bcnDnsNotificationData' => '1.3.6.1.4.1.13315.3.1.2.3.1', - 'bcnDnsAlarmSeverity' => '1.3.6.1.4.1.13315.3.1.2.3.1.1', - 'bcnDnsAlarmInfo' => '1.3.6.1.4.1.13315.3.1.2.3.1.2', - 'bcnDnsConformance' => '1.3.6.1.4.1.13315.3.1.2.4', - 'bcnDnsServiceCompliances' => '1.3.6.1.4.1.13315.3.1.2.4.1', - 'bcnDnsServiceGroups' => '1.3.6.1.4.1.13315.3.1.2.4.2', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'BCN-DNS-MIB'} = { - 'bcnDnsSerOperState' => { - '1' => 'running', - '2' => 'notRunning', - '3' => 'starting', - '4' => 'stopping', - '5' => 'fault', - }, - 'bcnDnsSerQueryLogging' => { - '1' => 'on', - '2' => 'off', - }, -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNSYSTEMMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNSYSTEMMIB.pm deleted file mode 100644 index 513434e..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNSYSTEMMIB.pm +++ /dev/null @@ -1,57 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::BCNSYSTEMMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'BCN-SYSTEM-MIB'} = { - url => '', - name => 'BCN-SYSTEM-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'BCN-SYSTEM-MIB'} = - '1.3.6.1.4.1.13315.3.2.1'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'BCN-SYSTEM-MIB'} = { - 'bcnSystem' => '1.3.6.1.4.1.13315.3.2', - 'bcnSystemMIB' => '1.3.6.1.4.1.13315.3.2.1', - 'bcnSystemObjects' => '1.3.6.1.4.1.13315.3.2.2', - 'bcnSysIdentification' => '1.3.6.1.4.1.13315.3.2.2.1', - 'bcnSysIdProduct' => '1.3.6.1.4.1.13315.3.2.2.1.1', - 'bcnSysIdOSRelease' => '1.3.6.1.4.1.13315.3.2.2.1.2', - 'bcnSysIdSerial' => '1.3.6.1.4.1.13315.3.2.2.1.3', - 'bcnSysIdServiceTag' => '1.3.6.1.4.1.13315.3.2.2.1.4', - 'bcnSysIdPlatform' => '1.3.6.1.4.1.13315.3.2.2.1.5', - 'bcnSysIdVendorPlatform' => '1.3.6.1.4.1.13315.3.2.2.1.6', - 'bcnSysIdServicesTable' => '1.3.6.1.4.1.13315.3.2.2.1.7', - 'bcnSysIdServicesEntry' => '1.3.6.1.4.1.13315.3.2.2.1.7.1', - 'bcnSysIdServicesIndex' => '1.3.6.1.4.1.13315.3.2.2.1.7.1.1', - 'bcnSysIdServicesOID' => '1.3.6.1.4.1.13315.3.2.2.1.7.1.2', - 'bcnSysIdServicesStateTS' => '1.3.6.1.4.1.13315.3.2.2.1.7.1.3', - 'bcnSysServices' => '1.3.6.1.4.1.13315.3.2.2.2', - 'bcnSysServDNSService' => '1.3.6.1.4.1.13315.3.2.2.2.1', - 'bcnSysServDHCPService' => '1.3.6.1.4.1.13315.3.2.2.2.2', - 'bcnSysServTFTPService' => '1.3.6.1.4.1.13315.3.2.2.2.3', - 'bcnSysServLicensing' => '1.3.6.1.4.1.13315.3.2.2.2.4', - 'bcnSysServTFTP' => '1.3.6.1.4.1.13315.3.2.2.2.5', - 'bcnSysServNTP' => '1.3.6.1.4.1.13315.3.2.2.2.6', - 'bcnSysServPowerSupply' => '1.3.6.1.4.1.13315.3.2.2.2.7', - 'bcnSysServNetworkInterface' => '1.3.6.1.4.1.13315.3.2.2.2.8', - 'bcnSysServHighAvailability' => '1.3.6.1.4.1.13315.3.2.2.2.9', - 'bcnSysServReplication' => '1.3.6.1.4.1.13315.3.2.2.2.10', - 'bcnSysServSystem' => '1.3.6.1.4.1.13315.3.2.2.2.11', - 'bcnSystemNotification' => '1.3.6.1.4.1.13315.3.2.3', - 'bcnSysNotificationEvents' => '1.3.6.1.4.1.13315.3.2.3.0', - 'bcnSysNotificationData' => '1.3.6.1.4.1.13315.3.2.3.1', - 'bcnSysSerOperState' => '1.3.6.1.4.1.13315.3.2.3.1.1', - 'bcnSysSerOperStateDefinition' => 'BCN-SYSTEM-MIB::bcnSysSerOperState', - 'bcnSysAlarmSeverity' => '1.3.6.1.4.1.13315.3.2.3.1.2', - 'bcnSysAlarmInfo' => '1.3.6.1.4.1.13315.3.2.3.1.3', - 'bcnSystemConformance' => '1.3.6.1.4.1.13315.3.2.4', - 'bcnSysServliances' => '1.3.6.1.4.1.13315.3.2.4.1', - 'bcnSysGroups' => '1.3.6.1.4.1.13315.3.2.4.2', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'BCN-SYSTEM-MIB'} = { - 'bcnSysSerOperState' => { - '1' => 'start', - '2' => 'reboot', - '3' => 'shutdown', - }, -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BRIDGEMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BRIDGEMIB.pm deleted file mode 100644 index 6452b0a..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BRIDGEMIB.pm +++ /dev/null @@ -1,125 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::BRIDGEMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'BRIDGE-MIB'} = { - url => '', - name => 'BRIDGE-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'BRIDGE-MIB'} = - '1.3.6.1.2.1.17'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'BRIDGE-MIB'} = { - 'dot1dBridge' => '1.3.6.1.2.1.17', - 'dot1dNotifications' => '1.3.6.1.2.1.17.0', - 'dot1dBase' => '1.3.6.1.2.1.17.1', - 'dot1dBaseBridgeAddress' => '1.3.6.1.2.1.17.1.1', - 'dot1dBaseNumPorts' => '1.3.6.1.2.1.17.1.2', - 'dot1dBaseType' => '1.3.6.1.2.1.17.1.3', - 'dot1dBaseTypeDefinition' => 'BRIDGE-MIB::dot1dBaseType', - 'dot1dBasePortTable' => '1.3.6.1.2.1.17.1.4', - 'dot1dBasePortEntry' => '1.3.6.1.2.1.17.1.4.1', - 'dot1dBasePort' => '1.3.6.1.2.1.17.1.4.1.1', - 'dot1dBasePortIfIndex' => '1.3.6.1.2.1.17.1.4.1.2', - 'dot1dBasePortCircuit' => '1.3.6.1.2.1.17.1.4.1.3', - 'dot1dBasePortDelayExceededDiscards' => '1.3.6.1.2.1.17.1.4.1.4', - 'dot1dBasePortMtuExceededDiscards' => '1.3.6.1.2.1.17.1.4.1.5', - 'dot1dStp' => '1.3.6.1.2.1.17.2', - 'dot1dStpProtocolSpecification' => '1.3.6.1.2.1.17.2.1', - 'dot1dStpProtocolSpecificationDefinition' => 'BRIDGE-MIB::dot1dStpProtocolSpecification', - 'dot1dStpPriority' => '1.3.6.1.2.1.17.2.2', - 'dot1dStpTimeSinceTopologyChange' => '1.3.6.1.2.1.17.2.3', - 'dot1dStpTopChanges' => '1.3.6.1.2.1.17.2.4', - 'dot1dStpDesignatedRoot' => '1.3.6.1.2.1.17.2.5', - 'dot1dStpRootCost' => '1.3.6.1.2.1.17.2.6', - 'dot1dStpRootPort' => '1.3.6.1.2.1.17.2.7', - 'dot1dStpMaxAge' => '1.3.6.1.2.1.17.2.8', - 'dot1dStpHelloTime' => '1.3.6.1.2.1.17.2.9', - 'dot1dStpHoldTime' => '1.3.6.1.2.1.17.2.10', - 'dot1dStpForwardDelay' => '1.3.6.1.2.1.17.2.11', - 'dot1dStpBridgeMaxAge' => '1.3.6.1.2.1.17.2.12', - 'dot1dStpBridgeHelloTime' => '1.3.6.1.2.1.17.2.13', - 'dot1dStpBridgeForwardDelay' => '1.3.6.1.2.1.17.2.14', - 'dot1dStpPortTable' => '1.3.6.1.2.1.17.2.15', - 'dot1dStpPortEntry' => '1.3.6.1.2.1.17.2.15.1', - 'dot1dStpPort' => '1.3.6.1.2.1.17.2.15.1.1', - 'dot1dStpPortPriority' => '1.3.6.1.2.1.17.2.15.1.2', - 'dot1dStpPortState' => '1.3.6.1.2.1.17.2.15.1.3', - 'dot1dStpPortStateDefinition' => 'BRIDGE-MIB::dot1dStpPortState', - 'dot1dStpPortEnable' => '1.3.6.1.2.1.17.2.15.1.4', - 'dot1dStpPortEnableDefinition' => 'BRIDGE-MIB::dot1dStpPortEnable', - 'dot1dStpPortPathCost' => '1.3.6.1.2.1.17.2.15.1.5', - 'dot1dStpPortDesignatedRoot' => '1.3.6.1.2.1.17.2.15.1.6', - 'dot1dStpPortDesignatedCost' => '1.3.6.1.2.1.17.2.15.1.7', - 'dot1dStpPortDesignatedBridge' => '1.3.6.1.2.1.17.2.15.1.8', - 'dot1dStpPortDesignatedPort' => '1.3.6.1.2.1.17.2.15.1.9', - 'dot1dStpPortForwardTransitions' => '1.3.6.1.2.1.17.2.15.1.10', - 'dot1dStpPortPathCost32' => '1.3.6.1.2.1.17.2.15.1.11', - 'dot1dSr' => '1.3.6.1.2.1.17.3', - 'dot1dTp' => '1.3.6.1.2.1.17.4', - 'dot1dTpLearnedEntryDiscards' => '1.3.6.1.2.1.17.4.1', - 'dot1dTpAgingTime' => '1.3.6.1.2.1.17.4.2', - 'dot1dTpFdbTable' => '1.3.6.1.2.1.17.4.3', - 'dot1dTpFdbEntry' => '1.3.6.1.2.1.17.4.3.1', - 'dot1dTpFdbAddress' => '1.3.6.1.2.1.17.4.3.1.1', - 'dot1dTpFdbPort' => '1.3.6.1.2.1.17.4.3.1.2', - 'dot1dTpFdbStatus' => '1.3.6.1.2.1.17.4.3.1.3', - 'dot1dTpFdbStatusDefinition' => 'BRIDGE-MIB::dot1dTpFdbStatus', - 'dot1dTpPortTable' => '1.3.6.1.2.1.17.4.4', - 'dot1dTpPortEntry' => '1.3.6.1.2.1.17.4.4.1', - 'dot1dTpPort' => '1.3.6.1.2.1.17.4.4.1.1', - 'dot1dTpPortMaxInfo' => '1.3.6.1.2.1.17.4.4.1.2', - 'dot1dTpPortInFrames' => '1.3.6.1.2.1.17.4.4.1.3', - 'dot1dTpPortOutFrames' => '1.3.6.1.2.1.17.4.4.1.4', - 'dot1dTpPortInDiscards' => '1.3.6.1.2.1.17.4.4.1.5', - 'dot1dStatic' => '1.3.6.1.2.1.17.5', - 'dot1dStaticTable' => '1.3.6.1.2.1.17.5.1', - 'dot1dStaticEntry' => '1.3.6.1.2.1.17.5.1.1', - 'dot1dStaticAddress' => '1.3.6.1.2.1.17.5.1.1.1', - 'dot1dStaticReceivePort' => '1.3.6.1.2.1.17.5.1.1.2', - 'dot1dStaticAllowedToGoTo' => '1.3.6.1.2.1.17.5.1.1.3', - 'dot1dStaticStatus' => '1.3.6.1.2.1.17.5.1.1.4', - 'dot1dStaticStatusDefinition' => 'BRIDGE-MIB::dot1dStaticStatus', - 'dot1dConformance' => '1.3.6.1.2.1.17.8', - 'dot1dGroups' => '1.3.6.1.2.1.17.8.1', - 'dot1dCompliances' => '1.3.6.1.2.1.17.8.2', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'BRIDGE-MIB'} = { - 'dot1dStpPortState' => { - '1' => 'disabled', - '2' => 'blocking', - '3' => 'listening', - '4' => 'learning', - '5' => 'forwarding', - '6' => 'broken', - }, - 'dot1dTpFdbStatus' => { - '1' => 'other', - '2' => 'invalid', - '3' => 'learned', - '4' => 'self', - '5' => 'mgmt', - }, - 'dot1dStpProtocolSpecification' => { - '1' => 'unknown', - '2' => 'decLb100', - '3' => 'ieee8021d', - }, - 'dot1dBaseType' => { - '1' => 'unknown', - '2' => 'transparent-only', - '3' => 'sourceroute-only', - '4' => 'srt', - }, - 'dot1dStpPortEnable' => { - '1' => 'enabled', - '2' => 'disabled', - }, - 'dot1dStaticStatus' => { - '1' => 'other', - '2' => 'invalid', - '3' => 'permanent', - '4' => 'deleteOnReset', - '5' => 'deleteOnTimeout', - }, -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOERRDISABLEMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOERRDISABLEMIB.pm deleted file mode 100644 index 1394199..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOERRDISABLEMIB.pm +++ /dev/null @@ -1,116 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOERRDISABLEMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'CISCO-ERR-DISABLE-MIB'} = { - url => '', - name => 'CISCO-ERR-DISABLE-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'CISCO-ERR-DISABLE-MIB'} = - '1.3.6.1.4.1.9.9.548'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-ERR-DISABLE-MIB'} = { - 'ciscoErrDisableMIB' => '1.3.6.1.4.1.9.9.548', - 'ciscoErrDisableMIBNotifs' => '1.3.6.1.4.1.9.9.548.0', - 'cErrDisableNotificationsPrefix' => '1.3.6.1.4.1.9.9.548.0.1', - 'ciscoErrDisableMIBObjects' => '1.3.6.1.4.1.9.9.548.1', - 'cErrDisableGlobalObjects' => '1.3.6.1.4.1.9.9.548.1.1', - 'cErrDisableRecoveryInterval' => '1.3.6.1.4.1.9.9.548.1.1.1', - #'cErrDisableRecoveryIntervalDefinition' => 'CISCO-TC::TimeIntervalSec', - 'cErrDisableNotifEnable' => '1.3.6.1.4.1.9.9.548.1.1.2', - 'cErrDisableNotifEnableDefinition' => 'SNMPv2-TC::TruthValue', - 'cErrDisableNotifRate' => '1.3.6.1.4.1.9.9.548.1.1.3', - 'cErrDisableFeatureObjects' => '1.3.6.1.4.1.9.9.548.1.2', - 'cErrDisableFeatureTable' => '1.3.6.1.4.1.9.9.548.1.2.1', - 'cErrDisableFeatureEntry' => '1.3.6.1.4.1.9.9.548.1.2.1.1', - 'cErrDisableFeatureIndex' => '1.3.6.1.4.1.9.9.548.1.2.1.1.1', - 'cErrDisableFeatureIndexDefinition' => 'CISCO-ERR-DISABLE-MIB::CErrDisableFeatureID', - 'cErrDisableFeatureConfigurable' => '1.3.6.1.4.1.9.9.548.1.2.1.1.2', - 'cErrDisableFeatureDetectEnable' => '1.3.6.1.4.1.9.9.548.1.2.1.1.3', - 'cErrDisableFeatureDetectEnableDefinition' => 'SNMPv2-TC::TruthValue', - 'cErrDisableFeatureRecoveryEnable' => '1.3.6.1.4.1.9.9.548.1.2.1.1.4', - 'cErrDisableFeatureRecoveryEnableDefinition' => 'SNMPv2-TC::TruthValue', - 'cErrDisableFeatureRecoveryInterval' => '1.3.6.1.4.1.9.9.548.1.2.1.1.5', - #'cErrDisableFeatureRecoveryIntervalDefinition' => 'CISCO-TC::TimeIntervalSec', - 'cErrDisableFeatureDetectShutdownVlan' => '1.3.6.1.4.1.9.9.548.1.2.1.1.6', - 'cErrDisableFeatureDetectShutdownVlanDefinition' => 'SNMPv2-TC::TruthValue', - 'cErrDisableFeatureMaxFlapCount' => '1.3.6.1.4.1.9.9.548.1.2.1.1.7', - 'cErrDisableFeatureFlapTimePeriod' => '1.3.6.1.4.1.9.9.548.1.2.1.1.8', - 'cErrDisableIfObjects' => '1.3.6.1.4.1.9.9.548.1.3', - 'cErrDisableIfStatusTable' => '1.3.6.1.4.1.9.9.548.1.3.1', - 'cErrDisableIfStatusEntry' => '1.3.6.1.4.1.9.9.548.1.3.1.1', - 'cErrDisableIfStatusVlanIndex' => '1.3.6.1.4.1.9.9.548.1.3.1.1.1', - #'cErrDisableIfStatusVlanIndexDefinition' => 'CISCO-PRIVATE-VLAN-MIB::VlanIndexOrZero', - 'cErrDisableIfStatusCause' => '1.3.6.1.4.1.9.9.548.1.3.1.1.2', - 'cErrDisableIfStatusCauseDefinition' => 'CISCO-ERR-DISABLE-MIB::CErrDisableFeatureID', - 'cErrDisableIfStatusTimeToRecover' => '1.3.6.1.4.1.9.9.548.1.3.1.1.3', - #'cErrDisableIfStatusTimeToRecoverDefinition' => 'CISCO-TC::TimeIntervalSec', - 'ciscoErrDisableMIBConform' => '1.3.6.1.4.1.9.9.548.2', - 'ciscoErrDisableMIBCompliances' => '1.3.6.1.4.1.9.9.548.2.1', - 'ciscoErrDisableMIBGroups' => '1.3.6.1.4.1.9.9.548.2.2', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCO-ERR-DISABLE-MIB'} = { - 'CErrDisableFeatureID' => { - '1' => 'udld', - '2' => 'bpduGuard', - '3' => 'channelMisconfig', - '4' => 'pagpFlap', - '5' => 'dtpFlap', - '6' => 'linkFlap', - '7' => 'l2ptGuard', - '8' => 'dot1xSecurityViolation', - '9' => 'portSecurityViolation', - '10' => 'gbicInvalid', - '11' => 'dhcpRateLimit', - '12' => 'unicastFlood', - '13' => 'vmps', - '14' => 'stormControl', - '15' => 'inlinePower', - '16' => 'arpInspection', - '17' => 'portLoopback', - '18' => 'packetBuffer', - '19' => 'macLimit', - '20' => 'linkMonitorFailure', - '21' => 'oamRemoteFailure', - '22' => 'dot1adIncompEtype', - '23' => 'dot1adIncompTunnel', - '24' => 'sfpConfigMismatch', - '25' => 'communityLimit', - '26' => 'invalidPolicy', - '27' => 'lsGroup', - '28' => 'ekey', - '29' => 'portModeFailure', - '30' => 'pppoeIaRateLimit', - '31' => 'oamRemoteCriticalEvent', - '32' => 'oamRemoteDyingGasp', - '33' => 'oamRemoteLinkFault', - '34' => 'mvrp', - '35' => 'tranceiverIncomp', - '36' => 'other', - '37' => 'portReinitLimitReached', - '38' => 'adminRxBBCreditPerfBufIncomp', - '39' => 'ficonNotEnabled', - '40' => 'adminModeIncomp', - '41' => 'adminSpeedIncomp', - '42' => 'adminRxBBCreditIncomp', - '43' => 'adminRxBufSizeIncomp', - '44' => 'eppFailure', - '45' => 'osmEPortUp', - '46' => 'osmNonEPortUp', - '47' => 'udldUniDir', - '48' => 'udldTxRxLoop', - '49' => 'udldNeighbourMismatch', - '50' => 'udldEmptyEcho', - '51' => 'udldAggrasiveModeLinkFailed', - '52' => 'excessivePortInterrupts', - '53' => 'channelErrDisabled', - '54' => 'hwProgFailed', - '55' => 'internalHandshakeFailed', - '56' => 'stpInconsistencyOnVpcPeerLink', - '57' => 'stpPortStateFailure', - '58' => 'ipConflict', - '59' => 'multipleMSapIdsRcvd', - '60' => 'oneHundredPdusWithoutAck', - '61' => 'ipQosCompatCheckFailure', - }, -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLICENSEMGMTMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLICENSEMGMTMIB.pm deleted file mode 100644 index 4dfa1ba..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLICENSEMGMTMIB.pm +++ /dev/null @@ -1,207 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOLICENSEMGMTMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'CISCO-LICENSE-MGMT-MIB'} = { - url => '', - name => 'CISCO-LICENSE-MGMT-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'CISCO-LICENSE-MGMT-MIB'} = - '1.3.6.1.4.1.9.9.543'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-LICENSE-MGMT-MIB'} = { - 'ciscoLicenseMgmtMIB' => '1.3.6.1.4.1.9.9.543', - 'ciscoLicenseMgmtMIBNotifs' => '1.3.6.1.4.1.9.9.543.0', - 'ciscoLicenseMgmtMIBObjects' => '1.3.6.1.4.1.9.9.543.1', - 'clmgmtLicenseConfiguration' => '1.3.6.1.4.1.9.9.543.1.1', - 'clmgmtNextFreeLicenseActionIndex' => '1.3.6.1.4.1.9.9.543.1.1.1', - 'clmgmtLicenseActionTable' => '1.3.6.1.4.1.9.9.543.1.1.2', - 'clmgmtLicenseActionEntry' => '1.3.6.1.4.1.9.9.543.1.1.2.1', - 'clmgmtLicenseActionIndex' => '1.3.6.1.4.1.9.9.543.1.1.2.1.1', - 'clmgmtLicenseActionEntPhysicalIndex' => '1.3.6.1.4.1.9.9.543.1.1.2.1.2', - 'clmgmtLicenseActionTransferProtocol' => '1.3.6.1.4.1.9.9.543.1.1.2.1.3', - 'clmgmtLicenseActionTransferProtocolDefinition' => 'CISCO-LICENSE-MGMT-MIB::ClmgmtLicenseTransferProtocol', - 'clmgmtLicenseServerAddressType' => '1.3.6.1.4.1.9.9.543.1.1.2.1.4', - 'clmgmtLicenseServerAddress' => '1.3.6.1.4.1.9.9.543.1.1.2.1.5', - 'clmgmtLicenseServerUsername' => '1.3.6.1.4.1.9.9.543.1.1.2.1.6', - 'clmgmtLicenseServerPassword' => '1.3.6.1.4.1.9.9.543.1.1.2.1.7', - 'clmgmtLicenseFile' => '1.3.6.1.4.1.9.9.543.1.1.2.1.8', - 'clmgmtLicenseStore' => '1.3.6.1.4.1.9.9.543.1.1.2.1.9', - 'clmgmtLicenseActionLicenseIndex' => '1.3.6.1.4.1.9.9.543.1.1.2.1.10', - 'clmgmtLicensePermissionTicketFile' => '1.3.6.1.4.1.9.9.543.1.1.2.1.11', - 'clmgmtLicenseRehostTicketFile' => '1.3.6.1.4.1.9.9.543.1.1.2.1.12', - 'clmgmtLicenseBackupFile' => '1.3.6.1.4.1.9.9.543.1.1.2.1.13', - 'clmgmtLicenseStopOnFailure' => '1.3.6.1.4.1.9.9.543.1.1.2.1.14', - 'clmgmtLicenseAction' => '1.3.6.1.4.1.9.9.543.1.1.2.1.15', - 'clmgmtLicenseActionDefinition' => 'CISCO-LICENSE-MGMT-MIB::clmgmtLicenseAction', - 'clmgmtLicenseActionState' => '1.3.6.1.4.1.9.9.543.1.1.2.1.16', - 'clmgmtLicenseActionStateDefinition' => 'CISCO-LICENSE-MGMT-MIB::ClmgmtLicenseActionState', - 'clmgmtLicenseJobQPosition' => '1.3.6.1.4.1.9.9.543.1.1.2.1.17', - 'clmgmtLicenseActionFailCause' => '1.3.6.1.4.1.9.9.543.1.1.2.1.18', - 'clmgmtLicenseActionFailCauseDefinition' => 'CISCO-LICENSE-MGMT-MIB::ClmgmtLicenseActionFailCause', - 'clmgmtLicenseActionStorageType' => '1.3.6.1.4.1.9.9.543.1.1.2.1.19', - 'clmgmtLicenseActionRowStatus' => '1.3.6.1.4.1.9.9.543.1.1.2.1.20', - 'clmgmtLicenseAcceptEULA' => '1.3.6.1.4.1.9.9.543.1.1.2.1.21', - 'clmgmtLicenseEULAFile' => '1.3.6.1.4.1.9.9.543.1.1.2.1.22', - 'clmgmtLicenseActionResultTable' => '1.3.6.1.4.1.9.9.543.1.1.3', - 'clmgmtLicenseActionResultEntry' => '1.3.6.1.4.1.9.9.543.1.1.3.1', - 'clmgmtLicenseNumber' => '1.3.6.1.4.1.9.9.543.1.1.3.1.1', - 'clmgmtLicenseIndivActionState' => '1.3.6.1.4.1.9.9.543.1.1.3.1.2', - 'clmgmtLicenseIndivActionStateDefinition' => 'CISCO-LICENSE-MGMT-MIB::ClmgmtLicenseActionState', - 'clmgmtLicenseIndivActionFailCause' => '1.3.6.1.4.1.9.9.543.1.1.3.1.3', - 'clmgmtLicenseIndivActionFailCauseDefinition' => 'CISCO-LICENSE-MGMT-MIB::ClmgmtLicenseActionFailCause', - 'clmgmtLicenseInformation' => '1.3.6.1.4.1.9.9.543.1.2', - 'clmgmtLicenseStoreInfoTable' => '1.3.6.1.4.1.9.9.543.1.2.1', - 'clmgmtLicenseStoreInfoEntry' => '1.3.6.1.4.1.9.9.543.1.2.1.1', - 'clmgmtLicenseStoreIndex' => '1.3.6.1.4.1.9.9.543.1.2.1.1.1', - 'clmgmtLicenseStoreName' => '1.3.6.1.4.1.9.9.543.1.2.1.1.2', - 'clmgmtLicenseStoreTotalSize' => '1.3.6.1.4.1.9.9.543.1.2.1.1.3', - 'clmgmtLicenseStoreSizeRemaining' => '1.3.6.1.4.1.9.9.543.1.2.1.1.4', - 'clmgmtLicenseDeviceInfoTable' => '1.3.6.1.4.1.9.9.543.1.2.2', - 'clmgmtLicenseDeviceInfoEntry' => '1.3.6.1.4.1.9.9.543.1.2.2.1', - 'clmgmtDefaultLicenseStore' => '1.3.6.1.4.1.9.9.543.1.2.2.1.1', - 'clmgmtLicenseInfoTable' => '1.3.6.1.4.1.9.9.543.1.2.3', - 'clmgmtLicenseInfoEntry' => '1.3.6.1.4.1.9.9.543.1.2.3.1', - 'clmgmtLicenseStoreUsed' => '1.3.6.1.4.1.9.9.543.1.2.3.1.1', - 'clmgmtLicenseIndex' => '1.3.6.1.4.1.9.9.543.1.2.3.1.2', - 'clmgmtLicenseFeatureName' => '1.3.6.1.4.1.9.9.543.1.2.3.1.3', - 'clmgmtLicenseFeatureVersion' => '1.3.6.1.4.1.9.9.543.1.2.3.1.4', - 'clmgmtLicenseType' => '1.3.6.1.4.1.9.9.543.1.2.3.1.5', - 'clmgmtLicenseTypeDefinition' => 'CISCO-LICENSE-MGMT-MIB::clmgmtLicenseType', - 'clmgmtLicenseCounted' => '1.3.6.1.4.1.9.9.543.1.2.3.1.6', - 'clmgmtLicenseValidityPeriod' => '1.3.6.1.4.1.9.9.543.1.2.3.1.7', - 'clmgmtLicenseValidityPeriodRemaining' => '1.3.6.1.4.1.9.9.543.1.2.3.1.8', - 'clmgmtLicenseExpiredPeriod' => '1.3.6.1.4.1.9.9.543.1.2.3.1.9', - 'clmgmtLicenseMaxUsageCount' => '1.3.6.1.4.1.9.9.543.1.2.3.1.10', - 'clmgmtLicenseUsageCountRemaining' => '1.3.6.1.4.1.9.9.543.1.2.3.1.11', - 'clmgmtLicenseEULAStatus' => '1.3.6.1.4.1.9.9.543.1.2.3.1.12', - 'clmgmtLicenseComments' => '1.3.6.1.4.1.9.9.543.1.2.3.1.13', - 'clmgmtLicenseStatus' => '1.3.6.1.4.1.9.9.543.1.2.3.1.14', - 'clmgmtLicenseStatusDefinition' => 'CISCO-LICENSE-MGMT-MIB::clmgmtLicenseStatus', - 'clmgmtLicenseStartDate' => '1.3.6.1.4.1.9.9.543.1.2.3.1.15', - 'clmgmtLicenseEndDate' => '1.3.6.1.4.1.9.9.543.1.2.3.1.16', - 'clmgmtLicensePeriodUsed' => '1.3.6.1.4.1.9.9.543.1.2.3.1.17', - 'clmgmtLicensableFeatureTable' => '1.3.6.1.4.1.9.9.543.1.2.4', - 'clmgmtLicensableFeatureEntry' => '1.3.6.1.4.1.9.9.543.1.2.4.1', - 'clmgmtFeatureIndex' => '1.3.6.1.4.1.9.9.543.1.2.4.1.1', - 'clmgmtFeatureName' => '1.3.6.1.4.1.9.9.543.1.2.4.1.2', - 'clmgmtFeatureVersion' => '1.3.6.1.4.1.9.9.543.1.2.4.1.3', - 'clmgmtFeatureValidityPeriodRemaining' => '1.3.6.1.4.1.9.9.543.1.2.4.1.4', - 'clmgmtFeatureWhatIsCounted' => '1.3.6.1.4.1.9.9.543.1.2.4.1.5', - 'clmgmtFeatureStartDate' => '1.3.6.1.4.1.9.9.543.1.2.4.1.6', - 'clmgmtFeatureEndDate' => '1.3.6.1.4.1.9.9.543.1.2.4.1.7', - 'clmgmtFeaturePeriodUsed' => '1.3.6.1.4.1.9.9.543.1.2.4.1.8', - 'clmgmtLicenseDeviceInformation' => '1.3.6.1.4.1.9.9.543.1.3', - 'clmgmtNextFreeDevCredExportActionIndex' => '1.3.6.1.4.1.9.9.543.1.3.1', - 'clmgmtDevCredExportActionTable' => '1.3.6.1.4.1.9.9.543.1.3.2', - 'clmgmtDevCredExportActionEntry' => '1.3.6.1.4.1.9.9.543.1.3.2.1', - 'clmgmtDevCredExportActionIndex' => '1.3.6.1.4.1.9.9.543.1.3.2.1.1', - 'clmgmtDevCredEntPhysicalIndex' => '1.3.6.1.4.1.9.9.543.1.3.2.1.2', - 'clmgmtDevCredTransferProtocol' => '1.3.6.1.4.1.9.9.543.1.3.2.1.3', - 'clmgmtDevCredTransferProtocolDefinition' => 'CISCO-LICENSE-MGMT-MIB::ClmgmtLicenseTransferProtocol', - 'clmgmtDevCredServerAddressType' => '1.3.6.1.4.1.9.9.543.1.3.2.1.4', - 'clmgmtDevCredServerAddress' => '1.3.6.1.4.1.9.9.543.1.3.2.1.5', - 'clmgmtDevCredServerUsername' => '1.3.6.1.4.1.9.9.543.1.3.2.1.6', - 'clmgmtDevCredServerPassword' => '1.3.6.1.4.1.9.9.543.1.3.2.1.7', - 'clmgmtDevCredExportFile' => '1.3.6.1.4.1.9.9.543.1.3.2.1.8', - 'clmgmtDevCredCommand' => '1.3.6.1.4.1.9.9.543.1.3.2.1.9', - 'clmgmtDevCredCommandDefinition' => 'CISCO-LICENSE-MGMT-MIB::clmgmtDevCredCommand', - 'clmgmtDevCredCommandState' => '1.3.6.1.4.1.9.9.543.1.3.2.1.10', - 'clmgmtDevCredCommandStateDefinition' => 'CISCO-LICENSE-MGMT-MIB::ClmgmtLicenseActionState', - 'clmgmtDevCredCommandFailCause' => '1.3.6.1.4.1.9.9.543.1.3.2.1.11', - 'clmgmtDevCredCommandFailCauseDefinition' => 'CISCO-LICENSE-MGMT-MIB::clmgmtDevCredCommandFailCause', - 'clmgmtDevCredStorageType' => '1.3.6.1.4.1.9.9.543.1.3.2.1.12', - 'clmgmtDevCredRowStatus' => '1.3.6.1.4.1.9.9.543.1.3.2.1.13', - 'clmgmtLicenseNotifObjects' => '1.3.6.1.4.1.9.9.543.1.4', - 'clmgmtLicenseUsageNotifEnable' => '1.3.6.1.4.1.9.9.543.1.4.1', - 'clmgmtLicenseDeploymentNotifEnable' => '1.3.6.1.4.1.9.9.543.1.4.2', - 'clmgmtLicenseErrorNotifEnable' => '1.3.6.1.4.1.9.9.543.1.4.3', - 'ciscoLicenseMgmtMIBConform' => '1.3.6.1.4.1.9.9.543.2', - 'ciscoLicenseMgmtCompliances' => '1.3.6.1.4.1.9.9.543.2.1', - 'ciscoLicenseMgmtGroups' => '1.3.6.1.4.1.9.9.543.2.2', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCO-LICENSE-MGMT-MIB'} = { - 'ClmgmtLicenseActionFailCause' => { - '1' => 'none', - '2' => 'generalFailure', - '3' => 'transferProtocolNotSupported', - '4' => 'fileServerNotReachable', - '5' => 'unrecognizedEntPhysicalIndex', - '6' => 'invalidLicenseFilePath', - '7' => 'invalidLicenseFile', - '8' => 'invalidLicenseLine', - '9' => 'licenseAlreadyExists', - '10' => 'licenseNotValidForDevice', - '11' => 'invalidLicenseCount', - '12' => 'invalidLicensePeriod', - '13' => 'licenseInUse', - '14' => 'invalidLicenseStore', - '15' => 'licenseStorageFull', - '16' => 'invalidPermissionTicketFile', - '17' => 'invalidPermissionTicket', - '18' => 'invalidRehostTicketFile', - '19' => 'invalidRehostTicket', - '20' => 'invalidLicenseBackupFile', - '21' => 'licenseClearInProgress', - '22' => 'invalidLicenseEULAFile', - }, - 'ClmgmtLicenseTransferProtocol' => { - '1' => 'none', - '2' => 'local', - '3' => 'tftp', - '4' => 'ftp', - '5' => 'rcp', - '6' => 'http', - '7' => 'scp', - '8' => 'sftp', - }, - 'clmgmtDevCredCommand' => { - '1' => 'noOp', - '2' => 'getDeviceCredentials', - }, - 'clmgmtDevCredCommandFailCause' => { - '1' => 'none', - '2' => 'unknownError', - '3' => 'transferProtocolNotSupported', - '4' => 'fileServerNotReachable', - '5' => 'unrecognizedEntPhysicalIndex', - '6' => 'invalidFile', - }, - 'clmgmtLicenseAction' => { - '1' => 'noOp', - '2' => 'install', - '3' => 'clear', - '4' => 'processPermissionTicket', - '5' => 'regenerateLastRehostTicket', - '6' => 'backup', - '7' => 'generateEULA', - }, - 'clmgmtLicenseType' => { - '1' => 'demo', - '2' => 'extension', - '3' => 'gracePeriod', - '4' => 'permanent', - '5' => 'paidSubscription', - '6' => 'evaluationSubscription', - '7' => 'extensionSubscription', - '8' => 'evalRightToUse', - '9' => 'rightToUse', - '10' => 'permanentRightToUse', - }, - 'clmgmtLicenseStatus' => { - '1' => 'inactive', - '2' => 'notInUse', - '3' => 'inUse', - '4' => 'expiredInUse', - '5' => 'expiredNotInUse', - '6' => 'usageCountConsumed', - }, - 'ClmgmtLicenseActionState' => { - '1' => 'none', - '2' => 'pending', - '3' => 'inProgress', - '4' => 'successful', - '5' => 'partiallySuccessful', - '6' => 'failed', - }, -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPCDPMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPCDPMIB.pm deleted file mode 100644 index 0f2b896..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPCDPMIB.pm +++ /dev/null @@ -1,88 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOLWAPPCDPMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'CISCO-LWAPP-CDP-MIB'} = { - url => '', - name => 'CISCO-LWAPP-CDP-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'CISCO-LWAPP-CDP-MIB'} = - '1.3.6.1.4.1.9.9.623'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-LWAPP-CDP-MIB'} = { - 'ciscoLwappCdpMIB' => '1.3.6.1.4.1.9.9.623', - 'ciscoLwappCdpMIBNotifs' => '1.3.6.1.4.1.9.9.623.0', - 'ciscoLwappCdpMIBObjects' => '1.3.6.1.4.1.9.9.623.1', - 'clcCdpTraffic' => '1.3.6.1.4.1.9.9.623.1.1', - 'clcCdpInPackets' => '1.3.6.1.4.1.9.9.623.1.1.1', - #'clcCdpInPacketsDefinition' => 'SNMPv2-SMI::Counter32', - 'clcCdpOutPackets' => '1.3.6.1.4.1.9.9.623.1.1.2', - #'clcCdpOutPacketsDefinition' => 'SNMPv2-SMI::Counter32', - 'clcCdpChecksumErrorPackets' => '1.3.6.1.4.1.9.9.623.1.1.3', - #'clcCdpChecksumErrorPacketsDefinition' => 'SNMPv2-SMI::Counter32', - 'clcCdpNoMemoryPackets' => '1.3.6.1.4.1.9.9.623.1.1.4', - #'clcCdpNoMemoryPacketsDefinition' => 'SNMPv2-SMI::Counter32', - 'clcCdpInvalidPackets' => '1.3.6.1.4.1.9.9.623.1.1.5', - #'clcCdpInvalidPacketsDefinition' => 'SNMPv2-SMI::Counter32', - 'clcCdpGlobalConfig' => '1.3.6.1.4.1.9.9.623.1.2', - 'clcCdpAdvtVersion' => '1.3.6.1.4.1.9.9.623.1.2.1', - 'clcCdpAdvtVersionDefinition' => 'CISCO-LWAPP-TC-MIB::CLCdpAdvtVersionType', - 'clcCdpMessageInterval' => '1.3.6.1.4.1.9.9.623.1.2.2', - 'clcCdpGlobalEnable' => '1.3.6.1.4.1.9.9.623.1.2.3', - 'clcCdpGlobalEnableDefinition' => 'SNMPv2-TC::TruthValue', - 'clcCdpApCacheStatus' => '1.3.6.1.4.1.9.9.623.1.3', - 'clcCdpApCacheTable' => '1.3.6.1.4.1.9.9.623.1.3.1', - 'clcCdpApCacheEntry' => '1.3.6.1.4.1.9.9.623.1.3.1.1', - 'clcCdpApCacheDeviceIndex' => '1.3.6.1.4.1.9.9.623.1.3.1.1.1', - 'clcCdpApCacheApName' => '1.3.6.1.4.1.9.9.623.1.3.1.1.2', - #'clcCdpApCacheApNameDefinition' => 'SNMP-FRAMEWORK-MIB::SnmpAdminString', - 'clcCdpApCacheApAddressType' => '1.3.6.1.4.1.9.9.623.1.3.1.1.3', - 'clcCdpApCacheApAddressTypeDefinition' => 'INET-ADDRESS-MIB::InetAddressType', - 'clcCdpApCacheApAddress' => '1.3.6.1.4.1.9.9.623.1.3.1.1.4', - #'clcCdpApCacheApAddressDefinition' => 'INET-ADDRESS-MIB::InetAddress', - 'clcCdpApCacheLocalInterface' => '1.3.6.1.4.1.9.9.623.1.3.1.1.5', - #'clcCdpApCacheLocalInterfaceDefinition' => 'IF-MIB::InterfaceIndexOrZero', - 'clcCdpApCacheNeighName' => '1.3.6.1.4.1.9.9.623.1.3.1.1.6', - #'clcCdpApCacheNeighNameDefinition' => 'SNMPv2-TC::DisplayString', - 'clcCdpApCacheNeighAddressType' => '1.3.6.1.4.1.9.9.623.1.3.1.1.7', - 'clcCdpApCacheNeighAddressTypeDefinition' => 'INET-ADDRESS-MIB::InetAddressType', - 'clcCdpApCacheNeighAddress' => '1.3.6.1.4.1.9.9.623.1.3.1.1.8', - #'clcCdpApCacheNeighAddressDefinition' => 'INET-ADDRESS-MIB::InetAddress', - 'clcCdpApCacheNeighInterface' => '1.3.6.1.4.1.9.9.623.1.3.1.1.9', - #'clcCdpApCacheNeighInterfaceDefinition' => 'SNMPv2-TC::DisplayString', - 'clcCdpApCacheNeighVersion' => '1.3.6.1.4.1.9.9.623.1.3.1.1.10', - #'clcCdpApCacheNeighVersionDefinition' => 'SNMPv2-TC::DisplayString', - 'clcCdpApCacheAdvtVersion' => '1.3.6.1.4.1.9.9.623.1.3.1.1.11', - 'clcCdpApCacheAdvtVersionDefinition' => 'CISCO-LWAPP-TC-MIB::CLCdpAdvtVersionType', - 'clcCdpApCachePlatform' => '1.3.6.1.4.1.9.9.623.1.3.1.1.12', - #'clcCdpApCachePlatformDefinition' => 'SNMPv2-TC::DisplayString', - 'clcCdpApCacheCapabilities' => '1.3.6.1.4.1.9.9.623.1.3.1.1.13', - 'clcCdpApCacheHoldtimeLeft' => '1.3.6.1.4.1.9.9.623.1.3.1.1.14', - 'clcCdpApCacheDuplex' => '1.3.6.1.4.1.9.9.623.1.3.1.1.15', - 'clcCdpApCacheDuplexDefinition' => 'CISCO-LWAPP-CDP-MIB::clcCdpApCacheDuplex', - 'clcCdpApCacheInterfaceSpeed' => '1.3.6.1.4.1.9.9.623.1.3.1.1.16', - 'clcCdpApCacheInterfaceSpeedDefinition' => 'CISCO-LWAPP-CDP-MIB::clcCdpApCacheInterfaceSpeed', - 'clcCdpApCacheConfig' => '1.3.6.1.4.1.9.9.623.1.4', - 'clcCdpApTable' => '1.3.6.1.4.1.9.9.623.1.4.1', - 'clcCdpApEntry' => '1.3.6.1.4.1.9.9.623.1.4.1.1', - 'clcCdpApCdpEnable' => '1.3.6.1.4.1.9.9.623.1.4.1.1.1', - 'clcCdpApCdpEnableDefinition' => 'SNMPv2-TC::TruthValue', - 'ciscoLwappCdpMIBConform' => '1.3.6.1.4.1.9.9.623.2', - 'ciscoLwappCdpMIBCompliances' => '1.3.6.1.4.1.9.9.623.2.1', - 'ciscoLwappCdpMIBGroups' => '1.3.6.1.4.1.9.9.623.2.2', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCO-LWAPP-CDP-MIB'} = { - 'clcCdpApCacheDuplex' => { - '1' => 'unknown', - '2' => 'fullduplex', - '3' => 'halfduplex', - '4' => 'auto', - }, - 'clcCdpApCacheInterfaceSpeed' => { - '1' => 'none', - '2' => 'tenMbps', - '3' => 'hundredMbps', - '4' => 'thousandMbps', - '5' => 'auto', - }, -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPROCESSMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPROCESSMIB.pm deleted file mode 100644 index ed331f4..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPROCESSMIB.pm +++ /dev/null @@ -1,227 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOPROCESSMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'CISCO-PROCESS-MIB'} = { - url => '', - name => 'CISCO-PROCESS-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'CISCO-PROCESS-MIB'} = - '1.3.6.1.4.1.9.9.109'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-PROCESS-MIB'} = { - 'ciscoProcessMIB' => '1.3.6.1.4.1.9.9.109', - 'ciscoProcessMIBObjects' => '1.3.6.1.4.1.9.9.109.1', - 'cpmCPU' => '1.3.6.1.4.1.9.9.109.1.1', - 'cpmCPUTotalTable' => '1.3.6.1.4.1.9.9.109.1.1.1', - 'cpmCPUTotalEntry' => '1.3.6.1.4.1.9.9.109.1.1.1.1', - 'cpmCPUTotalIndex' => '1.3.6.1.4.1.9.9.109.1.1.1.1.1', - 'cpmCPUTotalPhysicalIndex' => '1.3.6.1.4.1.9.9.109.1.1.1.1.2', - 'cpmCPUTotal5sec' => '1.3.6.1.4.1.9.9.109.1.1.1.1.3', - 'cpmCPUTotal1min' => '1.3.6.1.4.1.9.9.109.1.1.1.1.4', - 'cpmCPUTotal5min' => '1.3.6.1.4.1.9.9.109.1.1.1.1.5', - 'cpmCPUTotal5secRev' => '1.3.6.1.4.1.9.9.109.1.1.1.1.6', - 'cpmCPUTotal1minRev' => '1.3.6.1.4.1.9.9.109.1.1.1.1.7', - 'cpmCPUTotal5minRev' => '1.3.6.1.4.1.9.9.109.1.1.1.1.8', - 'cpmCPUMonInterval' => '1.3.6.1.4.1.9.9.109.1.1.1.1.9', - 'cpmCPUTotalMonIntervalValue' => '1.3.6.1.4.1.9.9.109.1.1.1.1.10', - 'cpmCPUInterruptMonIntervalValue' => '1.3.6.1.4.1.9.9.109.1.1.1.1.11', - 'cpmCPUMemoryUsed' => '1.3.6.1.4.1.9.9.109.1.1.1.1.12', - 'cpmCPUMemoryFree' => '1.3.6.1.4.1.9.9.109.1.1.1.1.13', - 'cpmCPUMemoryKernelReserved' => '1.3.6.1.4.1.9.9.109.1.1.1.1.14', - 'cpmCPUMemoryLowest' => '1.3.6.1.4.1.9.9.109.1.1.1.1.15', - 'cpmCPUMemoryUsedOvrflw' => '1.3.6.1.4.1.9.9.109.1.1.1.1.16', - 'cpmCPUMemoryHCUsed' => '1.3.6.1.4.1.9.9.109.1.1.1.1.17', - 'cpmCPUMemoryFreeOvrflw' => '1.3.6.1.4.1.9.9.109.1.1.1.1.18', - 'cpmCPUMemoryHCFree' => '1.3.6.1.4.1.9.9.109.1.1.1.1.19', - 'cpmCPUMemoryKernelReservedOvrflw' => '1.3.6.1.4.1.9.9.109.1.1.1.1.20', - 'cpmCPUMemoryHCKernelReserved' => '1.3.6.1.4.1.9.9.109.1.1.1.1.21', - 'cpmCPUMemoryLowestOvrflw' => '1.3.6.1.4.1.9.9.109.1.1.1.1.22', - 'cpmCPUMemoryHCLowest' => '1.3.6.1.4.1.9.9.109.1.1.1.1.23', - 'cpmCPULoadAvg1min' => '1.3.6.1.4.1.9.9.109.1.1.1.1.24', - 'cpmCPULoadAvg5min' => '1.3.6.1.4.1.9.9.109.1.1.1.1.25', - 'cpmCPULoadAvg15min' => '1.3.6.1.4.1.9.9.109.1.1.1.1.26', - 'cpmCPUMemoryCommitted' => '1.3.6.1.4.1.9.9.109.1.1.1.1.27', - 'cpmCPUMemoryCommittedOvrflw' => '1.3.6.1.4.1.9.9.109.1.1.1.1.28', - 'cpmCPUMemoryHCCommitted' => '1.3.6.1.4.1.9.9.109.1.1.1.1.29', - 'cpmCoreTable' => '1.3.6.1.4.1.9.9.109.1.1.2', - 'cpmCoreEntry' => '1.3.6.1.4.1.9.9.109.1.1.2.1', - 'cpmCoreIndex' => '1.3.6.1.4.1.9.9.109.1.1.2.1.1', - 'cpmCorePhysicalIndex' => '1.3.6.1.4.1.9.9.109.1.1.2.1.2', - 'cpmCore5sec' => '1.3.6.1.4.1.9.9.109.1.1.2.1.3', - 'cpmCore1min' => '1.3.6.1.4.1.9.9.109.1.1.2.1.4', - 'cpmCore5min' => '1.3.6.1.4.1.9.9.109.1.1.2.1.5', - 'cpmCoreLoadAvg1min' => '1.3.6.1.4.1.9.9.109.1.1.2.1.6', - 'cpmCoreLoadAvg5min' => '1.3.6.1.4.1.9.9.109.1.1.2.1.7', - 'cpmCoreLoadAvg15min' => '1.3.6.1.4.1.9.9.109.1.1.2.1.8', - 'cpmProcess' => '1.3.6.1.4.1.9.9.109.1.2', - 'cpmProcessTable' => '1.3.6.1.4.1.9.9.109.1.2.1', - 'cpmProcessEntry' => '1.3.6.1.4.1.9.9.109.1.2.1.1', - 'cpmProcessPID' => '1.3.6.1.4.1.9.9.109.1.2.1.1.1', - 'cpmProcessName' => '1.3.6.1.4.1.9.9.109.1.2.1.1.2', - 'cpmProcessuSecs' => '1.3.6.1.4.1.9.9.109.1.2.1.1.4', - 'cpmProcessTimeCreated' => '1.3.6.1.4.1.9.9.109.1.2.1.1.5', - 'cpmProcessAverageUSecs' => '1.3.6.1.4.1.9.9.109.1.2.1.1.6', - 'cpmProcessExtTable' => '1.3.6.1.4.1.9.9.109.1.2.2', - 'cpmProcessExtEntry' => '1.3.6.1.4.1.9.9.109.1.2.2.1', - 'cpmProcExtMemAllocated' => '1.3.6.1.4.1.9.9.109.1.2.2.1.1', - 'cpmProcExtMemFreed' => '1.3.6.1.4.1.9.9.109.1.2.2.1.2', - 'cpmProcExtInvoked' => '1.3.6.1.4.1.9.9.109.1.2.2.1.3', - 'cpmProcExtRuntime' => '1.3.6.1.4.1.9.9.109.1.2.2.1.4', - 'cpmProcExtUtil5Sec' => '1.3.6.1.4.1.9.9.109.1.2.2.1.5', - 'cpmProcExtUtil1Min' => '1.3.6.1.4.1.9.9.109.1.2.2.1.6', - 'cpmProcExtUtil5Min' => '1.3.6.1.4.1.9.9.109.1.2.2.1.7', - 'cpmProcExtPriority' => '1.3.6.1.4.1.9.9.109.1.2.2.1.8', - 'cpmProcExtPriorityDefinition' => 'CISCO-PROCESS-MIB::cpmProcExtPriority', - 'cpmProcessExtRevTable' => '1.3.6.1.4.1.9.9.109.1.2.3', - 'cpmProcessExtRevEntry' => '1.3.6.1.4.1.9.9.109.1.2.3.1', - 'cpmProcExtMemAllocatedRev' => '1.3.6.1.4.1.9.9.109.1.2.3.1.1', - 'cpmProcExtMemFreedRev' => '1.3.6.1.4.1.9.9.109.1.2.3.1.2', - 'cpmProcExtInvokedRev' => '1.3.6.1.4.1.9.9.109.1.2.3.1.3', - 'cpmProcExtRuntimeRev' => '1.3.6.1.4.1.9.9.109.1.2.3.1.4', - 'cpmProcExtUtil5SecRev' => '1.3.6.1.4.1.9.9.109.1.2.3.1.5', - 'cpmProcExtUtil1MinRev' => '1.3.6.1.4.1.9.9.109.1.2.3.1.6', - 'cpmProcExtUtil5MinRev' => '1.3.6.1.4.1.9.9.109.1.2.3.1.7', - 'cpmProcExtPriorityRev' => '1.3.6.1.4.1.9.9.109.1.2.3.1.8', - 'cpmProcExtPriorityRevDefinition' => 'CISCO-PROCESS-MIB::cpmProcExtPriorityRev', - 'cpmProcessType' => '1.3.6.1.4.1.9.9.109.1.2.3.1.9', - 'cpmProcessTypeDefinition' => 'CISCO-PROCESS-MIB::cpmProcessType', - 'cpmProcessRespawn' => '1.3.6.1.4.1.9.9.109.1.2.3.1.10', - 'cpmProcessRespawnCount' => '1.3.6.1.4.1.9.9.109.1.2.3.1.11', - 'cpmProcessRespawnAfterLastPatch' => '1.3.6.1.4.1.9.9.109.1.2.3.1.12', - 'cpmProcessMemoryCore' => '1.3.6.1.4.1.9.9.109.1.2.3.1.13', - 'cpmProcessMemoryCoreDefinition' => 'CISCO-PROCESS-MIB::cpmProcessMemoryCore', - 'cpmProcessLastRestartUser' => '1.3.6.1.4.1.9.9.109.1.2.3.1.14', - 'cpmProcessTextSegmentSize' => '1.3.6.1.4.1.9.9.109.1.2.3.1.15', - 'cpmProcessDataSegmentSize' => '1.3.6.1.4.1.9.9.109.1.2.3.1.16', - 'cpmProcessStackSize' => '1.3.6.1.4.1.9.9.109.1.2.3.1.17', - 'cpmProcessDynamicMemorySize' => '1.3.6.1.4.1.9.9.109.1.2.3.1.18', - 'cpmProcExtMemAllocatedRevOvrflw' => '1.3.6.1.4.1.9.9.109.1.2.3.1.19', - 'cpmProcExtHCMemAllocatedRev' => '1.3.6.1.4.1.9.9.109.1.2.3.1.20', - 'cpmProcExtMemFreedRevOvrflw' => '1.3.6.1.4.1.9.9.109.1.2.3.1.21', - 'cpmProcExtHCMemFreedRev' => '1.3.6.1.4.1.9.9.109.1.2.3.1.22', - 'cpmProcessTextSegmentSizeOvrflw' => '1.3.6.1.4.1.9.9.109.1.2.3.1.23', - 'cpmProcessHCTextSegmentSize' => '1.3.6.1.4.1.9.9.109.1.2.3.1.24', - 'cpmProcessDataSegmentSizeOvrflw' => '1.3.6.1.4.1.9.9.109.1.2.3.1.25', - 'cpmProcessHCDataSegmentSize' => '1.3.6.1.4.1.9.9.109.1.2.3.1.26', - 'cpmProcessStackSizeOvrflw' => '1.3.6.1.4.1.9.9.109.1.2.3.1.27', - 'cpmProcessHCStackSize' => '1.3.6.1.4.1.9.9.109.1.2.3.1.28', - 'cpmProcessDynamicMemorySizeOvrflw' => '1.3.6.1.4.1.9.9.109.1.2.3.1.29', - 'cpmProcessHCDynamicMemorySize' => '1.3.6.1.4.1.9.9.109.1.2.3.1.30', - 'cpmCPUThresholdTable' => '1.3.6.1.4.1.9.9.109.1.2.4', - 'cpmCPUThresholdEntry' => '1.3.6.1.4.1.9.9.109.1.2.4.1', - 'cpmCPUThresholdClass' => '1.3.6.1.4.1.9.9.109.1.2.4.1.1', - 'cpmCPUThresholdClassDefinition' => 'CISCO-PROCESS-MIB::cpmCPUThresholdClass', - 'cpmCPURisingThresholdValue' => '1.3.6.1.4.1.9.9.109.1.2.4.1.2', - 'cpmCPURisingThresholdPeriod' => '1.3.6.1.4.1.9.9.109.1.2.4.1.3', - 'cpmCPUFallingThresholdValue' => '1.3.6.1.4.1.9.9.109.1.2.4.1.4', - 'cpmCPUFallingThresholdPeriod' => '1.3.6.1.4.1.9.9.109.1.2.4.1.5', - 'cpmCPUThresholdEntryStatus' => '1.3.6.1.4.1.9.9.109.1.2.4.1.6', - 'cpmCPUHistory' => '1.3.6.1.4.1.9.9.109.1.2.5', - 'cpmCPUHistoryThreshold' => '1.3.6.1.4.1.9.9.109.1.2.5.1', - 'cpmCPUHistorySize' => '1.3.6.1.4.1.9.9.109.1.2.5.2', - 'cpmCPUHistoryTable' => '1.3.6.1.4.1.9.9.109.1.2.5.3', - 'cpmCPUHistoryEntry' => '1.3.6.1.4.1.9.9.109.1.2.5.3.1', - 'cpmCPUHistoryReportId' => '1.3.6.1.4.1.9.9.109.1.2.5.3.1.1', - 'cpmCPUHistoryReportSize' => '1.3.6.1.4.1.9.9.109.1.2.5.3.1.2', - 'cpmCPUHistoryTotalUtil' => '1.3.6.1.4.1.9.9.109.1.2.5.3.1.3', - 'cpmCPUHistoryInterruptUtil' => '1.3.6.1.4.1.9.9.109.1.2.5.3.1.4', - 'cpmCPUHistoryCreatedTime' => '1.3.6.1.4.1.9.9.109.1.2.5.3.1.5', - 'cpmCPUProcessHistoryTable' => '1.3.6.1.4.1.9.9.109.1.2.5.4', - 'cpmCPUProcessHistoryEntry' => '1.3.6.1.4.1.9.9.109.1.2.5.4.1', - 'cpmCPUProcessHistoryIndex' => '1.3.6.1.4.1.9.9.109.1.2.5.4.1.1', - 'cpmCPUHistoryProcId' => '1.3.6.1.4.1.9.9.109.1.2.5.4.1.2', - 'cpmCPUHistoryProcName' => '1.3.6.1.4.1.9.9.109.1.2.5.4.1.3', - 'cpmCPUHistoryProcCreated' => '1.3.6.1.4.1.9.9.109.1.2.5.4.1.4', - 'cpmCPUHistoryProcUtil' => '1.3.6.1.4.1.9.9.109.1.2.5.4.1.5', - 'cpmThread' => '1.3.6.1.4.1.9.9.109.1.3', - 'cpmThreadTable' => '1.3.6.1.4.1.9.9.109.1.3.1', - 'cpmThreadEntry' => '1.3.6.1.4.1.9.9.109.1.3.1.1', - 'cpmThreadID' => '1.3.6.1.4.1.9.9.109.1.3.1.1.1', - 'cpmThreadName' => '1.3.6.1.4.1.9.9.109.1.3.1.1.2', - 'cpmThreadPriority' => '1.3.6.1.4.1.9.9.109.1.3.1.1.3', - 'cpmThreadState' => '1.3.6.1.4.1.9.9.109.1.3.1.1.4', - 'cpmThreadStateDefinition' => 'CISCO-PROCESS-MIB::cpmThreadState', - 'cpmThreadBlockingProcess' => '1.3.6.1.4.1.9.9.109.1.3.1.1.5', - 'cpmThreadCpuUtilization' => '1.3.6.1.4.1.9.9.109.1.3.1.1.6', - 'cpmThreadStackSize' => '1.3.6.1.4.1.9.9.109.1.3.1.1.7', - 'cpmThreadStackSizeOvrflw' => '1.3.6.1.4.1.9.9.109.1.3.1.1.8', - 'cpmThreadHCStackSize' => '1.3.6.1.4.1.9.9.109.1.3.1.1.9', - 'cpmVirtualProcess' => '1.3.6.1.4.1.9.9.109.1.4', - 'cpmVirtualProcessTable' => '1.3.6.1.4.1.9.9.109.1.4.1', - 'cpmVirtualProcessEntry' => '1.3.6.1.4.1.9.9.109.1.4.1.1', - 'cpmVirtualProcessID' => '1.3.6.1.4.1.9.9.109.1.4.1.1.1', - 'cpmVirtualProcessName' => '1.3.6.1.4.1.9.9.109.1.4.1.1.2', - 'cpmVirtualProcessUtil5Sec' => '1.3.6.1.4.1.9.9.109.1.4.1.1.3', - 'cpmVirtualProcessUtil1Min' => '1.3.6.1.4.1.9.9.109.1.4.1.1.4', - 'cpmVirtualProcessUtil5Min' => '1.3.6.1.4.1.9.9.109.1.4.1.1.5', - 'cpmVirtualProcessMemAllocated' => '1.3.6.1.4.1.9.9.109.1.4.1.1.6', - 'cpmVirtualProcessMemFreed' => '1.3.6.1.4.1.9.9.109.1.4.1.1.7', - 'cpmVirtualProcessInvokeCount' => '1.3.6.1.4.1.9.9.109.1.4.1.1.8', - 'cpmVirtualProcessRuntime' => '1.3.6.1.4.1.9.9.109.1.4.1.1.9', - 'cpmVirtualProcessMemAllocatedOvrflw' => '1.3.6.1.4.1.9.9.109.1.4.1.1.10', - 'cpmVirtualProcessHCMemAllocated' => '1.3.6.1.4.1.9.9.109.1.4.1.1.11', - 'cpmVirtualProcessMemFreedOvrflw' => '1.3.6.1.4.1.9.9.109.1.4.1.1.12', - 'cpmVirtualProcessHCMemFreed' => '1.3.6.1.4.1.9.9.109.1.4.1.1.13', - 'ciscoProcessMIBNotifPrefix' => '1.3.6.1.4.1.9.9.109.2', - 'ciscoProcessMIBNotifs' => '1.3.6.1.4.1.9.9.109.2.0', - 'ciscoProcessMIBConformance' => '1.3.6.1.4.1.9.9.109.3', - 'cpmCompliances' => '1.3.6.1.4.1.9.9.109.3.1', - 'cpmGroups' => '1.3.6.1.4.1.9.9.109.3.2', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCO-PROCESS-MIB'} = { - 'cpmThreadState' => { - '1' => 'other', - '2' => 'dead', - '3' => 'running', - '4' => 'ready', - '5' => 'stopped', - '6' => 'send', - '7' => 'receive', - '8' => 'reply', - '9' => 'stack', - '10' => 'waitpage', - '11' => 'sigsuspend', - '12' => 'sigwaitinfo', - '13' => 'nanosleep', - '14' => 'mutex', - '15' => 'condvar', - '16' => 'join', - '17' => 'intr', - '18' => 'sem', - }, - 'cpmProcExtPriority' => { - '1' => 'critical', - '2' => 'high', - '3' => 'normal', - '4' => 'low', - '5' => 'notAssigned', - }, - 'cpmProcExtPriorityRev' => { - '1' => 'critical', - '2' => 'high', - '3' => 'normal', - '4' => 'low', - '5' => 'notAssigned', - }, - 'cpmProcessType' => { - '1' => 'other', - '2' => 'posix', - '3' => 'ios', - }, - 'cpmProcessMemoryCore' => { - '1' => 'other', - '2' => 'mainmem', - '3' => 'mainmemSharedmem', - '4' => 'mainmemText', - '5' => 'mainmemTextSharedmem', - '6' => 'sharedmem', - '7' => 'sparse', - '8' => 'off', - }, - 'cpmCPUThresholdClass' => { - '1' => 'total', - '2' => 'interrupt', - '3' => 'process', - }, -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCORTTMONMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCORTTMONMIB.pm deleted file mode 100644 index e6b17a7..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCORTTMONMIB.pm +++ /dev/null @@ -1,692 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCORTTMONMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'CISCO-RTTMON-MIB'} = { - url => '', - name => 'CISCO-RTTMON-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'CISCO-RTTMON-MIB'} = - '1.3.6.1.4.1.9.9.42'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-RTTMON-MIB'} = { - 'ciscoRttMonMIB' => '1.3.6.1.4.1.9.9.42', - 'ciscoRttMonObjects' => '1.3.6.1.4.1.9.9.42.1', - 'rttMonAppl' => '1.3.6.1.4.1.9.9.42.1.1', - 'rttMonApplVersion' => '1.3.6.1.4.1.9.9.42.1.1.1', - 'rttMonApplMaxPacketDataSize' => '1.3.6.1.4.1.9.9.42.1.1.2', - 'rttMonApplTimeOfLastSet' => '1.3.6.1.4.1.9.9.42.1.1.3', - 'rttMonApplNumCtrlAdminEntry' => '1.3.6.1.4.1.9.9.42.1.1.4', - 'rttMonApplReset' => '1.3.6.1.4.1.9.9.42.1.1.5', - 'rttMonApplPreConfigedReset' => '1.3.6.1.4.1.9.9.42.1.1.6', - 'rttMonApplSupportedRttTypesTable' => '1.3.6.1.4.1.9.9.42.1.1.7', - 'rttMonApplSupportedRttTypesEntry' => '1.3.6.1.4.1.9.9.42.1.1.7.1', - 'rttMonApplSupportedRttTypes' => '1.3.6.1.4.1.9.9.42.1.1.7.1.1', - 'rttMonApplSupportedRttTypesValid' => '1.3.6.1.4.1.9.9.42.1.1.7.1.2', - 'rttMonApplSupportedProtocolsTable' => '1.3.6.1.4.1.9.9.42.1.1.8', - 'rttMonApplSupportedProtocolsEntry' => '1.3.6.1.4.1.9.9.42.1.1.8.1', - 'rttMonApplSupportedProtocols' => '1.3.6.1.4.1.9.9.42.1.1.8.1.1', - 'rttMonApplSupportedProtocolsValid' => '1.3.6.1.4.1.9.9.42.1.1.8.1.2', - 'rttMonApplPreConfigedTable' => '1.3.6.1.4.1.9.9.42.1.1.9', - 'rttMonApplPreConfigedEntry' => '1.3.6.1.4.1.9.9.42.1.1.9.1', - 'rttMonApplPreConfigedType' => '1.3.6.1.4.1.9.9.42.1.1.9.1.2', - 'rttMonApplPreConfigedTypeDefinition' => 'CISCO-RTTMON-MIB::rttMonApplPreConfigedType', - 'rttMonApplPreConfigedName' => '1.3.6.1.4.1.9.9.42.1.1.9.1.3', - 'rttMonApplPreConfigedValid' => '1.3.6.1.4.1.9.9.42.1.1.9.1.4', - 'rttMonApplProbeCapacity' => '1.3.6.1.4.1.9.9.42.1.1.10', - 'rttMonApplFreeMemLowWaterMark' => '1.3.6.1.4.1.9.9.42.1.1.11', - 'rttMonApplLatestSetError' => '1.3.6.1.4.1.9.9.42.1.1.12', - 'rttMonApplResponder' => '1.3.6.1.4.1.9.9.42.1.1.13', - 'rttMonApplAuthTable' => '1.3.6.1.4.1.9.9.42.1.1.14', - 'rttMonApplAuthEntry' => '1.3.6.1.4.1.9.9.42.1.1.14.1', - 'rttMonApplAuthIndex' => '1.3.6.1.4.1.9.9.42.1.1.14.1.1', - 'rttMonApplAuthKeyChain' => '1.3.6.1.4.1.9.9.42.1.1.14.1.2', - 'rttMonApplAuthKeyString1' => '1.3.6.1.4.1.9.9.42.1.1.14.1.3', - 'rttMonApplAuthKeyString2' => '1.3.6.1.4.1.9.9.42.1.1.14.1.4', - 'rttMonApplAuthKeyString3' => '1.3.6.1.4.1.9.9.42.1.1.14.1.5', - 'rttMonApplAuthKeyString4' => '1.3.6.1.4.1.9.9.42.1.1.14.1.6', - 'rttMonApplAuthKeyString5' => '1.3.6.1.4.1.9.9.42.1.1.14.1.7', - 'rttMonApplAuthStatus' => '1.3.6.1.4.1.9.9.42.1.1.14.1.8', - 'rttMonApplLpdGrpStatsReset' => '1.3.6.1.4.1.9.9.42.1.1.15', - 'rttMonCtrl' => '1.3.6.1.4.1.9.9.42.1.2', - 'rttMonCtrlAdminTable' => '1.3.6.1.4.1.9.9.42.1.2.1', - 'rttMonCtrlAdminEntry' => '1.3.6.1.4.1.9.9.42.1.2.1.1', - 'rttMonCtrlAdminIndex' => '1.3.6.1.4.1.9.9.42.1.2.1.1.1', - 'rttMonCtrlAdminOwner' => '1.3.6.1.4.1.9.9.42.1.2.1.1.2', - 'rttMonCtrlAdminTag' => '1.3.6.1.4.1.9.9.42.1.2.1.1.3', - 'rttMonCtrlAdminRttType' => '1.3.6.1.4.1.9.9.42.1.2.1.1.4', - 'rttMonCtrlAdminRttTypeDefinition' => 'CISCO-RTTMON-TC-MIB::RttMonRttType', - 'rttMonCtrlAdminThreshold' => '1.3.6.1.4.1.9.9.42.1.2.1.1.5', - 'rttMonCtrlAdminFrequency' => '1.3.6.1.4.1.9.9.42.1.2.1.1.6', - 'rttMonCtrlAdminTimeout' => '1.3.6.1.4.1.9.9.42.1.2.1.1.7', - 'rttMonCtrlAdminVerifyData' => '1.3.6.1.4.1.9.9.42.1.2.1.1.8', - 'rttMonCtrlAdminVerifyDataDefinition' => 'SNMPv2-TC-v1-MIB::TruthValue', - 'rttMonCtrlAdminStatus' => '1.3.6.1.4.1.9.9.42.1.2.1.1.9', - 'rttMonCtrlAdminStatusDefinition' => 'SNMPv2-TC-v1-MIB::RowStatus', - - 'rttMonCtrlAdminNvgen' => '1.3.6.1.4.1.9.9.42.1.2.1.1.10', - 'rttMonCtrlAdminNvgenDefinition' => 'SNMPv2-TC-v1-MIB::TruthValue', - - 'rttMonCtrlAdminGroupName' => '1.3.6.1.4.1.9.9.42.1.2.1.1.11', - 'rttMonCtrlAdminLongTag' => '1.3.6.1.4.1.9.9.42.1.2.1.1.12', - 'rttMonEchoAdminTable' => '1.3.6.1.4.1.9.9.42.1.2.2', - 'rttMonEchoAdminEntry' => '1.3.6.1.4.1.9.9.42.1.2.2.1', - 'rttMonEchoAdminProtocol' => '1.3.6.1.4.1.9.9.42.1.2.2.1.1', - 'rttMonEchoAdminProtocolDefinition' => 'CISCO-RTTMON-TC-MIB::RttMonProtocol', - - 'rttMonEchoAdminTargetAddress' => '1.3.6.1.4.1.9.9.42.1.2.2.1.2', - 'rttMonEchoAdminPktDataRequestSize' => '1.3.6.1.4.1.9.9.42.1.2.2.1.3', - 'rttMonEchoAdminPktDataResponseSize' => '1.3.6.1.4.1.9.9.42.1.2.2.1.4', - 'rttMonEchoAdminTargetPort' => '1.3.6.1.4.1.9.9.42.1.2.2.1.5', - 'rttMonEchoAdminSourceAddress' => '1.3.6.1.4.1.9.9.42.1.2.2.1.6', - 'rttMonEchoAdminSourcePort' => '1.3.6.1.4.1.9.9.42.1.2.2.1.7', - 'rttMonEchoAdminControlEnable' => '1.3.6.1.4.1.9.9.42.1.2.2.1.8', - 'rttMonEchoAdminControlEnableDefinition' => 'SNMPv2-TC-v1-MIB::TruthValue', - - 'rttMonEchoAdminTOS' => '1.3.6.1.4.1.9.9.42.1.2.2.1.9', - 'rttMonEchoAdminLSREnable' => '1.3.6.1.4.1.9.9.42.1.2.2.1.10', - 'rttMonEchoAdminTargetAddressString' => '1.3.6.1.4.1.9.9.42.1.2.2.1.11', - 'rttMonEchoAdminNameServer' => '1.3.6.1.4.1.9.9.42.1.2.2.1.12', - 'rttMonEchoAdminOperation' => '1.3.6.1.4.1.9.9.42.1.2.2.1.13', - 'rttMonEchoAdminHTTPVersion' => '1.3.6.1.4.1.9.9.42.1.2.2.1.14', - 'rttMonEchoAdminURL' => '1.3.6.1.4.1.9.9.42.1.2.2.1.15', - 'rttMonEchoAdminCache' => '1.3.6.1.4.1.9.9.42.1.2.2.1.16', - 'rttMonEchoAdminInterval' => '1.3.6.1.4.1.9.9.42.1.2.2.1.17', - 'rttMonEchoAdminNumPackets' => '1.3.6.1.4.1.9.9.42.1.2.2.1.18', - 'rttMonEchoAdminProxy' => '1.3.6.1.4.1.9.9.42.1.2.2.1.19', - 'rttMonEchoAdminString1' => '1.3.6.1.4.1.9.9.42.1.2.2.1.20', - 'rttMonEchoAdminString2' => '1.3.6.1.4.1.9.9.42.1.2.2.1.21', - 'rttMonEchoAdminString3' => '1.3.6.1.4.1.9.9.42.1.2.2.1.22', - 'rttMonEchoAdminString4' => '1.3.6.1.4.1.9.9.42.1.2.2.1.23', - 'rttMonEchoAdminString5' => '1.3.6.1.4.1.9.9.42.1.2.2.1.24', - 'rttMonEchoAdminMode' => '1.3.6.1.4.1.9.9.42.1.2.2.1.25', - 'rttMonEchoAdminVrfName' => '1.3.6.1.4.1.9.9.42.1.2.2.1.26', - 'rttMonEchoAdminCodecType' => '1.3.6.1.4.1.9.9.42.1.2.2.1.27', - 'rttMonEchoAdminCodecTypeDefinition' => 'CISCO-RTTMON-TC-MIB::RttMonCodecType', - - 'rttMonEchoAdminCodecInterval' => '1.3.6.1.4.1.9.9.42.1.2.2.1.28', - 'rttMonEchoAdminCodecPayload' => '1.3.6.1.4.1.9.9.42.1.2.2.1.29', - 'rttMonEchoAdminCodecNumPackets' => '1.3.6.1.4.1.9.9.42.1.2.2.1.30', - 'rttMonEchoAdminICPIFAdvFactor' => '1.3.6.1.4.1.9.9.42.1.2.2.1.31', - 'rttMonEchoAdminLSPFECType' => '1.3.6.1.4.1.9.9.42.1.2.2.1.32', - 'rttMonEchoAdminLSPFECTypeDefinition' => 'CISCO-RTTMON-MIB::rttMonEchoAdminLSPFECType', - 'rttMonEchoAdminLSPSelector' => '1.3.6.1.4.1.9.9.42.1.2.2.1.33', - 'rttMonEchoAdminLSPReplyMode' => '1.3.6.1.4.1.9.9.42.1.2.2.1.34', - 'rttMonEchoAdminLSPTTL' => '1.3.6.1.4.1.9.9.42.1.2.2.1.35', - 'rttMonEchoAdminLSPExp' => '1.3.6.1.4.1.9.9.42.1.2.2.1.36', - 'rttMonEchoAdminPrecision' => '1.3.6.1.4.1.9.9.42.1.2.2.1.37', - 'rttMonEchoAdminPrecisionDefinition' => 'CISCO-RTTMON-MIB::rttMonEchoAdminPrecision', - 'rttMonEchoAdminProbePakPriority' => '1.3.6.1.4.1.9.9.42.1.2.2.1.38', - 'rttMonEchoAdminProbePakPriorityDefinition' => 'CISCO-RTTMON-MIB::rttMonEchoAdminProbePakPriority', - 'rttMonEchoAdminOWNTPSyncTolAbs' => '1.3.6.1.4.1.9.9.42.1.2.2.1.39', - 'rttMonEchoAdminOWNTPSyncTolPct' => '1.3.6.1.4.1.9.9.42.1.2.2.1.40', - 'rttMonEchoAdminOWNTPSyncTolType' => '1.3.6.1.4.1.9.9.42.1.2.2.1.41', - 'rttMonEchoAdminOWNTPSyncTolTypeDefinition' => 'CISCO-RTTMON-MIB::rttMonEchoAdminOWNTPSyncTolType', - 'rttMonEchoAdminCalledNumber' => '1.3.6.1.4.1.9.9.42.1.2.2.1.42', - 'rttMonEchoAdminDetectPoint' => '1.3.6.1.4.1.9.9.42.1.2.2.1.43', - 'rttMonEchoAdminGKRegistration' => '1.3.6.1.4.1.9.9.42.1.2.2.1.44', - 'rttMonEchoAdminSourceVoicePort' => '1.3.6.1.4.1.9.9.42.1.2.2.1.45', - 'rttMonEchoAdminCallDuration' => '1.3.6.1.4.1.9.9.42.1.2.2.1.46', - 'rttMonEchoAdminLSPReplyDscp' => '1.3.6.1.4.1.9.9.42.1.2.2.1.47', - 'rttMonEchoAdminLSPNullShim' => '1.3.6.1.4.1.9.9.42.1.2.2.1.48', - 'rttMonEchoAdminTargetMPID' => '1.3.6.1.4.1.9.9.42.1.2.2.1.49', - 'rttMonEchoAdminTargetDomainName' => '1.3.6.1.4.1.9.9.42.1.2.2.1.50', - 'rttMonEchoAdminTargetVLAN' => '1.3.6.1.4.1.9.9.42.1.2.2.1.51', - 'rttMonEchoAdminEthernetCOS' => '1.3.6.1.4.1.9.9.42.1.2.2.1.52', - 'rttMonEchoAdminLSPVccvID' => '1.3.6.1.4.1.9.9.42.1.2.2.1.53', - 'rttMonEchoAdminTargetEVC' => '1.3.6.1.4.1.9.9.42.1.2.2.1.54', - 'rttMonEchoAdminTargetMEPPort' => '1.3.6.1.4.1.9.9.42.1.2.2.1.55', - 'rttMonEchoAdminVideoTrafficProfile' => '1.3.6.1.4.1.9.9.42.1.2.2.1.56', - 'rttMonEchoAdminDscp' => '1.3.6.1.4.1.9.9.42.1.2.2.1.57', - 'rttMonEchoAdminReserveDsp' => '1.3.6.1.4.1.9.9.42.1.2.2.1.58', - 'rttMonEchoAdminReserveDspDefinition' => 'CISCO-RTTMON-MIB::rttMonEchoAdminReserveDsp', - 'rttMonEchoAdminInputInterface' => '1.3.6.1.4.1.9.9.42.1.2.2.1.59', - 'rttMonEchoAdminEmulateSourceAddress' => '1.3.6.1.4.1.9.9.42.1.2.2.1.60', - 'rttMonEchoAdminEmulateSourcePort' => '1.3.6.1.4.1.9.9.42.1.2.2.1.61', - 'rttMonEchoAdminEmulateTargetAddress' => '1.3.6.1.4.1.9.9.42.1.2.2.1.62', - 'rttMonEchoAdminEmulateTargetPort' => '1.3.6.1.4.1.9.9.42.1.2.2.1.63', - 'rttMonEchoAdminTargetMacAddress' => '1.3.6.1.4.1.9.9.42.1.2.2.1.64', - 'rttMonEchoAdminSourceMacAddress' => '1.3.6.1.4.1.9.9.42.1.2.2.1.65', - 'rttMonEchoAdminSourceMPID' => '1.3.6.1.4.1.9.9.42.1.2.2.1.66', - 'rttMonEchoAdminEndPointListName' => '1.3.6.1.4.1.9.9.42.1.2.2.1.67', - 'rttMonEchoAdminSSM' => '1.3.6.1.4.1.9.9.42.1.2.2.1.68', - 'rttMonEchoAdminControlRetry' => '1.3.6.1.4.1.9.9.42.1.2.2.1.69', - 'rttMonEchoAdminControlTimeout' => '1.3.6.1.4.1.9.9.42.1.2.2.1.70', - 'rttMonEchoAdminIgmpTreeInit' => '1.3.6.1.4.1.9.9.42.1.2.2.1.71', - 'rttMonEchoAdminEnableBurst' => '1.3.6.1.4.1.9.9.42.1.2.2.1.72', - 'rttMonEchoAdminAggBurstCycles' => '1.3.6.1.4.1.9.9.42.1.2.2.1.73', - 'rttMonEchoAdminLossRatioNumFrames' => '1.3.6.1.4.1.9.9.42.1.2.2.1.74', - 'rttMonEchoAdminAvailNumFrames' => '1.3.6.1.4.1.9.9.42.1.2.2.1.75', - 'rttMonEchoAdminTstampOptimization' => '1.3.6.1.4.1.9.9.42.1.2.2.1.76', - 'rttMonEchoAdminTargetSwitchId' => '1.3.6.1.4.1.9.9.42.1.2.2.1.77', - 'rttMonEchoAdminProfileId' => '1.3.6.1.4.1.9.9.42.1.2.2.1.78', - 'rttMonEchoAdminOutputInterface' => '1.3.6.1.4.1.9.9.42.1.2.2.1.79', - 'rttMonFileIOAdminTable' => '1.3.6.1.4.1.9.9.42.1.2.3', - 'rttMonFileIOAdminEntry' => '1.3.6.1.4.1.9.9.42.1.2.3.1', - 'rttMonFileIOAdminFilePath' => '1.3.6.1.4.1.9.9.42.1.2.3.1.1', - 'rttMonFileIOAdminSize' => '1.3.6.1.4.1.9.9.42.1.2.3.1.2', - 'rttMonFileIOAdminSizeDefinition' => 'CISCO-RTTMON-MIB::rttMonFileIOAdminSize', - 'rttMonFileIOAdminAction' => '1.3.6.1.4.1.9.9.42.1.2.3.1.3', - 'rttMonFileIOAdminActionDefinition' => 'CISCO-RTTMON-MIB::rttMonFileIOAdminAction', - 'rttMonScriptAdminTable' => '1.3.6.1.4.1.9.9.42.1.2.4', - 'rttMonScriptAdminEntry' => '1.3.6.1.4.1.9.9.42.1.2.4.1', - 'rttMonScriptAdminName' => '1.3.6.1.4.1.9.9.42.1.2.4.1.1', - 'rttMonScriptAdminCmdLineParams' => '1.3.6.1.4.1.9.9.42.1.2.4.1.2', - 'rttMonScheduleAdminTable' => '1.3.6.1.4.1.9.9.42.1.2.5', - 'rttMonScheduleAdminEntry' => '1.3.6.1.4.1.9.9.42.1.2.5.1', - 'rttMonScheduleAdminRttLife' => '1.3.6.1.4.1.9.9.42.1.2.5.1.1', - 'rttMonScheduleAdminRttStartTime' => '1.3.6.1.4.1.9.9.42.1.2.5.1.2', - 'rttMonScheduleAdminConceptRowAgeout' => '1.3.6.1.4.1.9.9.42.1.2.5.1.3', - 'rttMonScheduleAdminRttRecurring' => '1.3.6.1.4.1.9.9.42.1.2.5.1.4', - 'rttMonScheduleAdminConceptRowAgeoutV2' => '1.3.6.1.4.1.9.9.42.1.2.5.1.5', - 'rttMonScheduleAdminStartType' => '1.3.6.1.4.1.9.9.42.1.2.5.1.6', - 'rttMonScheduleAdminStartDelay' => '1.3.6.1.4.1.9.9.42.1.2.5.1.7', - 'rttMonReactAdminTable' => '1.3.6.1.4.1.9.9.42.1.2.6', - 'rttMonReactAdminEntry' => '1.3.6.1.4.1.9.9.42.1.2.6.1', - 'rttMonReactAdminConnectionEnable' => '1.3.6.1.4.1.9.9.42.1.2.6.1.1', - 'rttMonReactAdminTimeoutEnable' => '1.3.6.1.4.1.9.9.42.1.2.6.1.2', - 'rttMonReactAdminThresholdType' => '1.3.6.1.4.1.9.9.42.1.2.6.1.3', - 'rttMonReactAdminThresholdTypeDefinition' => 'CISCO-RTTMON-MIB::rttMonReactAdminThresholdType', - 'rttMonReactAdminThresholdFalling' => '1.3.6.1.4.1.9.9.42.1.2.6.1.4', - 'rttMonReactAdminThresholdCount' => '1.3.6.1.4.1.9.9.42.1.2.6.1.5', - 'rttMonReactAdminThresholdCount2' => '1.3.6.1.4.1.9.9.42.1.2.6.1.6', - 'rttMonReactAdminActionType' => '1.3.6.1.4.1.9.9.42.1.2.6.1.7', - 'rttMonReactAdminActionTypeDefinition' => 'CISCO-RTTMON-MIB::rttMonReactAdminActionType', - 'rttMonReactAdminVerifyErrorEnable' => '1.3.6.1.4.1.9.9.42.1.2.6.1.8', - 'rttMonStatisticsAdminTable' => '1.3.6.1.4.1.9.9.42.1.2.7', - 'rttMonStatisticsAdminEntry' => '1.3.6.1.4.1.9.9.42.1.2.7.1', - 'rttMonStatisticsAdminNumHourGroups' => '1.3.6.1.4.1.9.9.42.1.2.7.1.1', - 'rttMonStatisticsAdminNumPaths' => '1.3.6.1.4.1.9.9.42.1.2.7.1.2', - 'rttMonStatisticsAdminNumHops' => '1.3.6.1.4.1.9.9.42.1.2.7.1.3', - 'rttMonStatisticsAdminNumDistBuckets' => '1.3.6.1.4.1.9.9.42.1.2.7.1.4', - 'rttMonStatisticsAdminDistInterval' => '1.3.6.1.4.1.9.9.42.1.2.7.1.5', - 'rttMonHistoryAdminTable' => '1.3.6.1.4.1.9.9.42.1.2.8', - 'rttMonHistoryAdminEntry' => '1.3.6.1.4.1.9.9.42.1.2.8.1', - 'rttMonHistoryAdminNumLives' => '1.3.6.1.4.1.9.9.42.1.2.8.1.1', - 'rttMonHistoryAdminNumBuckets' => '1.3.6.1.4.1.9.9.42.1.2.8.1.2', - 'rttMonHistoryAdminNumSamples' => '1.3.6.1.4.1.9.9.42.1.2.8.1.3', - 'rttMonHistoryAdminFilter' => '1.3.6.1.4.1.9.9.42.1.2.8.1.4', - 'rttMonHistoryAdminFilterDefinition' => 'CISCO-RTTMON-MIB::rttMonHistoryAdminFilter', - 'rttMonCtrlOperTable' => '1.3.6.1.4.1.9.9.42.1.2.9', - 'rttMonCtrlOperEntry' => '1.3.6.1.4.1.9.9.42.1.2.9.1', - 'rttMonCtrlOperModificationTime' => '1.3.6.1.4.1.9.9.42.1.2.9.1.1', - 'rttMonCtrlOperDiagText' => '1.3.6.1.4.1.9.9.42.1.2.9.1.2', - 'rttMonCtrlOperResetTime' => '1.3.6.1.4.1.9.9.42.1.2.9.1.3', - 'rttMonCtrlOperOctetsInUse' => '1.3.6.1.4.1.9.9.42.1.2.9.1.4', - 'rttMonCtrlOperConnectionLostOccurred' => '1.3.6.1.4.1.9.9.42.1.2.9.1.5', - 'rttMonCtrlOperConnectionLostOccurredDefinition' => 'SNMPv2-TC-v1-MIB::TruthValue', - 'rttMonCtrlOperTimeoutOccurred' => '1.3.6.1.4.1.9.9.42.1.2.9.1.6', - 'rttMonCtrlOperTimeoutOccurredDefinition' => 'SNMPv2-TC-v1-MIB::TruthValue', - 'rttMonCtrlOperOverThresholdOccurred' => '1.3.6.1.4.1.9.9.42.1.2.9.1.7', - 'rttMonCtrlOperOverThresholdOccurredDefinition' => 'SNMPv2-TC-v1-MIB::TruthValue', - 'rttMonCtrlOperNumRtts' => '1.3.6.1.4.1.9.9.42.1.2.9.1.8', - 'rttMonCtrlOperRttLife' => '1.3.6.1.4.1.9.9.42.1.2.9.1.9', - 'rttMonCtrlOperState' => '1.3.6.1.4.1.9.9.42.1.2.9.1.10', - 'rttMonCtrlOperStateDefinition' => 'CISCO-RTTMON-MIB::rttMonCtrlOperState', - 'rttMonCtrlOperVerifyErrorOccurred' => '1.3.6.1.4.1.9.9.42.1.2.9.1.11', - 'rttMonCtrlOperVerifyErrorOccurredDefinition' => 'SNMPv2-TC-v1-MIB::TruthValue', - 'rttMonLatestRttOperTable' => '1.3.6.1.4.1.9.9.42.1.2.10', - 'rttMonLatestRttOperEntry' => '1.3.6.1.4.1.9.9.42.1.2.10.1', - 'rttMonLatestRttOperCompletionTime' => '1.3.6.1.4.1.9.9.42.1.2.10.1.1', - 'rttMonLatestRttOperSense' => '1.3.6.1.4.1.9.9.42.1.2.10.1.2', - 'rttMonLatestRttOperSenseDefinition' => 'CISCO-RTTMON-TC-MIB::RttResponseSense', - - 'rttMonLatestRttOperApplSpecificSense' => '1.3.6.1.4.1.9.9.42.1.2.10.1.3', - 'rttMonLatestRttOperSenseDescription' => '1.3.6.1.4.1.9.9.42.1.2.10.1.4', - 'rttMonLatestRttOperTime' => '1.3.6.1.4.1.9.9.42.1.2.10.1.5', - 'rttMonLatestRttOperAddress' => '1.3.6.1.4.1.9.9.42.1.2.10.1.6', - 'rttMonReactTriggerAdminTable' => '1.3.6.1.4.1.9.9.42.1.2.11', - 'rttMonReactTriggerAdminEntry' => '1.3.6.1.4.1.9.9.42.1.2.11.1', - 'rttMonReactTriggerAdminRttMonCtrlAdminIndex' => '1.3.6.1.4.1.9.9.42.1.2.11.1.1', - 'rttMonReactTriggerAdminStatus' => '1.3.6.1.4.1.9.9.42.1.2.11.1.2', - 'rttMonReactTriggerOperTable' => '1.3.6.1.4.1.9.9.42.1.2.12', - 'rttMonReactTriggerOperEntry' => '1.3.6.1.4.1.9.9.42.1.2.12.1', - 'rttMonReactTriggerOperState' => '1.3.6.1.4.1.9.9.42.1.2.12.1.1', - 'rttMonReactTriggerOperStateDefinition' => 'CISCO-RTTMON-MIB::rttMonReactTriggerOperState', - 'rttMonEchoPathAdminTable' => '1.3.6.1.4.1.9.9.42.1.2.13', - 'rttMonEchoPathAdminEntry' => '1.3.6.1.4.1.9.9.42.1.2.13.1', - 'rttMonEchoPathAdminHopIndex' => '1.3.6.1.4.1.9.9.42.1.2.13.1.1', - 'rttMonEchoPathAdminHopAddress' => '1.3.6.1.4.1.9.9.42.1.2.13.1.2', - 'rttMonGrpScheduleAdminTable' => '1.3.6.1.4.1.9.9.42.1.2.14', - 'rttMonGrpScheduleAdminEntry' => '1.3.6.1.4.1.9.9.42.1.2.14.1', - 'rttMonGrpScheduleAdminIndex' => '1.3.6.1.4.1.9.9.42.1.2.14.1.1', - 'rttMonGrpScheduleAdminProbes' => '1.3.6.1.4.1.9.9.42.1.2.14.1.2', - 'rttMonGrpScheduleAdminPeriod' => '1.3.6.1.4.1.9.9.42.1.2.14.1.3', - 'rttMonGrpScheduleAdminFrequency' => '1.3.6.1.4.1.9.9.42.1.2.14.1.4', - 'rttMonGrpScheduleAdminLife' => '1.3.6.1.4.1.9.9.42.1.2.14.1.5', - 'rttMonGrpScheduleAdminAgeout' => '1.3.6.1.4.1.9.9.42.1.2.14.1.6', - 'rttMonGrpScheduleAdminStatus' => '1.3.6.1.4.1.9.9.42.1.2.14.1.7', - 'rttMonGrpScheduleAdminFreqMax' => '1.3.6.1.4.1.9.9.42.1.2.14.1.8', - 'rttMonGrpScheduleAdminFreqMin' => '1.3.6.1.4.1.9.9.42.1.2.14.1.9', - 'rttMonGrpScheduleAdminStartTime' => '1.3.6.1.4.1.9.9.42.1.2.14.1.10', - 'rttMonGrpScheduleAdminAdd' => '1.3.6.1.4.1.9.9.42.1.2.14.1.11', - 'rttMonGrpScheduleAdminDelete' => '1.3.6.1.4.1.9.9.42.1.2.14.1.12', - 'rttMonGrpScheduleAdminReset' => '1.3.6.1.4.1.9.9.42.1.2.14.1.13', - 'rttMonGrpScheduleAdminStartType' => '1.3.6.1.4.1.9.9.42.1.2.14.1.14', - 'rttMonGrpScheduleAdminStartDelay' => '1.3.6.1.4.1.9.9.42.1.2.14.1.15', - 'rttMplsVpnMonCtrlTable' => '1.3.6.1.4.1.9.9.42.1.2.15', - 'rttMplsVpnMonCtrlEntry' => '1.3.6.1.4.1.9.9.42.1.2.15.1', - 'rttMplsVpnMonCtrlIndex' => '1.3.6.1.4.1.9.9.42.1.2.15.1.1', - 'rttMplsVpnMonCtrlRttType' => '1.3.6.1.4.1.9.9.42.1.2.15.1.2', - 'rttMplsVpnMonCtrlVrfName' => '1.3.6.1.4.1.9.9.42.1.2.15.1.3', - 'rttMplsVpnMonCtrlTag' => '1.3.6.1.4.1.9.9.42.1.2.15.1.4', - 'rttMplsVpnMonCtrlThreshold' => '1.3.6.1.4.1.9.9.42.1.2.15.1.5', - 'rttMplsVpnMonCtrlTimeout' => '1.3.6.1.4.1.9.9.42.1.2.15.1.6', - 'rttMplsVpnMonCtrlScanInterval' => '1.3.6.1.4.1.9.9.42.1.2.15.1.7', - 'rttMplsVpnMonCtrlDelScanFactor' => '1.3.6.1.4.1.9.9.42.1.2.15.1.8', - 'rttMplsVpnMonCtrlEXP' => '1.3.6.1.4.1.9.9.42.1.2.15.1.9', - 'rttMplsVpnMonCtrlRequestSize' => '1.3.6.1.4.1.9.9.42.1.2.15.1.10', - 'rttMplsVpnMonCtrlVerifyData' => '1.3.6.1.4.1.9.9.42.1.2.15.1.11', - 'rttMplsVpnMonCtrlStorageType' => '1.3.6.1.4.1.9.9.42.1.2.15.1.12', - 'rttMplsVpnMonCtrlProbeList' => '1.3.6.1.4.1.9.9.42.1.2.15.1.13', - 'rttMplsVpnMonCtrlStatus' => '1.3.6.1.4.1.9.9.42.1.2.15.1.14', - 'rttMplsVpnMonCtrlLpd' => '1.3.6.1.4.1.9.9.42.1.2.15.1.15', - 'rttMplsVpnMonCtrlLpdGrpList' => '1.3.6.1.4.1.9.9.42.1.2.15.1.16', - 'rttMplsVpnMonCtrlLpdCompTime' => '1.3.6.1.4.1.9.9.42.1.2.15.1.17', - 'rttMplsVpnMonTypeTable' => '1.3.6.1.4.1.9.9.42.1.2.16', - 'rttMplsVpnMonTypeEntry' => '1.3.6.1.4.1.9.9.42.1.2.16.1', - 'rttMplsVpnMonTypeInterval' => '1.3.6.1.4.1.9.9.42.1.2.16.1.1', - 'rttMplsVpnMonTypeNumPackets' => '1.3.6.1.4.1.9.9.42.1.2.16.1.2', - 'rttMplsVpnMonTypeDestPort' => '1.3.6.1.4.1.9.9.42.1.2.16.1.3', - 'rttMplsVpnMonTypeSecFreqType' => '1.3.6.1.4.1.9.9.42.1.2.16.1.4', - 'rttMplsVpnMonTypeSecFreqTypeDefinition' => 'CISCO-RTTMON-MIB::rttMplsVpnMonTypeSecFreqType', - 'rttMplsVpnMonTypeSecFreqValue' => '1.3.6.1.4.1.9.9.42.1.2.16.1.5', - 'rttMplsVpnMonTypeLspSelector' => '1.3.6.1.4.1.9.9.42.1.2.16.1.6', - 'rttMplsVpnMonTypeLSPReplyMode' => '1.3.6.1.4.1.9.9.42.1.2.16.1.7', - 'rttMplsVpnMonTypeLSPTTL' => '1.3.6.1.4.1.9.9.42.1.2.16.1.8', - 'rttMplsVpnMonTypeLSPReplyDscp' => '1.3.6.1.4.1.9.9.42.1.2.16.1.9', - 'rttMplsVpnMonTypeLpdMaxSessions' => '1.3.6.1.4.1.9.9.42.1.2.16.1.10', - 'rttMplsVpnMonTypeLpdSessTimeout' => '1.3.6.1.4.1.9.9.42.1.2.16.1.11', - 'rttMplsVpnMonTypeLpdEchoTimeout' => '1.3.6.1.4.1.9.9.42.1.2.16.1.12', - 'rttMplsVpnMonTypeLpdEchoInterval' => '1.3.6.1.4.1.9.9.42.1.2.16.1.13', - 'rttMplsVpnMonTypeLpdEchoNullShim' => '1.3.6.1.4.1.9.9.42.1.2.16.1.14', - 'rttMplsVpnMonTypeLpdScanPeriod' => '1.3.6.1.4.1.9.9.42.1.2.16.1.15', - 'rttMplsVpnMonTypeLpdStatHours' => '1.3.6.1.4.1.9.9.42.1.2.16.1.16', - 'rttMplsVpnMonScheduleTable' => '1.3.6.1.4.1.9.9.42.1.2.17', - 'rttMplsVpnMonScheduleEntry' => '1.3.6.1.4.1.9.9.42.1.2.17.1', - 'rttMplsVpnMonScheduleRttStartTime' => '1.3.6.1.4.1.9.9.42.1.2.17.1.1', - 'rttMplsVpnMonSchedulePeriod' => '1.3.6.1.4.1.9.9.42.1.2.17.1.2', - 'rttMplsVpnMonScheduleFrequency' => '1.3.6.1.4.1.9.9.42.1.2.17.1.3', - 'rttMplsVpnMonReactTable' => '1.3.6.1.4.1.9.9.42.1.2.18', - 'rttMplsVpnMonReactEntry' => '1.3.6.1.4.1.9.9.42.1.2.18.1', - 'rttMplsVpnMonReactConnectionEnable' => '1.3.6.1.4.1.9.9.42.1.2.18.1.1', - 'rttMplsVpnMonReactTimeoutEnable' => '1.3.6.1.4.1.9.9.42.1.2.18.1.2', - 'rttMplsVpnMonReactThresholdType' => '1.3.6.1.4.1.9.9.42.1.2.18.1.3', - 'rttMplsVpnMonReactThresholdTypeDefinition' => 'CISCO-RTTMON-MIB::rttMplsVpnMonReactThresholdType', - 'rttMplsVpnMonReactThresholdCount' => '1.3.6.1.4.1.9.9.42.1.2.18.1.4', - 'rttMplsVpnMonReactActionType' => '1.3.6.1.4.1.9.9.42.1.2.18.1.5', - 'rttMplsVpnMonReactActionTypeDefinition' => 'CISCO-RTTMON-MIB::rttMplsVpnMonReactActionType', - 'rttMplsVpnMonReactLpdNotifyType' => '1.3.6.1.4.1.9.9.42.1.2.18.1.6', - 'rttMplsVpnMonReactLpdNotifyTypeDefinition' => 'CISCO-RTTMON-MIB::rttMplsVpnMonReactLpdNotifyType', - 'rttMplsVpnMonReactLpdRetryCount' => '1.3.6.1.4.1.9.9.42.1.2.18.1.7', - 'rttMonReactTable' => '1.3.6.1.4.1.9.9.42.1.2.19', - 'rttMonReactEntry' => '1.3.6.1.4.1.9.9.42.1.2.19.1', - 'rttMonReactConfigIndex' => '1.3.6.1.4.1.9.9.42.1.2.19.1.1', - 'rttMonReactVar' => '1.3.6.1.4.1.9.9.42.1.2.19.1.2', - 'rttMonReactThresholdType' => '1.3.6.1.4.1.9.9.42.1.2.19.1.3', - 'rttMonReactThresholdTypeDefinition' => 'CISCO-RTTMON-MIB::rttMonReactThresholdType', - 'rttMonReactActionType' => '1.3.6.1.4.1.9.9.42.1.2.19.1.4', - 'rttMonReactActionTypeDefinition' => 'CISCO-RTTMON-MIB::rttMonReactActionType', - 'rttMonReactThresholdRising' => '1.3.6.1.4.1.9.9.42.1.2.19.1.5', - 'rttMonReactThresholdFalling' => '1.3.6.1.4.1.9.9.42.1.2.19.1.6', - 'rttMonReactThresholdCountX' => '1.3.6.1.4.1.9.9.42.1.2.19.1.7', - 'rttMonReactThresholdCountY' => '1.3.6.1.4.1.9.9.42.1.2.19.1.8', - 'rttMonReactValue' => '1.3.6.1.4.1.9.9.42.1.2.19.1.9', - 'rttMonReactOccurred' => '1.3.6.1.4.1.9.9.42.1.2.19.1.10', - 'rttMonReactStatus' => '1.3.6.1.4.1.9.9.42.1.2.19.1.11', - 'rttMonGeneratedOperTable' => '1.3.6.1.4.1.9.9.42.1.2.20', - 'rttMonGeneratedOperEntry' => '1.3.6.1.4.1.9.9.42.1.2.20.1', - 'rttMonGeneratedOperRespIpAddrType' => '1.3.6.1.4.1.9.9.42.1.2.20.1.1', - 'rttMonGeneratedOperRespIpAddr' => '1.3.6.1.4.1.9.9.42.1.2.20.1.2', - 'rttMonGeneratedOperCtrlAdminIndex' => '1.3.6.1.4.1.9.9.42.1.2.20.1.3', - 'rttMonStats' => '1.3.6.1.4.1.9.9.42.1.3', - 'rttMonStatsCaptureTable' => '1.3.6.1.4.1.9.9.42.1.3.1', - 'rttMonStatsCaptureEntry' => '1.3.6.1.4.1.9.9.42.1.3.1.1', - 'rttMonStatsCaptureStartTimeIndex' => '1.3.6.1.4.1.9.9.42.1.3.1.1.1', - 'rttMonStatsCapturePathIndex' => '1.3.6.1.4.1.9.9.42.1.3.1.1.2', - 'rttMonStatsCaptureHopIndex' => '1.3.6.1.4.1.9.9.42.1.3.1.1.3', - 'rttMonStatsCaptureDistIndex' => '1.3.6.1.4.1.9.9.42.1.3.1.1.4', - 'rttMonStatsCaptureCompletions' => '1.3.6.1.4.1.9.9.42.1.3.1.1.5', - 'rttMonStatsCaptureOverThresholds' => '1.3.6.1.4.1.9.9.42.1.3.1.1.6', - 'rttMonStatsCaptureSumCompletionTime' => '1.3.6.1.4.1.9.9.42.1.3.1.1.7', - 'rttMonStatsCaptureSumCompletionTime2Low' => '1.3.6.1.4.1.9.9.42.1.3.1.1.8', - 'rttMonStatsCaptureSumCompletionTime2High' => '1.3.6.1.4.1.9.9.42.1.3.1.1.9', - 'rttMonStatsCaptureCompletionTimeMax' => '1.3.6.1.4.1.9.9.42.1.3.1.1.10', - 'rttMonStatsCaptureCompletionTimeMin' => '1.3.6.1.4.1.9.9.42.1.3.1.1.11', - 'rttMonStatsCollectTable' => '1.3.6.1.4.1.9.9.42.1.3.2', - 'rttMonStatsCollectEntry' => '1.3.6.1.4.1.9.9.42.1.3.2.1', - 'rttMonStatsCollectNumDisconnects' => '1.3.6.1.4.1.9.9.42.1.3.2.1.1', - 'rttMonStatsCollectTimeouts' => '1.3.6.1.4.1.9.9.42.1.3.2.1.2', - 'rttMonStatsCollectBusies' => '1.3.6.1.4.1.9.9.42.1.3.2.1.3', - 'rttMonStatsCollectNoConnections' => '1.3.6.1.4.1.9.9.42.1.3.2.1.4', - 'rttMonStatsCollectDrops' => '1.3.6.1.4.1.9.9.42.1.3.2.1.5', - 'rttMonStatsCollectSequenceErrors' => '1.3.6.1.4.1.9.9.42.1.3.2.1.6', - 'rttMonStatsCollectVerifyErrors' => '1.3.6.1.4.1.9.9.42.1.3.2.1.7', - 'rttMonStatsCollectAddress' => '1.3.6.1.4.1.9.9.42.1.3.2.1.8', - 'rttMonControlEnableErrors' => '1.3.6.1.4.1.9.9.42.1.3.2.1.9', - 'rttMonStatsRetrieveErrors' => '1.3.6.1.4.1.9.9.42.1.3.2.1.10', - 'rttMonStatsCollectCtrlEnErrors' => '1.3.6.1.4.1.9.9.42.1.3.2.1.11', - 'rttMonStatsCollectRetrieveErrors' => '1.3.6.1.4.1.9.9.42.1.3.2.1.12', - 'rttMonStatsTotalsTable' => '1.3.6.1.4.1.9.9.42.1.3.3', - 'rttMonStatsTotalsEntry' => '1.3.6.1.4.1.9.9.42.1.3.3.1', - 'rttMonStatsTotalsElapsedTime' => '1.3.6.1.4.1.9.9.42.1.3.3.1.1', - 'rttMonStatsTotalsInitiations' => '1.3.6.1.4.1.9.9.42.1.3.3.1.2', - 'rttMonHTTPStatsTable' => '1.3.6.1.4.1.9.9.42.1.3.4', - 'rttMonHTTPStatsEntry' => '1.3.6.1.4.1.9.9.42.1.3.4.1', - 'rttMonHTTPStatsStartTimeIndex' => '1.3.6.1.4.1.9.9.42.1.3.4.1.1', - 'rttMonHTTPStatsCompletions' => '1.3.6.1.4.1.9.9.42.1.3.4.1.2', - 'rttMonHTTPStatsOverThresholds' => '1.3.6.1.4.1.9.9.42.1.3.4.1.3', - 'rttMonHTTPStatsRTTSum' => '1.3.6.1.4.1.9.9.42.1.3.4.1.4', - 'rttMonHTTPStatsRTTSum2Low' => '1.3.6.1.4.1.9.9.42.1.3.4.1.5', - 'rttMonHTTPStatsRTTSum2High' => '1.3.6.1.4.1.9.9.42.1.3.4.1.6', - 'rttMonHTTPStatsRTTMin' => '1.3.6.1.4.1.9.9.42.1.3.4.1.7', - 'rttMonHTTPStatsRTTMax' => '1.3.6.1.4.1.9.9.42.1.3.4.1.8', - 'rttMonHTTPStatsDNSRTTSum' => '1.3.6.1.4.1.9.9.42.1.3.4.1.9', - 'rttMonHTTPStatsTCPConnectRTTSum' => '1.3.6.1.4.1.9.9.42.1.3.4.1.10', - 'rttMonHTTPStatsTransactionRTTSum' => '1.3.6.1.4.1.9.9.42.1.3.4.1.11', - 'rttMonHTTPStatsMessageBodyOctetsSum' => '1.3.6.1.4.1.9.9.42.1.3.4.1.12', - 'rttMonHTTPStatsDNSServerTimeout' => '1.3.6.1.4.1.9.9.42.1.3.4.1.13', - 'rttMonHTTPStatsTCPConnectTimeout' => '1.3.6.1.4.1.9.9.42.1.3.4.1.14', - 'rttMonHTTPStatsTransactionTimeout' => '1.3.6.1.4.1.9.9.42.1.3.4.1.15', - 'rttMonHTTPStatsDNSQueryError' => '1.3.6.1.4.1.9.9.42.1.3.4.1.16', - 'rttMonHTTPStatsHTTPError' => '1.3.6.1.4.1.9.9.42.1.3.4.1.17', - 'rttMonHTTPStatsError' => '1.3.6.1.4.1.9.9.42.1.3.4.1.18', - 'rttMonHTTPStatsBusies' => '1.3.6.1.4.1.9.9.42.1.3.4.1.19', - 'rttMonJitterStatsTable' => '1.3.6.1.4.1.9.9.42.1.3.5', - 'rttMonJitterStatsEntry' => '1.3.6.1.4.1.9.9.42.1.3.5.1', - 'rttMonJitterStatsStartTimeIndex' => '1.3.6.1.4.1.9.9.42.1.3.5.1.1', - 'rttMonJitterStatsCompletions' => '1.3.6.1.4.1.9.9.42.1.3.5.1.2', - 'rttMonJitterStatsOverThresholds' => '1.3.6.1.4.1.9.9.42.1.3.5.1.3', - 'rttMonJitterStatsNumOfRTT' => '1.3.6.1.4.1.9.9.42.1.3.5.1.4', - 'rttMonJitterStatsRTTSum' => '1.3.6.1.4.1.9.9.42.1.3.5.1.5', - 'rttMonJitterStatsRTTSum2Low' => '1.3.6.1.4.1.9.9.42.1.3.5.1.6', - 'rttMonJitterStatsRTTSum2High' => '1.3.6.1.4.1.9.9.42.1.3.5.1.7', - 'rttMonJitterStatsRTTMin' => '1.3.6.1.4.1.9.9.42.1.3.5.1.8', - 'rttMonJitterStatsRTTMax' => '1.3.6.1.4.1.9.9.42.1.3.5.1.9', - 'rttMonJitterStatsMinOfPositivesSD' => '1.3.6.1.4.1.9.9.42.1.3.5.1.10', - 'rttMonJitterStatsMaxOfPositivesSD' => '1.3.6.1.4.1.9.9.42.1.3.5.1.11', - 'rttMonJitterStatsNumOfPositivesSD' => '1.3.6.1.4.1.9.9.42.1.3.5.1.12', - 'rttMonJitterStatsSumOfPositivesSD' => '1.3.6.1.4.1.9.9.42.1.3.5.1.13', - 'rttMonJitterStatsSum2PositivesSDLow' => '1.3.6.1.4.1.9.9.42.1.3.5.1.14', - 'rttMonJitterStatsSum2PositivesSDHigh' => '1.3.6.1.4.1.9.9.42.1.3.5.1.15', - 'rttMonJitterStatsMinOfNegativesSD' => '1.3.6.1.4.1.9.9.42.1.3.5.1.16', - 'rttMonJitterStatsMaxOfNegativesSD' => '1.3.6.1.4.1.9.9.42.1.3.5.1.17', - 'rttMonJitterStatsNumOfNegativesSD' => '1.3.6.1.4.1.9.9.42.1.3.5.1.18', - 'rttMonJitterStatsSumOfNegativesSD' => '1.3.6.1.4.1.9.9.42.1.3.5.1.19', - 'rttMonJitterStatsSum2NegativesSDLow' => '1.3.6.1.4.1.9.9.42.1.3.5.1.20', - 'rttMonJitterStatsSum2NegativesSDHigh' => '1.3.6.1.4.1.9.9.42.1.3.5.1.21', - 'rttMonJitterStatsMinOfPositivesDS' => '1.3.6.1.4.1.9.9.42.1.3.5.1.22', - 'rttMonJitterStatsMaxOfPositivesDS' => '1.3.6.1.4.1.9.9.42.1.3.5.1.23', - 'rttMonJitterStatsNumOfPositivesDS' => '1.3.6.1.4.1.9.9.42.1.3.5.1.24', - 'rttMonJitterStatsSumOfPositivesDS' => '1.3.6.1.4.1.9.9.42.1.3.5.1.25', - 'rttMonJitterStatsSum2PositivesDSLow' => '1.3.6.1.4.1.9.9.42.1.3.5.1.26', - 'rttMonJitterStatsSum2PositivesDSHigh' => '1.3.6.1.4.1.9.9.42.1.3.5.1.27', - 'rttMonJitterStatsMinOfNegativesDS' => '1.3.6.1.4.1.9.9.42.1.3.5.1.28', - 'rttMonJitterStatsMaxOfNegativesDS' => '1.3.6.1.4.1.9.9.42.1.3.5.1.29', - 'rttMonJitterStatsNumOfNegativesDS' => '1.3.6.1.4.1.9.9.42.1.3.5.1.30', - 'rttMonJitterStatsSumOfNegativesDS' => '1.3.6.1.4.1.9.9.42.1.3.5.1.31', - 'rttMonJitterStatsSum2NegativesDSLow' => '1.3.6.1.4.1.9.9.42.1.3.5.1.32', - 'rttMonJitterStatsSum2NegativesDSHigh' => '1.3.6.1.4.1.9.9.42.1.3.5.1.33', - 'rttMonJitterStatsPacketLossSD' => '1.3.6.1.4.1.9.9.42.1.3.5.1.34', - 'rttMonJitterStatsPacketLossDS' => '1.3.6.1.4.1.9.9.42.1.3.5.1.35', - 'rttMonJitterStatsPacketOutOfSequence' => '1.3.6.1.4.1.9.9.42.1.3.5.1.36', - 'rttMonJitterStatsPacketMIA' => '1.3.6.1.4.1.9.9.42.1.3.5.1.37', - 'rttMonJitterStatsPacketLateArrival' => '1.3.6.1.4.1.9.9.42.1.3.5.1.38', - 'rttMonJitterStatsError' => '1.3.6.1.4.1.9.9.42.1.3.5.1.39', - 'rttMonJitterStatsBusies' => '1.3.6.1.4.1.9.9.42.1.3.5.1.40', - 'rttMonJitterStatsOWSumSD' => '1.3.6.1.4.1.9.9.42.1.3.5.1.41', - 'rttMonJitterStatsOWSum2SDLow' => '1.3.6.1.4.1.9.9.42.1.3.5.1.42', - 'rttMonJitterStatsOWSum2SDHigh' => '1.3.6.1.4.1.9.9.42.1.3.5.1.43', - 'rttMonJitterStatsOWMinSD' => '1.3.6.1.4.1.9.9.42.1.3.5.1.44', - 'rttMonJitterStatsOWMaxSD' => '1.3.6.1.4.1.9.9.42.1.3.5.1.45', - 'rttMonJitterStatsOWSumDS' => '1.3.6.1.4.1.9.9.42.1.3.5.1.46', - 'rttMonJitterStatsOWSum2DSLow' => '1.3.6.1.4.1.9.9.42.1.3.5.1.47', - 'rttMonJitterStatsOWSum2DSHigh' => '1.3.6.1.4.1.9.9.42.1.3.5.1.48', - 'rttMonJitterStatsOWMinDS' => '1.3.6.1.4.1.9.9.42.1.3.5.1.49', - 'rttMonJitterStatsOWMaxDS' => '1.3.6.1.4.1.9.9.42.1.3.5.1.50', - 'rttMonJitterStatsNumOfOW' => '1.3.6.1.4.1.9.9.42.1.3.5.1.51', - 'rttMonJitterStatsOWMinSDNew' => '1.3.6.1.4.1.9.9.42.1.3.5.1.52', - 'rttMonJitterStatsOWMaxSDNew' => '1.3.6.1.4.1.9.9.42.1.3.5.1.53', - 'rttMonJitterStatsOWMinDSNew' => '1.3.6.1.4.1.9.9.42.1.3.5.1.54', - 'rttMonJitterStatsOWMaxDSNew' => '1.3.6.1.4.1.9.9.42.1.3.5.1.55', - 'rttMonJitterStatsMinOfMOS' => '1.3.6.1.4.1.9.9.42.1.3.5.1.56', - 'rttMonJitterStatsMaxOfMOS' => '1.3.6.1.4.1.9.9.42.1.3.5.1.57', - 'rttMonJitterStatsMinOfICPIF' => '1.3.6.1.4.1.9.9.42.1.3.5.1.58', - 'rttMonJitterStatsMaxOfICPIF' => '1.3.6.1.4.1.9.9.42.1.3.5.1.59', - 'rttMonJitterStatsIAJOut' => '1.3.6.1.4.1.9.9.42.1.3.5.1.60', - 'rttMonJitterStatsIAJIn' => '1.3.6.1.4.1.9.9.42.1.3.5.1.61', - 'rttMonJitterStatsAvgJitter' => '1.3.6.1.4.1.9.9.42.1.3.5.1.62', - 'rttMonJitterStatsAvgJitterSD' => '1.3.6.1.4.1.9.9.42.1.3.5.1.63', - 'rttMonJitterStatsAvgJitterDS' => '1.3.6.1.4.1.9.9.42.1.3.5.1.64', - 'rttMonJitterStatsUnSyncRTs' => '1.3.6.1.4.1.9.9.42.1.3.5.1.65', - 'rttMonJitterStatsRTTSumHigh' => '1.3.6.1.4.1.9.9.42.1.3.5.1.66', - 'rttMonJitterStatsOWSumSDHigh' => '1.3.6.1.4.1.9.9.42.1.3.5.1.67', - 'rttMonJitterStatsOWSumDSHigh' => '1.3.6.1.4.1.9.9.42.1.3.5.1.68', - 'rttMonJitterStatsNumOverThresh' => '1.3.6.1.4.1.9.9.42.1.3.5.1.69', - 'rttMonLpdGrpStatsTable' => '1.3.6.1.4.1.9.9.42.1.3.7', - 'rttMonLpdGrpStatsEntry' => '1.3.6.1.4.1.9.9.42.1.3.7.1', - 'rttMonLpdGrpStatsGroupIndex' => '1.3.6.1.4.1.9.9.42.1.3.7.1.1', - 'rttMonLpdGrpStatsStartTimeIndex' => '1.3.6.1.4.1.9.9.42.1.3.7.1.2', - 'rttMonLpdGrpStatsTargetPE' => '1.3.6.1.4.1.9.9.42.1.3.7.1.3', - 'rttMonLpdGrpStatsNumOfPass' => '1.3.6.1.4.1.9.9.42.1.3.7.1.4', - 'rttMonLpdGrpStatsNumOfFail' => '1.3.6.1.4.1.9.9.42.1.3.7.1.5', - 'rttMonLpdGrpStatsNumOfTimeout' => '1.3.6.1.4.1.9.9.42.1.3.7.1.6', - 'rttMonLpdGrpStatsAvgRTT' => '1.3.6.1.4.1.9.9.42.1.3.7.1.7', - 'rttMonLpdGrpStatsMinRTT' => '1.3.6.1.4.1.9.9.42.1.3.7.1.8', - 'rttMonLpdGrpStatsMaxRTT' => '1.3.6.1.4.1.9.9.42.1.3.7.1.9', - 'rttMonLpdGrpStatsMinNumPaths' => '1.3.6.1.4.1.9.9.42.1.3.7.1.10', - 'rttMonLpdGrpStatsMaxNumPaths' => '1.3.6.1.4.1.9.9.42.1.3.7.1.11', - 'rttMonLpdGrpStatsLPDStartTime' => '1.3.6.1.4.1.9.9.42.1.3.7.1.12', - 'rttMonLpdGrpStatsLPDFailOccurred' => '1.3.6.1.4.1.9.9.42.1.3.7.1.13', - 'rttMonLpdGrpStatsLPDFailCause' => '1.3.6.1.4.1.9.9.42.1.3.7.1.14', - 'rttMonLpdGrpStatsLPDCompTime' => '1.3.6.1.4.1.9.9.42.1.3.7.1.15', - 'rttMonLpdGrpStatsGroupStatus' => '1.3.6.1.4.1.9.9.42.1.3.7.1.16', - 'rttMonLpdGrpStatsGroupProbeIndex' => '1.3.6.1.4.1.9.9.42.1.3.7.1.17', - 'rttMonLpdGrpStatsPathIds' => '1.3.6.1.4.1.9.9.42.1.3.7.1.18', - 'rttMonLpdGrpStatsProbeStatus' => '1.3.6.1.4.1.9.9.42.1.3.7.1.19', - 'rttMonLpdGrpStatsResetTime' => '1.3.6.1.4.1.9.9.42.1.3.7.1.20', - 'rttMonHistory' => '1.3.6.1.4.1.9.9.42.1.4', - 'rttMonHistoryCollectionTable' => '1.3.6.1.4.1.9.9.42.1.4.1', - 'rttMonHistoryCollectionEntry' => '1.3.6.1.4.1.9.9.42.1.4.1.1', - 'rttMonHistoryCollectionLifeIndex' => '1.3.6.1.4.1.9.9.42.1.4.1.1.1', - 'rttMonHistoryCollectionBucketIndex' => '1.3.6.1.4.1.9.9.42.1.4.1.1.2', - 'rttMonHistoryCollectionSampleIndex' => '1.3.6.1.4.1.9.9.42.1.4.1.1.3', - 'rttMonHistoryCollectionSampleTime' => '1.3.6.1.4.1.9.9.42.1.4.1.1.4', - 'rttMonHistoryCollectionAddress' => '1.3.6.1.4.1.9.9.42.1.4.1.1.5', - 'rttMonHistoryCollectionCompletionTime' => '1.3.6.1.4.1.9.9.42.1.4.1.1.6', - 'rttMonHistoryCollectionSense' => '1.3.6.1.4.1.9.9.42.1.4.1.1.7', - 'rttMonHistoryCollectionApplSpecificSense' => '1.3.6.1.4.1.9.9.42.1.4.1.1.8', - 'rttMonHistoryCollectionSenseDescription' => '1.3.6.1.4.1.9.9.42.1.4.1.1.9', - 'rttMonLatestOper' => '1.3.6.1.4.1.9.9.42.1.5', - 'rttMonLatestHTTPOperTable' => '1.3.6.1.4.1.9.9.42.1.5.1', - 'rttMonLatestHTTPOperEntry' => '1.3.6.1.4.1.9.9.42.1.5.1.1', - 'rttMonLatestHTTPOperRTT' => '1.3.6.1.4.1.9.9.42.1.5.1.1.1', - 'rttMonLatestHTTPOperDNSRTT' => '1.3.6.1.4.1.9.9.42.1.5.1.1.2', - 'rttMonLatestHTTPOperTCPConnectRTT' => '1.3.6.1.4.1.9.9.42.1.5.1.1.3', - 'rttMonLatestHTTPOperTransactionRTT' => '1.3.6.1.4.1.9.9.42.1.5.1.1.4', - 'rttMonLatestHTTPOperMessageBodyOctets' => '1.3.6.1.4.1.9.9.42.1.5.1.1.5', - 'rttMonLatestHTTPOperSense' => '1.3.6.1.4.1.9.9.42.1.5.1.1.6', - 'rttMonLatestHTTPErrorSenseDescription' => '1.3.6.1.4.1.9.9.42.1.5.1.1.7', - 'rttMonLatestJitterOperTable' => '1.3.6.1.4.1.9.9.42.1.5.2', - 'rttMonLatestJitterOperEntry' => '1.3.6.1.4.1.9.9.42.1.5.2.1', - 'rttMonLatestJitterOperNumOfRTT' => '1.3.6.1.4.1.9.9.42.1.5.2.1.1', - 'rttMonLatestJitterOperRTTSum' => '1.3.6.1.4.1.9.9.42.1.5.2.1.2', - 'rttMonLatestJitterOperRTTSum2' => '1.3.6.1.4.1.9.9.42.1.5.2.1.3', - 'rttMonLatestJitterOperRTTMin' => '1.3.6.1.4.1.9.9.42.1.5.2.1.4', - 'rttMonLatestJitterOperRTTMax' => '1.3.6.1.4.1.9.9.42.1.5.2.1.5', - 'rttMonLatestJitterOperMinOfPositivesSD' => '1.3.6.1.4.1.9.9.42.1.5.2.1.6', - 'rttMonLatestJitterOperMaxOfPositivesSD' => '1.3.6.1.4.1.9.9.42.1.5.2.1.7', - 'rttMonLatestJitterOperNumOfPositivesSD' => '1.3.6.1.4.1.9.9.42.1.5.2.1.8', - 'rttMonLatestJitterOperSumOfPositivesSD' => '1.3.6.1.4.1.9.9.42.1.5.2.1.9', - 'rttMonLatestJitterOperSum2PositivesSD' => '1.3.6.1.4.1.9.9.42.1.5.2.1.10', - 'rttMonLatestJitterOperMinOfNegativesSD' => '1.3.6.1.4.1.9.9.42.1.5.2.1.11', - 'rttMonLatestJitterOperMaxOfNegativesSD' => '1.3.6.1.4.1.9.9.42.1.5.2.1.12', - 'rttMonLatestJitterOperNumOfNegativesSD' => '1.3.6.1.4.1.9.9.42.1.5.2.1.13', - 'rttMonLatestJitterOperSumOfNegativesSD' => '1.3.6.1.4.1.9.9.42.1.5.2.1.14', - 'rttMonLatestJitterOperSum2NegativesSD' => '1.3.6.1.4.1.9.9.42.1.5.2.1.15', - 'rttMonLatestJitterOperMinOfPositivesDS' => '1.3.6.1.4.1.9.9.42.1.5.2.1.16', - 'rttMonLatestJitterOperMaxOfPositivesDS' => '1.3.6.1.4.1.9.9.42.1.5.2.1.17', - 'rttMonLatestJitterOperNumOfPositivesDS' => '1.3.6.1.4.1.9.9.42.1.5.2.1.18', - 'rttMonLatestJitterOperSumOfPositivesDS' => '1.3.6.1.4.1.9.9.42.1.5.2.1.19', - 'rttMonLatestJitterOperSum2PositivesDS' => '1.3.6.1.4.1.9.9.42.1.5.2.1.20', - 'rttMonLatestJitterOperMinOfNegativesDS' => '1.3.6.1.4.1.9.9.42.1.5.2.1.21', - 'rttMonLatestJitterOperMaxOfNegativesDS' => '1.3.6.1.4.1.9.9.42.1.5.2.1.22', - 'rttMonLatestJitterOperNumOfNegativesDS' => '1.3.6.1.4.1.9.9.42.1.5.2.1.23', - 'rttMonLatestJitterOperSumOfNegativesDS' => '1.3.6.1.4.1.9.9.42.1.5.2.1.24', - 'rttMonLatestJitterOperSum2NegativesDS' => '1.3.6.1.4.1.9.9.42.1.5.2.1.25', - 'rttMonLatestJitterOperPacketLossSD' => '1.3.6.1.4.1.9.9.42.1.5.2.1.26', - 'rttMonLatestJitterOperPacketLossDS' => '1.3.6.1.4.1.9.9.42.1.5.2.1.27', - 'rttMonLatestJitterOperPacketOutOfSequence' => '1.3.6.1.4.1.9.9.42.1.5.2.1.28', - 'rttMonLatestJitterOperPacketMIA' => '1.3.6.1.4.1.9.9.42.1.5.2.1.29', - 'rttMonLatestJitterOperPacketLateArrival' => '1.3.6.1.4.1.9.9.42.1.5.2.1.30', - 'rttMonLatestJitterOperSense' => '1.3.6.1.4.1.9.9.42.1.5.2.1.31', - 'rttMonLatestJitterOperSenseDefinition' => 'CISCO-RTTMON-TC-MIB::RttResponseSense', - - 'rttMonLatestJitterErrorSenseDescription' => '1.3.6.1.4.1.9.9.42.1.5.2.1.32', - 'rttMonLatestJitterOperOWSumSD' => '1.3.6.1.4.1.9.9.42.1.5.2.1.33', - 'rttMonLatestJitterOperOWSum2SD' => '1.3.6.1.4.1.9.9.42.1.5.2.1.34', - 'rttMonLatestJitterOperOWMinSD' => '1.3.6.1.4.1.9.9.42.1.5.2.1.35', - 'rttMonLatestJitterOperOWMaxSD' => '1.3.6.1.4.1.9.9.42.1.5.2.1.36', - 'rttMonLatestJitterOperOWSumDS' => '1.3.6.1.4.1.9.9.42.1.5.2.1.37', - 'rttMonLatestJitterOperOWSum2DS' => '1.3.6.1.4.1.9.9.42.1.5.2.1.38', - 'rttMonLatestJitterOperOWMinDS' => '1.3.6.1.4.1.9.9.42.1.5.2.1.39', - 'rttMonLatestJitterOperOWMaxDS' => '1.3.6.1.4.1.9.9.42.1.5.2.1.40', - 'rttMonLatestJitterOperNumOfOW' => '1.3.6.1.4.1.9.9.42.1.5.2.1.41', - 'rttMonLatestJitterOperMOS' => '1.3.6.1.4.1.9.9.42.1.5.2.1.42', - 'rttMonLatestJitterOperICPIF' => '1.3.6.1.4.1.9.9.42.1.5.2.1.43', - 'rttMonLatestJitterOperIAJOut' => '1.3.6.1.4.1.9.9.42.1.5.2.1.44', - 'rttMonLatestJitterOperIAJIn' => '1.3.6.1.4.1.9.9.42.1.5.2.1.45', - 'rttMonLatestJitterOperAvgJitter' => '1.3.6.1.4.1.9.9.42.1.5.2.1.46', - 'rttMonLatestJitterOperAvgSDJ' => '1.3.6.1.4.1.9.9.42.1.5.2.1.47', - 'rttMonLatestJitterOperAvgDSJ' => '1.3.6.1.4.1.9.9.42.1.5.2.1.48', - 'rttMonLatestJitterOperOWAvgSD' => '1.3.6.1.4.1.9.9.42.1.5.2.1.49', - 'rttMonLatestJitterOperOWAvgDS' => '1.3.6.1.4.1.9.9.42.1.5.2.1.50', - 'rttMonLatestJitterOperNTPState' => '1.3.6.1.4.1.9.9.42.1.5.2.1.51', - 'rttMonLatestJitterOperNTPStateDefinition' => 'CISCO-RTTMON-MIB::rttMonLatestJitterOperNTPState', - 'rttMonLatestJitterOperUnSyncRTs' => '1.3.6.1.4.1.9.9.42.1.5.2.1.52', - 'rttMonLatestJitterOperRTTSumHigh' => '1.3.6.1.4.1.9.9.42.1.5.2.1.53', - 'rttMonLatestJitterOperRTTSum2High' => '1.3.6.1.4.1.9.9.42.1.5.2.1.54', - 'rttMonLatestJitterOperOWSumSDHigh' => '1.3.6.1.4.1.9.9.42.1.5.2.1.55', - 'rttMonLatestJitterOperOWSum2SDHigh' => '1.3.6.1.4.1.9.9.42.1.5.2.1.56', - 'rttMonLatestJitterOperOWSumDSHigh' => '1.3.6.1.4.1.9.9.42.1.5.2.1.57', - 'rttMonLatestJitterOperOWSum2DSHigh' => '1.3.6.1.4.1.9.9.42.1.5.2.1.58', - 'rttMonLatestJitterOperNumOverThresh' => '1.3.6.1.4.1.9.9.42.1.5.2.1.59', - 'rttMonNotificationsPrefix' => '1.3.6.1.4.1.9.9.42.2', - 'rttMonNotifications' => '1.3.6.1.4.1.9.9.42.2.0', - 'ciscoRttMonMibConformance' => '1.3.6.1.4.1.9.9.42.3', - 'ciscoRttMonMibCompliances' => '1.3.6.1.4.1.9.9.42.3.1', - 'ciscoRttMonMibGroups' => '1.3.6.1.4.1.9.9.42.3.2', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCO-RTTMON-MIB'} = { - 'rttMonReactAdminThresholdType' => { - '1' => 'never', - '2' => 'immediate', - '3' => 'consecutive', - '4' => 'xOfy', - '5' => 'average', - }, - 'rttMonEchoAdminReserveDsp' => { - '1' => 'be', - '2' => 'gs', - '3' => 'na', - }, - 'rttMonLatestJitterOperNTPState' => { - '1' => 'sync', - '2' => 'outOfSync', - }, - 'rttMonApplPreConfigedType' => { - '1' => 'filePath', - '2' => 'scriptName', - }, - 'rttMonFileIOAdminAction' => { - '1' => 'write', - '2' => 'read', - '3' => 'writeRead', - }, - 'rttMplsVpnMonTypeSecFreqType' => { - '1' => 'none', - '2' => 'timeout', - '3' => 'connectionLoss', - '4' => 'both', - }, - 'rttMonCtrlOperState' => { - '1' => 'reset', - '2' => 'orderlyStop', - '3' => 'immediateStop', - '4' => 'pending', - '5' => 'inactive', - '6' => 'active', - '7' => 'restart', - }, - 'rttMonReactActionType' => { - '1' => 'none', - '2' => 'trapOnly', - '3' => 'triggerOnly', - '4' => 'trapAndTrigger', - }, - 'rttMonHistoryAdminFilter' => { - '1' => 'none', - '2' => 'all', - '3' => 'overThreshold', - '4' => 'failures', - }, - 'rttMonEchoAdminLSPFECType' => { - '1' => 'ldpIpv4Prefix', - }, - 'rttMplsVpnMonReactLpdNotifyType' => { - '1' => 'none', - '2' => 'lpdPathDiscovery', - '3' => 'lpdGroupStatus', - '4' => 'lpdAll', - }, - 'rttMonEchoAdminProbePakPriority' => { - '1' => 'normal', - '2' => 'high', - }, - 'rttMplsVpnMonReactThresholdType' => { - '1' => 'never', - '2' => 'immediate', - '3' => 'consecutive', - }, - 'rttMplsVpnMonReactActionType' => { - '1' => 'none', - '2' => 'trapOnly', - }, - 'rttMonEchoAdminPrecision' => { - '1' => 'milliseconds', - '2' => 'microseconds', - }, - 'rttMonReactTriggerOperState' => { - '1' => 'active', - '2' => 'pending', - }, - 'rttMonReactAdminActionType' => { - '1' => 'none', - '2' => 'trapOnly', - '3' => 'nmvtOnly', - '4' => 'triggerOnly', - '5' => 'trapAndNmvt', - '6' => 'trapAndTrigger', - '7' => 'nmvtAndTrigger', - '8' => 'trapNmvtAndTrigger', - }, - 'rttMonFileIOAdminSize' => { - '1' => 'n256', - '2' => 'n1k', - '3' => 'n64k', - '4' => 'n128k', - '5' => 'n256k', - }, - 'rttMonEchoAdminOWNTPSyncTolType' => { - '1' => 'percent', - '2' => 'absolute', - }, - 'rttMonReactThresholdType' => { - '1' => 'never', - '2' => 'immediate', - '3' => 'consecutive', - '4' => 'xOfy', - '5' => 'average', - }, -}; - diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCORTTMONTCMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCORTTMONTCMIB.pm deleted file mode 100644 index 6e583a1..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCORTTMONTCMIB.pm +++ /dev/null @@ -1,246 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCORTTMONTCMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'CISCO-RTTMON-TC-MIB'} = { - url => '', - name => 'CISCO-RTTMON-TC-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'CISCO-RTTMON-TC-MIB'} = - '1.3.6.1.4.1.9.9.485'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-RTTMON-TC-MIB'} = { - 'ciscoRttMonTCMIB' => '1.3.6.1.4.1.9.9.485', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCO-RTTMON-TC-MIB'} = { - 'RttMonOperation' => { - '0' => 'notApplicable', - '1' => 'httpGet', - '2' => 'httpRaw', - '3' => 'ftpGet', - '4' => 'ftpPassive', - '5' => 'ftpActive', - '6' => 'voipDTAlertRinging', - '7' => 'voipDTConnectOK', - }, - 'RttResponseSense' => { - '0' => 'other', - '1' => 'ok', - '2' => 'disconnected', - '3' => 'overThreshold', - '4' => 'timeout', - '5' => 'busy', - '6' => 'notConnected', - '7' => 'dropped', - '8' => 'sequenceError', - '9' => 'verifyError', - '10' => 'applicationSpecific', - '11' => 'dnsServerTimeout', - '12' => 'tcpConnectTimeout', - '13' => 'httpTransactionTimeout', - '14' => 'dnsQueryError', - '15' => 'httpError', - '16' => 'error', - '17' => 'mplsLspEchoTxError', - '18' => 'mplsLspUnreachable', - '19' => 'mplsLspMalformedReq', - '20' => 'mplsLspReachButNotFEC', - '21' => 'enableOk', - '22' => 'enableNoConnect', - '23' => 'enableVersionFail', - '24' => 'enableInternalError', - '25' => 'enableAbort', - '26' => 'enableFail', - '27' => 'enableAuthFail', - '28' => 'enableFormatError', - '29' => 'enablePortInUse', - '30' => 'statsRetrieveOk', - '31' => 'statsRetrieveNoConnect', - '32' => 'statsRetrieveVersionFail', - '33' => 'statsRetrieveInternalError', - '34' => 'statsRetrieveAbort', - '35' => 'statsRetrieveFail', - '36' => 'statsRetrieveAuthFail', - '37' => 'statsRetrieveFormatError', - '38' => 'statsRetrievePortInUse', - }, - 'RttMonCodecType' => { - '0' => 'notApplicable', - '1' => 'g711ulaw', - '2' => 'g711alaw', - '3' => 'g729a', - }, - 'RttMonIdLst' => { - }, - 'RttMplsVpnMonLpdGrpStatus' => { - '1' => 'unknown', - '2' => 'up', - '3' => 'partial', - '4' => 'down', - }, - 'RttMonLSPPingReplyMode' => { - '1' => 'replyIpv4Udp', - '2' => 'replyIpv4UdpRA', - }, - 'RttMonRttType' => { - '1' => 'echo', - '2' => 'pathEcho', - '3' => 'fileIO', - '4' => 'script', - '5' => 'udpEcho', - '6' => 'tcpConnect', - '7' => 'http', - '8' => 'dns', - '9' => 'jitter', - '10' => 'dlsw', - '11' => 'dhcp', - '12' => 'ftp', - '13' => 'voip', - '14' => 'rtp', - '15' => 'lspGroup', - '16' => 'icmpjitter', - '17' => 'lspPing', - '18' => 'lspTrace', - '19' => 'ethernetPing', - '20' => 'ethernetJitter', - '21' => 'lspPingPseudowire', - '22' => 'video', - '23' => 'y1731Delay', - '24' => 'y1731Loss', - '25' => 'mcastJitter', - '26' => 'fabricPathEcho', - }, - 'RttMonProtocol' => { - '1' => 'notApplicable', - '2' => 'ipIcmpEcho', - '3' => 'ipUdpEchoAppl', - '4' => 'snaRUEcho', - '5' => 'snaLU0EchoAppl', - '6' => 'snaLU2EchoAppl', - '7' => 'snaLU62Echo', - '8' => 'snaLU62EchoAppl', - '9' => 'appleTalkEcho', - '10' => 'appleTalkEchoAppl', - '11' => 'decNetEcho', - '12' => 'decNetEchoAppl', - '13' => 'ipxEcho', - '14' => 'ipxEchoAppl', - '15' => 'isoClnsEcho', - '16' => 'isoClnsEchoAppl', - '17' => 'vinesEcho', - '18' => 'vinesEchoAppl', - '19' => 'xnsEcho', - '20' => 'xnsEchoAppl', - '21' => 'apolloEcho', - '22' => 'apolloEchoAppl', - '23' => 'netbiosEchoAppl', - '24' => 'ipTcpConn', - '25' => 'httpAppl', - '26' => 'dnsAppl', - '27' => 'jitterAppl', - '28' => 'dlswAppl', - '29' => 'dhcpAppl', - '30' => 'ftpAppl', - '31' => 'mplsLspPingAppl', - '32' => 'voipAppl', - '33' => 'rtpAppl', - '34' => 'icmpJitterAppl', - '35' => 'ethernetPingAppl', - '36' => 'ethernetJitterAppl', - '37' => 'videoAppl', - '38' => 'y1731dmm', - '39' => 'y17311dm', - '40' => 'y1731lmm', - '41' => 'mcastJitterAppl', - '42' => 'y1731slm', - '43' => 'y1731dmmv1', - '44' => 'fabricPathEchoAppl', - }, - 'RttMonReactVar' => { - '1' => 'rtt', - '2' => 'jitterSDAvg', - '3' => 'jitterDSAvg', - '4' => 'packetLossSD', - '5' => 'packetLossDS', - '6' => 'mos', - '7' => 'timeout', - '8' => 'connectionLoss', - '9' => 'verifyError', - '10' => 'jitterAvg', - '11' => 'icpif', - '12' => 'packetMIA', - '13' => 'packetLateArrival', - '14' => 'packetOutOfSequence', - '15' => 'maxOfPositiveSD', - '16' => 'maxOfNegativeSD', - '17' => 'maxOfPositiveDS', - '18' => 'maxOfNegativeDS', - '19' => 'iaJitterDS', - '20' => 'frameLossDS', - '21' => 'mosLQDS', - '22' => 'mosCQDS', - '23' => 'rFactorDS', - '24' => 'successivePacketLoss', - '25' => 'maxOfLatencyDS', - '26' => 'maxOfLatencySD', - '27' => 'latencyDSAvg', - '28' => 'latencySDAvg', - '29' => 'packetLoss', - '30' => 'iaJitterSD', - '31' => 'mosCQSD', - '32' => 'rFactorSD', - '33' => 'lpdGroup', - '34' => 'lpdTreeTrace', - '35' => 'lpdAll', - '36' => 'unavailSD', - '37' => 'unavailDS', - '38' => 'pktLossPctSD', - '39' => 'pktLossPctDS', - '40' => 'rttPct', - '41' => 'maxOfLatencySDPct', - '42' => 'maxOfLatencyDSPct', - '43' => 'latencySDAvgPct', - '44' => 'latencyDSAvgPct', - '45' => 'jitterSDAvgPct', - '46' => 'jitterDSAvgPct', - '47' => 'jitterAvgPct', - '48' => 'overThreshold', - '49' => 'protocolSpecificError', - }, - 'RttMplsVpnMonRttType' => { - '1' => 'jitter', - '2' => 'echo', - '3' => 'pathEcho', - }, - 'RttMonScheduleStartType' => { - '1' => 'pending', - '2' => 'now', - '3' => 'random', - '4' => 'after', - '5' => 'specific', - }, - 'RttMplsVpnMonLpdFailureSense' => { - '1' => 'unknown', - '2' => 'noPath', - '3' => 'allPathsBroken', - '4' => 'allPathsUnexplorable', - '5' => 'allPathsBrokenOrUnexplorable', - '6' => 'timeout', - '7' => 'error', - }, - 'RttReset' => { - '1' => 'ready', - '2' => 'reset', - }, - 'RttMonCtrlIndex' => { - }, - 'CipslaPercentileVar' => { - '1' => 'rtt', - '2' => 'owsd', - '3' => 'owds', - '4' => 'jittersd', - '5' => 'jitterds', - '6' => 'jitteravg', - }, -}; - diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSDWANAPPROUTEMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSDWANAPPROUTEMIB.pm deleted file mode 100644 index e0a569d..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSDWANAPPROUTEMIB.pm +++ /dev/null @@ -1,109 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSDWANAPPROUTEMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'CISCO-SDWAN-APP-ROUTE-MIB'} = { - url => '', - name => 'CISCO-SDWAN-APP-ROUTE-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'CISCO-SDWAN-APP-ROUTE-MIB'} = - '1.3.6.1.4.1.9.9.1001'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-SDWAN-APP-ROUTE-MIB'} = { - 'ciscoSdwanAppRouteMIB' => '1.3.6.1.4.1.9.9.1001', - 'ciscoSdwanAppRouteMIBObjects' => '1.3.6.1.4.1.9.9.1001.1', - 'appRouteStatisticsTable' => '1.3.6.1.4.1.9.9.1001.1.2', - 'appRouteStatisticsEntry' => '1.3.6.1.4.1.9.9.1001.1.2.1', - 'appRouteStatisticsSrcIp' => '1.3.6.1.4.1.9.9.1001.1.2.1.1', - 'appRouteStatisticsDstIp' => '1.3.6.1.4.1.9.9.1001.1.2.1.2', - 'appRouteStatisticsProto' => '1.3.6.1.4.1.9.9.1001.1.2.1.3', - 'appRouteStatisticsProtoDefinition' => 'CISCO-SDWAN-APP-ROUTE-MIB::appRouteStatisticsProto', - 'appRouteStatisticsSrcPort' => '1.3.6.1.4.1.9.9.1001.1.2.1.4', - 'appRouteStatisticsDstPort' => '1.3.6.1.4.1.9.9.1001.1.2.1.5', - 'appRouteStatisticsRemoteSystemIp' => '1.3.6.1.4.1.9.9.1001.1.2.1.6', - 'appRouteStatisticsLocalColor' => '1.3.6.1.4.1.9.9.1001.1.2.1.7', - 'appRouteStatisticsLocalColorDefinition' => 'CISCO-SDWAN-APP-ROUTE-MIB::appRouteStatisticsLocalColor', - 'appRouteStatisticsRemoteColor' => '1.3.6.1.4.1.9.9.1001.1.2.1.8', - 'appRouteStatisticsRemoteColorDefinition' => 'CISCO-SDWAN-APP-ROUTE-MIB::appRouteStatisticsRemoteColor', - 'appRouteSlaClassTable' => '1.3.6.1.4.1.9.9.1001.1.4', - 'appRouteSlaClassEntry' => '1.3.6.1.4.1.9.9.1001.1.4.1', - 'appRouteSlaClassIndex' => '1.3.6.1.4.1.9.9.1001.1.4.1.1', - 'appRouteSlaClassName' => '1.3.6.1.4.1.9.9.1001.1.4.1.2', - 'appRouteSlaClassLoss' => '1.3.6.1.4.1.9.9.1001.1.4.1.3', - 'appRouteSlaClassLatency' => '1.3.6.1.4.1.9.9.1001.1.4.1.4', - 'appRouteSlaClassJitter' => '1.3.6.1.4.1.9.9.1001.1.4.1.5', - 'appRouteStatisticsAppProbeClassTable' => '1.3.6.1.4.1.9.9.1001.1.5', - 'appRouteStatisticsAppProbeClassEntry' => '1.3.6.1.4.1.9.9.1001.1.5.1', - 'appRouteStatisticsAppProbeClassName' => '1.3.6.1.4.1.9.9.1001.1.5.1.1', - 'appRouteStatisticsAppProbeClassMeanLoss' => '1.3.6.1.4.1.9.9.1001.1.5.1.2', - 'appRouteStatisticsAppProbeClassMeanLatency' => '1.3.6.1.4.1.9.9.1001.1.5.1.3', - 'appRouteStatisticsAppProbeClassMeanJitter' => '1.3.6.1.4.1.9.9.1001.1.5.1.4', - 'appRouteStatisticsAppProbeClassIntervalTable' => '1.3.6.1.4.1.9.9.1001.1.6', - 'appRouteStatisticsAppProbeClassIntervalEntry' => '1.3.6.1.4.1.9.9.1001.1.6.1', - 'appRouteStatisticsAppProbeClassIntervalIndex' => '1.3.6.1.4.1.9.9.1001.1.6.1.1', - 'appRouteStatisticsAppProbeClassIntervalTotalPackets' => '1.3.6.1.4.1.9.9.1001.1.6.1.2', - 'appRouteStatisticsAppProbeClassIntervalLoss' => '1.3.6.1.4.1.9.9.1001.1.6.1.3', - 'appRouteStatisticsAppProbeClassIntervalAverageLatency' => '1.3.6.1.4.1.9.9.1001.1.6.1.4', - 'appRouteStatisticsAppProbeClassIntervalAverageJitter' => '1.3.6.1.4.1.9.9.1001.1.6.1.5', - 'appRouteStatisticsAppProbeClassIntervalTxDataPkts' => '1.3.6.1.4.1.9.9.1001.1.6.1.6', - 'appRouteStatisticsAppProbeClassIntervalRxDataPkts' => '1.3.6.1.4.1.9.9.1001.1.6.1.7', - 'appRouteStatisticsAppProbeClassIntervalIpv6TxDataPkts' => '1.3.6.1.4.1.9.9.1001.1.6.1.8', - 'appRouteStatisticsAppProbeClassIntervalIpv6RxDataPkts' => '1.3.6.1.4.1.9.9.1001.1.6.1.9', - 'ciscoSdwanAppRouteMIBConform' => '1.3.6.1.4.1.9.9.1001.3', - 'ciscoSdwanAppRouteMIBCompliances' => '1.3.6.1.4.1.9.9.1001.3.1', - 'ciscoSdwanAppRouteMIBGroups' => '1.3.6.1.4.1.9.9.1001.3.2', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCO-SDWAN-APP-ROUTE-MIB'} = { - 'appRouteStatisticsRemoteColor' => { - '1' => 'default', - '2' => 'mpls', - '3' => 'metroEthernet', - '4' => 'bizInternet', - '5' => 'publicInternet', - '6' => 'lte', - '7' => 'threeG', - '8' => 'red', - '9' => 'green', - '10' => 'blue', - '11' => 'gold', - '12' => 'silver', - '13' => 'bronze', - '14' => 'custom1', - '15' => 'custom2', - '16' => 'custom3', - '17' => 'private1', - '18' => 'private2', - '19' => 'private3', - '20' => 'private4', - '21' => 'private5', - '22' => 'private6', - }, - 'appRouteStatisticsLocalColor' => { - '1' => 'default', - '2' => 'mpls', - '3' => 'metroEthernet', - '4' => 'bizInternet', - '5' => 'publicInternet', - '6' => 'lte', - '7' => 'threeG', - '8' => 'red', - '9' => 'green', - '10' => 'blue', - '11' => 'gold', - '12' => 'silver', - '13' => 'bronze', - '14' => 'custom1', - '15' => 'custom2', - '16' => 'custom3', - '17' => 'private1', - '18' => 'private2', - '19' => 'private3', - '20' => 'private4', - '21' => 'private5', - '22' => 'private6', - }, - 'appRouteStatisticsProto' => { - '1' => 'gre', - '2' => 'ipsec', - }, -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSDWANOPERSYSTEMMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSDWANOPERSYSTEMMIB.pm deleted file mode 100644 index 7c44c4d..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSDWANOPERSYSTEMMIB.pm +++ /dev/null @@ -1,267 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSDWANOPERSYSTEMMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'CISCO-SDWAN-OPER-SYSTEM-MIB'} = { - url => '', - name => 'CISCO-SDWAN-OPER-SYSTEM-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'CISCO-SDWAN-OPER-SYSTEM-MIB'} = - '1.3.6.1.4.1.9.9.1004'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-SDWAN-OPER-SYSTEM-MIB'} = { - 'ciscoSdwanOperSystemMIB' => '1.3.6.1.4.1.9.9.1004', - 'ciscoSdwanSystemMIBNotifs' => '1.3.6.1.4.1.9.9.1004.0', - 'ciscoSdwanOperSystemMIBObjects' => '1.3.6.1.4.1.9.9.1004.1', - 'systemStatus' => '1.3.6.1.4.1.9.9.1004.1.1', - 'systemStatusPersonality' => '1.3.6.1.4.1.9.9.1004.1.1.1', - 'systemStatusVersion' => '1.3.6.1.4.1.9.9.1004.1.1.2', - 'systemStatusDiskStatus' => '1.3.6.1.4.1.9.9.1004.1.1.5', - 'systemStatusRebootReason' => '1.3.6.1.4.1.9.9.1004.1.1.6', - 'systemStatusUptime' => '1.3.6.1.4.1.9.9.1004.1.1.8', - 'systemStatusMin1Avg' => '1.3.6.1.4.1.9.9.1004.1.1.9', - 'systemStatusMin5Avg' => '1.3.6.1.4.1.9.9.1004.1.1.10', - 'systemStatusMin15Avg' => '1.3.6.1.4.1.9.9.1004.1.1.11', - 'systemStatusCpuUser' => '1.3.6.1.4.1.9.9.1004.1.1.14', - 'systemStatusCpuSystem' => '1.3.6.1.4.1.9.9.1004.1.1.15', - 'systemStatusCpuIdle' => '1.3.6.1.4.1.9.9.1004.1.1.16', - 'systemStatusMemTotal' => '1.3.6.1.4.1.9.9.1004.1.1.17', - 'systemStatusMemUsed' => '1.3.6.1.4.1.9.9.1004.1.1.18', - 'systemStatusMemFree' => '1.3.6.1.4.1.9.9.1004.1.1.19', - 'systemStatusMemBuffers' => '1.3.6.1.4.1.9.9.1004.1.1.20', - 'systemStatusMemCached' => '1.3.6.1.4.1.9.9.1004.1.1.21', - 'systemStatusDiskFs' => '1.3.6.1.4.1.9.9.1004.1.1.22', - 'systemStatusDiskSize' => '1.3.6.1.4.1.9.9.1004.1.1.23', - 'systemStatusDiskUsed' => '1.3.6.1.4.1.9.9.1004.1.1.24', - 'systemStatusDiskAvail' => '1.3.6.1.4.1.9.9.1004.1.1.25', - 'systemStatusDiskUse' => '1.3.6.1.4.1.9.9.1004.1.1.26', - 'systemStatusDiskTotalBytes' => '1.3.6.1.4.1.9.9.1004.1.1.27', - 'systemStatusDiskUsedBytes' => '1.3.6.1.4.1.9.9.1004.1.1.28', - 'systemStatusDiskAvailBytes' => '1.3.6.1.4.1.9.9.1004.1.1.29', - 'systemStatusDiskMount' => '1.3.6.1.4.1.9.9.1004.1.1.30', - 'systemStatusServices' => '1.3.6.1.4.1.9.9.1004.1.1.31', - 'systemStatusVmanaged' => '1.3.6.1.4.1.9.9.1004.1.1.36', - 'systemStatusPseudoConfirmCommit' => '1.3.6.1.4.1.9.9.1004.1.1.37', - 'systemStatusConfigTemplateName' => '1.3.6.1.4.1.9.9.1004.1.1.38', - 'systemStatusModel' => '1.3.6.1.4.1.9.9.1004.1.1.47', - 'systemStatusModelDefinition' => 'CISCO-SDWAN-OPER-SYSTEM-MIB::systemStatusModel', - 'systemStatusRebootType' => '1.3.6.1.4.1.9.9.1004.1.1.48', - 'systemStatusTotalCpuCount' => '1.3.6.1.4.1.9.9.1004.1.1.49', - 'systemStatusFpCpuCount' => '1.3.6.1.4.1.9.9.1004.1.1.50', - 'systemStatusLinuxCpuCount' => '1.3.6.1.4.1.9.9.1004.1.1.51', - 'systemStatusState' => '1.3.6.1.4.1.9.9.1004.1.1.54', - 'systemStatusStateDefinition' => 'CISCO-SDWAN-OPER-SYSTEM-MIB::systemStatusState', - 'systemStatusSystemStateDescription' => '1.3.6.1.4.1.9.9.1004.1.1.55', - 'systemStatusSystemFipsMode' => '1.3.6.1.4.1.9.9.1004.1.1.58', - 'systemStatusSystemFipsModeDefinition' => 'CISCO-SDWAN-OPER-SYSTEM-MIB::systemStatusSystemFipsMode', - 'systemStatusSystemCtrlCompatibility' => '1.3.6.1.4.1.9.9.1004.1.1.60', - 'systemStatusSystemTimezone' => '1.3.6.1.4.1.9.9.1004.1.1.61', - 'systemStatusSystemLiLicenseEnabled' => '1.3.6.1.4.1.9.9.1004.1.1.63', - 'systemStatusSystemChassisSerialNumber' => '1.3.6.1.4.1.9.9.1004.1.1.64', - 'systemStatusInstallerDiskFs' => '1.3.6.1.4.1.9.9.1004.1.1.65', - 'systemStatusInstallerDiskSize' => '1.3.6.1.4.1.9.9.1004.1.1.66', - 'systemStatusInstallerDiskUsed' => '1.3.6.1.4.1.9.9.1004.1.1.67', - 'systemStatusInstallerDiskAvail' => '1.3.6.1.4.1.9.9.1004.1.1.68', - 'systemStatusInstallerDiskUse' => '1.3.6.1.4.1.9.9.1004.1.1.69', - 'systemStatusInstallerDiskMount' => '1.3.6.1.4.1.9.9.1004.1.1.70', - 'systemStatusProductId' => '1.3.6.1.4.1.9.9.1004.1.1.71', - 'systemStatusProcs' => '1.3.6.1.4.1.9.9.1004.1.1.100', - 'systemStatusDiskBsize' => '1.3.6.1.4.1.9.9.1004.1.1.101', - 'systemStatusDiskBlocks' => '1.3.6.1.4.1.9.9.1004.1.1.102', - 'systemStatusDiskBused' => '1.3.6.1.4.1.9.9.1004.1.1.103', - 'systemStatusDiskBavail' => '1.3.6.1.4.1.9.9.1004.1.1.104', - 'ciscoSdwanSystemMIBNotifObjects' => '1.3.6.1.4.1.9.9.1004.2', - 'netconfNotificationSeverity' => '1.3.6.1.4.1.9.9.1004.2.2', - 'netconfNotificationSeverityDefinition' => 'CISCO-SDWAN-OPER-SYSTEM-MIB::NotificationSeverity', - 'ciscoSdwanSystemOldDomainId' => '1.3.6.1.4.1.9.9.1004.2.3', - 'ciscoSdwanSystemNewDomainId' => '1.3.6.1.4.1.9.9.1004.2.4', - 'ciscoSdwanSystemOldOrganizationName' => '1.3.6.1.4.1.9.9.1004.2.5', - 'ciscoSdwanSystemNewOrganizationName' => '1.3.6.1.4.1.9.9.1004.2.6', - 'ciscoSdwanSystemStatusStr' => '1.3.6.1.4.1.9.9.1004.2.7', - 'ciscoSdwanSystemOldSiteId' => '1.3.6.1.4.1.9.9.1004.2.8', - 'ciscoSdwanSystemNewSiteId' => '1.3.6.1.4.1.9.9.1004.2.9', - 'ciscoSdwanSystemUserName' => '1.3.6.1.4.1.9.9.1004.2.10', - 'ciscoSdwanSystemOldSystemIp' => '1.3.6.1.4.1.9.9.1004.2.11', - 'ciscoSdwanSystemNewSystemIp' => '1.3.6.1.4.1.9.9.1004.2.12', - 'ciscoSdwanOperSystemMIBConform' => '1.3.6.1.4.1.9.9.1004.3', - 'ciscoSdwanOperSystemMIBCompliances' => '1.3.6.1.4.1.9.9.1004.3.1', - 'ciscoSdwanOperSystemMIBGroups' => '1.3.6.1.4.1.9.9.1004.3.2', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCO-SDWAN-OPER-SYSTEM-MIB'} = { - 'systemStatusState' => { - '0' => 'blkng-green', - '1' => 'green', - '2' => 'yellow', - '3' => 'red', - }, - 'systemStatusSystemFipsMode' => { - '0' => 'unavailable', - '1' => 'disabled', - '2' => 'enabled', - }, - 'NotificationSeverity' => { - '1' => 'critical', - '2' => 'major', - '3' => 'minor', - }, - 'systemStatusModel' => { - '1' => 'vsmart', - '2' => 'vmanage', - '3' => 'vbond', - '4' => 'vedge-1000', - '5' => 'vedge-2000', - '6' => 'vedge-100', - '7' => 'vedge-100-W2', - '8' => 'vedge-100-WM', - '9' => 'vedge-100-M2', - '10' => 'vedge-100-M', - '11' => 'vedge-100-B', - '12' => 'vedge-cloud', - '13' => 'vcontainer', - '14' => 'vedge-5000', - '15' => 'vedge-CSR-1000v', - '16' => 'vedge-ISR-4331', - '17' => 'vedge-ISR-4321', - '18' => 'vedge-ISR-4351', - '19' => 'vedge-ISR-4221', - '20' => 'vedge-ASR-1001-X', - '21' => 'vedge-ASR-1001-HX', - '22' => 'vedge-ASR-1002-X', - '23' => 'vedge-ASR-1002-HX', - '24' => 'vedge-C1111-8PLTEEA', - '25' => 'vedge-C1111-8PLTELA', - '26' => 'vedge-C1117-4PLTEEA', - '27' => 'vedge-C1117-4PLTELA', - '28' => 'vedge-C1116-4PLTEEA', - '29' => 'vedge-C1116-4PLTELA', - '30' => 'vedge-ISRv', - '31' => 'vedge-C1111-8P', - '32' => 'vedge-C1111-4PLTEEA', - '33' => 'vedge-C1111-4PLTELA', - '34' => 'vedge-C1117-4PMLTEEA', - '35' => 'vedge-C1111-4P', - '36' => 'vedge-C1116-4P', - '37' => 'vedge-C1117-4P', - '38' => 'vedge-C1117-4PM', - '39' => 'vedge-C1101-4P', - '40' => 'vedge-C1101-4PLTEP', - '41' => 'vedge-C1111X-8P', - '42' => 'vedge-C1111-8PLTEEAW', - '43' => 'vedge-C1111-8PW', - '44' => 'vedge-ISR-4431', - '45' => 'vedge-ISR-4451-X', - '46' => 'vedge-ISR-4221X', - '47' => 'vedge-ISR-4461', - '48' => 'vedge-C8300-1N1S-6G', - '49' => 'vedge-C8300-1N1S-4G2X', - '54' => 'vedge-CE-9515', - '55' => 'vedge-CE-9511', - '56' => 'vedge-IR-1101', - '57' => 'vedge-C1121X-8PLTEPW', - '60' => 'vedge-C1161X-8P', - '61' => 'vedge-C1161X-8PLTEP', - '62' => 'vedge-C1111-8PLTEAEAW', - '63' => 'vedge-C1121-8P', - '64' => 'vedge-C1121-8PLTEP', - '65' => 'vedge-C1121X-8PLTEPWA', - '66' => 'vedge-C1127X-8PMLTEP', - '68' => 'vedge-C1109-4PLTE2P', - '69' => 'vedge-C1101-4PLTEPW', - '70' => 'vedge-C1109-4PLTE2PW', - '71' => 'vedge-C1111-8PLTELAW', - '72' => 'vedge-C1121X-8P', - '73' => 'vedge-C1121X-8PLTEP', - '74' => 'vedge-C1126X-8PLTEP', - '75' => 'vedge-C1127X-8PLTEP', - '76' => 'vedge-C8500-12X4QC', - '77' => 'vedge-C8500-12X', - '78' => 'vedge-C1121-8PLTEPW', - '79' => 'vedge-C1113-8PMLTEEA', - '80' => 'vedge-ISR1100-4G', - '81' => 'vedge-ISR1100-4GLTE', - '82' => 'vedge-ISR1100-6G', - '84' => 'vedge-C8300-2N2S-6G', - '85' => 'vedge-C8300-2N2S-4G2X', - '86' => 'vedge-C8500L-8G4X', - '87' => 'vedge-C8500L-8S4X', - '100' => 'vedge-sim', - '200' => 'vedge-NFVIS-ENCS5100', - '201' => 'vedge-NFVIS-ENCS5400', - '202' => 'vedge-NFVIS-UCSC-M5', - '203' => 'vedge-NFVIS-UCSC-E', - '204' => 'vedge-NFVIS-CSP2100', - '205' => 'vedge-NFVIS-CSP2100-X1', - '206' => 'vedge-NFVIS-CSP2100-X2', - '207' => 'vedge-NFVIS-CSP2100-CSP-5444', - '212' => 'vedge-C1161-8P', - '213' => 'vedge-C1161-8PLTEP', - '214' => 'vedge-C1126-8PLTEP', - '215' => 'vedge-C1127-8PLTEP', - '216' => 'vedge-C1127-8PMLTEP', - '217' => 'vedge-C1121-4P', - '218' => 'vedge-C1121-4PLTEP', - '219' => 'vedge-C1128-8PLTEP', - '220' => 'vedge-C1111-4PW', - '221' => 'vedge-C1112-8P', - '222' => 'vedge-C1112-8PLTEEA', - '223' => 'vedge-C1112-8PLTEEAW', - '224' => 'vedge-C1112-8PW', - '225' => 'vedge-C1113-8P', - '226' => 'vedge-C1113-8PLTEEA', - '227' => 'vedge-C1113-8PLTEEAW', - '228' => 'vedge-C1113-8PLTELAW', - '229' => 'vedge-C1113-8PLTELA', - '230' => 'vedge-C1113-8PM', - '231' => 'vedge-C1113-8PMW', - '232' => 'vedge-C1113-8PW', - '233' => 'vedge-C1116-4PLTEEAW', - '234' => 'vedge-C1116-4PW', - '235' => 'vedge-C1117-4PLTEEAW', - '236' => 'vedge-C1117-4PMLTEEAW', - '237' => 'vedge-C1117-4PMW', - '238' => 'vedge-C1117-4PW', - '239' => 'vedge-C1118-8P', - '240' => 'vedge-C1109-2PLTEGB', - '241' => 'vedge-C1109-2PLTEUS', - '242' => 'vedge-C1109-2PLTEVZ', - '243' => 'vedge-C1113-8PLTEW', - '244' => 'vedge-C1112-8PLTEEAWE', - '245' => 'vedge-C1112-8PWE', - '246' => 'vedge-C1113-8PLTELAWZ', - '247' => 'vedge-C1113-8PMWE', - '248' => 'vedge-C1116-4PLTEEAWE', - '249' => 'vedge-C1116-4PWE', - '251' => 'vedge-C1117-4PMLTEEAWE', - '252' => 'vedge-C1117-4PMWE', - '253' => 'vedge-C8200-1N-4G', - '254' => 'vedge-ISR1100-4GLTENA-XE', - '255' => 'vedge-ISR1100-4G-XE', - '256' => 'vedge-ISR1100-6G-XE', - '257' => 'vedge-NFVIS-C8200-UCPE', - '258' => 'vedge-C8300-1N1S-6T', - '259' => 'vedge-C8300-1N1S-4T2X', - '260' => 'vedge-C8300-2N2S-6T', - '261' => 'vedge-C8300-2N2S-4T2X', - '262' => 'vedge-C8200-1N-4T', - '263' => 'vedge-ESR-6300', - '264' => 'vedge-C8000V', - '265' => 'vedge-ISR1100X-4G', - '266' => 'vedge-ISR1100X-6G', - '269' => 'cellular-gateway-CG418-E', - '270' => 'cellular-gateway-CG522-E', - '271' => 'vedge-IR-1821', - '272' => 'vedge-IR-1831', - '273' => 'vedge-IR-1833', - '274' => 'vedge-IR-1835', - '275' => 'vedge-ISR1100-4GLTEGB-XE', - '276' => 'vedge-ASR-1006-X', - '277' => 'vedge-C1121-8PLTEWK', - '278' => 'vedge-C1117-4PLTELAWZ', - '279' => 'vedge-C8200L-1N-4T', - '280' => 'vedge-C8500-20X6C', - '282' => 'vedge-C1131-8PW', - '283' => 'vedge-C1131X-8PW', - '284' => 'vedge-C1131-8PLTEPW', - '285' => 'vedge-C1131X-8PLTEPW', - }, -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSMARTLICMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSMARTLICMIB.pm deleted file mode 100644 index 6fe8cce..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSMARTLICMIB.pm +++ /dev/null @@ -1,97 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSMARTLICMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'CISCO-SMART-LIC-MIB'} = { - url => '', - name => 'CISCO-SMART-LIC-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'CISCO-SMART-LIC-MIB'} = - '1.3.6.1.4.1.9.9.831'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-SMART-LIC-MIB'} = { - 'ciscoSmartLicMIB' => '1.3.6.1.4.1.9.9.831', - 'ciscoSlaMIBObjects' => '1.3.6.1.4.1.9.9.831.0', - 'ciscoSlaInstanceId' => '1.3.6.1.4.1.9.9.831.0.1', - 'ciscoSlaSUDIInfo' => '1.3.6.1.4.1.9.9.831.0.2', - 'ciscoSlaVersion' => '1.3.6.1.4.1.9.9.831.0.3', - 'ciscoSlaEnabled' => '1.3.6.1.4.1.9.9.831.0.4', - 'ciscoSlaEnabledDefinition' => 'SNMPv2-TC-v1-MIB::TruthValue', - 'ciscoSlaEntitlementInfo' => '1.3.6.1.4.1.9.9.831.0.5', - 'ciscoSlaEntitlementInfoTable' => '1.3.6.1.4.1.9.9.831.0.5.1', - 'ciscoSlaEntitlementInfoEntry' => '1.3.6.1.4.1.9.9.831.0.5.1.1', - 'ciscoSlaEntitlementInfoIndex' => '1.3.6.1.4.1.9.9.831.0.5.1.1.1', - 'ciscoSlaEntitlementRequestCount' => '1.3.6.1.4.1.9.9.831.0.5.1.1.2', - 'ciscoSlaEntitlementTag' => '1.3.6.1.4.1.9.9.831.0.5.1.1.3', - 'ciscoSlaEntitlementVersion' => '1.3.6.1.4.1.9.9.831.0.5.1.1.4', - 'ciscoSlaEntitlementEnforceMode' => '1.3.6.1.4.1.9.9.831.0.5.1.1.5', - 'ciscoSlaEntitlementEnforceModeDefinition' => 'CISCO-SMART-LIC-MIB::ciscoSlaEntitlementEnforceMode', - 'ciscoSlaEntitlementDescription' => '1.3.6.1.4.1.9.9.831.0.5.1.1.6', - 'ciscoSlaEntitlementFeatureName' => '1.3.6.1.4.1.9.9.831.0.5.1.1.7', - 'ciscoSlaRegistrationStatusInfo' => '1.3.6.1.4.1.9.9.831.0.6', - 'ciscoSlaRegistrationStatusInfoTable' => '1.3.6.1.4.1.9.9.831.0.6', - 'ciscoSlaRegistrationStatusInfoEntry' => '1.3.6.1.4.1.9.9.831.0.6', - 'ciscoSlaRegistrationStatus' => '1.3.6.1.4.1.9.9.831.0.6.1', - 'ciscoSlaRegistrationStatusDefinition' => 'CISCO-SMART-LIC-MIB::ciscoSlaRegistrationStatus', - 'ciscoSlaVirtualAccount' => '1.3.6.1.4.1.9.9.831.0.6.2', - 'ciscoSlaNextCertificateExpireTime' => '1.3.6.1.4.1.9.9.831.0.6.3', - 'ciscoSlaEnterpriseAccountName' => '1.3.6.1.4.1.9.9.831.0.6.4', - 'ciscoSlaRegisterTime' => '1.3.6.1.4.1.9.9.831.0.6.5', - 'ciscoSlaRegisterInitTime' => '1.3.6.1.4.1.9.9.831.0.6.5.1', - 'ciscoSlaRegisterSuccess' => '1.3.6.1.4.1.9.9.831.0.6.5.2', - 'ciscoSlaRegisterSuccessDefinition' => 'SNMPv2-TC-v1-MIB::TruthValue', - 'ciscoSlaRegisterFailureReason' => '1.3.6.1.4.1.9.9.831.0.6.5.3', - 'ciscoSlaRegisterNextRetryTime' => '1.3.6.1.4.1.9.9.831.0.6.5.4', - 'ciscoSlaRenewTime' => '1.3.6.1.4.1.9.9.831.0.6.6', - 'ciscoSlaRenewInitTime' => '1.3.6.1.4.1.9.9.831.0.6.6.1', - 'ciscoSlaRenewSuccess' => '1.3.6.1.4.1.9.9.831.0.6.6.2', - 'ciscoSlaRenewSuccessDefinition' => 'SNMPv2-TC-v1-MIB::TruthValue', - 'ciscoSlaRenewFailureReason' => '1.3.6.1.4.1.9.9.831.0.6.6.3', - 'ciscoSlaRenewNextRetryTime' => '1.3.6.1.4.1.9.9.831.0.6.6.4', - 'ciscoSlaAuthorizationInfo' => '1.3.6.1.4.1.9.9.831.0.7', - 'ciscoSlaAuthorizationInfoTable' => '1.3.6.1.4.1.9.9.831.0.7', - 'ciscoSlaAuthorizationInfoEntry' => '1.3.6.1.4.1.9.9.831.0.7', - 'ciscoSlaAuthExpireTime' => '1.3.6.1.4.1.9.9.831.0.7.1', - 'ciscoSlaAuthComplianceStatus' => '1.3.6.1.4.1.9.9.831.0.7.2', - 'ciscoSlaAuthOOCStartTime' => '1.3.6.1.4.1.9.9.831.0.7.3', - 'ciscoSlaAuthEvalPeriod' => '1.3.6.1.4.1.9.9.831.0.7.4', - 'ciscoSlaAuthEvalPeriodInUse' => '1.3.6.1.4.1.9.9.831.0.7.4.1', - 'ciscoSlaAuthEvalPeriodInUseDefinition' => 'SNMPv2-TC-v1-MIB::TruthValue', - 'ciscoSlaAuthEvalExpiredTime' => '1.3.6.1.4.1.9.9.831.0.7.4.2', - 'ciscoSlaAuthEvalPeriodLeft' => '1.3.6.1.4.1.9.9.831.0.7.4.3', - 'ciscoSlaAuthRenewTime' => '1.3.6.1.4.1.9.9.831.0.7.5', - 'ciscoSlaAuthRenewInitTime' => '1.3.6.1.4.1.9.9.831.0.7.5.1', - 'ciscoSlaAuthRenewSuccess' => '1.3.6.1.4.1.9.9.831.0.7.5.2', - 'ciscoSlaAuthRenewSuccessDefinition' => 'SNMPv2-TC-v1-MIB::TruthValue', - 'ciscoSlaAuthRenewFailureReason' => '1.3.6.1.4.1.9.9.831.0.7.5.3', - 'ciscoSlaAuthRenewNextRetryTime' => '1.3.6.1.4.1.9.9.831.0.7.5.4', - 'ciscoSlaNotifObjects' => '1.3.6.1.4.1.9.9.831.0.8', - 'ciscoSlaGlobalNotifEnable' => '1.3.6.1.4.1.9.9.831.0.8.1', - 'ciscoSlaEntitlementNotifEnable' => '1.3.6.1.4.1.9.9.831.0.8.2', - 'ciscoSlaMIBNotifs' => '1.3.6.1.4.1.9.9.831.1', - 'ciscoSlaMIBConform' => '1.3.6.1.4.1.9.9.831.2', - 'ciscoSlaMIBCompliances' => '1.3.6.1.4.1.9.9.831.2.1', - 'ciscoSlaMIBGroups' => '1.3.6.1.4.1.9.9.831.2.2', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCO-SMART-LIC-MIB'} = { - 'ciscoSlaEntitlementEnforceMode' => { - '1' => 'initialized', - '2' => 'waiting', - '3' => 'authorized', - '4' => 'outOfCompliance', - '5' => 'overage', - '6' => 'evaluationPeriod', - '7' => 'evaluationExpired', - '8' => 'gracePeriod', - '9' => 'gracePeriodExpired', - '10' => 'disabled', - '11' => 'invalidTag', - }, - 'ciscoSlaRegistrationStatus' => { - '1' => 'notRegistered', - '2' => 'registrationInProgress', - '3' => 'registrationFailed', - '4' => 'registrationRetryinProgress', - '5' => 'registrationCompleted', - }, -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/DCBGPMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/DCBGPMIB.pm deleted file mode 100644 index 7dc1638..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/DCBGPMIB.pm +++ /dev/null @@ -1,1696 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::DCBGPMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'DC-BGP-MIB'} = { - url => '', - name => 'DC-BGP-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'DC-BGP-MIB'} = '1.2.826.42.1.1578918.5.65.1'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'DC-BGP-MIB'} = { - 'bgpMib' => '1.2.826.42.1.1578918.5.65.1', - 'bgpNotifications' => '1.2.826.42.1.1578918.5.65.1.1', - 'bgpBaseNotifications' => '1.2.826.42.1.1578918.5.65.1.1.0', - 'bgpRm' => '1.2.826.42.1.1578918.5.65.1.2', - 'bgpRmEntTable' => '1.2.826.42.1.1578918.5.65.1.2.1', - 'bgpRmEntEntry' => '1.2.826.42.1.1578918.5.65.1.2.1.1', - 'bgpRmEntIndex' => '1.2.826.42.1.1578918.5.65.1.2.1.1.1', - 'bgpRmEntRowStatus' => '1.2.826.42.1.1578918.5.65.1.2.1.1.2', - 'bgpRmEntAdminStatus' => '1.2.826.42.1.1578918.5.65.1.2.1.1.3', - 'bgpRmEntAdminStatusDefinition' => 'DC-BGP-MIB::BgpAdminStatus', - 'bgpRmEntOperStatus' => '1.2.826.42.1.1578918.5.65.1.2.1.1.4', - 'bgpRmEntOperStatusDefinition' => 'DC-BGP-MIB::BgpOperStatus', - 'bgpRmEntAsSize' => '1.2.826.42.1.1578918.5.65.1.2.1.1.5', - 'bgpRmEntAsSizeDefinition' => 'DC-BGP-MIB::BgpAsSize', - 'bgpRmEntLocalAs' => '1.2.826.42.1.1578918.5.65.1.2.1.1.6', - 'bgpRmEntConfederationId' => '1.2.826.42.1.1578918.5.65.1.2.1.1.7', - 'bgpRmEntLocalIdentifier' => '1.2.826.42.1.1578918.5.65.1.2.1.1.8', - 'bgpRmEntClusterId' => '1.2.826.42.1.1578918.5.65.1.2.1.1.9', - 'bgpRmEntIpv4MultiSupport' => '1.2.826.42.1.1578918.5.65.1.2.1.1.10', - 'bgpRmEntVpnIpv4Support' => '1.2.826.42.1.1578918.5.65.1.2.1.1.11', - 'bgpRmEntFlapDeltat' => '1.2.826.42.1.1578918.5.65.1.2.1.1.12', - 'bgpRmEntFlapReusemax' => '1.2.826.42.1.1578918.5.65.1.2.1.1.13', - 'bgpRmEntFlapReusesize' => '1.2.826.42.1.1578918.5.65.1.2.1.1.14', - 'bgpRmEntFlapReusearray' => '1.2.826.42.1.1578918.5.65.1.2.1.1.15', - 'bgpRmEntFlapFreemax' => '1.2.826.42.1.1578918.5.65.1.2.1.1.16', - 'bgpRmEntNoRefresh' => '1.2.826.42.1.1578918.5.65.1.2.1.1.17', - 'bgpRmEntDefLocalPref' => '1.2.826.42.1.1578918.5.65.1.2.1.1.18', - 'bgpRmEntAlwaysCompMed' => '1.2.826.42.1.1578918.5.65.1.2.1.1.19', - 'bgpRmEntAggregateMed' => '1.2.826.42.1.1578918.5.65.1.2.1.1.20', - 'bgpRmEntDeterministicMed' => '1.2.826.42.1.1578918.5.65.1.2.1.1.21', - 'bgpRmEntNhrJoinStatus' => '1.2.826.42.1.1578918.5.65.1.2.1.1.22', - 'bgpRmEntNhrJoinStatusDefinition' => 'DC-BGP-MIB::BgpMjStatus', - 'bgpRmEntNhrEntIndex' => '1.2.826.42.1.1578918.5.65.1.2.1.1.23', - 'bgpRmEntI3JoinStatus' => '1.2.826.42.1.1578918.5.65.1.2.1.1.24', - 'bgpRmEntI3JoinStatusDefinition' => 'DC-BGP-MIB::BgpMjStatus', - 'bgpRmEntI3EntIndex' => '1.2.826.42.1.1578918.5.65.1.2.1.1.25', - 'bgpRmEntPauseThreshold' => '1.2.826.42.1.1578918.5.65.1.2.1.1.26', - 'bgpRmEntMaxIBgpEcmpRoutes' => '1.2.826.42.1.1578918.5.65.1.2.1.1.27', - 'bgpRmEntMaxEBgpEcmpRoutes' => '1.2.826.42.1.1578918.5.65.1.2.1.1.28', - 'bgpRmEntRestartSupported' => '1.2.826.42.1.1578918.5.65.1.2.1.1.29', - 'bgpRmEntMaxRestartTime' => '1.2.826.42.1.1578918.5.65.1.2.1.1.30', - 'bgpRmEntRecoveryTime' => '1.2.826.42.1.1578918.5.65.1.2.1.1.31', - 'bgpRmEntDoGracefulRestart' => '1.2.826.42.1.1578918.5.65.1.2.1.1.32', - 'bgpRmEntIpv4UniFwdPrsrvd' => '1.2.826.42.1.1578918.5.65.1.2.1.1.33', - 'bgpRmEntIpv4MultiFwdPrsrvd' => '1.2.826.42.1.1578918.5.65.1.2.1.1.34', - 'bgpRmEntVpnIpv4FwdPrsrvd' => '1.2.826.42.1.1578918.5.65.1.2.1.1.35', - 'bgpRmEntIpv4ArinhJoinStatus' => '1.2.826.42.1.1578918.5.65.1.2.1.1.36', - 'bgpRmEntIpv4ArinhJoinStatusDefinition' => 'DC-BGP-MIB::BgpSjStatus', - 'bgpRmEntIpv4ArinhEntIndex' => '1.2.826.42.1.1578918.5.65.1.2.1.1.37', - 'bgpRmEntIpv6ArinhJoinStatus' => '1.2.826.42.1.1578918.5.65.1.2.1.1.38', - 'bgpRmEntIpv6ArinhJoinStatusDefinition' => 'DC-BGP-MIB::BgpSjStatus', - 'bgpRmEntIpv6ArinhEntIndex' => '1.2.826.42.1.1578918.5.65.1.2.1.1.39', - 'bgpRmEntSupportIpv6' => '1.2.826.42.1.1578918.5.65.1.2.1.1.40', - 'bgpRmEntStrictConfed' => '1.2.826.42.1.1578918.5.65.1.2.1.1.41', - 'bgpRmEntOrfSupported' => '1.2.826.42.1.1578918.5.65.1.2.1.1.42', - 'bgpRmEntCiscoPrefixSupported' => '1.2.826.42.1.1578918.5.65.1.2.1.1.43', - 'bgpRmEntSelectDeferTime' => '1.2.826.42.1.1578918.5.65.1.2.1.1.44', - 'bgpRmEntStalePathTime' => '1.2.826.42.1.1578918.5.65.1.2.1.1.45', - 'bgpRmEntNonPersistentAros' => '1.2.826.42.1.1578918.5.65.1.2.1.1.46', - 'bgpRmEntAroRouteThreshold' => '1.2.826.42.1.1578918.5.65.1.2.1.1.47', - 'bgpRmEntMaxActiveAroGroups' => '1.2.826.42.1.1578918.5.65.1.2.1.1.48', - 'bgpRmEntNumArosInGroup' => '1.2.826.42.1.1578918.5.65.1.2.1.1.49', - 'bgpRmEntNumAroRoutes' => '1.2.826.42.1.1578918.5.65.1.2.1.1.50', - 'bgpRmEntPeakNumAroRoutes' => '1.2.826.42.1.1578918.5.65.1.2.1.1.51', - 'bgpRmEntClearStats' => '1.2.826.42.1.1578918.5.65.1.2.1.1.52', - 'bgpRmEntFastExtFallover' => '1.2.826.42.1.1578918.5.65.1.2.1.1.53', - 'bgpRmEntRemainDelayTime' => '1.2.826.42.1.1578918.5.65.1.2.1.1.54', - 'bgpRmEntPathAttrs' => '1.2.826.42.1.1578918.5.65.1.2.1.1.55', - 'bgpRmEntAggSplitHorizon' => '1.2.826.42.1.1578918.5.65.1.2.1.1.56', - 'bgpRmEntAggAdvSuppr' => '1.2.826.42.1.1578918.5.65.1.2.1.1.57', - 'bgpRmEntUpdateGroups' => '1.2.826.42.1.1578918.5.65.1.2.1.1.58', - 'bgpRmEntPhase3DelayTime' => '1.2.826.42.1.1578918.5.65.1.2.1.1.59', - 'bgpRmEntTrapOperState' => '1.2.826.42.1.1578918.5.65.1.2.1.1.60', - 'bgpRmEntMaxASLimit' => '1.2.826.42.1.1578918.5.65.1.2.1.1.61', - 'bgpRmEntRestartTimeLeft' => '1.2.826.42.1.1578918.5.65.1.2.1.1.62', - 'bgpRmEntRestartExitReason' => '1.2.826.42.1.1578918.5.65.1.2.1.1.63', - 'bgpRmEntRestartExitReasonDefinition' => 'DC-BGP-MIB::BgpRestartExitReason', - 'bgpRmEntAsPathMultipathRelax' => '1.2.826.42.1.1578918.5.65.1.2.1.1.64', - 'bgpRmEntAsPathIgnore' => '1.2.826.42.1.1578918.5.65.1.2.1.1.65', - 'bgpRmEntPreferExistingRoute' => '1.2.826.42.1.1578918.5.65.1.2.1.1.66', - 'bgpRmEntMedMissingAsWorst' => '1.2.826.42.1.1578918.5.65.1.2.1.1.67', - 'bgpRmEntMedConfed' => '1.2.826.42.1.1578918.5.65.1.2.1.1.68', - 'bgpRmEntDynPeerRestartTime' => '1.2.826.42.1.1578918.5.65.1.2.1.1.69', - 'bgpRmEntCheckFirstAsNum' => '1.2.826.42.1.1578918.5.65.1.2.1.1.70', - 'bgpRmEntRibSizeWarning' => '1.2.826.42.1.1578918.5.65.1.2.1.1.71', - 'bgpRmEntRtiName' => '1.2.826.42.1.1578918.5.65.1.2.1.1.72', - 'bgpRmEntLmgrJoinStatus' => '1.2.826.42.1.1578918.5.65.1.2.1.1.73', - 'bgpRmEntLmgrJoinStatusDefinition' => 'DC-BGP-MIB::BgpMjStatus', - 'bgpRmEntLmgrEntIndex' => '1.2.826.42.1.1578918.5.65.1.2.1.1.74', - 'bgpRmEntDebug' => '1.2.826.42.1.1578918.5.65.1.2.1.1.75', - 'bgpRmEntLevel' => '1.2.826.42.1.1578918.5.65.1.2.1.1.76', - 'bgpRmEntAllFlagsEnabled' => '1.2.826.42.1.1578918.5.65.1.2.1.1.77', - 'bgpRmEntRxTxFlagsEnabled' => '1.2.826.42.1.1578918.5.65.1.2.1.1.78', - 'bgpRmEntProcId' => '1.2.826.42.1.1578918.5.65.1.2.1.1.79', - 'bgpRmEntRestartMultiplier' => '1.2.826.42.1.1578918.5.65.1.2.1.1.80', - 'bgpRmEntEnableAlarms' => '1.2.826.42.1.1578918.5.65.1.2.1.1.81', - 'bgpRmEntVrfName' => '1.2.826.42.1.1578918.5.65.1.2.1.1.82', - 'bgpRmEntDynPeerLimit' => '1.2.826.42.1.1578918.5.65.1.2.1.1.83', - 'bgpRmEntTableVersion' => '1.2.826.42.1.1578918.5.65.1.2.1.1.84', - 'bgpRmEntHelperOnly' => '1.2.826.42.1.1578918.5.65.1.2.1.1.85', - 'bgpRmEntInterClientReflEnabled' => '1.2.826.42.1.1578918.5.65.1.2.1.1.86', - 'bgpRmEntConfigRtRefresh' => '1.2.826.42.1.1578918.5.65.1.2.1.1.87', - 'bgpRmEntSupportIpv4' => '1.2.826.42.1.1578918.5.65.1.2.1.1.88', - 'bgpRmEntUseHalProgramming' => '1.2.826.42.1.1578918.5.65.1.2.1.1.89', - 'bgpRmEntTenantId' => '1.2.826.42.1.1578918.5.65.1.2.1.1.90', - 'bgpRmEntStaleGr' => '1.2.826.42.1.1578918.5.65.1.2.1.1.91', - 'bgpRmEntSlaCommunity' => '1.2.826.42.1.1578918.5.65.1.2.1.1.92', - 'bgpRmEntSooAuto' => '1.2.826.42.1.1578918.5.65.1.2.1.1.93', - 'bgpRmEntSiteId' => '1.2.826.42.1.1578918.5.65.1.2.1.1.94', - 'bgpRmEntCliId' => '1.2.826.42.1.1578918.5.65.1.2.1.1.95', - 'bgpRmEntTenantName' => '1.2.826.42.1.1578918.5.65.1.2.1.1.98', - 'bgpRmEntVPSiteInfoLocal' => '1.2.826.42.1.1578918.5.65.1.2.1.1.99', - 'bgpRmEntVPSiteInfoRemote' => '1.2.826.42.1.1578918.5.65.1.2.1.1.100', - 'bgpRmEntCommOldFormat' => '1.2.826.42.1.1578918.5.65.1.2.1.1.101', - 'bgpRmAfiSafiTable' => '1.2.826.42.1.1578918.5.65.1.2.2', - 'bgpRmAfiSafiEntry' => '1.2.826.42.1.1578918.5.65.1.2.2.1', - 'bgpRmAfiSafiAfi' => '1.2.826.42.1.1578918.5.65.1.2.2.1.2', - 'bgpRmAfiSafiAfiDefinition' => 'DC-BGP-MIB::BgpAfi', - 'bgpRmAfiSafiSafi' => '1.2.826.42.1.1578918.5.65.1.2.2.1.3', - 'bgpRmAfiSafiSafiDefinition' => 'DC-BGP-MIB::BgpSafi', - 'bgpRmAfiSafiAdminStatus' => '1.2.826.42.1.1578918.5.65.1.2.2.1.4', - 'bgpRmAfiSafiAdminStatusDefinition' => 'DC-BGP-MIB::BgpAdminStatus', - 'bgpRmAfiSafiStateKept' => '1.2.826.42.1.1578918.5.65.1.2.2.1.5', - 'bgpRmAfiSafiAfmRequired' => '1.2.826.42.1.1578918.5.65.1.2.2.1.6', - 'bgpRmAfiSafiLocRibBlocked' => '1.2.826.42.1.1578918.5.65.1.2.2.1.7', - 'bgpRmAfiSafiAdvertiseInactive' => '1.2.826.42.1.1578918.5.65.1.2.2.1.8', - 'bgpRmAfiSafiUserData' => '1.2.826.42.1.1578918.5.65.1.2.2.1.9', - 'bgpRmAfiSafiIbgpPrefixes' => '1.2.826.42.1.1578918.5.65.1.2.2.1.10', - 'bgpRmAfiSafiEbgpPrefixes' => '1.2.826.42.1.1578918.5.65.1.2.2.1.11', - 'bgpRmAfiSafiRedistPrefixes' => '1.2.826.42.1.1578918.5.65.1.2.2.1.12', - 'bgpRmAfiSafiInPrfxes' => '1.2.826.42.1.1578918.5.65.1.2.2.1.13', - 'bgpRmAfiSafiInPrfxesAccepted' => '1.2.826.42.1.1578918.5.65.1.2.2.1.14', - 'bgpRmAfiSafiInPrfxesRejected' => '1.2.826.42.1.1578918.5.65.1.2.2.1.15', - 'bgpRmAfiSafiOutPrfxes' => '1.2.826.42.1.1578918.5.65.1.2.2.1.16', - 'bgpRmAfiSafiOutPrfxesAdvertised' => '1.2.826.42.1.1578918.5.65.1.2.2.1.17', - 'bgpRmAfiSafiInPrfxesActive' => '1.2.826.42.1.1578918.5.65.1.2.2.1.18', - 'bgpRmAfiSafiInPrfxesFlapped' => '1.2.826.42.1.1578918.5.65.1.2.2.1.19', - 'bgpRmAfiSafiInPrfxesFlapSuppr' => '1.2.826.42.1.1578918.5.65.1.2.2.1.20', - 'bgpRmAfiSafiInPrfxesFlapHistory' => '1.2.826.42.1.1578918.5.65.1.2.2.1.21', - 'bgpRmAfiSafiDefaultImportRule' => '1.2.826.42.1.1578918.5.65.1.2.2.1.22', - 'bgpRmAfiSafiDefaultImportRuleDefinition' => 'DC-BGP-MIB::BgpPermitOrDeny', - 'bgpRmAfiSafiInPrfxesDeniedByPol' => '1.2.826.42.1.1578918.5.65.1.2.2.1.23', - 'bgpRmAfiSafiNumLocRibRoutes' => '1.2.826.42.1.1578918.5.65.1.2.2.1.24', - 'bgpRmAfiSafiNextHopSafi' => '1.2.826.42.1.1578918.5.65.1.2.2.1.25', - 'bgpRmAfiSafiNextHopSafiDefinition' => 'DC-BGP-MIB::BgpSafi', - 'bgpRmAfiSafiNumLocRibBestRoutes' => '1.2.826.42.1.1578918.5.65.1.2.2.1.26', - 'bgpRmAfiSafiAddPathCapCfg' => '1.2.826.42.1.1578918.5.65.1.2.2.1.27', - 'bgpRmAfiSafiAddPathCapCfgDefinition' => 'DC-BGP-MIB::BgpAddPathSrCap', - 'bgpRmAfiSafiAddPathBestN' => '1.2.826.42.1.1578918.5.65.1.2.2.1.28', - 'bgpRmAfiSafiCheckMartians' => '1.2.826.42.1.1578918.5.65.1.2.2.1.29', - 'bgpRmAfiSafiDefaultMetric' => '1.2.826.42.1.1578918.5.65.1.2.2.1.30', - 'bgpRmAfiSafiFlapConfigIndex' => '1.2.826.42.1.1578918.5.65.1.2.2.1.31', - 'bgpRmAfiSafiFlapConfigMap' => '1.2.826.42.1.1578918.5.65.1.2.2.1.32', - 'bgpRmAfiSafiIGPMetricIgnore' => '1.2.826.42.1.1578918.5.65.1.2.2.1.33', - 'bgpRmAfiSafiNumLocRibNextHops' => '1.2.826.42.1.1578918.5.65.1.2.2.1.34', - 'bgpRmAfiSafiNumLocRibECMPRoutes' => '1.2.826.42.1.1578918.5.65.1.2.2.1.35', - 'bgpRmAfiSafiTotNumPrefixAllocs' => '1.2.826.42.1.1578918.5.65.1.2.2.1.36', - 'bgpRmAfiSafiTotNumRouteAllocs' => '1.2.826.42.1.1578918.5.65.1.2.2.1.37', - 'bgpRmAfiSafiTotNumPrefixFrees' => '1.2.826.42.1.1578918.5.65.1.2.2.1.38', - 'bgpRmAfiSafiTotNumRouteFrees' => '1.2.826.42.1.1578918.5.65.1.2.2.1.39', - 'bgpRmAfiSafiMaExtCommList' => '1.2.826.42.1.1578918.5.65.1.2.2.1.40', - 'bgpRmAfiSafiMaxIBgpEcmpRoutes' => '1.2.826.42.1.1578918.5.65.1.2.2.1.41', - 'bgpRmAfiSafiMaxEBgpEcmpRoutes' => '1.2.826.42.1.1578918.5.65.1.2.2.1.42', - 'bgpRmAfiSafiInstallBestNPaths' => '1.2.826.42.1.1578918.5.65.1.2.2.1.43', - 'bgpPeer' => '1.2.826.42.1.1578918.5.65.1.3', - 'bgpPeerData' => '1.2.826.42.1.1578918.5.65.1.3.1', - 'bgpPeerTable' => '1.2.826.42.1.1578918.5.65.1.3.1.1', - 'bgpPeerEntry' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1', - 'bgpPeerIdentifier' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.2', - 'bgpPeerState' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.3', - 'bgpPeerStateDefinition' => 'DC-BGP-MIB::BgpPeerStates', - 'bgpPeerRowStatus' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.4', - 'bgpPeerAdminStatus' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.5', - 'bgpPeerAdminStatusDefinition' => 'DC-BGP-MIB::BgpAdminStatus', - 'bgpPeerOperStatus' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.6', - 'bgpPeerOperStatusDefinition' => 'DC-BGP-MIB::BgpOperStatus', - 'bgpPeerLocalAddrType' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.7', - 'bgpPeerLocalAddrTypeDefinition' => 'INET-ADDRESS-MIB::InetAddressType', - 'bgpPeerLocalAddr' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.8', - 'bgpPeerLocalPort' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.9', - 'bgpPeerLocalNm' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.10', - 'bgpPeerRemoteAddrType' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.11', - 'bgpPeerRemoteAddrTypeDefinition' => 'INET-ADDRESS-MIB::InetAddressType', - 'bgpPeerRemoteAddr' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.12', - 'bgpPeerRemotePort' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.13', - 'bgpPeerRemoteAs' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.14', - 'bgpPeerIndex' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.15', - 'bgpPeerConfedMember' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.16', - 'bgpPeerReflectorClient' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.17', - 'bgpPeerReflectorClientDefinition' => 'DC-BGP-MIB::BgpPeerReflectorClientType', - 'bgpPeerTrapEstab' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.18', - 'bgpPeerTrapBackw' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.19', - 'bgpPeerCapsSupport' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.20', - 'bgpPeerLastError' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.21', - 'bgpPeerLastErrorDataLen' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.22', - 'bgpPeerLastErrorData' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.23', - 'bgpPeerFsmEstablishedTime' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.24', - 'bgpPeerInUpdatesElapsedTime' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.25', - 'bgpPeerConnectRetryInterval' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.26', - 'bgpPeerHoldTimeConfigd' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.27', - 'bgpPeerKeepAliveConfigd' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.28', - 'bgpPeerMinASOriginationInterval' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.29', - 'bgpPeerMinRouteAdvertiseInterval' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.30', - 'bgpPeerHoldTime' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.31', - 'bgpPeerKeepAlive' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.32', - 'bgpPeerInUpdates' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.33', - 'bgpPeerOutUpdates' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.34', - 'bgpPeerInTotalMessages' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.35', - 'bgpPeerOutTotalMessages' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.36', - 'bgpPeerFsmEstablishedTransitions' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.37', - 'bgpPeerConnectRetryCount' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.38', - 'bgpPeerClearCnts' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.39', - 'bgpPeerConfigPeergr' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.40', - 'bgpPeerConfigIndex' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.41', - 'bgpPeerConfigRtRefresh' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.42', - 'bgpPeerConfigMaxPrfx' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.43', - 'bgpPeerConfigDropWarn' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.44', - 'bgpPeerConfigDropWarnDefinition' => 'DC-BGP-MIB::BgpDropOrWarn', - 'bgpPeerConfigPassive' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.45', - 'bgpPeerConfigOpenDelay' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.46', - 'bgpPeerConfigIdleHold' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.47', - 'bgpPeerPassword' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.48', - 'bgpPeerTtl' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.49', - 'bgpPeerCheckFirstAsNum' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.50', - 'bgpPeerCheckFirstAsNumDefinition' => 'DC-BGP-MIB::BgpTrueFalseOrInherit', - 'bgpPeerAggrInclConfedAS' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.51', - 'bgpPeerMinRouteWithdrawInterval' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.52', - 'bgpPeerStalePathTime' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.53', - 'bgpPeerCheckNextHop' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.54', - 'bgpPeerLocalAddrScopeId' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.55', - 'bgpPeerMaxOrfEntries' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.56', - 'bgpPeerOrfEntryCount' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.57', - 'bgpPeerPeeringType' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.58', - 'bgpPeerPeeringTypeDefinition' => 'DC-BGP-MIB::BgpPeeringType', - 'bgpPeerSoftResetWithStoredInfo' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.59', - 'bgpPeerAllowLocalAs' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.60', - 'bgpPeerDisableSenderLoopDetect' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.61', - 'bgpPeerDisableRouteRefresh' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.62', - 'bgpPeerFlapStatsClearStat' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.63', - 'bgpPeerFlapStatsClearMap' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.64', - 'bgpPeerLastErrorRcvd' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.65', - 'bgpPeerLastErrorRcvdTime' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.66', - 'bgpPeerLastErrorSent' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.67', - 'bgpPeerLastErrorSentTime' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.68', - 'bgpPeerLastState' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.69', - 'bgpPeerLastStateDefinition' => 'DC-BGP-MIB::BgpPeerStates', - 'bgpPeerLastEvent' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.70', - 'bgpPeerLastEventDefinition' => 'DC-BGP-MIB::BgpPeerEvents', - 'bgpPeerCapsSent' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.71', - 'bgpPeerCapsRcvd' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.72', - 'bgpPeerCapsNegotiated' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.73', - 'bgpPeerRstrSupport' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.74', - 'bgpPeerRstrSupportDefinition' => 'DC-BGP-MIB::BgpPeerRestartSupport', - 'bgpPeerRstrFamily' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.75', - 'bgpPeerRstrRestarting' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.76', - 'bgpPeerRstrStatus' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.77', - 'bgpPeerRstrStatusDefinition' => 'DC-BGP-MIB::BgpPeerRestartStatus', - 'bgpPeerRstrRemTime' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.78', - 'bgpPeerRcvdMsgElapsedTime' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.79', - 'bgpPeerIdleHoldRemTime' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.80', - 'bgpPeerRouteRefrSent' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.81', - 'bgpPeerRouteRefrRcvd' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.82', - 'bgpPeerNxtHopSlf' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.83', - 'bgpPeerNxtHopSlfDefinition' => 'DC-BGP-MIB::BgpNextHopSelf', - 'bgpPeerThirdPtyNxtHop' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.84', - 'bgpPeerNxtHopPeer' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.85', - 'bgpPeerTrapPrefix' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.86', - 'bgpPeerConfigThreshold' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.87', - 'bgpPeerMaxPrfxHold' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.88', - 'bgpPeerSelectedLocalAddrType' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.89', - 'bgpPeerSelectedLocalAddrTypeDefinition' => 'INET-ADDRESS-MIB::InetAddressType', - 'bgpPeerSelectedLocalAddr' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.90', - 'bgpPeerSelectedLocalPort' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.91', - 'bgpPeerSelectedRemotePort' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.92', - 'bgpPeerBfdDesired' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.93', - 'bgpPeerBfdStatus' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.94', - 'bgpPeerCeaseErrorSubcode' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.95', - 'bgpPeerCeaseErrorSubcodeDefinition' => 'DC-BGP-MIB::BgpCeaseErrorSubcode', - 'bgpPeerConfAltLocalAs' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.96', - 'bgpPeerSelectedLocalAs' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.97', - 'bgpPeerSelectedRemoteAs' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.98', - 'bgpPeerInPrfxes' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.99', - 'bgpPeerOutPrfxes' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.100', - 'bgpPeerOutPrfxesAdvertised' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.101', - 'bgpPeerTrapGrHelperState' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.102', - 'bgpPeerEnableAttributeDiscard' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.103', - 'bgpPeerConfAltLocalAsMode' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.104', - 'bgpPeerConfAltLocalAsModeDefinition' => 'DC-BGP-MIB::bgpPeerConfAltLocalAsMode', - 'bgpPeerSendComm' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.105', - 'bgpPeerSendExtComm' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.106', - 'bgpPeerConfigUsage' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.107', - 'bgpPeerWeight' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.108', - 'bgpPeerFallover' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.109', - 'bgpPeerFalloverDefinition' => 'DC-BGP-MIB::BgpTrueFalseOrInherit', - 'bgpPeerConfigUsage2' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.110', - 'bgpPeerDmzLink' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.111', - 'bgpPeerRemovePrivate' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.112', - 'bgpPeerAsOverride' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.113', - 'bgpPeerDistListAclIn' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.114', - 'bgpPeerDistListAclOut' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.115', - 'bgpPeerDistListPlIn' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.116', - 'bgpPeerDistListPlOut' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.117', - 'bgpPeerFilterListIn' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.118', - 'bgpPeerFilterListOut' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.119', - 'bgpPeerAddrSourceIf' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.120', - 'bgpPeerUseImportLocalPref' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.121', - 'bgpPeerImportLocalPref' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.122', - 'bgpPeerUseExportLocalPref' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.123', - 'bgpPeerExportLocalPref' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.124', - 'bgpPeerSlowPeer' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.125', - 'bgpPeerConfigUsage3' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.126', - 'bgpPeerAddrSourceType' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.127', - 'bgpPeerAddrSource' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.128', - 'bgpPeerMaxPrfxClear' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.129', - 'bgpPeerPrfxThresholdClear' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.130', - 'bgpPeerTtlSecurityMinTtl' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.131', - 'bgpPeerRemovePrivateAs' => '1.2.826.42.1.1578918.5.65.1.3.1.1.1.132', - 'bgpPeerRemovePrivateAsDefinition' => 'DC-BGP-MIB::BgpPrivAsActs', - 'bgpPeerAfiSafiTable' => '1.2.826.42.1.1578918.5.65.1.3.1.2', - 'bgpPeerAfiSafiEntry' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1', - 'bgpPeerAfiSafiAfi' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.8', - 'bgpPeerAfiSafiAfiDefinition' => 'DC-BGP-MIB::BgpAfi', - 'bgpPeerAfiSafiSafi' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.9', - 'bgpPeerAfiSafiSafiDefinition' => 'DC-BGP-MIB::BgpSafi', - 'bgpPeerAfiSafiDisable' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.10', - 'bgpPeerAfiSafiConfigRtRefresh' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.11', - 'bgpPeerAfiSafiAllowLocalAs' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.12', - 'bgpPeerAfiSafiDisableSndLpDetect' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.13', - 'bgpPeerAfiSafiNxtHopSlf' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.14', - 'bgpPeerAfiSafiNxtHopSlfDefinition' => 'DC-BGP-MIB::BgpNextHopSelf', - 'bgpPeerAfiSafiOrigDefault' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.15', - 'bgpPeerAfiSafiOrigDefaultRtMap' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.16', - 'bgpPeerAfiSafiSoftResetStore' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.17', - 'bgpPeerAfiSafiConfigMaxPrfx' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.18', - 'bgpPeerAfiSafiConfigDropWarn' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.19', - 'bgpPeerAfiSafiConfigDropWarnDefinition' => 'DC-BGP-MIB::BgpDropOrWarn', - 'bgpPeerAfiSafiTrapPrefix' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.20', - 'bgpPeerAfiSafiConfigThreshold' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.21', - 'bgpPeerAfiSafiMaxPrfxHold' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.22', - 'bgpPeerAfiSafiMaxOrfEntries' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.23', - 'bgpPeerAfiSafiAddPathCapCfg' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.25', - 'bgpPeerAfiSafiAddPathCapCfgDefinition' => 'DC-BGP-MIB::BgpAddPathSrCap', - 'bgpPeerAfiSafiAddPathCapNeg' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.26', - 'bgpPeerAfiSafiAddPathCapNegDefinition' => 'DC-BGP-MIB::BgpAddPathSrCap', - 'bgpPeerAfiSafiAddPathBestN' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.27', - 'bgpPeerAfiSafiImportMap' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.28', - 'bgpPeerAfiSafiExportMap' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.29', - 'bgpPeerAfiSafiImportIpPre' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.30', - 'bgpPeerAfiSafiExportIpPre' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.31', - 'bgpPeerAfiSafiImportIpAallPre' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.32', - 'bgpPeerAfiSafiExportIpAallPre' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.33', - 'bgpPeerAfiSafiReflectorClient' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.34', - 'bgpPeerAfiSafiReflectorClientDefinition' => 'DC-BGP-MIB::BgpPeerReflectorClientType', - 'bgpPeerAfiSafiAsOverride' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.35', - 'bgpPeerAfiSafiMinASOrigInt' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.36', - 'bgpPeerAfiSafiMinRteAdvertInt' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.37', - 'bgpPeerAfiSafiMinRteWithdrawInt' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.38', - 'bgpPeerAfiSafiSendComm' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.39', - 'bgpPeerAfiSafiSendExtComm' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.40', - 'bgpPeerAfiSafiConfigUsage' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.41', - 'bgpPeerAfiSafiMaxPrfxClear' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.42', - 'bgpPeerAfiSafiPrfxThrsholdClear' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.43', - 'bgpPeerAfiSafiPreserveNh' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.44', - 'bgpPeerAfiSafiAcceptRmtNxtHop' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.45', - 'bgpPeerAfiSafiConfigFromGr' => '1.2.826.42.1.1578918.5.65.1.3.1.2.1.46', - 'bgpPeerOrfCapabilityTable' => '1.2.826.42.1.1578918.5.65.1.3.1.3', - 'bgpPeerOrfCapabilityEntry' => '1.2.826.42.1.1578918.5.65.1.3.1.3.1', - 'bgpPeerOrfCapabilityAfi' => '1.2.826.42.1.1578918.5.65.1.3.1.3.1.8', - 'bgpPeerOrfCapabilityAfiDefinition' => 'DC-BGP-MIB::BgpAfi', - 'bgpPeerOrfCapabilitySafi' => '1.2.826.42.1.1578918.5.65.1.3.1.3.1.9', - 'bgpPeerOrfCapabilitySafiDefinition' => 'DC-BGP-MIB::BgpSafi', - 'bgpPeerOrfCapabilityOrfType' => '1.2.826.42.1.1578918.5.65.1.3.1.3.1.10', - 'bgpPeerOrfCapabilityOrfTypeDefinition' => 'DC-BGP-MIB::BgpOrfType', - 'bgpPeerOrfCapabilityAdminStatus' => '1.2.826.42.1.1578918.5.65.1.3.1.3.1.11', - 'bgpPeerOrfCapabilityAdminStatusDefinition' => 'DC-BGP-MIB::BgpAdminStatus', - 'bgpPeerOrfCapabilitySendReceive' => '1.2.826.42.1.1578918.5.65.1.3.1.3.1.12', - 'bgpPeerOrfCapabilitySendReceiveDefinition' => 'DC-BGP-MIB::BgpOrfSendReceive', - 'bgpPeerStatusTable' => '1.2.826.42.1.1578918.5.65.1.3.1.4', - 'bgpPeerStatusEntry' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1', - 'bgpPeerStatusIdentifier' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.9', - 'bgpPeerStatusState' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.10', - 'bgpPeerStatusStateDefinition' => 'DC-BGP-MIB::BgpPeerStates', - 'bgpPeerStatusDropSession' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.11', - 'bgpPeerStatusCeaseErrorSubcode' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.12', - 'bgpPeerStatusCeaseErrorSubcodeDefinition' => 'DC-BGP-MIB::BgpCeaseErrorSubcode', - 'bgpPeerStatusDynamicPeer' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.13', - 'bgpPeerStatusLocalNm' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.14', - 'bgpPeerStatusRemoteAs' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.15', - 'bgpPeerStatusPeerIndex' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.16', - 'bgpPeerStatusCapsSupport' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.17', - 'bgpPeerStatusLastError' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.18', - 'bgpPeerStatusLastErrorDataLen' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.19', - 'bgpPeerStatusLastErrorData' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.20', - 'bgpPeerStatusFsmEstablishedTime' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.21', - 'bgpPeerStatusInUpdatesElpsTime' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.22', - 'bgpPeerStatusHoldTime' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.23', - 'bgpPeerStatusKeepAlive' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.24', - 'bgpPeerStatusInOpens' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.25', - 'bgpPeerStatusOutOpens' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.26', - 'bgpPeerStatusInNotifications' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.27', - 'bgpPeerStatusOutNotifications' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.28', - 'bgpPeerStatusInUpdates' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.29', - 'bgpPeerStatusOutUpdates' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.30', - 'bgpPeerStatusInKeepalives' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.31', - 'bgpPeerStatusOutKeepalives' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.32', - 'bgpPeerStatusInRefreshes' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.33', - 'bgpPeerStatusOutRefreshes' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.34', - 'bgpPeerStatusInTotalMessages' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.35', - 'bgpPeerStatusOutTotalMessages' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.36', - 'bgpPeerStatusFsmEstTransitions' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.37', - 'bgpPeerStatusConnectRetryCount' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.38', - 'bgpPeerStatusClearCnts' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.39', - 'bgpPeerStatusPeergr' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.40', - 'bgpPeerStatusRtRefresh' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.41', - 'bgpPeerStatusStalePathTime' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.42', - 'bgpPeerStatusOrfEntryCount' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.43', - 'bgpPeerStatusFlapStatsClearStat' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.44', - 'bgpPeerStatusFlapStatsClearMap' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.45', - 'bgpPeerStatusLastErrorRcvd' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.46', - 'bgpPeerStatusLastErrorRcvdTime' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.47', - 'bgpPeerStatusLastErrorSent' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.48', - 'bgpPeerStatusLastErrorSentTime' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.49', - 'bgpPeerStatusLastState' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.50', - 'bgpPeerStatusLastStateDefinition' => 'DC-BGP-MIB::BgpPeerStates', - 'bgpPeerStatusLastEvent' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.51', - 'bgpPeerStatusLastEventDefinition' => 'DC-BGP-MIB::BgpPeerEvents', - 'bgpPeerStatusCapsSent' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.52', - 'bgpPeerStatusCapsRcvd' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.53', - 'bgpPeerStatusCapsNegotiated' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.54', - 'bgpPeerStatusRstrSupport' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.55', - 'bgpPeerStatusRstrSupportDefinition' => 'DC-BGP-MIB::BgpPeerRestartSupport', - 'bgpPeerStatusRstrFamily' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.56', - 'bgpPeerStatusRstrRestarting' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.57', - 'bgpPeerStatusRstrStatus' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.58', - 'bgpPeerStatusRstrStatusDefinition' => 'DC-BGP-MIB::BgpPeerRestartStatus', - 'bgpPeerStatusRstrRemTime' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.59', - 'bgpPeerStatusRcvdMsgElpsTime' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.60', - 'bgpPeerStatusIdleHoldRemTime' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.61', - 'bgpPeerStatusRouteRefrSent' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.62', - 'bgpPeerStatusRouteRefrRcvd' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.63', - 'bgpPeerStatusSelLocalAddrType' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.64', - 'bgpPeerStatusSelLocalAddrTypeDefinition' => 'INET-ADDRESS-MIB::InetAddressType', - 'bgpPeerStatusSelLocalAddr' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.65', - 'bgpPeerStatusSelLocalPort' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.66', - 'bgpPeerStatusSelRemotePort' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.67', - 'bgpPeerStatusBfdStatus' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.68', - 'bgpPeerStatusSelLocalAs' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.69', - 'bgpPeerStatusSelRemoteAs' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.70', - 'bgpPeerStatusInPrfxes' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.71', - 'bgpPeerStatusOutPrfxes' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.72', - 'bgpPeerStatusOutPrfxesAdvertised' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.73', - 'bgpPeerStatusConfigState' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.74', - 'bgpPeerStatusConfigStateDefinition' => 'DC-BGP-MIB::BgpPeerConfigStates', - 'bgpPeerStatusConfedMember' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.75', - 'bgpPeerStatusReflectorClient' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.76', - 'bgpPeerStatusReflectorClientDefinition' => 'DC-BGP-MIB::BgpPeerReflectorClientType', - 'bgpPeerStatusTrapEstab' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.77', - 'bgpPeerStatusTrapBackw' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.78', - 'bgpPeerStatusConnectRetryInt' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.79', - 'bgpPeerStatusConfigPassive' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.80', - 'bgpPeerStatusConfigOpenDelay' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.81', - 'bgpPeerStatusConfigIdleHold' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.82', - 'bgpPeerStatusTtl' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.83', - 'bgpPeerStatusConfAltLocalAs' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.84', - 'bgpPeerStatusConfAltLocalAsMode' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.85', - 'bgpPeerStatusConfAltLocalAsModeDefinition' => 'DC-BGP-MIB::bgpPeerStatusConfAltLocalAsMode', - 'bgpPeerStatusDisableRouteRefresh' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.86', - 'bgpPeerStatusBfdDesired' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.87', - 'bgpPeerStatusHoldTimeConfigd' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.88', - 'bgpPeerStatusKeepAliveConfigd' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.89', - 'bgpPeerStatusEbgpBandwidth' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.90', - 'bgpPeerStatusLastErrorDir' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.91', - 'bgpPeerStatusLastConnUpTimeStamp' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.92', - 'bgpPeerStatusLastConnDownTimeStamp' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.93', - 'bgpPeerStatusHistoryError' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.94', - 'bgpPeerStatusHistoryErrorDir' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.95', - 'bgpPeerStatusHistoryConnUpTimeStamp' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.96', - 'bgpPeerStatusHistoryConnDownTimeStamp' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.97', - 'bgpPeerStatusRemovePrivate' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.98', - 'bgpPeerStatusAsOverride' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.99', - 'bgpPeerStatusRstrStaleNlri' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.100', - 'bgpPeerStatusBranchName' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.101', - 'bgpPeerStatusLastErrRcvdTimeStamp' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.102', - 'bgpPeerStatusLastErrSentTimeStamp' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.103', - 'bgpPeerStatusResendAllRoutes' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.104', - 'bgpPeerStatusOutUpdateElpsTime' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.105', - 'bgpPeerStatusOutPrfxesDenied' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.106', - 'bgpPeerStatusOutPrfxesImpWdr' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.107', - 'bgpPeerStatusOutPrfxesExpWdr' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.108', - 'bgpPeerStatusInPrfxesImpWdr' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.109', - 'bgpPeerStatusInPrfxesExpWdr' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.110', - 'bgpPeerStatusReceivedHoldTime' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.111', - 'bgpPeerStatusSelRemoteAddrType' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.112', - 'bgpPeerStatusSelRemoteAddrTypeDefinition' => 'INET-ADDRESS-MIB::InetAddressType', - 'bgpPeerStatusSelRemoteAddr' => '1.2.826.42.1.1578918.5.65.1.3.1.4.1.113', - 'bgpPeerAfiSafiStatusTable' => '1.2.826.42.1.1578918.5.65.1.3.1.5', - 'bgpPeerAfiSafiStatusEntry' => '1.2.826.42.1.1578918.5.65.1.3.1.5.1', - 'bgpPeerAfiSafiStRtRefresh' => '1.2.826.42.1.1578918.5.65.1.3.1.5.1.11', - 'bgpPeerAfiSafiStAddPathCapNeg' => '1.2.826.42.1.1578918.5.65.1.3.1.5.1.12', - 'bgpPeerAfiSafiStAddPathCapNegDefinition' => 'DC-BGP-MIB::BgpAddPathSrCap', - 'bgpPeerAfiSafiStReflectorClient' => '1.2.826.42.1.1578918.5.65.1.3.1.5.1.13', - 'bgpPeerAfiSafiStReflectorClientDefinition' => 'DC-BGP-MIB::BgpPeerReflectorClientType', - 'bgpPeerAfiSafiStUpdateGroup' => '1.2.826.42.1.1578918.5.65.1.3.1.5.1.14', - 'bgpPeerAfiSafiStResendAllRoutes' => '1.2.826.42.1.1578918.5.65.1.3.1.5.1.15', - 'bgpPeerDebugTable' => '1.2.826.42.1.1578918.5.65.1.3.1.6', - 'bgpPeerDebugEntry' => '1.2.826.42.1.1578918.5.65.1.3.1.6.1', - 'bgpPeerDebugAddrType' => '1.2.826.42.1.1578918.5.65.1.3.1.6.1.2', - 'bgpPeerDebugAddrTypeDefinition' => 'INET-ADDRESS-MIB::InetAddressType', - 'bgpPeerDebugAddr' => '1.2.826.42.1.1578918.5.65.1.3.1.6.1.3', - 'bgpPeerDebugRowStatus' => '1.2.826.42.1.1578918.5.65.1.3.1.6.1.4', - 'bgpPeerDebugDebug' => '1.2.826.42.1.1578918.5.65.1.3.1.6.1.5', - 'bgpPeerDebugLevel' => '1.2.826.42.1.1578918.5.65.1.3.1.6.1.6', - 'bgpPeerDebugAllFlagsEnabled' => '1.2.826.42.1.1578918.5.65.1.3.1.6.1.7', - 'bgpPeerDebugRxTxFlagsEnabled' => '1.2.826.42.1.1578918.5.65.1.3.1.6.1.8', - 'bgpPeerCaps' => '1.2.826.42.1.1578918.5.65.1.3.2', - 'bgpPeerCapsRcvdTable' => '1.2.826.42.1.1578918.5.65.1.3.2.1', - 'bgpPeerCapsRcvdEntry' => '1.2.826.42.1.1578918.5.65.1.3.2.1.1', - 'bgpPeerCapRcvdCode' => '1.2.826.42.1.1578918.5.65.1.3.2.1.1.3', - 'bgpPeerCapRcvdIndex' => '1.2.826.42.1.1578918.5.65.1.3.2.1.1.4', - 'bgpPeerCapRcvdValue' => '1.2.826.42.1.1578918.5.65.1.3.2.1.1.5', - 'bgpPeerCapsSentTable' => '1.2.826.42.1.1578918.5.65.1.3.2.2', - 'bgpPeerCapsSentEntry' => '1.2.826.42.1.1578918.5.65.1.3.2.2.1', - 'bgpPeerCapSentCode' => '1.2.826.42.1.1578918.5.65.1.3.2.2.1.3', - 'bgpPeerCapSentIndex' => '1.2.826.42.1.1578918.5.65.1.3.2.2.1.4', - 'bgpPeerCapSentValue' => '1.2.826.42.1.1578918.5.65.1.3.2.2.1.5', - 'bgpPeerCntrs' => '1.2.826.42.1.1578918.5.65.1.3.3', - 'bgpPrfxCntrsTable' => '1.2.826.42.1.1578918.5.65.1.3.3.1', - 'bgpPrfxCntrsEntry' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1', - 'bgpPrfxCntrsAfi' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.3', - 'bgpPrfxCntrsAfiDefinition' => 'DC-BGP-MIB::BgpAfi', - 'bgpPrfxCntrsSafi' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.4', - 'bgpPrfxCntrsSafiDefinition' => 'DC-BGP-MIB::BgpSafi', - 'bgpPrfxInPrfxes' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.5', - 'bgpPrfxInPrfxesAccepted' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.6', - 'bgpPrfxInPrfxesRejected' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.7', - 'bgpPrfxOutPrfxes' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.8', - 'bgpPrfxOutPrfxesAdvertised' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.9', - 'bgpPrfxCntrsUserData' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.10', - 'bgpPrfxInPrfxesFlapped' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.11', - 'bgpPrfxInPrfxesFlapSuppressed' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.12', - 'bgpPrfxInPrfxesFlapHistory' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.13', - 'bgpPrfxInPrfxesActive' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.14', - 'bgpPrfxInPrfxesDeniedByPol' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.15', - 'bgpPrfxNumLocRibRoutes' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.16', - 'bgpPrfxNumLocRibBestRoutes' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.17', - 'bgpPrfxInPrfxesDeniedMartian' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.18', - 'bgpPrfxInPrfxesDeniedAsLoop' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.19', - 'bgpPrfxInPrfxesDeniedNextHop' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.20', - 'bgpPrfxInPrfxesDeniedAsLength' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.21', - 'bgpPrfxInPrfxesDeniedCommunity' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.22', - 'bgpPrfxInPrfxesDeniedLocalOrig' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.23', - 'bgpPrfxInTotalPrfxes' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.24', - 'bgpPrfxOutTotalPrfxes' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.25', - 'bgpPrfxPeerState' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.26', - 'bgpPrfxPeerStateDefinition' => 'DC-BGP-MIB::BgpPeerStates', - 'bgpPrfxOutPrfxesDenied' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.27', - 'bgpPrfxOutPrfxesImpWdr' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.28', - 'bgpPrfxOutPrfxesExpWdr' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.29', - 'bgpPrfxInPrfxesImpWdr' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.30', - 'bgpPrfxInPrfxesExpWdr' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.31', - 'bgpPrfxCurPrfxesDeniedByPol' => '1.2.826.42.1.1578918.5.65.1.3.3.1.1.32', - 'bgpRib' => '1.2.826.42.1.1578918.5.65.1.4', - 'bgpNlriTable' => '1.2.826.42.1.1578918.5.65.1.4.1', - 'bgpNlriEntry' => '1.2.826.42.1.1578918.5.65.1.4.1.1', - 'bgpNlriPeerOrAfm' => '1.2.826.42.1.1578918.5.65.1.4.1.1.2', - 'bgpNlriPeerOrAfmDefinition' => 'DC-BGP-MIB::BgpPeerOrAfm', - 'bgpNlriPeerAfmIndex' => '1.2.826.42.1.1578918.5.65.1.4.1.1.3', - 'bgpNlriAfi' => '1.2.826.42.1.1578918.5.65.1.4.1.1.4', - 'bgpNlriAfiDefinition' => 'DC-BGP-MIB::BgpAfi', - 'bgpNlriSafi' => '1.2.826.42.1.1578918.5.65.1.4.1.1.5', - 'bgpNlriSafiDefinition' => 'DC-BGP-MIB::BgpSafi', - 'bgpNlriPrfx' => '1.2.826.42.1.1578918.5.65.1.4.1.1.6', - 'bgpNlriPrfxLen' => '1.2.826.42.1.1578918.5.65.1.4.1.1.7', - 'bgpNlriBest' => '1.2.826.42.1.1578918.5.65.1.4.1.1.8', - 'bgpNlriAsSize' => '1.2.826.42.1.1578918.5.65.1.4.1.1.9', - 'bgpNlriAsSizeDefinition' => 'DC-BGP-MIB::BgpAsSize', - 'bgpNlriASPathStr' => '1.2.826.42.1.1578918.5.65.1.4.1.1.10', - 'bgpPathAttrOrigin' => '1.2.826.42.1.1578918.5.65.1.4.1.1.11', - 'bgpPathAttrOriginDefinition' => 'DC-BGP-MIB::BgpOriginCode', - 'bgpPathAttrNextHop' => '1.2.826.42.1.1578918.5.65.1.4.1.1.12', - 'bgpPathAttrMultiExitDisc' => '1.2.826.42.1.1578918.5.65.1.4.1.1.13', - 'bgpPathAttrLocalPref' => '1.2.826.42.1.1578918.5.65.1.4.1.1.14', - 'bgpPathAttrAtomicAggregate' => '1.2.826.42.1.1578918.5.65.1.4.1.1.15', - 'bgpPathAttrAtomicAggregateDefinition' => 'DC-BGP-MIB::BgpPathAttrAtomicAggPresence', - 'bgpPathAttrAggregatorAS' => '1.2.826.42.1.1578918.5.65.1.4.1.1.16', - 'bgpPathAttrAggregatorAddr' => '1.2.826.42.1.1578918.5.65.1.4.1.1.17', - 'bgpPathAttrCalcLocalPref' => '1.2.826.42.1.1578918.5.65.1.4.1.1.18', - 'bgpPathAttrOrigId' => '1.2.826.42.1.1578918.5.65.1.4.1.1.19', - 'bgpPathAttrWeight' => '1.2.826.42.1.1578918.5.65.1.4.1.1.20', - 'bgpFlapStatsConfig' => '1.2.826.42.1.1578918.5.65.1.4.1.1.21', - 'bgpFlapStatsPenalty' => '1.2.826.42.1.1578918.5.65.1.4.1.1.22', - 'bgpFlapStatsFlapcnt' => '1.2.826.42.1.1578918.5.65.1.4.1.1.23', - 'bgpFlapStatsSupprsd' => '1.2.826.42.1.1578918.5.65.1.4.1.1.24', - 'bgpFlapStatsTimeleft' => '1.2.826.42.1.1578918.5.65.1.4.1.1.25', - 'bgpFlapStatsCleardamp' => '1.2.826.42.1.1578918.5.65.1.4.1.1.26', - 'bgpFlapStatsClearstat' => '1.2.826.42.1.1578918.5.65.1.4.1.1.27', - 'bgpNlriEcmp' => '1.2.826.42.1.1578918.5.65.1.4.1.1.28', - 'bgpPathAttrAsPathLimAs' => '1.2.826.42.1.1578918.5.65.1.4.1.1.29', - 'bgpPathAttrAsPathLimUpper' => '1.2.826.42.1.1578918.5.65.1.4.1.1.30', - 'bgpNlriIsActive' => '1.2.826.42.1.1578918.5.65.1.4.1.1.31', - 'bgpNlriIsActiveDefinition' => 'DC-BGP-MIB::BgpNlriIsActiveFlag', - 'bgpNlriUserData' => '1.2.826.42.1.1578918.5.65.1.4.1.1.32', - 'bgpNlriStale' => '1.2.826.42.1.1578918.5.65.1.4.1.1.33', - 'bgpNlriFlapStartTime' => '1.2.826.42.1.1578918.5.65.1.4.1.1.34', - 'bgpNlriLinkLocalNextHop' => '1.2.826.42.1.1578918.5.65.1.4.1.1.35', - 'bgpPathAttrMEDPrsnt' => '1.2.826.42.1.1578918.5.65.1.4.1.1.36', - 'bgpNlriPathId' => '1.2.826.42.1.1578918.5.65.1.4.1.1.37', - 'bgpNlriHistory' => '1.2.826.42.1.1578918.5.65.1.4.1.1.38', - 'bgpNlriPmsi' => '1.2.826.42.1.1578918.5.65.1.4.1.1.39', - 'bgpNlriPmsiActualLen' => '1.2.826.42.1.1578918.5.65.1.4.1.1.40', - 'bgpPathAttrAdminDistance' => '1.2.826.42.1.1578918.5.65.1.4.1.1.41', - 'bgpNlriReasonNotBest' => '1.2.826.42.1.1578918.5.65.1.4.1.1.42', - 'bgpNlriReasonNotBestDefinition' => 'DC-BGP-MIB::BgpReasonNotBest', - 'bgpNlriPeerType' => '1.2.826.42.1.1578918.5.65.1.4.1.1.43', - 'bgpNlriPeerTypeDefinition' => 'DC-BGP-MIB::BgpNlriPeerTypes', - 'bgpNlriRemoteAddrType' => '1.2.826.42.1.1578918.5.65.1.4.1.1.44', - 'bgpNlriRemoteAddr' => '1.2.826.42.1.1578918.5.65.1.4.1.1.45', - 'bgpNlriRemoteAddrScopeId' => '1.2.826.42.1.1578918.5.65.1.4.1.1.46', - 'bgpNlriAggrType' => '1.2.826.42.1.1578918.5.65.1.4.1.1.47', - 'bgpNlriAggrTypeDefinition' => 'DC-BGP-MIB::bgpNlriAggrType', - 'bgpNlriOutputInterface' => '1.2.826.42.1.1578918.5.65.1.4.1.1.48', - 'bgpNlriCommunities' => '1.2.826.42.1.1578918.5.65.1.4.1.1.49', - 'bgpNlriExtCommunities' => '1.2.826.42.1.1578918.5.65.1.4.1.1.50', - 'bgpNlriPathAttrAuxData' => '1.2.826.42.1.1578918.5.65.1.4.1.1.51', - 'bgpPathAttrUnknownTable' => '1.2.826.42.1.1578918.5.65.1.4.2', - 'bgpPathAttrUnknownEntry' => '1.2.826.42.1.1578918.5.65.1.4.2.1', - 'bgpPathAttrUnknownType' => '1.2.826.42.1.1578918.5.65.1.4.2.1.8', - 'bgpPathAttrUnknownValue' => '1.2.826.42.1.1578918.5.65.1.4.2.1.9', - 'bgpPathAttrUnknownUserData' => '1.2.826.42.1.1578918.5.65.1.4.2.1.10', - 'bgpPathAttrExtensions' => '1.2.826.42.1.1578918.5.65.1.4.3', - 'bgpPathAttrNonCapExts' => '1.2.826.42.1.1578918.5.65.1.4.3.1', - 'bgpPathAttrRouteReflectionExts' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1966', - 'bgpPathAttrClusterTable' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1966.2', - 'bgpPathAttrClusterEntry' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1966.2.1', - 'bgpPathAttrClusterIndex' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1966.2.1.8', - 'bgpPathAttrClusterValue' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1966.2.1.9', - 'bgpPathAttrClusterUserData' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1966.2.1.10', - 'bgpRcvdPathAttrClusterTable' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1966.3', - 'bgpRcvdPathAttrClusterEntry' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1966.3.1', - 'bgpRcvdPathAttrClusterIndex' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1966.3.1.7', - 'bgpRcvdPathAttrClusterValue' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1966.3.1.8', - 'bgpRcvdPathAttrClusterUserData' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1966.3.1.9', - 'bgpRcvdPathAttrClusterPathId' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1966.3.1.10', - 'bgpAROPathAttrClusterTable' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1966.4', - 'bgpAROPathAttrClusterEntry' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1966.4.1', - 'bgpAROPathAttrClusterIndex' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1966.4.1.7', - 'bgpAROPathAttrClusterValue' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1966.4.1.8', - 'bgpAROPathAttrClusterUserData' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1966.4.1.9', - 'bgpPathAttrCommunityExts' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1997', - 'bgpPathAttrCommTable' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1997.1', - 'bgpPathAttrCommEntry' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1997.1.1', - 'bgpPathAttrCommIndex' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1997.1.1.8', - 'bgpPathAttrCommValue' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1997.1.1.9', - 'bgpPathAttrCommUserData' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1997.1.1.10', - 'bgpRcvdPathAttrCommTable' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1997.2', - 'bgpRcvdPathAttrCommEntry' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1997.2.1', - 'bgpRcvdPathAttrCommIndex' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1997.2.1.7', - 'bgpRcvdPathAttrCommValue' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1997.2.1.8', - 'bgpRcvdPathAttrCommUserData' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1997.2.1.9', - 'bgpRcvdPathAttrCommPathId' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1997.2.1.10', - 'bgpAROPathAttrCommTable' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1997.3', - 'bgpAROPathAttrCommEntry' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1997.3.1', - 'bgpAROPathAttrCommIndex' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1997.3.1.7', - 'bgpAROPathAttrCommValue' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1997.3.1.8', - 'bgpAROPathAttrCommUserData' => '1.2.826.42.1.1578918.5.65.1.4.3.1.1997.3.1.9', - 'bgpPathAttrExtCommunityExts' => '1.2.826.42.1.1578918.5.65.1.4.3.1.2547', - 'bgpPathAttrExtCommTable' => '1.2.826.42.1.1578918.5.65.1.4.3.1.2547.1', - 'bgpPathAttrExtCommEntry' => '1.2.826.42.1.1578918.5.65.1.4.3.1.2547.1.1', - 'bgpPathAttrExtCommIndex' => '1.2.826.42.1.1578918.5.65.1.4.3.1.2547.1.1.8', - 'bgpPathAttrExtCommValue' => '1.2.826.42.1.1578918.5.65.1.4.3.1.2547.1.1.9', - 'bgpPathAttrExtCommUserData' => '1.2.826.42.1.1578918.5.65.1.4.3.1.2547.1.1.10', - 'bgpRcvdPathAttrExtCommTable' => '1.2.826.42.1.1578918.5.65.1.4.3.1.2547.2', - 'bgpRcvdPathAttrExtCommEntry' => '1.2.826.42.1.1578918.5.65.1.4.3.1.2547.2.1', - 'bgpRcvdPathAttrExtCommIndex' => '1.2.826.42.1.1578918.5.65.1.4.3.1.2547.2.1.7', - 'bgpRcvdPathAttrExtCommValue' => '1.2.826.42.1.1578918.5.65.1.4.3.1.2547.2.1.8', - 'bgpRcvdPathAttrExtCommUserData' => '1.2.826.42.1.1578918.5.65.1.4.3.1.2547.2.1.9', - 'bgpRcvdPathAttrExtCommPathId' => '1.2.826.42.1.1578918.5.65.1.4.3.1.2547.2.1.10', - 'bgpAROPathAttrExtCommTable' => '1.2.826.42.1.1578918.5.65.1.4.3.1.2547.3', - 'bgpAROPathAttrExtCommEntry' => '1.2.826.42.1.1578918.5.65.1.4.3.1.2547.3.1', - 'bgpAROPathAttrExtCommIndex' => '1.2.826.42.1.1578918.5.65.1.4.3.1.2547.3.1.7', - 'bgpAROPathAttrExtCommValue' => '1.2.826.42.1.1578918.5.65.1.4.3.1.2547.3.1.8', - 'bgpAROPathAttrExtCommUserData' => '1.2.826.42.1.1578918.5.65.1.4.3.1.2547.3.1.9', - 'bgpPathAttrCapExts' => '1.2.826.42.1.1578918.5.65.1.4.3.2', - 'bgpAdjRibOutTable' => '1.2.826.42.1.1578918.5.65.1.4.4', - 'bgpAdjRibOutEntry' => '1.2.826.42.1.1578918.5.65.1.4.4.1', - 'bgpAdjRibOutAfi' => '1.2.826.42.1.1578918.5.65.1.4.4.1.3', - 'bgpAdjRibOutAfiDefinition' => 'DC-BGP-MIB::BgpAfi', - 'bgpAdjRibOutSafi' => '1.2.826.42.1.1578918.5.65.1.4.4.1.4', - 'bgpAdjRibOutSafiDefinition' => 'DC-BGP-MIB::BgpSafi', - 'bgpAdjRibOutPrfx' => '1.2.826.42.1.1578918.5.65.1.4.4.1.5', - 'bgpAdjRibOutPrfxLen' => '1.2.826.42.1.1578918.5.65.1.4.4.1.6', - 'bgpAdjRibOutAdvertStatus' => '1.2.826.42.1.1578918.5.65.1.4.4.1.7', - 'bgpAdjRibOutAdvertStatusDefinition' => 'DC-BGP-MIB::bgpAdjRibOutAdvertStatus', - 'bgpAdjRibOutLocalAggrType' => '1.2.826.42.1.1578918.5.65.1.4.4.1.8', - 'bgpAdjRibOutLocalAggrTypeDefinition' => 'DC-BGP-MIB::bgpAdjRibOutLocalAggrType', - 'bgpAdjRibOutAsSize' => '1.2.826.42.1.1578918.5.65.1.4.4.1.9', - 'bgpAdjRibOutAsSizeDefinition' => 'DC-BGP-MIB::BgpAsSize', - 'bgpAdjRibOutASPathStr' => '1.2.826.42.1.1578918.5.65.1.4.4.1.10', - 'bgpAdjRibOutOrigin' => '1.2.826.42.1.1578918.5.65.1.4.4.1.11', - 'bgpAdjRibOutOriginDefinition' => 'DC-BGP-MIB::BgpOriginCode', - 'bgpAdjRibOutNextHop' => '1.2.826.42.1.1578918.5.65.1.4.4.1.12', - 'bgpAdjRibOutMultiExitDisc' => '1.2.826.42.1.1578918.5.65.1.4.4.1.13', - 'bgpAdjRibOutLocalPref' => '1.2.826.42.1.1578918.5.65.1.4.4.1.14', - 'bgpAdjRibOutAtomicAggregate' => '1.2.826.42.1.1578918.5.65.1.4.4.1.15', - 'bgpAdjRibOutAtomicAggregateDefinition' => 'DC-BGP-MIB::BgpPathAttrAtomicAggPresence', - 'bgpAdjRibOutAggregatorAS' => '1.2.826.42.1.1578918.5.65.1.4.4.1.16', - 'bgpAdjRibOutAggregatorAddr' => '1.2.826.42.1.1578918.5.65.1.4.4.1.17', - 'bgpAdjRibOutOrigId' => '1.2.826.42.1.1578918.5.65.1.4.4.1.18', - 'bgpAdjRibOutAsLimAs' => '1.2.826.42.1.1578918.5.65.1.4.4.1.19', - 'bgpAdjRibOutAsLimUpper' => '1.2.826.42.1.1578918.5.65.1.4.4.1.20', - 'bgpAdjRibOutUserData' => '1.2.826.42.1.1578918.5.65.1.4.4.1.21', - 'bgpAdjRibOutEcmp' => '1.2.826.42.1.1578918.5.65.1.4.4.1.22', - 'bgpAdjRibOutStale' => '1.2.826.42.1.1578918.5.65.1.4.4.1.23', - 'bgpAdjRibOutLinkLocalNextHop' => '1.2.826.42.1.1578918.5.65.1.4.4.1.24', - 'bgpAdjRibOutMEDPrsnt' => '1.2.826.42.1.1578918.5.65.1.4.4.1.25', - 'bgpAdjRibOutPathId' => '1.2.826.42.1.1578918.5.65.1.4.4.1.26', - 'bgpAdjRibOutLabel' => '1.2.826.42.1.1578918.5.65.1.4.4.1.27', - 'bgpAdjRibOutRemoteAddrType' => '1.2.826.42.1.1578918.5.65.1.4.4.1.28', - 'bgpAdjRibOutRemoteAddr' => '1.2.826.42.1.1578918.5.65.1.4.4.1.29', - 'bgpAdjRibOutRemoteAddrScopeId' => '1.2.826.42.1.1578918.5.65.1.4.4.1.30', - 'bgpAdjRibOutPmsi' => '1.2.826.42.1.1578918.5.65.1.4.4.1.31', - 'bgpAdjRibOutPmsiActualLen' => '1.2.826.42.1.1578918.5.65.1.4.4.1.32', - 'bgpAdjRibOutCommunities' => '1.2.826.42.1.1578918.5.65.1.4.4.1.33', - 'bgpAdjRibOutExtCommunities' => '1.2.826.42.1.1578918.5.65.1.4.4.1.34', - 'bgpAdjRibOutAuxData' => '1.2.826.42.1.1578918.5.65.1.4.4.1.35', - 'bgpNlriPrefixTable' => '1.2.826.42.1.1578918.5.65.1.4.5', - 'bgpNlriPrefixEntry' => '1.2.826.42.1.1578918.5.65.1.4.5.1', - 'bgpNlriPrefixPeerOrAfm' => '1.2.826.42.1.1578918.5.65.1.4.5.1.2', - 'bgpNlriPrefixPeerOrAfmDefinition' => 'DC-BGP-MIB::BgpPeerOrAfm', - 'bgpNlriPrefixPeerAfmIndex' => '1.2.826.42.1.1578918.5.65.1.4.5.1.3', - 'bgpNlriPrefixAfi' => '1.2.826.42.1.1578918.5.65.1.4.5.1.4', - 'bgpNlriPrefixAfiDefinition' => 'DC-BGP-MIB::BgpAfi', - 'bgpNlriPrefixSafi' => '1.2.826.42.1.1578918.5.65.1.4.5.1.5', - 'bgpNlriPrefixSafiDefinition' => 'DC-BGP-MIB::BgpSafi', - 'bgpNlriPrefixPrfx' => '1.2.826.42.1.1578918.5.65.1.4.5.1.6', - 'bgpNlriPrefixPrfxLen' => '1.2.826.42.1.1578918.5.65.1.4.5.1.7', - 'bgpNlriPrefixBest' => '1.2.826.42.1.1578918.5.65.1.4.5.1.8', - 'bgpNlriPrefixAsSize' => '1.2.826.42.1.1578918.5.65.1.4.5.1.9', - 'bgpNlriPrefixAsSizeDefinition' => 'DC-BGP-MIB::BgpAsSize', - 'bgpNlriPrefixASPathStr' => '1.2.826.42.1.1578918.5.65.1.4.5.1.10', - 'bgpNlriPrefixPathAttrOrigin' => '1.2.826.42.1.1578918.5.65.1.4.5.1.11', - 'bgpNlriPrefixPathAttrOriginDefinition' => 'DC-BGP-MIB::BgpOriginCode', - 'bgpNlriPrefixPathAttrNextHop' => '1.2.826.42.1.1578918.5.65.1.4.5.1.12', - 'bgpNlriPrefixPathAttrMultExtDisc' => '1.2.826.42.1.1578918.5.65.1.4.5.1.13', - 'bgpNlriPrefixPathAttrLocalPref' => '1.2.826.42.1.1578918.5.65.1.4.5.1.14', - 'bgpNlriPrefixPathAttrAtomicAgg' => '1.2.826.42.1.1578918.5.65.1.4.5.1.15', - 'bgpNlriPrefixPathAttrAtomicAggDefinition' => 'DC-BGP-MIB::BgpPathAttrAtomicAggPresence', - 'bgpNlriPrefixPathAttrAggAS' => '1.2.826.42.1.1578918.5.65.1.4.5.1.16', - 'bgpNlriPrefixPathAttrAggAddr' => '1.2.826.42.1.1578918.5.65.1.4.5.1.17', - 'bgpNlriPrefixPathAttrCalcLclPref' => '1.2.826.42.1.1578918.5.65.1.4.5.1.18', - 'bgpNlriPrefixPathAttrOrigId' => '1.2.826.42.1.1578918.5.65.1.4.5.1.19', - 'bgpNlriPrefixPathAttrWeight' => '1.2.826.42.1.1578918.5.65.1.4.5.1.20', - 'bgpNlriPrefixFlapStatsConfig' => '1.2.826.42.1.1578918.5.65.1.4.5.1.21', - 'bgpNlriPrefixFlapStatsPenalty' => '1.2.826.42.1.1578918.5.65.1.4.5.1.22', - 'bgpNlriPrefixFlapStatsFlapcnt' => '1.2.826.42.1.1578918.5.65.1.4.5.1.23', - 'bgpNlriPrefixFlapStatsSupprsd' => '1.2.826.42.1.1578918.5.65.1.4.5.1.24', - 'bgpNlriPrefixFlapStatsTimeleft' => '1.2.826.42.1.1578918.5.65.1.4.5.1.25', - 'bgpNlriPrefixFlapStatsCleardamp' => '1.2.826.42.1.1578918.5.65.1.4.5.1.26', - 'bgpNlriPrefixFlapStatsClearstat' => '1.2.826.42.1.1578918.5.65.1.4.5.1.27', - 'bgpNlriPrefixEcmp' => '1.2.826.42.1.1578918.5.65.1.4.5.1.28', - 'bgpNlriPrefixPathAttrAsPathLimAs' => '1.2.826.42.1.1578918.5.65.1.4.5.1.29', - 'bgpNlriPrefixPthAttAsPthLimUpper' => '1.2.826.42.1.1578918.5.65.1.4.5.1.30', - 'bgpNlriPrefixIsActive' => '1.2.826.42.1.1578918.5.65.1.4.5.1.31', - 'bgpNlriPrefixIsActiveDefinition' => 'DC-BGP-MIB::BgpNlriIsActiveFlag', - 'bgpNlriPrefixUserData' => '1.2.826.42.1.1578918.5.65.1.4.5.1.32', - 'bgpNlriPrefixStale' => '1.2.826.42.1.1578918.5.65.1.4.5.1.33', - 'bgpNlriPrefixFlapStartTime' => '1.2.826.42.1.1578918.5.65.1.4.5.1.34', - 'bgpNlriPrefixLinkLocalNextHop' => '1.2.826.42.1.1578918.5.65.1.4.5.1.35', - 'bgpNlriPrefixPathAttrMEDPrsnt' => '1.2.826.42.1.1578918.5.65.1.4.5.1.36', - 'bgpNlriPrefixPathId' => '1.2.826.42.1.1578918.5.65.1.4.5.1.37', - 'bgpNlriPrefixHistory' => '1.2.826.42.1.1578918.5.65.1.4.5.1.38', - 'bgpNlriPrefixPmsi' => '1.2.826.42.1.1578918.5.65.1.4.5.1.39', - 'bgpNlriPrefixPmsiActualLen' => '1.2.826.42.1.1578918.5.65.1.4.5.1.40', - 'bgpNlriPrefixPathAttrAdminDistance' => '1.2.826.42.1.1578918.5.65.1.4.5.1.41', - 'bgpNlriPrefixReasonNotBest' => '1.2.826.42.1.1578918.5.65.1.4.5.1.42', - 'bgpNlriPrefixReasonNotBestDefinition' => 'DC-BGP-MIB::BgpReasonNotBest', - 'bgpNlriPrefixPeerType' => '1.2.826.42.1.1578918.5.65.1.4.5.1.43', - 'bgpNlriPrefixPeerTypeDefinition' => 'DC-BGP-MIB::BgpNlriPeerTypes', - 'bgpNlriPrefixRemoteAddrType' => '1.2.826.42.1.1578918.5.65.1.4.5.1.44', - 'bgpNlriPrefixRemoteAddr' => '1.2.826.42.1.1578918.5.65.1.4.5.1.45', - 'bgpNlriPrefixRemoteAddrScopeId' => '1.2.826.42.1.1578918.5.65.1.4.5.1.46', - 'bgpNlriPrefixAggrType' => '1.2.826.42.1.1578918.5.65.1.4.5.1.47', - 'bgpNlriPrefixAggrTypeDefinition' => 'DC-BGP-MIB::bgpNlriPrefixAggrType', - 'bgpNlriPrefixOutputInterface' => '1.2.826.42.1.1578918.5.65.1.4.5.1.48', - 'bgpNlriPrefixCommunities' => '1.2.826.42.1.1578918.5.65.1.4.5.1.49', - 'bgpNlriPrefixExtCommunities' => '1.2.826.42.1.1578918.5.65.1.4.5.1.50', - 'bgpNlriPrefixPathAttrAuxData' => '1.2.826.42.1.1578918.5.65.1.4.5.1.51', - 'bgpRcvdNlriTable' => '1.2.826.42.1.1578918.5.65.1.4.6', - 'bgpRcvdNlriEntry' => '1.2.826.42.1.1578918.5.65.1.4.6.1', - 'bgpRcvdNlriPeerIndex' => '1.2.826.42.1.1578918.5.65.1.4.6.1.2', - 'bgpRcvdNlriAfi' => '1.2.826.42.1.1578918.5.65.1.4.6.1.3', - 'bgpRcvdNlriAfiDefinition' => 'DC-BGP-MIB::BgpAfi', - 'bgpRcvdNlriSafi' => '1.2.826.42.1.1578918.5.65.1.4.6.1.4', - 'bgpRcvdNlriSafiDefinition' => 'DC-BGP-MIB::BgpSafi', - 'bgpRcvdNlriPrfx' => '1.2.826.42.1.1578918.5.65.1.4.6.1.5', - 'bgpRcvdNlriPrfxLen' => '1.2.826.42.1.1578918.5.65.1.4.6.1.6', - 'bgpRcvdNlriAsSize' => '1.2.826.42.1.1578918.5.65.1.4.6.1.7', - 'bgpRcvdNlriAsSizeDefinition' => 'DC-BGP-MIB::BgpAsSize', - 'bgpRcvdNlriASPathStr' => '1.2.826.42.1.1578918.5.65.1.4.6.1.8', - 'bgpRcvdPathAttrOrigin' => '1.2.826.42.1.1578918.5.65.1.4.6.1.9', - 'bgpRcvdPathAttrOriginDefinition' => 'DC-BGP-MIB::BgpOriginCode', - 'bgpRcvdPathAttrNextHop' => '1.2.826.42.1.1578918.5.65.1.4.6.1.10', - 'bgpRcvdPathAttrMultiExitDisc' => '1.2.826.42.1.1578918.5.65.1.4.6.1.11', - 'bgpRcvdPathAttrLocalPref' => '1.2.826.42.1.1578918.5.65.1.4.6.1.12', - 'bgpRcvdPathAttrAtomicAggregate' => '1.2.826.42.1.1578918.5.65.1.4.6.1.13', - 'bgpRcvdPathAttrAtomicAggregateDefinition' => 'DC-BGP-MIB::BgpPathAttrAtomicAggPresence', - 'bgpRcvdPathAttrAggregatorAS' => '1.2.826.42.1.1578918.5.65.1.4.6.1.14', - 'bgpRcvdPathAttrAggregatorAddr' => '1.2.826.42.1.1578918.5.65.1.4.6.1.15', - 'bgpRcvdPathAttrOrigId' => '1.2.826.42.1.1578918.5.65.1.4.6.1.16', - 'bgpRcvdPathAttrAsPathLimAs' => '1.2.826.42.1.1578918.5.65.1.4.6.1.17', - 'bgpRcvdPathAttrAsPathLimUpper' => '1.2.826.42.1.1578918.5.65.1.4.6.1.18', - 'bgpRcvdNlriUserData' => '1.2.826.42.1.1578918.5.65.1.4.6.1.19', - 'bgpRcvdNlriLinkLocalNextHop' => '1.2.826.42.1.1578918.5.65.1.4.6.1.20', - 'bgpRcvdPathAttrMEDPrsnt' => '1.2.826.42.1.1578918.5.65.1.4.6.1.21', - 'bgpRcvdNlriPathId' => '1.2.826.42.1.1578918.5.65.1.4.6.1.22', - 'bgpRcvdPathAccepted' => '1.2.826.42.1.1578918.5.65.1.4.6.1.23', - 'bgpRcvdNlriPmsi' => '1.2.826.42.1.1578918.5.65.1.4.6.1.24', - 'bgpRcvdNlriPmsiActualLen' => '1.2.826.42.1.1578918.5.65.1.4.6.1.25', - 'bgpRcvdNlriOutputInterface' => '1.2.826.42.1.1578918.5.65.1.4.6.1.26', - 'bgpRcvdNlriCommunities' => '1.2.826.42.1.1578918.5.65.1.4.6.1.27', - 'bgpRcvdNlriExtCommunities' => '1.2.826.42.1.1578918.5.65.1.4.6.1.28', - 'bgpRcvdPathAttrUnknownTable' => '1.2.826.42.1.1578918.5.65.1.4.7', - 'bgpRcvdPathAttrUnknownEntry' => '1.2.826.42.1.1578918.5.65.1.4.7.1', - 'bgpRcvdPathAttrUnknownType' => '1.2.826.42.1.1578918.5.65.1.4.7.1.7', - 'bgpRcvdPathAttrUnknownValue' => '1.2.826.42.1.1578918.5.65.1.4.7.1.8', - 'bgpRcvdPathAttrUnknownUserData' => '1.2.826.42.1.1578918.5.65.1.4.7.1.9', - 'bgpRcvdPathAttrUnknownPathId' => '1.2.826.42.1.1578918.5.65.1.4.7.1.10', - 'bgpAROPathAttrUnknownTable' => '1.2.826.42.1.1578918.5.65.1.4.8', - 'bgpAROPathAttrUnknownEntry' => '1.2.826.42.1.1578918.5.65.1.4.8.1', - 'bgpAROPathAttrUnknownType' => '1.2.826.42.1.1578918.5.65.1.4.8.1.7', - 'bgpAROPathAttrUnknownValue' => '1.2.826.42.1.1578918.5.65.1.4.8.1.8', - 'bgpAROPathAttrUnknownUserData' => '1.2.826.42.1.1578918.5.65.1.4.8.1.9', - 'bgpPib' => '1.2.826.42.1.1578918.5.65.1.5', - 'bgpRouteMapTable' => '1.2.826.42.1.1578918.5.65.1.5.1', - 'bgpRouteMapEntry' => '1.2.826.42.1.1578918.5.65.1.5.1.1', - 'bgpRouteMapIndex' => '1.2.826.42.1.1578918.5.65.1.5.1.1.2', - 'bgpRouteMapNumber' => '1.2.826.42.1.1578918.5.65.1.5.1.1.3', - 'bgpRouteMapRowStatus' => '1.2.826.42.1.1578918.5.65.1.5.1.1.4', - 'bgpRouteMapMaAfi' => '1.2.826.42.1.1578918.5.65.1.5.1.1.5', - 'bgpRouteMapMaAfiDefinition' => 'DC-BGP-MIB::BgpAfi', - 'bgpRouteMapMaAfiDef' => '1.2.826.42.1.1578918.5.65.1.5.1.1.6', - 'bgpRouteMapMaSafi' => '1.2.826.42.1.1578918.5.65.1.5.1.1.7', - 'bgpRouteMapMaSafiDefinition' => 'DC-BGP-MIB::BgpSafi', - 'bgpRouteMapMaSafiDef' => '1.2.826.42.1.1578918.5.65.1.5.1.1.8', - 'bgpRouteMapMaAs' => '1.2.826.42.1.1578918.5.65.1.5.1.1.9', - 'bgpRouteMapMaComm' => '1.2.826.42.1.1578918.5.65.1.5.1.1.10', - 'bgpRouteMapMaExtComm' => '1.2.826.42.1.1578918.5.65.1.5.1.1.11', - 'bgpRouteMapMaAddr' => '1.2.826.42.1.1578918.5.65.1.5.1.1.12', - 'bgpRouteMapMaNext' => '1.2.826.42.1.1578918.5.65.1.5.1.1.13', - 'bgpRouteMapMaSource' => '1.2.826.42.1.1578918.5.65.1.5.1.1.14', - 'bgpRouteMapMaMed' => '1.2.826.42.1.1578918.5.65.1.5.1.1.15', - 'bgpRouteMapMaMedDef' => '1.2.826.42.1.1578918.5.65.1.5.1.1.16', - 'bgpRouteMapMaUser' => '1.2.826.42.1.1578918.5.65.1.5.1.1.17', - 'bgpRouteMapSeAs' => '1.2.826.42.1.1578918.5.65.1.5.1.1.18', - 'bgpRouteMapSeAsAct' => '1.2.826.42.1.1578918.5.65.1.5.1.1.19', - 'bgpRouteMapSeAsActDefinition' => 'DC-BGP-MIB::BgpAsPathAction', - 'bgpRouteMapSeComm' => '1.2.826.42.1.1578918.5.65.1.5.1.1.20', - 'bgpRouteMapSeCommAct' => '1.2.826.42.1.1578918.5.65.1.5.1.1.21', - 'bgpRouteMapSeCommActDefinition' => 'DC-BGP-MIB::BgpCommunityAction', - 'bgpRouteMapSeExtComm' => '1.2.826.42.1.1578918.5.65.1.5.1.1.22', - 'bgpRouteMapSeExtCommAct' => '1.2.826.42.1.1578918.5.65.1.5.1.1.23', - 'bgpRouteMapSeExtCommActDefinition' => 'DC-BGP-MIB::BgpCommunityAction', - 'bgpRouteMapSeLocPref' => '1.2.826.42.1.1578918.5.65.1.5.1.1.24', - 'bgpRouteMapSeLocPrefDef' => '1.2.826.42.1.1578918.5.65.1.5.1.1.25', - 'bgpRouteMapSeMed' => '1.2.826.42.1.1578918.5.65.1.5.1.1.26', - 'bgpRouteMapSeMedDef' => '1.2.826.42.1.1578918.5.65.1.5.1.1.27', - 'bgpRouteMapSeNext' => '1.2.826.42.1.1578918.5.65.1.5.1.1.28', - 'bgpRouteMapSeOrigin' => '1.2.826.42.1.1578918.5.65.1.5.1.1.29', - 'bgpRouteMapSeOriginDefinition' => 'DC-BGP-MIB::BgpOriginCode', - 'bgpRouteMapSeOriginDef' => '1.2.826.42.1.1578918.5.65.1.5.1.1.30', - 'bgpRouteMapSeWeight' => '1.2.826.42.1.1578918.5.65.1.5.1.1.31', - 'bgpRouteMapSeWeightDef' => '1.2.826.42.1.1578918.5.65.1.5.1.1.32', - 'bgpRouteMapSeFlap' => '1.2.826.42.1.1578918.5.65.1.5.1.1.33', - 'bgpRouteMapSeUser' => '1.2.826.42.1.1578918.5.65.1.5.1.1.34', - 'bgpRouteMapHitcnt' => '1.2.826.42.1.1578918.5.65.1.5.1.1.35', - 'bgpRouteMapClearcnt' => '1.2.826.42.1.1578918.5.65.1.5.1.1.36', - 'bgpRouteMapUserInfo' => '1.2.826.42.1.1578918.5.65.1.5.1.1.37', - 'bgpRouteMapType' => '1.2.826.42.1.1578918.5.65.1.5.1.1.38', - 'bgpRouteMapTypeDefinition' => 'DC-BGP-MIB::BgpPermitOrDeny', - 'bgpRouteMapContinue' => '1.2.826.42.1.1578918.5.65.1.5.1.1.39', - 'bgpRouteMapOrfAssoc' => '1.2.826.42.1.1578918.5.65.1.5.1.1.40', - 'bgpRouteMapOrfAssocDefinition' => 'DC-BGP-MIB::BgpOrfAssociation', - 'bgpRouteMapSeAsLimUpper' => '1.2.826.42.1.1578918.5.65.1.5.1.1.41', - 'bgpRouteMapSeAsLimDef' => '1.2.826.42.1.1578918.5.65.1.5.1.1.42', - 'bgpRouteMapMaOrigin' => '1.2.826.42.1.1578918.5.65.1.5.1.1.43', - 'bgpRouteMapMaOriginDefinition' => 'DC-BGP-MIB::BgpOriginCode', - 'bgpRouteMapMaOriginDef' => '1.2.826.42.1.1578918.5.65.1.5.1.1.44', - 'bgpRouteMapSeMedDelta' => '1.2.826.42.1.1578918.5.65.1.5.1.1.45', - 'bgpRouteMapSeMedDeltaTyp' => '1.2.826.42.1.1578918.5.65.1.5.1.1.46', - 'bgpRouteMapSeMedDeltaTypDefinition' => 'DC-BGP-MIB::BgpMedDeltaType', - 'bgpRouteMapSeMedIgp' => '1.2.826.42.1.1578918.5.65.1.5.1.1.47', - 'bgpRouteMapSeAsPrependCount' => '1.2.826.42.1.1578918.5.65.1.5.1.1.48', - 'bgpRouteMapSeAsPrependSize' => '1.2.826.42.1.1578918.5.65.1.5.1.1.49', - 'bgpRouteMapSeAsPrependSizeDefinition' => 'DC-BGP-MIB::BgpAsSize', - 'bgpRouteMapSeAsPrependAsVals' => '1.2.826.42.1.1578918.5.65.1.5.1.1.50', - 'bgpRouteMapMaAnd' => '1.2.826.42.1.1578918.5.65.1.5.1.1.51', - 'bgpRouteMapSeSlaveMed' => '1.2.826.42.1.1578918.5.65.1.5.1.1.52', - 'bgpRouteMapSeSlaveMedDef' => '1.2.826.42.1.1578918.5.65.1.5.1.1.53', - 'bgpRouteMapSeSlaveLocPref' => '1.2.826.42.1.1578918.5.65.1.5.1.1.54', - 'bgpRouteMapSeSlaveLocPrefDef' => '1.2.826.42.1.1578918.5.65.1.5.1.1.55', - 'bgpRouteMapSeSlaveMedDelta' => '1.2.826.42.1.1578918.5.65.1.5.1.1.56', - 'bgpRouteMapSeSlaveMedDeltaTyp' => '1.2.826.42.1.1578918.5.65.1.5.1.1.57', - 'bgpRouteMapSeSlaveMedDeltaTypDefinition' => 'DC-BGP-MIB::BgpMedDeltaType', - 'bgpRouteMapSeSlaveMedIgp' => '1.2.826.42.1.1578918.5.65.1.5.1.1.58', - 'bgpRouteMapSeSlaveAs' => '1.2.826.42.1.1578918.5.65.1.5.1.1.59', - 'bgpRouteMapSeSlaveAsAct' => '1.2.826.42.1.1578918.5.65.1.5.1.1.60', - 'bgpRouteMapSeSlaveAsActDefinition' => 'DC-BGP-MIB::BgpAsPathAction', - 'bgpRouteMapSeSlaveAsPrependCount' => '1.2.826.42.1.1578918.5.65.1.5.1.1.61', - 'bgpRouteMapSeSlaveAsPrependSize' => '1.2.826.42.1.1578918.5.65.1.5.1.1.62', - 'bgpRouteMapSeSlaveAsPrependSizeDefinition' => 'DC-BGP-MIB::BgpAsSize', - 'bgpRouteMapSeSlaveAsPrependAsVals' => '1.2.826.42.1.1578918.5.65.1.5.1.1.63', - 'bgpRouteMapSeAdminDistance' => '1.2.826.42.1.1578918.5.65.1.5.1.1.64', - 'bgpRouteMapSeAdminDistanceDef' => '1.2.826.42.1.1578918.5.65.1.5.1.1.65', - 'bgpRouteMapAsPathList' => '1.2.826.42.1.1578918.5.65.1.5.1.1.66', - 'bgpRouteMapMaCommList' => '1.2.826.42.1.1578918.5.65.1.5.1.1.67', - 'bgpRouteMapCommListExact' => '1.2.826.42.1.1578918.5.65.1.5.1.1.68', - 'bgpRouteMapMaExtCommList' => '1.2.826.42.1.1578918.5.65.1.5.1.1.69', - 'bgpRouteMapExtCommListExact' => '1.2.826.42.1.1578918.5.65.1.5.1.1.70', - 'bgpRouteMapMaAddrAallPre' => '1.2.826.42.1.1578918.5.65.1.5.1.1.71', - 'bgpRouteMapMaNextAallPre' => '1.2.826.42.1.1578918.5.65.1.5.1.1.72', - 'bgpRouteMapMaSourceAallPre' => '1.2.826.42.1.1578918.5.65.1.5.1.1.73', - 'bgpRouteMapSeCommListDel' => '1.2.826.42.1.1578918.5.65.1.5.1.1.74', - 'bgpRouteMapSeCommListAdd' => '1.2.826.42.1.1578918.5.65.1.5.1.1.75', - 'bgpRouteMapSeXCommListDel' => '1.2.826.42.1.1578918.5.65.1.5.1.1.76', - 'bgpRouteMapSeXCommListAdd' => '1.2.826.42.1.1578918.5.65.1.5.1.1.77', - 'bgpRouteMapMaLocPref' => '1.2.826.42.1.1578918.5.65.1.5.1.1.78', - 'bgpRouteMapMaLocPrefDef' => '1.2.826.42.1.1578918.5.65.1.5.1.1.79', - 'bgpRouteMapSeAsRemove' => '1.2.826.42.1.1578918.5.65.1.5.1.1.80', - 'bgpRouteMapSeLocalDiscard' => '1.2.826.42.1.1578918.5.65.1.5.1.1.81', - 'bgpRouteMapSeNextHopPeer' => '1.2.826.42.1.1578918.5.65.1.5.1.1.82', - 'bgpRouteMapSeSaasSteering' => '1.2.826.42.1.1578918.5.65.1.5.1.1.83', - 'bgpIpPreTable' => '1.2.826.42.1.1578918.5.65.1.5.2', - 'bgpIpPreEntry' => '1.2.826.42.1.1578918.5.65.1.5.2.1', - 'bgpIpPreMatch' => '1.2.826.42.1.1578918.5.65.1.5.2.1.4', - 'bgpIpPreMatchDefinition' => 'DC-BGP-MIB::BgpIpMatchType', - 'bgpIpPreNumber' => '1.2.826.42.1.1578918.5.65.1.5.2.1.5', - 'bgpIpPreRowStatus' => '1.2.826.42.1.1578918.5.65.1.5.2.1.6', - 'bgpIpPreAfi' => '1.2.826.42.1.1578918.5.65.1.5.2.1.7', - 'bgpIpPreAfiDefinition' => 'DC-BGP-MIB::BgpAfi', - 'bgpIpPreSafi' => '1.2.826.42.1.1578918.5.65.1.5.2.1.8', - 'bgpIpPreSafiDefinition' => 'DC-BGP-MIB::BgpSafi', - 'bgpIpPreAddr' => '1.2.826.42.1.1578918.5.65.1.5.2.1.9', - 'bgpIpPreLen' => '1.2.826.42.1.1578918.5.65.1.5.2.1.10', - 'bgpIpPreGe' => '1.2.826.42.1.1578918.5.65.1.5.2.1.11', - 'bgpIpPreLe' => '1.2.826.42.1.1578918.5.65.1.5.2.1.12', - 'bgpIpPreType' => '1.2.826.42.1.1578918.5.65.1.5.2.1.13', - 'bgpIpPreTypeDefinition' => 'DC-BGP-MIB::BgpPermitOrDeny', - 'bgpPeergrTable' => '1.2.826.42.1.1578918.5.65.1.5.7', - 'bgpPeergrEntry' => '1.2.826.42.1.1578918.5.65.1.5.7.1', - 'bgpPeergrIndex' => '1.2.826.42.1.1578918.5.65.1.5.7.1.2', - 'bgpPeergrRowStatus' => '1.2.826.42.1.1578918.5.65.1.5.7.1.3', - 'bgpPeergrConfig' => '1.2.826.42.1.1578918.5.65.1.5.7.1.4', - 'bgpPeergrArea' => '1.2.826.42.1.1578918.5.65.1.5.7.1.5', - 'bgpPeergrAreaDefinition' => 'DC-BGP-MIB::BgpIbgpOrEbgp', - 'bgpPeergrAggrConfedAS' => '1.2.826.42.1.1578918.5.65.1.5.7.1.6', - 'bgpPeergrSoftResetWithStoredInfo' => '1.2.826.42.1.1578918.5.65.1.5.7.1.7', - 'bgpPeergrAllowLocalAs' => '1.2.826.42.1.1578918.5.65.1.5.7.1.8', - 'bgpPeergrDisableSenderLoopDetect' => '1.2.826.42.1.1578918.5.65.1.5.7.1.9', - 'bgpPeergrNxtHopSlf' => '1.2.826.42.1.1578918.5.65.1.5.7.1.10', - 'bgpPeergrNxtHopSlfDefinition' => 'DC-BGP-MIB::BgpNextHopSelf', - 'bgpPeergrThirdPtyNxtHop' => '1.2.826.42.1.1578918.5.65.1.5.7.1.11', - 'bgpPeergrNxtHopPeer' => '1.2.826.42.1.1578918.5.65.1.5.7.1.12', - 'bgpPeergrEnableAttributeDiscard' => '1.2.826.42.1.1578918.5.65.1.5.7.1.13', - 'bgpPeergrSendComm' => '1.2.826.42.1.1578918.5.65.1.5.7.1.14', - 'bgpPeergrSendExtComm' => '1.2.826.42.1.1578918.5.65.1.5.7.1.15', - 'bgpPeergrPassword' => '1.2.826.42.1.1578918.5.65.1.5.7.1.16', - 'bgpPeergrReflectorClient' => '1.2.826.42.1.1578918.5.65.1.5.7.1.17', - 'bgpPeergrReflectorClientDefinition' => 'DC-BGP-MIB::BgpPeerReflectorClientType', - 'bgpPeergrHoldTimeConfigd' => '1.2.826.42.1.1578918.5.65.1.5.7.1.18', - 'bgpPeergrKeepAliveConfigd' => '1.2.826.42.1.1578918.5.65.1.5.7.1.19', - 'bgpPeergrTtl' => '1.2.826.42.1.1578918.5.65.1.5.7.1.20', - 'bgpPeergrMinRteAdvertiseInterval' => '1.2.826.42.1.1578918.5.65.1.5.7.1.21', - 'bgpPeergrMinRteWithdrawInterval' => '1.2.826.42.1.1578918.5.65.1.5.7.1.22', - 'bgpPeergrConfigMaxPrfx' => '1.2.826.42.1.1578918.5.65.1.5.7.1.23', - 'bgpPeergrConfAltLocalAs' => '1.2.826.42.1.1578918.5.65.1.5.7.1.24', - 'bgpPeergrWeight' => '1.2.826.42.1.1578918.5.65.1.5.7.1.25', - 'bgpPeergrFallover' => '1.2.826.42.1.1578918.5.65.1.5.7.1.26', - 'bgpPeergrFalloverDefinition' => 'DC-BGP-MIB::BgpTrueFalseOrInherit', - 'bgpPeergrRemoteAs' => '1.2.826.42.1.1578918.5.65.1.5.7.1.27', - 'bgpPeergrCheckFirstAsNum' => '1.2.826.42.1.1578918.5.65.1.5.7.1.28', - 'bgpPeergrCheckFirstAsNumDefinition' => 'DC-BGP-MIB::BgpTrueFalseOrInherit', - 'bgpPeergrConfedMember' => '1.2.826.42.1.1578918.5.65.1.5.7.1.29', - 'bgpPeergrTrapEstab' => '1.2.826.42.1.1578918.5.65.1.5.7.1.30', - 'bgpPeergrTrapBackw' => '1.2.826.42.1.1578918.5.65.1.5.7.1.31', - 'bgpPeergrConnectRetryInterval' => '1.2.826.42.1.1578918.5.65.1.5.7.1.32', - 'bgpPeergrMinASOriginationInt' => '1.2.826.42.1.1578918.5.65.1.5.7.1.33', - 'bgpPeergrConfigDropWarn' => '1.2.826.42.1.1578918.5.65.1.5.7.1.34', - 'bgpPeergrConfigDropWarnDefinition' => 'DC-BGP-MIB::BgpDropOrWarn', - 'bgpPeergrConfigPassive' => '1.2.826.42.1.1578918.5.65.1.5.7.1.35', - 'bgpPeergrConfigOpenDelay' => '1.2.826.42.1.1578918.5.65.1.5.7.1.36', - 'bgpPeergrConfigIdleHold' => '1.2.826.42.1.1578918.5.65.1.5.7.1.37', - 'bgpPeergrCheckNextHop' => '1.2.826.42.1.1578918.5.65.1.5.7.1.38', - 'bgpPeergrMaxOrfEntries' => '1.2.826.42.1.1578918.5.65.1.5.7.1.39', - 'bgpPeergrPeeringType' => '1.2.826.42.1.1578918.5.65.1.5.7.1.40', - 'bgpPeergrPeeringTypeDefinition' => 'DC-BGP-MIB::BgpPeeringType', - 'bgpPeergrDisableRouteRefresh' => '1.2.826.42.1.1578918.5.65.1.5.7.1.41', - 'bgpPeergrTrapPrefix' => '1.2.826.42.1.1578918.5.65.1.5.7.1.42', - 'bgpPeergrConfigThreshold' => '1.2.826.42.1.1578918.5.65.1.5.7.1.43', - 'bgpPeergrMaxPrfxHold' => '1.2.826.42.1.1578918.5.65.1.5.7.1.44', - 'bgpPeergrTrapGrHelperState' => '1.2.826.42.1.1578918.5.65.1.5.7.1.45', - 'bgpPeergrConfAltLocalAsMode' => '1.2.826.42.1.1578918.5.65.1.5.7.1.46', - 'bgpPeergrConfAltLocalAsModeDefinition' => 'DC-BGP-MIB::bgpPeergrConfAltLocalAsMode', - 'bgpPeergrBfdDesired' => '1.2.826.42.1.1578918.5.65.1.5.7.1.47', - 'bgpPeergrDmzLink' => '1.2.826.42.1.1578918.5.65.1.5.7.1.48', - 'bgpPeergrRemovePrivate' => '1.2.826.42.1.1578918.5.65.1.5.7.1.49', - 'bgpPeergrAsOverride' => '1.2.826.42.1.1578918.5.65.1.5.7.1.50', - 'bgpPeergrUpdateGroup' => '1.2.826.42.1.1578918.5.65.1.5.7.1.51', - 'bgpPeergrDistListAclIn' => '1.2.826.42.1.1578918.5.65.1.5.7.1.52', - 'bgpPeergrDistListAclOut' => '1.2.826.42.1.1578918.5.65.1.5.7.1.53', - 'bgpPeergrDistListPlIn' => '1.2.826.42.1.1578918.5.65.1.5.7.1.54', - 'bgpPeergrDistListPlOut' => '1.2.826.42.1.1578918.5.65.1.5.7.1.55', - 'bgpPeergrFilterListIn' => '1.2.826.42.1.1578918.5.65.1.5.7.1.56', - 'bgpPeergrFilterListOut' => '1.2.826.42.1.1578918.5.65.1.5.7.1.57', - 'bgpPeergrAddrSourceIf' => '1.2.826.42.1.1578918.5.65.1.5.7.1.58', - 'bgpPeergrUseImportLocalPref' => '1.2.826.42.1.1578918.5.65.1.5.7.1.59', - 'bgpPeergrImportLocalPref' => '1.2.826.42.1.1578918.5.65.1.5.7.1.60', - 'bgpPeergrUseExportLocalPref' => '1.2.826.42.1.1578918.5.65.1.5.7.1.61', - 'bgpPeergrExportLocalPref' => '1.2.826.42.1.1578918.5.65.1.5.7.1.62', - 'bgpPeergrSlowPeer' => '1.2.826.42.1.1578918.5.65.1.5.7.1.63', - 'bgpPeergrAddrSourceType' => '1.2.826.42.1.1578918.5.65.1.5.7.1.64', - 'bgpPeergrAddrSource' => '1.2.826.42.1.1578918.5.65.1.5.7.1.65', - 'bgpPeergrMaxPrfxClear' => '1.2.826.42.1.1578918.5.65.1.5.7.1.66', - 'bgpPeergrPrfxThresholdClear' => '1.2.826.42.1.1578918.5.65.1.5.7.1.67', - 'bgpPeergrTtlSecurityMinTtl' => '1.2.826.42.1.1578918.5.65.1.5.7.1.68', - 'bgpPeergrRemovePrivateAs' => '1.2.826.42.1.1578918.5.65.1.5.7.1.69', - 'bgpPeergrRemovePrivateAsDefinition' => 'DC-BGP-MIB::BgpPrivAsActs', - 'bgpPeergrResetPeerOnCfgChange' => '1.2.826.42.1.1578918.5.65.1.5.7.1.70', - 'bgpPeergrAdminStatus' => '1.2.826.42.1.1578918.5.65.1.5.7.1.71', - 'bgpPeergrAdminStatusDefinition' => 'DC-BGP-MIB::BgpAdminStatus', - 'bgpConfigTable' => '1.2.826.42.1.1578918.5.65.1.5.8', - 'bgpConfigEntry' => '1.2.826.42.1.1578918.5.65.1.5.8.1', - 'bgpConfigIndex' => '1.2.826.42.1.1578918.5.65.1.5.8.1.2', - 'bgpConfigRowStatus' => '1.2.826.42.1.1578918.5.65.1.5.8.1.3', - 'bgpConfigRtgrimpe' => '1.2.826.42.1.1578918.5.65.1.5.8.1.4', - 'bgpConfigRtgrimde' => '1.2.826.42.1.1578918.5.65.1.5.8.1.5', - 'bgpConfigRtgrexpe' => '1.2.826.42.1.1578918.5.65.1.5.8.1.6', - 'bgpConfigRtgrexde' => '1.2.826.42.1.1578918.5.65.1.5.8.1.7', - 'bgpConfigDefImport' => '1.2.826.42.1.1578918.5.65.1.5.8.1.8', - 'bgpConfigDefImportDefinition' => 'DC-BGP-MIB::BgpPermitOrDeny', - 'bgpConfigDefExport' => '1.2.826.42.1.1578918.5.65.1.5.8.1.9', - 'bgpConfigDefExportDefinition' => 'DC-BGP-MIB::BgpPermitOrDeny', - 'bgpConfigNxtHopSlf' => '1.2.826.42.1.1578918.5.65.1.5.8.1.10', - 'bgpConfigRemove' => '1.2.826.42.1.1578918.5.65.1.5.8.1.11', - 'bgpConfigImportMap' => '1.2.826.42.1.1578918.5.65.1.5.8.1.12', - 'bgpConfigExportMap' => '1.2.826.42.1.1578918.5.65.1.5.8.1.13', - 'bgpConfigAdvertiseMap' => '1.2.826.42.1.1578918.5.65.1.5.8.1.14', - 'bgpConfigNonExistMap' => '1.2.826.42.1.1578918.5.65.1.5.8.1.15', - 'bgpConfigBlockCondAdv' => '1.2.826.42.1.1578918.5.65.1.5.8.1.16', - 'bgpConfigThirdPtyNxtHop' => '1.2.826.42.1.1578918.5.65.1.5.8.1.17', - 'bgpConfigNxtHopPeer' => '1.2.826.42.1.1578918.5.65.1.5.8.1.18', - 'bgpConfigCondAdvOn' => '1.2.826.42.1.1578918.5.65.1.5.8.1.19', - 'bgpFlapConfigTable' => '1.2.826.42.1.1578918.5.65.1.5.9', - 'bgpFlapConfigEntry' => '1.2.826.42.1.1578918.5.65.1.5.9.1', - 'bgpFlapConfigIndex' => '1.2.826.42.1.1578918.5.65.1.5.9.1.2', - 'bgpFlapConfigRowStatus' => '1.2.826.42.1.1578918.5.65.1.5.9.1.3', - 'bgpFlapConfigCut' => '1.2.826.42.1.1578918.5.65.1.5.9.1.4', - 'bgpFlapConfigReuse' => '1.2.826.42.1.1578918.5.65.1.5.9.1.5', - 'bgpFlapConfigThold' => '1.2.826.42.1.1578918.5.65.1.5.9.1.6', - 'bgpFlapConfigDecayok' => '1.2.826.42.1.1578918.5.65.1.5.9.1.7', - 'bgpFlapConfigDecayng' => '1.2.826.42.1.1578918.5.65.1.5.9.1.8', - 'bgpFlapConfigTmaxok' => '1.2.826.42.1.1578918.5.65.1.5.9.1.9', - 'bgpFlapConfigTmaxng' => '1.2.826.42.1.1578918.5.65.1.5.9.1.10', - 'bgpAggregateTable' => '1.2.826.42.1.1578918.5.65.1.5.10', - 'bgpAggregateEntry' => '1.2.826.42.1.1578918.5.65.1.5.10.1', - 'bgpAggrAfi' => '1.2.826.42.1.1578918.5.65.1.5.10.1.2', - 'bgpAggrAfiDefinition' => 'DC-BGP-MIB::BgpAfi', - 'bgpAggrSafi' => '1.2.826.42.1.1578918.5.65.1.5.10.1.3', - 'bgpAggrSafiDefinition' => 'DC-BGP-MIB::BgpSafi', - 'bgpAggrPrefix' => '1.2.826.42.1.1578918.5.65.1.5.10.1.4', - 'bgpAggrPrefixLength' => '1.2.826.42.1.1578918.5.65.1.5.10.1.5', - 'bgpAggrRowStatus' => '1.2.826.42.1.1578918.5.65.1.5.10.1.6', - 'bgpAggrOptions' => '1.2.826.42.1.1578918.5.65.1.5.10.1.7', - 'bgpAggrOptionsDefinition' => 'DC-BGP-MIB::BgpAggregateOptions', - 'bgpAggrSuppressMap' => '1.2.826.42.1.1578918.5.65.1.5.10.1.8', - 'bgpAggrExcludeMap' => '1.2.826.42.1.1578918.5.65.1.5.10.1.9', - 'bgpAggrAttributeMap' => '1.2.826.42.1.1578918.5.65.1.5.10.1.10', - 'bgpAggrPermanent' => '1.2.826.42.1.1578918.5.65.1.5.10.1.11', - 'bgpAggrProgramRejectRoute' => '1.2.826.42.1.1578918.5.65.1.5.10.1.12', - 'bgpAggrInheritMap' => '1.2.826.42.1.1578918.5.65.1.5.10.1.13', - 'bgpOrfCapabilityTable' => '1.2.826.42.1.1578918.5.65.1.5.11', - 'bgpOrfCapabilityEntry' => '1.2.826.42.1.1578918.5.65.1.5.11.1', - 'bgpOrfCapabilityAfi' => '1.2.826.42.1.1578918.5.65.1.5.11.1.2', - 'bgpOrfCapabilityAfiDefinition' => 'DC-BGP-MIB::BgpAfi', - 'bgpOrfCapabilitySafi' => '1.2.826.42.1.1578918.5.65.1.5.11.1.3', - 'bgpOrfCapabilitySafiDefinition' => 'DC-BGP-MIB::BgpSafi', - 'bgpOrfCapabilityOrfType' => '1.2.826.42.1.1578918.5.65.1.5.11.1.4', - 'bgpOrfCapabilityOrfTypeDefinition' => 'DC-BGP-MIB::BgpOrfType', - 'bgpOrfCapabilityAdminStatus' => '1.2.826.42.1.1578918.5.65.1.5.11.1.5', - 'bgpOrfCapabilityAdminStatusDefinition' => 'DC-BGP-MIB::BgpAdminStatus', - 'bgpOrfCapabilitySendReceive' => '1.2.826.42.1.1578918.5.65.1.5.11.1.6', - 'bgpOrfCapabilitySendReceiveDefinition' => 'DC-BGP-MIB::BgpOrfSendReceive', - 'bgpPeergrAfiSafiTable' => '1.2.826.42.1.1578918.5.65.1.5.12', - 'bgpPeergrAfiSafiEntry' => '1.2.826.42.1.1578918.5.65.1.5.12.1', - 'bgpPeergrAfiSafiAfi' => '1.2.826.42.1.1578918.5.65.1.5.12.1.3', - 'bgpPeergrAfiSafiAfiDefinition' => 'DC-BGP-MIB::BgpAfi', - 'bgpPeergrAfiSafiSafi' => '1.2.826.42.1.1578918.5.65.1.5.12.1.4', - 'bgpPeergrAfiSafiSafiDefinition' => 'DC-BGP-MIB::BgpSafi', - 'bgpPeergrAfiSafiAllowLocalAs' => '1.2.826.42.1.1578918.5.65.1.5.12.1.5', - 'bgpPeergrAfiSafiDisSndLpDetect' => '1.2.826.42.1.1578918.5.65.1.5.12.1.6', - 'bgpPeergrAfiSafiNxtHopSlf' => '1.2.826.42.1.1578918.5.65.1.5.12.1.7', - 'bgpPeergrAfiSafiNxtHopSlfDefinition' => 'DC-BGP-MIB::BgpNextHopSelf', - 'bgpPeergrAfiSafiOrigDefault' => '1.2.826.42.1.1578918.5.65.1.5.12.1.8', - 'bgpPeergrAfiSafiOrigDefaultRtMap' => '1.2.826.42.1.1578918.5.65.1.5.12.1.9', - 'bgpPeergrAfiSafiSoftResetStore' => '1.2.826.42.1.1578918.5.65.1.5.12.1.10', - 'bgpPeergrAfiSafiAddPathCapCfg' => '1.2.826.42.1.1578918.5.65.1.5.12.1.11', - 'bgpPeergrAfiSafiAddPathCapCfgDefinition' => 'DC-BGP-MIB::BgpAddPathSrCap', - 'bgpPeergrAfiSafiAddPathBestN' => '1.2.826.42.1.1578918.5.65.1.5.12.1.12', - 'bgpPeergrAfiSafiConfigMaxPrfx' => '1.2.826.42.1.1578918.5.65.1.5.12.1.13', - 'bgpPeergrAfiSafiImportMap' => '1.2.826.42.1.1578918.5.65.1.5.12.1.14', - 'bgpPeergrAfiSafiExportMap' => '1.2.826.42.1.1578918.5.65.1.5.12.1.15', - 'bgpPeergrAfiSafiImportIpPre' => '1.2.826.42.1.1578918.5.65.1.5.12.1.16', - 'bgpPeergrAfiSafiExportIpPre' => '1.2.826.42.1.1578918.5.65.1.5.12.1.17', - 'bgpPeergrAfiSafiConfigDropWarn' => '1.2.826.42.1.1578918.5.65.1.5.12.1.18', - 'bgpPeergrAfiSafiConfigDropWarnDefinition' => 'DC-BGP-MIB::BgpDropOrWarn', - 'bgpPeergrAfiSafiMaxOrfEntries' => '1.2.826.42.1.1578918.5.65.1.5.12.1.19', - 'bgpPeergrAfiSafiTrapPrefix' => '1.2.826.42.1.1578918.5.65.1.5.12.1.20', - 'bgpPeergrAfiSafiConfigThreshold' => '1.2.826.42.1.1578918.5.65.1.5.12.1.21', - 'bgpPeergrAfiSafiMaxPrfxHold' => '1.2.826.42.1.1578918.5.65.1.5.12.1.22', - 'bgpPeergrAfiSafiImportIpAallPre' => '1.2.826.42.1.1578918.5.65.1.5.12.1.23', - 'bgpPeergrAfiSafiExportIpAallPre' => '1.2.826.42.1.1578918.5.65.1.5.12.1.24', - 'bgpPeergrAfiSafiReflectorClient' => '1.2.826.42.1.1578918.5.65.1.5.12.1.25', - 'bgpPeergrAfiSafiReflectorClientDefinition' => 'DC-BGP-MIB::BgpPeerReflectorClientType', - 'bgpPeergrAfiSafiAsOverride' => '1.2.826.42.1.1578918.5.65.1.5.12.1.26', - 'bgpPeergrAfiSafiDisable' => '1.2.826.42.1.1578918.5.65.1.5.12.1.27', - 'bgpPeergrAfiSafiMinASOrigInt' => '1.2.826.42.1.1578918.5.65.1.5.12.1.28', - 'bgpPeergrAfiSafiMinRteAdvertInt' => '1.2.826.42.1.1578918.5.65.1.5.12.1.29', - 'bgpPeergrAfiSafiMinRteWthdrawInt' => '1.2.826.42.1.1578918.5.65.1.5.12.1.30', - 'bgpPeergrAfiSafiSendComm' => '1.2.826.42.1.1578918.5.65.1.5.12.1.31', - 'bgpPeergrAfiSafiSendExtComm' => '1.2.826.42.1.1578918.5.65.1.5.12.1.32', - 'bgpPeergrAfiSafiConfigUsage' => '1.2.826.42.1.1578918.5.65.1.5.12.1.33', - 'bgpPeergrAfiSafiMaxPrfxClear' => '1.2.826.42.1.1578918.5.65.1.5.12.1.34', - 'bgpPeergrAfiSafiPrfxThreshClear' => '1.2.826.42.1.1578918.5.65.1.5.12.1.35', - 'bgpPeergrAfiSafiPreserveNh' => '1.2.826.42.1.1578918.5.65.1.5.12.1.36', - 'bgpPeergrAfiSafiAcceptRmtNxtHop' => '1.2.826.42.1.1578918.5.65.1.5.12.1.37', - 'bgpAsPathAccessListTable' => '1.2.826.42.1.1578918.5.65.1.5.13', - 'bgpAsPathAccessListEntry' => '1.2.826.42.1.1578918.5.65.1.5.13.1', - 'bgpAsPathListIndex' => '1.2.826.42.1.1578918.5.65.1.5.13.1.2', - 'bgpAsPathListAsPathIndex' => '1.2.826.42.1.1578918.5.65.1.5.13.1.3', - 'bgpAsPathListRowStatus' => '1.2.826.42.1.1578918.5.65.1.5.13.1.4', - 'bgpAsPathListAsPath' => '1.2.826.42.1.1578918.5.65.1.5.13.1.5', - 'bgpAsPathListMatchType' => '1.2.826.42.1.1578918.5.65.1.5.13.1.6', - 'bgpAsPathListMatchTypeDefinition' => 'DC-BGP-MIB::BgpPermitOrDeny', - 'bgpAsPathListMaOrigin' => '1.2.826.42.1.1578918.5.65.1.5.13.1.7', - 'bgpAsPathListMaOriginDefinition' => 'DC-BGP-MIB::BgpOriginCode', - 'bgpAsPathListMaOriginDef' => '1.2.826.42.1.1578918.5.65.1.5.13.1.8', - 'bgpCommunityListTable' => '1.2.826.42.1.1578918.5.65.1.5.14', - 'bgpCommunityListEntry' => '1.2.826.42.1.1578918.5.65.1.5.14.1', - 'bgpCommunityListIndex' => '1.2.826.42.1.1578918.5.65.1.5.14.1.2', - 'bgpCommunityListEntryIndex' => '1.2.826.42.1.1578918.5.65.1.5.14.1.3', - 'bgpCommunityListRowStatus' => '1.2.826.42.1.1578918.5.65.1.5.14.1.4', - 'bgpCommunityListCommunity' => '1.2.826.42.1.1578918.5.65.1.5.14.1.5', - 'bgpCommunityListEntryType' => '1.2.826.42.1.1578918.5.65.1.5.14.1.6', - 'bgpCommunityListEntryTypeDefinition' => 'DC-BGP-MIB::BgpCommListEntryType', - 'bgpCommunityListPermit' => '1.2.826.42.1.1578918.5.65.1.5.14.1.7', - 'bgpCommunityListPermitDefinition' => 'DC-BGP-MIB::BgpPermitOrDeny', - 'bgpCommunityListRegexp' => '1.2.826.42.1.1578918.5.65.1.5.14.1.8', - 'bgpExtCommListTable' => '1.2.826.42.1.1578918.5.65.1.5.15', - 'bgpExtCommListEntry' => '1.2.826.42.1.1578918.5.65.1.5.15.1', - 'bgpExtCommListIndex' => '1.2.826.42.1.1578918.5.65.1.5.15.1.2', - 'bgpExtCommListEntryIndex' => '1.2.826.42.1.1578918.5.65.1.5.15.1.3', - 'bgpExtCommListRowStatus' => '1.2.826.42.1.1578918.5.65.1.5.15.1.4', - 'bgpExtCommListCommunity' => '1.2.826.42.1.1578918.5.65.1.5.15.1.5', - 'bgpExtCommListEntryType' => '1.2.826.42.1.1578918.5.65.1.5.15.1.6', - 'bgpExtCommListEntryTypeDefinition' => 'DC-BGP-MIB::BgpCommListEntryType', - 'bgpExtCommListPermit' => '1.2.826.42.1.1578918.5.65.1.5.15.1.7', - 'bgpExtCommListPermitDefinition' => 'DC-BGP-MIB::BgpPermitOrDeny', - 'bgpExtCommListRegexp' => '1.2.826.42.1.1578918.5.65.1.5.15.1.8', - 'bgpCommunityGroupTable' => '1.2.826.42.1.1578918.5.65.1.5.16', - 'bgpCommunityGroupEntry' => '1.2.826.42.1.1578918.5.65.1.5.16.1', - 'bgpCommunityGroupCommunity' => '1.2.826.42.1.1578918.5.65.1.5.16.1.4', - 'bgpCommunityGroupRowStatus' => '1.2.826.42.1.1578918.5.65.1.5.16.1.5', - 'bgpExtCommGroupTable' => '1.2.826.42.1.1578918.5.65.1.5.17', - 'bgpExtCommGroupEntry' => '1.2.826.42.1.1578918.5.65.1.5.17.1', - 'bgpExtCommGroupCommunity' => '1.2.826.42.1.1578918.5.65.1.5.17.1.4', - 'bgpExtCommGroupRowStatus' => '1.2.826.42.1.1578918.5.65.1.5.17.1.5', - 'bgpHaf' => '1.2.826.42.1.1578918.5.65.1.6', - 'bgpRmAfmJoinTable' => '1.2.826.42.1.1578918.5.65.1.6.1', - 'bgpRmAfmJoinEntry' => '1.2.826.42.1.1578918.5.65.1.6.1.1', - 'bgpRmAfmJoin' => '1.2.826.42.1.1578918.5.65.1.6.1.1.2', - 'bgpRmAfmRowStatus' => '1.2.826.42.1.1578918.5.65.1.6.1.1.3', - 'bgpRmAfmAdminStatus' => '1.2.826.42.1.1578918.5.65.1.6.1.1.4', - 'bgpRmAfmAdminStatusDefinition' => 'DC-BGP-MIB::BgpAdminStatus', - 'bgpRmAfmOperStatus' => '1.2.826.42.1.1578918.5.65.1.6.1.1.5', - 'bgpRmAfmOperStatusDefinition' => 'DC-BGP-MIB::BgpOperStatus', - 'bgpRmAfmPartnerIndex' => '1.2.826.42.1.1578918.5.65.1.6.1.1.6', - 'bgpRmAfmAfi' => '1.2.826.42.1.1578918.5.65.1.6.1.1.7', - 'bgpRmAfmAfiDefinition' => 'DC-BGP-MIB::BgpAfi', - 'bgpRmAfmSafi' => '1.2.826.42.1.1578918.5.65.1.6.1.1.8', - 'bgpRmAfmSafiDefinition' => 'DC-BGP-MIB::BgpSafi', - 'bgpRmAfmJoinStatus' => '1.2.826.42.1.1578918.5.65.1.6.1.1.9', - 'bgpRmAfmJoinStatusDefinition' => 'DC-BGP-MIB::BgpMjStatus', - 'bgpRmAfmRestartTime' => '1.2.826.42.1.1578918.5.65.1.6.1.1.10', - 'bgpRmNmTable' => '1.2.826.42.1.1578918.5.65.1.6.2', - 'bgpRmNmEntry' => '1.2.826.42.1.1578918.5.65.1.6.2.1', - 'bgpRmNmMasterIndex' => '1.2.826.42.1.1578918.5.65.1.6.2.1.2', - 'bgpRmNmJoinStatus' => '1.2.826.42.1.1578918.5.65.1.6.2.1.3', - 'bgpRmNmJoinStatusDefinition' => 'DC-BGP-MIB::BgpSjStatus', - 'bgpNmMjTable' => '1.2.826.42.1.1578918.5.65.1.6.3', - 'bgpNmMjEntry' => '1.2.826.42.1.1578918.5.65.1.6.3.1', - 'bgpNmMjEntity' => '1.2.826.42.1.1578918.5.65.1.6.3.1.1', - 'bgpNmMjJoin' => '1.2.826.42.1.1578918.5.65.1.6.3.1.2', - 'bgpNmMjJoinPartner' => '1.2.826.42.1.1578918.5.65.1.6.3.1.3', - 'bgpNmMjJoinPartnerDefinition' => 'DC-BGP-MIB::BgpComponentId', - 'bgpNmMjPartnerIndex' => '1.2.826.42.1.1578918.5.65.1.6.3.1.4', - 'bgpNmMjJoinStatus' => '1.2.826.42.1.1578918.5.65.1.6.3.1.5', - 'bgpNmMjJoinStatusDefinition' => 'DC-BGP-MIB::BgpMjStatus', - 'bgpRmArinhJoinTable' => '1.2.826.42.1.1578918.5.65.1.6.4', - 'bgpRmArinhJoinEntry' => '1.2.826.42.1.1578918.5.65.1.6.4.1', - 'bgpRmArinhAfi' => '1.2.826.42.1.1578918.5.65.1.6.4.1.2', - 'bgpRmArinhAfiDefinition' => 'DC-BGP-MIB::BgpAfi', - 'bgpRmArinhSafi' => '1.2.826.42.1.1578918.5.65.1.6.4.1.3', - 'bgpRmArinhSafiDefinition' => 'DC-BGP-MIB::BgpSafi', - 'bgpRmArinhJoinStatus' => '1.2.826.42.1.1578918.5.65.1.6.4.1.4', - 'bgpRmArinhJoinStatusDefinition' => 'DC-BGP-MIB::BgpSjStatus', - 'bgpRmArinhEntIndex' => '1.2.826.42.1.1578918.5.65.1.6.4.1.5', - 'bgpNm' => '1.2.826.42.1.1578918.5.65.1.7', - 'bgpNmEntTable' => '1.2.826.42.1.1578918.5.65.1.7.1', - 'bgpNmEntEntry' => '1.2.826.42.1.1578918.5.65.1.7.1.1', - 'bgpNmEntIndex' => '1.2.826.42.1.1578918.5.65.1.7.1.1.1', - 'bgpNmEntRowStatus' => '1.2.826.42.1.1578918.5.65.1.7.1.1.2', - 'bgpNmEntAdminStatus' => '1.2.826.42.1.1578918.5.65.1.7.1.1.3', - 'bgpNmEntAdminStatusDefinition' => 'DC-BGP-MIB::BgpAdminStatus', - 'bgpNmEntOperStatus' => '1.2.826.42.1.1578918.5.65.1.7.1.1.4', - 'bgpNmEntOperStatusDefinition' => 'DC-BGP-MIB::BgpOperStatus', - 'bgpNmEntRmIndex' => '1.2.826.42.1.1578918.5.65.1.7.1.1.5', - 'bgpNmEntSckIndex' => '1.2.826.42.1.1578918.5.65.1.7.1.1.6', - 'bgpNmEntBfdEntityIndex' => '1.2.826.42.1.1578918.5.65.1.7.1.1.7', - 'bgpNmEntDebug' => '1.2.826.42.1.1578918.5.65.1.7.1.1.8', - 'bgpNmEntLevel' => '1.2.826.42.1.1578918.5.65.1.7.1.1.9', - 'bgpNmEntAllFlagsEnabled' => '1.2.826.42.1.1578918.5.65.1.7.1.1.10', - 'bgpNmEntRtiName' => '1.2.826.42.1.1578918.5.65.1.7.1.1.11', - 'bgpNmEntTenantName' => '1.2.826.42.1.1578918.5.65.1.7.1.1.12', - 'bgpNmEntTenantId' => '1.2.826.42.1.1578918.5.65.1.7.1.1.13', - 'bgpNmBgpNbrUpCount' => '1.2.826.42.1.1578918.5.65.1.7.1.1.14', - 'bgpNmBgpNbrDownCount' => '1.2.826.42.1.1578918.5.65.1.7.1.1.15', - 'bgpNmEntEnableAlarms' => '1.2.826.42.1.1578918.5.65.1.7.1.1.16', - 'bgpNmEntBranchName' => '1.2.826.42.1.1578918.5.65.1.7.1.1.17', - 'bgpNmEntVrfName' => '1.2.826.42.1.1578918.5.65.1.7.1.1.18', - 'bgpNmEntCliId' => '1.2.826.42.1.1578918.5.65.1.7.1.1.19', - 'bgpNmListenTable' => '1.2.826.42.1.1578918.5.65.1.7.2', - 'bgpNmListenEntry' => '1.2.826.42.1.1578918.5.65.1.7.2.1', - 'bgpNmListenIndex' => '1.2.826.42.1.1578918.5.65.1.7.2.1.2', - 'bgpNmListenRowStatus' => '1.2.826.42.1.1578918.5.65.1.7.2.1.3', - 'bgpNmListenAdminStatus' => '1.2.826.42.1.1578918.5.65.1.7.2.1.4', - 'bgpNmListenAdminStatusDefinition' => 'DC-BGP-MIB::BgpAdminStatus', - 'bgpNmListenOperStatus' => '1.2.826.42.1.1578918.5.65.1.7.2.1.5', - 'bgpNmListenOperStatusDefinition' => 'DC-BGP-MIB::BgpOperStatus', - 'bgpNmListenAddrType' => '1.2.826.42.1.1578918.5.65.1.7.2.1.6', - 'bgpNmListenAddr' => '1.2.826.42.1.1578918.5.65.1.7.2.1.7', - 'bgpNmListenPort' => '1.2.826.42.1.1578918.5.65.1.7.2.1.8', - 'bgpNmListenAcceptAll' => '1.2.826.42.1.1578918.5.65.1.7.2.1.9', - 'bgpNmListenAddrScopeId' => '1.2.826.42.1.1578918.5.65.1.7.2.1.10', - 'bgpPeerNmDebugTable' => '1.2.826.42.1.1578918.5.65.1.7.3', - 'bgpPeerNmDebugEntry' => '1.2.826.42.1.1578918.5.65.1.7.3.1', - 'bgpPeerNmDebugAddrType' => '1.2.826.42.1.1578918.5.65.1.7.3.1.2', - 'bgpPeerNmDebugAddr' => '1.2.826.42.1.1578918.5.65.1.7.3.1.3', - 'bgpPeerNmDebugRowStatus' => '1.2.826.42.1.1578918.5.65.1.7.3.1.4', - 'bgpPeerNmDebugDebug' => '1.2.826.42.1.1578918.5.65.1.7.3.1.5', - 'bgpPeerNmDebugLevel' => '1.2.826.42.1.1578918.5.65.1.7.3.1.6', - 'bgpPeerNmDebugAllFlagsEnabled' => '1.2.826.42.1.1578918.5.65.1.7.3.1.7', - 'bgpNotification' => '1.2.826.42.1.1578918.5.65.1.8', - 'bgpNotificationEntry' => '1.2.826.42.1.1578918.5.65.1.8.1', - 'bgpNotifPeerLocalAddrType' => '1.2.826.42.1.1578918.5.65.1.8.1.1', - 'bgpNotifPeerLocalAddr' => '1.2.826.42.1.1578918.5.65.1.8.1.2', - 'bgpNotifPeerRemoteAddrType' => '1.2.826.42.1.1578918.5.65.1.8.1.3', - 'bgpNotifPeerRemoteAddr' => '1.2.826.42.1.1578918.5.65.1.8.1.4', - 'bgpNotifRmEntIndex' => '1.2.826.42.1.1578918.5.65.1.8.1.5', - 'bgpNotifPeerLocalPort' => '1.2.826.42.1.1578918.5.65.1.8.1.6', - 'bgpNotifPeerRemotePort' => '1.2.826.42.1.1578918.5.65.1.8.1.7', - 'bgpPeerLastFailureCause' => '1.2.826.42.1.1578918.5.65.1.8.1.8', - 'bgpPeerLastFailureCauseDefinition' => 'DC-BGP-MIB::BgpPeerLastFailure', - 'bgpNotifPeerLocalAddrScopeId' => '1.2.826.42.1.1578918.5.65.1.8.1.9', - 'bgpRmEntOverLimit' => '1.2.826.42.1.1578918.5.65.1.8.1.10', - 'bgpNotifAfi' => '1.2.826.42.1.1578918.5.65.1.8.1.11', - 'bgpNotifAfiDefinition' => 'DC-BGP-MIB::BgpAfi', - 'bgpNotifSafi' => '1.2.826.42.1.1578918.5.65.1.8.1.12', - 'bgpNotifSafiDefinition' => 'DC-BGP-MIB::BgpSafi', - 'bgpNotifPeerOldFsmState' => '1.2.826.42.1.1578918.5.65.1.8.1.13', - 'bgpNotifPeerOldFsmStateDefinition' => 'DC-BGP-MIB::BgpPeerStates', - 'bgpNotifPeerTenantName' => '1.2.826.42.1.1578918.5.65.1.8.1.14', - 'bgpConformance' => '1.2.826.42.1.1578918.5.65.1.9', - 'bgpCompliances' => '1.2.826.42.1.1578918.5.65.1.9.1', - 'bgpGroups' => '1.2.826.42.1.1578918.5.65.1.9.2', - 'bgpPeerRangeTable' => '1.2.826.42.1.1578918.5.65.1.10', - 'bgpPeerRangeEntry' => '1.2.826.42.1.1578918.5.65.1.10.1', - 'bgpPeerRangeRemoteAddrType' => '1.2.826.42.1.1578918.5.65.1.10.1.2', - 'bgpPeerRangeRemoteAddr' => '1.2.826.42.1.1578918.5.65.1.10.1.3', - 'bgpPeerRangeRemotePrefixLen' => '1.2.826.42.1.1578918.5.65.1.10.1.4', - 'bgpPeerRangeRemoteAddrScopeId' => '1.2.826.42.1.1578918.5.65.1.10.1.5', - 'bgpPeerRangeRowStatus' => '1.2.826.42.1.1578918.5.65.1.10.1.6', - 'bgpPeerRangeAdminStatus' => '1.2.826.42.1.1578918.5.65.1.10.1.7', - 'bgpPeerRangeAdminStatusDefinition' => 'DC-BGP-MIB::BgpAdminStatus', - 'bgpPeerRangeConfigPeergr' => '1.2.826.42.1.1578918.5.65.1.10.1.8', - 'bgpPeerRangeNumPeers' => '1.2.826.42.1.1578918.5.65.1.10.1.9', - 'bgpPeerRangeMaxPeers' => '1.2.826.42.1.1578918.5.65.1.10.1.10', - 'bgpUpdateGroup' => '1.2.826.42.1.1578918.5.65.1.11', - 'bgpUpdateGroupTable' => '1.2.826.42.1.1578918.5.65.1.11.1', - 'bgpUpdateGroupEntry' => '1.2.826.42.1.1578918.5.65.1.11.1.1', - 'bgpUpdateGroupIndex' => '1.2.826.42.1.1578918.5.65.1.11.1.1.2', - 'bgpUpdateGroupMemberCount' => '1.2.826.42.1.1578918.5.65.1.11.1.1.3', - 'bgpUpdateGroupAfi' => '1.2.826.42.1.1578918.5.65.1.11.1.1.4', - 'bgpUpdateGroupAfiDefinition' => 'DC-BGP-MIB::BgpAfi', - 'bgpUpdateGroupSafi' => '1.2.826.42.1.1578918.5.65.1.11.1.1.5', - 'bgpUpdateGroupSafiDefinition' => 'DC-BGP-MIB::BgpSafi', - 'bgpUpdateGroupLocalAddressAfi' => '1.2.826.42.1.1578918.5.65.1.11.1.1.6', - 'bgpUpdateGroupLocalAddressAfiDefinition' => 'DC-BGP-MIB::BgpAfi', - 'bgpUpdateGroupLocalAddressSafi' => '1.2.826.42.1.1578918.5.65.1.11.1.1.7', - 'bgpUpdateGroupLocalAddressSafiDefinition' => 'DC-BGP-MIB::BgpSafi', - 'bgpUpdateGroupLocalAddressLength' => '1.2.826.42.1.1578918.5.65.1.11.1.1.8', - 'bgpUpdateGroupAsSize' => '1.2.826.42.1.1578918.5.65.1.11.1.1.9', - 'bgpUpdateGroupNeighborInSameAs' => '1.2.826.42.1.1578918.5.65.1.11.1.1.10', - 'bgpUpdateGroupConfedMember' => '1.2.826.42.1.1578918.5.65.1.11.1.1.11', - 'bgpUpdateGroupConfAltLocalAs' => '1.2.826.42.1.1578918.5.65.1.11.1.1.12', - 'bgpUpdateGroupSelectedLocalAs' => '1.2.826.42.1.1578918.5.65.1.11.1.1.13', - 'bgpUpdateGroupAltLocalAsMode' => '1.2.826.42.1.1578918.5.65.1.11.1.1.14', - 'bgpUpdateGroupAltLocalAsModeDefinition' => 'DC-BGP-MIB::bgpUpdateGroupAltLocalAsMode', - 'bgpUpdateGroupAggregateConfed' => '1.2.826.42.1.1578918.5.65.1.11.1.1.15', - 'bgpUpdateGroupReflectorClient' => '1.2.826.42.1.1578918.5.65.1.11.1.1.16', - 'bgpUpdateGroupReflectorClientDefinition' => 'DC-BGP-MIB::BgpPeerReflectorClientType', - 'bgpUpdateGroupNextHopSelf' => '1.2.826.42.1.1578918.5.65.1.11.1.1.17', - 'bgpUpdateGroupNextHopSelfDefinition' => 'DC-BGP-MIB::BgpNextHopSelf', - 'bgpUpdateGroupTPNHEnabled' => '1.2.826.42.1.1578918.5.65.1.11.1.1.18', - 'bgpUpdateGroupTPNHAddrType' => '1.2.826.42.1.1578918.5.65.1.11.1.1.19', - 'bgpUpdateGroupTPNHAddrPrefix' => '1.2.826.42.1.1578918.5.65.1.11.1.1.20', - 'bgpUpdateGroupTPNHAddrPrefixLen' => '1.2.826.42.1.1578918.5.65.1.11.1.1.21', - 'bgpUpdateGroupPeeringType' => '1.2.826.42.1.1578918.5.65.1.11.1.1.22', - 'bgpUpdateGroupPeeringTypeDefinition' => 'DC-BGP-MIB::BgpPeeringType', - 'bgpUpdateGroupSlowPeer' => '1.2.826.42.1.1578918.5.65.1.11.1.1.23', - 'bgpUpdateGroupRmvPrivASNums' => '1.2.826.42.1.1578918.5.65.1.11.1.1.24', - 'bgpUpdateGroupCondAdv' => '1.2.826.42.1.1578918.5.65.1.11.1.1.25', - 'bgpUpdateGroupCAAdvMap' => '1.2.826.42.1.1578918.5.65.1.11.1.1.26', - 'bgpUpdateGroupCANExMap' => '1.2.826.42.1.1578918.5.65.1.11.1.1.27', - 'bgpUpdateGroupConfExpMap' => '1.2.826.42.1.1578918.5.65.1.11.1.1.28', - 'bgpUpdateGroupSendComm' => '1.2.826.42.1.1578918.5.65.1.11.1.1.29', - 'bgpUpdateGroupSendExtComm' => '1.2.826.42.1.1578918.5.65.1.11.1.1.30', - 'bgpUpdateGroupOrigDflt' => '1.2.826.42.1.1578918.5.65.1.11.1.1.31', - 'bgpUpdateGroupOrigDfltRtMap' => '1.2.826.42.1.1578918.5.65.1.11.1.1.32', - 'bgpUpdateGroupAddPathSend' => '1.2.826.42.1.1578918.5.65.1.11.1.1.33', - 'bgpUpdateGroupAddPathBestN' => '1.2.826.42.1.1578918.5.65.1.11.1.1.34', - 'bgpUpdateGroupDistListAclOut' => '1.2.826.42.1.1578918.5.65.1.11.1.1.35', - 'bgpUpdateGroupDistListPlOut' => '1.2.826.42.1.1578918.5.65.1.11.1.1.36', - 'bgpUpdateGroupFilterListOut' => '1.2.826.42.1.1578918.5.65.1.11.1.1.37', - 'bgpUpdateGroupExportMapIndex' => '1.2.826.42.1.1578918.5.65.1.11.1.1.38', - 'bgpUpdateGroupExportPreIsAall' => '1.2.826.42.1.1578918.5.65.1.11.1.1.39', - 'bgpUpdateGroupExportIpPre' => '1.2.826.42.1.1578918.5.65.1.11.1.1.40', - 'bgpUpdateGroupUseExportLocalPref' => '1.2.826.42.1.1578918.5.65.1.11.1.1.41', - 'bgpUpdateGroupExportLocalPref' => '1.2.826.42.1.1578918.5.65.1.11.1.1.42', - 'bgpUpdateGroupMinASOrigInt' => '1.2.826.42.1.1578918.5.65.1.11.1.1.43', - 'bgpUpdateGroupMinRtAdvertiseInt' => '1.2.826.42.1.1578918.5.65.1.11.1.1.44', - 'bgpUpdateGroupMinRtWithdrawInt' => '1.2.826.42.1.1578918.5.65.1.11.1.1.45', - 'bgpUpdateGroupPreserveNh' => '1.2.826.42.1.1578918.5.65.1.11.1.1.46', - 'bgpUpdateGroupMembershipTable' => '1.2.826.42.1.1578918.5.65.1.11.2', - 'bgpUpdateGroupMembershipEntry' => '1.2.826.42.1.1578918.5.65.1.11.2.1', - 'bgpUpdGpMbrLocalAddrType' => '1.2.826.42.1.1578918.5.65.1.11.2.1.4', - 'bgpUpdGpMbrLocalAddr' => '1.2.826.42.1.1578918.5.65.1.11.2.1.5', - 'bgpUpdGpMbrLocalPort' => '1.2.826.42.1.1578918.5.65.1.11.2.1.6', - 'bgpUpdGpMbrRemoteAddrType' => '1.2.826.42.1.1578918.5.65.1.11.2.1.7', - 'bgpUpdGpMbrRemoteAddr' => '1.2.826.42.1.1578918.5.65.1.11.2.1.8', - 'bgpUpdGpMbrRemotePort' => '1.2.826.42.1.1578918.5.65.1.11.2.1.9', - 'bgpUpdGpMbrLocalAddrScopeId' => '1.2.826.42.1.1578918.5.65.1.11.2.1.10', - 'bgpUpdGpMbrAfi' => '1.2.826.42.1.1578918.5.65.1.11.2.1.11', - 'bgpUpdGpMbrAfiDefinition' => 'DC-BGP-MIB::BgpAfi', - 'bgpUpdGpMbrSafi' => '1.2.826.42.1.1578918.5.65.1.11.2.1.12', - 'bgpUpdGpMbrSafiDefinition' => 'DC-BGP-MIB::BgpSafi', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'DC-BGP-MIB'} = { - 'BgpIbgpOrEbgp' => { - '1' => 'ibgp', - '2' => 'ebgp', - '3' => 'ebgpconfed', - }, - 'BgpPeerLastFailure' => { - '1' => 'other', - '2' => 'notifySent', - '3' => 'notifyRecv', - }, - 'BgpOperStatus' => { - '1' => 'operStatusUp', - '2' => 'operStatusDown', - '3' => 'operStatusGoingUp', - '4' => 'operStatusGoingDown', - '5' => 'operStatusActFailed', - }, - 'BgpAddPathSrCap' => { - '0' => 'disable', - '1' => 'receive', - '2' => 'send', - '3' => 'both', - '4' => 'inherit', - '5' => 'unknown', - }, - 'BgpNlriIsActiveFlag' => { - '1' => 'notTracked', - '2' => 'inactive', - '3' => 'active', - }, - 'BgpRestartExitReason' => { - '1' => 'none', - '2' => 'inProgress', - '3' => 'completed', - '4' => 'timedOut', - '5' => 'failed', - '6' => 'completePeerNoSupport', - }, - 'BgpPrivAsActs' => { - '1' => 'remove', - '2' => 'none', - '3' => 'removeAll', - '4' => 'replace', - '5' => 'replaceAll', - }, - 'BgpPathAttrAtomicAggPresence' => { - '1' => 'atomicAggregatePresent', - '2' => 'atomicAggregateMissing', - }, - 'bgpPeerConfAltLocalAsMode' => { - '1' => 'mode1', - '2' => 'mode2', - '3' => 'mode3', - '4' => 'mode4', - }, - 'bgpPeergrConfAltLocalAsMode' => { - '1' => 'mode1', - '2' => 'mode2', - '3' => 'mode3', - '4' => 'mode4', - }, - 'bgpAdjRibOutAdvertStatus' => { - '1' => 'advertised', - '2' => 'suppressed', - '3' => 'pendingWithdrawal', - '4' => 'withdrawn', - }, - 'BgpAggregateOptions' => { - '1' => 'none', - '2' => 'summary', - '3' => 'asSet', - '4' => 'summaryAsSet', - '5' => 'asAppend', - '6' => 'summaryAsAppend', - }, - 'BgpPeeringType' => { - '0' => 'unspecified', - '1' => 'provider', - '2' => 'customer', - '3' => 'biLateral', - }, - 'BgpIpMatchType' => { - '1' => 'nlriAddr', - '2' => 'sourceAddr', - '3' => 'nextHopAddr', - }, - 'BgpPeerStates' => { - '1' => 'idle', - '2' => 'connect', - '3' => 'active', - '4' => 'opensent', - '5' => 'openconfirm', - '6' => 'established', - }, - 'bgpAdjRibOutLocalAggrType' => { - '1' => 'noAggregation', - '2' => 'aggregateRoute', - '3' => 'unsuppAggregatedRoute', - '4' => 'suppressedAggregatedRoute', - }, - 'BgpOriginCode' => { - '0' => 'originIgp', - '1' => 'originEgp', - '2' => 'originIncomplete', - }, - 'BgpOrfAssociation' => { - '0' => 'noAssociation', - '1' => 'local', - '2' => 'remote', - }, - 'BgpCommListEntryType' => { - '1' => 'communityGroup', - '2' => 'regularExpression', - }, - 'bgpNlriAggrType' => { - '1' => 'noAggregation', - '2' => 'aggregateRoute', - '3' => 'unsuppAggregatedRoute', - '4' => 'suppressedAggregatedRoute', - }, - 'BgpPeerRestartStatus' => { - '1' => 'notRestarting', - '2' => 'restartTimerRunning', - '3' => 'stalePathTimerRunning', - }, - 'BgpPeerOrAfm' => { - '1' => 'peerIndex', - '2' => 'afmIndex', - '3' => 'noIndex', - }, - 'BgpAfi' => { - '0' => 'other', - '1' => 'ipv4', - '2' => 'ipv6', - '25' => 'l2vpn', - }, - 'BgpComponentId' => { - '1' => 'componentRm', - '2' => 'componentNm', - '3' => 'componentIpSockets', - '4' => 'componentRtm', - '5' => 'componentVmIpv4', - '6' => 'componentBfd', - }, - 'BgpPeerEvents' => { - '0' => 'noEvent', - '1' => 'start', - '2' => 'stop', - '3' => 'transportOpen', - '4' => 'transportClosed', - '5' => 'transportOpenFailed', - '6' => 'transportFatalError', - '7' => 'connectRetryTimer', - '8' => 'holdTimer', - '9' => 'keepaliverTimer', - '10' => 'recvOpen', - '11' => 'recvKeepAlive', - '12' => 'recvUpdate', - '13' => 'recvNotification', - '14' => 'connParmsUpdate', - }, - 'BgpPeerReflectorClientType' => { - '0' => 'nonClient', - '1' => 'client', - '2' => 'meshedClient', - }, - 'BgpAdminStatus' => { - '1' => 'adminStatusUp', - '2' => 'adminStatusDown', - }, - 'BgpTrueFalseOrInherit' => { - '0' => 'inherit', - '1' => 'true', - '2' => 'false', - }, - 'BgpOrfSendReceive' => { - '1' => 'receive', - '2' => 'send', - '3' => 'both', - }, - 'bgpUpdateGroupAltLocalAsMode' => { - '1' => 'mode1', - '2' => 'mode2', - '3' => 'mode3', - '4' => 'mode4', - }, - 'BgpSjStatus' => { - '1' => 'sjNotJoined', - '2' => 'sjJoined', - '3' => 'sjJoinActive', - '4' => 'sjJoinUnreg', - '5' => 'sjJoinGone', - '6' => 'sjFailingOver', - '7' => 'sjFailed', - }, - 'BgpOrfType' => { - '2' => 'community', - '3' => 'extCommunity', - '64' => 'prefix', - }, - 'BgpCommunityAction' => { - '0' => 'none', - '1' => 'removeAll', - '2' => 'removeSpecific', - '3' => 'setSpecific', - '4' => 'removeAllAndSet', - }, - 'BgpPeerConfigStates' => { - '1' => 'stateUpToDate', - '2' => 'stateOutOfDateAdminDown', - '3' => 'stateOutOfDateRowInactive', - }, - 'BgpNlriPeerTypes' => { - '1' => 'none', - '2' => 'iBGP', - '3' => 'eBGP', - }, - 'bgpNlriPrefixAggrType' => { - '1' => 'noAggregation', - '2' => 'aggregateRoute', - '3' => 'unsuppAggregatedRoute', - '4' => 'suppressedAggregatedRoute', - }, - 'bgpPeerStatusConfAltLocalAsMode' => { - '1' => 'mode1', - '2' => 'mode2', - '3' => 'mode3', - '4' => 'mode4', - }, - 'BgpPeerRestartSupport' => { - '1' => 'none', - '2' => 'awareOnly', - '3' => 'enabled', - }, - 'BgpCeaseErrorSubcode' => { - '0' => 'none', - '2' => 'adminShutdown', - '3' => 'peerUnconfig', - '4' => 'adminReset', - '6' => 'configChange', - '8' => 'noResource', - }, - 'BgpReasonNotBest' => { - '0' => 'notConsidered', - '1' => 'routeIsBest', - '2' => 'weight', - '3' => 'localPref', - '4' => 'localOrigPreferred', - '5' => 'asPathLen', - '6' => 'origin', - '7' => 'med', - '8' => 'localOrigTieBreaker', - '9' => 'ebgpVsibgp', - '10' => 'adminDistance', - '11' => 'pathCostToNextHop', - '12' => 'prefExisting', - '13' => 'identifier', - '14' => 'clusterLen', - '15' => 'peerType', - '16' => 'peerAddress', - '17' => 'peerPort', - '18' => 'pathId', - '19' => 'grStale', - }, - 'BgpAsSize' => { - '1' => 'twoOctet', - '2' => 'fourOctet', - }, - 'BgpPermitOrDeny' => { - '1' => 'permit', - '2' => 'deny', - }, - 'BgpMedDeltaType' => { - '1' => 'increment', - '2' => 'decrement', - }, - 'BgpSafi' => { - '0' => 'none', - '1' => 'unicast', - '2' => 'multicast', - '3' => 'both', - '4' => 'labeled', - '65' => 'vpls', - '70' => 'evpn', - '128' => 'mplsBgpVpn', - '129' => 'mplsBgpMVpn', - '241' => 'private', - '248' => 'versaPrivate', - }, - 'BgpNextHopSelf' => { - '1' => 'true', - '2' => 'false', - '3' => 'all', - }, - 'BgpMjStatus' => { - '1' => 'mjNotJoined', - '2' => 'mjSentAddJoin', - '3' => 'mjSentRegister', - '4' => 'mjJoinActive', - '5' => 'mjSentDelJoin', - '6' => 'mjSentUnregister', - '7' => 'mjJoinGone', - '8' => 'mjFailedToRegister', - '9' => 'mjFailingOver', - '10' => 'mjFailed', - '11' => 'mjNoPartner', - }, - 'BgpDropOrWarn' => { - '1' => 'drop', - '2' => 'warn', - }, - 'BgpAsPathAction' => { - '0' => 'none', - '1' => 'set', - '2' => 'remMatch', - '3' => 'remMatchAndSet', - }, -}; - diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/DEVICEMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/DEVICEMIB.pm deleted file mode 100644 index 4ee307e..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/DEVICEMIB.pm +++ /dev/null @@ -1,56 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::DEVICEMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'DEVICE-MIB'} = { - url => '', - name => 'DEVICE-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'DEVICE-MIB'} = '1.3.6.1.4.1.42359.2.2.1.1'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'DEVICE-MIB'} = { - 'device' => '1.3.6.1.4.1.42359.2.2.1.1', - 'deviceTable' => '1.3.6.1.4.1.42359.2.2.1.1.1', - 'deviceEntry' => '1.3.6.1.4.1.42359.2.2.1.1.1.1', - 'deviceVSNId' => '1.3.6.1.4.1.42359.2.2.1.1.1.1.1', - 'deviceCPULoad' => '1.3.6.1.4.1.42359.2.2.1.1.1.1.2', - 'deviceMemoryLoad' => '1.3.6.1.4.1.42359.2.2.1.1.1.1.3', - 'deviceBuffer' => '1.3.6.1.4.1.42359.2.2.1.1.1.1.4', - 'deviceActiveSessions' => '1.3.6.1.4.1.42359.2.2.1.1.1.1.5', - 'deviceFailedSessions' => '1.3.6.1.4.1.42359.2.2.1.1.1.1.6', - 'deviceMaxSessions' => '1.3.6.1.4.1.42359.2.2.1.1.1.1.7', - 'deviceClientId' => '1.3.6.1.4.1.42359.2.2.1.1.1.1.8', - 'deviceAlarmStatsTable' => '1.3.6.1.4.1.42359.2.2.1.1.3', - 'deviceAlarmStatsEntry' => '1.3.6.1.4.1.42359.2.2.1.1.3.1', - 'deviceAlarmId' => '1.3.6.1.4.1.42359.2.2.1.1.3.1.1', - 'deviceAlarmName' => '1.3.6.1.4.1.42359.2.2.1.1.3.1.2', - 'deviceAlarmNewCnt' => '1.3.6.1.4.1.42359.2.2.1.1.3.1.5', - 'deviceAlarmChangedCnt' => '1.3.6.1.4.1.42359.2.2.1.1.3.1.6', - 'deviceAlarmClearedCnt' => '1.3.6.1.4.1.42359.2.2.1.1.3.1.7', - 'deviceAlarmNetconfCnt' => '1.3.6.1.4.1.42359.2.2.1.1.3.1.8', - 'deviceAlarmSnmpCnt' => '1.3.6.1.4.1.42359.2.2.1.1.3.1.9', - 'deviceAlarmSyslogCnt' => '1.3.6.1.4.1.42359.2.2.1.1.3.1.10', - 'deviceAlarmAnalyticsCnt' => '1.3.6.1.4.1.42359.2.2.1.1.3.1.11', - 'deviceHardwareTable' => '1.3.6.1.4.1.42359.2.2.1.1.4', - 'deviceHardwareEntry' => '1.3.6.1.4.1.42359.2.2.1.1.4.1', - 'deviceHardwareSku' => '1.3.6.1.4.1.42359.2.2.1.1.4.1.1', - 'deviceHardwareModel' => '1.3.6.1.4.1.42359.2.2.1.1.4.1.2', - 'deviceHardwareSerialnumber' => '1.3.6.1.4.1.42359.2.2.1.1.4.1.3', - 'deviceCpuInfoTable' => '1.3.6.1.4.1.42359.2.2.1.1.5', - 'deviceCpuInfoEntry' => '1.3.6.1.4.1.42359.2.2.1.1.5.1', - 'deviceCpuId' => '1.3.6.1.4.1.42359.2.2.1.1.5.1.1', - 'deviceCpuLoadPercentage' => '1.3.6.1.4.1.42359.2.2.1.1.5.1.2', - 'deviceSoftwareInfo' => '1.3.6.1.4.1.42359.2.2.1.1.6', - 'packageVersionMajor' => '1.3.6.1.4.1.42359.2.2.1.1.6.1', - 'packageVersionMinor' => '1.3.6.1.4.1.42359.2.2.1.1.6.2', - 'packageVersionService' => '1.3.6.1.4.1.42359.2.2.1.1.6.3', - 'packageReleaseDate' => '1.3.6.1.4.1.42359.2.2.1.1.6.4', - 'packageId' => '1.3.6.1.4.1.42359.2.2.1.1.6.5', - 'packageName' => '1.3.6.1.4.1.42359.2.2.1.1.6.6', - 'packageReleaseType' => '1.3.6.1.4.1.42359.2.2.1.1.6.7', - 'packageSpackApiVersion' => '1.3.6.1.4.1.42359.2.2.1.1.6.8', - 'packageSpackLibVersion' => '1.3.6.1.4.1.42359.2.2.1.1.6.9', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'DEVICE-MIB'} = { -}; - diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIBGPVPNMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIBGPVPNMIB.pm deleted file mode 100644 index 6b66435..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIBGPVPNMIB.pm +++ /dev/null @@ -1,308 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::HUAWEIBGPVPNMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'HUAWEI-BGP-VPN-MIB'} = { - url => '', - name => 'HUAWEI-BGP-VPN-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'HUAWEI-BGP-VPN-MIB'} = - '1.3.6.1.4.1.2011.5.25.177'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'HUAWEI-BGP-VPN-MIB'} = { - 'hwBgpMIB' => '1.3.6.1.4.1.2011.5.25.177', - 'hwBgpObjects' => '1.3.6.1.4.1.2011.5.25.177.1', - 'hwBgpPeers' => '1.3.6.1.4.1.2011.5.25.177.1.1', - 'hwBgpPeerAddrFamilyTable' => '1.3.6.1.4.1.2011.5.25.177.1.1.1', - 'hwBgpPeerAddrFamilyEntry' => '1.3.6.1.4.1.2011.5.25.177.1.1.1.1', - 'hwBgpPeerInstanceId' => '1.3.6.1.4.1.2011.5.25.177.1.1.1.1.1', - 'hwBgpPeerAddrFamilyAfi' => '1.3.6.1.4.1.2011.5.25.177.1.1.1.1.2', - 'hwBgpPeerAddrFamilyAfiDefinition' => 'HUAWEI-BGP-VPN-MIB::HWBgpAfi', - 'hwBgpPeerAddrFamilySafi' => '1.3.6.1.4.1.2011.5.25.177.1.1.1.1.3', - 'hwBgpPeerAddrFamilySafiDefinition' => 'HUAWEI-BGP-VPN-MIB::HWBgpSafi', - 'hwBgpPeerType' => '1.3.6.1.4.1.2011.5.25.177.1.1.1.1.4', - 'hwBgpPeerIPAddr' => '1.3.6.1.4.1.2011.5.25.177.1.1.1.1.5', - 'hwBgpPeerVrfName' => '1.3.6.1.4.1.2011.5.25.177.1.1.1.1.6', - 'hwBgpPeerTable' => '1.3.6.1.4.1.2011.5.25.177.1.1.2', - 'hwBgpPeerEntry' => '1.3.6.1.4.1.2011.5.25.177.1.1.2.1', - 'hwBgpPeerNegotiatedVersion' => '1.3.6.1.4.1.2011.5.25.177.1.1.2.1.1', - 'hwBgpPeerRemoteAs' => '1.3.6.1.4.1.2011.5.25.177.1.1.2.1.2', - 'hwBgpPeerRemoteAddr' => '1.3.6.1.4.1.2011.5.25.177.1.1.2.1.4', - 'hwBgpPeerState' => '1.3.6.1.4.1.2011.5.25.177.1.1.2.1.5', - 'hwBgpPeerStateDefinition' => 'HUAWEI-BGP-VPN-MIB::hwBgpPeerState', - 'hwBgpPeerFsmEstablishedCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.2.1.6', - 'hwBgpPeerFsmEstablishedTime' => '1.3.6.1.4.1.2011.5.25.177.1.1.2.1.7', - 'hwBgpPeerGRStatus' => '1.3.6.1.4.1.2011.5.25.177.1.1.2.1.8', - 'hwBgpPeerGRStatusDefinition' => 'HUAWEI-BGP-VPN-MIB::hwBgpPeerGRStatus', - 'hwBgpPeerLastError' => '1.3.6.1.4.1.2011.5.25.177.1.1.2.1.9', - 'hwBgpPeerUnAvaiReason' => '1.3.6.1.4.1.2011.5.25.177.1.1.2.1.10', - 'hwBgpPeerUnAvaiReasonDefinition' => { - 1 => "Configuration lead peer down", - 2 => "Receive notification", - 3 => "Receive error packet", - 4 => "Hold timer expire", - 5 => "Remote peer not reachable", - 6 => "Direct connect-interface down", - 7 => "Route limit", - }, - 'hwBgpPeerAdminStatus' => '1.3.6.1.4.1.2011.5.25.177.1.1.2.1.11', - 'hwBgpPeerAdminStatusDefinition' => 'HUAWEI-BGP-VPN-MIB::hwBgpPeerAdminStatus', - 'hwBgpPeerRouteTable' => '1.3.6.1.4.1.2011.5.25.177.1.1.3', - 'hwBgpPeerRouteEntry' => '1.3.6.1.4.1.2011.5.25.177.1.1.3.1', - 'hwBgpPeerPrefixRcvCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.3.1.1', - 'hwBgpPeerPrefixActiveCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.3.1.2', - 'hwBgpPeerPrefixAdvCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.3.1.3', - 'hwBgpPeerMessageTable' => '1.3.6.1.4.1.2011.5.25.177.1.1.4', - 'hwBgpPeerMessageEntry' => '1.3.6.1.4.1.2011.5.25.177.1.1.4.1', - 'hwBgpPeerInTotalMsgCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.4.1.1', - 'hwBgpPeerOutTotalMsgCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.4.1.2', - 'hwBgpPeerInOpenMsgCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.4.1.3', - 'hwBgpPeerInUpdateMsgCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.4.1.4', - 'hwBgpPeerInNotificationMsgCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.4.1.5', - 'hwBgpPeerInKeepAliveMsgCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.4.1.6', - 'hwBgpPeerInRouteFreshMsgCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.4.1.7', - 'hwBgpPeerOutOpenMsgCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.4.1.8', - 'hwBgpPeerOutUpdateMsgCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.4.1.9', - 'hwBgpPeerOutNotificationMsgCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.4.1.10', - 'hwBgpPeerOutKeepAliveMsgCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.4.1.11', - 'hwBgpPeerOutRouteFreshMsgCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.4.1.12', - 'hwBgpPeerConfigTable' => '1.3.6.1.4.1.2011.5.25.177.1.1.5', - 'hwBgpPeerConfigEntry' => '1.3.6.1.4.1.2011.5.25.177.1.1.5.1', - 'hwBgpPeerConfigRouteLimitNum' => '1.3.6.1.4.1.2011.5.25.177.1.1.5.1.1', - 'hwBgpPeerConfigRouteLimitThreshold' => '1.3.6.1.4.1.2011.5.25.177.1.1.5.1.2', - 'hwBgpPeerSessionTable' => '1.3.6.1.4.1.2011.5.25.177.1.1.6', - 'hwBgpPeerSessionEntry' => '1.3.6.1.4.1.2011.5.25.177.1.1.6.1', - 'hwBgpPeerSessionVrfName' => '1.3.6.1.4.1.2011.5.25.177.1.1.6.1.1', - 'hwBgpPeerSessionRemoteAddrType' => '1.3.6.1.4.1.2011.5.25.177.1.1.6.1.2', - 'hwBgpPeerSessionRemoteAddr' => '1.3.6.1.4.1.2011.5.25.177.1.1.6.1.3', - 'hwBgpPeerSessionLocalAddrType' => '1.3.6.1.4.1.2011.5.25.177.1.1.6.1.4', - 'hwBgpPeerSessionLocalAddr' => '1.3.6.1.4.1.2011.5.25.177.1.1.6.1.5', - 'hwBgpPeerSessionUnavailableType' => '1.3.6.1.4.1.2011.5.25.177.1.1.6.1.6', - 'hwBgpPeerSessionUnavailableTypeDefinition' => 'HUAWEI-BGP-VPN-MIB::hwBgpPeerSessionUnavailableType', - 'hwBgpPeerSessionLocalIfName' => '1.3.6.1.4.1.2011.5.25.177.1.1.6.1.7', - 'hwBgpPeerSessionReason' => '1.3.6.1.4.1.2011.5.25.177.1.1.6.1.8', - 'hwBgpPeerSessionReasonDefinition' => 'HUAWEI-BGP-VPN-MIB::hwBgpPeerSessionReason', - 'hwBgpPeerStatisticTable' => '1.3.6.1.4.1.2011.5.25.177.1.1.7', - 'hwBgpPeerStatisticEntry' => '1.3.6.1.4.1.2011.5.25.177.1.1.7.1', - 'hwBgpProcessId' => '1.3.6.1.4.1.2011.5.25.177.1.1.7.1.1', - 'hwBgpPeerVrfInstanceId' => '1.3.6.1.4.1.2011.5.25.177.1.1.7.1.2', - 'hwBgpPeerAddr' => '1.3.6.1.4.1.2011.5.25.177.1.1.7.1.3', - 'hwBgpPeerFsmEstablishedTransitions' => '1.3.6.1.4.1.2011.5.25.177.1.1.7.1.4', - 'hwBgpPeerDownCounts' => '1.3.6.1.4.1.2011.5.25.177.1.1.7.1.5', - 'hwBgpPeerInUpdateMsgs' => '1.3.6.1.4.1.2011.5.25.177.1.1.7.1.6', - 'hwBgpPeerOutUpdateMsgs' => '1.3.6.1.4.1.2011.5.25.177.1.1.7.1.7', - 'hwBgpPeerInTotalMsgs' => '1.3.6.1.4.1.2011.5.25.177.1.1.7.1.8', - 'hwBgpPeerOutTotalMsgs' => '1.3.6.1.4.1.2011.5.25.177.1.1.7.1.9', - 'hwBgpPeerSessionExtTable' => '1.3.6.1.4.1.2011.5.25.177.1.1.8', - 'hwBgpPeerSessionExtEntry' => '1.3.6.1.4.1.2011.5.25.177.1.1.8.1', - 'hwBgpPeerSessionExtVrfId' => '1.3.6.1.4.1.2011.5.25.177.1.1.8.1.1', - 'hwBgpPeerSessionExtRemoteAddrType' => '1.3.6.1.4.1.2011.5.25.177.1.1.8.1.2', - 'hwBgpPeerSessionExtRemoteAddr' => '1.3.6.1.4.1.2011.5.25.177.1.1.8.1.3', - 'hwBgpPeerSessionExtLocalAddrType' => '1.3.6.1.4.1.2011.5.25.177.1.1.8.1.4', - 'hwBgpPeerSessionExtLocalAddr' => '1.3.6.1.4.1.2011.5.25.177.1.1.8.1.5', - 'hwBgpPeerSessionExtUnavailableType' => '1.3.6.1.4.1.2011.5.25.177.1.1.8.1.6', - 'hwBgpPeerSessionExtUnavailableTypeDefinition' => 'HUAWEI-BGP-VPN-MIB::hwBgpPeerSessionExtUnavailableType', - 'hwBgpPeerSessionExtLocalIfName' => '1.3.6.1.4.1.2011.5.25.177.1.1.8.1.7', - 'hwBgpPeerSessionExtReason' => '1.3.6.1.4.1.2011.5.25.177.1.1.8.1.8', - 'hwBgpPeerSessionExtReasonDefinition' => 'HUAWEI-BGP-VPN-MIB::hwBgpPeerSessionExtReason', - 'hwBgpPeerSessionExtVrfName' => '1.3.6.1.4.1.2011.5.25.177.1.1.8.1.9', - 'hwBgpPeerSessionExtRemoteAs' => '1.3.6.1.4.1.2011.5.25.177.1.1.8.1.10', - 'hwBgpPeerSessionExtDescription' => '1.3.6.1.4.1.2011.5.25.177.1.1.8.1.11', - 'hwBgpRoute' => '1.3.6.1.4.1.2011.5.25.177.1.2', - 'hwBgpRouteLimitTable' => '1.3.6.1.4.1.2011.5.25.177.1.2.1', - 'hwBgpRouteLimitindex' => '1.3.6.1.4.1.2011.5.25.177.1.2.1.1', - 'hwBgpRouteLimitindexDefinition' => 'HUAWEI-BGP-VPN-MIB::hwBgpRouteLimitindex', - 'hwBgpRouteCurNum' => '1.3.6.1.4.1.2011.5.25.177.1.2.1.2', - 'hwBgpRouteMaxNum' => '1.3.6.1.4.1.2011.5.25.177.1.2.1.3', - 'hwBgpRouteThreshold' => '1.3.6.1.4.1.2011.5.25.177.1.2.1.4', - 'hwBgpRouteType' => '1.3.6.1.4.1.2011.5.25.177.1.2.1.5', - 'hwBgpVrfRouteTable' => '1.3.6.1.4.1.2011.5.25.177.1.2.2', - 'hwBgpVrfRouteEntry' => '1.3.6.1.4.1.2011.5.25.177.1.2.2.1', - 'hwBgpVrfCurrRouteNum' => '1.3.6.1.4.1.2011.5.25.177.1.2.2.1.1', - 'hwBgpVrfThresholdValue' => '1.3.6.1.4.1.2011.5.25.177.1.2.2.1.2', - 'hwBgpVrfRouteType' => '1.3.6.1.4.1.2011.5.25.177.1.2.2.1.3', - 'hwBgpVrfInstName' => '1.3.6.1.4.1.2011.5.25.177.1.2.2.1.4', - 'hwBgpVrfAddressFamily' => '1.3.6.1.4.1.2011.5.25.177.1.2.2.1.5', - 'hwEvpnRouteTable' => '1.3.6.1.4.1.2011.5.25.177.1.2.3', - 'hwEvpnRouteEntry' => '1.3.6.1.4.1.2011.5.25.177.1.2.3.1', - 'hwEvpnCurrRouteNum' => '1.3.6.1.4.1.2011.5.25.177.1.2.3.1.1', - 'hwEvpnThresholdValue' => '1.3.6.1.4.1.2011.5.25.177.1.2.3.1.2', - 'hwEvpnRouteType' => '1.3.6.1.4.1.2011.5.25.177.1.2.3.1.3', - 'hwEvpnAddressFamily' => '1.3.6.1.4.1.2011.5.25.177.1.2.3.1.4', - 'hwBgpLabelLimitTable' => '1.3.6.1.4.1.2011.5.25.177.1.2.4', - 'hwBgpAddrFamilyAfi' => '1.3.6.1.4.1.2011.5.25.177.1.2.4.1', - 'hwBgpAddrFamilyAfiDefinition' => 'HUAWEI-BGP-VPN-MIB::HWBgpAfi', - 'hwBgpAddrFamilySafi' => '1.3.6.1.4.1.2011.5.25.177.1.2.4.2', - 'hwBgpAddrFamilySafiDefinition' => 'HUAWEI-BGP-VPN-MIB::HWBgpSafi', - 'hwBgpLabelMaxValue' => '1.3.6.1.4.1.2011.5.25.177.1.2.4.3', - 'hwBgpLabelLimitThreshold' => '1.3.6.1.4.1.2011.5.25.177.1.2.4.4', - 'hwBgpTraps' => '1.3.6.1.4.1.2011.5.25.177.1.3', - 'hwBgpScalars' => '1.3.6.1.4.1.2011.5.25.177.1.4', - 'hwBgpPeerSessionNum' => '1.3.6.1.4.1.2011.5.25.177.1.4.1', - 'hwIBgpPeerSessionNum' => '1.3.6.1.4.1.2011.5.25.177.1.4.2', - 'hwEBgpPeerSessionNum' => '1.3.6.1.4.1.2011.5.25.177.1.4.3', - 'hwBgpPeerSessionMaxNum' => '1.3.6.1.4.1.2011.5.25.177.1.4.4', - 'hwBgpDynamicPeerSessionNum' => '1.3.6.1.4.1.2011.5.25.177.1.4.5', - 'hwBgpDynamicPeerSessionMaxNum' => '1.3.6.1.4.1.2011.5.25.177.1.4.6', - 'hwBgpPeerSessionThreshold' => '1.3.6.1.4.1.2011.5.25.177.1.4.7', - 'hwBgpPeerTotalInUpdateMsgs' => '1.3.6.1.4.1.2011.5.25.177.1.4.8', - 'hwBgpPeerTotalOutUpdateMsgs' => '1.3.6.1.4.1.2011.5.25.177.1.4.9', - 'hwBgpProcess' => '1.3.6.1.4.1.2011.5.25.177.1.5', - 'hwBgpProcessCommTable' => '1.3.6.1.4.1.2011.5.25.177.1.5.1', - 'hwBgpProcessCommEntry' => '1.3.6.1.4.1.2011.5.25.177.1.5.1.1', - 'hwBgpProcessName' => '1.3.6.1.4.1.2011.5.25.177.1.5.1.1.1', - 'hwBgpVpnObjects' => '1.3.6.1.4.1.2011.5.25.177.2', - 'hwBgpVpnTunnelTable' => '1.3.6.1.4.1.2011.5.25.177.2.1', - 'hwBgpVpnTunnelEntry' => '1.3.6.1.4.1.2011.5.25.177.2.1.1', - 'hwBgpVpnTunnelVrfName' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.1', - 'hwBgpVpnTunnelPublicNetNextHop' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.2', - 'hwBgpVpnTunnelId' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.3', - 'hwBgpVpnTunnelDestAddr' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.4', - 'hwBgpVpnTunnelType' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.5', - 'hwBgpVpnTunnelSrcAddr' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.6', - 'hwBgpVpnTunnelOutIfName' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.7', - 'hwBgpVpnTunnelIsLoadBalance' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.8', - 'hwBgpVpnTunnelLspIndex' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.9', - 'hwBgpVpnTunnelLspOutIfName' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.10', - 'hwBgpVpnTunnelLspOutLabel' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.11', - 'hwBgpVpnTunnelLspNextHop' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.12', - 'hwBgpVpnTunnelLspFec' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.13', - 'hwBgpVpnTunnelLspFecPfxLen' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.14', - 'hwBgpVpnTunnelLspIsBackup' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.15', - 'hwBgpVpnTunnelSignalProtocol' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.16', - 'hwBgpVpnTunnelSessionTunnelId' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.17', - 'hwBgpVpnTunnelTunnelName' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.18', - 'hwBgpVpnServiceIdTable' => '1.3.6.1.4.1.2011.5.25.177.2.2', - 'hwBgpVpnServiceIdEntry' => '1.3.6.1.4.1.2011.5.25.177.2.2.1', - 'hwBgpVpnServiceIdVrfName' => '1.3.6.1.4.1.2011.5.25.177.2.2.1.1', - 'hwBgpVpnServiceIdValue' => '1.3.6.1.4.1.2011.5.25.177.2.2.1.2', - 'hwBgpVpnScalars' => '1.3.6.1.4.1.2011.5.25.177.2.3', - 'hwConfiguredVrfs' => '1.3.6.1.4.1.2011.5.25.177.2.3.1', - 'hwConfiguredIpv4Vrfs' => '1.3.6.1.4.1.2011.5.25.177.2.3.2', - 'hwConfiguredIpv6Vrfs' => '1.3.6.1.4.1.2011.5.25.177.2.3.3', - 'hwBgpConformance' => '1.3.6.1.4.1.2011.5.25.177.3', - 'hwBgpCompliances' => '1.3.6.1.4.1.2011.5.25.177.3.1', - 'hwBgpGroups' => '1.3.6.1.4.1.2011.5.25.177.3.2', - 'hwBgpVpnConformance' => '1.3.6.1.4.1.2011.5.25.177.5', - 'hwBgpVpnCompliances' => '1.3.6.1.4.1.2011.5.25.177.5.1', - 'hwBgpVpnExtGroups' => '1.3.6.1.4.1.2011.5.25.177.5.2', - 'hwTnl2VpnTrapObjects' => '1.3.6.1.4.1.2011.5.25.177.6', - 'hwTnl2VpnTrapTable' => '1.3.6.1.4.1.2011.5.25.177.6.1', - 'hwTnl2VpnTrapEntry' => '1.3.6.1.4.1.2011.5.25.177.6.1.1', - 'hwVpnId' => '1.3.6.1.4.1.2011.5.25.177.6.1.1.1', - 'hwVpnPublicNextHop' => '1.3.6.1.4.1.2011.5.25.177.6.1.1.2', - 'hwTunnelReachablityEvent' => '1.3.6.1.4.1.2011.5.25.177.6.1.1.3', - 'hwVpnTrapCkeyValue' => '1.3.6.1.4.1.2011.5.25.177.6.1.1.4', - 'hwTnl2VpnTrapConformance' => '1.3.6.1.4.1.2011.5.25.177.7', - 'hwTnl2VpnTrapConformances' => '1.3.6.1.4.1.2011.5.25.177.7.1', - 'hwTnl2VpnTrapGroups' => '1.3.6.1.4.1.2011.5.25.177.7.2', - 'hwTnl2VpnTrapNotification' => '1.3.6.1.4.1.2011.5.25.177.8', - 'hwPeerDistributeObjects' => '1.3.6.1.4.1.2011.5.25.177.9', - 'hwBgpTotalRouteNumber' => '1.3.6.1.4.1.2011.5.25.177.9.1', - 'hwOsNodeTable' => '1.3.6.1.4.1.2011.5.25.177.9.2', - 'hwOsNodeEntry' => '1.3.6.1.4.1.2011.5.25.177.9.2.1', - 'hwCurrSlot' => '1.3.6.1.4.1.2011.5.25.177.9.2.1.1', - 'hwPeerNumber' => '1.3.6.1.4.1.2011.5.25.177.9.2.1.4', - 'hwRouteNumber' => '1.3.6.1.4.1.2011.5.25.177.9.2.1.5', - 'hwDistributeTable' => '1.3.6.1.4.1.2011.5.25.177.9.3', - 'hwDistributeEntry' => '1.3.6.1.4.1.2011.5.25.177.9.3.1', - 'hwDistributeLocId' => '1.3.6.1.4.1.2011.5.25.177.9.3.1.1', - 'hwDistributeName' => '1.3.6.1.4.1.2011.5.25.177.9.3.1.2', - 'hwMigrateSrcSlot' => '1.3.6.1.4.1.2011.5.25.177.9.3.1.3', - 'hwMigrateDestSlot' => '1.3.6.1.4.1.2011.5.25.177.9.3.1.4', - 'hwMigrateReason' => '1.3.6.1.4.1.2011.5.25.177.9.3.1.5', - 'hwMigrateReasonDefinition' => 'HUAWEI-BGP-VPN-MIB::hwMigrateReason', - 'hwPeerDistributeTraps' => '1.3.6.1.4.1.2011.5.25.177.9.4', - 'hwRpkiObjects' => '1.3.6.1.4.1.2011.5.25.177.11', - 'hwRpkiSessions' => '1.3.6.1.4.1.2011.5.25.177.11.1', - 'hwRpkiSessionTable' => '1.3.6.1.4.1.2011.5.25.177.11.1.1', - 'hwRpkiSessionEntry' => '1.3.6.1.4.1.2011.5.25.177.11.1.1.1', - 'hwRpkiSessionVrfName' => '1.3.6.1.4.1.2011.5.25.177.11.1.1.1.1', - 'hwRpkiSessionType' => '1.3.6.1.4.1.2011.5.25.177.11.1.1.1.2', - 'hwSessionIPAddr' => '1.3.6.1.4.1.2011.5.25.177.11.1.1.1.3', - 'hwRpkiSessionRoaLimitNum' => '1.3.6.1.4.1.2011.5.25.177.11.1.1.1.4', - 'hwRpkiTraps' => '1.3.6.1.4.1.2011.5.25.177.11.2', - 'hwRpkiConformance' => '1.3.6.1.4.1.2011.5.25.177.11.3', - 'hwRpkiCompliances' => '1.3.6.1.4.1.2011.5.25.177.11.3.1', - 'hwRpkiGroups' => '1.3.6.1.4.1.2011.5.25.177.11.3.2', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'HUAWEI-BGP-VPN-MIB'} = { - 'hwMigrateReason' => { - '1' => 'memoryoverload', - '2' => 'cpuoverload', - }, - 'HWBgpSafi' => { - '1' => 'unicast', - '2' => 'multicast', - '4' => 'mpls', - '5' => 'mcast-vpn', - '65' => 'vpls', - '66' => 'mdt', - '128' => 'vpn', - '132' => 'route-target', - }, - 'hwBgpPeerAdminStatus' => { - '1' => 'stop', - '2' => 'start', - }, - 'hwBgpPeerSessionReason' => { - '1' => 'configurationLeadPeerDown', - '2' => 'receiveNotification', - '3' => 'receiveErrorPacket', - '4' => 'holdTimerExpire', - '5' => 'remotePeerNotReachable', - '6' => 'directConnectInterfaceDown', - '7' => 'routeLimit', - '8' => 'peerIsNotUpForASpecifiedPeriodOfTime', - '100' => 'alarmClear', - }, - 'hwBgpRouteLimitindex' => { - '1' => 'ipv4', - '2' => 'ipv6', - '3' => 'ipv4vrf', - '4' => 'ipv6vrf', - '5' => 'ipv4public', - '6' => 'ipv6public', - '7' => 'l2ad', - }, - 'hwBgpPeerSessionExtReason' => { - '1' => 'configurationLeadPeerDown', - '2' => 'receiveNotification', - '3' => 'receiveErrorPacket', - '4' => 'holdTimerExpire', - '5' => 'remotePeerNotReachable', - '6' => 'directConnectInterfaceDown', - '7' => 'routeLimit', - '8' => 'peerIsNotUpForASpecifiedPeriodOfTime', - '90' => 'unknown', - '100' => 'alarmClear', - }, - 'HWBgpAfi' => { - '1' => 'ipv4', - '2' => 'ipv6', - '25' => 'vpls', - '196' => 'l2vpn', - }, - 'hwBgpPeerGRStatus' => { - '1' => 'peerNotBeingHelped', - '2' => 'peerRestarting', - '3' => 'peerFinishRestart', - '4' => 'peerHelping', - }, - 'hwBgpPeerState' => { - '1' => 'idle', - '2' => 'connect', - '3' => 'active', - '4' => 'opensent', - '5' => 'openconfirm', - '6' => 'established', - }, - 'hwBgpPeerSessionUnavailableType' => { - '1' => 'uptodown', - '2' => 'alwaysdown', - }, - 'hwBgpPeerSessionExtUnavailableType' => { - '1' => 'uptodown', - '2' => 'alwaysdown', - }, -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIENTITYEXTENTMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIENTITYEXTENTMIB.pm deleted file mode 100644 index 83f40d1..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIENTITYEXTENTMIB.pm +++ /dev/null @@ -1,939 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::HUAWEIENTITYEXTENTMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'HUAWEI-ENTITY-EXTENT-MIB'} = { - url => '', - name => 'HUAWEI-ENTITY-EXTENT-MIB', -}; - -#$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'HUAWEI-ENTITY-EXTENT-MIB'} = - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'HUAWEI-ENTITY-EXTENT-MIB'} = { - 'hwEntityExtentMIB' => '1.3.6.1.4.1.2011.5.25.31', - 'hwEntityExtObjects' => '1.3.6.1.4.1.2011.5.25.31.1', - 'hwEntityState' => '1.3.6.1.4.1.2011.5.25.31.1.1', - 'hwEntityStateTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.1', - 'hwEntityStateEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1', - 'hwEntityAdminStatus' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.1', - 'hwEntityAdminStatusDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::HwAdminState', - 'hwEntityOperStatus' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.2', - 'hwEntityOperStatusDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::HwOperState', - 'hwEntityStandbyStatus' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.3', - 'hwEntityStandbyStatusDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::HwStandbyStatus', - 'hwEntityAlarmLight' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.4', - 'hwEntityAlarmLightDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::HwAlarmStatus', - 'hwEntityCpuUsage' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.5', - 'hwEntityCpuUsageThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.6', - 'hwEntityMemUsage' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.7', - 'hwEntityMemUsageThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.8', - 'hwEntityMemSize' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.9', - 'hwEntityUpTime' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.10', - 'hwEntityTemperature' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.11', - 'hwEntityTemperatureThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.12', - 'hwEntityVoltage' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.13', - 'hwEntityVoltageLowThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.14', - 'hwEntityVoltageHighThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.15', - 'hwEntityTemperatureLowThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.16', - 'hwEntityOpticalPower' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.17', - 'hwEntityCurrent' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.18', - 'hwEntityMemSizeMega' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.19', - 'hwEntityPortType' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.20', - 'hwEntityPortTypeDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityPortType', - 'hwEntityDuplex' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.21', - 'hwEntityDuplexDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityDuplex', - 'hwEntityOpticalPowerRx' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.22', - 'hwEntityCpuUsageLowThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.23', - 'hwEntityBoardPower' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.24', - 'hwEntityCpuFrequency' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.25', - 'hwEntitySupportFlexCard' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.26', - 'hwEntitySupportFlexCardDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntitySupportFlexCard', - 'hwEntityBoardClass' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.27', - 'hwEntityBoardClassDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityBoardClass', - 'hwNseOpmStatus' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.28', - 'hwEntityCpuMaxUsage' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.29', - 'hwEntityCPUType' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.30', - 'hwEntityMemoryType' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.31', - 'hwEntityFlashSize' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.32', - 'hwEntityIfUpTimes' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.33', - 'hwEntityIfDownTimes' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.34', - 'hwEntityCPUAvgUsage' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.35', - 'hwEntityMemoryAvgUsage' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.36', - 'hwEntityMemUsed' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.37', - 'hwEntityTotalFanNum' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.38', - 'hwEntityNomalFanNum' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.39', - 'hwEntityTotalPwrNum' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.40', - 'hwEntityNomalPwrNum' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.41', - 'hwEntityFaultLight' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.42', - 'hwEntityFaultLightDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityFaultLight', - 'hwEntityBoardName' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.43', - 'hwEntityBoardDescription' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.44', - 'hwEntity5MinCpuUsage' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.45', - 'hwEntityStartMode' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.46', - 'hwEntityStartModeDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityStartMode', - 'hwEntitySplitAttribute' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.47', - 'hwEntityFaultLightKeepTime' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.48', - 'hwEntityPbufUsage' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.49', - 'hwEntityTMUsage' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.50', - 'hwEntityHda1Usage' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.51', - 'hwEntityHda1UsageThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.52', - 'hwEntityHda1UsageResumeThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.53', - 'hwEntitySlotID' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.54', - 'hwEntityCpuID' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.55', - 'hwEntityPreviousValue' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.56', - 'hwEntityCurrentValue' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.57', - 'hwEntityChangeValue' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.58', - 'hwEntityChangeValueThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.59', - 'hwEntityModelName' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.60', - 'hwEntityIssueNumber' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.61', - 'hwEntityDeviceStatus' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.62', - 'hwEntityDeviceStatusDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityDeviceStatus', - 'hwEntityPicStatus' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.63', - 'hwEntityPicStatusDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityPicStatus', - 'hwEntityMPUType' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.64', - 'hwEntityMemSizeExt' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.65', - 'hwEntityTemperatureMinorThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.66', - 'hwEntityVoltageFatalHighThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.67', - 'hwEntityVoltageFatalLowThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.68', - 'hwEntityMemCacheUsage' => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.69', - 'hwRUModuleInfoTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.2', - 'hwRUModuleInfoEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.2.1', - 'hwEntityBomId' => '1.3.6.1.4.1.2011.5.25.31.1.1.2.1.1', - 'hwEntityBomEnDesc' => '1.3.6.1.4.1.2011.5.25.31.1.1.2.1.2', - 'hwEntityBomLocalDesc' => '1.3.6.1.4.1.2011.5.25.31.1.1.2.1.3', - 'hwEntityManufacturedDate' => '1.3.6.1.4.1.2011.5.25.31.1.1.2.1.4', - 'hwEntityManufactureCode' => '1.3.6.1.4.1.2011.5.25.31.1.1.2.1.5', - 'hwEntityCLEICode' => '1.3.6.1.4.1.2011.5.25.31.1.1.2.1.6', - 'hwEntityUpdateLog' => '1.3.6.1.4.1.2011.5.25.31.1.1.2.1.7', - 'hwEntityArchivesInfoVersion' => '1.3.6.1.4.1.2011.5.25.31.1.1.2.1.8', - 'hwEntityOpenBomId' => '1.3.6.1.4.1.2011.5.25.31.1.1.2.1.9', - 'hwEntityIssueNum' => '1.3.6.1.4.1.2011.5.25.31.1.1.2.1.10', - 'hwEntityBoardType' => '1.3.6.1.4.1.2011.5.25.31.1.1.2.1.11', - 'hwEntityExInfo' => '1.3.6.1.4.1.2011.5.25.31.1.1.2.1.12', - 'hwEntityModel' => '1.3.6.1.4.1.2011.5.25.31.1.1.2.1.13', - 'hwEntityElabelVersion' => '1.3.6.1.4.1.2011.5.25.31.1.1.2.1.14', - 'hwOpticalModuleInfoTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.3', - 'hwOpticalModuleInfoEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1', - 'hwEntityOpticalMode' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.1', - 'hwEntityOpticalModeDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityOpticalMode', - 'hwEntityOpticalWaveLength' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.2', - 'hwEntityOpticalTransDistance' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.3', - 'hwEntityOpticalVendorSn' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.4', - 'hwEntityOpticalTemperature' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.5', - 'hwEntityOpticalVoltage' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.6', - 'hwEntityOpticalBiasCurrent' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.7', - 'hwEntityOpticalRxPower' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.8', - 'hwEntityOpticalTxPower' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.9', - 'hwEntityOpticalType' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.10', - 'hwEntityOpticalTypeDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityOpticalType', - 'hwEntityOpticalTransBW' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.11', - 'hwEntityOpticalFiberType' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.12', - 'hwEntityOpticalFiberTypeDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityOpticalFiberType', - 'hwEntityOpticalRxLowThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.13', - 'hwEntityOpticalRxHighThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.14', - 'hwEntityOpticalTxLowThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.15', - 'hwEntityOpticalTxHighThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.16', - 'hwEntityOpticalPlug' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.17', - 'hwEntityOpticalPlugDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityOpticalPlug', - 'hwEntityOpticalDirectionType' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.18', - 'hwEntityOpticalDirectionTypeDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityOpticalDirectionType', - 'hwEntityOpticalUserEeprom' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.19', - 'hwEntityOpticalRxLowWarnThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.20', - 'hwEntityOpticalRxHighWarnThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.21', - 'hwEntityOpticalTxLowWarnThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.22', - 'hwEntityOpticalTxHighWarnThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.23', - 'hwEntityOpticalVenderName' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.24', - 'hwEntityOpticalVenderPn' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.25', - 'hwEntityOpticalAuthenticationStatus' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.26', - 'hwEntityOpticalAuthenticationStatusDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityOpticalAuthenticationStatus', - 'hwEntityOpticalTunableType' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.27', - 'hwEntityOpticalTunableTypeDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityOpticalTunableType', - 'hwEntityOpticalWaveLengthDecimal' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.28', - 'hwEntityOpticalTunableModuleChannel' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.29', - 'hwEntityOpticalWaveBand' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.30', - 'hwEntityOpticalWaveBandDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityOpticalWaveBand', - 'hwEntityOpticalLaneBiasCurrent' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.31', - 'hwEntityOpticalLaneRxPower' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.32', - 'hwEntityOpticalLaneTxPower' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.33', - 'hwEntityOpticalVendorOUI' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.34', - 'hwEntityOpticalVendorRev' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.35', - 'hwEntityOpticalGponSN' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.36', - 'hwEntityTransceiverType' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.37', - 'hwEntityOpticalMaxRxPower' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.38', - 'hwEntityOpticalMinRxPower' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.39', - 'hwEntityOpticalMaxTxPower' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.40', - 'hwEntityOpticalMinTxPower' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.41', - 'hwEntityOpticalTransType' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.42', - 'hwEntityOpticalConnectType' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.43', - 'hwEntityOpticalOrderingName' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.44', - 'hwEntityOpticalTransferDistance' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.45', - 'hwEntityOpticalBandWidth' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.46', - 'hwEntityOpticalWaveLengthExact' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.47', - 'hwEntityOpticalModel' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.48', - 'hwEntityOpticalManufacturedDate' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.49', - 'hwEntityOpticalTempLowThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.50', - 'hwEntityOpticalTempHighThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.51', - 'hwEntityOpticalVoltLowThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.52', - 'hwEntityOpticalVoltHighThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.53', - 'hwEntityOpticalBiasLowThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.54', - 'hwEntityOpticalBiasHighThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.55', - 'hwEntityOpticalHuaweiCertified' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.56', - 'hwEntityOpticalSupportDDM' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.57', - 'hwEntityOpticalSupportDDMDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityOpticalSupportDDM', - 'hwEntityOpticalPortName' => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.58', - 'hwMonitorInputTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.4', - 'hwMonitorInputEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.4.1', - 'hwMonitorInputIndex' => '1.3.6.1.4.1.2011.5.25.31.1.1.4.1.1', - 'hwMonitorInputName' => '1.3.6.1.4.1.2011.5.25.31.1.1.4.1.2', - 'hwMonitorInputState' => '1.3.6.1.4.1.2011.5.25.31.1.1.4.1.3', - 'hwMonitorInputStateDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::HWLevelState', - 'hwMonitorInputStateEnable' => '1.3.6.1.4.1.2011.5.25.31.1.1.4.1.4', - 'hwMonitorInputRowStatus' => '1.3.6.1.4.1.2011.5.25.31.1.1.4.1.5', - 'hwMonitorOutputTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.5', - 'hwMonitorOutputEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.5.1', - 'hwMonitorOutputIndex' => '1.3.6.1.4.1.2011.5.25.31.1.1.5.1.1', - 'hwMonitorOutputRuleIndex' => '1.3.6.1.4.1.2011.5.25.31.1.1.5.1.2', - 'hwMonitorOutputMask' => '1.3.6.1.4.1.2011.5.25.31.1.1.5.1.3', - 'hwMonitorOutputKey' => '1.3.6.1.4.1.2011.5.25.31.1.1.5.1.4', - 'hwMonitorOutputRowStatus' => '1.3.6.1.4.1.2011.5.25.31.1.1.5.1.5', - 'hwEntPowerUsedInfoTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.6', - 'hwEntPowerUsedInfoEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.6.1', - 'hwEntPowerUsedInfoBoardName' => '1.3.6.1.4.1.2011.5.25.31.1.1.6.1.1', - 'hwEntPowerUsedInfoBoardType' => '1.3.6.1.4.1.2011.5.25.31.1.1.6.1.2', - 'hwEntPowerUsedInfoBoardSlot' => '1.3.6.1.4.1.2011.5.25.31.1.1.6.1.3', - 'hwEntPowerUsedInfoPower' => '1.3.6.1.4.1.2011.5.25.31.1.1.6.1.4', - 'hwVirtualCableTestTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.7', - 'hwVirtualCableTestEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.7.1', - 'hwVirtualCableTestIfIndex' => '1.3.6.1.4.1.2011.5.25.31.1.1.7.1.1', - 'hwVirtualCableTestPairStatus' => '1.3.6.1.4.1.2011.5.25.31.1.1.7.1.2', - 'hwVirtualCableTestPairStatusDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwVirtualCableTestPairStatus', - 'hwVirtualCableTestPairLength' => '1.3.6.1.4.1.2011.5.25.31.1.1.7.1.3', - 'hwVirtualCableTestOperation' => '1.3.6.1.4.1.2011.5.25.31.1.1.7.1.4', - 'hwVirtualCableTestOperationDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwVirtualCableTestOperation', - 'hwVirtualCableTestLastTime' => '1.3.6.1.4.1.2011.5.25.31.1.1.7.1.5', - 'hwVirtualCableTestPairAStatus' => '1.3.6.1.4.1.2011.5.25.31.1.1.7.1.6', - 'hwVirtualCableTestPairAStatusDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwVirtualCableTestPairAStatus', - 'hwVirtualCableTestPairBStatus' => '1.3.6.1.4.1.2011.5.25.31.1.1.7.1.7', - 'hwVirtualCableTestPairBStatusDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwVirtualCableTestPairBStatus', - 'hwVirtualCableTestPairCStatus' => '1.3.6.1.4.1.2011.5.25.31.1.1.7.1.8', - 'hwVirtualCableTestPairCStatusDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwVirtualCableTestPairCStatus', - 'hwVirtualCableTestPairDStatus' => '1.3.6.1.4.1.2011.5.25.31.1.1.7.1.9', - 'hwVirtualCableTestPairDStatusDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwVirtualCableTestPairDStatus', - 'hwVirtualCableTestPairALength' => '1.3.6.1.4.1.2011.5.25.31.1.1.7.1.10', - 'hwVirtualCableTestPairBLength' => '1.3.6.1.4.1.2011.5.25.31.1.1.7.1.11', - 'hwVirtualCableTestPairCLength' => '1.3.6.1.4.1.2011.5.25.31.1.1.7.1.12', - 'hwVirtualCableTestPairDLength' => '1.3.6.1.4.1.2011.5.25.31.1.1.7.1.13', - 'hwTemperatureThresholdTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.8', - 'hwTemperatureThresholdEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.8.1', - 'hwEntityTempSlotId' => '1.3.6.1.4.1.2011.5.25.31.1.1.8.1.1', - 'hwEntityTempI2CId' => '1.3.6.1.4.1.2011.5.25.31.1.1.8.1.2', - 'hwEntityTempAddr' => '1.3.6.1.4.1.2011.5.25.31.1.1.8.1.3', - 'hwEntityTempChannel' => '1.3.6.1.4.1.2011.5.25.31.1.1.8.1.4', - 'hwEntityTempStatus' => '1.3.6.1.4.1.2011.5.25.31.1.1.8.1.5', - 'hwEntityTempStatusDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityTempStatus', - 'hwEntityTempValue' => '1.3.6.1.4.1.2011.5.25.31.1.1.8.1.6', - 'hwEntityTempMinorAlmThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.8.1.7', - 'hwEntityTempMajorAlmThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.8.1.8', - 'hwEntityTempFatalAlmThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.8.1.9', - 'hwVoltageInfoTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.9', - 'hwVoltageInfoEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.9.1', - 'hwEntityVolSlot' => '1.3.6.1.4.1.2011.5.25.31.1.1.9.1.1', - 'hwEntityVolI2CId' => '1.3.6.1.4.1.2011.5.25.31.1.1.9.1.2', - 'hwEntityVolAddr' => '1.3.6.1.4.1.2011.5.25.31.1.1.9.1.3', - 'hwEntityVolChannel' => '1.3.6.1.4.1.2011.5.25.31.1.1.9.1.4', - 'hwEntityVolStatus' => '1.3.6.1.4.1.2011.5.25.31.1.1.9.1.5', - 'hwEntityVolStatusDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityVolStatus', - 'hwEntityVolRequired' => '1.3.6.1.4.1.2011.5.25.31.1.1.9.1.6', - 'hwEntityVolCurValue' => '1.3.6.1.4.1.2011.5.25.31.1.1.9.1.7', - 'hwEntityVolRatio' => '1.3.6.1.4.1.2011.5.25.31.1.1.9.1.8', - 'hwEntityVolLowAlmMajor' => '1.3.6.1.4.1.2011.5.25.31.1.1.9.1.9', - 'hwEntityVolLowAlmFatal' => '1.3.6.1.4.1.2011.5.25.31.1.1.9.1.10', - 'hwEntityVolHighAlmMajor' => '1.3.6.1.4.1.2011.5.25.31.1.1.9.1.11', - 'hwEntityVolHighAlmFatal' => '1.3.6.1.4.1.2011.5.25.31.1.1.9.1.12', - 'hwFanStatusTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.10', - 'hwFanStatusEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.10.1', - 'hwEntityFanSlot' => '1.3.6.1.4.1.2011.5.25.31.1.1.10.1.1', - 'hwEntityFanSn' => '1.3.6.1.4.1.2011.5.25.31.1.1.10.1.2', - 'hwEntityFanReg' => '1.3.6.1.4.1.2011.5.25.31.1.1.10.1.3', - 'hwEntityFanRegDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityFanReg', - 'hwEntityFanSpdAdjMode' => '1.3.6.1.4.1.2011.5.25.31.1.1.10.1.4', - 'hwEntityFanSpdAdjModeDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityFanSpdAdjMode', - 'hwEntityFanSpeed' => '1.3.6.1.4.1.2011.5.25.31.1.1.10.1.5', - 'hwEntityFanPresent' => '1.3.6.1.4.1.2011.5.25.31.1.1.10.1.6', - 'hwEntityFanPresentDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityFanPresent', - 'hwEntityFanState' => '1.3.6.1.4.1.2011.5.25.31.1.1.10.1.7', - 'hwEntityFanStateDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityFanState', - 'hwEntityFanDesc' => '1.3.6.1.4.1.2011.5.25.31.1.1.10.1.8', - 'hwEntityGlobalPara' => '1.3.6.1.4.1.2011.5.25.31.1.1.11', - 'hwEntityServiceType' => '1.3.6.1.4.1.2011.5.25.31.1.1.11.1', - 'hwEntityServiceTypeDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityServiceType', - 'hwDeviceServiceType' => '1.3.6.1.4.1.2011.5.25.31.1.1.11.2', - 'hwEntityManufacturerOUI' => '1.3.6.1.4.1.2011.5.25.31.1.1.11.3', - 'hwPortBip8StatisticsTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.12', - 'hwPortBip8StatisticsEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.12.1', - 'hwPhysicalPortBip8StatisticsEB' => '1.3.6.1.4.1.2011.5.25.31.1.1.12.1.1', - 'hwPhysicalPortBip8StatisticsES' => '1.3.6.1.4.1.2011.5.25.31.1.1.12.1.2', - 'hwPhysicalPortBip8StatisticsSES' => '1.3.6.1.4.1.2011.5.25.31.1.1.12.1.3', - 'hwPhysicalPortBip8StatisticsUAS' => '1.3.6.1.4.1.2011.5.25.31.1.1.12.1.4', - 'hwPhysicalPortBip8StatisticsBBE' => '1.3.6.1.4.1.2011.5.25.31.1.1.12.1.5', - 'hwPhysicalPortSpeed' => '1.3.6.1.4.1.2011.5.25.31.1.1.12.1.6', - 'hwStorageEntTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.13', - 'hwStorageEntEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.13.1', - 'hwStorageEntIndex' => '1.3.6.1.4.1.2011.5.25.31.1.1.13.1.1', - 'hwStorageEntType' => '1.3.6.1.4.1.2011.5.25.31.1.1.13.1.2', - 'hwStorageEntSpace' => '1.3.6.1.4.1.2011.5.25.31.1.1.13.1.3', - 'hwStorageEntSpaceFree' => '1.3.6.1.4.1.2011.5.25.31.1.1.13.1.4', - 'hwStorageEntName' => '1.3.6.1.4.1.2011.5.25.31.1.1.13.1.5', - 'hwStorageEntDescr' => '1.3.6.1.4.1.2011.5.25.31.1.1.13.1.6', - 'hwSystemPowerTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.14', - 'hwSystemPowerEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.14.1', - 'hwSystemPowerDeviceID' => '1.3.6.1.4.1.2011.5.25.31.1.1.14.1.1', - 'hwSystemPowerTotalPower' => '1.3.6.1.4.1.2011.5.25.31.1.1.14.1.2', - 'hwSystemPowerUsedPower' => '1.3.6.1.4.1.2011.5.25.31.1.1.14.1.3', - 'hwSystemPowerRemainPower' => '1.3.6.1.4.1.2011.5.25.31.1.1.14.1.4', - 'hwSystemPowerReservedPower' => '1.3.6.1.4.1.2011.5.25.31.1.1.14.1.5', - 'hwBatteryInfoTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.15', - 'hwBatteryInfoEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.15.1', - 'hwBatteryState' => '1.3.6.1.4.1.2011.5.25.31.1.1.15.1.1', - 'hwBatteryStateDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwBatteryState', - 'hwBatteryTemperatureLow' => '1.3.6.1.4.1.2011.5.25.31.1.1.15.1.2', - 'hwBatteryTemperatureHigh' => '1.3.6.1.4.1.2011.5.25.31.1.1.15.1.3', - 'hwBatteryRemainPercent' => '1.3.6.1.4.1.2011.5.25.31.1.1.15.1.4', - 'hwBatteryRemainTime' => '1.3.6.1.4.1.2011.5.25.31.1.1.15.1.5', - 'hwBatteryElecTimes' => '1.3.6.1.4.1.2011.5.25.31.1.1.15.1.6', - 'hwBatteryLifeThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.15.1.7', - 'hwGPSLocationInfo' => '1.3.6.1.4.1.2011.5.25.31.1.1.16', - 'hwGPSLongitude' => '1.3.6.1.4.1.2011.5.25.31.1.1.16.1', - 'hwGPSLatitude' => '1.3.6.1.4.1.2011.5.25.31.1.1.16.2', - 'hwGPSVelocity' => '1.3.6.1.4.1.2011.5.25.31.1.1.16.3', - 'hwAdmPortTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.17', - 'hwAdmPortEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.17.1', - 'hwAdmPortDescription' => '1.3.6.1.4.1.2011.5.25.31.1.1.17.1.1', - 'hwPwrStatusTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.18', - 'hwPwrStatusEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.18.1', - 'hwEntityPwrSlot' => '1.3.6.1.4.1.2011.5.25.31.1.1.18.1.1', - 'hwEntityPwrSn' => '1.3.6.1.4.1.2011.5.25.31.1.1.18.1.2', - 'hwEntityPwrReg' => '1.3.6.1.4.1.2011.5.25.31.1.1.18.1.3', - 'hwEntityPwrRegDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityPwrReg', - 'hwEntityPwrMode' => '1.3.6.1.4.1.2011.5.25.31.1.1.18.1.4', - 'hwEntityPwrModeDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityPwrMode', - 'hwEntityPwrPresent' => '1.3.6.1.4.1.2011.5.25.31.1.1.18.1.5', - 'hwEntityPwrPresentDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityPwrPresent', - 'hwEntityPwrState' => '1.3.6.1.4.1.2011.5.25.31.1.1.18.1.6', - 'hwEntityPwrStateDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityPwrState', - 'hwEntityPwrCurrent' => '1.3.6.1.4.1.2011.5.25.31.1.1.18.1.7', - 'hwEntityPwrVoltage' => '1.3.6.1.4.1.2011.5.25.31.1.1.18.1.8', - 'hwEntityPwrDesc' => '1.3.6.1.4.1.2011.5.25.31.1.1.18.1.9', - 'hwEntityPwrPower' => '1.3.6.1.4.1.2011.5.25.31.1.1.18.1.10', - 'hwEntityCpuUsageHistoryTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.19', - 'hwEntityCpuUsageHistoryEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.19.1', - 'hwCpuUsageHistoryIndex' => '1.3.6.1.4.1.2011.5.25.31.1.1.19.1.1', - 'hwCpuUsageHistoryTime' => '1.3.6.1.4.1.2011.5.25.31.1.1.19.1.2', - 'hwCpuUsageHistoryRate' => '1.3.6.1.4.1.2011.5.25.31.1.1.19.1.3', - 'hwEntityMemUsageHistoryTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.20', - 'hwEntityMemUsageHistoryEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.20.1', - 'hwMemUsageHistoryIndex' => '1.3.6.1.4.1.2011.5.25.31.1.1.20.1.1', - 'hwMemUsageHistoryTime' => '1.3.6.1.4.1.2011.5.25.31.1.1.20.1.2', - 'hwMemUsageHistoryRate' => '1.3.6.1.4.1.2011.5.25.31.1.1.20.1.3', - 'hwProcessStateInfo' => '1.3.6.1.4.1.2011.5.25.31.1.1.21', - 'hwProcessName' => '1.3.6.1.4.1.2011.5.25.31.1.1.21.1', - 'hwDiskStateInfo' => '1.3.6.1.4.1.2011.5.25.31.1.1.22', - 'hwDiskType' => '1.3.6.1.4.1.2011.5.25.31.1.1.22.1', - 'hwDiskSN' => '1.3.6.1.4.1.2011.5.25.31.1.1.22.2', - 'hwDiskUsage' => '1.3.6.1.4.1.2011.5.25.31.1.1.22.3', - 'hwDiskUsageThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.22.4', - 'hwDiskSlot' => '1.3.6.1.4.1.2011.5.25.31.1.1.22.5', - 'hwLpuStateInfo' => '1.3.6.1.4.1.2011.5.25.31.1.1.23', - 'hwLPUType' => '1.3.6.1.4.1.2011.5.25.31.1.1.23.1', - 'hwLPUSlot' => '1.3.6.1.4.1.2011.5.25.31.1.1.23.2', - 'hwHardDiskStateTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.24', - 'hwHardDiskStateEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.24.1', - 'hwHardDiskIndex' => '1.3.6.1.4.1.2011.5.25.31.1.1.24.1.1', - 'hwHardDiskSN' => '1.3.6.1.4.1.2011.5.25.31.1.1.24.1.2', - 'hwHardDiskType' => '1.3.6.1.4.1.2011.5.25.31.1.1.24.1.3', - 'hwHardDiskCapacity' => '1.3.6.1.4.1.2011.5.25.31.1.1.24.1.4', - 'hwHardDiskUsage' => '1.3.6.1.4.1.2011.5.25.31.1.1.24.1.5', - 'hwHardDiskUsageThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.24.1.6', - 'hwEntitySDCardUsage' => '1.3.6.1.4.1.2011.5.25.31.1.1.24.1.7', - 'hwEntitySDCardUsageThreshold' => '1.3.6.1.4.1.2011.5.25.31.1.1.24.1.8', - 'hwCfcardStateInfo' => '1.3.6.1.4.1.2011.5.25.31.1.1.25', - 'hwLedConfigInfoPara' => '1.3.6.1.4.1.2011.5.25.31.1.1.26', - 'hwLedConfigStatus' => '1.3.6.1.4.1.2011.5.25.31.1.1.26.1', - 'hwLedTimeRangeName' => '1.3.6.1.4.1.2011.5.25.31.1.1.26.2', - 'hwUsbConfigInfoPara' => '1.3.6.1.4.1.2011.5.25.31.1.1.27', - 'hwUsbConfigStatus' => '1.3.6.1.4.1.2011.5.25.31.1.1.27.1', - 'hwEntityNPStateTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.28', - 'hwEntityNPStateEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.28.1', - 'hwEntityForwardPerformanceUsage' => '1.3.6.1.4.1.2011.5.25.31.1.1.28.1.1', - 'hwUploadDiagnosticsTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.29', - 'hwUploadDiagnosticsEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.29.1', - 'hwUploadDiagnosticsIndex' => '1.3.6.1.4.1.2011.5.25.31.1.1.29.1.1', - 'hwUploadDiagnosticsURL' => '1.3.6.1.4.1.2011.5.25.31.1.1.29.1.2', - 'hwUploadDiagnosticsTransports' => '1.3.6.1.4.1.2011.5.25.31.1.1.29.1.3', - 'hwUploadDiagnosticsDSCP' => '1.3.6.1.4.1.2011.5.25.31.1.1.29.1.4', - 'hwUploadDiagnosticsTestFileSize' => '1.3.6.1.4.1.2011.5.25.31.1.1.29.1.5', - 'hwUploadDiagnosticsProgress' => '1.3.6.1.4.1.2011.5.25.31.1.1.29.1.6', - 'hwUploadDiagnosticsSpeed' => '1.3.6.1.4.1.2011.5.25.31.1.1.29.1.7', - 'hwUploadDiagnosticsStatus' => '1.3.6.1.4.1.2011.5.25.31.1.1.29.1.8', - 'hwUploadDiagnosticsRowStatus' => '1.3.6.1.4.1.2011.5.25.31.1.1.29.1.9', - 'hwDownloadDiagnosticsTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.30', - 'hwDownloadDiagnosticsEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.30.1', - 'hwDownloadDiagnosticsIndex' => '1.3.6.1.4.1.2011.5.25.31.1.1.30.1.1', - 'hwDownloadDiagnosticsURL' => '1.3.6.1.4.1.2011.5.25.31.1.1.30.1.2', - 'hwDownloadDiagnosticsTransports' => '1.3.6.1.4.1.2011.5.25.31.1.1.30.1.3', - 'hwDownloadDiagnosticsDSCP' => '1.3.6.1.4.1.2011.5.25.31.1.1.30.1.4', - 'hwDownloadDiagnosticsProgress' => '1.3.6.1.4.1.2011.5.25.31.1.1.30.1.5', - 'hwDownloadDiagnosticsSpeed' => '1.3.6.1.4.1.2011.5.25.31.1.1.30.1.6', - 'hwDownloadDiagnosticsStatus' => '1.3.6.1.4.1.2011.5.25.31.1.1.30.1.7', - 'hwDownloadDiagnosticsRowStatus' => '1.3.6.1.4.1.2011.5.25.31.1.1.30.1.8', - 'hwIfBandRateTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.31', - 'hwIfBandRateEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.31.1', - 'hwIfBandRateIndex' => '1.3.6.1.4.1.2011.5.25.31.1.1.31.1.1', - 'hwIfBandRateName' => '1.3.6.1.4.1.2011.5.25.31.1.1.31.1.2', - 'hwIfBandRateInput' => '1.3.6.1.4.1.2011.5.25.31.1.1.31.1.3', - 'hwIfBandRateOutput' => '1.3.6.1.4.1.2011.5.25.31.1.1.31.1.4', - 'hwDacsStatusTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.32', - 'hwDacsStatusEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.32.1', - 'hwEntityDacsIndex' => '1.3.6.1.4.1.2011.5.25.31.1.1.32.1.1', - 'hwEntityDacsPresent' => '1.3.6.1.4.1.2011.5.25.31.1.1.32.1.2', - 'hwEntityDacsPresentDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityDacsPresent', - 'hwEntityDacsStatus' => '1.3.6.1.4.1.2011.5.25.31.1.1.32.1.3', - 'hwEntityDacsStatusDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityDacsStatus', - 'hwEntityDacsInSource' => '1.3.6.1.4.1.2011.5.25.31.1.1.32.1.4', - 'hwEntityDacsInVolA' => '1.3.6.1.4.1.2011.5.25.31.1.1.32.1.5', - 'hwEntityDacsInVolB' => '1.3.6.1.4.1.2011.5.25.31.1.1.32.1.6', - 'hwEntityDacsOutVol' => '1.3.6.1.4.1.2011.5.25.31.1.1.32.1.7', - 'hwEntityDacsOutCur' => '1.3.6.1.4.1.2011.5.25.31.1.1.32.1.8', - 'hwEntityDacsOutStatus' => '1.3.6.1.4.1.2011.5.25.31.1.1.32.1.9', - 'hwEntityDacsOutStatusDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityDacsOutStatus', - 'hwEntityDacsDesc' => '1.3.6.1.4.1.2011.5.25.31.1.1.32.1.10', - 'hwBoardDcOutputStateTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.33', - 'hwBoardDcOutputStateEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.33.1', - 'hwBoardDcOutputLineIndex' => '1.3.6.1.4.1.2011.5.25.31.1.1.33.1.1', - 'hwBoardDcOutputState' => '1.3.6.1.4.1.2011.5.25.31.1.1.33.1.2', - 'hwBoardDcOutputInfoTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.34', - 'hwBoardDcOutputInfoEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.34.1', - 'hwBoardDcOutputTypeIndex' => '1.3.6.1.4.1.2011.5.25.31.1.1.34.1.1', - 'hwBoardDcOutputVoltage' => '1.3.6.1.4.1.2011.5.25.31.1.1.34.1.2', - 'hwBoardDcOutputCurrent' => '1.3.6.1.4.1.2011.5.25.31.1.1.34.1.3', - 'hwBoardDcOutputPower' => '1.3.6.1.4.1.2011.5.25.31.1.1.34.1.4', - 'hwBoardAcOutputStateTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.35', - 'hwBoardAcOutputStateEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.35.1', - 'hwBoardAcOutputLineIndex' => '1.3.6.1.4.1.2011.5.25.31.1.1.35.1.1', - 'hwBoardAcOutputState' => '1.3.6.1.4.1.2011.5.25.31.1.1.35.1.2', - 'hwAlarmConfigTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.36', - 'hwAlarmResendInterval' => '1.3.6.1.4.1.2011.5.25.31.1.1.36.1', - 'hwApInfoTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.37', - 'hwApInfoEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.37.1', - 'hwEntityApid' => '1.3.6.1.4.1.2011.5.25.31.1.1.37.1.1', - 'hwEntityApIndex' => '1.3.6.1.4.1.2011.5.25.31.1.1.37.1.2', - 'hwEntityApName' => '1.3.6.1.4.1.2011.5.25.31.1.1.37.1.3', - 'hwEntityApMemUsage' => '1.3.6.1.4.1.2011.5.25.31.1.1.37.1.4', - 'hwEntityApCpuUsage' => '1.3.6.1.4.1.2011.5.25.31.1.1.37.1.5', - 'hwIntegratedPowerSystemTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.38', - 'hwIntegratedPowerSystemEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.38.1', - 'hwIntegratedPowerSoftwareVersion' => '1.3.6.1.4.1.2011.5.25.31.1.1.38.1.1', - 'hwIntegratedPowerHardwareVersion' => '1.3.6.1.4.1.2011.5.25.31.1.1.38.1.2', - 'hwIntegratedPowerTable' => '1.3.6.1.4.1.2011.5.25.31.1.1.39', - 'hwIntegratedPowerEntry' => '1.3.6.1.4.1.2011.5.25.31.1.1.39.1', - 'hwIntegratedPowerEnergyWorkmode' => '1.3.6.1.4.1.2011.5.25.31.1.1.39.1.1', - 'hwIntegratedPowerEnergyWorkmodeDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwIntegratedPowerEnergyWorkmode', - 'hwIntegratedPowerTotalInputPower' => '1.3.6.1.4.1.2011.5.25.31.1.1.39.1.2', - 'hwIntegratedPower12VDCOutVoltStatus' => '1.3.6.1.4.1.2011.5.25.31.1.1.39.1.3', - 'hwIntegratedPower12VDCOutVoltStatusDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwIntegratedPower12VDCOutVoltStatus', - 'hwIntegratedPower24VACOutVolt' => '1.3.6.1.4.1.2011.5.25.31.1.1.39.1.4', - 'hwIntegratedPower24VACOutCurrent' => '1.3.6.1.4.1.2011.5.25.31.1.1.39.1.5', - 'hwIntegratedPower53VDCOutVoltStatus' => '1.3.6.1.4.1.2011.5.25.31.1.1.39.1.6', - 'hwIntegratedPower53VDCOutVoltStatusDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwIntegratedPower53VDCOutVoltStatus', - 'hwIntegratedPowerACInputVoltStatus' => '1.3.6.1.4.1.2011.5.25.31.1.1.39.1.7', - 'hwIntegratedPowerACInputVoltStatusDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwIntegratedPowerACInputVoltStatus', - 'hwIntegratedPowerRebootPower' => '1.3.6.1.4.1.2011.5.25.31.1.1.39.1.8', - 'hwIntegratedPowerRebootPowerDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwIntegratedPowerRebootPower', - 'hwEntityPhysicalSpecTable' => '1.3.6.1.4.1.2011.5.25.31.1.2', - 'hwEntityPhysicalSpecRack' => '1.3.6.1.4.1.2011.5.25.31.1.2.1', - 'hwEntityPhysicalSpecFrame' => '1.3.6.1.4.1.2011.5.25.31.1.2.2', - 'hwEntityPhysicalSpecSlot' => '1.3.6.1.4.1.2011.5.25.31.1.2.3', - 'hwEntityPhysicalSpecBoard' => '1.3.6.1.4.1.2011.5.25.31.1.2.4', - 'hwEntityPhysicalSpecSubSlot' => '1.3.6.1.4.1.2011.5.25.31.1.2.5', - 'hwEntityPhysicalSpecSubBoard' => '1.3.6.1.4.1.2011.5.25.31.1.2.6', - 'hwEntityPhysicalSpecPort' => '1.3.6.1.4.1.2011.5.25.31.1.2.7', - 'hwEntityPhysicalSpecEmu' => '1.3.6.1.4.1.2011.5.25.31.1.2.8', - 'hwEntityPhysicalSpecPowerframe' => '1.3.6.1.4.1.2011.5.25.31.1.2.9', - 'hwEntityPhysicalSpecPowermodule' => '1.3.6.1.4.1.2011.5.25.31.1.2.10', - 'hwEntityPhysicalSpecBattery' => '1.3.6.1.4.1.2011.5.25.31.1.2.11', - 'hwEntityExtTraps' => '1.3.6.1.4.1.2011.5.25.31.2', - 'hwEntityExtTrapsPrefix' => '1.3.6.1.4.1.2011.5.25.31.2.0', - 'hwEntityExtTrapObject' => '1.3.6.1.4.1.2011.5.25.31.2.1', - 'hwEntityExtTrapBaseSoftwareVersion' => '1.3.6.1.4.1.2011.5.25.31.2.1.1', - 'hwEntityExtTrapBoardSoftwareVersion' => '1.3.6.1.4.1.2011.5.25.31.2.1.2', - 'hwPhysicalName' => '1.3.6.1.4.1.2011.5.25.31.2.1.3', - 'hwEntityExtTrapBoardSlotID' => '1.3.6.1.4.1.2011.5.25.31.2.1.4', - 'hwEntityExtTrapUnitID' => '1.3.6.1.4.1.2011.5.25.31.2.1.5', - 'hwEntityExtTrapHigPortID' => '1.3.6.1.4.1.2011.5.25.31.2.1.6', - 'hwEntityExtTrapChannelCurUsage' => '1.3.6.1.4.1.2011.5.25.31.2.1.7', - 'hwEntityExtTrapChannelThreshold' => '1.3.6.1.4.1.2011.5.25.31.2.1.8', - 'hwEntityExtTrapPeerBoardSlotID' => '1.3.6.1.4.1.2011.5.25.31.2.1.9', - 'hwEntityExtTrapErrorPacketStatistics' => '1.3.6.1.4.1.2011.5.25.31.2.1.10', - 'hwEntityExtTrapErrorPacketThreshold' => '1.3.6.1.4.1.2011.5.25.31.2.1.11', - 'hwEntityExtTrapHigStateChangeTimes' => '1.3.6.1.4.1.2011.5.25.31.2.1.12', - 'hwEntityExtTrapMonitorInterval' => '1.3.6.1.4.1.2011.5.25.31.2.1.13', - 'hwEntityExtTrapBoardDropRuntPktStatistics' => '1.3.6.1.4.1.2011.5.25.31.2.1.14', - 'hwEntityExtTrapBoardDropRuntPktTimeInterval' => '1.3.6.1.4.1.2011.5.25.31.2.1.15', - 'hwEntityExtTrapDiscardNumber' => '1.3.6.1.4.1.2011.5.25.31.2.1.16', - 'hwEntityExtTrapThreshold' => '1.3.6.1.4.1.2011.5.25.31.2.1.17', - 'hwEntityExtTrapInterval' => '1.3.6.1.4.1.2011.5.25.31.2.1.18', - 'hwEntityExtTrap' => '1.3.6.1.4.1.2011.5.25.31.2.2', - 'hwDevicePowerInfoObjects' => '1.3.6.1.4.1.2011.5.25.31.3', - 'hwDevicePowerInfoTotalPower' => '1.3.6.1.4.1.2011.5.25.31.3.1', - 'hwDevicePowerInfoUsedPower' => '1.3.6.1.4.1.2011.5.25.31.3.2', - 'hwEntityExtConformance' => '1.3.6.1.4.1.2011.5.25.31.4', - 'hwEntityExtCompliances' => '1.3.6.1.4.1.2011.5.25.31.4.1', - 'hwEntityExtGroups' => '1.3.6.1.4.1.2011.5.25.31.4.2', - 'hwPnpObjects' => '1.3.6.1.4.1.2011.5.25.31.5', - 'hwPnpInfo' => '1.3.6.1.4.1.2011.5.25.31.5.1', - 'hwHardwareCapaSequenceNo' => '1.3.6.1.4.1.2011.5.25.31.5.1.1', - 'hwAlarmPnPSequenceNo' => '1.3.6.1.4.1.2011.5.25.31.5.1.2', - 'hwPnpTraps' => '1.3.6.1.4.1.2011.5.25.31.5.2', - 'hwPnpOperateTable' => '1.3.6.1.4.1.2011.5.25.31.5.3', - 'hwPnpOperateEntry' => '1.3.6.1.4.1.2011.5.25.31.5.3.1', - 'hwFileGeneIndex' => '1.3.6.1.4.1.2011.5.25.31.5.3.1.1', - 'hwFileGeneOperState' => '1.3.6.1.4.1.2011.5.25.31.5.3.1.2', - 'hwFileGeneOperStateDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwFileGeneOperState', - 'hwFileGeneResourceType' => '1.3.6.1.4.1.2011.5.25.31.5.3.1.3', - 'hwFileGeneResourceTypeDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwFileGeneResourceType', - 'hwFileGeneResourceID' => '1.3.6.1.4.1.2011.5.25.31.5.3.1.4', - 'hwFileGeneDestinationFile' => '1.3.6.1.4.1.2011.5.25.31.5.3.1.5', - 'hwFileGeneRowStatus' => '1.3.6.1.4.1.2011.5.25.31.5.3.1.6', - 'hwSystemGlobalObjects' => '1.3.6.1.4.1.2011.5.25.31.6', - 'hwEntitySystemNetID' => '1.3.6.1.4.1.2011.5.25.31.6.1', - 'hwEntitySoftwareName' => '1.3.6.1.4.1.2011.5.25.31.6.2', - 'hwEntitySoftwareVersion' => '1.3.6.1.4.1.2011.5.25.31.6.3', - 'hwEntitySoftwareVendor' => '1.3.6.1.4.1.2011.5.25.31.6.4', - 'hwEntitySystemModel' => '1.3.6.1.4.1.2011.5.25.31.6.5', - 'hwEntitySystemTime' => '1.3.6.1.4.1.2011.5.25.31.6.6', - 'hwEntitySystemMacAddress' => '1.3.6.1.4.1.2011.5.25.31.6.7', - 'hwEntitySystemReset' => '1.3.6.1.4.1.2011.5.25.31.6.8', - 'hwEntitySystemResetDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntitySystemReset', - 'hwEntitySystemHealthInterval' => '1.3.6.1.4.1.2011.5.25.31.6.9', - 'hwEntitySystemNEId' => '1.3.6.1.4.1.2011.5.25.31.6.10', - 'hwEntitySystemServiceType' => '1.3.6.1.4.1.2011.5.25.31.6.11', - 'hwHeartbeatObjects' => '1.3.6.1.4.1.2011.5.25.31.7', - 'hwHeartbeatConfig' => '1.3.6.1.4.1.2011.5.25.31.7.1', - 'hwEntityHeartbeatOnOff' => '1.3.6.1.4.1.2011.5.25.31.7.1.1', - 'hwEntityHeartbeatOnOffDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityHeartbeatOnOff', - 'hwEntityHeartbeatPeriod' => '1.3.6.1.4.1.2011.5.25.31.7.1.2', - 'hwHeartbeatTrapPrefix' => '1.3.6.1.4.1.2011.5.25.31.7.2', - 'hwPreDisposeObjects' => '1.3.6.1.4.1.2011.5.25.31.8', - 'hwPreDisposeInfo' => '1.3.6.1.4.1.2011.5.25.31.8.1', - 'hwPreDisposeSequenceNo' => '1.3.6.1.4.1.2011.5.25.31.8.1.1', - 'hwPreDisposedTraps' => '1.3.6.1.4.1.2011.5.25.31.8.2', - 'hwPreDisposeConfigTable' => '1.3.6.1.4.1.2011.5.25.31.8.3', - 'hwPreDisposeConfigEntry' => '1.3.6.1.4.1.2011.5.25.31.8.3.1', - 'hwDisposeSlot' => '1.3.6.1.4.1.2011.5.25.31.8.3.1.1', - 'hwDisposeCardId' => '1.3.6.1.4.1.2011.5.25.31.8.3.1.2', - 'hwDisposeSbom' => '1.3.6.1.4.1.2011.5.25.31.8.3.1.3', - 'hwDisposeRowStatus' => '1.3.6.1.4.1.2011.5.25.31.8.3.1.4', - 'hwDisposeOperState' => '1.3.6.1.4.1.2011.5.25.31.8.3.1.5', - 'hwDisposeOperStateDefinition' => 'HUAWEI-ENTITY-EXTENT-MIB::hwDisposeOperState', - 'hwPreDisposeEntInfoTable' => '1.3.6.1.4.1.2011.5.25.31.8.4', - 'hwPreDisposeEntInfoEntry' => '1.3.6.1.4.1.2011.5.25.31.8.4.1', - 'hwDisposeEntPhysicalIndex' => '1.3.6.1.4.1.2011.5.25.31.8.4.1.1', - 'hwDisposeEntPhysicalDescr' => '1.3.6.1.4.1.2011.5.25.31.8.4.1.2', - 'hwDisposeEntPhysicalVendorType' => '1.3.6.1.4.1.2011.5.25.31.8.4.1.3', - 'hwDisposeEntPhysicalContainedIn' => '1.3.6.1.4.1.2011.5.25.31.8.4.1.4', - 'hwDisposeEntPhysicalClass' => '1.3.6.1.4.1.2011.5.25.31.8.4.1.5', - 'hwDisposeEntPhysicalParentRelPos' => '1.3.6.1.4.1.2011.5.25.31.8.4.1.6', - 'hwDisposeEntPhysicalName' => '1.3.6.1.4.1.2011.5.25.31.8.4.1.7', - 'hwOSPUnifyManageObjects' => '1.3.6.1.4.1.2011.5.25.31.9', - 'hwEntityExtOSPTrapsPrefix' => '1.3.6.1.4.1.2011.5.25.31.9.1', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'HUAWEI-ENTITY-EXTENT-MIB'} = { - 'hwEntityPortType' => { - '1' => 'notSupported', - '2' => 'copper', - '3' => 'fiber100', - '4' => 'fiber1000', - '5' => 'fiber10000', - '6' => 'opticalnotExist', - '7' => 'optical', - }, - 'hwDisposeOperState' => { - '1' => 'opSuccess', - '2' => 'opInProgress', - '3' => 'opDevNotSupportPredispose', - '4' => 'opCardNotSupportPredispose', - '5' => 'opAlreadyPredispose', - '6' => 'opCardConflict', - '7' => 'opDevOperationError', - }, - 'hwVirtualCableTestPairCStatus' => { - '1' => 'normal', - '2' => 'abnormalOpen', - '3' => 'abnormalShort', - '4' => 'abnormalOpenShort', - '5' => 'abnormalCrossTalk', - '6' => 'unknown', - '7' => 'notSupport', - }, - 'hwEntityServiceType' => { - '1' => 'sslvpn', - '2' => 'firewall', - '3' => 'loadBalance', - '4' => 'ipsec', - '5' => 'netstream', - '6' => 'wlan', - }, - 'hwVirtualCableTestOperation' => { - '1' => 'startTest', - '2' => 'resetTestValue', - '3' => 'readyStartTest', - }, - 'HwAlarmStatus' => sub { - my $value = shift; - my %conditions = ( - 0 => "notSupported", - 1 => "underRepair", - 2 => "critical", - 3 => "major", - 4 => "minor", - 5 => "alarmOutstanding", - 6 => "warning", - 7 => "indeterminate" - ); - my @errors = (); - my $binary_string = unpack("B*", $value); - for my $bit_pos (0..scalar(keys %conditions)-1) { - my $condition = $conditions{$bit_pos}; - my $bit_value = substr($binary_string, -$bit_pos-1, 1); - if ($bit_value == 1) { - push(@errors, $condition); - } - } - return join(",", @errors); - }, - 'hwEntityPwrState' => { - '1' => 'supply', - '2' => 'notSupply', - '3' => 'sleep', - '4' => 'unknown', - }, - 'hwEntitySystemReset' => { - '1' => 'normal', - '2' => 'restart', - }, - 'HwOperState' => { - '1' => 'notSupported', - '2' => 'disabled', - '3' => 'enabled', - '4' => 'offline', - '11' => 'up', - '12' => 'down', - '13' => 'connect', - '15' => 'protocolUp', - '16' => 'linkUp', - '17' => 'linkDown', - '18' => 'present', - '19' => 'absent', - }, - 'hwEntityDacsOutStatus' => { - '1' => 'on', - '2' => 'off', - }, - 'hwEntityPwrReg' => { - '1' => 'yes', - '2' => 'no', - }, - 'hwVirtualCableTestPairAStatus' => { - '1' => 'normal', - '2' => 'abnormalOpen', - '3' => 'abnormalShort', - '4' => 'abnormalOpenShort', - '5' => 'abnormalCrossTalk', - '6' => 'unknown', - '7' => 'notSupport', - }, - 'hwEntityBoardClass' => { - '1' => 'notSupported', - '2' => 'mpu', - '3' => 'lpu', - '4' => 'sfu', - '5' => 'icu', - '6' => 'ecu', - '7' => 'fan', - '8' => 'power', - '9' => 'lcd', - '10' => 'pmu', - '11' => 'cmu', - }, - 'hwEntityPwrPresent' => { - '1' => 'present', - '2' => 'absent', - }, - 'HWLevelState' => { - '1' => 'lowLevel', - '2' => 'highLevel', - }, - 'hwEntityDeviceStatus' => { - '0' => 'notSupported', - '1' => 'normal', - '2' => 'abnormal', - }, - 'hwEntityFanSpdAdjMode' => { - '1' => 'auto', - '2' => 'manual', - '3' => 'unknown', - '4' => 'silent', - '11' => 'denoise', - }, - 'hwVirtualCableTestPairBStatus' => { - '1' => 'normal', - '2' => 'abnormalOpen', - '3' => 'abnormalShort', - '4' => 'abnormalOpenShort', - '5' => 'abnormalCrossTalk', - '6' => 'unknown', - '7' => 'notSupport', - }, - 'hwEntityStartMode' => { - '1' => 'notSupported', - '2' => 'cold', - '3' => 'warm', - '4' => 'unknown', - }, - 'hwEntityOpticalSupportDDM' => { - '0' => 'support', - '1' => 'notSupport', - }, - 'hwEntityFanPresent' => { - '1' => 'present', - '2' => 'absent', - }, - 'hwIntegratedPowerACInputVoltStatus' => { - '0' => 'normal', - '1' => 'abnormal', - }, - 'hwEntityOpticalFiberType' => { - '0' => 'unknown', - '1' => 'sc', - '2' => 'style1CopperConnector', - '3' => 'style2CopperConnector', - '4' => 'bncTnc', - '5' => 'coaxialHeaders', - '6' => 'fiberJack', - '7' => 'lc', - '8' => 'mtRj', - '9' => 'mu', - '10' => 'sg', - '11' => 'opticalPigtail', - '12' => 'mpo', - '20' => 'hssdcII', - '21' => 'copperPigtail', - }, - 'hwEntityFanState' => { - '1' => 'normal', - '2' => 'abnormal', - }, - 'hwBatteryState' => { - '1' => 'charge', - '2' => 'discharge', - '3' => 'full', - '4' => 'abnormal', - }, - 'hwEntityOpticalTunableType' => { - '1' => 'notSupported', - '2' => 'notTunable', - '3' => 'tunable', - '4' => 'supportTunableType', - }, - 'hwEntityPicStatus' => { - '0' => 'notSupported', - '1' => 'registered', - '2' => 'online', - '3' => 'unregistered', - '4' => 'failed', - }, - 'hwEntityDacsPresent' => { - '1' => 'present', - '2' => 'absent', - }, - 'hwEntityOpticalType' => { - '0' => 'unknown', - '1' => 'sc', - '2' => 'gbic', - '3' => 'sfp', - '4' => 'esfp', - '5' => 'rj45', - '6' => 'xfp', - '7' => 'xenpak', - '8' => 'transponder', - '9' => 'cfp', - '10' => 'smb', - '11' => 'sfpplus', - '12' => 'cxp', - '13' => 'qsfp', - '14' => 'qsfpplus', - '15' => 'cfp2', - '16' => 'dwdmsfp', - '17' => 'msa100glh', - '18' => 'gps', - '19' => 'csfp', - '20' => 'cfp4', - '21' => 'qsfp28', - '22' => 'sfpsfpplus', - '23' => 'gponsfp', - '24' => 'cfp8', - '25' => 'sfp28', - '26' => 'qsfpdd', - '27' => 'cfp2dco', - }, - 'hwEntityFanReg' => { - '1' => 'yes', - '2' => 'no', - }, - 'hwEntityOpticalAuthenticationStatus' => { - '0' => 'unknown', - '1' => 'authenticated', - '2' => 'unauthenticated', - }, - 'hwFileGeneOperState' => { - '1' => 'opInProgress', - '2' => 'opSuccess', - '3' => 'opGetFileError', - '4' => 'opInvalidDestName', - '5' => 'opNoFlashSpace', - '6' => 'opWriteFileError', - '7' => 'opDestoryError', - }, - 'hwEntityOpticalWaveBand' => { - '0' => 'unknown', - '1' => 'clBand', - '2' => 'cBand', - '3' => 'lBand', - '4' => 'c32Band', - '5' => 'ramancBand', - '6' => 'ramanlBand', - '7' => 'cwdmBand', - '8' => 'smcBand', - '9' => 'c96bBand', - '10' => 'c192bBand', - }, - 'hwEntityHeartbeatOnOff' => { - '1' => 'on', - '2' => 'off', - }, - 'hwIntegratedPower12VDCOutVoltStatus' => { - '0' => 'normal', - '1' => 'abnormal', - }, - 'hwVirtualCableTestPairDStatus' => { - '1' => 'normal', - '2' => 'abnormalOpen', - '3' => 'abnormalShort', - '4' => 'abnormalOpenShort', - '5' => 'abnormalCrossTalk', - '6' => 'unknown', - '7' => 'notSupport', - }, - 'hwEntityPwrMode' => { - '1' => 'unknown', - '2' => 'dc', - '3' => 'ac', - '4' => 'hvdc', - }, - 'hwVirtualCableTestPairStatus' => { - '1' => 'normal', - '2' => 'abnormalOpen', - '3' => 'abnormalShort', - '4' => 'abnormalOpenShort', - '5' => 'abnormalCrossTalk', - '6' => 'unknown', - '7' => 'notSupport', - }, - 'hwIntegratedPowerRebootPower' => { - '1' => 'reset', - }, - 'HwStandbyStatus' => { - '1' => 'notSupported', - '2' => 'hotStandby', - '3' => 'coldStandby', - '4' => 'providingService', - }, - 'hwEntityOpticalDirectionType' => { - '1' => 'notSupported', - '2' => 'twoFiberBidirection', - '3' => 'oneFiberBidirection', - '4' => 'twoFiberTwoPortBidirection', - }, - 'HwAdminState' => { - '1' => 'notSupported', - '2' => 'locked', - '3' => 'shuttingDown', - '4' => 'unlocked', - '11' => 'up', - '12' => 'down', - '13' => 'loopback', - }, - 'hwEntitySupportFlexCard' => { - '1' => 'notSupported', - '2' => 'flexible', - '3' => 'unflexible', - '4' => 'dummy', - }, - 'hwIntegratedPower53VDCOutVoltStatus' => { - '0' => 'normal', - '1' => 'abnormal', - }, - 'hwFileGeneResourceType' => { - '1' => 'pnpcard', - '2' => 'pnpsubcard', - '3' => 'pnphardcapability', - '4' => 'pnpPreDisposeCapability', - '5' => 'pnpframe', - '6' => 'pnpdevtype', - '7' => 'pnpalarm', - }, - 'hwEntityVolStatus' => { - '0' => 'abnormal', - '1' => 'normal', - '2' => 'major', - '3' => 'fatal', - }, - 'hwEntityDacsStatus' => { - '1' => 'normal', - '2' => 'abnormal', - }, - 'hwEntityDuplex' => { - '1' => 'notSupported', - '2' => 'full', - '3' => 'half', - }, - 'hwIntegratedPowerEnergyWorkmode' => { - '0' => 'hybridPower500', - '1' => 'mainsPower500', - }, - 'hwEntityTempStatus' => { - '1' => 'normal', - '2' => 'minor', - '3' => 'major', - '4' => 'fatal', - }, - 'hwEntityFaultLight' => { - '1' => 'notSupported', - '2' => 'normal', - '3' => 'underRepair', - }, - 'hwEntityOpticalPlug' => { - '0' => 'notSupported', - '1' => 'true', - '2' => 'false', - }, - 'hwEntityOpticalMode' => { - '1' => 'notSupported', - '2' => 'singleMode', - '3' => 'multiMode5', - '4' => 'multiMode6', - '5' => 'noValue', - '6' => 'gpsMode', - '7' => 'copperMode', - '8' => 'singleAndmultiMode', - }, -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIL2MAMMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIL2MAMMIB.pm deleted file mode 100644 index ce064d2..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIL2MAMMIB.pm +++ /dev/null @@ -1,557 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::HUAWEIL2MAMMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'HUAWEI-L2MAM-MIB'} = { - url => '', - name => 'HUAWEI-L2MAM-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'HUAWEI-L2MAM-MIB'} = - '1.3.6.1.4.1.2011.5.25.42.2'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'HUAWEI-L2MAM-MIB'} = { - 'hwL2MAM' => '1.3.6.1.4.1.2011.5.25.42.2', - 'hwL2MAMObjects' => '1.3.6.1.4.1.2011.5.25.42.2.1', - 'hwL2MaxMacLimit' => '1.3.6.1.4.1.2011.5.25.42.2.1.1', - 'hwdbCfgFdbTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.2', - 'hwdbCfgFdbEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.2.1', - 'hwCfgFdbMac' => '1.3.6.1.4.1.2011.5.25.42.2.1.2.1.1', - 'hwCfgFdbVlanId' => '1.3.6.1.4.1.2011.5.25.42.2.1.2.1.2', - 'hwCfgFdbVsiName' => '1.3.6.1.4.1.2011.5.25.42.2.1.2.1.3', - 'hwCfgFdbPort' => '1.3.6.1.4.1.2011.5.25.42.2.1.2.1.4', - 'hwCfgFdbType' => '1.3.6.1.4.1.2011.5.25.42.2.1.2.1.5', - 'hwCfgFdbTypeDefinition' => 'HUAWEI-L2MAM-MIB::hwCfgFdbType', - 'hwCfgFdbRowstatus' => '1.3.6.1.4.1.2011.5.25.42.2.1.2.1.6', - 'hwCfgFdbAtmPort' => '1.3.6.1.4.1.2011.5.25.42.2.1.2.1.7', - 'hwCfgFdbVpi' => '1.3.6.1.4.1.2011.5.25.42.2.1.2.1.8', - 'hwCfgFdbVci' => '1.3.6.1.4.1.2011.5.25.42.2.1.2.1.9', - 'hwCfgFdbCeDefault' => '1.3.6.1.4.1.2011.5.25.42.2.1.2.1.10', - 'hwCfgFdbCeDefaultDefinition' => 'HUAWEI-L2MAM-MIB::hwCfgFdbCeDefault', - 'hwdbDynFdbTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.3', - 'hwdbDynFdbEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.3.1', - 'hwDynFdbMac' => '1.3.6.1.4.1.2011.5.25.42.2.1.3.1.1', - 'hwDynFdbVlanId' => '1.3.6.1.4.1.2011.5.25.42.2.1.3.1.2', - 'hwDynFdbVsiName' => '1.3.6.1.4.1.2011.5.25.42.2.1.3.1.3', - 'hwDynFdbPort' => '1.3.6.1.4.1.2011.5.25.42.2.1.3.1.4', - 'hwDynFdbAtmPort' => '1.3.6.1.4.1.2011.5.25.42.2.1.3.1.5', - 'hwDynFdbVpi' => '1.3.6.1.4.1.2011.5.25.42.2.1.3.1.6', - 'hwDynFdbVci' => '1.3.6.1.4.1.2011.5.25.42.2.1.3.1.7', - 'hwDynFdbRowstatus' => '1.3.6.1.4.1.2011.5.25.42.2.1.3.1.8', - 'hwDynSecurityFdbToStaticEnable' => '1.3.6.1.4.1.2011.5.25.42.2.1.3.1.9', - 'hwMacLimitTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.4', - 'hwMacLimitEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.4.1', - 'hwMacLimitPort' => '1.3.6.1.4.1.2011.5.25.42.2.1.4.1.1', - 'hwMacLimitVlanId' => '1.3.6.1.4.1.2011.5.25.42.2.1.4.1.2', - 'hwMacLimitVsiName' => '1.3.6.1.4.1.2011.5.25.42.2.1.4.1.3', - 'hwMacLimitMaxMac' => '1.3.6.1.4.1.2011.5.25.42.2.1.4.1.4', - 'hwMacLimitMaxRate' => '1.3.6.1.4.1.2011.5.25.42.2.1.4.1.5', - 'hwMacLimitAction' => '1.3.6.1.4.1.2011.5.25.42.2.1.4.1.6', - 'hwMacLimitActionDefinition' => 'HUAWEI-L2MAM-MIB::hwMacLimitAction', - 'hwMacLimitAlarm' => '1.3.6.1.4.1.2011.5.25.42.2.1.4.1.7', - 'hwMacLimitAlarmDefinition' => 'HUAWEI-L2MAM-MIB::hwMacLimitAlarm', - 'hwMacLimitRowstatus' => '1.3.6.1.4.1.2011.5.25.42.2.1.4.1.8', - 'hwMacAddressLearn' => '1.3.6.1.4.1.2011.5.25.42.2.1.4.1.9', - 'hwMacAddressLearnDefinition' => 'HUAWEI-L2MAM-MIB::hwMacAddressLearn', - 'hwMacDynAddressLearnNum' => '1.3.6.1.4.1.2011.5.25.42.2.1.4.1.10', - 'hwMacSecureAddressLearnNum' => '1.3.6.1.4.1.2011.5.25.42.2.1.4.1.11', - 'hwMacLimitBdId' => '1.3.6.1.4.1.2011.5.25.42.2.1.4.1.12', - 'hwMacLimitEVPName' => '1.3.6.1.4.1.2011.5.25.42.2.1.4.1.13', - 'hwMacUsageTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.5', - 'hwMacUsageEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.5.1', - 'hwMacEntityUsage' => '1.3.6.1.4.1.2011.5.25.42.2.1.5.1.1', - 'hwMacEntityUsageThreshold' => '1.3.6.1.4.1.2011.5.25.42.2.1.5.1.2', - 'hwdbCfg3tupleFdbTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.6', - 'hwdbCfg3tupleFdbEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.6.1', - 'hwdbCfg3tupleFdbMac' => '1.3.6.1.4.1.2011.5.25.42.2.1.6.1.1', - 'hwdbCfg3tupleFdbVlanId' => '1.3.6.1.4.1.2011.5.25.42.2.1.6.1.2', - 'hwdbCfg3tupleFdbInPort' => '1.3.6.1.4.1.2011.5.25.42.2.1.6.1.3', - 'hwdbCfg3tupleFdbOutPort' => '1.3.6.1.4.1.2011.5.25.42.2.1.6.1.4', - 'hwdbCfg3tupleFdbRowStatus' => '1.3.6.1.4.1.2011.5.25.42.2.1.6.1.5', - 'hwL2MacTraps' => '1.3.6.1.4.1.2011.5.25.42.2.1.7', - 'hwUntargetMacNum' => '1.3.6.1.4.1.2011.5.25.42.2.1.8', - 'hwMacAgingTime' => '1.3.6.1.4.1.2011.5.25.42.2.1.9', - 'hwMacRestrict' => '1.3.6.1.4.1.2011.5.25.42.2.1.10', - 'hwPortSecurityTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.11', - 'hwPortSecurityEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.11.1', - 'hwPortSecurityPort' => '1.3.6.1.4.1.2011.5.25.42.2.1.11.1.1', - 'hwPortSecurityEnabled' => '1.3.6.1.4.1.2011.5.25.42.2.1.11.1.2', - 'hwPortSecurityProtectAction' => '1.3.6.1.4.1.2011.5.25.42.2.1.11.1.3', - 'hwPortSecurityProtectActionDefinition' => 'HUAWEI-L2MAM-MIB::hwPortSecurityProtectAction', - 'hwPortSecurityAllDynToStaticEnable' => '1.3.6.1.4.1.2011.5.25.42.2.1.11.1.4', - 'hwPortSecurityAllDynToStickyEnable' => '1.3.6.1.4.1.2011.5.25.42.2.1.11.1.5', - 'hwPortSecurityMaxMacNum' => '1.3.6.1.4.1.2011.5.25.42.2.1.11.1.6', - 'hwMacLimitGlobalRuleTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.12', - 'hwMacLimitGlobalRuleEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.12.1', - 'hwMacLimitGlobalRuleName' => '1.3.6.1.4.1.2011.5.25.42.2.1.12.1.1', - 'hwMacLimitRuleMaxMac' => '1.3.6.1.4.1.2011.5.25.42.2.1.12.1.11', - 'hwMacLimitRuleMaxRate' => '1.3.6.1.4.1.2011.5.25.42.2.1.12.1.12', - 'hwMacLimitRuleAction' => '1.3.6.1.4.1.2011.5.25.42.2.1.12.1.13', - 'hwMacLimitRuleActionDefinition' => 'HUAWEI-L2MAM-MIB::hwMacLimitRuleAction', - 'hwMacLimitRuleAlarm' => '1.3.6.1.4.1.2011.5.25.42.2.1.12.1.14', - 'hwMacLimitRuleAlarmDefinition' => 'HUAWEI-L2MAM-MIB::hwMacLimitRuleAlarm', - 'hwMacLimitRuleRowstatus' => '1.3.6.1.4.1.2011.5.25.42.2.1.12.1.51', - 'hwMacRuleDynAddressLearnNum' => '1.3.6.1.4.1.2011.5.25.42.2.1.12.1.52', - 'hwMacLimitApplyRuleTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.13', - 'hwMacLimitApplyRuleEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.13.1', - 'hwMacLimitApplyPort' => '1.3.6.1.4.1.2011.5.25.42.2.1.13.1.1', - 'hwMacLimitApplyVlanId' => '1.3.6.1.4.1.2011.5.25.42.2.1.13.1.2', - 'hwMacLimitApplyRuleName' => '1.3.6.1.4.1.2011.5.25.42.2.1.13.1.11', - 'hwMacLimitApplyRowstatus' => '1.3.6.1.4.1.2011.5.25.42.2.1.13.1.51', - 'hwMacGlobalStatistics' => '1.3.6.1.4.1.2011.5.25.42.2.1.14', - 'hwMacIfStatisticsTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.15', - 'hwMacIfStatisticsEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.15.1', - 'hwMacIfStatisticsIfIndex' => '1.3.6.1.4.1.2011.5.25.42.2.1.15.1.1', - 'hwMacIfStatistics' => '1.3.6.1.4.1.2011.5.25.42.2.1.15.1.2', - 'hwMacSlotStatisticsTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.16', - 'hwMacSlotStatisticsEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.16.1', - 'hwMacSlotStatisticsSlotId' => '1.3.6.1.4.1.2011.5.25.42.2.1.16.1.1', - 'hwMacSlotStatistics' => '1.3.6.1.4.1.2011.5.25.42.2.1.16.1.2', - 'hwMacSlotStatisticsSpecify' => '1.3.6.1.4.1.2011.5.25.42.2.1.16.1.3', - 'hwMacSlotUsage' => '1.3.6.1.4.1.2011.5.25.42.2.1.16.1.4', - 'hwMacSlotUsageThreshold' => '1.3.6.1.4.1.2011.5.25.42.2.1.16.1.5', - 'hwMacVlanStatisticsTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.17', - 'hwMacVlanStatisticsEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.17.1', - 'hwMacVlanStatisticsVlanId' => '1.3.6.1.4.1.2011.5.25.42.2.1.17.1.1', - 'hwMacVlanStatistics' => '1.3.6.1.4.1.2011.5.25.42.2.1.17.1.2', - 'hwMacVsiStatisticsTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.18', - 'hwMacVsiStatisticsEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.18.1', - 'hwMacVsiStatisticsVsiName' => '1.3.6.1.4.1.2011.5.25.42.2.1.18.1.1', - 'hwMacVsiStatistics' => '1.3.6.1.4.1.2011.5.25.42.2.1.18.1.2', - 'hwPwMacLimitTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.19', - 'hwPwMacLimitEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.19.1', - 'hwPwMacLimitVsiName' => '1.3.6.1.4.1.2011.5.25.42.2.1.19.1.1', - 'hwPwMacLimitPwName' => '1.3.6.1.4.1.2011.5.25.42.2.1.19.1.2', - 'hwPwMacLimitMaxMac' => '1.3.6.1.4.1.2011.5.25.42.2.1.19.1.3', - 'hwPwMacLimitMaxRate' => '1.3.6.1.4.1.2011.5.25.42.2.1.19.1.4', - 'hwPwMacLimitAction' => '1.3.6.1.4.1.2011.5.25.42.2.1.19.1.5', - 'hwPwMacLimitActionDefinition' => 'HUAWEI-L2MAM-MIB::hwPwMacLimitAction', - 'hwPwMacLimitAlarm' => '1.3.6.1.4.1.2011.5.25.42.2.1.19.1.6', - 'hwPwMacLimitRowstatus' => '1.3.6.1.4.1.2011.5.25.42.2.1.19.1.7', - 'hwPwMacAddressLearn' => '1.3.6.1.4.1.2011.5.25.42.2.1.19.1.8', - 'hwPwMacDynAddressLearnNum' => '1.3.6.1.4.1.2011.5.25.42.2.1.19.1.9', - 'hwMacSpoofingDefendTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.20', - 'hwMacSpoofingDefendEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.20.1', - 'hwMacSpoofingDefendPort' => '1.3.6.1.4.1.2011.5.25.42.2.1.20.1.1', - 'hwMacSpoofingDefendEnabled' => '1.3.6.1.4.1.2011.5.25.42.2.1.20.1.2', - 'hwDiscardIllegalMacEnable' => '1.3.6.1.4.1.2011.5.25.42.2.1.21', - 'hwDiscardIllegalMacAlarm' => '1.3.6.1.4.1.2011.5.25.42.2.1.22', - 'hwMacSpoofingDefend' => '1.3.6.1.4.1.2011.5.25.42.2.1.23', - 'hwL2MacFlappingTrapObjects' => '1.3.6.1.4.1.2011.5.25.42.2.1.24', - 'hwMacflappingMac' => '1.3.6.1.4.1.2011.5.25.42.2.1.24.1', - 'hwMacFlappingVlan' => '1.3.6.1.4.1.2011.5.25.42.2.1.24.2', - 'hwSlotMacLimitTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.25', - 'hwSlotMacLimitEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.25.1', - 'hwSlotMacLimitId' => '1.3.6.1.4.1.2011.5.25.42.2.1.25.1.1', - 'hwSlotMacLimitMaxMac' => '1.3.6.1.4.1.2011.5.25.42.2.1.25.1.2', - 'hwSlotMacLimitMaxRate' => '1.3.6.1.4.1.2011.5.25.42.2.1.25.1.3', - 'hwSlotMacLimitAction' => '1.3.6.1.4.1.2011.5.25.42.2.1.25.1.4', - 'hwSlotMacLimitActionDefinition' => 'HUAWEI-L2MAM-MIB::hwSlotMacLimitAction', - 'hwSlotMacLimitAlarm' => '1.3.6.1.4.1.2011.5.25.42.2.1.25.1.5', - 'hwSlotMacLimitAlarmDefinition' => 'HUAWEI-L2MAM-MIB::hwSlotMacLimitAlarm', - 'hwSlotMacLimitRowstatus' => '1.3.6.1.4.1.2011.5.25.42.2.1.25.1.6', - 'hwL2ProtocolTunnelTrapObjects' => '1.3.6.1.4.1.2011.5.25.42.2.1.26', - 'hwL2ProtocolTunnelTrapPortName' => '1.3.6.1.4.1.2011.5.25.42.2.1.26.1', - 'hwL2ProtocolTunnelTrapProtocolName' => '1.3.6.1.4.1.2011.5.25.42.2.1.26.2', - 'hwL2ProtocolTunnelTrapDropThreshold' => '1.3.6.1.4.1.2011.5.25.42.2.1.26.3', - 'hwL2ProtclTnlStdTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.27', - 'hwL2ProtclTnlStdEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.27.1', - 'hwL2ProtclTnlStdProtclName' => '1.3.6.1.4.1.2011.5.25.42.2.1.27.1.1', - 'hwL2ProtclTnlStdProtclMacAddr' => '1.3.6.1.4.1.2011.5.25.42.2.1.27.1.2', - 'hwL2ProtclTnlStdEncapType' => '1.3.6.1.4.1.2011.5.25.42.2.1.27.1.3', - 'hwL2ProtclTnlStdEncapTypeDefinition' => 'HUAWEI-L2MAM-MIB::hwL2ProtclTnlStdEncapType', - 'hwL2ProtclTnlStdProtclType' => '1.3.6.1.4.1.2011.5.25.42.2.1.27.1.4', - 'hwL2ProtclTnlStdGroupMacAddr' => '1.3.6.1.4.1.2011.5.25.42.2.1.27.1.5', - 'hwL2ProtclTnlStdGroupDefault' => '1.3.6.1.4.1.2011.5.25.42.2.1.27.1.6', - 'hwL2ProtclTnlStdPriority' => '1.3.6.1.4.1.2011.5.25.42.2.1.27.1.7', - 'hwL2ProtclTnlCusTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.28', - 'hwL2ProtclTnlCusEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.28.1', - 'hwL2ProtclTnlCusProtclName' => '1.3.6.1.4.1.2011.5.25.42.2.1.28.1.1', - 'hwL2ProtclTnlCusProtclMacAddr' => '1.3.6.1.4.1.2011.5.25.42.2.1.28.1.2', - 'hwL2ProtclTnlCusEncapType' => '1.3.6.1.4.1.2011.5.25.42.2.1.28.1.3', - 'hwL2ProtclTnlCusEncapTypeDefinition' => 'HUAWEI-L2MAM-MIB::hwL2ProtclTnlCusEncapType', - 'hwL2ProtclTnlCusProtclType' => '1.3.6.1.4.1.2011.5.25.42.2.1.28.1.4', - 'hwL2ProtclTnlCusGroupMacAddr' => '1.3.6.1.4.1.2011.5.25.42.2.1.28.1.5', - 'hwL2ProtclTnlCusGroupDefault' => '1.3.6.1.4.1.2011.5.25.42.2.1.28.1.6', - 'hwL2ProtclTnlCusPriority' => '1.3.6.1.4.1.2011.5.25.42.2.1.28.1.7', - 'hwL2ProtclTnlCusRowStatus' => '1.3.6.1.4.1.2011.5.25.42.2.1.28.1.8', - 'hwL2ProtclTnlEnableTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.29', - 'hwL2ProtclTnlEnableEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.29.1', - 'hwL2ProtclTnlEnableIfIndex' => '1.3.6.1.4.1.2011.5.25.42.2.1.29.1.1', - 'hwL2ProtclTnlEnableProtclName' => '1.3.6.1.4.1.2011.5.25.42.2.1.29.1.2', - 'hwL2ProtclTnlEnableTransMode' => '1.3.6.1.4.1.2011.5.25.42.2.1.29.1.3', - 'hwL2ProtclTnlEnableTransModeDefinition' => 'HUAWEI-L2MAM-MIB::hwL2ProtclTnlEnableTransMode', - 'hwL2ProtclTnlEnableTagListLow' => '1.3.6.1.4.1.2011.5.25.42.2.1.29.1.4', - 'hwL2ProtclTnlEnableTagListHigh' => '1.3.6.1.4.1.2011.5.25.42.2.1.29.1.5', - 'hwL2ProtclTnlEnableDropthresholdRate' => '1.3.6.1.4.1.2011.5.25.42.2.1.29.1.6', - 'hwL2ProtclTnlEnableRowStatus' => '1.3.6.1.4.1.2011.5.25.42.2.1.29.1.7', - 'hwL2ProtclTnlStatisticsTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.30', - 'hwL2ProtclTnlStatisticsEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.30.1', - 'hwL2ProtclTnlStatisticsIfIndex' => '1.3.6.1.4.1.2011.5.25.42.2.1.30.1.1', - 'hwL2ProtclTnlStatisticsProtclName' => '1.3.6.1.4.1.2011.5.25.42.2.1.30.1.2', - 'hwL2ProtclTnlStatisticsDropthrhldRate' => '1.3.6.1.4.1.2011.5.25.42.2.1.30.1.3', - 'hwL2ProtclTnlStatisticsInputPkts' => '1.3.6.1.4.1.2011.5.25.42.2.1.30.1.4', - 'hwL2ProtclTnlStatisticsOutputPkts' => '1.3.6.1.4.1.2011.5.25.42.2.1.30.1.5', - 'hwL2ProtclTnlStatisticsDropPkts' => '1.3.6.1.4.1.2011.5.25.42.2.1.30.1.6', - 'hwBridgeMacAgingTime' => '1.3.6.1.4.1.2011.5.25.42.2.1.31', - 'hwCfgMacAddrQueryTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.32', - 'hwCfgMacAddrQueryEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.32.1', - 'hwCfgMacAddrQueryVlanId' => '1.3.6.1.4.1.2011.5.25.42.2.1.32.1.1', - 'hwCfgMacAddrQueryVsiName' => '1.3.6.1.4.1.2011.5.25.42.2.1.32.1.2', - 'hwCfgMacAddrQuerySiName' => '1.3.6.1.4.1.2011.5.25.42.2.1.32.1.3', - 'hwCfgMacAddrQueryBridgeId' => '1.3.6.1.4.1.2011.5.25.42.2.1.32.1.4', - 'hwCfgMacAddrQueryMacAddr' => '1.3.6.1.4.1.2011.5.25.42.2.1.32.1.5', - 'hwCfgMacAddrQueryConditionMode' => '1.3.6.1.4.1.2011.5.25.42.2.1.32.1.6', - 'hwCfgMacAddrQueryConditionModeDefinition' => 'HUAWEI-L2MAM-MIB::hwCfgMacAddrQueryConditionMode', - 'hwCfgMacAddrQueryConditionStringA' => '1.3.6.1.4.1.2011.5.25.42.2.1.32.1.7', - 'hwCfgMacAddrQueryConditionStringB' => '1.3.6.1.4.1.2011.5.25.42.2.1.32.1.8', - 'hwCfgMacAddrQueryConditionDigitA' => '1.3.6.1.4.1.2011.5.25.42.2.1.32.1.9', - 'hwCfgMacAddrQueryConditionDigitB' => '1.3.6.1.4.1.2011.5.25.42.2.1.32.1.10', - 'hwCfgMacAddrQueryConditionDigitC' => '1.3.6.1.4.1.2011.5.25.42.2.1.32.1.11', - 'hwCfgMacAddrQueryType' => '1.3.6.1.4.1.2011.5.25.42.2.1.32.1.12', - 'hwCfgMacAddrQueryIfIndex' => '1.3.6.1.4.1.2011.5.25.42.2.1.32.1.13', - 'hwCfgMacAddrQueryPeVlanId' => '1.3.6.1.4.1.2011.5.25.42.2.1.32.1.14', - 'hwCfgMacAddrQueryCeVlanId' => '1.3.6.1.4.1.2011.5.25.42.2.1.32.1.15', - 'hwCfgMacAddrQueryCedefaultFlag' => '1.3.6.1.4.1.2011.5.25.42.2.1.32.1.16', - 'hwCfgMacAddrQueryCedefaultFlagDefinition' => 'HUAWEI-L2MAM-MIB::hwCfgMacAddrQueryCedefaultFlag', - 'hwCfgMacAddrQueryAtmIfIndex' => '1.3.6.1.4.1.2011.5.25.42.2.1.32.1.17', - 'hwCfgMacAddrQueryVpi' => '1.3.6.1.4.1.2011.5.25.42.2.1.32.1.18', - 'hwCfgMacAddrQueryVci' => '1.3.6.1.4.1.2011.5.25.42.2.1.32.1.19', - 'hwCfgMacAddrQueryMacTunnel' => '1.3.6.1.4.1.2011.5.25.42.2.1.32.1.20', - 'hwDynMacAddrQueryTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.33', - 'hwDynMacAddrQueryEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.33.1', - 'hwDynMacAddrQueryVlanId' => '1.3.6.1.4.1.2011.5.25.42.2.1.33.1.1', - 'hwDynMacAddrQueryVsiName' => '1.3.6.1.4.1.2011.5.25.42.2.1.33.1.2', - 'hwDynMacAddrQuerySiName' => '1.3.6.1.4.1.2011.5.25.42.2.1.33.1.3', - 'hwDynMacAddrQueryBridgeId' => '1.3.6.1.4.1.2011.5.25.42.2.1.33.1.4', - 'hwDynMacAddrQueryMacAddr' => '1.3.6.1.4.1.2011.5.25.42.2.1.33.1.5', - 'hwDynMacAddrQueryConditionMode' => '1.3.6.1.4.1.2011.5.25.42.2.1.33.1.6', - 'hwDynMacAddrQueryConditionModeDefinition' => 'HUAWEI-L2MAM-MIB::hwDynMacAddrQueryConditionMode', - 'hwDynMacAddrQueryConditionStringA' => '1.3.6.1.4.1.2011.5.25.42.2.1.33.1.7', - 'hwDynMacAddrQueryConditionStringB' => '1.3.6.1.4.1.2011.5.25.42.2.1.33.1.8', - 'hwDynMacAddrQueryConditionDigitA' => '1.3.6.1.4.1.2011.5.25.42.2.1.33.1.9', - 'hwDynMacAddrQueryConditionDigitB' => '1.3.6.1.4.1.2011.5.25.42.2.1.33.1.10', - 'hwDynMacAddrQueryConditionDigitC' => '1.3.6.1.4.1.2011.5.25.42.2.1.33.1.11', - 'hwDynMacAddrQueryType' => '1.3.6.1.4.1.2011.5.25.42.2.1.33.1.12', - 'hwDynMacAddrQueryIfIndex' => '1.3.6.1.4.1.2011.5.25.42.2.1.33.1.13', - 'hwDynMacAddrQueryPeVlanId' => '1.3.6.1.4.1.2011.5.25.42.2.1.33.1.14', - 'hwDynMacAddrQueryCeVlanId' => '1.3.6.1.4.1.2011.5.25.42.2.1.33.1.15', - 'hwDynMacAddrQueryAtmIfIndex' => '1.3.6.1.4.1.2011.5.25.42.2.1.33.1.16', - 'hwDynMacAddrQueryVpi' => '1.3.6.1.4.1.2011.5.25.42.2.1.33.1.17', - 'hwDynMacAddrQueryVci' => '1.3.6.1.4.1.2011.5.25.42.2.1.33.1.18', - 'hwDynMacAddrQueryPeerIp' => '1.3.6.1.4.1.2011.5.25.42.2.1.33.1.19', - 'hwDynMacAddrQueryPwId' => '1.3.6.1.4.1.2011.5.25.42.2.1.33.1.20', - 'hwDynMacAddrQueryMacTunnel' => '1.3.6.1.4.1.2011.5.25.42.2.1.33.1.21', - 'hwDynMacAddrQueryAgingTime' => '1.3.6.1.4.1.2011.5.25.42.2.1.33.1.22', - 'hwMacInfoQueryTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.34', - 'hwMacInfoQueryEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.34.1', - 'hwMacInfoQueryConditionMode' => '1.3.6.1.4.1.2011.5.25.42.2.1.34.1.1', - 'hwMacInfoQueryConditionModeDefinition' => 'HUAWEI-L2MAM-MIB::hwMacInfoQueryConditionMode', - 'hwMacInfoQueryConditionStringA' => '1.3.6.1.4.1.2011.5.25.42.2.1.34.1.2', - 'hwMacInfoQueryConditionStringB' => '1.3.6.1.4.1.2011.5.25.42.2.1.34.1.3', - 'hwMacInfoQueryConditionStringC' => '1.3.6.1.4.1.2011.5.25.42.2.1.34.1.4', - 'hwMacInfoQueryConditionDigitA' => '1.3.6.1.4.1.2011.5.25.42.2.1.34.1.5', - 'hwMacInfoQueryConditionDigitB' => '1.3.6.1.4.1.2011.5.25.42.2.1.34.1.6', - 'hwMacInfoQueryConditionDigitC' => '1.3.6.1.4.1.2011.5.25.42.2.1.34.1.7', - 'hwMacInfoQueryTotalNumber' => '1.3.6.1.4.1.2011.5.25.42.2.1.34.1.8', - 'hwMacInfoQueryTotalLocalNumber' => '1.3.6.1.4.1.2011.5.25.42.2.1.34.1.9', - 'hwMacInfoQueryTotalRemoteNumber' => '1.3.6.1.4.1.2011.5.25.42.2.1.34.1.10', - 'hwMacInfoQueryCapacity' => '1.3.6.1.4.1.2011.5.25.42.2.1.34.1.11', - 'hwVplsOverGreTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.35', - 'hwVplsOverGreEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.35.1', - 'hwVplsOverGrePwId' => '1.3.6.1.4.1.2011.5.25.42.2.1.35.1.1', - 'hwRemoteIp' => '1.3.6.1.4.1.2011.5.25.42.2.1.35.1.2', - 'hwVplsOverGreVsiName' => '1.3.6.1.4.1.2011.5.25.42.2.1.35.1.3', - 'hwVllByPassOverGreTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.36', - 'hwVllByPassOverGreEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.36.1', - 'hwVLLACPortIndex' => '1.3.6.1.4.1.2011.5.25.42.2.1.36.1.1', - 'hwVLLACPortName' => '1.3.6.1.4.1.2011.5.25.42.2.1.36.1.2', - 'hwUnucFlowAlarmTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.37', - 'hwUnucFlowAlarmEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.37.1', - 'hwUNUCPortIndex' => '1.3.6.1.4.1.2011.5.25.42.2.1.37.1.1', - 'hwUNUCPortName' => '1.3.6.1.4.1.2011.5.25.42.2.1.37.1.2', - 'hwUNUCPortAlarmThreshold' => '1.3.6.1.4.1.2011.5.25.42.2.1.37.1.3', - 'hwUNUCPortRealFlow' => '1.3.6.1.4.1.2011.5.25.42.2.1.37.1.4', - 'hwMacHopAlarmTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.38', - 'hwMacHopAlarmEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.38.1', - 'hwMacHopVlan' => '1.3.6.1.4.1.2011.5.25.42.2.1.38.1.1', - 'hwMacHopVsiName' => '1.3.6.1.4.1.2011.5.25.42.2.1.38.1.2', - 'hwMacHopBdID' => '1.3.6.1.4.1.2011.5.25.42.2.1.38.1.3', - 'hwMacHopPortName1' => '1.3.6.1.4.1.2011.5.25.42.2.1.38.1.4', - 'hwMacHopPortName2' => '1.3.6.1.4.1.2011.5.25.42.2.1.38.1.5', - 'hwMacHopPortName3' => '1.3.6.1.4.1.2011.5.25.42.2.1.38.1.6', - 'hwMacHopPortName4' => '1.3.6.1.4.1.2011.5.25.42.2.1.38.1.7', - 'hwMacHopPWInfo' => '1.3.6.1.4.1.2011.5.25.42.2.1.38.1.8', - 'hwMacHopDetectMac' => '1.3.6.1.4.1.2011.5.25.42.2.1.38.1.9', - 'hwMacHopTrustPort' => '1.3.6.1.4.1.2011.5.25.42.2.1.38.1.10', - 'hwMacHopTrustPeer' => '1.3.6.1.4.1.2011.5.25.42.2.1.38.1.11', - 'hwPwMacSpoofingAttackMacAddr' => '1.3.6.1.4.1.2011.5.25.42.2.1.39', - 'hwBdMacLimitBdId' => '1.3.6.1.4.1.2011.5.25.42.2.1.40', - 'hwBdMacLimitMaxMac' => '1.3.6.1.4.1.2011.5.25.42.2.1.41', - 'hwPwOverLdpOverGreTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.42', - 'hwPwOverLdpOverGreEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.42.1', - 'hwVplsOverLdpOverGrePwId' => '1.3.6.1.4.1.2011.5.25.42.2.1.42.1.1', - 'hwPeerRemoteIp' => '1.3.6.1.4.1.2011.5.25.42.2.1.42.1.2', - 'hwVplsOverLdpOverGreVsiName' => '1.3.6.1.4.1.2011.5.25.42.2.1.42.1.3', - 'hwEvpnOverLdpOverGreEvpnName' => '1.3.6.1.4.1.2011.5.25.42.2.1.42.1.4', - 'hwPwSourceTunnelCheckTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.43', - 'hwPwSourceTunnelCheckEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.43.1', - 'hwPwLabel' => '1.3.6.1.4.1.2011.5.25.42.2.1.43.1.1', - 'hwTeLabel' => '1.3.6.1.4.1.2011.5.25.42.2.1.43.1.2', - 'hwPortName' => '1.3.6.1.4.1.2011.5.25.42.2.1.43.1.3', - 'hwBoardServiceMisMatchAlarmTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.44', - 'hwBoardServiceMisMatchAlarmEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.44.1', - 'hwBoardServiceMisMatchServiceName' => '1.3.6.1.4.1.2011.5.25.42.2.1.44.1.1', - 'hwBoardServiceMisMatchPrecautions' => '1.3.6.1.4.1.2011.5.25.42.2.1.44.1.2', - 'hwEVPNNotSupportTunnelTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.45', - 'hwEVPNNotSupportTunnelEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.45.1', - 'hwEVPNPeerRemoteIp' => '1.3.6.1.4.1.2011.5.25.42.2.1.45.1.1', - 'hwNotSupportTunnelEvpnName' => '1.3.6.1.4.1.2011.5.25.42.2.1.45.1.2', - 'hwVPLSNotSupportTunnelTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.46', - 'hwVPLSNotSupportTunnelEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.46.1', - 'hwNotSupportTunnelPwId' => '1.3.6.1.4.1.2011.5.25.42.2.1.46.1.1', - 'hwPWPeerRemoteIp' => '1.3.6.1.4.1.2011.5.25.42.2.1.46.1.2', - 'hwNotSupportTunnelVSIName' => '1.3.6.1.4.1.2011.5.25.42.2.1.46.1.3', - 'hwNotSupportTunnelType' => '1.3.6.1.4.1.2011.5.25.42.2.1.47', - 'hwNotSupportTunnelTypeDefinition' => 'HUAWEI-L2MAM-MIB::hwNotSupportTunnelType', - 'hwPVSuppressionStatisticTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.48', - 'hwPVSuppressionStatisticEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.48.1', - 'hwPVStatisticIfIndex' => '1.3.6.1.4.1.2011.5.25.42.2.1.48.1.1', - 'hwPVStatisticVlan' => '1.3.6.1.4.1.2011.5.25.42.2.1.48.1.2', - 'hwPVStatisticTime' => '1.3.6.1.4.1.2011.5.25.42.2.1.48.1.3', - 'hwPVUcInPassPack' => '1.3.6.1.4.1.2011.5.25.42.2.1.48.1.4', - 'hwPVUcInPassByte' => '1.3.6.1.4.1.2011.5.25.42.2.1.48.1.5', - 'hwPVUcInDropPack' => '1.3.6.1.4.1.2011.5.25.42.2.1.48.1.6', - 'hwPVUcInDropByte' => '1.3.6.1.4.1.2011.5.25.42.2.1.48.1.7', - 'hwPVUcOutPassPack' => '1.3.6.1.4.1.2011.5.25.42.2.1.48.1.8', - 'hwPVUcOutPassByte' => '1.3.6.1.4.1.2011.5.25.42.2.1.48.1.9', - 'hwPVUcOutDropPack' => '1.3.6.1.4.1.2011.5.25.42.2.1.48.1.10', - 'hwPVUcOutDropByte' => '1.3.6.1.4.1.2011.5.25.42.2.1.48.1.11', - 'hwPVMulInPassPack' => '1.3.6.1.4.1.2011.5.25.42.2.1.48.1.12', - 'hwPVMulInPassByte' => '1.3.6.1.4.1.2011.5.25.42.2.1.48.1.13', - 'hwPVMulInDropPack' => '1.3.6.1.4.1.2011.5.25.42.2.1.48.1.14', - 'hwPVMulInDropByte' => '1.3.6.1.4.1.2011.5.25.42.2.1.48.1.15', - 'hwPVMulOutPassPack' => '1.3.6.1.4.1.2011.5.25.42.2.1.48.1.16', - 'hwPVMulOutPassByte' => '1.3.6.1.4.1.2011.5.25.42.2.1.48.1.17', - 'hwPVMulOutDropPack' => '1.3.6.1.4.1.2011.5.25.42.2.1.48.1.18', - 'hwPVMulOutDropByte' => '1.3.6.1.4.1.2011.5.25.42.2.1.48.1.19', - 'hwPVBrInPassPack' => '1.3.6.1.4.1.2011.5.25.42.2.1.48.1.20', - 'hwPVBrInPassByte' => '1.3.6.1.4.1.2011.5.25.42.2.1.48.1.21', - 'hwPVBrInDropPack' => '1.3.6.1.4.1.2011.5.25.42.2.1.48.1.22', - 'hwPVBrInDropByte' => '1.3.6.1.4.1.2011.5.25.42.2.1.48.1.23', - 'hwPVBrOutPassPack' => '1.3.6.1.4.1.2011.5.25.42.2.1.48.1.24', - 'hwPVBrOutPassByte' => '1.3.6.1.4.1.2011.5.25.42.2.1.48.1.25', - 'hwPVBrOutDropPack' => '1.3.6.1.4.1.2011.5.25.42.2.1.48.1.26', - 'hwPVBrOutDropByte' => '1.3.6.1.4.1.2011.5.25.42.2.1.48.1.27', - 'hwPortSuppressionStatisticTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.49', - 'hwPortSuppressionStatisticEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.49.1', - 'hwPortStatisticIfIndex' => '1.3.6.1.4.1.2011.5.25.42.2.1.49.1.1', - 'hwPortStatisticTime' => '1.3.6.1.4.1.2011.5.25.42.2.1.49.1.2', - 'hwPortUcInPassPack' => '1.3.6.1.4.1.2011.5.25.42.2.1.49.1.3', - 'hwPortUcInPassByte' => '1.3.6.1.4.1.2011.5.25.42.2.1.49.1.4', - 'hwPortUcInDropPack' => '1.3.6.1.4.1.2011.5.25.42.2.1.49.1.5', - 'hwPortUcInDropByte' => '1.3.6.1.4.1.2011.5.25.42.2.1.49.1.6', - 'hwPortUcOutPassPack' => '1.3.6.1.4.1.2011.5.25.42.2.1.49.1.7', - 'hwPortUcOutPassByte' => '1.3.6.1.4.1.2011.5.25.42.2.1.49.1.8', - 'hwPortUcOutDropPack' => '1.3.6.1.4.1.2011.5.25.42.2.1.49.1.9', - 'hwPortUcOutDropByte' => '1.3.6.1.4.1.2011.5.25.42.2.1.49.1.10', - 'hwPortMulInPassPack' => '1.3.6.1.4.1.2011.5.25.42.2.1.49.1.11', - 'hwPortMulInPassByte' => '1.3.6.1.4.1.2011.5.25.42.2.1.49.1.12', - 'hwPortMulInDropPack' => '1.3.6.1.4.1.2011.5.25.42.2.1.49.1.13', - 'hwPortMulInDropByte' => '1.3.6.1.4.1.2011.5.25.42.2.1.49.1.14', - 'hwPortMulOutPassPack' => '1.3.6.1.4.1.2011.5.25.42.2.1.49.1.15', - 'hwPortMulOutPassByte' => '1.3.6.1.4.1.2011.5.25.42.2.1.49.1.16', - 'hwPortMulOutDropPack' => '1.3.6.1.4.1.2011.5.25.42.2.1.49.1.17', - 'hwPortMulOutDropByte' => '1.3.6.1.4.1.2011.5.25.42.2.1.49.1.18', - 'hwPortBrInPassPack' => '1.3.6.1.4.1.2011.5.25.42.2.1.49.1.19', - 'hwPortBrInPassByte' => '1.3.6.1.4.1.2011.5.25.42.2.1.49.1.20', - 'hwPortBrInDropPack' => '1.3.6.1.4.1.2011.5.25.42.2.1.49.1.21', - 'hwPortBrInDropByte' => '1.3.6.1.4.1.2011.5.25.42.2.1.49.1.22', - 'hwPortBrOutPassPack' => '1.3.6.1.4.1.2011.5.25.42.2.1.49.1.23', - 'hwPortBrOutPassByte' => '1.3.6.1.4.1.2011.5.25.42.2.1.49.1.24', - 'hwPortBrOutDropPack' => '1.3.6.1.4.1.2011.5.25.42.2.1.49.1.25', - 'hwPortBrOutDropByte' => '1.3.6.1.4.1.2011.5.25.42.2.1.49.1.26', - 'hwMacAccountStatisticTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.50', - 'hwMacAccountStatisticEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.50.1', - 'hwMacAccountStatisticIfindex' => '1.3.6.1.4.1.2011.5.25.42.2.1.50.1.1', - 'hwMacAccountStatisticMacAddr' => '1.3.6.1.4.1.2011.5.25.42.2.1.50.1.2', - 'hwMacAccountStatisticIfName' => '1.3.6.1.4.1.2011.5.25.42.2.1.50.1.3', - 'hwMacAccountStatisticIfInBytes' => '1.3.6.1.4.1.2011.5.25.42.2.1.50.1.4', - 'hwMacAccountStatisticIfInPkts' => '1.3.6.1.4.1.2011.5.25.42.2.1.50.1.5', - 'hwMacAccountStatisticIfOutBytes' => '1.3.6.1.4.1.2011.5.25.42.2.1.50.1.6', - 'hwMacAccountStatisticIfOutPkts' => '1.3.6.1.4.1.2011.5.25.42.2.1.50.1.7', - 'hwNodeSrteLoadBanlanceTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.51', - 'hwNodeSrteLoadBanlanceEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.51.1', - 'hwNodeSrteTunnelName' => '1.3.6.1.4.1.2011.5.25.42.2.1.51.1.1', - 'hwNodeSrteServiceName' => '1.3.6.1.4.1.2011.5.25.42.2.1.51.1.2', - 'hwVllVpnQosNotSupportTunnelTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.52', - 'hwVllVpnQosNotSupportTunnelEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.52.1', - 'hwVLLACIfName' => '1.3.6.1.4.1.2011.5.25.42.2.1.52.1.1', - 'hwVLLPeerRemoteIp' => '1.3.6.1.4.1.2011.5.25.42.2.1.52.1.2', - 'hwNotSupportTunnelTypeName' => '1.3.6.1.4.1.2011.5.25.42.2.1.52.1.3', - 'hwL2DomainMacLimitAlarmTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.53', - 'hwL2DomainMacLimitAlarmEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.53.1', - 'hwMacLimitAlarmVlan' => '1.3.6.1.4.1.2011.5.25.42.2.1.53.1.1', - 'hwMacLimitAlarmVsi' => '1.3.6.1.4.1.2011.5.25.42.2.1.53.1.2', - 'hwMacLimitAlarmBdID' => '1.3.6.1.4.1.2011.5.25.42.2.1.53.1.3', - 'hwMacLimitAlarmEpnName' => '1.3.6.1.4.1.2011.5.25.42.2.1.53.1.4', - 'hwMacLimitAlarmDynNum' => '1.3.6.1.4.1.2011.5.25.42.2.1.53.1.5', - 'hwMacLimitAlarmMaxMac' => '1.3.6.1.4.1.2011.5.25.42.2.1.53.1.6', - 'hwMacLimitAlarmUpthreshold' => '1.3.6.1.4.1.2011.5.25.42.2.1.53.1.7', - 'hwMacLimitAlarmDownthreshold' => '1.3.6.1.4.1.2011.5.25.42.2.1.53.1.8', - 'hwVxlanTnlMacLimitSourceIp' => '1.3.6.1.4.1.2011.5.25.42.2.1.54', - 'hwVxlanTnlMacLimitPeerIp' => '1.3.6.1.4.1.2011.5.25.42.2.1.55', - 'hwVxlanTnlMacLimitMaxMac' => '1.3.6.1.4.1.2011.5.25.42.2.1.56', - 'hwTunnelNotSupportInterfaceTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.57', - 'hwTunnelNotSupportInterfaceEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.57.1', - 'hwTunnelName' => '1.3.6.1.4.1.2011.5.25.42.2.1.57.1.1', - 'hwNotSupIfName' => '1.3.6.1.4.1.2011.5.25.42.2.1.57.1.2', - 'hwDescription' => '1.3.6.1.4.1.2011.5.25.42.2.1.57.1.3', - 'hwServiceNotSupportDscpSrteTable' => '1.3.6.1.4.1.2011.5.25.42.2.1.58', - 'hwServiceNotSupportDscpSrteEntry' => '1.3.6.1.4.1.2011.5.25.42.2.1.58.1', - 'hwDscpSrteServiceName' => '1.3.6.1.4.1.2011.5.25.42.2.1.58.1.1', - 'hwL2MAMConformance' => '1.3.6.1.4.1.2011.5.25.42.2.2', - 'hwL2MAMGroups' => '1.3.6.1.4.1.2011.5.25.42.2.2.1', - 'hwL2MAMCompliances' => '1.3.6.1.4.1.2011.5.25.42.2.2.2', - 'hwL2MACTrapGroups' => '1.3.6.1.4.1.2011.5.25.42.2.2.3', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'HUAWEI-L2MAM-MIB'} = { - 'hwL2ProtclTnlEnableTransMode' => { - '1' => 'tagged', - '2' => 'untagged', - }, - 'hwMacLimitAction' => { - '1' => 'discard', - '2' => 'forward', - }, - 'hwCfgFdbType' => { - '2' => 'static', - '3' => 'blackhole', - }, - 'hwNotSupportTunnelType' => { - '1' => 'bgpovergre', - '2' => 'bgpoverldpovergre', - '3' => 'ldpovergre', - '4' => 'bgp', - '5' => 'vpnqosovergre', - }, - 'hwSlotMacLimitAlarm' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwL2ProtclTnlCusEncapType' => { - '1' => 'ethernetii', - '2' => 'snap', - '3' => 'llc', - '4' => 'others', - }, - 'hwDynMacAddrQueryConditionMode' => { - '1' => 'showall', - '2' => 'showbymac', - '3' => 'showbymacvlan', - '4' => 'showbytype', - '5' => 'showbytypevlan', - '6' => 'showbytypeport', - '7' => 'showbytypeportvlan', - '8' => 'showbyvlan', - '9' => 'showbyport', - '10' => 'showbyportvlan', - '11' => 'showbymacvsi', - '12' => 'showbytypevsi', - '13' => 'showbytypeportvsi', - '14' => 'showbyvsi', - '15' => 'showbyportvsi', - '16' => 'showbyvsipw', - '17' => 'showbytypeslot', - '18' => 'showbytypeslotsourceslot', - '19' => 'showbytypeslotvlan', - '20' => 'showbytypeslotport', - '21' => 'showbytypeslotportvlan', - '22' => 'showbytypeslotvsi', - '23' => 'showbytypeslotportvsi', - '24' => 'showbytypeslotvsipw', - }, - 'hwSlotMacLimitAction' => { - '1' => 'discard', - '2' => 'forward', - }, - 'hwCfgMacAddrQueryConditionMode' => { - '1' => 'showall', - '2' => 'showbymac', - '3' => 'showbymacvlan', - '4' => 'showbytype', - '5' => 'showbytypevlan', - '6' => 'showbytypeport', - '7' => 'showbytypeportvlan', - '8' => 'showbyvlan', - '9' => 'showbyport', - '10' => 'showbyportvlan', - '11' => 'showbymacvsi', - '12' => 'showbytypevsi', - '13' => 'showbytypeportvsi', - '14' => 'showbyvsi', - '15' => 'showbyportvsi', - }, - 'hwMacLimitAlarm' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwCfgFdbCeDefault' => { - '0' => 'noCeDefault', - '1' => 'ceDefault', - }, - 'hwMacAddressLearn' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwPwMacLimitAction' => { - '1' => 'discard', - '2' => 'forward', - }, - 'hwMacLimitRuleAction' => { - '1' => 'discard', - '2' => 'forward', - }, - 'hwPortSecurityProtectAction' => { - '1' => 'restrict', - '2' => 'protect', - '3' => 'shutdown', - '4' => 'noaction', - }, - 'hwCfgMacAddrQueryCedefaultFlag' => { - '0' => 'nocedefault', - '1' => 'cedefault', - }, - 'hwL2ProtclTnlStdEncapType' => { - '1' => 'ethernetii', - '2' => 'snap', - '3' => 'llc', - '4' => 'others', - }, - 'hwMacLimitRuleAlarm' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwMacInfoQueryConditionMode' => { - '1' => 'showtotalnumberbyall', - '2' => 'showtotalnumberbytype', - '3' => 'showtotalnumberbytypevlan', - '4' => 'showtotalnumberbytypeport', - '5' => 'showtotalnumberbytypeportvlan', - '6' => 'showtotalnumberbyvlan', - '7' => 'showtotalnumberbyport', - '8' => 'showtotalnumberbyportvlan', - '9' => 'showtotalnumberbytypevsi', - '10' => 'showtotalnumberbytypeportvsi', - '11' => 'showtotalnumberbyvsi', - '12' => 'showtotalnumberbyportvsi', - '13' => 'showtotalnumberbyvsipw', - '14' => 'showtotalnumberbytypeslot', - '15' => 'showtotalnumberbytypeslotvlan', - '16' => 'showtotalnumberbytypeslotport', - '17' => 'showtotalnumberbytypeslotportvlan', - '18' => 'showtotalnumberbytypeslotvsi', - '19' => 'showtotalnumberbytypeslotportvsi', - '20' => 'showtotalnumberbytypeslotvsipw', - '21' => 'showcapacity', - }, -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIL2VLANMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIL2VLANMIB.pm deleted file mode 100644 index d165733..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIL2VLANMIB.pm +++ /dev/null @@ -1,653 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::HUAWEIL2VLANMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'HUAWEI-L2VLAN-MIB'} = { - url => '', - name => 'HUAWEI-L2VLAN-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'HUAWEI-L2VLAN-MIB'} = - '1.3.6.1.4.1.2011.5.25.42.3'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'HUAWEI-L2VLAN-MIB'} = { - 'hwL2Mgmt' => '1.3.6.1.4.1.2011.5.25.42', - 'hwL2Vlan' => '1.3.6.1.4.1.2011.5.25.42.3', - 'hwL2VlanMngObjects' => '1.3.6.1.4.1.2011.5.25.42.3.1', - 'hwL2VlanBase' => '1.3.6.1.4.1.2011.5.25.42.3.1.1', - 'hwL2VlanMIBTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.1.1', - 'hwL2VlanMIBEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.1.1.1', - 'hwL2VlanIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.1.1.1.1', - 'hwL2VlanDescr' => '1.3.6.1.4.1.2011.5.25.42.3.1.1.1.1.2', - 'hwL2VlanPortList' => '1.3.6.1.4.1.2011.5.25.42.3.1.1.1.1.3', - 'hwL2VlanType' => '1.3.6.1.4.1.2011.5.25.42.3.1.1.1.1.4', - 'hwL2VlanTypeDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanType', - 'hwL2VlanUnknownUnicastProcessing' => '1.3.6.1.4.1.2011.5.25.42.3.1.1.1.1.5', - 'hwL2VlanUnknownUnicastProcessingDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanUnknownUnicastProcessing', - 'hwL2VlanIfIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.1.1.1.6', - 'hwL2VlanMacLearn' => '1.3.6.1.4.1.2011.5.25.42.3.1.1.1.1.7', - 'hwL2VlanMulticast' => '1.3.6.1.4.1.2011.5.25.42.3.1.1.1.1.8', - 'hwL2VlanAdminStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.1.1.1.9', - 'hwL2VlanStatisStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.1.1.1.10', - 'hwL2VlanCreateStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.1.1.1.11', - 'hwL2VlanCreateStatusDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanCreateStatus', - 'hwL2VlanRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.1.1.1.12', - 'hwL2VlanBcast' => '1.3.6.1.4.1.2011.5.25.42.3.1.1.1.1.13', - 'hwL2VlanUnknownMulticastProcessing' => '1.3.6.1.4.1.2011.5.25.42.3.1.1.1.1.14', - 'hwL2VlanUnknownMulticastProcessingDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanUnknownMulticastProcessing', - 'hwL2VlanProperty' => '1.3.6.1.4.1.2011.5.25.42.3.1.1.1.1.15', - 'hwL2VlanPropertyDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanProperty', - 'hwL2VlanAgingTime' => '1.3.6.1.4.1.2011.5.25.42.3.1.1.1.1.16', - 'hwL2VlanName' => '1.3.6.1.4.1.2011.5.25.42.3.1.1.1.1.17', - 'hwL2VlanSmartMacLearn' => '1.3.6.1.4.1.2011.5.25.42.3.1.1.1.1.18', - 'hwL2VlanServiceName' => '1.3.6.1.4.1.2011.5.25.42.3.1.1.1.1.19', - 'hwL2VlanManagementVlan' => '1.3.6.1.4.1.2011.5.25.42.3.1.1.1.1.20', - 'hwL2VlanDynamicVlan' => '1.3.6.1.4.1.2011.5.25.42.3.1.1.1.1.21', - 'hwL2VlanApply' => '1.3.6.1.4.1.2011.5.25.42.3.1.2', - 'hwL2VlanStackingTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.1', - 'hwL2VlanStackingEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.1.1', - 'hwL2VlanStackingPortIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.1.1.1', - 'hwL2VlanStackingInsideVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.1.1.2', - 'hwL2VlanStackingOutsideVlanListLow' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.1.1.3', - 'hwL2VlanStackingOutsideVlanListHigh' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.1.1.4', - 'hwL2VlanStackingRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.1.1.5', - 'hwL2VlanMappingTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.2', - 'hwL2VlanMappingEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.2.1', - 'hwL2VlanMappingPortIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.2.1.1', - 'hwL2VlanMappingInsideVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.2.1.2', - 'hwL2VlanMappingOutsideVlanListLow' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.2.1.3', - 'hwL2VlanMappingOutsideVlanListHigh' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.2.1.4', - 'hwL2VlanMappingRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.2.1.5', - 'hwSuperVlanTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.3', - 'hwSuperVlanEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.3.1', - 'hwSuperVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.3.1.1', - 'hwSubVlanListLow' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.3.1.2', - 'hwSubVlanListHigh' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.3.1.3', - 'hwL2InterfIsolateTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.4', - 'hwL2InterfIsolateEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.4.1', - 'hwL2InterfIsolateVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.4.1.1', - 'hwL2InterfIsolateInterflistLow' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.4.1.2', - 'hwL2InterfIsolateInterflistHigh' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.4.1.3', - 'hwL2IsolatemappingTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.5', - 'hwL2IsolatemappingEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.5.1', - 'hwL2IsolatemappingPortNum' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.5.1.1', - 'hwL2IsolateInterflistLow' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.5.1.2', - 'hwL2IsolateInterflistHigh' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.5.1.3', - 'hwL2VlanStackingExtTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.6', - 'hwL2VlanStackingExtEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.6.1', - 'hwL2VlanStackingExtPortIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.6.1.1', - 'hwL2VlanStackingExtVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.6.1.2', - 'hwL2VlanStackingExtAction' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.6.1.3', - 'hwL2VlanStackingExtActionDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanStackingExtAction', - 'hwL2VlanStackingExtDirection' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.6.1.4', - 'hwL2VlanStackingExtDirectionDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanStackingExtDirection', - 'hwL2VlanStackingExtVlanListLow' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.6.1.5', - 'hwL2VlanStackingExtVlanListHigh' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.6.1.6', - 'hwL2VlanStackingExtRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.6.1.7', - 'hwL2VlanStackingExtPriorityMode' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.6.1.8', - 'hwL2VlanStackingExtPriorityModeDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanStackingExtPriorityMode', - 'hwL2VlanStackingExtVlan8021p' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.6.1.9', - 'hwL2VlanQinQTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.7', - 'hwL2VlanQinQEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.7.1', - 'hwL2VlanQinQIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.7.1.1', - 'hwL2VlanQinQDirection' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.7.1.2', - 'hwL2VlanQinQDirectionDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanQinQDirection', - 'hwL2VlanQinQOutSideVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.7.1.3', - 'hwL2VlanSysQinQRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.7.1.4', - 'hwL2VlanInterfaceQinQTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.8', - 'hwL2VlanInterfaceQinQEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.8.1', - 'hwL2VlanQinQInterfaceIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.8.1.1', - 'hwL2VlanQinQCVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.8.1.2', - 'hwL2VlanQinQSVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.8.1.3', - 'hwL2VlanQinQAction' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.8.1.4', - 'hwL2VlanQinQActionDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanQinQAction', - 'hwL2VlanQinQNewCVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.8.1.5', - 'hwL2VlanInterfaceQinQRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.8.1.6', - 'hwL2DVlanMappingTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.9', - 'hwL2DVlanMappingEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.9.1', - 'hwL2DVlanMappingInterfaceIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.9.1.1', - 'hwL2DVlanMappingExternalVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.9.1.2', - 'hwL2DVlanMappingInternalVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.9.1.3', - 'hwL2DVlanMappingDirection' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.9.1.4', - 'hwL2DVlanMappingDirectionDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2DVlanMappingDirection', - 'hwL2DVlanMappingMapExternalVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.9.1.5', - 'hwL2DVlanMappingMapInternalVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.9.1.6', - 'hwL2DVlanMappingAction' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.9.1.7', - 'hwL2DVlanMappingActionDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2DVlanMappingAction', - 'hwL2DVlanMappingRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.9.1.8', - 'hwL2VlanMappingExtTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.10', - 'hwL2VlanMappingExtEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.10.1', - 'hwL2VlanMappingExtPortIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.10.1.1', - 'hwL2VlanMappingExtDirection' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.10.1.2', - 'hwL2VlanMappingExtDirectionDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanMappingExtDirection', - 'hwL2VlanMappingExtVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.10.1.3', - 'hwL2VlanMappingExtVlanListLow' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.10.1.4', - 'hwL2VlanMappingExtVlanListHigh' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.10.1.5', - 'hwL2VlanMappingExtRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.10.1.6', - 'hwL2VlanMappingExtPriorityMode' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.10.1.7', - 'hwL2VlanMappingExtPriorityModeDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanMappingExtPriorityMode', - 'hwL2VlanMappingExtVlan8021p' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.10.1.8', - 'hwL2VlanStackingAdvTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.11', - 'hwL2VlanStackingAdvEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.11.1', - 'hwL2VlanStackingAdvPortIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.11.1.1', - 'hwL2VlanStackingAdvOutside8021p' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.11.1.2', - 'hwL2VlanStackingAdvStackVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.11.1.3', - 'hwL2VlanStackingAdvStack8021p' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.11.1.4', - 'hwL2VlanStackingAdvMapVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.11.1.5', - 'hwL2VlanStackingAdvOutsideVlanListLow' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.11.1.6', - 'hwL2VlanStackingAdvOutsideVlanListHigh' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.11.1.7', - 'hwL2VlanStackingAdvRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.11.1.8', - 'hwL2VlanMappingAdvTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.12', - 'hwL2VlanMappingAdvEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.12.1', - 'hwL2VlanMappingAdvPortIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.12.1.1', - 'hwL2VlanMappingAdvOutsideVlan8021p' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.12.1.2', - 'hwL2VlanMappingAdvMapVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.12.1.3', - 'hwL2VlanMappingAdvMapVlan8021p' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.12.1.4', - 'hwL2VlanMappingAdvOutsideVlanListLow' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.12.1.5', - 'hwL2VlanMappingAdvOutsideVlanListHigh' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.12.1.6', - 'hwL2VlanMappingAdvRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.12.1.7', - 'hwL2VlanSwitchTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.13', - 'hwL2VlanSwitchEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.13.1', - 'hwL2VlanSwitchIfIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.13.1.1', - 'hwL2VlanSwitchOuterVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.13.1.2', - 'hwL2VlanSwitchInnerVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.13.1.3', - 'hwL2VlanSwitchMode' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.13.1.4', - 'hwL2VlanSwitchModeDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanSwitchMode', - 'hwL2VlanSwitchOuterSwitchVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.13.1.5', - 'hwL2VlanSwitchInnerSwitchVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.13.1.6', - 'hwL2VlanSwitch8021pRemark' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.13.1.7', - 'hwL2VlanSwitchOutIfIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.13.1.8', - 'hwL2VlanSwitchMtu' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.13.1.9', - 'hwL2VlanSwitchMtuDiscardPkts' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.13.1.10', - 'hwL2VlanSwitchMtuDiscardBytes' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.13.1.11', - 'hwL2VlanSwitchMtuResetFlag' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.13.1.12', - 'hwL2VlanSwitchMtuEnableFlag' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.13.1.13', - 'hwL2VlanSwitchRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.13.1.14', - 'hwL2VlanQinqVlanTransEnaTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.14', - 'hwL2VlanQinqVlanTransEnaEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.14.1', - 'hwL2VlanQinqVlanTransEnaPortIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.14.1.1', - 'hwL2VlanQinqVlanTransEna' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.14.1.2', - 'hwL2VlanQinqVlanTransEnaRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.14.1.3', - 'hwL2VlanQinqVlanTransMissDropTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.15', - 'hwL2VlanQinqVlanTransMissDropEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.15.1', - 'hwL2VlanQinqVlanTransMissDropPortIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.15.1.1', - 'hwL2VlanQinqVlanTransMissDrop' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.15.1.2', - 'hwL2VlanQinqVlanTransMissDropDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanQinqVlanTransMissDrop', - 'hwL2VlanQinqVlanTransMissDropRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.15.1.3', - 'hwL2VlanViewMappingTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.16', - 'hwL2VlanViewMappingEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.16.1', - 'hwL2VlanViewMappingVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.16.1.1', - 'hwL2VlanViewMappingDirection' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.16.1.2', - 'hwL2VlanViewMappingDirectionDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanViewMappingDirection', - 'hwL2VlanViewMappingMapVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.16.1.3', - 'hwL2VlanViewMappingPriorityMode' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.16.1.4', - 'hwL2VlanViewMappingPriorityModeDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanViewMappingPriorityMode', - 'hwL2VlanViewMappingVlan8021p' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.16.1.5', - 'hwL2VlanViewMappingRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.16.1.6', - 'hwL2VlanStackingMaskTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.17', - 'hwL2VlanStackingMaskEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.17.1', - 'hwL2VlanStackingMaskPortIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.17.1.1', - 'hwL2VlanStackingMaskStackVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.17.1.2', - 'hwL2VlanStackingMaskStack8021p' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.17.1.3', - 'hwL2VlanStackingMaskAction' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.17.1.4', - 'hwL2VlanStackingMaskActionDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanStackingMaskAction', - 'hwL2VlanStackingMaskDirection' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.17.1.5', - 'hwL2VlanStackingMaskDirectionDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanStackingMaskDirection', - 'hwL2VlanStackingMaskVlanListLow' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.17.1.6', - 'hwL2VlanStackingMaskVlanListHigh' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.17.1.7', - 'hwL2VlanStackingMaskRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.17.1.8', - 'hwL2VlanIpSubnetVlanTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.18', - 'hwL2VlanIpSubnetVlanEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.18.1', - 'hwL2VlanIpSubnetVlanVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.18.1.1', - 'hwL2VlanIpSubnetVlanIpSubnetIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.18.1.2', - 'hwL2VlanIpSubnetVlanIpAddress' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.18.1.3', - 'hwL2VlanIpSubnetVlanIpSubnetMask' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.18.1.4', - 'hwL2VlanIpSubnetVlanPriority' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.18.1.5', - 'hwL2VlanIpSubnetVlanRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.18.1.6', - 'hwL2VlanMacVlanTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.19', - 'hwL2VlanMacVlanEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.19.1', - 'hwL2VlanMacVlanVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.19.1.1', - 'hwL2VlanMacVlanMac' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.19.1.2', - 'hwL2VlanMacVlanVlanPriority' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.19.1.3', - 'hwL2VlanMacVlanMacRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.19.1.4', - 'hwL2VlanProtocolVlanTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.20', - 'hwL2VlanProtocolVlanEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.20.1', - 'hwL2VlanProtocolVlanVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.20.1.1', - 'hwL2VlanProtocolVlanProtocolIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.20.1.2', - 'hwL2VlanProtocolVlanProtocolType' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.20.1.3', - 'hwL2VlanProtocolVlanEncapType' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.20.1.4', - 'hwL2VlanProtocolVlanEncapTypeDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanProtocolVlanEncapType', - 'hwL2VlanProtocolVlanRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.20.1.5', - 'hwL2VlanPolicyVlanTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.21', - 'hwL2VlanPolicyVlanEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.21.1', - 'hwL2VlanPolicyVlanMac' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.21.1.1', - 'hwL2VlanPolicyVlanIp' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.21.1.2', - 'hwL2VlanPolicyVlanPort' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.21.1.3', - 'hwL2VlanPolicyVlanVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.21.1.4', - 'hwL2VlanPolicyVlanVlanPriority' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.21.1.5', - 'hwL2VlanPolicyVlanRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.21.1.6', - 'hwL2VlanVoiceVlanEnabledVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.22', - 'hwL2VlanVoiceVlanAgingTime' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.23', - 'hwL2VlanVoiceVlanSecurityMode' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.24', - 'hwL2VlanVoiceVlanSecurityModeDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanVoiceVlanSecurityMode', - 'hwL2VlanVoiceVlanPortTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.25', - 'hwL2VlanVoiceVlanPortEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.25.1', - 'hwL2VlanVoiceVlanPortIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.25.1.1', - 'hwL2VlanVoiceVlanPortEnable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.25.1.2', - 'hwL2VlanVoiceVlanPortMode' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.25.1.3', - 'hwL2VlanVoiceVlanPortModeDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanVoiceVlanPortMode', - 'hwL2VlanVoiceVlanPortLegacy' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.25.1.4', - 'hwL2VlanVoiceVlanPortSecurityMode' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.25.1.5', - 'hwL2VlanVoiceVlanPortSecurityModeDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanVoiceVlanPortSecurityMode', - 'hwL2VlanVoiceVlanPortModifyPriorityMode' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.25.1.6', - 'hwL2VlanVoiceVlanPortModifyPriorityModeDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanVoiceVlanPortModifyPriorityMode', - 'hwL2VlanVoiceVlanOuiTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.26', - 'hwL2VlanVoiceVlanOuiEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.26.1', - 'hwL2VlanVoiceVlanOuiAddress' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.26.1.1', - 'hwL2VlanVoiceVlanOuiMask' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.26.1.2', - 'hwL2VlanVoiceVlanOuiDescription' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.26.1.3', - 'hwL2VlanVoiceVlanOuiRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.26.1.4', - 'hwL2VlanMappingMultiTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.27', - 'hwL2VlanMappingMultiEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.27.1', - 'hwL2VlanMappingMultiPortIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.27.1.1', - 'hwL2VlanMappingMultiDirection' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.27.1.2', - 'hwL2VlanMappingMultiDirectionDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanMappingMultiDirection', - 'hwL2VlanMappingMultiVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.27.1.3', - 'hwL2VlanMappingMultiVlan8021p' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.27.1.4', - 'hwL2VlanMappingMultiVlanListLow' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.27.1.5', - 'hwL2VlanMappingMultiVlanListHigh' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.27.1.6', - 'hwL2VlanMappingMultiRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.27.1.7', - 'hwL2VlanMacVlanNewTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.28', - 'hwL2VlanMacVlanNewEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.28.1', - 'hwL2VlanMacVlanNewMac' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.28.1.1', - 'hwL2VlanMacVlanNewVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.28.1.2', - 'hwL2VlanMacVlanNewVlanPriority' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.28.1.3', - 'hwL2VlanMacVlanNewMacRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.28.1.4', - 'hwL2VlanProtocolVlanNewTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.29', - 'hwL2VlanProtocolVlanNewEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.29.1', - 'hwL2VlanProtocolVlanNewVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.29.1.1', - 'hwL2VlanProtocolVlanNewProtocolIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.29.1.2', - 'hwL2VlanProtocolVlanNewProtocolType' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.29.1.3', - 'hwL2VlanProtocolVlanNewProtocolTypeDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanProtocolVlanNewProtocolType', - 'hwL2VlanProtocolVlanNewProtocolTypeValue' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.29.1.4', - 'hwL2VlanProtocolVlanNewRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.29.1.5', - 'hwL2VlanPolicyVlanNewTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.30', - 'hwL2VlanPolicyVlanNewEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.30.1', - 'hwL2VlanPolicyVlanNewMac' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.30.1.1', - 'hwL2VlanPolicyVlanNewIp' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.30.1.2', - 'hwL2VlanPolicyVlanNewPort' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.30.1.3', - 'hwL2VlanPolicyVlanNewVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.30.1.4', - 'hwL2VlanPolicyVlanNewVlanPriority' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.30.1.5', - 'hwL2VlanPolicyVlanNewRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.30.1.6', - 'hwL2VlanProtocolVlanPortNewTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.31', - 'hwL2VlanProtocolVlanPortNewEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.31.1', - 'hwL2VlanProtocolVlanPortNewIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.31.1.1', - 'hwL2VlanProtocolVlanPortNewVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.31.1.2', - 'hwL2VlanProtocolVlanPortNewProtocolIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.31.1.3', - 'hwL2VlanProtocolVlanPortNewPriority' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.31.1.4', - 'hwL2VlanProtocolVlanPortNewRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.31.1.5', - 'hwL2VlanMultiVoiceVlanPortTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.32', - 'hwL2VlanMultiVoiceVlanPortEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.32.1', - 'hwL2VlanMultiVoiceVlanIfIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.32.1.1', - 'hwL2VlanMultiVoiceVlanPortVLanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.32.1.2', - 'hwL2VlanMultiVoiceVlanPortUntagEnable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.32.1.3', - 'hwL2VlanMultiVoiceVlanPortUntagEnableDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanMultiVoiceVlanPortUntagEnable', - 'hwL2VlanMultiVoiceVlanPortRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.32.1.51', - 'hwL2VlanSwitchExtTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.33', - 'hwL2VlanSwitchExtEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.33.1', - 'hwL2VlanSwitchExtName' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.33.1.1', - 'hwL2VlanSwitchExtSrcIfIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.33.1.2', - 'hwL2VlanSwitchExtOuterVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.33.1.3', - 'hwL2VlanSwitchExtVlanListLow' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.33.1.4', - 'hwL2VlanSwitchExtVlanListHigh' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.33.1.5', - 'hwL2VlanSwitchExtDstIfIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.33.1.6', - 'hwL2VlanSwitchExtVlanXlateAction' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.33.1.7', - 'hwL2VlanSwitchExtVlanXlateActionDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanSwitchExtVlanXlateAction', - 'hwL2VlanSwitchExtDstVlan' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.33.1.8', - 'hwL2VlanSwitchExtDstInnerVlan' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.33.1.9', - 'hwL2VlanSwitchExtRemark' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.33.1.10', - 'hwL2VlanSwitchExtRemarkReverse' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.33.1.11', - 'hwL2VlanSwitchExtLinkStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.33.1.12', - 'hwL2VlanSwitchExtLinkStatusDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanSwitchExtLinkStatus', - 'hwL2VlanSwitchExtRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.33.1.51', - 'hwL2VlanPrecedence' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.34', - 'hwL2VlanPrecedenceDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanPrecedence', - 'hwL2VlanXlateTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.35', - 'hwL2VlanXlateEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.35.1', - 'hwL2VlanXlateInterfaceIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.35.1.1', - 'hwL2VlanXlateVlanIdBegin' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.35.1.2', - 'hwL2VlanXlateVlanIdEnd' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.35.1.3', - 'hwL2VlanXlateOuterVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.35.1.4', - 'hwL2VlanXlateVlan8021p' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.35.1.5', - 'hwL2VlanXlateDirection' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.35.1.6', - 'hwL2VlanXlateDirectionDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanXlateDirection', - 'hwL2VlanXlateAction' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.35.1.7', - 'hwL2VlanXlateActionDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2VlanXlateAction', - 'hwL2VlanXlateToVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.35.1.8', - 'hwL2VlanXlateToinnerVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.35.1.9', - 'hwL2VlanXlateremark' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.35.1.10', - 'hwL2VlanXlateRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.35.1.51', - 'hwL2QinQVlanTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.36', - 'hwL2QinQVlanEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.36.1', - 'hwL2QinQVlanIfIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.36.1.1', - 'hwL2QinQVlanIdBegin' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.36.1.2', - 'hwL2QinQVlanIdEnd' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.36.1.3', - 'hwL2QinQVlanInnerVlanIdBegin' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.36.1.4', - 'hwL2QinQVlanInnerVlanIdEnd' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.36.1.5', - 'hwL2QinQVlan8021pBegin' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.36.1.6', - 'hwL2QinQVlan8021pEnd' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.36.1.7', - 'hwL2QinQVlanEtherType' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.36.1.8', - 'hwL2QinQVlanMode' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.36.1.9', - 'hwL2QinQVlanModeDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2QinQVlanMode', - 'hwL2QinQVlanChangedVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.36.1.10', - 'hwL2QinQVlanChangedInnerVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.36.1.11', - 'hwL2QinQVlanRemark' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.36.1.12', - 'hwL2QinQVlanMapStackVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.36.1.13', - 'hwL2QinQVlanRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.36.1.14', - 'hwL2UntagAddDTagTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.37', - 'hwL2UntagAddDTagEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.37.1', - 'hwL2UntagAddDTagPortIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.37.1.1', - 'hwL2UntagAddDTagOuterVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.37.1.2', - 'hwL2UntagAddDTagInnerVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.37.1.3', - 'hwL2UntagAddDTagRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.37.1.4', - 'hwL2VlanVoiceVlan8021p' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.38', - 'hwL2VlanVoiceVlanDscp' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.39', - 'hwL2QinQIsolateTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.40', - 'hwL2QinQIsolateEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.40.1', - 'hwL2QinQIsolatePortIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.40.1.1', - 'hwL2QinQIsolateVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.40.1.2', - 'hwL2QinQIsolatePeVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.40.1.3', - 'hwL2QinQIsolateCeVlanListLow' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.40.1.4', - 'hwL2QinQIsolateCeVlanListHigh' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.40.1.5', - 'hwL2QinQTagType' => '1.3.6.1.4.1.2011.5.25.42.3.1.2.40.1.6', - 'hwL2QinQTagTypeDefinition' => 'HUAWEI-L2VLAN-MIB::hwL2QinQTagType', - 'hwL2VlanStatistics' => '1.3.6.1.4.1.2011.5.25.42.3.1.3', - 'hwL2IfStatVlanCfgTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.1', - 'hwL2IfStatVlanCfgEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.1.1', - 'hwL2IfStatVlanCfgPortIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.1.1.1', - 'hwL2IfStatVlanCfgVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.1.1.2', - 'hwL2IfStatVlanCfgEnableFlag' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.1.1.11', - 'hwL2IfStatVlanCfgRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.1.1.12', - 'hwL2IfStat8021pCfgTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.2', - 'hwL2IfStat8021pCfgEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.2.1', - 'hwL2IfStat8021pCfgPortIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.2.1.1', - 'hwL2IfStat8021pCfg8021p' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.2.1.2', - 'hwL2IfStat8021pCfgEnableFlag' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.2.1.11', - 'hwL2IfStat8021pCfgRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.2.1.12', - 'hwL2IfStat8021pAndVlanCfgTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.3', - 'hwL2IfStat8021pAndVlanCfgEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.3.1', - 'hwL2IfStat8021pAndVlanCfgPortIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.3.1.1', - 'hwL2IfStat8021pAndVlanCfgVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.3.1.2', - 'hwL2IfStat8021pAndVlanCfg8021p' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.3.1.3', - 'hwL2IfStat8021pAndVlanCfgEnableFlag' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.3.1.11', - 'hwL2IfStat8021pAndVlanCfgRowStatus' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.3.1.12', - 'hwL2VlanStatTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.4', - 'hwL2VlanStatEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.4.1', - 'hwL2VlanStatVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.4.1.1', - 'hwL2VlanStatInTotalPkts' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.4.1.2', - 'hwL2VlanStatInTotalBytes' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.4.1.3', - 'hwL2VlanStatOutTotalPkts' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.4.1.4', - 'hwL2VlanStatOutTotalBytes' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.4.1.5', - 'hwL2VlanStatUnknownUcastDiscardPkts' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.4.1.6', - 'hwL2VlanStatUnknownMcastDiscardPkts' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.4.1.7', - 'hwL2VlanStatBcastDiscardPkts' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.4.1.8', - 'hwL2VlanStatInUcastPkts' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.4.1.9', - 'hwL2VlanStatInUcastBytes' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.4.1.10', - 'hwL2VlanStatOutUcastPkts' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.4.1.11', - 'hwL2VlanStatOutUcastBytes' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.4.1.12', - 'hwL2VlanStatInMcastPkts' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.4.1.13', - 'hwL2VlanStatInMcastBytes' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.4.1.14', - 'hwL2VlanStatOutMcastPkts' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.4.1.15', - 'hwL2VlanStatOutMcastBytes' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.4.1.16', - 'hwL2VlanStatInBcastPkts' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.4.1.17', - 'hwL2VlanStatInBcastBytes' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.4.1.18', - 'hwL2VlanStatOutBcastPkts' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.4.1.19', - 'hwL2VlanStatOutBcastBytes' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.4.1.20', - 'hwL2VlanStatResetFlag' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.4.1.21', - 'hwL2IfStatVlanTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.5', - 'hwL2IfStatVlanEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.5.1', - 'hwL2IfStatVlanPortIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.5.1.1', - 'hwL2IfStatVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.5.1.2', - 'hwL2IfStatVlanInTotalPkts' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.5.1.3', - 'hwL2IfStatVlanInTotalBytes' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.5.1.4', - 'hwL2IfStatVlanOutTotalPkts' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.5.1.5', - 'hwL2IfStatVlanOutTotalBytes' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.5.1.6', - 'hwL2IfStatVlanInPktsRate' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.5.1.7', - 'hwL2IfStatVlanInBytesRate' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.5.1.8', - 'hwL2IfStatVlanOutPktsRate' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.5.1.9', - 'hwL2IfStatVlanOutBytesRate' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.5.1.10', - 'hwL2IfStatVlanInUcastPkts' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.5.1.11', - 'hwL2IfStatVlanInUcastBytes' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.5.1.12', - 'hwL2IfStatVlanOutUcastPkts' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.5.1.13', - 'hwL2IfStatVlanOutUcastBytes' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.5.1.14', - 'hwL2IfStatVlanInMcastPkts' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.5.1.15', - 'hwL2IfStatVlanInMcastBytes' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.5.1.16', - 'hwL2IfStatVlanOutMcastPkts' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.5.1.17', - 'hwL2IfStatVlanOutMcastBytes' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.5.1.18', - 'hwL2IfStatVlanInBcastPkts' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.5.1.19', - 'hwL2IfStatVlanInBcastBytes' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.5.1.20', - 'hwL2IfStatVlanOutBcastPkts' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.5.1.21', - 'hwL2IfStatVlanOutBcastBytes' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.5.1.22', - 'hwL2IfStatVlanResetFlag' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.5.1.23', - 'hwL2IfStat8021pTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.6', - 'hwL2IfStat8021pEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.6.1', - 'hwL2IfStat8021pPortIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.6.1.1', - 'hwL2IfStat8021p' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.6.1.2', - 'hwL2IfStat8021pInTotalPkts' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.6.1.3', - 'hwL2IfStat8021pInTotalBytes' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.6.1.4', - 'hwL2IfStat8021pOutTotalPkts' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.6.1.5', - 'hwL2IfStat8021pOutTotalBytes' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.6.1.6', - 'hwL2IfStat8021pInPktsRate' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.6.1.7', - 'hwL2IfStat8021pInBytsRate' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.6.1.8', - 'hwL2IfStat8021pOutPktsRate' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.6.1.9', - 'hwL2IfStat8021pOutBytesRate' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.6.1.10', - 'hwL2IfStat8021pResetFlag' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.6.1.11', - 'hwL2IfStat8021pAndVlanTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.7', - 'hwL2IfStat8021pAndVlanEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.7.1', - 'hwL2IfStat8021pAndVlanPortIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.7.1.1', - 'hwL2IfStat8021pAndVlanVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.7.1.2', - 'hwL2IfStat8021pAndVlan8021p' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.7.1.3', - 'hwL2IfStat8021pAndVlanInTotalPkts' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.7.1.4', - 'hwL2IfStat8021pAndVlanInTotalBytes' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.7.1.5', - 'hwL2IfStat8021pAndVlanInPktsRate' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.7.1.6', - 'hwL2IfStat8021pAndVlanInBytsRate' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.7.1.7', - 'hwL2IfStat8021pAndVlanResetFlag' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.7.1.8', - 'hwL2VlanSwitchPSTable' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.8', - 'hwL2VlanSwitchPSEntry' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.8.1', - 'hwL2VlanSwitchPSIfIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.8.1.1', - 'hwL2VlanSwitchPSSVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.8.1.2', - 'hwL2VlanSwitchPSCVlanId' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.8.1.3', - 'hwL2VlanSwitchPSInputPkts' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.8.1.4', - 'hwL2VlanSwitchPSInputBytes' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.8.1.5', - 'hwL2VlanSwitchPSOutputPkts' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.8.1.6', - 'hwL2VlanSwitchPSOutputBytes' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.8.1.7', - 'hwL2VlanSwitchPSResetFlag' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.8.1.8', - 'hwL2VlanSwitchPSEnableFlag' => '1.3.6.1.4.1.2011.5.25.42.3.1.3.8.1.9', - 'hwL2VlanTraps' => '1.3.6.1.4.1.2011.5.25.42.3.1.4', - 'hwL2VlanTrapObjects' => '1.3.6.1.4.1.2011.5.25.42.3.1.5', - 'hwVcmpDeviceMac' => '1.3.6.1.4.1.2011.5.25.42.3.1.5.1', - 'hwPrincipalVlanID' => '1.3.6.1.4.1.2011.5.25.42.3.1.5.2', - 'hwMuxVlanUpperThreshold' => '1.3.6.1.4.1.2011.5.25.42.3.1.5.3', - 'hwMuxVlanLowerThreshold' => '1.3.6.1.4.1.2011.5.25.42.3.1.5.4', - 'hwVlantransIfIndex' => '1.3.6.1.4.1.2011.5.25.42.3.1.5.5', - 'hwVlantransUpperThreshold' => '1.3.6.1.4.1.2011.5.25.42.3.1.5.6', - 'hwVlantransLowerThreshold' => '1.3.6.1.4.1.2011.5.25.42.3.1.5.7', - 'hwL2vlanConformance' => '1.3.6.1.4.1.2011.5.25.42.3.2', - 'hwL2vlanGroups' => '1.3.6.1.4.1.2011.5.25.42.3.2.1', - 'hwL2vlanCompliances' => '1.3.6.1.4.1.2011.5.25.42.3.2.2', - 'hwL2VlanTrapsGroups' => '1.3.6.1.4.1.2011.5.25.42.3.2.3', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'HUAWEI-L2VLAN-MIB'} = { - 'hwL2DVlanMappingAction' => { - '1' => 'swap', - '2' => 'popExternalVlan', - '3' => 'drop', - }, - 'hwL2VlanStackingMaskAction' => { - '1' => 'pop', - '2' => 'push', - }, - 'hwL2VlanStackingExtDirection' => { - '1' => 'inside', - '2' => 'outside', - }, - 'hwL2VlanMappingExtPriorityMode' => { - '1' => 'priorityInherit', - '2' => 'remark8021p', - }, - 'hwL2VlanMappingMultiDirection' => { - '1' => 'inbound', - '2' => 'outbound', - '3' => 'both', - }, - 'hwL2VlanCreateStatus' => { - '1' => 'other', - '2' => 'static', - '3' => 'dynamic', - }, - 'hwL2VlanViewMappingDirection' => { - '1' => 'inbound', - '2' => 'outbound', - '3' => 'both', - }, - 'hwL2VlanStackingExtPriorityMode' => { - '1' => 'priorityInherit', - '2' => 'remark8021p', - }, - 'hwL2VlanStackingExtAction' => { - '1' => 'pop', - '2' => 'push', - }, - 'hwL2VlanXlateAction' => { - '1' => 'map', - '2' => 'stack', - '3' => 'pop', - }, - 'hwL2VlanQinQDirection' => { - '1' => 'inbound', - '2' => 'outbound', - }, - 'hwL2VlanSwitchExtLinkStatus' => { - '1' => 'up', - '2' => 'down', - }, - 'hwL2VlanProtocolVlanNewProtocolType' => { - '1' => 'at', - '2' => 'ipv4', - '3' => 'ipv6', - '4' => 'ipxEthernetii', - '5' => 'ipxLlc', - '6' => 'ipxRaw', - '7' => 'ipxSnap', - '8' => 'modeEthernetii', - '9' => 'modeLlc', - '10' => 'modeSnap', - }, - 'hwL2QinQVlanMode' => { - '1' => 'stacking', - '2' => 'mapping', - '3' => 'cosstacking', - '4' => 'cosmapping', - '5' => 'mapping2to1', - '6' => 'mapping2to2', - }, - 'hwL2VlanStackingMaskDirection' => { - '1' => 'inside', - '2' => 'outside', - '3' => 'both', - }, - 'hwL2VlanMultiVoiceVlanPortUntagEnable' => { - '1' => 'enabled', - '2' => 'disabled', - }, - 'hwL2VlanType' => { - '1' => 'superVlan', - '2' => 'commonVlan', - '3' => 'subVlan', - '4' => 'muxVlan', - '5' => 'muxSubVlan', - '6' => 'protocolTransVlan', - }, - 'hwL2VlanViewMappingPriorityMode' => { - '1' => 'priorityInherit', - '2' => 'remark8021p', - }, - 'hwL2VlanXlateDirection' => { - '1' => 'inbound', - '2' => 'outbound', - '3' => 'both', - }, - 'hwL2VlanSwitchMode' => { - '1' => 'zeroToOne', - '2' => 'zeroToTwo', - '3' => 'oneToZero', - '4' => 'oneToOne', - '5' => 'oneToTwo', - '6' => 'twoToZero', - '7' => 'twoToOne', - '8' => 'twoToTwo', - }, - 'hwL2VlanVoiceVlanPortModifyPriorityMode' => { - '1' => 'modifyPriByVlan', - '2' => 'modifyPriByOui', - }, - 'hwL2VlanPrecedence' => { - '1' => 'macvlan', - '2' => 'ipsubnetvlan', - }, - 'hwL2VlanProperty' => { - '1' => 'default', - '2' => 'backboneVlan', - '3' => 'mutilcastVlan', - '4' => 'userVlan', - }, - 'hwL2VlanVoiceVlanPortMode' => { - '1' => 'auto', - '2' => 'manual', - }, - 'hwL2DVlanMappingDirection' => { - '1' => 'inbound', - '2' => 'outbound', - }, - 'hwL2VlanQinQAction' => { - '1' => 'push', - '2' => 'nop', - }, - 'hwL2VlanQinqVlanTransMissDrop' => { - '1' => 'noDrop', - '2' => 'drop', - }, - 'hwL2VlanVoiceVlanSecurityMode' => { - '1' => 'security', - '2' => 'normal', - }, - 'hwL2VlanProtocolVlanEncapType' => { - '1' => 'etherii', - '2' => 'snap', - '3' => 'llc', - }, - 'hwL2VlanUnknownUnicastProcessing' => { - '1' => 'broadcast', - '2' => 'discard', - }, - 'hwL2VlanVoiceVlanPortSecurityMode' => { - '1' => 'security', - '2' => 'normal', - }, - 'hwL2VlanSwitchExtVlanXlateAction' => { - '1' => 'unchange', - '2' => 'switch', - '3' => 'push', - }, - 'hwL2QinQTagType' => { - '1' => 'dot1q', - '2' => 'qinq', - }, - 'hwL2VlanMappingExtDirection' => { - '1' => 'inbound', - '2' => 'outbound', - }, - 'hwL2VlanUnknownMulticastProcessing' => { - '1' => 'broadcast', - '2' => 'discard', - }, -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIWLANAPMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIWLANAPMIB.pm deleted file mode 100644 index 8573f1f..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIWLANAPMIB.pm +++ /dev/null @@ -1,690 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::HUAWEIWLANAPMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'HUAWEI-WLAN-AP-MIB'} = { - url => '', - name => 'HUAWEI-WLAN-AP-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'HUAWEI-WLAN-AP-MIB'} = - '1.3.6.1.4.1.2011.6.139.13'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'HUAWEI-WLAN-AP-MIB'} = { - 'hwWlanAp' => '1.3.6.1.4.1.2011.6.139.13', - 'hwWlanApTrapInfo' => '1.3.6.1.4.1.2011.6.139.13.1', - 'hwWlanApTrap' => '1.3.6.1.4.1.2011.6.139.13.1.1', - 'hwWlanApTrapObjects' => '1.3.6.1.4.1.2011.6.139.13.1.2', - 'hwWlanApActualType' => '1.3.6.1.4.1.2011.6.139.13.1.2.1', - 'hwWlanApCpuOccupancyRate' => '1.3.6.1.4.1.2011.6.139.13.1.2.2', - 'hwWlanApMemoryOccupancyRate' => '1.3.6.1.4.1.2011.6.139.13.1.2.3', - 'hwWlanApPermitStaNum' => '1.3.6.1.4.1.2011.6.139.13.1.2.4', - 'hwWlanStaAuthFailCause' => '1.3.6.1.4.1.2011.6.139.13.1.2.5', - 'hwWlanAcSystemSwitchType' => '1.3.6.1.4.1.2011.6.139.13.1.2.6', - 'hwWlanApOpticalRxPower' => '1.3.6.1.4.1.2011.6.139.13.1.2.7', - 'hwWlanApOpticalTemperature' => '1.3.6.1.4.1.2011.6.139.13.1.2.8', - 'hwWlanApCfgCountryCode' => '1.3.6.1.4.1.2011.6.139.13.1.2.9', - 'hwWlanApArpAttackSrcMac' => '1.3.6.1.4.1.2011.6.139.13.1.2.10', - 'hwWlanApArpAttackDstMac' => '1.3.6.1.4.1.2011.6.139.13.1.2.11', - 'hwWlanApArpAttackSrcIP' => '1.3.6.1.4.1.2011.6.139.13.1.2.12', - 'hwWlanApArpCfgRateThreshold' => '1.3.6.1.4.1.2011.6.139.13.1.2.13', - 'hwWlanApArpActualRate' => '1.3.6.1.4.1.2011.6.139.13.1.2.14', - 'hwWlanApNotifyRadioId' => '1.3.6.1.4.1.2011.6.139.13.1.2.15', - 'hwWlanApNotifyOrRestoreTemperature' => '1.3.6.1.4.1.2011.6.139.13.1.2.16', - 'hwWlanOccurTime' => '1.3.6.1.4.1.2011.6.139.13.1.2.17', - 'hwWlanApBootNotifyName' => '1.3.6.1.4.1.2011.6.139.13.1.2.18', - 'hwWlanApFaultTimes' => '1.3.6.1.4.1.2011.6.139.13.1.2.19', - 'hwWlanApUnAuthorizedApRecordNumber' => '1.3.6.1.4.1.2011.6.139.13.1.2.20', - 'hwWlanCrcErrActual' => '1.3.6.1.4.1.2011.6.139.13.1.2.21', - 'hwWlanCrcThreshold' => '1.3.6.1.4.1.2011.6.139.13.1.2.22', - 'hwWlanApNotifyWlanId' => '1.3.6.1.4.1.2011.6.139.13.1.2.23', - 'hwWlanApLicenseInfo' => '1.3.6.1.4.1.2011.6.139.13.1.2.24', - 'hwWlanCrcPortType' => '1.3.6.1.4.1.2011.6.139.13.1.2.25', - 'hwWlanCrcPortID' => '1.3.6.1.4.1.2011.6.139.13.1.2.26', - 'hwWlanApArpAttackDropNum' => '1.3.6.1.4.1.2011.6.139.13.1.2.27', - 'hwWlanApFaultID' => '1.3.6.1.4.1.2011.6.139.13.1.2.28', - 'hwWlanApIfIndex' => '1.3.6.1.4.1.2011.6.139.13.1.2.29', - 'hwWlanApFaultInfo' => '1.3.6.1.4.1.2011.6.139.13.1.2.30', - 'hwWlanApSoftWareVersion' => '1.3.6.1.4.1.2011.6.139.13.1.2.31', - 'hwRadioUploadRemoteCaptureResult' => '1.3.6.1.4.1.2011.6.139.13.1.2.32', - 'hwWlanApRadioID' => '1.3.6.1.4.1.2011.6.139.13.1.2.33', - 'hwWlanApCpuOverloadDescInfo' => '1.3.6.1.4.1.2011.6.139.13.1.2.34', - 'hwWlanApOpticalTxPower' => '1.3.6.1.4.1.2011.6.139.13.1.2.35', - 'hwWlanSlotNum' => '1.3.6.1.4.1.2011.6.139.13.1.2.36', - 'hwApPoePdPriority' => '1.3.6.1.4.1.2011.6.139.13.1.2.37', - 'hwApPoePdPriorityDefinition' => 'HUAWEI-WLAN-AP-MIB::hwApPoePdPriority', - 'hwApPoePortPriority' => '1.3.6.1.4.1.2011.6.139.13.1.2.38', - 'hwApPoePortPriorityDefinition' => 'HUAWEI-WLAN-AP-MIB::hwApPoePortPriority', - 'hwApPoeCurConsumPower' => '1.3.6.1.4.1.2011.6.139.13.1.2.39', - 'hwApPoeConsumPowerThreshold' => '1.3.6.1.4.1.2011.6.139.13.1.2.40', - 'hwApFanIndex' => '1.3.6.1.4.1.2011.6.139.13.1.2.41', - 'hwApEntityPhysicalName' => '1.3.6.1.4.1.2011.6.139.13.1.2.42', - 'hwApStorageIndex' => '1.3.6.1.4.1.2011.6.139.13.1.2.43', - 'hwApStorageName' => '1.3.6.1.4.1.2011.6.139.13.1.2.44', - 'hwWlanApOpticalFaultID' => '1.3.6.1.4.1.2011.6.139.13.1.2.45', - 'hwWlanApWlanID' => '1.3.6.1.4.1.2011.6.139.13.1.2.46', - 'hwWlanBLEMacAddr' => '1.3.6.1.4.1.2011.6.139.13.1.2.47', - 'hwWlanApUdp' => '1.3.6.1.4.1.2011.6.139.13.1.2.48', - 'hwSubFirmwareName' => '1.3.6.1.4.1.2011.6.139.13.1.2.49', - 'hwSubFirmware' => '1.3.6.1.4.1.2011.6.139.13.1.2.50', - 'hwRealVersion' => '1.3.6.1.4.1.2011.6.139.13.1.2.51', - 'hwExpectVersion' => '1.3.6.1.4.1.2011.6.139.13.1.2.52', - 'hwWlanApIotCardId' => '1.3.6.1.4.1.2011.6.139.13.1.2.53', - 'hwPowerOffReason' => '1.3.6.1.4.1.2011.6.139.13.1.2.54', - 'hwApSpecificChangeConfig' => '1.3.6.1.4.1.2011.6.139.13.1.2.55', - 'hwApSpecificChangeReason' => '1.3.6.1.4.1.2011.6.139.13.1.2.56', - 'hwApInconsisitConfig' => '1.3.6.1.4.1.2011.6.139.13.1.2.57', - 'hwApConfigInconsisitReason' => '1.3.6.1.4.1.2011.6.139.13.1.2.58', - 'hwApPowerWorkMode' => '1.3.6.1.4.1.2011.6.139.13.1.2.59', - 'hwApExpectPowerWorkMode' => '1.3.6.1.4.1.2011.6.139.13.1.2.60', - 'hwWlanIllegalMac' => '1.3.6.1.4.1.2011.6.139.13.1.2.61', - 'hwApVlanId' => '1.3.6.1.4.1.2011.6.139.13.1.2.62', - 'hwWlanApIfName' => '1.3.6.1.4.1.2011.6.139.13.1.2.63', - 'hwWlanApConfigType' => '1.3.6.1.4.1.2011.6.139.13.1.2.64', - 'hwAPDiskThresholdWarning' => '1.3.6.1.4.1.2011.6.139.13.1.2.65', - 'hwAPDiskThresholdCurrent' => '1.3.6.1.4.1.2011.6.139.13.1.2.66', - 'hwAPConflictIPAddress' => '1.3.6.1.4.1.2011.6.139.13.1.2.67', - 'hwAPMaxNum' => '1.3.6.1.4.1.2011.6.139.13.1.2.68', - 'hwWlanApIotCardType' => '1.3.6.1.4.1.2011.6.139.13.1.2.69', - 'hwApPowerId' => '1.3.6.1.4.1.2011.6.139.13.1.2.70', - 'hwApPowerFaultId' => '1.3.6.1.4.1.2011.6.139.13.1.2.71', - 'hwApPowerFaultReason' => '1.3.6.1.4.1.2011.6.139.13.1.2.72', - 'hwWlanApTemperatureType' => '1.3.6.1.4.1.2011.6.139.13.1.2.73', - 'hwWlanApTypeObjects' => '1.3.6.1.4.1.2011.6.139.13.2', - 'hwWlanApTypeTable' => '1.3.6.1.4.1.2011.6.139.13.2.1', - 'hwWlanApTypeEntry' => '1.3.6.1.4.1.2011.6.139.13.2.1.1', - 'hwWlanApType' => '1.3.6.1.4.1.2011.6.139.13.2.1.1.1', - 'hwWlanApTypeDesc' => '1.3.6.1.4.1.2011.6.139.13.2.1.1.2', - 'hwWlanApTypeWiredPortNum' => '1.3.6.1.4.1.2011.6.139.13.2.1.1.3', - 'hwWlanApTypeRadioNum' => '1.3.6.1.4.1.2011.6.139.13.2.1.1.4', - 'hwWlanApTypeMaxStaNum' => '1.3.6.1.4.1.2011.6.139.13.2.1.1.5', - 'hwWlanApTypeReset' => '1.3.6.1.4.1.2011.6.139.13.2.1.1.6', - 'hwWlanApTypeExternalAntenna' => '1.3.6.1.4.1.2011.6.139.13.2.1.1.7', - 'hwWlanApTypeExternalAntennaDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanApTypeExternalAntenna', - 'hwWlanApTypeID' => '1.3.6.1.4.1.2011.6.139.13.2.1.1.8', - 'hwWlanApTypeOperate' => '1.3.6.1.4.1.2011.6.139.13.2.1.1.9', - 'hwWlanApTypeOperateDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanApTypeOperate', - 'hwWlanApTypeConfigurationMethod' => '1.3.6.1.4.1.2011.6.139.13.2.1.1.10', - 'hwWlanApTypeAutoCreateMethod' => '1.3.6.1.4.1.2011.6.139.13.2.1.1.11', - 'hwWlanApTypeAutoCreateMethodDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanApTypeAutoCreateMethod', - 'hwWlanApTypeRadioTable' => '1.3.6.1.4.1.2011.6.139.13.2.2', - 'hwWlanApTypeRadioEntry' => '1.3.6.1.4.1.2011.6.139.13.2.2.1', - 'hwWlanApTypeRadioIndex' => '1.3.6.1.4.1.2011.6.139.13.2.2.1.1', - 'hwWlanApTypeRadioType' => '1.3.6.1.4.1.2011.6.139.13.2.2.1.2', - 'hwWlanApTypeRadioTypeDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanApTypeRadioType', - 'hwWlanRadioMaxSpatialStreamsNum' => '1.3.6.1.4.1.2011.6.139.13.2.2.1.3', - 'hwWlanApTypeRadioAntennaGain' => '1.3.6.1.4.1.2011.6.139.13.2.2.1.4', - 'hwWlanApTypeRadioMaxVAPNum' => '1.3.6.1.4.1.2011.6.139.13.2.2.1.5', - 'hwWlanApTypeWiredPortTable' => '1.3.6.1.4.1.2011.6.139.13.2.3', - 'hwWlanApTypeWiredPortEntry' => '1.3.6.1.4.1.2011.6.139.13.2.3.1', - 'hwWlanApTypeWiredPortIndex' => '1.3.6.1.4.1.2011.6.139.13.2.3.1.1', - 'hwWlanApTypeWiredPortType' => '1.3.6.1.4.1.2011.6.139.13.2.3.1.2', - 'hwWlanApTypeWiredPortTypeDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanApTypeWiredPortType', - 'hwWlanApTypeWiredPortName' => '1.3.6.1.4.1.2011.6.139.13.2.3.1.3', - 'hwWlanApTypeUndefinedTable' => '1.3.6.1.4.1.2011.6.139.13.2.4', - 'hwWlanApTypeUndefinedEntry' => '1.3.6.1.4.1.2011.6.139.13.2.4.1', - 'hwWlanApTypeUndefined' => '1.3.6.1.4.1.2011.6.139.13.2.4.1.1', - 'hwWlanApTypeIDUndefined' => '1.3.6.1.4.1.2011.6.139.13.2.4.1.2', - 'hwWlanApTypeUndefinedReportApMac' => '1.3.6.1.4.1.2011.6.139.13.2.4.1.3', - 'hwWlanApTypeUndefinedReportTime' => '1.3.6.1.4.1.2011.6.139.13.2.4.1.4', - 'hwWlanApTypeUndefinedOperate' => '1.3.6.1.4.1.2011.6.139.13.2.4.1.5', - 'hwWlanApTypeUndefinedOperateDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanApTypeUndefinedOperate', - 'hwWlanApTypeAttributesAbnormalCheckTable' => '1.3.6.1.4.1.2011.6.139.13.2.5', - 'hwWlanApTypeAttributesAbnormalCheckEntry' => '1.3.6.1.4.1.2011.6.139.13.2.5.1', - 'hwWlanApTypeAttributesAbnormalCheck' => '1.3.6.1.4.1.2011.6.139.13.2.5.1.1', - 'hwWlanApTypeIDAttributesAbnormalCheck' => '1.3.6.1.4.1.2011.6.139.13.2.5.1.2', - 'hwWlanApTypeAttributesAbnormalCheckResult' => '1.3.6.1.4.1.2011.6.139.13.2.5.1.3', - 'hwWlanApTypeAttributesAbnormalCheckResultDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanApTypeAttributesAbnormalCheckResult', - 'hwWlanApTypeAttributesAbnormalCheckReason' => '1.3.6.1.4.1.2011.6.139.13.2.5.1.4', - 'hwWlanApTypeAttributesAbnormalCheckReasonDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanApTypeAttributesAbnormalCheckReason', - 'hwWlanApObjects' => '1.3.6.1.4.1.2011.6.139.13.3', - 'hwWlanApPing' => '1.3.6.1.4.1.2011.6.139.13.3.1', - 'hwWlanApPingApMac' => '1.3.6.1.4.1.2011.6.139.13.3.1.1', - 'hwWlanApPingAddress' => '1.3.6.1.4.1.2011.6.139.13.3.1.2', - 'hwWlanApPingCount' => '1.3.6.1.4.1.2011.6.139.13.3.1.3', - 'hwWlanApPingPacketSize' => '1.3.6.1.4.1.2011.6.139.13.3.1.4', - 'hwWlanApPingWaitTime' => '1.3.6.1.4.1.2011.6.139.13.3.1.5', - 'hwWlanApPingTimeOut' => '1.3.6.1.4.1.2011.6.139.13.3.1.6', - 'hwWlanApPingResultSuccessCount' => '1.3.6.1.4.1.2011.6.139.13.3.1.7', - 'hwWlanApPingResultFailureCount' => '1.3.6.1.4.1.2011.6.139.13.3.1.8', - 'hwWlanApPingResultAveResponseTime' => '1.3.6.1.4.1.2011.6.139.13.3.1.9', - 'hwWlanApPingResultMinResponseTime' => '1.3.6.1.4.1.2011.6.139.13.3.1.10', - 'hwWlanApPingResultMaxResponseTime' => '1.3.6.1.4.1.2011.6.139.13.3.1.11', - 'hwWlanApPingResultFlag' => '1.3.6.1.4.1.2011.6.139.13.3.1.12', - 'hwWlanApPingResultFlagDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanApPingResultFlag', - 'hwWlanUnauthedApRecordTable' => '1.3.6.1.4.1.2011.6.139.13.3.2', - 'hwWlanUnauthedApRecordEntry' => '1.3.6.1.4.1.2011.6.139.13.3.2.1', - 'hwWlanUnauthedApRecordIndex' => '1.3.6.1.4.1.2011.6.139.13.3.2.1.1', - 'hwWlanUnauthedApType' => '1.3.6.1.4.1.2011.6.139.13.3.2.1.2', - 'hwWlanUnauthedApMacAddress' => '1.3.6.1.4.1.2011.6.139.13.3.2.1.3', - 'hwWlanUnauthedApSn' => '1.3.6.1.4.1.2011.6.139.13.3.2.1.4', - 'hwWlanUnauthedApIpAddress' => '1.3.6.1.4.1.2011.6.139.13.3.2.1.5', - 'hwWlanUnauthedApRecordTime' => '1.3.6.1.4.1.2011.6.139.13.3.2.1.6', - 'hwWlanUnauthedAPIPv6Address' => '1.3.6.1.4.1.2011.6.139.13.3.2.1.7', - 'hwWlanApTable' => '1.3.6.1.4.1.2011.6.139.13.3.3', - 'hwWlanApEntry' => '1.3.6.1.4.1.2011.6.139.13.3.3.1', - 'hwWlanApMac' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.1', - 'hwWlanApSn' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.2', - 'hwWlanApTypeInfo' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.3', - 'hwWlanApName' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.4', - 'hwWlanApGroup' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.5', - 'hwWlanApRunState' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.6', - 'hwWlanApRunStateDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanApRunState', - 'hwWlanApSoftwareVersion' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.7', - 'hwWlanApHardwareVersion' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.8', - 'hwWlanApCpuType' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.9', - 'hwWlanApCpufrequency' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.10', - 'hwWlanApMemoryType' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.11', - 'hwWlanApDomain' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.12', - 'hwWlanApIpAddress' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.13', - 'hwWlanApIpNetMask' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.14', - 'hwWlanApGatewayIp' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.15', - 'hwWlanApMemorySize' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.16', - 'hwWlanApFlashSize' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.17', - 'hwWlanApRunTime' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.18', - 'hwWlanApAdminOper' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.19', - 'hwWlanApAdminOperDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanApAdminOper', - 'hwWlanApDNS' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.20', - 'hwWlanApOnlineTime' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.21', - 'hwWlanApSysSoftwareDesc' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.22', - 'hwWlanApSysHardtwareDesc' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.23', - 'hwWlanApSysManufacture' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.24', - 'hwWlanApSysSoftwareName' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.25', - 'hwWlanApSysSoftwareVendor' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.26', - 'hwWlanApBomCode' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.27', - 'hwWlanApIpv6Address' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.28', - 'hwWlanApIpv6NetMask' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.29', - 'hwWlanApGatewayIpv6' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.30', - 'hwWlanApIpv6DNS' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.31', - 'hwWlanApProtectAcIPv6Addr' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.32', - 'hwWlanApBootCountTotal' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.33', - 'hwWlanApBootCountPowerOff' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.34', - 'hwWlanApBootCountClear' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.35', - 'hwWlanApElectronicLabel' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.36', - 'hwWlanApWiredPortNum' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.37', - 'hwWlanApWiredPortMtu' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.38', - 'hwWlanApWiredPortMac' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.39', - 'hwWlanApMemoryUseRate' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.40', - 'hwWlanApCpuUseRate' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.41', - 'hwWlanApFlashFreeSize' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.42', - 'hwWlanApTemperature' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.43', - 'hwWlanApOnlineUserNum' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.44', - 'hwWlanApDualBandAssoc5gStaNum' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.45', - 'hwWlanApDualBandStaNum' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.46', - 'hwWlanApStaOnlineFailRatio' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.47', - 'hwWlanApStaOfflineRatio' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.48', - 'hwWlanApStickyClientRatio' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.49', - 'hwWlanApUpEthPortSpeed' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.50', - 'hwWlanApUpEthPortSpeedDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanApUpEthPortSpeed', - 'hwWlanApUpEthPortSpeedMode' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.51', - 'hwWlanApUpEthPortSpeedModeDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanApUpEthPortSpeedMode', - 'hwWlanApUpEthPortDuplex' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.52', - 'hwWlanApUpEthPortDuplexDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanApUpEthPortDuplex', - 'hwWlanApUpEthPortDuplexMode' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.53', - 'hwWlanApUpEthPortDuplexModeDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanApUpEthPortDuplexMode', - 'hwWlanApUpPortSpeed' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.54', - 'hwWlanAPUpPortPER' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.55', - 'hwWlanEthportUpRate' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.56', - 'hwWlanEthportDownRate' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.57', - 'hwWlanApAirportUpTraffic' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.58', - 'hwWlanApAirportDwTraffic' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.59', - 'hwWlanApEthportDwTraffic' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.60', - 'hwWlanApEthportUpTraffic' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.61', - 'hwWlanApUpPortRecvPackets' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.62', - 'hwWlanApUpPortSendPackets' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.63', - 'hwWlanApRowstatus' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.64', - 'hwWlanApUpPortRecvBytes' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.65', - 'hwWlanApUpPortSendBytes' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.66', - 'hwWlanApId' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.67', - 'hwWlanCentralApId' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.68', - 'hwWlanCentralApMac' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.69', - 'hwWlanCentralApName' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.70', - 'hwWlanApSDCardSize' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.71', - 'hwWlanAPLongitude' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.72', - 'hwWlanAPLatitude' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.73', - 'hwWlanApTotalOnlineTime' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.74', - 'hwWlanApDiscoverTime' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.75', - 'hwWlanAPPoeWorkmode' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.76', - 'hwWlanAPPoeWorkmodeDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanAPPoeWorkmode', - 'hwWlanAPPoeExpectedWorkmode' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.77', - 'hwWlanAPPoeExpectedWorkmodeDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanAPPoeExpectedWorkmode', - 'hwWlanAPStaOnlineFailStatistics' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.78', - 'hwWlanAPStaOfflineStatistics' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.79', - 'hwWlanAPPowerSupplyState' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.80', - 'hwWlanAPPowerSupplyStateDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanAPPowerSupplyState', - 'hwWlanApDataLinkState' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.81', - 'hwWlanApDataLinkStateDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanApDataLinkState', - 'hwWlanApEnvironmentTemperature' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.82', - 'hwWlanApCpuTemperature' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.83', - 'hwWlanApNpTemperature' => '1.3.6.1.4.1.2011.6.139.13.3.3.1.84', - 'hwWlanApWiredPortTable' => '1.3.6.1.4.1.2011.6.139.13.3.4', - 'hwWlanApWiredPortEntry' => '1.3.6.1.4.1.2011.6.139.13.3.4.1', - 'hwWlanApWiredPortIndex' => '1.3.6.1.4.1.2011.6.139.13.3.4.1.1', - 'hwWlanApWiredPortType' => '1.3.6.1.4.1.2011.6.139.13.3.4.1.2', - 'hwWlanApWiredPortTypeDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanApWiredPortType', - 'hwWlanApWiredPortDesc' => '1.3.6.1.4.1.2011.6.139.13.3.4.1.3', - 'hwWlanApWiredPortState' => '1.3.6.1.4.1.2011.6.139.13.3.4.1.4', - 'hwWlanApWiredPortStateDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanApWiredPortState', - 'hwWlanApWiredPortSpeed' => '1.3.6.1.4.1.2011.6.139.13.3.4.1.5', - 'hwWlanApMultiWiredPortDuplex' => '1.3.6.1.4.1.2011.6.139.13.3.4.1.6', - 'hwWlanApMultiWiredPortDuplexDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanApMultiWiredPortDuplex', - 'hwWlanApMultiWiredPortNegotiation' => '1.3.6.1.4.1.2011.6.139.13.3.4.1.7', - 'hwWlanApMultiWiredPortNegotiationDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanApMultiWiredPortNegotiation', - 'hwWlanApMultiWiredPortMode' => '1.3.6.1.4.1.2011.6.139.13.3.4.1.8', - 'hwWlanApMultiWiredPortModeDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanApMultiWiredPortMode', - 'hwWlanApWiredPortApId' => '1.3.6.1.4.1.2011.6.139.13.3.4.1.9', - 'hwWlanApWiredPortApName' => '1.3.6.1.4.1.2011.6.139.13.3.4.1.10', - 'hwWlanApWiredPortTrunkID' => '1.3.6.1.4.1.2011.6.139.13.3.4.1.11', - 'hwWlanApWiredPortTrunkActiveFlag' => '1.3.6.1.4.1.2011.6.139.13.3.4.1.12', - 'hwWlanApWiredPortTrunkActiveFlagDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanApWiredPortTrunkActiveFlag', - 'hwWlanApWiredPortDot1xAuthState' => '1.3.6.1.4.1.2011.6.139.13.3.4.1.13', - 'hwWlanApWiredPortDot1xAuthStateDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanApWiredPortDot1xAuthState', - 'hwWlanApWiredPortStatTable' => '1.3.6.1.4.1.2011.6.139.13.3.5', - 'hwWlanApWiredPortStatEntry' => '1.3.6.1.4.1.2011.6.139.13.3.5.1', - 'hwWlanApWiredPortStatClear' => '1.3.6.1.4.1.2011.6.139.13.3.5.1.1', - 'hwWlanApWiredPortUpDwnTimes' => '1.3.6.1.4.1.2011.6.139.13.3.5.1.2', - 'hwWlanApWiredPortInPkts' => '1.3.6.1.4.1.2011.6.139.13.3.5.1.3', - 'hwWlanApWiredPortInUnicastPkts' => '1.3.6.1.4.1.2011.6.139.13.3.5.1.4', - 'hwWlanApWiredPortInNonUnicastPkts' => '1.3.6.1.4.1.2011.6.139.13.3.5.1.5', - 'hwWlanApWiredPortInBytes' => '1.3.6.1.4.1.2011.6.139.13.3.5.1.6', - 'hwWlanApWiredPortInErrorPkts' => '1.3.6.1.4.1.2011.6.139.13.3.5.1.7', - 'hwWlanApWiredPortInDiscardPkts' => '1.3.6.1.4.1.2011.6.139.13.3.5.1.8', - 'hwWlanApWiredPortOutPkts' => '1.3.6.1.4.1.2011.6.139.13.3.5.1.9', - 'hwWlanApWiredPortOutUnicastPkts' => '1.3.6.1.4.1.2011.6.139.13.3.5.1.10', - 'hwWlanApWiredPortOutNonUnicastPkts' => '1.3.6.1.4.1.2011.6.139.13.3.5.1.11', - 'hwWlanApWiredPortOutBytes' => '1.3.6.1.4.1.2011.6.139.13.3.5.1.12', - 'hwWlanApWiredPortOutErrorsPkts' => '1.3.6.1.4.1.2011.6.139.13.3.5.1.13', - 'hwWlanApWiredPortOutDiscardPkts' => '1.3.6.1.4.1.2011.6.139.13.3.5.1.14', - 'hwWlanApWiredPortLldpTable' => '1.3.6.1.4.1.2011.6.139.13.3.6', - 'hwWlanApWiredPortLldpEntry' => '1.3.6.1.4.1.2011.6.139.13.3.6.1', - 'hwWlanApWiredPortLldpRemLocalPortNum' => '1.3.6.1.4.1.2011.6.139.13.3.6.1.1', - 'hwWlanApWiredPortLldpRemIndex' => '1.3.6.1.4.1.2011.6.139.13.3.6.1.2', - 'hwWlanApWiredPortLldpRemChassisIdSubtype' => '1.3.6.1.4.1.2011.6.139.13.3.6.1.3', - 'hwWlanApWiredPortLldpRemChassisId' => '1.3.6.1.4.1.2011.6.139.13.3.6.1.4', - 'hwWlanApWiredPortLldpRemPortIdSubtype' => '1.3.6.1.4.1.2011.6.139.13.3.6.1.5', - 'hwWlanApWiredPortLldpRemPortId' => '1.3.6.1.4.1.2011.6.139.13.3.6.1.6', - 'hwWlanApWiredPortLldpRemPortDesc' => '1.3.6.1.4.1.2011.6.139.13.3.6.1.7', - 'hwWlanApWiredPortLldpRemSysName' => '1.3.6.1.4.1.2011.6.139.13.3.6.1.8', - 'hwWlanApWiredPortLldpRemSysDesc' => '1.3.6.1.4.1.2011.6.139.13.3.6.1.9', - 'hwWlanApWiredPortLldpRemSysCapSupported' => '1.3.6.1.4.1.2011.6.139.13.3.6.1.10', - 'hwWlanApWiredPortLldpRemSysCapEnabled' => '1.3.6.1.4.1.2011.6.139.13.3.6.1.11', - 'hwWlanApWiredPortLldpRemLocalApId' => '1.3.6.1.4.1.2011.6.139.13.3.6.1.12', - 'hwWlanApWiredPortLldpRemManAddrTable' => '1.3.6.1.4.1.2011.6.139.13.3.7', - 'hwWlanApWiredPortLldpRemManAddrEntry' => '1.3.6.1.4.1.2011.6.139.13.3.7.1', - 'hwWlanApWiredPortLldpRemManAddrSubtype' => '1.3.6.1.4.1.2011.6.139.13.3.7.1.1', - 'hwWlanApWiredPortLldpRemManAddr' => '1.3.6.1.4.1.2011.6.139.13.3.7.1.2', - 'hwWlanApWiredPortLldpRemManAddrIfSubtype' => '1.3.6.1.4.1.2011.6.139.13.3.7.1.3', - 'hwWlanApWiredPortLldpRemManAddrIfId' => '1.3.6.1.4.1.2011.6.139.13.3.7.1.4', - 'hwWlanApWiredPortLldpRemManAddrOID' => '1.3.6.1.4.1.2011.6.139.13.3.7.1.5', - 'hwWlanApOnlineFailTable' => '1.3.6.1.4.1.2011.6.139.13.3.8', - 'hwWlanApOnlineFailEntry' => '1.3.6.1.4.1.2011.6.139.13.3.8.1', - 'hwWlanApOnlineFailMac' => '1.3.6.1.4.1.2011.6.139.13.3.8.1.1', - 'hwWlanApOnlineFailTime' => '1.3.6.1.4.1.2011.6.139.13.3.8.1.2', - 'hwWlanApOnlineFailReason' => '1.3.6.1.4.1.2011.6.139.13.3.8.1.3', - 'hwWlanApOnlineFailRowStatus' => '1.3.6.1.4.1.2011.6.139.13.3.8.1.4', - 'hwWlanApOnlineFailInfo' => '1.3.6.1.4.1.2011.6.139.13.3.8.1.5', - 'hwWlanApOfflineTable' => '1.3.6.1.4.1.2011.6.139.13.3.9', - 'hwWlanApOfflineEntry' => '1.3.6.1.4.1.2011.6.139.13.3.9.1', - 'hwWlanApOfflineMac' => '1.3.6.1.4.1.2011.6.139.13.3.9.1.1', - 'hwWlanApOfflineTime' => '1.3.6.1.4.1.2011.6.139.13.3.9.1.2', - 'hwWlanApOfflineReason' => '1.3.6.1.4.1.2011.6.139.13.3.9.1.3', - 'hwWlanApOfflineRowStatus' => '1.3.6.1.4.1.2011.6.139.13.3.9.1.4', - 'hwWlanApOfflineInfo' => '1.3.6.1.4.1.2011.6.139.13.3.9.1.5', - 'hwWlanIDIndexedApTable' => '1.3.6.1.4.1.2011.6.139.13.3.10', - 'hwWlanIDIndexedApEntry' => '1.3.6.1.4.1.2011.6.139.13.3.10.1', - 'hwWlanIDIndexedApId' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.1', - 'hwWlanIDIndexedApMac' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.2', - 'hwWlanIDIndexedApSn' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.3', - 'hwWlanIDIndexedApTypeInfo' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.4', - 'hwWlanIDIndexedApName' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.5', - 'hwWlanIDIndexedApGroup' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.6', - 'hwWlanIDIndexedApRunState' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.7', - 'hwWlanIDIndexedApRunStateDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanIDIndexedApRunState', - 'hwWlanIDIndexedApSoftwareVersion' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.8', - 'hwWlanIDIndexedApHardwareVersion' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.9', - 'hwWlanIDIndexedApCpuType' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.10', - 'hwWlanIDIndexedApCpufrequency' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.11', - 'hwWlanIDIndexedApMemoryType' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.12', - 'hwWlanIDIndexedApDomain' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.13', - 'hwWlanIDIndexedApIpAddress' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.14', - 'hwWlanIDIndexedApIpNetMask' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.15', - 'hwWlanIDIndexedApGatewayIp' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.16', - 'hwWlanIDIndexedApMemorySize' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.17', - 'hwWlanIDIndexedApFlashSize' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.18', - 'hwWlanIDIndexedApRunTime' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.19', - 'hwWlanIDIndexedApAdminOper' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.20', - 'hwWlanIDIndexedApAdminOperDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanIDIndexedApAdminOper', - 'hwWlanIDIndexedApDNS' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.21', - 'hwWlanIDIndexedApOnlineTime' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.22', - 'hwWlanIDIndexedApSysSoftwareDesc' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.23', - 'hwWlanIDIndexedApSysHardtwareDesc' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.24', - 'hwWlanIDIndexedApSysManufacture' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.25', - 'hwWlanIDIndexedApSysSoftwareName' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.26', - 'hwWlanIDIndexedApSysSoftwareVendor' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.27', - 'hwWlanIDIndexedApBomCode' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.28', - 'hwWlanIDIndexedApIpv6Address' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.29', - 'hwWlanIDIndexedApIpv6NetMask' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.30', - 'hwWlanIDIndexedApGatewayIpv6' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.31', - 'hwWlanIDIndexedApIpv6DNS' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.32', - 'hwWlanIDIndexedApProtectAcIPv6Addr' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.33', - 'hwWlanIDIndexedApBootCountTotal' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.34', - 'hwWlanIDIndexedApBootCountPowerOff' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.35', - 'hwWlanIDIndexedApBootCountClear' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.36', - 'hwWlanIDIndexedApElectronicLabel' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.37', - 'hwWlanIDIndexedApWiredPortNum' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.38', - 'hwWlanIDIndexedApWiredPortMtu' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.39', - 'hwWlanIDIndexedApWiredPortMac' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.40', - 'hwWlanIDIndexedApMemoryUseRate' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.41', - 'hwWlanIDIndexedApCpuUseRate' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.42', - 'hwWlanIDIndexedApFlashFreeSize' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.43', - 'hwWlanIDIndexedApTemperature' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.44', - 'hwWlanIDIndexedApOnlineUserNum' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.45', - 'hwWlanIDIndexedApDualBandAssoc5gStaNum' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.46', - 'hwWlanIDIndexedApDualBandStaNum' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.47', - 'hwWlanIDIndexedApStaOnlineFailRatio' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.48', - 'hwWlanIDIndexedApStaOfflineRatio' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.49', - 'hwWlanIDIndexedApStickyClientRatio' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.50', - 'hwWlanIDIndexedApUpEthPortSpeed' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.51', - 'hwWlanIDIndexedApUpEthPortSpeedDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanIDIndexedApUpEthPortSpeed', - 'hwWlanIDIndexedApUpEthPortSpeedMode' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.52', - 'hwWlanIDIndexedApUpEthPortSpeedModeDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanIDIndexedApUpEthPortSpeedMode', - 'hwWlanIDIndexedApUpEthPortDuplex' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.53', - 'hwWlanIDIndexedApUpEthPortDuplexDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanIDIndexedApUpEthPortDuplex', - 'hwWlanIDIndexedApUpEthPortDuplexMode' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.54', - 'hwWlanIDIndexedApUpEthPortDuplexModeDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanIDIndexedApUpEthPortDuplexMode', - 'hwWlanIDIndexedApUpPortSpeed' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.55', - 'hwWlanIDIndexedAPUpPortPER' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.56', - 'hwWlanIDIndexedEthportUpRate' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.57', - 'hwWlanIDIndexedEthportDownRate' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.58', - 'hwWlanIDIndexedApAirportUpTraffic' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.59', - 'hwWlanIDIndexedApAirportDwTraffic' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.60', - 'hwWlanIDIndexedApEthportDwTraffic' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.61', - 'hwWlanIDIndexedApEthportUpTraffic' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.62', - 'hwWlanIDIndexedApUpPortRecvPackets' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.63', - 'hwWlanIDIndexedApUpPortSendPackets' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.64', - 'hwWlanIDIndexedApUpPortRecvBytes' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.65', - 'hwWlanIDIndexedApUpPortSendBytes' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.66', - 'hwWlanIDIndexedCentralApId' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.67', - 'hwWlanIDIndexedCentralApMac' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.68', - 'hwWlanIDIndexedCentralApName' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.69', - 'hwWlanIDIndexedApRowstatus' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.70', - 'hwWlanIDIndexedApSDCardSize' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.71', - 'hwWlanIDIndexedAPLongitude' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.72', - 'hwWlanIDIndexedAPLatitude' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.73', - 'hwWlanIDIndexedAPUUIDString' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.74', - 'hwWlanIDIndexedAPUUIDHex' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.75', - 'hwWlanIDIndexedApChannelLoadMode' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.76', - 'hwWlanIDIndexedApChannelLoadModeDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanIDIndexedApChannelLoadMode', - 'hwWlanIDIndexedAPPoeWorkmode' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.77', - 'hwWlanIDIndexedAPPoeWorkmodeDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanIDIndexedAPPoeWorkmode', - 'hwWlanIDIndexedAPPoeExpectedWorkmode' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.78', - 'hwWlanIDIndexedAPPoeExpectedWorkmodeDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanIDIndexedAPPoeExpectedWorkmode', - 'hwWlanIDIndexedApTotalOnlineTime' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.79', - 'hwWlanIDIndexedApDiscoverTime' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.80', - 'hwWlanIDIndexedApSiteCode' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.81', - 'hwWlanIDIndexedApDomainName' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.82', - 'hwWlanIDIndexedApBranchGroup' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.83', - 'hwWlanIDIndexedApNatIpAddress' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.84', - 'hwWlanIDIndexedApStaOnlineFailStatistics' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.85', - 'hwWlanIDIndexedApStaOfflineStatistics' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.86', - 'hwWlanIDIndexedAPPowerSupplyState' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.87', - 'hwWlanIDIndexedAPPowerSupplyStateDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanIDIndexedAPPowerSupplyState', - 'hwWlanIDIndexedApMajorString' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.88', - 'hwWlanIDIndexedApMajorHex' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.89', - 'hwWlanIDIndexedApMajorDecimal' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.90', - 'hwWlanIDIndexedApMinorString' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.91', - 'hwWlanIDIndexedApMinorHex' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.92', - 'hwWlanIDIndexedApMinorDecimal' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.93', - 'hwWlanIDIndexedApReferenceRSSI' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.94', - 'hwWlanIDIndexedApEnvironmentTemperature' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.95', - 'hwWlanIDIndexedApCpuTemperature' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.96', - 'hwWlanIDIndexedApNpTemperature' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.97', - 'hwWlanIDIndexedApZoneName' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.98', - 'hwWlanIDIndexedApDataLinkState' => '1.3.6.1.4.1.2011.6.139.13.3.10.1.99', - 'hwWlanIDIndexedApDataLinkStateDefinition' => 'HUAWEI-WLAN-AP-MIB::hwWlanIDIndexedApDataLinkState', - 'hwWlanApOnlineFailReasonTable' => '1.3.6.1.4.1.2011.6.139.13.3.11', - 'hwWlanApOnlineFailReasonEntry' => '1.3.6.1.4.1.2011.6.139.13.3.11.1', - 'hwWlanApOnlineFailReasonIndex' => '1.3.6.1.4.1.2011.6.139.13.3.11.1.1', - 'hwWlanApOnlineFailReasonDesc' => '1.3.6.1.4.1.2011.6.139.13.3.11.1.2', - 'hwWlanApOnlineFailReasonCount' => '1.3.6.1.4.1.2011.6.139.13.3.11.1.3', - 'hwWlanApOfflineReasonTable' => '1.3.6.1.4.1.2011.6.139.13.3.12', - 'hwWlanApOfflineReasonEntry' => '1.3.6.1.4.1.2011.6.139.13.3.12.1', - 'hwWlanApOfflineReasonIndex' => '1.3.6.1.4.1.2011.6.139.13.3.12.1.1', - 'hwWlanApOfflineReasonDesc' => '1.3.6.1.4.1.2011.6.139.13.3.12.1.2', - 'hwWlanApOfflineReasonCount' => '1.3.6.1.4.1.2011.6.139.13.3.12.1.3', - 'hwWlanAPConformance' => '1.3.6.1.4.1.2011.6.139.13.4', - 'hwWlanAPCompliances' => '1.3.6.1.4.1.2011.6.139.13.4.1', - 'hwWlanAPObjectGroups' => '1.3.6.1.4.1.2011.6.139.13.4.2', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'HUAWEI-WLAN-AP-MIB'} = { - 'hwWlanIDIndexedApDataLinkState' => { - '1' => 'down', - '2' => 'run', - '3' => 'noneed', - }, - 'hwWlanApTypeOperate' => { - '1' => 'add', - '2' => 'delete', - }, - 'hwWlanIDIndexedApUpEthPortSpeedMode' => { - '1' => 'auto', - '2' => 'forced', - }, - 'hwWlanApUpEthPortSpeedMode' => { - '1' => 'auto', - '2' => 'forced', - }, - 'hwWlanIDIndexedApChannelLoadMode' => { - '1' => 'indoor', - '2' => 'outdoor', - '3' => 'outToindoor', - }, - 'hwWlanIDIndexedAPPoeExpectedWorkmode' => { - '1' => 'af', - '2' => 'at', - '3' => 'bt', - '4' => 'invalid', - }, - 'hwWlanApRunState' => { - '1' => 'idle', - '2' => 'autofind', - '3' => 'typeNotMatch', - '4' => 'fault', - '5' => 'config', - '6' => 'configFailed', - '7' => 'download', - '8' => 'normal', - '9' => 'committing', - '10' => 'commitFailed', - '11' => 'standby', - '12' => 'verMismatch', - '13' => 'nameConflicted', - '14' => 'invalid', - '15' => 'countryCodeMismatch', - }, - 'hwWlanApMultiWiredPortNegotiation' => { - '1' => 'auto', - '2' => 'forced', - }, - 'hwWlanApTypeWiredPortType' => { - '1' => 'fe', - '2' => 'ge', - '3' => 'gpon', - '4' => 'epon', - '5' => 'adsl2plus', - '6' => 'ethTrunk', - '7' => 'multige', - '8' => 'xge', - }, - 'hwWlanAPPowerSupplyState' => { - '1' => 'full', - '2' => 'disabled', - '3' => 'limited', - '4' => 'invalid', - }, - 'hwWlanApUpEthPortDuplexMode' => { - '1' => 'auto', - '2' => 'forced', - }, - 'hwWlanIDIndexedAPPoeWorkmode' => { - '1' => 'af', - '2' => 'at', - '3' => 'bt', - '4' => 'invalid', - }, - 'hwWlanApTypeAttributesAbnormalCheckResult' => { - '1' => 'risk', - '2' => 'fail', - }, - 'hwWlanApWiredPortType' => { - '1' => 'fe', - '2' => 'ge', - '3' => 'gpon', - '4' => 'epon', - '5' => 'adsl2plus', - '6' => 'trunk', - '7' => 'multige', - '8' => 'xge', - }, - 'hwWlanApTypeUndefinedOperate' => { - '1' => 'delete', - }, - 'hwWlanApTypeExternalAntenna' => { - '1' => 'notSupport', - '2' => 'support', - }, - 'hwWlanApWiredPortTrunkActiveFlag' => { - '1' => 'disable', - '2' => 'enable', - '3' => 'invalid', - }, - 'hwWlanIDIndexedApRunState' => { - '1' => 'idle', - '2' => 'autofind', - '3' => 'typeNotMatch', - '4' => 'fault', - '5' => 'config', - '6' => 'configFailed', - '7' => 'download', - '8' => 'normal', - '9' => 'committing', - '10' => 'commitFailed', - '11' => 'standby', - '12' => 'verMismatch', - '13' => 'nameConflicted', - '14' => 'invalid', - '15' => 'countryCodeMismatch', - }, - 'hwWlanApDataLinkState' => { - '1' => 'down', - '2' => 'run', - '3' => 'noneed', - }, - 'hwWlanApWiredPortState' => { - '1' => 'down', - '2' => 'up', - }, - 'hwWlanApTypeRadioType' => { - '1' => 'wlan80211a', - '2' => 'wlan80211b', - '3' => 'wlan80211g', - '4' => 'wlan80211bg', - '5' => 'wlan80211an', - '6' => 'wlan80211bgn', - '7' => 'wlan80211abgn', - '8' => 'wlan80211ac', - '9' => 'wlan80211anac', - '10' => 'wlan80211bgnax', - '11' => 'wlan80211anacax', - '12' => 'wlan80211ax', - }, - 'hwWlanIDIndexedApUpEthPortDuplex' => { - '1' => 'half', - '2' => 'full', - }, - 'hwWlanAPPoeExpectedWorkmode' => { - '1' => 'af', - '2' => 'at', - '3' => 'bt', - '4' => 'invalid', - }, - 'hwWlanApMultiWiredPortDuplex' => { - '1' => 'half', - '2' => 'full', - }, - 'hwWlanApAdminOper' => { - '1' => 'reset', - '3' => 'manufacturerConfig', - }, - 'hwWlanIDIndexedApUpEthPortSpeed' => { - '1' => 'speed10', - '2' => 'speed100', - '3' => 'speed1000', - '4' => 'speed10000', - }, - 'hwWlanApWiredPortDot1xAuthState' => { - '1' => 'init', - '2' => 'authenticating', - '3' => 'success', - '4' => 'fail', - '255' => 'invalid', - }, - 'hwWlanApTypeAutoCreateMethod' => { - '1' => 'createbyid', - '2' => 'createbytype', - '3' => 'createall', - }, - 'hwApPoePdPriority' => { - '1' => 'critical', - '2' => 'high', - '3' => 'low', - }, - 'hwApPoePortPriority' => { - '1' => 'critical', - '2' => 'high', - '3' => 'low', - }, - 'hwWlanIDIndexedApUpEthPortDuplexMode' => { - '1' => 'auto', - '2' => 'forced', - }, - 'hwWlanApMultiWiredPortMode' => { - '1' => 'root', - '2' => 'endpoint', - '3' => 'middle', - '256' => 'null', - }, - 'hwWlanIDIndexedAPPowerSupplyState' => { - '1' => 'full', - '2' => 'disabled', - '3' => 'limited', - '4' => 'invalid', - }, - 'hwWlanApUpEthPortDuplex' => { - '1' => 'half', - '2' => 'full', - }, - 'hwWlanAPPoeWorkmode' => { - '1' => 'af', - '2' => 'at', - '3' => 'bt', - '4' => 'invalid', - }, - 'hwWlanApTypeAttributesAbnormalCheckReason' => { - '1' => 'rangeconflict', - '2' => 'lostattributes', - }, - 'hwWlanIDIndexedApAdminOper' => { - '1' => 'reset', - '3' => 'manufacturerConfig', - }, - 'hwWlanApPingResultFlag' => { - '1' => 'false', - '2' => 'true', - }, - 'hwWlanApUpEthPortSpeed' => { - '1' => 'speed10', - '2' => 'speed100', - '3' => 'speed1000', - '4' => 'speed10000', - }, -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIWLANAPRADIOMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIWLANAPRADIOMIB.pm deleted file mode 100644 index 29c09fb..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIWLANAPRADIOMIB.pm +++ /dev/null @@ -1,241 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::HUAWEIWLANAPRADIOMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'HUAWEI-WLAN-AP-RADIO-MIB'} = { - url => '', - name => 'HUAWEI-WLAN-AP-RADIO-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'HUAWEI-WLAN-AP-RADIO-MIB'} = - '1.3.6.1.4.1.2011.6.139.16'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'HUAWEI-WLAN-AP-RADIO-MIB'} = { - 'hwWlanRadio' => '1.3.6.1.4.1.2011.6.139.16', - 'hwWlanRadioObjects' => '1.3.6.1.4.1.2011.6.139.16.1', - 'hwWlanRadioTraps' => '1.3.6.1.4.1.2011.6.139.16.1.1', - 'hwWlanRadioTrap' => '1.3.6.1.4.1.2011.6.139.16.1.1.1', - 'hwWlanRadioTrapObjects' => '1.3.6.1.4.1.2011.6.139.16.1.1.2', - 'hwWlanRadioActualChannel' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.1', - 'hwWlanRadioActualChannelBandwidth' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.2', - 'hwWlanRadioActualChannelBandwidthDefinition' => 'HUAWEI-WLAN-AP-RADIO-MIB::hwWlanRadioActualChannelBandwidth', - 'hwWlanRadioActualPowerLevel' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.3', - 'hwWlanRadioActualAntennaGain' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.4', - 'hwWlanRadioLegitimateAntennaGain' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.5', - 'hwWlanRadioChannelChangedReason' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.6', - 'hwWlanRadioChannelChangedReasonDefinition' => 'HUAWEI-WLAN-AP-RADIO-MIB::hwWlanRadioChannelChangedReason', - 'hwWlanRadioChannelChangedReasonStr' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.7', - 'hwWlanRadioConflictRate' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.8', - 'hwWlanApMonitorMode' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.9', - 'hwWlanApPreMonitorMode' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.10', - 'hwWlanApChannel' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.11', - 'hwWlanApInterfBssid' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.12', - 'hwWlanInterfStaMac' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.13', - 'hwWlanRadioDownCause' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.14', - 'hwWlanInterfApChannel' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.15', - 'hwWlanInterfRSSI' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.16', - 'hwWlanWIDSTrapInfoAPName' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.17', - 'hwWlanWIDSTrapInfoRadioId' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.18', - 'hwWlanWIDSTrapInfoAPMAC' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.19', - 'hwWlanWIDSTrapInfoRogueMAC' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.20', - 'hwWlanWIDSTrapInfoRogueSSId' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.21', - 'hwWlanWIDSTrapInfoRogueType' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.22', - 'hwWlanWIDSTrapInfoRogueRSSI' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.23', - 'hwWlanWIDSTrapInfoRogueChanID' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.24', - 'hwWlanRadioDownCauseStr' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.25', - 'hwWlanRadioUacUserNum' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.26', - 'hwWlanRadioPreActualChannel' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.27', - 'hwWlanApRadioNotifyPara' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.28', - 'hwWlanRadioMngChannelBandwidth' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.29', - 'hwWlanRadioMngChannelBandwidthDefinition' => 'HUAWEI-WLAN-AP-RADIO-MIB::hwWlanRadioMngChannelBandwidth', - 'hwWlanRadioMngChannel' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.30', - 'hwWlanRadioMngPowerLevel' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.31', - 'hwWlanWIDSTrapInfoAPId' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.32', - 'hwWlanRadioSecondActualChannel' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.33', - 'hwWlanRadioPreSecondActualChannel' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.34', - 'hwWlanRadioMngSecondChannel' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.35', - 'hwWlanApMonitorModeDesc' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.36', - 'hwWlanApPreMonitorModeDesc' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.37', - 'hwWlanRadioLegitimateEirp' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.38', - 'hwWlanRadioEnvDetReason' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.39', - 'hwRadioChannelChangedHasRadarChannel' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.40', - 'hwWlanRadioStaNum' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.41', - 'hwWlanRadioMaxStaNum' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.42', - 'hwWlanRadioBadChannel' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.43', - 'hwWlanRadioInterfereRate' => '1.3.6.1.4.1.2011.6.139.16.1.1.2.44', - 'hwWlanRadioInfoTable' => '1.3.6.1.4.1.2011.6.139.16.1.2', - 'hwWlanRadioInfoEntry' => '1.3.6.1.4.1.2011.6.139.16.1.2.1', - 'hwWlanRadioInfoApMac' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.1', - 'hwWlanRadioID' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.2', - 'hwWlanRadioInfoApName' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.3', - 'hwWlanRadioType' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.4', - 'hwWlanRadioFreqType' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.5', - 'hwWlanRadioFreqTypeDefinition' => 'HUAWEI-WLAN-AP-RADIO-MIB::hwWlanRadioFreqType', - 'hwWlanRadioRunState' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.6', - 'hwWlanRadioRunStateDefinition' => 'HUAWEI-WLAN-AP-RADIO-MIB::hwWlanRadioRunState', - 'hwWlanRadioWorkingChannel' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.7', - 'hwWlanRadioWorkingPowerLevel' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.8', - 'hwWlanRadioWorkingPower' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.9', - 'hwWlanRadioWorkingChannelBandwidth' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.10', - 'hwWlanRadioWorkingChannelBandwidthDefinition' => 'HUAWEI-WLAN-AP-RADIO-MIB::hwWlanRadioWorkingChannelBandwidth', - 'hwWlanRadioWorkMode' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.11', - 'hwWlanRadioWorkModeDefinition' => 'HUAWEI-WLAN-AP-RADIO-MIB::hwWlanRadioWorkMode', - 'hwWlanRadioMaxTxPwrLvl' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.12', - 'hwWlanRadioPwrAttRange' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.13', - 'hwWlanRadioPwrAttValue' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.14', - 'hwWlanRadioAntennaGain' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.15', - 'hwWlanRadioDecsption' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.16', - 'hwWlanRadioPortType' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.17', - 'hwWlanRadioMaxMtu' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.18', - 'hwWlanRadioBandwidth' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.19', - 'hwWlanRadioMac' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.20', - 'hwWlanRadioLastChange' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.21', - 'hwWlanRadioInfoUpDownTimes' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.22', - 'hwWlanRadioPER' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.23', - 'hwWlanRadioNoise' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.24', - 'hwWlanRadioChUtilizationRate' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.25', - 'hwWlanRadioChannelFreeRate' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.26', - 'hwWlanRadioTxRatio' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.27', - 'hwWlanRadioRxRatio' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.28', - 'hwWlanRadioChInterferenceRate' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.29', - 'hwWlanRadioRcvFrames' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.30', - 'hwWlanRadioRcvBytes' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.31', - 'hwWlanRadioRecvRate' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.32', - 'hwWlanRadioPeriodRcvDropFrames' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.33', - 'hwWlanRadioPeriodRcvErrFrames' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.34', - 'hwWlanRadioSendFrames' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.35', - 'hwWlanRadioSendBytes' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.36', - 'hwWlanRadioSendRate' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.37', - 'hwWlanRadioPeriodRetryFrames' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.38', - 'hwWlanRadioPeriodSendDropFrames' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.39', - 'hwWlanRadioOnlineStaCnt' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.40', - 'hwWlanRadioStaAveSignalStrength' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.41', - 'hwWlanRadioPerformanceStatOperMode' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.42', - 'hwWlanRadioPerformanceStatOperModeDefinition' => 'HUAWEI-WLAN-AP-RADIO-MIB::hwWlanRadioPerformanceStatOperMode', - 'hwWlanRadioPeriodRcvFrames' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.43', - 'hwWlanRadioPeriodSendFrames' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.44', - 'hwWlanRadioActualEIRP' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.45', - 'hwWlanRadioMaximumEIRP' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.46', - 'hwWlanRadioSpectrumSwitchFlag' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.47', - 'hwWlanRadioSpectrumSwitchFlagDefinition' => 'HUAWEI-WLAN-AP-RADIO-MIB::hwWlanRadioSpectrumSwitchFlag', - 'hwWlanRadioInfoApId' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.48', - 'hwWlanRadioRetryFrames' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.49', - 'hwWlanRadioRcvErrFrames' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.50', - 'hwWlanRadioRcvDropFrames' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.51', - 'hwWlanRadioWorkingSecondChannel' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.52', - 'hwWlanRadioChannelSelectMode' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.53', - 'hwWlanRadioChannelSelectModeDefinition' => 'HUAWEI-WLAN-AP-RADIO-MIB::hwWlanRadioChannelSelectMode', - 'hwWlanRadioTxPowerSelectMode' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.54', - 'hwWlanRadioTxPowerSelectModeDefinition' => 'HUAWEI-WLAN-AP-RADIO-MIB::hwWlanRadioTxPowerSelectMode', - 'hwWlanRadioApGroup' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.55', - 'hwWlanRadioFlexibleRadioStatus' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.56', - 'hwWlanRadioFlexibleRadioStatusDefinition' => 'HUAWEI-WLAN-AP-RADIO-MIB::hwWlanRadioFlexibleRadioStatus', - 'hwWlanRadioAutoBandwidthSelectSwitch' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.57', - 'hwWlanRadioAutoBandwidthSelectSwitchDefinition' => 'HUAWEI-WLAN-AP-RADIO-MIB::hwWlanRadioAutoBandwidthSelectSwitch', - 'hwWlanRadioReferenceDataAnalysis' => '1.3.6.1.4.1.2011.6.139.16.1.2.1.58', - 'hwWlanRadioReferenceDataAnalysisDefinition' => 'HUAWEI-WLAN-AP-RADIO-MIB::hwWlanRadioReferenceDataAnalysis', - 'hwWlanRadioQueryPowerlevelTable' => '1.3.6.1.4.1.2011.6.139.16.1.3', - 'hwWlanRadioQueryPowerlevelEntry' => '1.3.6.1.4.1.2011.6.139.16.1.3.1', - 'hwWlanRadioQueryPowerlevelApMac' => '1.3.6.1.4.1.2011.6.139.16.1.3.1.1', - 'hwWlanRadioQueryPowerlevelRadioId' => '1.3.6.1.4.1.2011.6.139.16.1.3.1.2', - 'hwWlanRadioQueryPowerlevelChannel' => '1.3.6.1.4.1.2011.6.139.16.1.3.1.3', - 'hwWlanRadioQueryPowerlevelBandwidth' => '1.3.6.1.4.1.2011.6.139.16.1.3.1.4', - 'hwWlanRadioQueryPowerlevelBandwidthDefinition' => 'HUAWEI-WLAN-AP-RADIO-MIB::hwWlanRadioQueryPowerlevelBandwidth', - 'hwWlanRadioQueryPowerlevelMax' => '1.3.6.1.4.1.2011.6.139.16.1.3.1.5', - 'hwWlanRadioUncontrolAPInfTable' => '1.3.6.1.4.1.2011.6.139.16.1.4', - 'hwWlanRadioUncontrolAPInfEntry' => '1.3.6.1.4.1.2011.6.139.16.1.4.1', - 'hwWlanUncontrolApId' => '1.3.6.1.4.1.2011.6.139.16.1.4.1.1', - 'hwWlanUncontrolApBSSID' => '1.3.6.1.4.1.2011.6.139.16.1.4.1.2', - 'hwWlanAuthAPId' => '1.3.6.1.4.1.2011.6.139.16.1.4.1.3', - 'hwWlanUncontrolApChannel' => '1.3.6.1.4.1.2011.6.139.16.1.4.1.4', - 'hwWlanUncontrolApRSSI' => '1.3.6.1.4.1.2011.6.139.16.1.4.1.5', - 'hwWlanUncontrolApSSID' => '1.3.6.1.4.1.2011.6.139.16.1.4.1.6', - 'hwWlanRadioConformance' => '1.3.6.1.4.1.2011.6.139.16.3', - 'hwWlanRadioCompliances' => '1.3.6.1.4.1.2011.6.139.16.3.1', - 'hwWlanRadioObjectGroups' => '1.3.6.1.4.1.2011.6.139.16.3.2', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'HUAWEI-WLAN-AP-RADIO-MIB'} = { - 'hwWlanRadioActualChannelBandwidth' => { - '1' => 'ht20', - '2' => 'ht40Plus', - '3' => 'ht40Minus', - '4' => 'ht80', - '5' => 'ht160', - '255' => 'invalid', - }, - 'hwWlanRadioRunState' => { - '1' => 'up', - '2' => 'down', - }, - 'hwWlanRadioPerformanceStatOperMode' => { - '1' => 'invalid', - '2' => 'clearstatistic', - }, - 'hwWlanRadioChannelChangedReason' => { - '1' => 'unknown', - '2' => 'dfs', - '3' => 'wds', - '4' => 'config', - '5' => 'calibrate', - '6' => 'thirdGPP', - '7' => 'iotCard', - }, - 'hwWlanRadioSpectrumSwitchFlag' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanRadioMngChannelBandwidth' => { - '1' => 'ht20', - '2' => 'ht40Plus', - '3' => 'ht40Minus', - '4' => 'ht80', - '5' => 'ht160', - '255' => 'invalid', - }, - 'hwWlanRadioWorkingChannelBandwidth' => { - '1' => 'ht20', - '2' => 'ht40Plus', - '3' => 'ht40Minus', - '4' => 'ht80', - '5' => 'ht160', - '255' => 'unknown', - }, - 'hwWlanRadioTxPowerSelectMode' => { - '1' => 'auto', - '2' => 'manual', - }, - 'hwWlanRadioQueryPowerlevelBandwidth' => { - '1' => 'ht20', - '2' => 'ht40Plus', - '3' => 'ht40Minus', - '4' => 'ht80', - }, - 'hwWlanRadioFlexibleRadioStatus' => { - '1' => 'redundant', - '2' => 'nonredundant', - '3' => 'switchmonitor', - '4' => 'switchoff', - '5' => 'switch5G', - }, - 'hwWlanRadioFreqType' => { - '1' => 'frequency2G', - '2' => 'frequency5G', - }, - 'hwWlanRadioChannelSelectMode' => { - '1' => 'auto', - '2' => 'manual', - }, - 'hwWlanRadioReferenceDataAnalysis' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanRadioWorkMode' => { - '1' => 'normal', - '2' => 'monitor', - '4' => 'dualBand', - '5' => 'proxyScan', - }, - 'hwWlanRadioAutoBandwidthSelectSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIWLANCONFIGURATIONMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIWLANCONFIGURATIONMIB.pm deleted file mode 100644 index a1826c1..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIWLANCONFIGURATIONMIB.pm +++ /dev/null @@ -1,4459 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::HUAWEIWLANCONFIGURATIONMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'HUAWEI-WLAN-CONFIGURATION-MIB'} = { - url => '', - name => 'HUAWEI-WLAN-CONFIGURATION-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'HUAWEI-WLAN-CONFIGURATION-MIB'} = - '1.3.6.1.4.1.2011.6.139.11'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'HUAWEI-WLAN-CONFIGURATION-MIB'} = { - 'hwWlanConfig' => '1.3.6.1.4.1.2011.6.139.11', - 'hwWlanConfigObjects' => '1.3.6.1.4.1.2011.6.139.11.1', - 'hwWlanGlobalConfig' => '1.3.6.1.4.1.2011.6.139.11.1.1', - 'hwWlanGlobalApUsername' => '1.3.6.1.4.1.2011.6.139.11.1.1.1', - 'hwWlanGlobalApPassword' => '1.3.6.1.4.1.2011.6.139.11.1.1.2', - 'hwWlanUsernamePasswordApMac' => '1.3.6.1.4.1.2011.6.139.11.1.1.3', - 'hwWlanGlobalApLldpSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.1.4', - 'hwWlanGlobalApLldpSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanGlobalApLldpSwitch', - 'hwWlanGlobalIpv6Enable' => '1.3.6.1.4.1.2011.6.139.11.1.1.5', - 'hwWlanGlobalIpv6EnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanGlobalIpv6Enable', - 'hwWlanStationIpv6Enable' => '1.3.6.1.4.1.2011.6.139.11.1.1.6', - 'hwWlanStationIpv6EnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanStationIpv6Enable', - 'hwWlanApDataCollectionInterval' => '1.3.6.1.4.1.2011.6.139.11.1.1.7', - 'hwTestRtCollectOnoff' => '1.3.6.1.4.1.2011.6.139.11.1.1.8', - 'hwTestApNormalCollectCycle' => '1.3.6.1.4.1.2011.6.139.11.1.1.9', - 'hwTestApRtCollectCycle' => '1.3.6.1.4.1.2011.6.139.11.1.1.10', - 'hwWlanConfigCommitAll' => '1.3.6.1.4.1.2011.6.139.11.1.1.11', - 'hwWlanProtect' => '1.3.6.1.4.1.2011.6.139.11.1.1.12', - 'hwWlanProtectIpAddress' => '1.3.6.1.4.1.2011.6.139.11.1.1.12.1', - 'hwWlanProtectIPv6Address' => '1.3.6.1.4.1.2011.6.139.11.1.1.12.2', - 'hwWlanProtectPriority' => '1.3.6.1.4.1.2011.6.139.11.1.1.12.3', - 'hwWlanProtectSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.1.12.4', - 'hwWlanProtectSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanProtectSwitch', - 'hwWlanProtectRestoreSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.1.12.5', - 'hwWlanProtectRestoreSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanProtectRestoreSwitch', - 'hwUndoWlanProtectIpAddress' => '1.3.6.1.4.1.2011.6.139.11.1.1.12.6', - 'hwUndoWlanProtectPriority' => '1.3.6.1.4.1.2011.6.139.11.1.1.12.7', - 'hwUndoWlanProtectIPv6Address' => '1.3.6.1.4.1.2011.6.139.11.1.1.12.8', - 'hwWlanBackupHsbConfig' => '1.3.6.1.4.1.2011.6.139.11.1.1.13', - 'hwWlanCfgHsbServiceType' => '1.3.6.1.4.1.2011.6.139.11.1.1.13.1', - 'hwWlanCfgHsbServiceTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanCfgHsbServiceType', - 'hwWlanCfgHsbGroupId' => '1.3.6.1.4.1.2011.6.139.11.1.1.13.2', - 'hwWlanCfgHsbTunnelId' => '1.3.6.1.4.1.2011.6.139.11.1.1.13.3', - 'hwWlanCommitTable' => '1.3.6.1.4.1.2011.6.139.11.1.1.14', - 'hwWlanCommitEntry' => '1.3.6.1.4.1.2011.6.139.11.1.1.14.1', - 'hwWlanCommitApMac' => '1.3.6.1.4.1.2011.6.139.11.1.1.14.1.1', - 'hwWlanConfigCommit' => '1.3.6.1.4.1.2011.6.139.11.1.1.14.1.2', - 'hwWlanReportStaInfo' => '1.3.6.1.4.1.2011.6.139.11.1.1.15', - 'hwWlanReportStaInfoDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanReportStaInfo', - 'hwWlanBLELowPowerWarningThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.1.16', - 'hwWlanBLEMonitorListTable' => '1.3.6.1.4.1.2011.6.139.11.1.1.17', - 'hwWlanBLEMonitorListEntry' => '1.3.6.1.4.1.2011.6.139.11.1.1.17.1', - 'hwWlanBLEMonitoringListMac' => '1.3.6.1.4.1.2011.6.139.11.1.1.17.1.1', - 'hwWlanBLEMonitoringListRowStatue' => '1.3.6.1.4.1.2011.6.139.11.1.1.17.1.2', - 'hwWlanApPwdPolicyConfig' => '1.3.6.1.4.1.2011.6.139.11.1.1.18', - 'hwApPwdPolicyEnable' => '1.3.6.1.4.1.2011.6.139.11.1.1.18.1', - 'hwApPwdPolicyEnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApPwdPolicyEnable', - 'hwApPwdPolicyExpire' => '1.3.6.1.4.1.2011.6.139.11.1.1.18.2', - 'hwApPwdPolicyHistoryRecordNum' => '1.3.6.1.4.1.2011.6.139.11.1.1.18.3', - 'hwApPwdPolicyAlertBefore' => '1.3.6.1.4.1.2011.6.139.11.1.1.18.4', - 'hwApPwdPolicyAlertOriginal' => '1.3.6.1.4.1.2011.6.139.11.1.1.18.5', - 'hwApPwdPolicyAlertOriginalDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApPwdPolicyAlertOriginal', - 'hwApPwdSetTime' => '1.3.6.1.4.1.2011.6.139.11.1.1.18.6', - 'hwApPwdIsExpired' => '1.3.6.1.4.1.2011.6.139.11.1.1.18.7', - 'hwApPwdIsExpiredDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApPwdIsExpired', - 'hwApPwdIsOrginal' => '1.3.6.1.4.1.2011.6.139.11.1.1.18.8', - 'hwApPwdIsOrginalDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApPwdIsOrginal', - 'hwWlanReportStaAssocInfo' => '1.3.6.1.4.1.2011.6.139.11.1.1.19', - 'hwWlanReportStaAssocInfoDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanReportStaAssocInfo', - 'hwWlanGlobalLocationSourceIPAddress' => '1.3.6.1.4.1.2011.6.139.11.1.1.20', - 'hwWlanGlobalLocationSourceIPv6Address' => '1.3.6.1.4.1.2011.6.139.11.1.1.21', - 'hwWlanBLEEquipReportInterval' => '1.3.6.1.4.1.2011.6.139.11.1.1.22', - 'hwWlanStaDelayOffline' => '1.3.6.1.4.1.2011.6.139.11.1.1.23', - 'hwWlanStaDelayOffLineSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.1.23.1', - 'hwWlanStaDelayOffLineSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanStaDelayOffLineSwitch', - 'hwWlanStaDelayOffLineAgingTime' => '1.3.6.1.4.1.2011.6.139.11.1.1.23.2', - 'hwWlanStaDelayOffLineNewStaOnlineSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.1.23.3', - 'hwWlanStaDelayOffLineNewStaOnlineSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanStaDelayOffLineNewStaOnlineSwitch', - 'hwWlanStaDelayOffLineMaxNum' => '1.3.6.1.4.1.2011.6.139.11.1.1.23.4', - 'hwWlanGlobalSpectrumAnalysisSourceIPAddress' => '1.3.6.1.4.1.2011.6.139.11.1.1.24', - 'hwWlanGlobalSpectrumAnalysisSourceIPv6Address' => '1.3.6.1.4.1.2011.6.139.11.1.1.25', - 'hwWlanGlobalBleSourceIPAddress' => '1.3.6.1.4.1.2011.6.139.11.1.1.26', - 'hwWlanGlobalBleSourceIPv6Address' => '1.3.6.1.4.1.2011.6.139.11.1.1.27', - 'hwWlanManualContainListTable' => '1.3.6.1.4.1.2011.6.139.11.1.1.28', - 'hwWlanManualContainListEntry' => '1.3.6.1.4.1.2011.6.139.11.1.1.28.1', - 'hwWlanManualContainListMac' => '1.3.6.1.4.1.2011.6.139.11.1.1.28.1.1', - 'hwWlanManualContainListRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.1.28.1.2', - 'hwWlanLicenseCentralizedManagement' => '1.3.6.1.4.1.2011.6.139.11.1.1.29', - 'hwWlanLicenseCentralizedGlobal' => '1.3.6.1.4.1.2011.6.139.11.1.1.29.1', - 'hwWlanLicenseCentralizedSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.1.29.1.1', - 'hwWlanLicenseCentralizedSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanLicenseCentralizedSwitch', - 'hwWlanLicenseCentralizedServerIPv4Addr' => '1.3.6.1.4.1.2011.6.139.11.1.1.29.1.2', - 'hwWlanLicenseCentralizedServerIPv6Addr' => '1.3.6.1.4.1.2011.6.139.11.1.1.29.1.3', - 'hwWlanLicenseCentralizedClientIPv4Addr' => '1.3.6.1.4.1.2011.6.139.11.1.1.29.1.4', - 'hwWlanLicenseCentralizedClientIPv6Addr' => '1.3.6.1.4.1.2011.6.139.11.1.1.29.1.5', - 'hwWlanLicenseCentralizedRole' => '1.3.6.1.4.1.2011.6.139.11.1.1.29.1.6', - 'hwWlanLicenseCentralizedRoleDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanLicenseCentralizedRole', - 'hwWlanLicensePoolUsed' => '1.3.6.1.4.1.2011.6.139.11.1.1.29.1.7', - 'hwWlanLicensePoolTotal' => '1.3.6.1.4.1.2011.6.139.11.1.1.29.1.8', - 'hwWlanGlobalRogueDeviceLogSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.1.30', - 'hwWlanGlobalRogueDeviceLogSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanGlobalRogueDeviceLogSwitch', - 'hwWlanNeighborRelation' => '1.3.6.1.4.1.2011.6.139.11.1.1.31', - 'hwWlanNeighborRelationTable' => '1.3.6.1.4.1.2011.6.139.11.1.1.31.1', - 'hwWlanNeighborRelationEntry' => '1.3.6.1.4.1.2011.6.139.11.1.1.31.1.1', - 'hwWlanNeighborRelationApName' => '1.3.6.1.4.1.2011.6.139.11.1.1.31.1.1.1', - 'hwWlanNeighborRelationNeighborApName' => '1.3.6.1.4.1.2011.6.139.11.1.1.31.1.1.2', - 'hwWlanNeighborRelationNeighborRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.1.31.1.1.3', - 'hwWlanIotOperateTable' => '1.3.6.1.4.1.2011.6.139.11.1.1.32', - 'hwWlanIotOperateEntry' => '1.3.6.1.4.1.2011.6.139.11.1.1.32.1', - 'hwWlanIotOperateCardId' => '1.3.6.1.4.1.2011.6.139.11.1.1.32.1.1', - 'hwWlanIotOperateType' => '1.3.6.1.4.1.2011.6.139.11.1.1.32.1.2', - 'hwWlanIotOperateTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanIotOperateType', - 'hwWlanGlobalAntiInterferenceSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.1.33', - 'hwWlanGlobalAntiInterferenceSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanGlobalAntiInterferenceSwitch', - 'hwWlanGlobalAntiInterferencePerPacketTpcSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.1.34', - 'hwWlanGlobalAntiInterferencePerPacketTpcSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanGlobalAntiInterferencePerPacketTpcSwitch', - 'hwWlanGlobalAeroscoutLocalIPv4' => '1.3.6.1.4.1.2011.6.139.11.1.1.35', - 'hwWlanGlobalAeroscoutLocalIPv6' => '1.3.6.1.4.1.2011.6.139.11.1.1.36', - 'hwApAuthObjects' => '1.3.6.1.4.1.2011.6.139.11.1.2', - 'hwWlanApAuthMode' => '1.3.6.1.4.1.2011.6.139.11.1.2.1', - 'hwWlanApAuthModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanApAuthMode', - 'hwWlanApMacWhitelistTable' => '1.3.6.1.4.1.2011.6.139.11.1.2.2', - 'hwWlanApMacWhitelistEntry' => '1.3.6.1.4.1.2011.6.139.11.1.2.2.1', - 'hwWlanApMacWhitelistMacAddr' => '1.3.6.1.4.1.2011.6.139.11.1.2.2.1.1', - 'hwWlanApMacWhitelistRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.2.2.1.2', - 'hwWlanApSnWhitelistTable' => '1.3.6.1.4.1.2011.6.139.11.1.2.3', - 'hwWlanApSnWhitelistEntry' => '1.3.6.1.4.1.2011.6.139.11.1.2.3.1', - 'hwWlanApSnWhitelistSn' => '1.3.6.1.4.1.2011.6.139.11.1.2.3.1.1', - 'hwWlanApSnWhitelistRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.2.3.1.2', - 'hwWlanApMacBlacklistTable' => '1.3.6.1.4.1.2011.6.139.11.1.2.4', - 'hwWlanApMacBlacklistEntry' => '1.3.6.1.4.1.2011.6.139.11.1.2.4.1', - 'hwWlanApMacBlacklistMacAddr' => '1.3.6.1.4.1.2011.6.139.11.1.2.4.1.1', - 'hwWlanApMacBlacklistRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.2.4.1.2', - 'hwAPGroupTable' => '1.3.6.1.4.1.2011.6.139.11.1.3', - 'hwAPGroupEntry' => '1.3.6.1.4.1.2011.6.139.11.1.3.1', - 'hwAPGroupName' => '1.3.6.1.4.1.2011.6.139.11.1.3.1.1', - 'hwAPGrpAPSystemProfile' => '1.3.6.1.4.1.2011.6.139.11.1.3.1.2', - 'hwAPGrpDomainProfile' => '1.3.6.1.4.1.2011.6.139.11.1.3.1.4', - 'hwAPGrpRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.3.1.5', - 'hwAPGrpWidsProfile' => '1.3.6.1.4.1.2011.6.139.11.1.3.1.6', - 'hwAPGrpBleProfile' => '1.3.6.1.4.1.2011.6.139.11.1.3.1.7', - 'hwAPGrpUUIDString' => '1.3.6.1.4.1.2011.6.139.11.1.3.1.8', - 'hwAPGrpUUIDHex' => '1.3.6.1.4.1.2011.6.139.11.1.3.1.9', - 'hwAPGrpSiteCode' => '1.3.6.1.4.1.2011.6.139.11.1.3.1.10', - 'hwAPGrpDomainName' => '1.3.6.1.4.1.2011.6.139.11.1.3.1.11', - 'hwAPGrpLocation' => '1.3.6.1.4.1.2011.6.139.11.1.3.1.12', - 'hwAPGrpApNum' => '1.3.6.1.4.1.2011.6.139.11.1.3.1.13', - 'hwAPGrpHighwayProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.3.1.14', - 'hwAPGrpAPIPVersion' => '1.3.6.1.4.1.2011.6.139.11.1.3.1.15', - 'hwAPGrpAPIPVersionDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPGrpAPIPVersion', - 'hwAPGroupWiredPortTable' => '1.3.6.1.4.1.2011.6.139.11.1.4', - 'hwAPGroupWiredPortEntry' => '1.3.6.1.4.1.2011.6.139.11.1.4.1', - 'hwAPGrpWPInterfaceType' => '1.3.6.1.4.1.2011.6.139.11.1.4.1.1', - 'hwAPGrpWPInterfaceTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPGrpWPInterfaceType', - 'hwAPGrpWPInterfaceNum' => '1.3.6.1.4.1.2011.6.139.11.1.4.1.2', - 'hwAPGrpWPProfile' => '1.3.6.1.4.1.2011.6.139.11.1.4.1.3', - 'hwAPGrpWPRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.4.1.4', - 'hwAPGroupRadioTable' => '1.3.6.1.4.1.2011.6.139.11.1.5', - 'hwAPGroupRadioEntry' => '1.3.6.1.4.1.2011.6.139.11.1.5.1', - 'hwAPGrpRadioId' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.1', - 'hwAPGrpRadio5gProfile' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.2', - 'hwAPGrpMeshProfile' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.3', - 'hwAPGrpWdsProfile' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.4', - 'hwAPGrpLocationProfile' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.6', - 'hwAPGrpRadioRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.8', - 'hwAPGrpRadio2gProfile' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.9', - 'hwAPGrpMeshWhitelistProfile' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.10', - 'hwAPGrpWdsWhitelistProfile' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.11', - 'hwAPGrpRadioSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.12', - 'hwAPGrpRadioSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPGrpRadioSwitch', - 'hwAPGrpRadioChannel' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.13', - 'hwAPGrpRadioBandwidth' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.14', - 'hwAPGrpRadioBandwidthDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPGrpRadioBandwidth', - 'hwAPGrpRadioEirp' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.15', - 'hwAPGrpRadioAntennaGain' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.16', - 'hwAPGrpRadioCoverageDistance' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.17', - 'hwAPGrpRadioWorkMode' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.18', - 'hwAPGrpRadioWorkModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPGrpRadioWorkMode', - 'hwAPGrpRadioFrequency' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.19', - 'hwAPGrpRadioFrequencyDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPGrpRadioFrequency', - 'hwAPGrpSpectrumAnalysisSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.20', - 'hwAPGrpSpectrumAnalysisSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPGrpSpectrumAnalysisSwitch', - 'hwAPGrpWidsDeviceDetectSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.21', - 'hwAPGrpWidsDeviceDetectSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPGrpWidsDeviceDetectSwitch', - 'hwAPGrpWidsAttackDetectEnBmp' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.22', - 'hwAPGrpWidsRogueContainSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.23', - 'hwAPGrpWidsRogueContainSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPGrpWidsRogueContainSwitch', - 'hwAPGrpRadioSecondChannel' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.24', - 'hwAPGrpAutoChannelSelectSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.25', - 'hwAPGrpAutoChannelSelectSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPGrpAutoChannelSelectSwitch', - 'hwAPGrpAutoTxPowerSelectSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.26', - 'hwAPGrpAutoTxPowerSelectSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPGrpAutoTxPowerSelectSwitch', - 'hwAPGrpSfnRoamCtsSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.27', - 'hwAPGrpSfnRoamCtsSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPGrpSfnRoamCtsSwitch', - 'hwAPGrpSfnRoamBeaconSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.28', - 'hwAPGrpSfnRoamBeaconSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPGrpSfnRoamBeaconSwitch', - 'hwAPGrpSfnRoamCtsDelay' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.29', - 'hwAPGroupRadioCalibrateFlexibleRadio' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.30', - 'hwAPGroupRadioCalibrateFlexibleRadioDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPGroupRadioCalibrateFlexibleRadio', - 'hwAPGrpAutoBandwidthSelectSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.31', - 'hwAPGrpAutoBandwidthSelectSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPGrpAutoBandwidthSelectSwitch', - 'hwAPGrpReferenceDataAnalysis' => '1.3.6.1.4.1.2011.6.139.11.1.5.1.32', - 'hwAPGrpReferenceDataAnalysisDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPGrpReferenceDataAnalysis', - 'hwAPGroupVapTable' => '1.3.6.1.4.1.2011.6.139.11.1.6', - 'hwAPGroupVapEntry' => '1.3.6.1.4.1.2011.6.139.11.1.6.1', - 'hwAPGrpWlanId' => '1.3.6.1.4.1.2011.6.139.11.1.6.1.1', - 'hwAPGrpVapProfile' => '1.3.6.1.4.1.2011.6.139.11.1.6.1.2', - 'hwAPGrpVapRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.6.1.3', - 'hwAPGrpVapServiceVlan' => '1.3.6.1.4.1.2011.6.139.11.1.6.1.4', - 'hwAPGrpVapVlanPool' => '1.3.6.1.4.1.2011.6.139.11.1.6.1.5', - 'hwAPSpecificTable' => '1.3.6.1.4.1.2011.6.139.11.1.7', - 'hwAPSpecificEntry' => '1.3.6.1.4.1.2011.6.139.11.1.7.1', - 'hwAPSpAPSystemProfile' => '1.3.6.1.4.1.2011.6.139.11.1.7.1.2', - 'hwAPSpDomainProfile' => '1.3.6.1.4.1.2011.6.139.11.1.7.1.4', - 'hwAPSpRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.7.1.5', - 'hwAPSpApMac' => '1.3.6.1.4.1.2011.6.139.11.1.7.1.6', - 'hwAPSpApId' => '1.3.6.1.4.1.2011.6.139.11.1.7.1.7', - 'hwAPSpApTypeInfo' => '1.3.6.1.4.1.2011.6.139.11.1.7.1.8', - 'hwAPSpWidsProfile' => '1.3.6.1.4.1.2011.6.139.11.1.7.1.9', - 'hwAPSpBleProfile' => '1.3.6.1.4.1.2011.6.139.11.1.7.1.10', - 'hwAPSpLongitude' => '1.3.6.1.4.1.2011.6.139.11.1.7.1.11', - 'hwAPSpLatitude' => '1.3.6.1.4.1.2011.6.139.11.1.7.1.12', - 'hwAPSpApAddressMode' => '1.3.6.1.4.1.2011.6.139.11.1.7.1.13', - 'hwAPSpApAddressModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPSpApAddressMode', - 'hwAPSpApIPv4Address' => '1.3.6.1.4.1.2011.6.139.11.1.7.1.14', - 'hwAPSpApIPv4Mask' => '1.3.6.1.4.1.2011.6.139.11.1.7.1.15', - 'hwAPSpApIPv4Gateway' => '1.3.6.1.4.1.2011.6.139.11.1.7.1.16', - 'hwAPSpApIPv6Address' => '1.3.6.1.4.1.2011.6.139.11.1.7.1.17', - 'hwAPSpApIPv6PrefixLen' => '1.3.6.1.4.1.2011.6.139.11.1.7.1.18', - 'hwAPSpApIPv6Gateway' => '1.3.6.1.4.1.2011.6.139.11.1.7.1.19', - 'hwAPSpIPv4ACList' => '1.3.6.1.4.1.2011.6.139.11.1.7.1.20', - 'hwAPSpIPv6ACList' => '1.3.6.1.4.1.2011.6.139.11.1.7.1.21', - 'hwAPSpGroupName' => '1.3.6.1.4.1.2011.6.139.11.1.7.1.22', - 'hwAPSpApName' => '1.3.6.1.4.1.2011.6.139.11.1.7.1.23', - 'hwAPSpBranchGroupName' => '1.3.6.1.4.1.2011.6.139.11.1.7.1.24', - 'hwAPSpLocation' => '1.3.6.1.4.1.2011.6.139.11.1.7.1.25', - 'hwAPSpSiteCode' => '1.3.6.1.4.1.2011.6.139.11.1.7.1.26', - 'hwAPSpDomainName' => '1.3.6.1.4.1.2011.6.139.11.1.7.1.27', - 'hwAPSpApZoneName' => '1.3.6.1.4.1.2011.6.139.11.1.7.1.28', - 'hwAPSpecificWiredPortTable' => '1.3.6.1.4.1.2011.6.139.11.1.8', - 'hwAPSpecificWiredPortEntry' => '1.3.6.1.4.1.2011.6.139.11.1.8.1', - 'hwAPSpWPInterfaceType' => '1.3.6.1.4.1.2011.6.139.11.1.8.1.1', - 'hwAPSpWPInterfaceTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPSpWPInterfaceType', - 'hwAPSpWPInterfaceNum' => '1.3.6.1.4.1.2011.6.139.11.1.8.1.2', - 'hwAPSpWPProfile' => '1.3.6.1.4.1.2011.6.139.11.1.8.1.3', - 'hwAPSpWPRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.8.1.4', - 'hwAPSpWPApId' => '1.3.6.1.4.1.2011.6.139.11.1.8.1.5', - 'hwAPSpecificRadioTable' => '1.3.6.1.4.1.2011.6.139.11.1.9', - 'hwAPSpecificRadioEntry' => '1.3.6.1.4.1.2011.6.139.11.1.9.1', - 'hwAPSpRadio' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.1', - 'hwAPSp5gRadioProfile' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.2', - 'hwAPSpMeshProfile' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.3', - 'hwAPSpWdsProfile' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.4', - 'hwAPSpLocationProfile' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.6', - 'hwAPSpRadioRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.8', - 'hwAPSpRadio2gProfile' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.9', - 'hwAPSpMeshWhitelistProfile' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.10', - 'hwAPSpWdsWhitelistProfile' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.11', - 'hwAPSpRadioSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.12', - 'hwAPSpRadioSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPSpRadioSwitch', - 'hwAPSpRadioChannel' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.13', - 'hwAPSpRadioBandwidth' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.14', - 'hwAPSpRadioBandwidthDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPSpRadioBandwidth', - 'hwAPSpRadioEirp' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.15', - 'hwAPSpRadioAntennaGain' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.16', - 'hwAPSpRadioCoverageDistance' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.17', - 'hwAPSpRadioWorkMode' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.18', - 'hwAPSpRadioWorkModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPSpRadioWorkMode', - 'hwAPSpRadioFrequency' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.19', - 'hwAPSpRadioFrequencyDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPSpRadioFrequency', - 'hwAPSpSpectrumAnalysisSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.20', - 'hwAPSpSpectrumAnalysisSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPSpSpectrumAnalysisSwitch', - 'hwAPSpWidsDeviceDetectSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.21', - 'hwAPSpWidsDeviceDetectSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPSpWidsDeviceDetectSwitch', - 'hwAPSpWidsAttackDetectEnBmp' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.22', - 'hwAPSpWidsRogueContainSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.23', - 'hwAPSpWidsRogueContainSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPSpWidsRogueContainSwitch', - 'hwAPSpRadioApId' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.24', - 'hwAPSpRadioSecondChannel' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.25', - 'hwAPSpAutoChannelSelectSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.26', - 'hwAPSpAutoChannelSelectSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPSpAutoChannelSelectSwitch', - 'hwAPSpAutoTxPowerSelectSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.27', - 'hwAPSpAutoTxPowerSelectSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPSpAutoTxPowerSelectSwitch', - 'hwAPSpSfnRoamCtsSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.28', - 'hwAPSpSfnRoamCtsSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPSpSfnRoamCtsSwitch', - 'hwAPSpSfnRoamBeaconSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.29', - 'hwAPSpSfnRoamBeaconSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPSpSfnRoamBeaconSwitch', - 'hwAPSpSfnRoamCtsDelay' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.30', - 'hwAPSpRadioCalibrateFlexibleRadio' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.31', - 'hwAPSpRadioCalibrateFlexibleRadioDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPSpRadioCalibrateFlexibleRadio', - 'hwAPSpAutoBandwidthSelectSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.32', - 'hwAPSpAutoBandwidthSelectSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPSpAutoBandwidthSelectSwitch', - 'hwAPSpReferenceDataAnalysis' => '1.3.6.1.4.1.2011.6.139.11.1.9.1.33', - 'hwAPSpReferenceDataAnalysisDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPSpReferenceDataAnalysis', - 'hwAPSpecificVapTable' => '1.3.6.1.4.1.2011.6.139.11.1.10', - 'hwAPSpecificVapEntry' => '1.3.6.1.4.1.2011.6.139.11.1.10.1', - 'hwAPSpWlan' => '1.3.6.1.4.1.2011.6.139.11.1.10.1.1', - 'hwAPSpVapProfile' => '1.3.6.1.4.1.2011.6.139.11.1.10.1.2', - 'hwAPSpVapRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.10.1.3', - 'hwAPSpVapApId' => '1.3.6.1.4.1.2011.6.139.11.1.10.1.4', - 'hwAPSpVapServiceVlan' => '1.3.6.1.4.1.2011.6.139.11.1.10.1.5', - 'hwAPSpVapVlanPool' => '1.3.6.1.4.1.2011.6.139.11.1.10.1.6', - 'hwRegulatoryDomainProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.11', - 'hwRegulatoryDomainProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.11.1', - 'hwRegulatoryDomainProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.11.1.1', - 'hwCountryCode' => '1.3.6.1.4.1.2011.6.139.11.1.11.1.2', - 'hwDcaChannel5GBandwidth' => '1.3.6.1.4.1.2011.6.139.11.1.11.1.3', - 'hwDcaChannel5GBandwidthDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwDcaChannel5GBandwidth', - 'hwDcaChannel5GChannelSet' => '1.3.6.1.4.1.2011.6.139.11.1.11.1.4', - 'hwDcaChannel2GChannelSet' => '1.3.6.1.4.1.2011.6.139.11.1.11.1.5', - 'hwRegulatoryDomainProfilRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.11.1.6', - 'hwWlanWideBandEnable' => '1.3.6.1.4.1.2011.6.139.11.1.11.1.7', - 'hwWlanWideBandEnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanWideBandEnable', - 'hwApProfChannelLoadMode' => '1.3.6.1.4.1.2011.6.139.11.1.11.1.8', - 'hwApProfChannelLoadModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfChannelLoadMode', - 'hwApSystemProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.12', - 'hwApSystemProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.12.1', - 'hwApSystemProfName' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.1', - 'hwApProfStatInterval' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.3', - 'hwApProfSampleTime' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.4', - 'hwApProfLedSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.5', - 'hwApProfLedSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfLedSwitch', - 'hwApProfMaxStaNum' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.6', - 'hwApProfMtu' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.7', - 'hwApProfMeshRole' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.8', - 'hwApProfMeshRoleDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfMeshRole', - 'hwApProfTemporaryManagement' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.9', - 'hwApProfTemporaryManagementDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfTemporaryManagement', - 'hwApProfManagementVlan' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.10', - 'hwApProfHighTempThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.11', - 'hwApProfLowTempThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.12', - 'hwApProfOpHRxPowerThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.13', - 'hwApProfOpLRxPowerThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.14', - 'hwApProfOpHTempThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.15', - 'hwApProfOpLTempThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.16', - 'hwApProfMemoryUsageThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.17', - 'hwApProfCpuUsageThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.18', - 'hwApProfTelnetSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.19', - 'hwApProfTelnetSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfTelnetSwitch', - 'hwApProfSTelnetSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.20', - 'hwApProfSTelnetSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfSTelnetSwitch', - 'hwApProfConsoleSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.21', - 'hwApProfConsoleSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfConsoleSwitch', - 'hwApProfLogRecordLevel' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.22', - 'hwApProfLogRecordLevelDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfLogRecordLevel', - 'hwApProfLogServerIp' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.23', - 'hwApProfLogServerIpv6' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.24', - 'hwApProfAlarmRestrictionSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.25', - 'hwApProfAlarmRestrictionSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfAlarmRestrictionSwitch', - 'hwApProfAlarmRestrictionPeriod' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.26', - 'hwApProfKeepServiceSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.27', - 'hwApProfKeepServiceSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfKeepServiceSwitch', - 'hwApProfProtectPriority' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.28', - 'hwApProfProtectACIp' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.29', - 'hwApProfProtectACIpv6' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.30', - 'hwApProfEapStartMode' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.31', - 'hwApProfEapStartModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfEapStartMode', - 'hwApProfEapStartTransform' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.32', - 'hwApProfEapStartTransformDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfEapStartTransform', - 'hwApProfEapStartUnicastMac' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.33', - 'hwApProfEapResponseMode' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.34', - 'hwApProfEapResponseModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfEapResponseMode', - 'hwApProfEapResponseTransform' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.35', - 'hwApProfEapResponseTransformDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfEapResponseTransform', - 'hwApProfEapResponseUnicastMac' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.36', - 'hwApProfLldpRestartDelay' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.37', - 'hwApProfLldpAdminStatus' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.38', - 'hwApProfLldpAdminStatusDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfLldpAdminStatus', - 'hwApProfLldpRetransDelay' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.39', - 'hwApProfLldpRetransHoldMultiplier' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.40', - 'hwApProfLldpInterval' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.41', - 'hwApProfLldpReportInterval' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.42', - 'hwApProfStaAccessMode' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.43', - 'hwApProfStaAccessModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfStaAccessMode', - 'hwApProfStaAccessModeProfile' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.44', - 'hwApProfRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.45', - 'hwApProfSFTPSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.46', - 'hwApProfSFTPSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfSFTPSwitch', - 'hwApProfDynamicBlackListAgingTime' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.47', - 'hwApProfAntennaOutputMode' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.48', - 'hwApProfAntennaOutputModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfAntennaOutputMode', - 'hwApProfMppActiveReselectionSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.49', - 'hwApProfMppActiveReselectionSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfMppActiveReselectionSwitch', - 'hwApProfSpectrumServerIPAddress' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.50', - 'hwApProfSpectrumServerIPv6Address' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.51', - 'hwApProfSpectrumServerPort' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.52', - 'hwApProfSpectrumViaACSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.53', - 'hwApProfSpectrumViaACSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfSpectrumViaACSwitch', - 'hwApProfSpectrumViaACPort' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.54', - 'hwApProfSpectrumNonWifiDeviceAgingTime' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.55', - 'hwApProfPoeMaxPower' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.56', - 'hwApProfPoePowerReserved' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.57', - 'hwApProfPoePowerThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.58', - 'hwApProfPoeAfInrushSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.59', - 'hwApProfPoeAfInrushSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfPoeAfInrushSwitch', - 'hwApProfPoeHighInrushSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.60', - 'hwApProfPoeHighInrushSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfPoeHighInrushSwitch', - 'hwApProfPrimaryLinkIPv4' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.61', - 'hwApProfPrimaryLinkIPv6' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.62', - 'hwApProfBackupLinkIPv4' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.63', - 'hwApProfBackupLinkIPv6' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.64', - 'hwApProfLedOffTimeRange' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.65', - 'hwApProfUsbSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.66', - 'hwApProfUsbSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfUsbSwitch', - 'hwApProfBroadcastSuppressionArpEnable' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.67', - 'hwApProfBroadcastSuppressionArpEnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfBroadcastSuppressionArpEnable', - 'hwApProfBroadcastSuppressionArpThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.68', - 'hwApProfBroadcastSuppressionIgmpEnable' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.69', - 'hwApProfBroadcastSuppressionIgmpEnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfBroadcastSuppressionIgmpEnable', - 'hwApProfBroadcastSuppressionIgmpThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.70', - 'hwApProfBroadcastSuppressionNdEnable' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.71', - 'hwApProfBroadcastSuppressionNdEnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfBroadcastSuppressionNdEnable', - 'hwApProfBroadcastSuppressionNdThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.72', - 'hwApProfBroadcastSuppressionOtherEnable' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.73', - 'hwApProfBroadcastSuppressionOtherEnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfBroadcastSuppressionOtherEnable', - 'hwApProfBroadcastSuppressionOtherThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.74', - 'hwApProfBroadcastSuppressionAllEnable' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.75', - 'hwApProfBroadcastSuppressionAllEnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfBroadcastSuppressionAllEnable', - 'hwApProfCapwapDtlsDataSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.76', - 'hwApProfCapwapDtlsDataSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfCapwapDtlsDataSwitch', - 'hwApProfTemporaryManagementPsk' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.77', - 'hwApProfProtectLinkSwitchMode' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.78', - 'hwApProfProtectLinkSwitchModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfProtectLinkSwitchMode', - 'hwApProfProtectLinkSwitchEchoProbeTime' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.79', - 'hwApProfProtectLinkSwitchStartThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.80', - 'hwApProfProtectLinkSwitchGapThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.81', - 'hwApProfCardConnectType' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.82', - 'hwApProfCardConnectTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfCardConnectType', - 'hwApProfLldpReportEnable' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.83', - 'hwApProfLldpReportEnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfLldpReportEnable', - 'hwApProfDhcpv4Option12' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.84', - 'hwApProfDhcpv4Option12Definition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfDhcpv4Option12', - 'hwApProfBcSuppresionAutoDetectThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.85', - 'hwApProfMcSuppresionAutoDetectThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.86', - 'hwApProfUcSuppresionAutoDetectThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.87', - 'hwApProfConsoleBLEMode' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.88', - 'hwApProfConsoleBLEModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfConsoleBLEMode', - 'hwApProfDiskUsageThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.89', - 'hwApProfLogServerPort' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.90', - 'hwApProfStationConnectivityDetectSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.91', - 'hwApProfStationConnectivityDetectSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfStationConnectivityDetectSwitch', - 'hwApProfStaArpNDProxyBeforeAssoc' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.92', - 'hwApProfStaArpNDProxyBeforeAssocDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfStaArpNDProxyBeforeAssoc', - 'hwApProfUcSuppressionAutoDetectSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.93', - 'hwApProfUcSuppressionAutoDetectSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfUcSuppressionAutoDetectSwitch', - 'hwApProfPkiCertFileType' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.94', - 'hwApProfPkiCertFileTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApProfPkiCertFileType', - 'hwApProfPkiCertFileName' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.95', - 'hwApProfPkiCertFilePassword' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.96', - 'hwApProfHighTempApEnvironmentThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.97', - 'hwApProfHighTempCpuThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.98', - 'hwApProfHighTempNpThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.99', - 'hwApProfLowTempApEnvironmentThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.100', - 'hwApProfLowTempCpuThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.101', - 'hwApProfLowTempNpThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.102', - 'hwApSystemProfileNPFastForwardingSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.103', - 'hwApSystemProfileNPFastForwardingSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApSystemProfileNPFastForwardingSwitch', - 'hwApSystemProfileNPCapwapReassemblySwitch' => '1.3.6.1.4.1.2011.6.139.11.1.12.1.104', - 'hwApSystemProfileNPCapwapReassemblySwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApSystemProfileNPCapwapReassemblySwitch', - 'hwAPWiredPortProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.13', - 'hwAPWiredPortProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.13.1', - 'hwAPWiredPortProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.1', - 'hwAPWiredPortPortLinkProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.2', - 'hwAPWiredPortProfilePortDesc' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.3', - 'hwAPWiredPortProfilePortEthTrunkID' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.4', - 'hwAPWiredPortProfilePortSTPSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.5', - 'hwAPWiredPortProfilePortSTPSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPWiredPortProfilePortSTPSwitch', - 'hwAPWiredPortProfilePortMode' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.6', - 'hwAPWiredPortProfilePortModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPWiredPortProfilePortMode', - 'hwAPWiredPortProfilePortVlanPvid' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.7', - 'hwAPWiredPortProfilePortVlanTagged' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.8', - 'hwAPWiredPortProfilePortVlanUntagged' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.9', - 'hwAPWiredPortProfileUserIsolate' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.10', - 'hwAPWiredPortProfileUserIsolateDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPWiredPortProfileUserIsolate', - 'hwAPWiredPortProfileDhcpTrust' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.11', - 'hwAPWiredPortProfileDhcpTrustDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPWiredPortProfileDhcpTrust', - 'hwAPWiredPortProfileNdTrust' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.12', - 'hwAPWiredPortProfileNdTrustDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPWiredPortProfileNdTrust', - 'hwAPWiredPortProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.13', - 'hwAPWiredPortProfileLearnAddress' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.14', - 'hwAPWiredPortProfileLearnAddressDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPWiredPortProfileLearnAddress', - 'hwAPWiredPortProfileIpBindCheck' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.15', - 'hwAPWiredPortProfileIpBindCheckDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPWiredPortProfileIpBindCheck', - 'hwAPWiredPortProfileArpBindCheck' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.16', - 'hwAPWiredPortProfileArpBindCheckDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPWiredPortProfileArpBindCheck', - 'hwAPWiredPortProfileSTPAutoShutdown' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.17', - 'hwAPWiredPortProfileSTPAutoShutdownDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPWiredPortProfileSTPAutoShutdown', - 'hwAPWiredPortProfileSTPAutoShutdownRecoveryTime' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.18', - 'hwAPWiredPortProfileTrafficOptimizeSuppressionBc' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.19', - 'hwAPWiredPortProfileTrafficOptimizeSuppressionUc' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.20', - 'hwAPWiredPortProfileTrafficOptimizeSuppressionMc' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.21', - 'hwAPWiredPortProfileIGMPSnooping' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.22', - 'hwAPWiredPortProfileIGMPSnoopingDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPWiredPortProfileIGMPSnooping', - 'hwAPWiredPortProfileLearnIpv6Address' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.23', - 'hwAPWiredPortProfileLearnIpv6AddressDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPWiredPortProfileLearnIpv6Address', - 'hwAPWiredPortProfileMLDSnooping' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.24', - 'hwAPWiredPortProfileMLDSnoopingDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPWiredPortProfileMLDSnooping', - 'hwAPWiredPortProfileTrafficOptimizeTcpAdjustMss' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.25', - 'hwAPWiredPortProfilePortSec' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.26', - 'hwAPWiredPortProfilePortSecDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPWiredPortProfilePortSec', - 'hwAPWiredPortProfilePortSecMACMaxNum' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.27', - 'hwAPWiredPortProfilePortSecStickyMac' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.28', - 'hwAPWiredPortProfilePortSecStickyMacDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPWiredPortProfilePortSecStickyMac', - 'hwAPWiredPortProfilePortSecProtectAction' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.29', - 'hwAPWiredPortProfilePortSecProtectActionDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPWiredPortProfilePortSecProtectAction', - 'hwAPWiredPortProfilePortForwardMode' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.30', - 'hwAPWiredPortProfilePortForwardModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPWiredPortProfilePortForwardMode', - 'hwAPWiredPortDot1xClientProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.13.1.31', - 'hwAPWiredPortProfileTrafficFilterTable' => '1.3.6.1.4.1.2011.6.139.11.1.14', - 'hwAPWiredPortProfileTrafficFilterEntry' => '1.3.6.1.4.1.2011.6.139.11.1.14.1', - 'hwAPWiredPortProfileTrafficFilterDirection' => '1.3.6.1.4.1.2011.6.139.11.1.14.1.1', - 'hwAPWiredPortProfileTrafficFilterDirectionDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPWiredPortProfileTrafficFilterDirection', - 'hwAPWiredPortProfileTrafficFilterType' => '1.3.6.1.4.1.2011.6.139.11.1.14.1.2', - 'hwAPWiredPortProfileTrafficFilterTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPWiredPortProfileTrafficFilterType', - 'hwAPWiredPortProfileTrafficFilterAclID' => '1.3.6.1.4.1.2011.6.139.11.1.14.1.3', - 'hwAPWiredPortProfileTrafficFilterRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.14.1.4', - 'hwAPPortLinkProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.15', - 'hwAPPortLinkProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.15.1', - 'hwAPPortLinkProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.15.1.1', - 'hwAPPortLinkProfileLldpEnable' => '1.3.6.1.4.1.2011.6.139.11.1.15.1.2', - 'hwAPPortLinkProfileLldpEnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPPortLinkProfileLldpEnable', - 'hwAPPortLinkProfileLldpTlvType' => '1.3.6.1.4.1.2011.6.139.11.1.15.1.3', - 'hwAPPortLinkProfileCrcAlarmEnable' => '1.3.6.1.4.1.2011.6.139.11.1.15.1.4', - 'hwAPPortLinkProfileCrcAlarmEnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPPortLinkProfileCrcAlarmEnable', - 'hwAPPortLinkProfileCrcAlarmThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.15.1.5', - 'hwAPPortLinkProfileCrcAlarmResumeThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.15.1.6', - 'hwAPPortLinkProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.15.1.7', - 'hwAPPortLinkProfilePoeSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.15.1.8', - 'hwAPPortLinkProfilePoeSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPPortLinkProfilePoeSwitch', - 'hwAPPortLinkProfilePoePriority' => '1.3.6.1.4.1.2011.6.139.11.1.15.1.9', - 'hwAPPortLinkProfilePoePriorityDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPPortLinkProfilePoePriority', - 'hwAPPortLinkProfilePoeForcePowerSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.15.1.10', - 'hwAPPortLinkProfilePoeForcePowerSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPPortLinkProfilePoeForcePowerSwitch', - 'hwAPPortLinkProfilePoeLegacySwitch' => '1.3.6.1.4.1.2011.6.139.11.1.15.1.11', - 'hwAPPortLinkProfilePoeLegacySwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPPortLinkProfilePoeLegacySwitch', - 'hwAPPortLinkProfilePoeOffTimeRange' => '1.3.6.1.4.1.2011.6.139.11.1.15.1.12', - 'hwAPPortLinkProfileAdminStatus' => '1.3.6.1.4.1.2011.6.139.11.1.15.1.13', - 'hwAPPortLinkProfileAdminStatusDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPPortLinkProfileAdminStatus', - 'hwAPPortLinkProfileLldpdot3TlvType' => '1.3.6.1.4.1.2011.6.139.11.1.15.1.14', - 'hwAPPortLinkProfileLldpdot3PowerFormat' => '1.3.6.1.4.1.2011.6.139.11.1.15.1.15', - 'hwAPPortLinkProfileLldpdot3PowerFormatDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPPortLinkProfileLldpdot3PowerFormat', - 'hwAPPortLinkProfileLldpLegacyTlvType' => '1.3.6.1.4.1.2011.6.139.11.1.15.1.16', - 'hwAPPortLinkProfileLldpLegacyPowerCapability' => '1.3.6.1.4.1.2011.6.139.11.1.15.1.17', - 'hwAPPortLinkProfileLldpLegacyPowerCapabilityDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPPortLinkProfileLldpLegacyPowerCapability', - 'hwAPPortLinkProfileSpeed' => '1.3.6.1.4.1.2011.6.139.11.1.15.1.18', - 'hw2gRadioProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.16', - 'hw2gRadioProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.16.1', - 'hw2gRadioProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.1', - 'hw2gRadioBeaconInterval' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.6', - 'hw2gRadioGuardIntervalMode' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.10', - 'hw2gRadioGuardIntervalModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw2gRadioGuardIntervalMode', - 'hw2gRadioShortPreamble' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.11', - 'hw2gRadioShortPreambleDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw2gRadioShortPreamble', - 'hw2gRadioFragmentationThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.12', - 'hw2gRadioHtAmpduSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.13', - 'hw2gRadioHtAmpduSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw2gRadioHtAmpduSwitch', - 'hw2gRadioHtAmpduMaxLengthExponent' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.14', - 'hw2gRadioDot11bgBasicRate' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.15', - 'hw2gRadioDot11bgSupportRate' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.16', - 'hw2gRadioMulticastRate' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.17', - 'hw2gRadioWmmMandatorySwitch' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.18', - 'hw2gRadioWmmMandatorySwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw2gRadioWmmMandatorySwitch', - 'hw2gRadioApEDCAVoiceECWmax' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.19', - 'hw2gRadioApEDCAVoiceECWmin' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.20', - 'hw2gRadioApEDCAVoiceAIFSN' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.21', - 'hw2gRadioApEDCAVoiceTXOPLimit' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.22', - 'hw2gRadioApEDCAVoiceAckPolicy' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.23', - 'hw2gRadioApEDCAVoiceAckPolicyDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw2gRadioApEDCAVoiceAckPolicy', - 'hw2gRadioApEDCAVideoECWmax' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.24', - 'hw2gRadioApEDCAVideoECWmin' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.25', - 'hw2gRadioApEDCAVideoAIFSN' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.26', - 'hw2gRadioApEDCAVideoTXOPLimit' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.27', - 'hw2gRadioApEDCAVideoAckPolicy' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.28', - 'hw2gRadioApEDCAVideoAckPolicyDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw2gRadioApEDCAVideoAckPolicy', - 'hw2gRadioApEDCABEECWmax' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.29', - 'hw2gRadioApEDCABEECWmin' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.30', - 'hw2gRadioApEDCABEAIFSN' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.31', - 'hw2gRadioApEDCABETXOPLimit' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.32', - 'hw2gRadioApEDCABEAckPolicy' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.33', - 'hw2gRadioApEDCABEAckPolicyDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw2gRadioApEDCABEAckPolicy', - 'hw2gRadioApEDCABKECWmax' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.34', - 'hw2gRadioApEDCABKECWmin' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.35', - 'hw2gRadioApEDCABKAIFSN' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.36', - 'hw2gRadioApEDCABKTXOPLimit' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.37', - 'hw2gRadioApEDCABKAckPolicy' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.38', - 'hw2gRadioApEDCABKAckPolicyDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw2gRadioApEDCABKAckPolicy', - 'hw2gRadioWmmSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.39', - 'hw2gRadioWmmSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw2gRadioWmmSwitch', - 'hw2gRadioRtsCtsThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.40', - 'hw2gRadioRtsCtsMode' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.41', - 'hw2gRadioRtsCtsModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw2gRadioRtsCtsMode', - 'hw2gRadioPowerAutoAdjustSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.42', - 'hw2gRadioPowerAutoAdjustSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw2gRadioPowerAutoAdjustSwitch', - 'hw2gRadioBeamformingSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.43', - 'hw2gRadioBeamformingSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw2gRadioBeamformingSwitch', - 'hw2gRadioWifiLight' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.44', - 'hw2gRadioWifiLightDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw2gRadioWifiLight', - 'hw2gRadioChannelSwitchAnnouncementSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.45', - 'hw2gRadioChannelSwitchAnnouncementSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw2gRadioChannelSwitchAnnouncementSwitch', - 'hw2gRadioChannelSwitchMode' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.46', - 'hw2gRadioChannelSwitchModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw2gRadioChannelSwitchMode', - 'hw2gRadioAutoOffServiceSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.47', - 'hw2gRadioAutoOffServiceSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw2gRadioAutoOffServiceSwitch', - 'hw2gRadioAutoOffServiceStartTime' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.48', - 'hw2gRadioAutoOffServiceEndTime' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.49', - 'hw2gRadioInterferenceDetectSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.50', - 'hw2gRadioInterferenceDetectSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw2gRadioInterferenceDetectSwitch', - 'hw2gRadioInterferenceIntraFrequencyThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.51', - 'hw2gRadioInterferenceAdjacentFrequencyThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.52', - 'hw2gRadioInterferenceStationThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.53', - 'hw2gRadioRrmProfile' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.54', - 'hw2gRadioAirScanProfile' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.55', - 'hw2gRadioProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.56', - 'hw2gRadioProfileUtmostPowerSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.57', - 'hw2gRadioProfileUtmostPowerSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw2gRadioProfileUtmostPowerSwitch', - 'hw2gRadioProfileRadioType' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.59', - 'hw2gRadioProfileRadioTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw2gRadioProfileRadioType', - 'hw2gRadioProfileSmartAntennaEnable' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.60', - 'hw2gRadioProfileSmartAntennaEnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw2gRadioProfileSmartAntennaEnable', - 'hw2gRadioProfileTxChainNum' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.61', - 'hw2gRadioProfileRxChainNum' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.62', - 'hw2gRadioProfileAutoOffTimeRange' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.63', - 'hw2gRadioAgileAntennaPolarSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.64', - 'hw2gRadioAgileAntennaPolarSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw2gRadioAgileAntennaPolarSwitch', - 'hw2gRadioProfileCCAThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.65', - 'hw2gRadioProfileSmartAntennaLowPerThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.66', - 'hw2gRadioProfileSmartAntennaHighPerThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.67', - 'hw2gRadioProfileSmartAntennaTrainingInterval' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.68', - 'hw2gRadioProfileSmartAntennaTrainingMPDUNum' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.69', - 'hw2gRadioProfileSmartAntThruputTrainThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.70', - 'hw2gRadioDot11axGuardIntervalMode' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.71', - 'hw2gRadioDot11axGuardIntervalModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw2gRadioDot11axGuardIntervalMode', - 'hw2gRadioHighwayBssid' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.72', - 'hw2gRadioAutonavigationBeaconInterval' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.73', - 'hwRadio2GProfileAmsduSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.74', - 'hwRadio2GProfileAmsduSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwRadio2GProfileAmsduSwitch', - 'hw2gRadioVipUserBandwidthReservationRatio' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.75', - 'hw2GRadioRu26ToleranceSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.16.1.76', - 'hw2GRadioRu26ToleranceSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw2GRadioRu26ToleranceSwitch', - 'hw5gRadioProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.17', - 'hw5gRadioProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.17.1', - 'hw5gRadioProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.1', - 'hw5gRadioBeaconInterval' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.6', - 'hw5gRadioGuardIntervalMode' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.10', - 'hw5gRadioGuardIntervalModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw5gRadioGuardIntervalMode', - 'hw5gRadioShortPreamble' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.11', - 'hw5gRadioShortPreambleDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw5gRadioShortPreamble', - 'hw5gRadioFragmentationThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.12', - 'hw5gRadioHtAmpduSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.13', - 'hw5gRadioHtAmpduSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw5gRadioHtAmpduSwitch', - 'hw5gRadioHtAmpduMaxLengthExponent' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.14', - 'hw5gRadioVhtAmpduMaxLengthExponent' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.15', - 'hw5gRadioVhtAmsduSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.16', - 'hw5gRadioVhtAmsduSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw5gRadioVhtAmsduSwitch', - 'hw5gRadioVhtAmsduMaxFrameNum' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.17', - 'hw5gRadioDot11aBasicRate' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.18', - 'hw5gRadioDot11aSupportRate' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.19', - 'hw5gRadioMulticastRate' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.20', - 'hw5gRadioVhtNssMapMaxMcs' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.21', - 'hw5gRadioWmmMandatorySwitch' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.22', - 'hw5gRadioWmmMandatorySwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw5gRadioWmmMandatorySwitch', - 'hw5gRadioApEDCAVoiceECWmax' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.23', - 'hw5gRadioApEDCAVoiceECWmin' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.24', - 'hw5gRadioApEDCAVoiceAIFSN' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.25', - 'hw5gRadioApEDCAVoiceTXOPLimit' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.26', - 'hw5gRadioApEDCAVoiceAckPolicy' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.27', - 'hw5gRadioApEDCAVoiceAckPolicyDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw5gRadioApEDCAVoiceAckPolicy', - 'hw5gRadioApEDCAVideoECWmax' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.28', - 'hw5gRadioApEDCAVideoECWmin' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.29', - 'hw5gRadioApEDCAVideoAIFSN' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.30', - 'hw5gRadioApEDCAVideoTXOPLimit' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.31', - 'hw5gRadioApEDCAVideoAckPolicy' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.32', - 'hw5gRadioApEDCAVideoAckPolicyDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw5gRadioApEDCAVideoAckPolicy', - 'hw5gRadioApEDCABEECWmax' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.33', - 'hw5gRadioApEDCABEECWmin' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.34', - 'hw5gRadioApEDCABEAIFSN' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.35', - 'hw5gRadioApEDCABETXOPLimit' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.36', - 'hw5gRadioApEDCABEAckPolicy' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.37', - 'hw5gRadioApEDCABEAckPolicyDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw5gRadioApEDCABEAckPolicy', - 'hw5gRadioApEDCABKECWmax' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.38', - 'hw5gRadioApEDCABKECWmin' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.39', - 'hw5gRadioApEDCABKAIFSN' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.40', - 'hw5gRadioApEDCABKTXOPLimit' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.41', - 'hw5gRadioApEDCABKAckPolicy' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.42', - 'hw5gRadioApEDCABKAckPolicyDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw5gRadioApEDCABKAckPolicy', - 'hw5gRadioWmmSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.43', - 'hw5gRadioWmmSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw5gRadioWmmSwitch', - 'hw5gRadioRtsCtsThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.44', - 'hw5gRadioRtsCtsMode' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.45', - 'hw5gRadioRtsCtsModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw5gRadioRtsCtsMode', - 'hw5gRadioPowerAutoAdjustSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.46', - 'hw5gRadioPowerAutoAdjustSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw5gRadioPowerAutoAdjustSwitch', - 'hw5gRadioBeamformingSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.47', - 'hw5gRadioBeamformingSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw5gRadioBeamformingSwitch', - 'hw5gRadioWifiLight' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.48', - 'hw5gRadioWifiLightDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw5gRadioWifiLight', - 'hw5gRadioChannelSwitchAnnouncementSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.49', - 'hw5gRadioChannelSwitchAnnouncementSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw5gRadioChannelSwitchAnnouncementSwitch', - 'hw5gRadioChannelSwitchMode' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.50', - 'hw5gRadioChannelSwitchModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw5gRadioChannelSwitchMode', - 'hw5gRadioAutoOffServiceSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.51', - 'hw5gRadioAutoOffServiceSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw5gRadioAutoOffServiceSwitch', - 'hw5gRadioAutoOffServiceStartTime' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.52', - 'hw5gRadioAutoOffServiceEndTime' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.53', - 'hw5gRadioInterferenceDetectSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.54', - 'hw5gRadioInterferenceDetectSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw5gRadioInterferenceDetectSwitch', - 'hw5gRadioInterferenceIntraFrequencyThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.55', - 'hw5gRadioInterferenceAdjacentFrequencyThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.56', - 'hw5gRadioInterferenceStationThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.57', - 'hw5gRadioRrmProfile' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.58', - 'hw5gRadioAirScanProfile' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.59', - 'hw5gRadioProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.60', - 'hw5gRadioProfileUtmostPowerSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.61', - 'hw5gRadioProfileUtmostPowerSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw5gRadioProfileUtmostPowerSwitch', - 'hw5gRadioProfileRadioType' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.63', - 'hw5gRadioProfileRadioTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw5gRadioProfileRadioType', - 'hw5gRadioProfileSmartAntennaEnable' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.64', - 'hw5gRadioProfileSmartAntennaEnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw5gRadioProfileSmartAntennaEnable', - 'hw5gRadioProfileMuMIMOEnable' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.65', - 'hw5gRadioProfileMuMIMOEnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw5gRadioProfileMuMIMOEnable', - 'hw5gRadioProfileTxChainNum' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.66', - 'hw5gRadioProfileRxChainNum' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.67', - 'hw5gRadioProfileAutoOffTimeRange' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.68', - 'hw5gRadioAgileAntennaPolarSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.69', - 'hw5gRadioAgileAntennaPolarSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw5gRadioAgileAntennaPolarSwitch', - 'hw5gRadioProfileCCAThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.70', - 'hw5gRadioProfileSmartAntennaLowPerThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.71', - 'hw5gRadioProfileSmartAntennaHighPerThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.72', - 'hw5gRadioProfileSmartAntennaTrainingInterval' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.73', - 'hw5gRadioProfileSmartAntennaTrainingMPDUNum' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.74', - 'hw5gRadioProfileSmartAntThruputTrainThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.75', - 'hw5gRadioDot11axGuardIntervalMode' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.76', - 'hw5gRadioDot11axGuardIntervalModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw5gRadioDot11axGuardIntervalMode', - 'hw5gRadioHighwayBssid' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.77', - 'hw5gRadioAutonavigationBeaconInterval' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.78', - 'hw5gRadioVipUserBandwidthReservationRatio' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.79', - 'hw5GRadioRu26ToleranceSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.17.1.80', - 'hw5GRadioRu26ToleranceSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hw5GRadioRu26ToleranceSwitch', - 'hwRrmProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.18', - 'hwRrmProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.18.1', - 'hwRrmProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.1', - 'hwRrmAutoChannelSelectSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.2', - 'hwRrmAutoChannelSelectSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwRrmAutoChannelSelectSwitch', - 'hwRrmAutoTxPowerSelectSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.3', - 'hwRrmAutoTxPowerSelectSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwRrmAutoTxPowerSelectSwitch', - 'hwRrmErrRateThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.4', - 'hwRrmAirtimeFairSchduleSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.5', - 'hwRrmAirtimeFairSchduleSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwRrmAirtimeFairSchduleSwitch', - 'hwRrmDynamicEdcaSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.6', - 'hwRrmDynamicEdcaSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwRrmDynamicEdcaSwitch', - 'hwRrmUacLimitClientSnrSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.7', - 'hwRrmUacLimitClientSnrSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwRrmUacLimitClientSnrSwitch', - 'hwRrmUacClientSnrThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.8', - 'hwRrmUacPolicySwitch' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.9', - 'hwRrmUacPolicySwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwRrmUacPolicySwitch', - 'hwRrmUacPolicyType' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.10', - 'hwRrmUacPolicyTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwRrmUacPolicyType', - 'hwRrmUacClientNumAccessThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.11', - 'hwRrmUacClientNumRoamThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.12', - 'hwRrmUacReachThresholdHideSsidSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.13', - 'hwRrmUacReachThresholdHideSsidSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwRrmUacReachThresholdHideSsidSwitch', - 'hwRrmBandSteerDenyThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.14', - 'hwRrmBandSteerLbClientThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.15', - 'hwRrmBandSteerLbGapThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.16', - 'hwRrmBandSteerClientBandsExpire' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.17', - 'hwRrmLoadBalanceSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.18', - 'hwRrmLoadBalanceSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwRrmLoadBalanceSwitch', - 'hwRrmLoadBalanceClientThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.19', - 'hwRrmLoadBalanceGapThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.20', - 'hwRrmLoadBalanceDenyThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.21', - 'hwRrmSmartRoamCheckType' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.22', - 'hwRrmSmartRoamCheckTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwRrmSmartRoamCheckType', - 'hwRrmSmartRoamSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.23', - 'hwRrmSmartRoamSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwRrmSmartRoamSwitch', - 'hwRrmSmartRoamSnrThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.24', - 'hwRrmSmartRoamRateThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.25', - 'hwRrmSmartRoamSnrHighLevelMargin' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.26', - 'hwRrmSmartRoamSnrLowLevelMargin' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.27', - 'hwRrmSmartRoamSnrCheckInterval' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.28', - 'hwRrmSmartRoamUnableRoamExpireTime' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.29', - 'hwRrmProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.30', - 'hwRrmUacChannelUtiAccessThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.31', - 'hwRrmUacChannelUtiRoamThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.32', - 'hwRrmSmartRoamQuickKickoffRateThr' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.33', - 'hwRrmSmartRoamQuickKickoffSnrThr' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.34', - 'hwRrmBandSteerSNRThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.35', - 'hwRrmLoadBalanceMode' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.36', - 'hwRrmLoadBalanceModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwRrmLoadBalanceMode', - 'hwRrmLoadBalanceChUtilGapThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.37', - 'hwRrmLoadBalanceChUtilStartThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.38', - 'hwRrmCalibrateCoverageThr' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.39', - 'hwRrmCalibrateMaxTxPwr' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.40', - 'hwRrmCalibrateMinTxPwr' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.41', - 'hwRrmCalibrateNoiseFloorThr' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.42', - 'hwRrmDFSSmartSelectionSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.43', - 'hwRrmDFSSmartSelectionSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwRrmDFSSmartSelectionSwitch', - 'hwRrmDFSRecoverDelayTime' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.44', - 'hwRrmSmartRoamQuickKickoffSNRCheckInterval' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.45', - 'hwRrmSmartRoamQuickKickoffSNRPNObserveTime' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.46', - 'hwRrmSmartRoamQuickKickoffSNRPNQualifyTime' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.47', - 'hwRrmErrRateCheckInterval' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.48', - 'hwRrmErrRateCheckTrafficThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.49', - 'hwRrmLoadBalanceRssiThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.50', - 'hwSfnRoamCheckHighThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.51', - 'hwSfnRoamCheckLowThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.52', - 'hwSfnRoamCheckRssiAccumulateThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.53', - 'hwSfnRoamCheckStaHoldingTimes' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.54', - 'hwSfnRoamCheckGapRssiThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.55', - 'hwSfnRoamCheckBetterSnrTimes' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.56', - 'hwSfnRoamCheckInterval' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.57', - 'hwSfnRoamReportInterval' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.58', - 'hwRrmMultimediaAirOptimize' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.59', - 'hwRrmMultimediaAirOptimizeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwRrmMultimediaAirOptimize', - 'hwRrmHighDensityAmcOptimizeSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.60', - 'hwRrmHighDensityAmcOptimizeSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwRrmHighDensityAmcOptimizeSwitch', - 'hwRrmMultimediaOptimizedThresholdVoice' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.61', - 'hwRrmMultimediaOptimizedThresholdVideo' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.62', - 'hwRrmSmartRoamQuickKickoffSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.63', - 'hwRrmSmartRoamQuickKickoffSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwRrmSmartRoamQuickKickoffSwitch', - 'hwRrmSmartRoamQuickKickoffCheckType' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.64', - 'hwRrmSmartRoamQuickKickoffCheckTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwRrmSmartRoamQuickKickoffCheckType', - 'hwRrmLoadBalanceGapStaNumThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.65', - 'hwRrmLbProbeReportInterval' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.66', - 'hwRrmLbDeauthFailTime' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.67', - 'hwRrmLbBtmFailTime' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.68', - 'hwRrmLbSteerRestrictTime' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.69', - 'hwRrmLbSteerProbeRestrictThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.70', - 'hwRrmLbSteerAuthRestrictThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.71', - 'hwRrmLbRssiDiffGap' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.72', - 'hwRrmSmartRoamAdvancedScan' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.73', - 'hwRrmSmartRoamAdvancedScanDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwRrmSmartRoamAdvancedScan', - 'hwRrmSmartRoamQuickKickoffBackOffTime' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.74', - 'hwRrmDynamicEdcaThresholdBE' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.75', - 'hwRrmCalibrate5gMaxTxPwr' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.76', - 'hwRrmCalibrate5gMinTxPwr' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.77', - 'hwRrmTpcRequestSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.78', - 'hwRrmTpcRequestSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwRrmTpcRequestSwitch', - 'hwRrmLinkMeasurementSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.79', - 'hwRrmLinkMeasurementSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwRrmLinkMeasurementSwitch', - 'hwRrmInterferenceImmuneSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.80', - 'hwRrmInterferenceImmuneSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwRrmInterferenceImmuneSwitch', - 'hwRrmBssColorSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.81', - 'hwRrmBssColorSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwRrmBssColorSwitch', - 'hwRrmSpatialReuseSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.18.1.82', - 'hwRrmSpatialReuseSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwRrmSpatialReuseSwitch', - 'hwAirScanProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.19', - 'hwAirScanProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.19.1', - 'hwAirScanProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.19.1.1', - 'hwAirScanPeriod' => '1.3.6.1.4.1.2011.6.139.11.1.19.1.2', - 'hwAirScanInterval' => '1.3.6.1.4.1.2011.6.139.11.1.19.1.3', - 'hwAirScanChannelSet' => '1.3.6.1.4.1.2011.6.139.11.1.19.1.4', - 'hwAirScanChannelSetDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAirScanChannelSet', - 'hwAirScanProfilRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.19.1.5', - 'hwAirScanVoiceAware' => '1.3.6.1.4.1.2011.6.139.11.1.19.1.6', - 'hwAirScanVoiceAwareDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAirScanVoiceAware', - 'hwAirScanVideoAware' => '1.3.6.1.4.1.2011.6.139.11.1.19.1.7', - 'hwAirScanVideoAwareDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAirScanVideoAware', - 'hwAirScanSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.19.1.8', - 'hwAirScanSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAirScanSwitch', - 'hwAirScanEnhancement' => '1.3.6.1.4.1.2011.6.139.11.1.19.1.9', - 'hwAirScanEnhancementDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAirScanEnhancement', - 'hwVapProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.20', - 'hwVapProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.20.1', - 'hwVapProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.1', - 'hwVapForwardMode' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.2', - 'hwVapForwardModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapForwardMode', - 'hwVapTunnelForwardProtocol' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.3', - 'hwVapServiceSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.4', - 'hwVapServiceSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapServiceSwitch', - 'hwVapAutoOffStartTime' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.5', - 'hwVapAutoOffEndTime' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.6', - 'hwVapTemporaryManagementSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.7', - 'hwVapTemporaryManagementSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapTemporaryManagementSwitch', - 'hwVapServiceVlan' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.8', - 'hwVapVlanPool' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.9', - 'hwVapType' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.10', - 'hwVapTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapType', - 'hwVapStaAccessMode' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.11', - 'hwVapStaAccessModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapStaAccessMode', - 'hwVapStaAccessModePorfile' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.12', - 'hwVapRoamHomeAgent' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.13', - 'hwVapRoamHomeAgentDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapRoamHomeAgent', - 'hwVapRoamVlanMobilityGroup' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.14', - 'hwVapRoamLayer3Switch' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.15', - 'hwVapRoamLayer3SwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapRoamLayer3Switch', - 'hwVapBandSteerSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.16', - 'hwVapBandSteerSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapBandSteerSwitch', - 'hwVapLearnIpv4Address' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.17', - 'hwVapLearnIpv4AddressDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapLearnIpv4Address', - 'hwVapLearnIpv6Address' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.18', - 'hwVapLearnIpv6AddressDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapLearnIpv6Address', - 'hwVapLearnIpv4AddressStrict' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.19', - 'hwVapLearnIpv4AddressStrictDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapLearnIpv4AddressStrict', - 'hwVapIpBindCheck' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.20', - 'hwVapIpBindCheckDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapIpBindCheck', - 'hwVapArpBindCheck' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.21', - 'hwVapArpBindCheckDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapArpBindCheck', - 'hwVapOptinon82InsertSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.22', - 'hwVapOptinon82InsertSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapOptinon82InsertSwitch', - 'hwVapOptinon82InsertRidFormat' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.23', - 'hwVapOptinon82InsertRidFormatDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapOptinon82InsertRidFormat', - 'hwVapDhcpTrustPort' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.24', - 'hwVapDhcpTrustPortDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapDhcpTrustPort', - 'hwVapNdTrustPort' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.25', - 'hwVapNdTrustPortDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapNdTrustPort', - 'hwVapSecurityProfile' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.26', - 'hwVapTrafficProfile' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.27', - 'hwVapSsidProfile' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.28', - 'hwVapAuthenticationProfile' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.29', - 'hwVapSacProfile' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.30', - 'hwVapProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.31', - 'hwVapUserProfile' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.32', - 'hwVapHotspot2Profile' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.33', - 'hwSoftgreProfile' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.34', - 'hwVapOptinon82RidUserDefined' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.35', - 'hwVapOptinon82RidMacFormat' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.36', - 'hwVapOptinon82RidMacFormatDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapOptinon82RidMacFormat', - 'hwVapOptinon82InsertCidFormat' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.37', - 'hwVapOptinon82InsertCidFormatDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapOptinon82InsertCidFormat', - 'hwVapOptinon82CidUserDefined' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.38', - 'hwVapOptinon82CidMacFormat' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.39', - 'hwVapOptinon82CidMacFormatDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapOptinon82CidMacFormat', - 'hwVapUccProfile' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.40', - 'hwVapAntiAttackBroadcastFloodSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.41', - 'hwVapAntiAttackBroadcastFloodSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapAntiAttackBroadcastFloodSwitch', - 'hwVapAntiAttackBroadcastFloodStaRateThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.42', - 'hwVapAntiAttackBroadcastFloodBlacklistSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.43', - 'hwVapAntiAttackBroadcastFloodBlacklistSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapAntiAttackBroadcastFloodBlacklistSwitch', - 'hwVapLearnIpv6AddressStrict' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.44', - 'hwVapLearnIpv6AddressStrictDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapLearnIpv6AddressStrict', - 'hwVapAntiAttackARPFloodSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.45', - 'hwVapAntiAttackARPFloodSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapAntiAttackARPFloodSwitch', - 'hwVapAntiAttackARPFloodStaRateThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.46', - 'hwVapAntiAttackARPFloodBlacklistSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.47', - 'hwVapAntiAttackARPFloodBlacklistSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapAntiAttackARPFloodBlacklistSwitch', - 'hwVapAntiAttackNDFloodSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.48', - 'hwVapAntiAttackNDFloodSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapAntiAttackNDFloodSwitch', - 'hwVapAntiAttackNDFloodStaRateThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.49', - 'hwVapAntiAttackNDFloodBlacklistSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.50', - 'hwVapAntiAttackNDFloodBlacklistSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapAntiAttackNDFloodBlacklistSwitch', - 'hwVapAntiAttackIGMPFloodSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.51', - 'hwVapAntiAttackIGMPFloodSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapAntiAttackIGMPFloodSwitch', - 'hwVapAntiAttackIGMPFloodStaRateThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.52', - 'hwVapAntiAttackIGMPFloodBlacklistSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.53', - 'hwVapAntiAttackIGMPFloodBlacklistSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapAntiAttackIGMPFloodBlacklistSwitch', - 'hwVapDefenceProfile' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.54', - 'hwVapTimeRange' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.55', - 'hwVapPermitVlanList' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.56', - 'hwVapSfnRoamSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.57', - 'hwVapSfnRoamSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapSfnRoamSwitch', - 'hwVapStaNetworkDetectSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.58', - 'hwVapStaNetworkDetectSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapStaNetworkDetectSwitch', - 'hwVapLearnIpv4AddressIpconflictuncheck' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.59', - 'hwVapLearnIpv4AddressIpconflictuncheckDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapLearnIpv4AddressIpconflictuncheck', - 'hwVapLearnIpv6AddressIpconflictuncheck' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.60', - 'hwVapLearnIpv6AddressIpconflictuncheckDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapLearnIpv6AddressIpconflictuncheck', - 'hwVapRadiusTemplate' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.61', - 'hwVapBackUpState' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.62', - 'hwVapBackUpStateDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapBackUpState', - 'hwVapBackUpMode' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.63', - 'hwVapBackUpModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapBackUpMode', - 'hwVapRadiusState' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.64', - 'hwVapRadiusStateDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapRadiusState', - 'hwVapKeepServiceSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.65', - 'hwVapKeepServiceSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapKeepServiceSwitch', - 'hwVapNaviACID' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.66', - 'hwVapNaviACWlanId' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.67', - 'hwVapHighwayEnable' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.68', - 'hwVapHighwayEnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapHighwayEnable', - 'hwVapServiceExpAnalysisSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.69', - 'hwVapServiceExpAnalysisSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapServiceExpAnalysisSwitch', - 'hwVapServiceExpAnalysisSnoopingPort' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.70', - 'hwVapAutonavigationRoamOptimizeSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.71', - 'hwVapAutonavigationRoamOptimizeSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapAutonavigationRoamOptimizeSwitch', - 'hwVapMdnsPolicyLocalACSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.72', - 'hwVapMdnsPolicyLocalACSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapMdnsPolicyLocalACSwitch', - 'hwVapProfileMdnsSnooping' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.73', - 'hwVapProfileMdnsSnoopingDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapProfileMdnsSnooping', - 'hwVapSplitTunnelAcl' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.74', - 'hwVapSplitTunnelAclIPv6' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.75', - 'hwVapApZoneName' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.76', - 'hwVapRadio' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.77', - 'hwVapProfileMuBaTriggerMode' => '1.3.6.1.4.1.2011.6.139.11.1.20.1.78', - 'hwVapProfileMuBaTriggerModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapProfileMuBaTriggerMode', - 'hwSsidProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.21', - 'hwSsidProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.21.1', - 'hwSsidProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.1', - 'hwSsidText' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.2', - 'hwSsidHide' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.3', - 'hwSsidHideDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSsidHide', - 'hwSsidAssocTimeout' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.4', - 'hwSsidMaxStaNum' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.5', - 'hwSsidLegacyStaSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.6', - 'hwSsidLegacyStaSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSsidLegacyStaSwitch', - 'hwSsidDtimInterval' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.7', - 'hwSsidClientEdcaVoiceECWmax' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.8', - 'hwSsidClientEdcaVoiceECWmin' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.9', - 'hwSsidClientEdcaVoiceAIFSN' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.10', - 'hwSsidClientEdcaVoiceTXOPLimit' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.11', - 'hwSsidClientEdcaVideoECWmax' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.12', - 'hwSsidClientEdcaVideoECWmin' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.13', - 'hwSsidClientEdcaVideoAIFSN' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.14', - 'hwSsidClientEdcaVideoTXOPLimit' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.15', - 'hwSsidClientEdcaBeECWmax' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.16', - 'hwSsidClientEdcaBeECWmin' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.17', - 'hwSsidClientEdcaBeAIFSN' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.18', - 'hwSsidClientEdcaBeTXOPLimit' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.19', - 'hwSsidClientEdcaBkECWmax' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.20', - 'hwSsidClientEdcaBkECWmin' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.21', - 'hwSsidClientEdcaBkAIFSN' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.22', - 'hwSsidClientEdcaBkTXOPLimit' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.23', - 'hwSsidInboundCarCir' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.24', - 'hwSsidInboundCarPir' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.25', - 'hwSsidInboundCarCbs' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.26', - 'hwSsidInboundCarPbs' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.27', - 'hwSsidOutboundCarCir' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.28', - 'hwSsidOutboundCarPir' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.29', - 'hwSsidOutboundCarCbs' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.30', - 'hwSsidOutboundCarPbs' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.31', - 'hwSsidProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.32', - 'hwSsidHideWhileReachMaxSta' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.33', - 'hwSsidHideWhileReachMaxStaDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSsidHideWhileReachMaxSta', - 'hwSsidBeacon2gRate' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.34', - 'hwSsidBeacon2gRateDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSsidBeacon2gRate', - 'hwSsidBeacon5gRate' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.35', - 'hwSsidBeacon5gRateDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSsidBeacon5gRate', - 'hwSsidDenyBroadcastProbe' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.36', - 'hwSsidDenyBroadcastProbeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSsidDenyBroadcastProbe', - 'hwSsidProbeResponseRetry' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.37', - 'hwSsidUapsd' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.38', - 'hwSsidUapsdDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSsidUapsd', - 'hwSsidActiveDullClient' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.39', - 'hwSsidActiveDullClientDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSsidActiveDullClient', - 'hwSsidMuMIMOSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.40', - 'hwSsidMuMIMOSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSsidMuMIMOSwitch', - 'hwSsidProfile80211rEnable' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.41', - 'hwSsidProfile80211rEnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSsidProfile80211rEnable', - 'hwSsidProfile80211rMode' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.42', - 'hwSsidProfile80211rModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSsidProfile80211rMode', - 'hwSsidProfile80211rReassociateTimeout' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.43', - 'hwSsidQbssLoadSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.44', - 'hwSsidQbssLoadSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSsidQbssLoadSwitch', - 'hwSsidSingleTxchainSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.45', - 'hwSsidSingleTxchainSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSsidSingleTxchainSwitch', - 'hwSsidMuMIMOOptimizeSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.46', - 'hwSsidMuMIMOOptimizeSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSsidMuMIMOOptimizeSwitch', - 'hwSsidAdvertiseApNameSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.47', - 'hwSsidAdvertiseApNameSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSsidAdvertiseApNameSwitch', - 'hwSsidServiceGuarantee' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.48', - 'hwSsidServiceGuaranteeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSsidServiceGuarantee', - 'hwSsidInterAcRoamSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.49', - 'hwSsidInterAcRoamSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSsidInterAcRoamSwitch', - 'hwSsidVhtTxNssCount' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.50', - 'hwSsidVhtRxNssCount' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.51', - 'hwSsidVhtTxMcsMap' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.52', - 'hwSsidVhtRxMcsMap' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.53', - 'hwSsidHETxNssCount' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.54', - 'hwSsidHERxNssCount' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.55', - 'hwSsidHETxMcsMap' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.56', - 'hwSsidHERxMcsMap' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.57', - 'hwSsidBeamformingSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.58', - 'hwSsidBeamformingSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSsidBeamformingSwitch', - 'hwSsidProfilePartialMumimoDownlinkSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.59', - 'hwSsidProfilePartialMumimoDownlinkSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSsidProfilePartialMumimoDownlinkSwitch', - 'hwSsidProfileOfdmaDownlinkSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.60', - 'hwSsidProfileOfdmaDownlinkSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSsidProfileOfdmaDownlinkSwitch', - 'hwSsidProfileOfdmaUplinkSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.61', - 'hwSsidProfileOfdmaUplinkSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSsidProfileOfdmaUplinkSwitch', - 'hwSsidTwtSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.62', - 'hwSsidTwtSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSsidTwtSwitch', - 'hwSsidProfile80211rPrivateSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.21.1.63', - 'hwSsidProfile80211rPrivateSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSsidProfile80211rPrivateSwitch', - 'hwSecurityProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.22', - 'hwSecurityProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.22.1', - 'hwSecurityProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.1', - 'hwSecurityPolicy' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.2', - 'hwSecurityPolicyDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSecurityPolicy', - 'hwSecurityWepEncrypt' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.3', - 'hwSecurityWepPskMode' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.4', - 'hwSecurityWepPsk1' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.5', - 'hwSecurityWepPsk2' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.6', - 'hwSecurityWepPsk3' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.7', - 'hwSecurityWepPsk4' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.8', - 'hwSecurityWepDefaultKeyId' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.9', - 'hwSecurityWpaEncrypt' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.10', - 'hwSecurityWpaEncryptDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSecurityWpaEncrypt', - 'hwSecurityWpaPskMode' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.11', - 'hwSecurityWpaPskModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSecurityWpaPskMode', - 'hwSecurityWpaPsk' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.12', - 'hwSecurityWpaPtkUpdateSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.13', - 'hwSecurityWpaPtkUpdateSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSecurityWpaPtkUpdateSwitch', - 'hwSecurityWpaPtkUpdateInterval' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.14', - 'hwSecurityWapiPskMode' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.15', - 'hwSecurityWapiPskModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSecurityWapiPskMode', - 'hwSecurityWapiPsk' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.16', - 'hwSecurityWapiAsuIpAddress' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.17', - 'hwSecurityWapiIssuerCertFileName' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.18', - 'hwSecurityWapiAsuCertFileName' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.19', - 'hwSecurityWapiAcCertFileName' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.20', - 'hwSecurityWapiAcPrvKeyFileName' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.21', - 'hwSecurityWapiIssuerPfxPassword' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.22', - 'hwSecurityWapiAsuPfxPassword' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.23', - 'hwSecurityWapiAcPfxPassword' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.24', - 'hwSecurityWapiAcPrvKeyPassword' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.25', - 'hwSecurityWapiCertRetransCount' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.26', - 'hwSecurityWapiBkThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.27', - 'hwSecurityWapiBkLifetime' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.28', - 'hwSecurityWapiUskUpdateMethod' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.29', - 'hwSecurityWapiUskUpdateMethodDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSecurityWapiUskUpdateMethod', - 'hwSecurityWapiMskUpdateMethod' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.30', - 'hwSecurityWapiMskUpdateMethodDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSecurityWapiMskUpdateMethod', - 'hwSecurityWapiUskUpdateInterval' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.31', - 'hwSecurityWapiUskUpdatePackets' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.32', - 'hwSecurityWapiUskRetansCount' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.33', - 'hwSecurityWapiMskUpdateInterval' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.34', - 'hwSecurityWapiMskUpdatePackets' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.35', - 'hwSecurityWapiMskRetansCount' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.36', - 'hwSecurityWapiSATimeout' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.37', - 'hwSecurityPMF' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.38', - 'hwSecurityProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.39', - 'hwSecurityWepDot1xMode' => '1.3.6.1.4.1.2011.6.139.11.1.22.1.40', - 'hwAPTrafficProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.23', - 'hwAPTrafficProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.23.1', - 'hwAPTrafficProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.1', - 'hwAPTrafficProfilePriorityMapDnTrustMode' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.2', - 'hwAPTrafficProfilePriorityMapDnTrustModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPTrafficProfilePriorityMapDnTrustMode', - 'hwAPTrafficProfilePriorityDscpDnMap80211e' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.3', - 'hwAPTrafficProfilePriority80211eUpMapDscp' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.4', - 'hwAPTrafficProfileUserIsolate' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.5', - 'hwAPTrafficProfileUserIsolateDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPTrafficProfileUserIsolate', - 'hwAPTrafficProfileRateLimitClientUp' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.6', - 'hwAPTrafficProfileRateLimitClientDn' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.7', - 'hwAPTrafficProfileRateLimitVapUp' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.8', - 'hwAPTrafficProfileRateLimitVapDn' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.9', - 'hwAPTrafficProfileMldSnooping' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.10', - 'hwAPTrafficProfileMldSnoopingDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPTrafficProfileMldSnooping', - 'hwAPTrafficProfileIGMPSnooping' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.11', - 'hwAPTrafficProfileIGMPSnoopingDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPTrafficProfileIGMPSnooping', - 'hwAPTrafficProfileIGMPSnoopingReportSuppress' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.12', - 'hwAPTrafficProfileIGMPSnoopingReportSuppressDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPTrafficProfileIGMPSnoopingReportSuppress', - 'hwAPTrafficProfileMcToUc' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.13', - 'hwAPTrafficProfileMcToUcDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPTrafficProfileMcToUc', - 'hwAPTrafficProfileOptimizeSuppressionBc' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.14', - 'hwAPTrafficProfileOptimizeSuppressionUc' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.15', - 'hwAPTrafficProfileOptimizeSuppressionMc' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.16', - 'hwAPTrafficProfileOptimizeTCPAdjustMSS' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.17', - 'hwAPTrafficProfileOptimizeProxyARP' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.18', - 'hwAPTrafficProfileOptimizeProxyARPDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPTrafficProfileOptimizeProxyARP', - 'hwAPTrafficProfileOptimizeProxyND' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.19', - 'hwAPTrafficProfileOptimizeProxyNDDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPTrafficProfileOptimizeProxyND', - 'hwAPTrafficProfileOptimizeUcSendARP' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.20', - 'hwAPTrafficProfileOptimizeUcSendARPDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPTrafficProfileOptimizeUcSendARP', - 'hwAPTrafficProfileOptimizeUcSendND' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.21', - 'hwAPTrafficProfileOptimizeUcSendNDDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPTrafficProfileOptimizeUcSendND', - 'hwAPTrafficProfileOptimizeUcSendDHCP' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.22', - 'hwAPTrafficProfileOptimizeUcSendDHCPDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPTrafficProfileOptimizeUcSendDHCP', - 'hwAPTrafficProfileOptimizeBcMcDenyAll' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.23', - 'hwAPTrafficProfileOptimizeBcMcDenyAllDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPTrafficProfileOptimizeBcMcDenyAll', - 'hwAPTrafficProfileOptimizeStaBridgeForward' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.24', - 'hwAPTrafficProfileOptimizeStaBridgeForwardDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPTrafficProfileOptimizeStaBridgeForward', - 'hwAPTrafficProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.25', - 'hwAPTrafficProfilePriorityMapUpTrustMode' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.26', - 'hwAPTrafficProfilePriorityMapUpTrustModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPTrafficProfilePriorityMapUpTrustMode', - 'hwAPTrafficProfilePriorityDscpUpMapDscp' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.27', - 'hwAPTrafficProfileOptimizeBcMcMismatchAct' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.28', - 'hwAPTrafficProfileOptimizeBcMcMismatchActDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPTrafficProfileOptimizeBcMcMismatchAct', - 'hwAPTrafficProfileMcToUcDynamicAdatptive' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.29', - 'hwAPTrafficProfileMcToUcDynamicAdatptiveDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPTrafficProfileMcToUcDynamicAdatptive', - 'hwAPTrafficProfileIGMPSnoopingMaxBandwidth' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.30', - 'hwAPTrafficProfileIGMPSnoopingMaxUser' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.31', - 'hwAPTrafficProfilePriorityDscpUpMap8021p' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.32', - 'hwAPTrafficProfilePriority80211eUpMap8021p' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.33', - 'hwAPTrafficProfilePriority8021pDnMap80211e' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.34', - 'hwAPTrafficProfilePriorityMapUpPayloadTrustMode' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.35', - 'hwAPTrafficProfilePriorityMapUpPayloadTrustModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPTrafficProfilePriorityMapUpPayloadTrustMode', - 'hwAPTrafficProfileSvpVoice' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.36', - 'hwAPTrafficProfileSvpVoiceDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPTrafficProfileSvpVoice', - 'hwAPTrafficProfileRateLimitClientDynamic' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.37', - 'hwAPTrafficProfileRateLimitClientDynamicDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPTrafficProfileRateLimitClientDynamic', - 'hwAPTrafficProfileRateLimitClientDynamicThr' => '1.3.6.1.4.1.2011.6.139.11.1.23.1.38', - 'hwAPTrafficProfileFilterTable' => '1.3.6.1.4.1.2011.6.139.11.1.24', - 'hwAPTrafficProfileFilterEntry' => '1.3.6.1.4.1.2011.6.139.11.1.24.1', - 'hwAPTrafficProfileFilterDirection' => '1.3.6.1.4.1.2011.6.139.11.1.24.1.1', - 'hwAPTrafficProfileFilterDirectionDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPTrafficProfileFilterDirection', - 'hwAPTrafficProfileFilterType' => '1.3.6.1.4.1.2011.6.139.11.1.24.1.2', - 'hwAPTrafficProfileFilterTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPTrafficProfileFilterType', - 'hwAPTrafficProfileFilterACLID' => '1.3.6.1.4.1.2011.6.139.11.1.24.1.3', - 'hwAPTrafficProfileFilterRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.24.1.4', - 'hwWlanVlanPoolTable' => '1.3.6.1.4.1.2011.6.139.11.1.25', - 'hwWlanVlanPoolEntry' => '1.3.6.1.4.1.2011.6.139.11.1.25.1', - 'hwVlanPoolName' => '1.3.6.1.4.1.2011.6.139.11.1.25.1.1', - 'hwVlanPoolVlanlist' => '1.3.6.1.4.1.2011.6.139.11.1.25.1.2', - 'hwVlanPoolAssignMethod' => '1.3.6.1.4.1.2011.6.139.11.1.25.1.3', - 'hwVlanPoolAssignMethodDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVlanPoolAssignMethod', - 'hwVlanPoolRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.25.1.4', - 'hwWlanStaWhitelistConfig' => '1.3.6.1.4.1.2011.6.139.11.1.26', - 'hwWlanStaWhitelistProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.26.1', - 'hwWlanStaWhitelistProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.26.1.1', - 'hwWlanStaWhitelistProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.26.1.1.1', - 'hwWlanStaWhitelistProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.26.1.1.2', - 'hwWlanStaWhitelistProfileConfigTable' => '1.3.6.1.4.1.2011.6.139.11.1.26.2', - 'hwWlanStaWhitelistProfileConfigEntry' => '1.3.6.1.4.1.2011.6.139.11.1.26.2.1', - 'hwWlanStaWhitelistStaMac' => '1.3.6.1.4.1.2011.6.139.11.1.26.2.1.1', - 'hwWlanStaWhitelistRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.26.2.1.2', - 'hwWlanStaWhitelistStaMacDescription' => '1.3.6.1.4.1.2011.6.139.11.1.26.2.1.3', - 'hwWlanStaWhitelistProfileOuiTable' => '1.3.6.1.4.1.2011.6.139.11.1.26.3', - 'hwWlanStaWhitelistProfileOuiEntry' => '1.3.6.1.4.1.2011.6.139.11.1.26.3.1', - 'hwWlanStaWhitelistOui' => '1.3.6.1.4.1.2011.6.139.11.1.26.3.1.1', - 'hwWlanStaWhitelistOuiRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.26.3.1.2', - 'hwWlanStaWhitelistOuiDescription' => '1.3.6.1.4.1.2011.6.139.11.1.26.3.1.3', - 'hwWlanStaBlacklistConfig' => '1.3.6.1.4.1.2011.6.139.11.1.27', - 'hwWlanStaBlacklistProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.27.1', - 'hwWlanStaBlacklistProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.27.1.1', - 'hwWlanStaBlacklistProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.27.1.1.1', - 'hwWlanStaBlacklistProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.27.1.1.2', - 'hwWlanStaBlacklistProfileConfigTable' => '1.3.6.1.4.1.2011.6.139.11.1.27.2', - 'hwWlanStaBlacklistProfileConfigEntry' => '1.3.6.1.4.1.2011.6.139.11.1.27.2.1', - 'hwWlanStaBlacklistStaMac' => '1.3.6.1.4.1.2011.6.139.11.1.27.2.1.1', - 'hwWlanStaBlacklistRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.27.2.1.2', - 'hwWlanStaBlacklistStaMacDescription' => '1.3.6.1.4.1.2011.6.139.11.1.27.2.1.3', - 'hwWidsProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.28', - 'hwWidsProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.28.1', - 'hwWidsProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.28.1.1', - 'hwWidsProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.28.1.5', - 'hwWidsDeviceReportInterval' => '1.3.6.1.4.1.2011.6.139.11.1.28.1.6', - 'hwWidsDeviceSyncInterval' => '1.3.6.1.4.1.2011.6.139.11.1.28.1.7', - 'hwWidsSpoofProfile' => '1.3.6.1.4.1.2011.6.139.11.1.28.1.8', - 'hwWidsWhitelistProfile' => '1.3.6.1.4.1.2011.6.139.11.1.28.1.9', - 'hwWidsBruteForceDetectInterval' => '1.3.6.1.4.1.2011.6.139.11.1.28.1.10', - 'hwWidsBruteForceDetectThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.28.1.11', - 'hwWidsBruteForceQuietTime' => '1.3.6.1.4.1.2011.6.139.11.1.28.1.12', - 'hwWidsFloodDetectInterval' => '1.3.6.1.4.1.2011.6.139.11.1.28.1.13', - 'hwWidsFloodDetectThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.28.1.14', - 'hwWidsFloodQuietTime' => '1.3.6.1.4.1.2011.6.139.11.1.28.1.15', - 'hwWidsWeakIvQuietTime' => '1.3.6.1.4.1.2011.6.139.11.1.28.1.16', - 'hwWidsSpoofQuietTime' => '1.3.6.1.4.1.2011.6.139.11.1.28.1.17', - 'hwWidsDynamicBlackListSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.28.1.18', - 'hwWidsDynamicBlackListSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWidsDynamicBlackListSwitch', - 'hwWidsRogueContainModeBmp' => '1.3.6.1.4.1.2011.6.139.11.1.28.1.19', - 'hwWidsStaWhitelistProfile' => '1.3.6.1.4.1.2011.6.139.11.1.28.1.20', - 'hwWidsContainMinRssi' => '1.3.6.1.4.1.2011.6.139.11.1.28.1.21', - 'hwWidsContainMinStaNum' => '1.3.6.1.4.1.2011.6.139.11.1.28.1.22', - 'hwWlanPPSKTable' => '1.3.6.1.4.1.2011.6.139.11.1.29', - 'hwWlanPPSKEntry' => '1.3.6.1.4.1.2011.6.139.11.1.29.1', - 'hwWlanPPSKUserName' => '1.3.6.1.4.1.2011.6.139.11.1.29.1.1', - 'hwWlanPPSKPskMode' => '1.3.6.1.4.1.2011.6.139.11.1.29.1.2', - 'hwWlanPPSKPskModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanPPSKPskMode', - 'hwWlanPPSKPskValue' => '1.3.6.1.4.1.2011.6.139.11.1.29.1.3', - 'hwWlanPPSKPskUserGroup' => '1.3.6.1.4.1.2011.6.139.11.1.29.1.4', - 'hwWlanPPSKExpireDate' => '1.3.6.1.4.1.2011.6.139.11.1.29.1.5', - 'hwWlanPPSKExpireHour' => '1.3.6.1.4.1.2011.6.139.11.1.29.1.6', - 'hwWlanPPSKSsid' => '1.3.6.1.4.1.2011.6.139.11.1.29.1.7', - 'hwWlanPPSKMaxDevice' => '1.3.6.1.4.1.2011.6.139.11.1.29.1.8', - 'hwWlanPPSKBranchGroup' => '1.3.6.1.4.1.2011.6.139.11.1.29.1.9', - 'hwWlanPPSKStaMac' => '1.3.6.1.4.1.2011.6.139.11.1.29.1.10', - 'hwWlanPPSKVlan' => '1.3.6.1.4.1.2011.6.139.11.1.29.1.11', - 'hwWlanPPSKRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.29.1.12', - 'hwWidsSpoofProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.32', - 'hwWidsSpoofProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.32.1', - 'hwWidsSpoofProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.32.1.1', - 'hwWidsSpoofSsidRegex' => '1.3.6.1.4.1.2011.6.139.11.1.32.1.2', - 'hwWidsSpoofProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.32.1.3', - 'hwWidsWhitelistProfileMacTable' => '1.3.6.1.4.1.2011.6.139.11.1.33', - 'hwWidsWhitelistProfileMacEntry' => '1.3.6.1.4.1.2011.6.139.11.1.33.1', - 'hwWidsWhitelistProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.33.1.1', - 'hwWidsWhitelistProfileMac' => '1.3.6.1.4.1.2011.6.139.11.1.33.1.2', - 'hwWidsWhitelistProfileMacRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.33.1.3', - 'hwWidsWhitelistProfileOuiTable' => '1.3.6.1.4.1.2011.6.139.11.1.34', - 'hwWidsWhitelistProfileOuiEntry' => '1.3.6.1.4.1.2011.6.139.11.1.34.1', - 'hwWidsWhitelistProfileOui' => '1.3.6.1.4.1.2011.6.139.11.1.34.1.1', - 'hwWidsWhitelistProfileOuiRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.34.1.2', - 'hwWidsWhitelistProfileSsidTable' => '1.3.6.1.4.1.2011.6.139.11.1.35', - 'hwWidsWhitelistProfileSsidEntry' => '1.3.6.1.4.1.2011.6.139.11.1.35.1', - 'hwWidsWhitelistProfileSsid' => '1.3.6.1.4.1.2011.6.139.11.1.35.1.1', - 'hwWidsWhitelistProfileSsidRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.35.1.2', - 'hwWlanMeshProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.36', - 'hwWlanMeshProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.36.1', - 'hwWlanMeshProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.1', - 'hwWlanMeshID' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.2', - 'hwWlanMeshDhcpTrustPort' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.3', - 'hwWlanMeshDhcpTrustPortDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanMeshDhcpTrustPort', - 'hwWlanMeshLinkReportInterval' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.4', - 'hwWlanMeshMaxLinkNum' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.5', - 'hwWlanMeshRssiThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.6', - 'hwWlanMeshSecurityProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.8', - 'hwWlanMeshProfileHandoverProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.9', - 'hwWlanMeshFwaSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.10', - 'hwWlanMeshFwaSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanMeshFwaSwitch', - 'hwWlanMeshFwaEdcaMode' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.11', - 'hwWlanMeshFwaEdcaModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanMeshFwaEdcaMode', - 'hwWlanMeshProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.12', - 'hwWlanMeshClientEdcaVoiceECWmax' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.13', - 'hwWlanMeshClientEdcaVoiceECWmin' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.14', - 'hwWlanMeshClientEdcaVoiceAIFSN' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.15', - 'hwWlanMeshClientEdcaVoiceTXOPLimit' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.16', - 'hwWlanMeshClientEdcaVideoECWmax' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.17', - 'hwWlanMeshClientEdcaVideoECWmin' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.18', - 'hwWlanMeshClientEdcaVideoAIFSN' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.19', - 'hwWlanMeshClientEdcaVideoTXOPLimit' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.20', - 'hwWlanMeshClientEdcaBeECWmax' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.21', - 'hwWlanMeshClientEdcaBeECWmin' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.22', - 'hwWlanMeshClientEdcaBeAIFSN' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.23', - 'hwWlanMeshClientEdcaBeTXOPLimit' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.24', - 'hwWlanMeshClientEdcaBkECWmax' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.25', - 'hwWlanMeshClientEdcaBkECWmin' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.26', - 'hwWlanMeshClientEdcaBkAIFSN' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.27', - 'hwWlanMeshClientEdcaBkTXOPLimit' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.28', - 'hwWlanMeshNdTrustPort' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.29', - 'hwWlanMeshNdTrustPortDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanMeshNdTrustPort', - 'hwWlanMeshLinkAgingTime' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.30', - 'hwWlanMeshProfilePriorityMapTrustMode' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.31', - 'hwWlanMeshProfilePriorityMapTrustModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanMeshProfilePriorityMapTrustMode', - 'hwWlanMeshProfilePriorityDscpMap80211e' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.32', - 'hwWlanMeshProfileClientModeSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.33', - 'hwWlanMeshProfileClientModeSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanMeshProfileClientModeSwitch', - 'hwWlanMeshProfileBeacon2gRate' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.34', - 'hwWlanMeshProfileBeacon2gRateDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanMeshProfileBeacon2gRate', - 'hwWlanMeshProfileBeacon5gRate' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.35', - 'hwWlanMeshProfileBeacon5gRateDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanMeshProfileBeacon5gRate', - 'hwWlanMeshProfileSwitchProbeInterval' => '1.3.6.1.4.1.2011.6.139.11.1.36.1.36', - 'hwWlanMeshWhitelistProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.37', - 'hwWlanMeshWhitelistProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.37.1', - 'hwWlanMeshWhitelistProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.37.1.1', - 'hwWlanMeshWhitelistProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.37.1.2', - 'hwWlanMeshWhitelistProfileConfigTable' => '1.3.6.1.4.1.2011.6.139.11.1.38', - 'hwWlanMeshWhitelistProfileConfigEntry' => '1.3.6.1.4.1.2011.6.139.11.1.38.1', - 'hwWlanMeshWhitelistPeerApMac' => '1.3.6.1.4.1.2011.6.139.11.1.38.1.1', - 'hwWlanMeshWhitelistRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.38.1.2', - 'hwWlanMeshHandoverProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.39', - 'hwWlanMeshHandoverProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.39.1', - 'hwWlanMeshHandoverProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.39.1.1', - 'hwWlanMeshHOLinkProbeInterval' => '1.3.6.1.4.1.2011.6.139.11.1.39.1.2', - 'hwWlanMeshHOMinRssiThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.39.1.3', - 'hwWlanMeshHOMaxRssiThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.39.1.4', - 'hwWlanMeshHOLinkHoldPeriod' => '1.3.6.1.4.1.2011.6.139.11.1.39.1.5', - 'hwWlanMeshHORssiMargin' => '1.3.6.1.4.1.2011.6.139.11.1.39.1.6', - 'hwWlanMeshHOLocationBasedAlgorithmEnable' => '1.3.6.1.4.1.2011.6.139.11.1.39.1.7', - 'hwWlanMeshHOLocationBasedAlgorithmEnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanMeshHOLocationBasedAlgorithmEnable', - 'hwWlanMeshHOMovingDirection' => '1.3.6.1.4.1.2011.6.139.11.1.39.1.8', - 'hwWlanMeshHOMovingDirectionDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanMeshHOMovingDirection', - 'hwWlanMeshHOPNCriteriaObserveTime' => '1.3.6.1.4.1.2011.6.139.11.1.39.1.9', - 'hwWlanMeshHOPNCriteriaQualifyTime' => '1.3.6.1.4.1.2011.6.139.11.1.39.1.10', - 'hwWlanMeshUrgentHandoverLowRateThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.39.1.11', - 'hwWlanMeshUrgentHandoverLowRatePeriod' => '1.3.6.1.4.1.2011.6.139.11.1.39.1.12', - 'hwWlanMeshUrgentHandoverPunishmentPeriod' => '1.3.6.1.4.1.2011.6.139.11.1.39.1.13', - 'hwWlanMeshUrgentHandoverPunishmentRssi' => '1.3.6.1.4.1.2011.6.139.11.1.39.1.14', - 'hwWlanMeshHandoverProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.39.1.15', - 'hwWdsProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.40', - 'hwWdsProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.40.1', - 'hwWdsProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.40.1.1', - 'hwWdsName' => '1.3.6.1.4.1.2011.6.139.11.1.40.1.2', - 'hwWdsMode' => '1.3.6.1.4.1.2011.6.139.11.1.40.1.3', - 'hwWdsModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWdsMode', - 'hwWdsDhcpTrustPort' => '1.3.6.1.4.1.2011.6.139.11.1.40.1.4', - 'hwWdsDhcpTrustPortDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWdsDhcpTrustPort', - 'hwWdsVlanTagged' => '1.3.6.1.4.1.2011.6.139.11.1.40.1.5', - 'hwWdsSecurityProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.40.1.6', - 'hwWdsProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.40.1.8', - 'hwWdsNdTrustPort' => '1.3.6.1.4.1.2011.6.139.11.1.40.1.9', - 'hwWdsNdTrustPortDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWdsNdTrustPort', - 'hwWdsProfilePriorityMapTrustMode' => '1.3.6.1.4.1.2011.6.139.11.1.40.1.10', - 'hwWdsProfilePriorityMapTrustModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWdsProfilePriorityMapTrustMode', - 'hwWdsProfilePriorityDscpMap80211e' => '1.3.6.1.4.1.2011.6.139.11.1.40.1.11', - 'hwWdsMuMIMOSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.40.1.12', - 'hwWdsMuMIMOSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWdsMuMIMOSwitch', - 'hwWdsProfileBeacon2gRate' => '1.3.6.1.4.1.2011.6.139.11.1.40.1.13', - 'hwWdsProfileBeacon2gRateDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWdsProfileBeacon2gRate', - 'hwWdsProfileBeacon5gRate' => '1.3.6.1.4.1.2011.6.139.11.1.40.1.14', - 'hwWdsProfileBeacon5gRateDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWdsProfileBeacon5gRate', - 'hwWdsWhitelistProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.41', - 'hwWdsWhitelistProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.41.1', - 'hwWdsWhitelistProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.41.1.1', - 'hwWdsWhitelistProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.41.1.2', - 'hwWdsWhitelistTable' => '1.3.6.1.4.1.2011.6.139.11.1.42', - 'hwWdsWhitelistEntry' => '1.3.6.1.4.1.2011.6.139.11.1.42.1', - 'hwWdsWhitelistPeerApMac' => '1.3.6.1.4.1.2011.6.139.11.1.42.1.1', - 'hwWdsWhitelistRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.42.1.2', - 'hwLocationProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.43', - 'hwLocationProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.43.1', - 'hwLocationProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.1', - 'hwLocationAeroscoutTagSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.2', - 'hwLocationAeroscoutTagSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwLocationAeroscoutTagSwitch', - 'hwLocationAeroscoutMuSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.3', - 'hwLocationAeroscoutMuSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwLocationAeroscoutMuSwitch', - 'hwLocationAeroscoutServerPort' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.4', - 'hwLocationAeroscoutViaACSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.5', - 'hwLocationAeroscoutViaACSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwLocationAeroscoutViaACSwitch', - 'hwLocationAeroscoutViaACPort' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.6', - 'hwLocationAeroscoutCompoundTime' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.7', - 'hwLocationEkahauTagEnable' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.8', - 'hwLocationEkahauTagEnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwLocationEkahauTagEnable', - 'hwLocationEkahauServerIPAddress' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.9', - 'hwLocationEkahauServerIPv6Address' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.10', - 'hwLocationEkahauServerPort' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.11', - 'hwLocationEkahauViaACEnable' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.12', - 'hwLocationEkahauViaACEnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwLocationEkahauViaACEnable', - 'hwLocationEkahauViaACPort' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.13', - 'hwLocationSourceIPAddress' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.14', - 'hwLocationSourceIPv6Address' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.15', - 'hwLocationPrivateMuEnable' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.16', - 'hwLocationPrivateMuEnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwLocationPrivateMuEnable', - 'hwLocationPrivateServerIPAddress' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.17', - 'hwLocationPrivateServerIPv6Address' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.18', - 'hwLocationPrivateServerPort' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.19', - 'hwLocationPrivateViaACEnable' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.20', - 'hwLocationPrivateViaACEnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwLocationPrivateViaACEnable', - 'hwLocationPrivateViaACPort' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.21', - 'hwLocationPrivateReportFrequency' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.22', - 'hwLocationProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.23', - 'hwLocationProfileAeroscoutShareKey' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.24', - 'hwLocationPaiboMuEnable' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.25', - 'hwLocationPaiboMuEnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwLocationPaiboMuEnable', - 'hwLocationPaiboReportFrequency' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.26', - 'hwLocationPaiboServerIPAddress' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.27', - 'hwLocationPaiboServerIPv6Address' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.28', - 'hwLocationPaiboServerPort' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.29', - 'hwLocationPaiboViaACPort' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.30', - 'hwLocationPaiboPSK' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.31', - 'hwLocationPaiboIV' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.32', - 'hwLocationPrivateMUVersion' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.33', - 'hwLocationPrivateServerAddressDomain' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.34', - 'hwLocationPrivateProtocol' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.35', - 'hwLocationPrivateProtocolDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwLocationPrivateProtocol', - 'hwLocationPrivateSSLPolicyName' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.36', - 'hwLocationSurFilterMuEnable' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.37', - 'hwLocationSurFilterMuEnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwLocationSurFilterMuEnable', - 'hwLocationSurFilterReportFrequency' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.38', - 'hwLocationSurFilterReportProtocol' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.39', - 'hwLocationSurFilterReportProtocolDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwLocationSurFilterReportProtocol', - 'hwLocationSurFilterServerIPAddress' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.40', - 'hwLocationSurFilterServerPort' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.41', - 'hwLocationSurFilterViaACPort' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.42', - 'hwLocationSurFilterUserName' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.43', - 'hwLocationSurFilterPassword' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.44', - 'hwLocationSurFilterDataSourceID' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.45', - 'hwLocationSurFilterCompress' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.46', - 'hwLocationSurFilterCompressDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwLocationSurFilterCompress', - 'hwLocationCollectLocationDataSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.47', - 'hwLocationCollectLocationDataSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwLocationCollectLocationDataSwitch', - 'hwLocationCollectLocationDataRSSIThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.43.1.48', - 'hwHotspot2ProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.45', - 'hwHotspot2ProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.45.1', - 'hwHotspot2ProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.45.1.1', - 'hwHotspot2NetworkType' => '1.3.6.1.4.1.2011.6.139.11.1.45.1.2', - 'hwHotspot2InternetAccess' => '1.3.6.1.4.1.2011.6.139.11.1.45.1.3', - 'hwHotspot2InternetAccessDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwHotspot2InternetAccess', - 'hwHotspot2VenueGroupCode' => '1.3.6.1.4.1.2011.6.139.11.1.45.1.4', - 'hwHotspot2VenueTypeCode' => '1.3.6.1.4.1.2011.6.139.11.1.45.1.5', - 'hwHotspot2Hessid' => '1.3.6.1.4.1.2011.6.139.11.1.45.1.6', - 'hwHotspot2IPv4AddressAvail' => '1.3.6.1.4.1.2011.6.139.11.1.45.1.7', - 'hwHotspot2IPv6AddressAvail' => '1.3.6.1.4.1.2011.6.139.11.1.45.1.8', - 'hwHotspot2NetworkAuthenType' => '1.3.6.1.4.1.2011.6.139.11.1.45.1.9', - 'hwHotspot2RedirectUrl' => '1.3.6.1.4.1.2011.6.139.11.1.45.1.10', - 'hwHotspot2CarryP2PCrossConnectInfo' => '1.3.6.1.4.1.2011.6.139.11.1.45.1.11', - 'hwHotspot2CarryP2PCrossConnectInfoDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwHotspot2CarryP2PCrossConnectInfo', - 'hwHotspot2CellularNetworkProfile' => '1.3.6.1.4.1.2011.6.139.11.1.45.1.12', - 'hwHotspot2ConnectionCapabilityProfile' => '1.3.6.1.4.1.2011.6.139.11.1.45.1.13', - 'hwHotspot2OperatorNameProfile' => '1.3.6.1.4.1.2011.6.139.11.1.45.1.14', - 'hwHotspot2OperatingClassProfile' => '1.3.6.1.4.1.2011.6.139.11.1.45.1.15', - 'hwHotspot2OperatorDomainProfile' => '1.3.6.1.4.1.2011.6.139.11.1.45.1.16', - 'hwHotspot2NaiRealmProfile' => '1.3.6.1.4.1.2011.6.139.11.1.45.1.17', - 'hwHotspot2VenueNameProfile' => '1.3.6.1.4.1.2011.6.139.11.1.45.1.18', - 'hwHotspot2RoamingConsortiumProfile' => '1.3.6.1.4.1.2011.6.139.11.1.45.1.19', - 'hwHotspot2ProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.45.1.20', - 'hwCellularNetworkProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.46', - 'hwCellularNetworkProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.46.1', - 'hwCellularNetworkProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.46.1.1', - 'hwCellularNetworkProfilePlmnIDList' => '1.3.6.1.4.1.2011.6.139.11.1.46.1.2', - 'hwCellularNetworkProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.46.1.3', - 'hwConnectionCapabilityProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.47', - 'hwConnectionCapabilityProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.47.1', - 'hwConnectionCapabilityProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.47.1.1', - 'hwConnectionCapabilityEsp' => '1.3.6.1.4.1.2011.6.139.11.1.47.1.2', - 'hwConnectionCapabilityEspDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwConnectionCapabilityEsp', - 'hwConnectionCapabilityIcmp' => '1.3.6.1.4.1.2011.6.139.11.1.47.1.3', - 'hwConnectionCapabilityIcmpDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwConnectionCapabilityIcmp', - 'hwConnectionCapabilityTcpFtp' => '1.3.6.1.4.1.2011.6.139.11.1.47.1.4', - 'hwConnectionCapabilityTcpFtpDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwConnectionCapabilityTcpFtp', - 'hwConnectionCapabilityTcpHttp' => '1.3.6.1.4.1.2011.6.139.11.1.47.1.5', - 'hwConnectionCapabilityTcpHttpDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwConnectionCapabilityTcpHttp', - 'hwConnectionCapabilityTcpPptpVpn' => '1.3.6.1.4.1.2011.6.139.11.1.47.1.6', - 'hwConnectionCapabilityTcpPptpVpnDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwConnectionCapabilityTcpPptpVpn', - 'hwConnectionCapabilityTcpSsh' => '1.3.6.1.4.1.2011.6.139.11.1.47.1.7', - 'hwConnectionCapabilityTcpSshDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwConnectionCapabilityTcpSsh', - 'hwConnectionCapabilityTcpTlsVpn' => '1.3.6.1.4.1.2011.6.139.11.1.47.1.8', - 'hwConnectionCapabilityTcpTlsVpnDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwConnectionCapabilityTcpTlsVpn', - 'hwConnectionCapabilityTcpVoip' => '1.3.6.1.4.1.2011.6.139.11.1.47.1.9', - 'hwConnectionCapabilityTcpVoipDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwConnectionCapabilityTcpVoip', - 'hwConnectionCapabilityUdpIke2Port4500' => '1.3.6.1.4.1.2011.6.139.11.1.47.1.10', - 'hwConnectionCapabilityUdpIke2Port4500Definition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwConnectionCapabilityUdpIke2Port4500', - 'hwConnectionCapabilityUdpIke2Port500' => '1.3.6.1.4.1.2011.6.139.11.1.47.1.11', - 'hwConnectionCapabilityUdpIke2Port500Definition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwConnectionCapabilityUdpIke2Port500', - 'hwConnectionCapabilityUdpVoip' => '1.3.6.1.4.1.2011.6.139.11.1.47.1.12', - 'hwConnectionCapabilityUdpVoipDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwConnectionCapabilityUdpVoip', - 'hwConnectionCapabilityProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.47.1.13', - 'hwOperatorNameProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.48', - 'hwOperatorNameProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.48.1', - 'hwOperatorNameProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.48.1.1', - 'hwOperatorNameLanguageCodeList' => '1.3.6.1.4.1.2011.6.139.11.1.48.1.2', - 'hwOperatorFriendlyNameList' => '1.3.6.1.4.1.2011.6.139.11.1.48.1.3', - 'hwOperatorNameProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.48.1.4', - 'hwOperatorClassProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.49', - 'hwOperatorClassProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.49.1', - 'hwOperatorClassProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.49.1.1', - 'hwOperatorClassIndicationList' => '1.3.6.1.4.1.2011.6.139.11.1.49.1.2', - 'hwOperatorClassProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.49.1.3', - 'hwOperatorDomainNameProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.50', - 'hwOperatorDomainNameProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.50.1', - 'hwOperatorDomainNameProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.50.1.1', - 'hwOperatorDomainNameList' => '1.3.6.1.4.1.2011.6.139.11.1.50.1.2', - 'hwOperatorDomainNameProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.50.1.3', - 'hwNAIRealmProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.51', - 'hwNAIRealmProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.51.1', - 'hwNAIRealmProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.51.1.1', - 'hwNAIRealmName' => '1.3.6.1.4.1.2011.6.139.11.1.51.1.2', - 'hwNAIRealmEapMethodType' => '1.3.6.1.4.1.2011.6.139.11.1.51.1.3', - 'hwNAIRealmEapAuthenID' => '1.3.6.1.4.1.2011.6.139.11.1.51.1.4', - 'hwNAIRealmEapAuthenPara' => '1.3.6.1.4.1.2011.6.139.11.1.51.1.5', - 'hwNAIRealmProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.51.1.6', - 'hwVenueNameProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.52', - 'hwVenueNameProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.52.1', - 'hwVenueNameProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.52.1.1', - 'hwVenueNameLanguageCodeList' => '1.3.6.1.4.1.2011.6.139.11.1.52.1.2', - 'hwVenueNameList' => '1.3.6.1.4.1.2011.6.139.11.1.52.1.3', - 'hwVenueNameProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.52.1.4', - 'hwRoamingConsortiumProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.53', - 'hwRoamingConsortiumProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.53.1', - 'hwRoamingConsortiumProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.53.1.1', - 'hwRoamingConsortiumOIList' => '1.3.6.1.4.1.2011.6.139.11.1.53.1.2', - 'hwRoamingConsortiumOIInBeaconList' => '1.3.6.1.4.1.2011.6.139.11.1.53.1.3', - 'hwRoamingConsortiumProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.53.1.4', - 'hwSACProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.54', - 'hwSACProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.54.1', - 'hwSACProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.54.1.1', - 'hwSACProfUserStat' => '1.3.6.1.4.1.2011.6.139.11.1.54.1.2', - 'hwSACProfUserStatDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSACProfUserStat', - 'hwSACProfVapStat' => '1.3.6.1.4.1.2011.6.139.11.1.54.1.3', - 'hwSACProfVapStatDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSACProfVapStat', - 'hwSACProfRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.54.1.4', - 'hwSACProfileActionTable' => '1.3.6.1.4.1.2011.6.139.11.1.55', - 'hwSACProfileActionEntry' => '1.3.6.1.4.1.2011.6.139.11.1.55.1', - 'hwSACProfileActionIndex' => '1.3.6.1.4.1.2011.6.139.11.1.55.1.1', - 'hwSACProfileActProtocolType' => '1.3.6.1.4.1.2011.6.139.11.1.55.1.2', - 'hwSACProfileActProtocolTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSACProfileActProtocolType', - 'hwSACProfileActProtocolName' => '1.3.6.1.4.1.2011.6.139.11.1.55.1.3', - 'hwSACProfileActProtocolGrpName' => '1.3.6.1.4.1.2011.6.139.11.1.55.1.4', - 'hwSACProfileActionType' => '1.3.6.1.4.1.2011.6.139.11.1.55.1.5', - 'hwSACProfileActionTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSACProfileActionType', - 'hwSACProfileActCarCir' => '1.3.6.1.4.1.2011.6.139.11.1.55.1.6', - 'hwSACProfileActRemarkDscpValue' => '1.3.6.1.4.1.2011.6.139.11.1.55.1.7', - 'hwSACProfileActRemark8021pValue' => '1.3.6.1.4.1.2011.6.139.11.1.55.1.8', - 'hwSACProfileActionRowstatus' => '1.3.6.1.4.1.2011.6.139.11.1.55.1.9', - 'hwWlanAPProvision' => '1.3.6.1.4.1.2011.6.139.11.1.56', - 'hwWlanAPProvisionAddressMode' => '1.3.6.1.4.1.2011.6.139.11.1.56.1', - 'hwWlanAPProvisionAddressModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanAPProvisionAddressMode', - 'hwWlanAPProvisionIPv4Address' => '1.3.6.1.4.1.2011.6.139.11.1.56.2', - 'hwWlanAPProvisionIPv4Mask' => '1.3.6.1.4.1.2011.6.139.11.1.56.3', - 'hwWlanAPProvisionIPv4Gateway' => '1.3.6.1.4.1.2011.6.139.11.1.56.4', - 'hwWlanAPProvisionIPv6Address' => '1.3.6.1.4.1.2011.6.139.11.1.56.5', - 'hwWlanAPProvisionIPv6PrefixLen' => '1.3.6.1.4.1.2011.6.139.11.1.56.6', - 'hwWlanAPProvisionIPv6Gateway' => '1.3.6.1.4.1.2011.6.139.11.1.56.7', - 'hwWlanAPProvisionGroupName' => '1.3.6.1.4.1.2011.6.139.11.1.56.8', - 'hwWlanAPProvisionName' => '1.3.6.1.4.1.2011.6.139.11.1.56.9', - 'hwWlanAPProvisionIPv4ACList' => '1.3.6.1.4.1.2011.6.139.11.1.56.10', - 'hwWlanAPProvisionIPv6ACList' => '1.3.6.1.4.1.2011.6.139.11.1.56.11', - 'hwWlanAPProvisionCommitAPName' => '1.3.6.1.4.1.2011.6.139.11.1.56.12', - 'hwWlanAPProvisionCommitAPMac' => '1.3.6.1.4.1.2011.6.139.11.1.56.13', - 'hwWlanAPProvisionCommitAPGroup' => '1.3.6.1.4.1.2011.6.139.11.1.56.14', - 'hwWlanAPProvisionAPMode' => '1.3.6.1.4.1.2011.6.139.11.1.56.15', - 'hwWlanAPProvisionAPModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanAPProvisionAPMode', - 'hwWlanAPProvisionCommitAPId' => '1.3.6.1.4.1.2011.6.139.11.1.56.16', - 'hwWlanAPProvisionCommitAll' => '1.3.6.1.4.1.2011.6.139.11.1.56.17', - 'hwWlanAPProvisionManagementVlan' => '1.3.6.1.4.1.2011.6.139.11.1.56.18', - 'hwWlanRadioCalibrateManagement' => '1.3.6.1.4.1.2011.6.139.11.1.57', - 'hwWlanRadioCalibrateMode' => '1.3.6.1.4.1.2011.6.139.11.1.57.1', - 'hwWlanRadioCalibrateModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanRadioCalibrateMode', - 'hwWlanRadioCalibrateScheduleTime' => '1.3.6.1.4.1.2011.6.139.11.1.57.2', - 'hwWlanRadioCalibrateManualStartup' => '1.3.6.1.4.1.2011.6.139.11.1.57.3', - 'hwWlanRadioCalibrateAutoInterval' => '1.3.6.1.4.1.2011.6.139.11.1.57.4', - 'hwWlanRadioCalibratePolicy' => '1.3.6.1.4.1.2011.6.139.11.1.57.5', - 'hwWlanRadioCalibrateSensitivity' => '1.3.6.1.4.1.2011.6.139.11.1.57.6', - 'hwWlanRadioCalibrateSensitivityDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanRadioCalibrateSensitivity', - 'hwWlanRadioCalibrateAutoStartTime' => '1.3.6.1.4.1.2011.6.139.11.1.57.7', - 'hwWlanRadioCalibrateManualApGroup' => '1.3.6.1.4.1.2011.6.139.11.1.57.8', - 'hwWlanRadioCalibrateManualApList' => '1.3.6.1.4.1.2011.6.139.11.1.57.9', - 'hwWlanRadioCalibrateManualProcess' => '1.3.6.1.4.1.2011.6.139.11.1.57.10', - 'hwWlanRadioCalibrateFlexibleRadio' => '1.3.6.1.4.1.2011.6.139.11.1.57.11', - 'hwWlanRadioCalibrateFlexibleRadioDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanRadioCalibrateFlexibleRadio', - 'hwWlanRadioCalibrateFlexRadioManualRecognize' => '1.3.6.1.4.1.2011.6.139.11.1.57.12', - 'hwWlanRadioCalibrateFlexRadioManualRecognizeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanRadioCalibrateFlexRadioManualRecognize', - 'hwWlanRadioCalibrateFlexibleRadioProcess' => '1.3.6.1.4.1.2011.6.139.11.1.57.13', - 'hwWlanRadioCalibrateFlexibleRadioProcessDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanRadioCalibrateFlexibleRadioProcess', - 'hwWlanRadioCalibrateFlexibleRadioRecognizeTime' => '1.3.6.1.4.1.2011.6.139.11.1.57.14', - 'hwWlanRadioCalibrateSensitivityCustomValue' => '1.3.6.1.4.1.2011.6.139.11.1.57.15', - 'hwWlanRadioCalibrateScheduleTimeRange' => '1.3.6.1.4.1.2011.6.139.11.1.57.16', - 'hwWlanRadioCalibrateReferenceDataAnalysis' => '1.3.6.1.4.1.2011.6.139.11.1.57.17', - 'hwWlanRadioCalibrateReferenceDataAnalysisDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanRadioCalibrateReferenceDataAnalysis', - 'hwWlanRadioCalibrateEnvironmentDeteriorateValue' => '1.3.6.1.4.1.2011.6.139.11.1.57.18', - 'hwWlanMobilityObjects' => '1.3.6.1.4.1.2011.6.139.11.1.58', - 'hwWlanMobilityManagement' => '1.3.6.1.4.1.2011.6.139.11.1.58.1', - 'hwWlanMasterControllerSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.58.1.1', - 'hwWlanMasterControllerSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanMasterControllerSwitch', - 'hwWlanConnectMasterControllerSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.58.1.2', - 'hwWlanConnectMasterControllerSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanConnectMasterControllerSwitch', - 'hwWlanConnectMasterControllerIPv4Addr' => '1.3.6.1.4.1.2011.6.139.11.1.58.1.3', - 'hwWlanConnectMasterControllerIPv6Addr' => '1.3.6.1.4.1.2011.6.139.11.1.58.1.4', - 'hwWlanMobilityServerIPv4' => '1.3.6.1.4.1.2011.6.139.11.1.58.1.5', - 'hwWlanMobilityServerIPv6' => '1.3.6.1.4.1.2011.6.139.11.1.58.1.6', - 'hwWlanMobilityServerState' => '1.3.6.1.4.1.2011.6.139.11.1.58.1.7', - 'hwWlanMobilityServerStateDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanMobilityServerState', - 'hwWlanMobilityServerSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.58.1.8', - 'hwWlanMobilityServerSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanMobilityServerSwitch', - 'hwWlanMobilityServerLocalIPv4' => '1.3.6.1.4.1.2011.6.139.11.1.58.1.9', - 'hwWlanMobilityAcTable' => '1.3.6.1.4.1.2011.6.139.11.1.58.2', - 'hwWlanMobilityAcEntry' => '1.3.6.1.4.1.2011.6.139.11.1.58.2.1', - 'hwWlanMemAcIndex' => '1.3.6.1.4.1.2011.6.139.11.1.58.2.1.1', - 'hwWlanAcIPv4Address' => '1.3.6.1.4.1.2011.6.139.11.1.58.2.1.2', - 'hwWlanAcIPv6Address' => '1.3.6.1.4.1.2011.6.139.11.1.58.2.1.3', - 'hwWlanAcState' => '1.3.6.1.4.1.2011.6.139.11.1.58.2.1.4', - 'hwWlanAcStateDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanAcState', - 'hwWlanAcRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.58.2.1.5', - 'hwWlanMobilityGroupTable' => '1.3.6.1.4.1.2011.6.139.11.1.58.3', - 'hwWlanMobilityGroupEntry' => '1.3.6.1.4.1.2011.6.139.11.1.58.3.1', - 'hwWlanMobilityGroupName' => '1.3.6.1.4.1.2011.6.139.11.1.58.3.1.1', - 'hwWlanMobilityGroupRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.58.3.1.2', - 'hwWlanMobilityGroupMemberTable' => '1.3.6.1.4.1.2011.6.139.11.1.58.4', - 'hwWlanMobilityGroupMemberEntry' => '1.3.6.1.4.1.2011.6.139.11.1.58.4.1', - 'hwWlanMobilityGroupMemberACIndex' => '1.3.6.1.4.1.2011.6.139.11.1.58.4.1.1', - 'hwWlanMobilityGroupMemberRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.58.4.1.2', - 'hwWlanMobilityMemberIPv4Table' => '1.3.6.1.4.1.2011.6.139.11.1.58.5', - 'hwWlanMobilityMemberIPv4Entry' => '1.3.6.1.4.1.2011.6.139.11.1.58.5.1', - 'hwWlanMobilityMemberIPv4Addr' => '1.3.6.1.4.1.2011.6.139.11.1.58.5.1.1', - 'hwWlanMobilityMemberIPv4Description' => '1.3.6.1.4.1.2011.6.139.11.1.58.5.1.2', - 'hwWlanMobilityMemberIPv4State' => '1.3.6.1.4.1.2011.6.139.11.1.58.5.1.3', - 'hwWlanMobilityMemberIPv4StateDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanMobilityMemberIPv4State', - 'hwWlanMobilityMemberIPv4RowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.58.5.1.4', - 'hwWlanMobilityMemberIPv6Table' => '1.3.6.1.4.1.2011.6.139.11.1.58.6', - 'hwWlanMobilityMemberIPv6Entry' => '1.3.6.1.4.1.2011.6.139.11.1.58.6.1', - 'hwWlanMobilityMemberIPv6Addr' => '1.3.6.1.4.1.2011.6.139.11.1.58.6.1.1', - 'hwWlanMobilityMemberIPv6Description' => '1.3.6.1.4.1.2011.6.139.11.1.58.6.1.2', - 'hwWlanMobilityMemberIPv6State' => '1.3.6.1.4.1.2011.6.139.11.1.58.6.1.3', - 'hwWlanMobilityMemberIPv6StateDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanMobilityMemberIPv6State', - 'hwWlanMobilityMemberIPv6RowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.58.6.1.4', - 'hwWlanMobilityClientIPv4Table' => '1.3.6.1.4.1.2011.6.139.11.1.58.7', - 'hwWlanMobilityClientIPv4Entry' => '1.3.6.1.4.1.2011.6.139.11.1.58.7.1', - 'hwWlanMobilityClientIPv4Addr' => '1.3.6.1.4.1.2011.6.139.11.1.58.7.1.1', - 'hwWlanMobilityClientIPv4State' => '1.3.6.1.4.1.2011.6.139.11.1.58.7.1.2', - 'hwWlanMobilityClientIPv4StateDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanMobilityClientIPv4State', - 'hwWlanMobilityClientIPv6Table' => '1.3.6.1.4.1.2011.6.139.11.1.58.8', - 'hwWlanMobilityClientIPv6Entry' => '1.3.6.1.4.1.2011.6.139.11.1.58.8.1', - 'hwWlanMobilityClientIPv6Addr' => '1.3.6.1.4.1.2011.6.139.11.1.58.8.1.1', - 'hwWlanMobilityClientIPv6State' => '1.3.6.1.4.1.2011.6.139.11.1.58.8.1.2', - 'hwWlanMobilityClientIPv6StateDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanMobilityClientIPv6State', - 'hwWlanLanguageCodeTable' => '1.3.6.1.4.1.2011.6.139.11.1.59', - 'hwWlanLanguageCodeEntry' => '1.3.6.1.4.1.2011.6.139.11.1.59.1', - 'hwWlanLanguageCode' => '1.3.6.1.4.1.2011.6.139.11.1.59.1.1', - 'hwWlanLanguageCodeDescription' => '1.3.6.1.4.1.2011.6.139.11.1.59.1.2', - 'hwFatApConfigObjects' => '1.3.6.1.4.1.2011.6.139.11.1.60', - 'hwFatApGlobalConfig' => '1.3.6.1.4.1.2011.6.139.11.1.60.1', - 'hwFatApCountryCode' => '1.3.6.1.4.1.2011.6.139.11.1.60.1.1', - 'hwFatApMaxStaNum' => '1.3.6.1.4.1.2011.6.139.11.1.60.1.2', - 'hwFatApStaAccessMode' => '1.3.6.1.4.1.2011.6.139.11.1.60.1.3', - 'hwFatApStaAccessModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwFatApStaAccessMode', - 'hwFatApStaAccessModePorfile' => '1.3.6.1.4.1.2011.6.139.11.1.60.1.4', - 'hwFatApHighTempThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.60.1.5', - 'hwFatApLowTempThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.60.1.6', - 'hwFatApDcaChannel5GBandwidth' => '1.3.6.1.4.1.2011.6.139.11.1.60.1.7', - 'hwFatApDcaChannel5GBandwidthDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwFatApDcaChannel5GBandwidth', - 'hwFatApDcaChannel5GChannelSet' => '1.3.6.1.4.1.2011.6.139.11.1.60.1.8', - 'hwFatApDcaChannel2GChannelSet' => '1.3.6.1.4.1.2011.6.139.11.1.60.1.9', - 'hwFatApDynamicBlackAgingTime' => '1.3.6.1.4.1.2011.6.139.11.1.60.1.10', - 'hwFatApAntennaOutputMode' => '1.3.6.1.4.1.2011.6.139.11.1.60.1.11', - 'hwFatApAntennaOutputModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwFatApAntennaOutputMode', - 'hwFatApChannelLoadMode' => '1.3.6.1.4.1.2011.6.139.11.1.60.1.12', - 'hwFatApChannelLoadModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwFatApChannelLoadMode', - 'hwFatApStaArpNDProxyBeforeAssoc' => '1.3.6.1.4.1.2011.6.139.11.1.60.1.13', - 'hwFatApStaArpNDProxyBeforeAssocDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwFatApStaArpNDProxyBeforeAssoc', - 'hwFatApRadioTable' => '1.3.6.1.4.1.2011.6.139.11.1.60.2', - 'hwFatApRadioEntry' => '1.3.6.1.4.1.2011.6.139.11.1.60.2.1', - 'hwFatApRadio' => '1.3.6.1.4.1.2011.6.139.11.1.60.2.1.1', - 'hwFatApRadio0Frequency' => '1.3.6.1.4.1.2011.6.139.11.1.60.2.1.2', - 'hwFatApRadio0FrequencyDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwFatApRadio0Frequency', - 'hwFatApRadio2gProfile' => '1.3.6.1.4.1.2011.6.139.11.1.60.2.1.3', - 'hwFatApRadio5gProfile' => '1.3.6.1.4.1.2011.6.139.11.1.60.2.1.4', - 'hwFatApRadioMeshProfile' => '1.3.6.1.4.1.2011.6.139.11.1.60.2.1.5', - 'hwFatApLocationProfile' => '1.3.6.1.4.1.2011.6.139.11.1.60.2.1.7', - 'hwFatApRadioRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.60.2.1.8', - 'hwFatApMeshWhitelistProfile' => '1.3.6.1.4.1.2011.6.139.11.1.60.2.1.9', - 'hwFatApWdsWhitelistProfile' => '1.3.6.1.4.1.2011.6.139.11.1.60.2.1.10', - 'hwFatApRadioSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.60.2.1.11', - 'hwFatApRadioSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwFatApRadioSwitch', - 'hwFatApRadioChannel' => '1.3.6.1.4.1.2011.6.139.11.1.60.2.1.12', - 'hwFatApRadioBandwidth' => '1.3.6.1.4.1.2011.6.139.11.1.60.2.1.13', - 'hwFatApRadioBandwidthDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwFatApRadioBandwidth', - 'hwFatApRadioEirp' => '1.3.6.1.4.1.2011.6.139.11.1.60.2.1.14', - 'hwFatApRadioAntennaGain' => '1.3.6.1.4.1.2011.6.139.11.1.60.2.1.15', - 'hwFatApRadioCoverageDistance' => '1.3.6.1.4.1.2011.6.139.11.1.60.2.1.16', - 'hwFatApRadioWorkMode' => '1.3.6.1.4.1.2011.6.139.11.1.60.2.1.17', - 'hwFatApRadioWorkModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwFatApRadioWorkMode', - 'hwFatApWidsDeviceDetectSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.60.2.1.18', - 'hwFatApWidsDeviceDetectSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwFatApWidsDeviceDetectSwitch', - 'hwFatApWidsAttackDetectEnBmp' => '1.3.6.1.4.1.2011.6.139.11.1.60.2.1.19', - 'hwFatApWidsRogueContainSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.60.2.1.20', - 'hwFatApWidsRogueContainSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwFatApWidsRogueContainSwitch', - 'hwFatApRadioSecondChannel' => '1.3.6.1.4.1.2011.6.139.11.1.60.2.1.21', - 'hwFatApAutoChannelSelectSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.60.2.1.22', - 'hwFatApAutoChannelSelectSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwFatApAutoChannelSelectSwitch', - 'hwFatApAutoTxPowerSelectSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.60.2.1.23', - 'hwFatApAutoTxPowerSelectSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwFatApAutoTxPowerSelectSwitch', - 'hwFatApCalibrateFlexibleRadioSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.60.2.1.24', - 'hwFatApCalibrateFlexibleRadioSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwFatApCalibrateFlexibleRadioSwitch', - 'hwFatApAutoBandwidthSelectSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.60.2.1.25', - 'hwFatApAutoBandwidthSelectSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwFatApAutoBandwidthSelectSwitch', - 'hwFatApReferenceDataAnalysis' => '1.3.6.1.4.1.2011.6.139.11.1.60.2.1.26', - 'hwFatApReferenceDataAnalysisDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwFatApReferenceDataAnalysis', - 'hwFatApVapTable' => '1.3.6.1.4.1.2011.6.139.11.1.60.3', - 'hwFatApVapEntry' => '1.3.6.1.4.1.2011.6.139.11.1.60.3.1', - 'hwFatApWlanId' => '1.3.6.1.4.1.2011.6.139.11.1.60.3.1.1', - 'hwFatApRadioId' => '1.3.6.1.4.1.2011.6.139.11.1.60.3.1.2', - 'hwFatApVapProfile' => '1.3.6.1.4.1.2011.6.139.11.1.60.3.1.3', - 'hwFatApVapProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.60.3.1.4', - 'hwFatApRadioServiceIdxTable' => '1.3.6.1.4.1.2011.6.139.11.1.60.4', - 'hwFatApRadioServiceIdxEntry' => '1.3.6.1.4.1.2011.6.139.11.1.60.4.1', - 'hwFatApRadioServiceIdx' => '1.3.6.1.4.1.2011.6.139.11.1.60.4.1.1', - 'hwFatApRadioServiceIdxMeshProf' => '1.3.6.1.4.1.2011.6.139.11.1.60.4.1.2', - 'hwFatApRadioIdxMeshWlistProfile' => '1.3.6.1.4.1.2011.6.139.11.1.60.4.1.3', - 'hwFatApRadioServiceIdxChannel' => '1.3.6.1.4.1.2011.6.139.11.1.60.4.1.4', - 'hwFatApRadioServiceIdxBandwidth' => '1.3.6.1.4.1.2011.6.139.11.1.60.4.1.5', - 'hwFatApRadioServiceIdxBandwidthDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwFatApRadioServiceIdxBandwidth', - 'hwFatApRadioIdxSecondChannel' => '1.3.6.1.4.1.2011.6.139.11.1.60.4.1.6', - 'hwFatApRadioServiceIdxRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.60.4.1.7', - 'hwNAIRealmProfileListTable' => '1.3.6.1.4.1.2011.6.139.11.1.61', - 'hwNAIRealmProfileListEntry' => '1.3.6.1.4.1.2011.6.139.11.1.61.1', - 'hwNAIRealmProfileListProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.61.1.1', - 'hwNAIRealmProfileListRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.61.1.2', - 'hwWidsSpoofProfileListTable' => '1.3.6.1.4.1.2011.6.139.11.1.62', - 'hwWidsSpoofProfileListEntry' => '1.3.6.1.4.1.2011.6.139.11.1.62.1', - 'hwWidsSpoofProfileListProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.62.1.1', - 'hwWidsSpoofProfileListRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.62.1.2', - 'hwWidsWhitelistProfileListTable' => '1.3.6.1.4.1.2011.6.139.11.1.63', - 'hwWidsWhitelistProfileListEntry' => '1.3.6.1.4.1.2011.6.139.11.1.63.1', - 'hwWidsWhitelistProfileListProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.63.1.1', - 'hwWidsWhitelistProfileListRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.63.1.2', - 'hwWlanLoadBalanceStaticGroupTable' => '1.3.6.1.4.1.2011.6.139.11.1.64', - 'hwWlanLoadBalanceStaticGroupEntry' => '1.3.6.1.4.1.2011.6.139.11.1.64.1', - 'hwWlanLBGroupName' => '1.3.6.1.4.1.2011.6.139.11.1.64.1.1', - 'hwWlanLBGapThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.64.1.2', - 'hwWlanLBDenyThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.64.1.3', - 'hwWlanLBStartThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.64.1.4', - 'hwWlanLBGroupStatus' => '1.3.6.1.4.1.2011.6.139.11.1.64.1.5', - 'hwWlanLBGroupRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.64.1.6', - 'hwWlanLBMode' => '1.3.6.1.4.1.2011.6.139.11.1.64.1.7', - 'hwWlanLBModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanLBMode', - 'hwWlanLBChUtilGapThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.64.1.8', - 'hwWlanLBChUtilStartThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.64.1.9', - 'hwWlanLBGapStaNumThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.64.1.10', - 'hwWlanLBDeauthFailTime' => '1.3.6.1.4.1.2011.6.139.11.1.64.1.11', - 'hwWlanLBBtmFailTime' => '1.3.6.1.4.1.2011.6.139.11.1.64.1.12', - 'hwWlanLBSteerRestrictTime' => '1.3.6.1.4.1.2011.6.139.11.1.64.1.13', - 'hwWlanLBSteerProbeRestrictThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.64.1.14', - 'hwWlanLBSteerAuthRestrictThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.64.1.15', - 'hwWlanLBRssiThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.64.1.16', - 'hwWlanLBRssiDiffGap' => '1.3.6.1.4.1.2011.6.139.11.1.64.1.17', - 'hwWlanLoadBalanceStaticGroupMemberTable' => '1.3.6.1.4.1.2011.6.139.11.1.65', - 'hwWlanLoadBalanceStaticGroupMemberEntry' => '1.3.6.1.4.1.2011.6.139.11.1.65.1', - 'hwWlanLBMemberRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.65.1.1', - 'hwWlanCountryCodeTable' => '1.3.6.1.4.1.2011.6.139.11.1.66', - 'hwWlanCountryCodeEntry' => '1.3.6.1.4.1.2011.6.139.11.1.66.1', - 'hwWlanCountryCode' => '1.3.6.1.4.1.2011.6.139.11.1.66.1.1', - 'hwWlanCountryCodeEngDescription' => '1.3.6.1.4.1.2011.6.139.11.1.66.1.2', - 'hwWlanCountryCodeAvailableChannelSet2gBW20' => '1.3.6.1.4.1.2011.6.139.11.1.66.1.3', - 'hwWlanCountryCodeAvailableChannelSet2gBW40Plus' => '1.3.6.1.4.1.2011.6.139.11.1.66.1.4', - 'hwWlanCountryCodeAvailableChannelSet2gBW40Minus' => '1.3.6.1.4.1.2011.6.139.11.1.66.1.5', - 'hwWlanCountryCodeAvailableChannelSet5gBW20' => '1.3.6.1.4.1.2011.6.139.11.1.66.1.6', - 'hwWlanCountryCodeAvailableChannelSet5gBW40Plus' => '1.3.6.1.4.1.2011.6.139.11.1.66.1.7', - 'hwWlanCountryCodeAvailableChannelSet5gBW40Minus' => '1.3.6.1.4.1.2011.6.139.11.1.66.1.8', - 'hwWlanCountryCodeAvailableChannelSet5gBW80' => '1.3.6.1.4.1.2011.6.139.11.1.66.1.9', - 'hwWlanCountryCodeAvailableChannelSet5gBW160' => '1.3.6.1.4.1.2011.6.139.11.1.66.1.10', - 'hwUCCProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.67', - 'hwUCCProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.67.1', - 'hwUCCProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.67.1.1', - 'hwUCCProfLyncVoice8021p' => '1.3.6.1.4.1.2011.6.139.11.1.67.1.2', - 'hwUCCProfLyncVoice8021pDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwUCCProfLyncVoice8021p', - 'hwUCCProfLyncVoice8021pValue' => '1.3.6.1.4.1.2011.6.139.11.1.67.1.3', - 'hwUCCProfLyncVoiceDscp' => '1.3.6.1.4.1.2011.6.139.11.1.67.1.4', - 'hwUCCProfLyncVoiceDscpDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwUCCProfLyncVoiceDscp', - 'hwUCCProfLyncVoiceDscpValue' => '1.3.6.1.4.1.2011.6.139.11.1.67.1.5', - 'hwUCCProfLyncVideo8021p' => '1.3.6.1.4.1.2011.6.139.11.1.67.1.6', - 'hwUCCProfLyncVideo8021pDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwUCCProfLyncVideo8021p', - 'hwUCCProfLyncVideo8021pValue' => '1.3.6.1.4.1.2011.6.139.11.1.67.1.7', - 'hwUCCProfLyncVideoDscp' => '1.3.6.1.4.1.2011.6.139.11.1.67.1.8', - 'hwUCCProfLyncVideoDscpDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwUCCProfLyncVideoDscp', - 'hwUCCProfLyncVideoDscpValue' => '1.3.6.1.4.1.2011.6.139.11.1.67.1.9', - 'hwUCCProfLyncShare8021p' => '1.3.6.1.4.1.2011.6.139.11.1.67.1.10', - 'hwUCCProfLyncShare8021pDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwUCCProfLyncShare8021p', - 'hwUCCProfLyncShare8021pValue' => '1.3.6.1.4.1.2011.6.139.11.1.67.1.11', - 'hwUCCProfLyncShareDscp' => '1.3.6.1.4.1.2011.6.139.11.1.67.1.12', - 'hwUCCProfLyncShareDscpDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwUCCProfLyncShareDscp', - 'hwUCCProfLyncShareDscpValue' => '1.3.6.1.4.1.2011.6.139.11.1.67.1.13', - 'hwUCCProfLyncFileTransfer8021p' => '1.3.6.1.4.1.2011.6.139.11.1.67.1.14', - 'hwUCCProfLyncFileTransfer8021pDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwUCCProfLyncFileTransfer8021p', - 'hwUCCProfLyncFileTransfer8021pValue' => '1.3.6.1.4.1.2011.6.139.11.1.67.1.15', - 'hwUCCProfLyncFileTransferDscp' => '1.3.6.1.4.1.2011.6.139.11.1.67.1.16', - 'hwUCCProfLyncFileTransferDscpDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwUCCProfLyncFileTransferDscp', - 'hwUCCProfLyncFileTransferDscpValue' => '1.3.6.1.4.1.2011.6.139.11.1.67.1.17', - 'hwUCCProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.67.1.18', - 'hwSoftgreProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.68', - 'hwSoftgreProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.68.1', - 'hwSoftgreProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.68.1.1', - 'hwSoftgreDestinationIPAddress' => '1.3.6.1.4.1.2011.6.139.11.1.68.1.2', - 'hwSoftgreDestinationIPv6Address' => '1.3.6.1.4.1.2011.6.139.11.1.68.1.3', - 'hwSoftgreKeepaliveFlag' => '1.3.6.1.4.1.2011.6.139.11.1.68.1.4', - 'hwSoftgreKeepaliveFlagDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwSoftgreKeepaliveFlag', - 'hwSoftgreKeepalivePeriod' => '1.3.6.1.4.1.2011.6.139.11.1.68.1.5', - 'hwSoftgreKeepaliveRetryTimes' => '1.3.6.1.4.1.2011.6.139.11.1.68.1.6', - 'hwSoftgreProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.68.1.7', - 'hwSoftgreUntaggedVlanId' => '1.3.6.1.4.1.2011.6.139.11.1.68.1.8', - 'hwWlanIDIndexedAPSpecificTable' => '1.3.6.1.4.1.2011.6.139.11.1.69', - 'hwWlanIDIndexedAPSpecificEntry' => '1.3.6.1.4.1.2011.6.139.11.1.69.1', - 'hwWlanIDIndexedAPSpApId' => '1.3.6.1.4.1.2011.6.139.11.1.69.1.1', - 'hwWlanIDIndexedAPSpAPSystemProfile' => '1.3.6.1.4.1.2011.6.139.11.1.69.1.2', - 'hwWlanIDIndexedAPSpDomainProfile' => '1.3.6.1.4.1.2011.6.139.11.1.69.1.3', - 'hwWlanIDIndexedAPSpApMac' => '1.3.6.1.4.1.2011.6.139.11.1.69.1.4', - 'hwWlanIDIndexedAPSpApTypeInfo' => '1.3.6.1.4.1.2011.6.139.11.1.69.1.5', - 'hwWlanIDIndexedAPSpWidsProfile' => '1.3.6.1.4.1.2011.6.139.11.1.69.1.6', - 'hwWlanIDIndexedAPSpRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.69.1.7', - 'hwWlanIDIndexedAPSpBleProfile' => '1.3.6.1.4.1.2011.6.139.11.1.69.1.8', - 'hwWlanIDIndexedAPSpLongitude' => '1.3.6.1.4.1.2011.6.139.11.1.69.1.9', - 'hwWlanIDIndexedAPSpLatitude' => '1.3.6.1.4.1.2011.6.139.11.1.69.1.10', - 'hwWlanIDIndexedSpApAddressMode' => '1.3.6.1.4.1.2011.6.139.11.1.69.1.11', - 'hwWlanIDIndexedSpApAddressModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanIDIndexedSpApAddressMode', - 'hwWlanIDIndexedSpApIPv4Address' => '1.3.6.1.4.1.2011.6.139.11.1.69.1.12', - 'hwWlanIDIndexedSpApIPv4Mask' => '1.3.6.1.4.1.2011.6.139.11.1.69.1.13', - 'hwWlanIDIndexedSpApIPv4Gateway' => '1.3.6.1.4.1.2011.6.139.11.1.69.1.14', - 'hwWlanIDIndexedSpApIPv6Address' => '1.3.6.1.4.1.2011.6.139.11.1.69.1.15', - 'hwWlanIDIndexedSpApIPv6PrefixLen' => '1.3.6.1.4.1.2011.6.139.11.1.69.1.16', - 'hwWlanIDIndexedSpApIPv6Gateway' => '1.3.6.1.4.1.2011.6.139.11.1.69.1.17', - 'hwWlanIDIndexedSpIPv4ACList' => '1.3.6.1.4.1.2011.6.139.11.1.69.1.18', - 'hwWlanIDIndexedSpIPv6ACList' => '1.3.6.1.4.1.2011.6.139.11.1.69.1.19', - 'hwWlanIDIndexedSpGroupName' => '1.3.6.1.4.1.2011.6.139.11.1.69.1.20', - 'hwWlanIDIndexedSpApName' => '1.3.6.1.4.1.2011.6.139.11.1.69.1.21', - 'hwWlanIDIndexedAPSpLocation' => '1.3.6.1.4.1.2011.6.139.11.1.69.1.22', - 'hwWlanIDIndexedAPSpSiteCode' => '1.3.6.1.4.1.2011.6.139.11.1.69.1.23', - 'hwWlanIDIndexedAPSpDomainName' => '1.3.6.1.4.1.2011.6.139.11.1.69.1.24', - 'hwWlanIDIndexedSpBranchGroupName' => '1.3.6.1.4.1.2011.6.139.11.1.69.1.25', - 'hwWlanIDIndexedSpManagementVlan' => '1.3.6.1.4.1.2011.6.139.11.1.69.1.26', - 'hwIDIndexedAPSpecificWiredPortTable' => '1.3.6.1.4.1.2011.6.139.11.1.70', - 'hwIDIndexedAPSpecificWiredPortEntry' => '1.3.6.1.4.1.2011.6.139.11.1.70.1', - 'hwIDIndexedAPSpWPInterfaceType' => '1.3.6.1.4.1.2011.6.139.11.1.70.1.1', - 'hwIDIndexedAPSpWPInterfaceTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwIDIndexedAPSpWPInterfaceType', - 'hwIDIndexedAPSpWPInterfaceNum' => '1.3.6.1.4.1.2011.6.139.11.1.70.1.2', - 'hwIDIndexedAPSpWPProfile' => '1.3.6.1.4.1.2011.6.139.11.1.70.1.3', - 'hwIDIndexedAPSpWPRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.70.1.4', - 'hwIDIndexedAPSpecificRadioTable' => '1.3.6.1.4.1.2011.6.139.11.1.71', - 'hwIDIndexedAPSpecificRadioEntry' => '1.3.6.1.4.1.2011.6.139.11.1.71.1', - 'hwIDIndexedAPSpRadio' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.1', - 'hwIDIndexedAPSp5gRadioProfile' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.2', - 'hwIDIndexedAPSpMeshProfile' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.3', - 'hwIDIndexedAPSpWdsProfile' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.4', - 'hwIDIndexedAPSpLocationProfile' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.5', - 'hwIDIndexedAPSpRadio2gProfile' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.6', - 'hwIDIndexedAPSpMeshWhitelistProfile' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.7', - 'hwIDIndexedAPSpWdsWhitelistProfile' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.8', - 'hwIDIndexedAPSpRadioSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.9', - 'hwIDIndexedAPSpRadioSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwIDIndexedAPSpRadioSwitch', - 'hwIDIndexedAPSpRadioChannel' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.10', - 'hwIDIndexedAPSpRadioBandwidth' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.11', - 'hwIDIndexedAPSpRadioBandwidthDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwIDIndexedAPSpRadioBandwidth', - 'hwIDIndexedAPSpRadioEirp' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.12', - 'hwIDIndexedAPSpRadioAntennaGain' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.13', - 'hwIDIndexedAPSpRadioCoverageDistance' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.14', - 'hwIDIndexedAPSpRadioWorkMode' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.15', - 'hwIDIndexedAPSpRadioWorkModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwIDIndexedAPSpRadioWorkMode', - 'hwIDIndexedAPSpRadioFrequency' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.16', - 'hwIDIndexedAPSpRadioFrequencyDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwIDIndexedAPSpRadioFrequency', - 'hwIDIndexedAPSpSpectrumAnalysisSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.17', - 'hwIDIndexedAPSpSpectrumAnalysisSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwIDIndexedAPSpSpectrumAnalysisSwitch', - 'hwIDIndexedAPSpWidsDeviceDetectSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.18', - 'hwIDIndexedAPSpWidsDeviceDetectSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwIDIndexedAPSpWidsDeviceDetectSwitch', - 'hwIDIndexedAPSpWidsAttackDetectEnBmp' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.19', - 'hwIDIndexedAPSpWidsRogueContainSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.20', - 'hwIDIndexedAPSpWidsRogueContainSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwIDIndexedAPSpWidsRogueContainSwitch', - 'hwIDIndexedAPSpRadioRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.21', - 'hwIDIndexedAPSpRadioSecondChannel' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.22', - 'hwIDIndexedAPSpAutoChannelSelectSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.23', - 'hwIDIndexedAPSpAutoChannelSelectSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwIDIndexedAPSpAutoChannelSelectSwitch', - 'hwIDIndexedAPSpAutoTxPowerSelectSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.24', - 'hwIDIndexedAPSpAutoTxPowerSelectSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwIDIndexedAPSpAutoTxPowerSelectSwitch', - 'hwIDIndexedAPSpSfnRoamCtsSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.25', - 'hwIDIndexedAPSpSfnRoamCtsSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwIDIndexedAPSpSfnRoamCtsSwitch', - 'hwIDIndexedAPSpSfnRoamBeaconSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.26', - 'hwIDIndexedAPSpSfnRoamBeaconSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwIDIndexedAPSpSfnRoamBeaconSwitch', - 'hwIDIndexedAPSpSfnRoamCtsDelay' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.27', - 'hwIDIndexedAPSpRadioCalibrateFlexibleRadio' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.28', - 'hwIDIndexedAPSpRadioCalibrateFlexibleRadioDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwIDIndexedAPSpRadioCalibrateFlexibleRadio', - 'hwIDIndexedAPSpAutoBandwidthSelectSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.29', - 'hwIDIndexedAPSpAutoBandwidthSelectSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwIDIndexedAPSpAutoBandwidthSelectSwitch', - 'hwIDIndexedAPSpReferenceDataAnalysis' => '1.3.6.1.4.1.2011.6.139.11.1.71.1.30', - 'hwIDIndexedAPSpReferenceDataAnalysisDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwIDIndexedAPSpReferenceDataAnalysis', - 'hwIDIndexedAPSpecificVapTable' => '1.3.6.1.4.1.2011.6.139.11.1.72', - 'hwIDIndexedAPSpecificVapEntry' => '1.3.6.1.4.1.2011.6.139.11.1.72.1', - 'hwIDIndexedAPSpWlan' => '1.3.6.1.4.1.2011.6.139.11.1.72.1.1', - 'hwIDIndexedAPSpVapProfile' => '1.3.6.1.4.1.2011.6.139.11.1.72.1.2', - 'hwIDIndexedAPSpVapRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.72.1.3', - 'hwIDIndexedAPSpVapServiceVlan' => '1.3.6.1.4.1.2011.6.139.11.1.72.1.4', - 'hwIDIndexedAPSpVapVlanPool' => '1.3.6.1.4.1.2011.6.139.11.1.72.1.5', - 'hwBleProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.73', - 'hwBleProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.73.1', - 'hwWlanBLEProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.73.1.1', - 'hwWlanBLEBroadcasterEnable' => '1.3.6.1.4.1.2011.6.139.11.1.73.1.2', - 'hwWlanBLEBroadcasterEnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanBLEBroadcasterEnable', - 'hwWlanBLETxPower' => '1.3.6.1.4.1.2011.6.139.11.1.73.1.3', - 'hwWlanBLEBroadcastingUUID' => '1.3.6.1.4.1.2011.6.139.11.1.73.1.4', - 'hwWlanBLEBroadcastingMajor' => '1.3.6.1.4.1.2011.6.139.11.1.73.1.5', - 'hwWlanBLEBroadcastingMinor' => '1.3.6.1.4.1.2011.6.139.11.1.73.1.6', - 'hwWlanBLEBroadcastingReferenceRSSI' => '1.3.6.1.4.1.2011.6.139.11.1.73.1.7', - 'hwWlanBLEBroadcastingInterval' => '1.3.6.1.4.1.2011.6.139.11.1.73.1.8', - 'hwWlanBLESnifferEnable' => '1.3.6.1.4.1.2011.6.139.11.1.73.1.9', - 'hwWlanBLESnifferEnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanBLESnifferEnable', - 'hwWlanBLEProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.73.1.10', - 'hwWlanBLEBroadcastingUUIDHex' => '1.3.6.1.4.1.2011.6.139.11.1.73.1.11', - 'hwWlanBLEBroadcastingMajorHex' => '1.3.6.1.4.1.2011.6.139.11.1.73.1.12', - 'hwWlanBLEBroadcastingMajorDecimal' => '1.3.6.1.4.1.2011.6.139.11.1.73.1.13', - 'hwWlanBLEBroadcastingMinorHex' => '1.3.6.1.4.1.2011.6.139.11.1.73.1.14', - 'hwWlanBLEBroadcastingMinorDecimal' => '1.3.6.1.4.1.2011.6.139.11.1.73.1.15', - 'hwWlanBLESnifferMode' => '1.3.6.1.4.1.2011.6.139.11.1.73.1.16', - 'hwWlanBLESnifferModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanBLESnifferMode', - 'hwWlanBLEReportEnable' => '1.3.6.1.4.1.2011.6.139.11.1.73.1.17', - 'hwWlanBLEReportEnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanBLEReportEnable', - 'hwWlanBLEReportMode' => '1.3.6.1.4.1.2011.6.139.11.1.73.1.18', - 'hwWlanBLEReportModeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanBLEReportMode', - 'hwWlanBLEReportInterval' => '1.3.6.1.4.1.2011.6.139.11.1.73.1.19', - 'hwWlanBLEReportServerIPAddress' => '1.3.6.1.4.1.2011.6.139.11.1.73.1.20', - 'hwWlanBLEReportServerIPv6Address' => '1.3.6.1.4.1.2011.6.139.11.1.73.1.21', - 'hwWlanBLEReportServerPort' => '1.3.6.1.4.1.2011.6.139.11.1.73.1.22', - 'hwWlanBLEReportServerViaACEnable' => '1.3.6.1.4.1.2011.6.139.11.1.73.1.23', - 'hwWlanBLEReportServerViaACEnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanBLEReportServerViaACEnable', - 'hwWlanBLEReportServerViaACPort' => '1.3.6.1.4.1.2011.6.139.11.1.73.1.24', - 'hwWlanBLESourceIPAddress' => '1.3.6.1.4.1.2011.6.139.11.1.73.1.25', - 'hwWlanBLESourceIPv6Address' => '1.3.6.1.4.1.2011.6.139.11.1.73.1.26', - 'hwWlanBLEServerAddressDomain' => '1.3.6.1.4.1.2011.6.139.11.1.73.1.27', - 'hwAPGroupCardTable' => '1.3.6.1.4.1.2011.6.139.11.1.74', - 'hwAPGroupCardEntry' => '1.3.6.1.4.1.2011.6.139.11.1.74.1', - 'hwAPGrpCardIndex' => '1.3.6.1.4.1.2011.6.139.11.1.74.1.1', - 'hwAPGrpCardSerialProfile' => '1.3.6.1.4.1.2011.6.139.11.1.74.1.2', - 'hwAPGrpCardProfile' => '1.3.6.1.4.1.2011.6.139.11.1.74.1.3', - 'hwAPGrpCardNetUDPPort' => '1.3.6.1.4.1.2011.6.139.11.1.74.1.4', - 'hwAPGrpIoTRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.74.1.5', - 'hwAPGrpCardNetTCPPort' => '1.3.6.1.4.1.2011.6.139.11.1.74.1.6', - 'hwAPGroupCardWiredPortProfile' => '1.3.6.1.4.1.2011.6.139.11.1.74.1.7', - 'hwAPGrpCardConnType' => '1.3.6.1.4.1.2011.6.139.11.1.74.1.8', - 'hwAPGrpCardConnTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPGrpCardConnType', - 'hwAPGrpCardNetProtocolType' => '1.3.6.1.4.1.2011.6.139.11.1.74.1.9', - 'hwAPGrpCardNetProtocolTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPGrpCardNetProtocolType', - 'hwAPGrpCardNetPort' => '1.3.6.1.4.1.2011.6.139.11.1.74.1.10', - 'hwAPGrpCardNetExtPort' => '1.3.6.1.4.1.2011.6.139.11.1.74.1.11', - 'hwAPSpecificCardTable' => '1.3.6.1.4.1.2011.6.139.11.1.75', - 'hwAPSpecificCardEntry' => '1.3.6.1.4.1.2011.6.139.11.1.75.1', - 'hwAPSpIoTIndex' => '1.3.6.1.4.1.2011.6.139.11.1.75.1.1', - 'hwAPSpIoTSerialProfile' => '1.3.6.1.4.1.2011.6.139.11.1.75.1.2', - 'hwAPSpIoTProfile' => '1.3.6.1.4.1.2011.6.139.11.1.75.1.3', - 'hwAPSpIoTNetUDPPort' => '1.3.6.1.4.1.2011.6.139.11.1.75.1.4', - 'hwAPSpIoTRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.75.1.5', - 'hwAPSpIoTNetTCPPort' => '1.3.6.1.4.1.2011.6.139.11.1.75.1.6', - 'hwAPSpIoTWiredPortProfile' => '1.3.6.1.4.1.2011.6.139.11.1.75.1.7', - 'hwAPSpCardConnType' => '1.3.6.1.4.1.2011.6.139.11.1.75.1.8', - 'hwAPSpCardConnTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPSpCardConnType', - 'hwAPSpIoTNetProtocolType' => '1.3.6.1.4.1.2011.6.139.11.1.75.1.9', - 'hwAPSpIoTNetProtocolTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPSpIoTNetProtocolType', - 'hwAPSpIoTNetPort' => '1.3.6.1.4.1.2011.6.139.11.1.75.1.10', - 'hwAPSpIoTNetExtPort' => '1.3.6.1.4.1.2011.6.139.11.1.75.1.11', - 'hwIoTSerialProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.76', - 'hwIoTSerialProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.76.1', - 'hwIoTSerialProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.76.1.1', - 'hwIoTSerialSpeed' => '1.3.6.1.4.1.2011.6.139.11.1.76.1.2', - 'hwIoTSerialParity' => '1.3.6.1.4.1.2011.6.139.11.1.76.1.3', - 'hwIoTSerialParityDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwIoTSerialParity', - 'hwIoTSerialStopbits' => '1.3.6.1.4.1.2011.6.139.11.1.76.1.4', - 'hwIoTSerialStopbitsDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwIoTSerialStopbits', - 'hwIoTSerialFrameFormat' => '1.3.6.1.4.1.2011.6.139.11.1.76.1.5', - 'hwIoTSerialFrameFormatDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwIoTSerialFrameFormat', - 'hwIoTSerialFrameLength' => '1.3.6.1.4.1.2011.6.139.11.1.76.1.6', - 'hwIoTSerialFrameStart' => '1.3.6.1.4.1.2011.6.139.11.1.76.1.7', - 'hwIoTSerialFrameStop' => '1.3.6.1.4.1.2011.6.139.11.1.76.1.8', - 'hwIoTSerialProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.76.1.9', - 'hwIoTProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.77', - 'hwIoTProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.77.1', - 'hwIoTProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.77.1.1', - 'hwIoTProfileConfigAgentPermitIp' => '1.3.6.1.4.1.2011.6.139.11.1.77.1.2', - 'hwIoTProfileConfigAgentPermitMaskLen' => '1.3.6.1.4.1.2011.6.139.11.1.77.1.3', - 'hwIoTProfileShareKey' => '1.3.6.1.4.1.2011.6.139.11.1.77.1.4', - 'hwIoTProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.77.1.5', - 'hwIoTProfileType' => '1.3.6.1.4.1.2011.6.139.11.1.77.1.6', - 'hwIoTProfileTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwIoTProfileType', - 'hwIoTProfileAntennaStatus' => '1.3.6.1.4.1.2011.6.139.11.1.77.1.7', - 'hwIoTProfileAntennaStatusDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwIoTProfileAntennaStatus', - 'hwIoTProfileManagementServerTable' => '1.3.6.1.4.1.2011.6.139.11.1.78', - 'hwIoTProfileManagementServerEntry' => '1.3.6.1.4.1.2011.6.139.11.1.78.1', - 'hwIoTProfileManagementServerIndex' => '1.3.6.1.4.1.2011.6.139.11.1.78.1.1', - 'hwIoTProfileManagementServerIp' => '1.3.6.1.4.1.2011.6.139.11.1.78.1.2', - 'hwIoTProfileManagementServerPort' => '1.3.6.1.4.1.2011.6.139.11.1.78.1.3', - 'hwIoTProfileManagementServerRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.78.1.4', - 'hwIoTProfileManagementServerDomain' => '1.3.6.1.4.1.2011.6.139.11.1.78.1.5', - 'hwVapAntiAttackUserDefFloodTable' => '1.3.6.1.4.1.2011.6.139.11.1.79', - 'hwVapAntiAttackUserDefFloodEntry' => '1.3.6.1.4.1.2011.6.139.11.1.79.1', - 'hwVapAntiAttackDefFloodIndex' => '1.3.6.1.4.1.2011.6.139.11.1.79.1.1', - 'hwVapAntiAttackDefFloodProtocolType' => '1.3.6.1.4.1.2011.6.139.11.1.79.1.2', - 'hwVapAntiAttackDefFloodProtocolTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapAntiAttackDefFloodProtocolType', - 'hwVapAntiAttackDefFloodProtocolValue' => '1.3.6.1.4.1.2011.6.139.11.1.79.1.3', - 'hwVapAntiAttackDefFloodStaRateThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.79.1.4', - 'hwVapAntiAttackDefFloodBlacklistSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.79.1.5', - 'hwVapAntiAttackDefFloodBlacklistSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVapAntiAttackDefFloodBlacklistSwitch', - 'hwVapAntiAttackDefFloodRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.79.1.6', - 'hwApProfIGMPSnoopingGroupTable' => '1.3.6.1.4.1.2011.6.139.11.1.80', - 'hwApProfIGMPSnoopingGroupEntry' => '1.3.6.1.4.1.2011.6.139.11.1.80.1', - 'hwAPProfIGMPSnoopingGroupIndex' => '1.3.6.1.4.1.2011.6.139.11.1.80.1.1', - 'hwAPProfIGMPSnoopingGroupStartGroupAddr' => '1.3.6.1.4.1.2011.6.139.11.1.80.1.2', - 'hwAPProfIGMPSnoopingGroupEndGroupAddr' => '1.3.6.1.4.1.2011.6.139.11.1.80.1.3', - 'hwAPProfIGMPSnoopingGroupBandwidth' => '1.3.6.1.4.1.2011.6.139.11.1.80.1.4', - 'hwAPProfIGMPSnoopingGroupRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.80.1.5', - 'hwAPWiredPortProfileTrafficRemarkTable' => '1.3.6.1.4.1.2011.6.139.11.1.81', - 'hwAPWiredPortProfileTrafficRemarkEntry' => '1.3.6.1.4.1.2011.6.139.11.1.81.1', - 'hwAPWiredPortProfileTrafficRemarkDirection' => '1.3.6.1.4.1.2011.6.139.11.1.81.1.1', - 'hwAPWiredPortProfileTrafficRemarkDirectionDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPWiredPortProfileTrafficRemarkDirection', - 'hwAPWiredPortProfileTrafficRemarkIPType' => '1.3.6.1.4.1.2011.6.139.11.1.81.1.2', - 'hwAPWiredPortProfileTrafficRemarkIPTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPWiredPortProfileTrafficRemarkIPType', - 'hwAPWiredPortProfileTrafficRemarkACLID' => '1.3.6.1.4.1.2011.6.139.11.1.81.1.3', - 'hwAPWiredPortProfileTrafficRemarkType' => '1.3.6.1.4.1.2011.6.139.11.1.81.1.4', - 'hwAPWiredPortProfileTrafficRemarkTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPWiredPortProfileTrafficRemarkType', - 'hwAPWiredPortProfileTrafficRemarkValue' => '1.3.6.1.4.1.2011.6.139.11.1.81.1.5', - 'hwAPWiredPortProfileTrafficRemarkRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.81.1.6', - 'hwAPTrafficProfileRemarkTable' => '1.3.6.1.4.1.2011.6.139.11.1.82', - 'hwAPTrafficProfileRemarkEntry' => '1.3.6.1.4.1.2011.6.139.11.1.82.1', - 'hwAPTrafficProfileRemarkDirection' => '1.3.6.1.4.1.2011.6.139.11.1.82.1.1', - 'hwAPTrafficProfileRemarkDirectionDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPTrafficProfileRemarkDirection', - 'hwAPTrafficProfileRemarkIPType' => '1.3.6.1.4.1.2011.6.139.11.1.82.1.2', - 'hwAPTrafficProfileRemarkIPTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPTrafficProfileRemarkIPType', - 'hwAPTrafficProfileRemarkACLID' => '1.3.6.1.4.1.2011.6.139.11.1.82.1.3', - 'hwAPTrafficProfileRemarkType' => '1.3.6.1.4.1.2011.6.139.11.1.82.1.4', - 'hwAPTrafficProfileRemarkTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPTrafficProfileRemarkType', - 'hwAPTrafficProfileRemarkValue' => '1.3.6.1.4.1.2011.6.139.11.1.82.1.5', - 'hwAPTrafficProfileRemarkRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.82.1.6', - 'hwWlanClusterConfig' => '1.3.6.1.4.1.2011.6.139.11.1.83', - 'hwWlanClusterMasterConfig' => '1.3.6.1.4.1.2011.6.139.11.1.83.1', - 'hwWlanClusterMasterIPv4Address' => '1.3.6.1.4.1.2011.6.139.11.1.83.1.1', - 'hwWlanClusterMasterIPv6Address' => '1.3.6.1.4.1.2011.6.139.11.1.83.1.2', - 'hwWlanClusterPsk' => '1.3.6.1.4.1.2011.6.139.11.1.83.1.3', - 'hwWlanClusterRedundancyConfig' => '1.3.6.1.4.1.2011.6.139.11.1.83.2', - 'hwWlanClusterRedundancyLocalIPv4Address' => '1.3.6.1.4.1.2011.6.139.11.1.83.2.1', - 'hwWlanClusterRedundancyLocalIPv6Address' => '1.3.6.1.4.1.2011.6.139.11.1.83.2.2', - 'hwWlanClusterRedundancyPeerIPv4Address' => '1.3.6.1.4.1.2011.6.139.11.1.83.2.3', - 'hwWlanClusterRedundancyPeerIPv6Address' => '1.3.6.1.4.1.2011.6.139.11.1.83.2.4', - 'hwWlanClusterRedundancyTrackVRRPID' => '1.3.6.1.4.1.2011.6.139.11.1.83.2.5', - 'hwWlanClusterRedundancyTrackInterface' => '1.3.6.1.4.1.2011.6.139.11.1.83.2.6', - 'hwWlanClusterRedundancyPsk' => '1.3.6.1.4.1.2011.6.139.11.1.83.2.7', - 'hwWlanClusterRedundancyTrackVRRPType' => '1.3.6.1.4.1.2011.6.139.11.1.83.2.8', - 'hwWlanClusterRedundancyTrackVRRPTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanClusterRedundancyTrackVRRPType', - 'hwWlanClusterLocalIPv4Table' => '1.3.6.1.4.1.2011.6.139.11.1.83.3', - 'hwWlanClusterLocalIPv4Entry' => '1.3.6.1.4.1.2011.6.139.11.1.83.3.1', - 'hwWlanClusterLocalIPv4Address' => '1.3.6.1.4.1.2011.6.139.11.1.83.3.1.1', - 'hwWlanClusterLocalIPv4Psk' => '1.3.6.1.4.1.2011.6.139.11.1.83.3.1.2', - 'hwWlanClusterLocalIPv4RowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.83.3.1.3', - 'hwWlanClusterLocalIPv6Table' => '1.3.6.1.4.1.2011.6.139.11.1.83.4', - 'hwWlanClusterLocalIPv6Entry' => '1.3.6.1.4.1.2011.6.139.11.1.83.4.1', - 'hwWlanClusterLocalIPv6Address' => '1.3.6.1.4.1.2011.6.139.11.1.83.4.1.1', - 'hwWlanClusterLocalIPv6Psk' => '1.3.6.1.4.1.2011.6.139.11.1.83.4.1.2', - 'hwWlanClusterLocalIPv6RowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.83.4.1.3', - 'hwWlanClusterSynConfig' => '1.3.6.1.4.1.2011.6.139.11.1.83.5', - 'hwWlanClusterSynIPv4Address' => '1.3.6.1.4.1.2011.6.139.11.1.83.5.1', - 'hwWlanClusterSynIPv6Address' => '1.3.6.1.4.1.2011.6.139.11.1.83.5.2', - 'hwWlanClusterSynConfigurationOper' => '1.3.6.1.4.1.2011.6.139.11.1.83.5.3', - 'hwWlanClusterSynConfigurationOperDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanClusterSynConfigurationOper', - 'hwWlanClusterSynConfigScheduleEnable' => '1.3.6.1.4.1.2011.6.139.11.1.83.5.4', - 'hwWlanClusterSynConfigScheduleEnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanClusterSynConfigScheduleEnable', - 'hwWlanClusterSynConfigScheduleTime' => '1.3.6.1.4.1.2011.6.139.11.1.83.5.5', - 'hwWlanClusterSynConfigScheduleInterval' => '1.3.6.1.4.1.2011.6.139.11.1.83.5.6', - 'hwWlanClusterACListInfoTable' => '1.3.6.1.4.1.2011.6.139.11.1.83.6', - 'hwWlanClusterACListInfoEntry' => '1.3.6.1.4.1.2011.6.139.11.1.83.6.1', - 'hwWlanClusterACIndex' => '1.3.6.1.4.1.2011.6.139.11.1.83.6.1.1', - 'hwWlanClusterACIPv4' => '1.3.6.1.4.1.2011.6.139.11.1.83.6.1.2', - 'hwWlanClusterACIPv6' => '1.3.6.1.4.1.2011.6.139.11.1.83.6.1.3', - 'hwWlanClusterACRole' => '1.3.6.1.4.1.2011.6.139.11.1.83.6.1.4', - 'hwWlanClusterACRoleDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanClusterACRole', - 'hwWlanClusterACType' => '1.3.6.1.4.1.2011.6.139.11.1.83.6.1.5', - 'hwWlanClusterACVersion' => '1.3.6.1.4.1.2011.6.139.11.1.83.6.1.6', - 'hwWlanClusterACStatus' => '1.3.6.1.4.1.2011.6.139.11.1.83.6.1.7', - 'hwWlanClusterACStatusDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanClusterACStatus', - 'hwWlanClusterACLastSynTime' => '1.3.6.1.4.1.2011.6.139.11.1.83.6.1.8', - 'hwWiredPortProfileTrafficFilterTable' => '1.3.6.1.4.1.2011.6.139.11.1.84', - 'hwWiredPortProfileTrafficFilterEntry' => '1.3.6.1.4.1.2011.6.139.11.1.84.1', - 'hwWiredPortProfileTrafficFilterDirection' => '1.3.6.1.4.1.2011.6.139.11.1.84.1.1', - 'hwWiredPortProfileTrafficFilterDirectionDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWiredPortProfileTrafficFilterDirection', - 'hwWiredPortProfileTrafficFilterID' => '1.3.6.1.4.1.2011.6.139.11.1.84.1.2', - 'hwWiredPortProfileTrafficFilterType' => '1.3.6.1.4.1.2011.6.139.11.1.84.1.3', - 'hwWiredPortProfileTrafficFilterTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWiredPortProfileTrafficFilterType', - 'hwWiredPortProfileTrafficFilterACLNum1' => '1.3.6.1.4.1.2011.6.139.11.1.84.1.4', - 'hwWiredPortProfileTrafficFilterACLNum2' => '1.3.6.1.4.1.2011.6.139.11.1.84.1.5', - 'hwWiredPortProfileTrafficFilterRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.84.1.6', - 'hwWiredPortProfileTrafficRemarkTable' => '1.3.6.1.4.1.2011.6.139.11.1.85', - 'hwWiredPortProfileTrafficRemarkEntry' => '1.3.6.1.4.1.2011.6.139.11.1.85.1', - 'hwWiredPortProfileTrafficRemarkDirection' => '1.3.6.1.4.1.2011.6.139.11.1.85.1.1', - 'hwWiredPortProfileTrafficRemarkDirectionDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWiredPortProfileTrafficRemarkDirection', - 'hwWiredPortProfileTrafficRemarkID' => '1.3.6.1.4.1.2011.6.139.11.1.85.1.2', - 'hwWiredPortProfileTrafficRemarkIPType' => '1.3.6.1.4.1.2011.6.139.11.1.85.1.3', - 'hwWiredPortProfileTrafficRemarkIPTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWiredPortProfileTrafficRemarkIPType', - 'hwWiredPortProfileTrafficRemarkACLNum1' => '1.3.6.1.4.1.2011.6.139.11.1.85.1.4', - 'hwWiredPortProfileTrafficRemarkACLNum2' => '1.3.6.1.4.1.2011.6.139.11.1.85.1.5', - 'hwWiredPortProfileTrafficRemarkType' => '1.3.6.1.4.1.2011.6.139.11.1.85.1.6', - 'hwWiredPortProfileTrafficRemarkTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWiredPortProfileTrafficRemarkType', - 'hwWiredPortProfileTrafficRemarkValue' => '1.3.6.1.4.1.2011.6.139.11.1.85.1.7', - 'hwWiredPortProfileTrafficRemarkRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.85.1.8', - 'hwTrafficProfileTrafficFilterTable' => '1.3.6.1.4.1.2011.6.139.11.1.86', - 'hwTrafficProfileTrafficFilterEntry' => '1.3.6.1.4.1.2011.6.139.11.1.86.1', - 'hwTrafficProfileTrafficFilterDirection' => '1.3.6.1.4.1.2011.6.139.11.1.86.1.1', - 'hwTrafficProfileTrafficFilterDirectionDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwTrafficProfileTrafficFilterDirection', - 'hwTrafficProfileTrafficFilterID' => '1.3.6.1.4.1.2011.6.139.11.1.86.1.2', - 'hwTrafficProfileTrafficFilterTpye' => '1.3.6.1.4.1.2011.6.139.11.1.86.1.3', - 'hwTrafficProfileTrafficFilterTpyeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwTrafficProfileTrafficFilterTpye', - 'hwTrafficProfileTrafficFilterACLNum1' => '1.3.6.1.4.1.2011.6.139.11.1.86.1.4', - 'hwTrafficProfileTrafficFilterACLNum2' => '1.3.6.1.4.1.2011.6.139.11.1.86.1.5', - 'hwTrafficProfileTrafficFilterRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.86.1.6', - 'hwTrafficProfileTrafficRemarkTable' => '1.3.6.1.4.1.2011.6.139.11.1.87', - 'hwTrafficProfileTrafficRemarkEntry' => '1.3.6.1.4.1.2011.6.139.11.1.87.1', - 'hwTrafficProfileTrafficRemarkDirection' => '1.3.6.1.4.1.2011.6.139.11.1.87.1.1', - 'hwTrafficProfileTrafficRemarkDirectionDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwTrafficProfileTrafficRemarkDirection', - 'hwTrafficProfileTrafficRemarkID' => '1.3.6.1.4.1.2011.6.139.11.1.87.1.2', - 'hwTrafficProfileTrafficRemarkIPType' => '1.3.6.1.4.1.2011.6.139.11.1.87.1.3', - 'hwTrafficProfileTrafficRemarkIPTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwTrafficProfileTrafficRemarkIPType', - 'hwTrafficProfileTrafficRemarkACLNum1' => '1.3.6.1.4.1.2011.6.139.11.1.87.1.4', - 'hwTrafficProfileTrafficRemarkACLNum2' => '1.3.6.1.4.1.2011.6.139.11.1.87.1.5', - 'hwTrafficProfileTrafficRemarkType' => '1.3.6.1.4.1.2011.6.139.11.1.87.1.6', - 'hwTrafficProfileTrafficRemarkTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwTrafficProfileTrafficRemarkType', - 'hwTrafficProfileTrafficRemarkValue' => '1.3.6.1.4.1.2011.6.139.11.1.87.1.7', - 'hwTrafficProfileTrafficRemarkRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.87.1.8', - 'hwWlanBranchGroupConfig' => '1.3.6.1.4.1.2011.6.139.11.1.88', - 'hwBranchGroupTable' => '1.3.6.1.4.1.2011.6.139.11.1.88.1', - 'hwBranchGroupEntry' => '1.3.6.1.4.1.2011.6.139.11.1.88.1.1', - 'hwBranchGroupName' => '1.3.6.1.4.1.2011.6.139.11.1.88.1.1.1', - 'hwBranchGroupUserAccountNumber' => '1.3.6.1.4.1.2011.6.139.11.1.88.1.1.2', - 'hwBranchGroupAPNumber' => '1.3.6.1.4.1.2011.6.139.11.1.88.1.1.3', - 'hwBranchGroupFileStatus' => '1.3.6.1.4.1.2011.6.139.11.1.88.1.1.4', - 'hwBranchGroupFileStatusDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwBranchGroupFileStatus', - 'hwBranchGroupServerCertFileType' => '1.3.6.1.4.1.2011.6.139.11.1.88.1.1.5', - 'hwBranchGroupServerCertFileTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwBranchGroupServerCertFileType', - 'hwBranchGroupServerCertFileName' => '1.3.6.1.4.1.2011.6.139.11.1.88.1.1.6', - 'hwBranchGroupServerCAFileName' => '1.3.6.1.4.1.2011.6.139.11.1.88.1.1.7', - 'hwBranchGroupServerPSKType' => '1.3.6.1.4.1.2011.6.139.11.1.88.1.1.8', - 'hwBranchGroupServerPSKTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwBranchGroupServerPSKType', - 'hwBranchGroupServerPSKFileName' => '1.3.6.1.4.1.2011.6.139.11.1.88.1.1.9', - 'hwBranchGroupServerPSKPassword' => '1.3.6.1.4.1.2011.6.139.11.1.88.1.1.10', - 'hwBranchGroupFileLoadOper' => '1.3.6.1.4.1.2011.6.139.11.1.88.1.1.11', - 'hwBranchGroupFileLoadOperDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwBranchGroupFileLoadOper', - 'hwBranchGroupFileLoadPercent' => '1.3.6.1.4.1.2011.6.139.11.1.88.1.1.12', - 'hwBranchGroupFileLoadFailedAP' => '1.3.6.1.4.1.2011.6.139.11.1.88.1.1.13', - 'hwBranchGroupRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.88.1.1.14', - 'hwAPBranchGroupFileTable' => '1.3.6.1.4.1.2011.6.139.11.1.88.2', - 'hwAPBranchGroupFileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.88.2.1', - 'hwAPBranchGroupFileStatus' => '1.3.6.1.4.1.2011.6.139.11.1.88.2.1.1', - 'hwAPBranchGroupFileStatusDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwAPBranchGroupFileStatus', - 'hwWlanNaviACManagement' => '1.3.6.1.4.1.2011.6.139.11.1.89', - 'hwWlanNaviACLocalTable' => '1.3.6.1.4.1.2011.6.139.11.1.89.1', - 'hwWlanNaviACLocalEntry' => '1.3.6.1.4.1.2011.6.139.11.1.89.1.1', - 'hwWlanNaviRemoteACID' => '1.3.6.1.4.1.2011.6.139.11.1.89.1.1.1', - 'hwWlanNaviRemoteACIPv4' => '1.3.6.1.4.1.2011.6.139.11.1.89.1.1.2', - 'hwWlanNaviRemoteACIPv6' => '1.3.6.1.4.1.2011.6.139.11.1.89.1.1.3', - 'hwWlanNaviRemoteACDescription' => '1.3.6.1.4.1.2011.6.139.11.1.89.1.1.4', - 'hwWlanNaviRemoteACState' => '1.3.6.1.4.1.2011.6.139.11.1.89.1.1.5', - 'hwWlanNaviRemoteACStateDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanNaviRemoteACState', - 'hwWlanNaviRemoteACMac' => '1.3.6.1.4.1.2011.6.139.11.1.89.1.1.6', - 'hwWlanNaviRemoteACStaNumber' => '1.3.6.1.4.1.2011.6.139.11.1.89.1.1.7', - 'hwWlanNaviRemoteACRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.89.1.1.8', - 'hwWlanNaviACRemoteManagement' => '1.3.6.1.4.1.2011.6.139.11.1.89.2', - 'hwWlanNaviACRemoteEnable' => '1.3.6.1.4.1.2011.6.139.11.1.89.2.1', - 'hwWlanNaviACRemoteEnableDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanNaviACRemoteEnable', - 'hwWlanNaviACRemoteTable' => '1.3.6.1.4.1.2011.6.139.11.1.89.3', - 'hwWlanNaviACRemoteEntry' => '1.3.6.1.4.1.2011.6.139.11.1.89.3.1', - 'hwWlanNaviLocalACID' => '1.3.6.1.4.1.2011.6.139.11.1.89.3.1.1', - 'hwWlanNaviLocalACIPv4' => '1.3.6.1.4.1.2011.6.139.11.1.89.3.1.2', - 'hwWlanNaviLocalACIPv6' => '1.3.6.1.4.1.2011.6.139.11.1.89.3.1.3', - 'hwWlanNaviLocalACDescription' => '1.3.6.1.4.1.2011.6.139.11.1.89.3.1.4', - 'hwWlanNaviLocalACState' => '1.3.6.1.4.1.2011.6.139.11.1.89.3.1.5', - 'hwWlanNaviLocalACStateDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanNaviLocalACState', - 'hwWlanNaviLocalACMac' => '1.3.6.1.4.1.2011.6.139.11.1.89.3.1.6', - 'hwWlanNaviLocalACStaNumber' => '1.3.6.1.4.1.2011.6.139.11.1.89.3.1.7', - 'hwWlanNaviLocalACRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.89.3.1.8', - 'hwWlanNaviACVapTable' => '1.3.6.1.4.1.2011.6.139.11.1.89.4', - 'hwWlanNaviACVapEntry' => '1.3.6.1.4.1.2011.6.139.11.1.89.4.1', - 'hwWlanNaviVapACWlanId' => '1.3.6.1.4.1.2011.6.139.11.1.89.4.1.1', - 'hwWlanNaviVapProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.89.4.1.2', - 'hwWlanNaviVapRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.89.4.1.3', - 'hwHighwayObjects' => '1.3.6.1.4.1.2011.6.139.11.1.90', - 'hwHighwayProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.90.1', - 'hwHighwayProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.90.1.1', - 'hwHighwayProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.90.1.1.1', - 'hwHighwayStationMinSpeed' => '1.3.6.1.4.1.2011.6.139.11.1.90.1.1.2', - 'hwHighwayProfileRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.90.1.1.10', - 'hwHighwayApMemberTable' => '1.3.6.1.4.1.2011.6.139.11.1.90.2', - 'hwHighwayApMemberEntry' => '1.3.6.1.4.1.2011.6.139.11.1.90.2.1', - 'hwHighwayRadioType' => '1.3.6.1.4.1.2011.6.139.11.1.90.2.1.1', - 'hwHighwayRadioTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwHighwayRadioType', - 'hwHighwayDirection' => '1.3.6.1.4.1.2011.6.139.11.1.90.2.1.2', - 'hwHighwayDirectionDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwHighwayDirection', - 'hwHighwayMemberType' => '1.3.6.1.4.1.2011.6.139.11.1.90.2.1.3', - 'hwHighwayMemberTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwHighwayMemberType', - 'hwHighwayMemberName' => '1.3.6.1.4.1.2011.6.139.11.1.90.2.1.4', - 'hwHighwayDeloyType' => '1.3.6.1.4.1.2011.6.139.11.1.90.2.1.5', - 'hwHighwayDeloyTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwHighwayDeloyType', - 'hwHighwayNextMemberName' => '1.3.6.1.4.1.2011.6.139.11.1.90.2.1.6', - 'hwHighwayMinRoamDistance' => '1.3.6.1.4.1.2011.6.139.11.1.90.2.1.7', - 'hwHighwayMaxRoamDistance' => '1.3.6.1.4.1.2011.6.139.11.1.90.2.1.8', - 'hwHighwayMemberStatus' => '1.3.6.1.4.1.2011.6.139.11.1.90.2.1.9', - 'hwHighwayMemberStatusDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwHighwayMemberStatus', - 'hwHighwayMemberRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.90.2.1.15', - 'hwWmiProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.91', - 'hwWmiProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.91.1', - 'hwWmiServerProfileName' => '1.3.6.1.4.1.2011.6.139.11.1.91.1.1', - 'hwWmiServerIPv4' => '1.3.6.1.4.1.2011.6.139.11.1.91.1.2', - 'hwWmiServerPort' => '1.3.6.1.4.1.2011.6.139.11.1.91.1.3', - 'hwWmiReportInterval' => '1.3.6.1.4.1.2011.6.139.11.1.91.1.4', - 'hwWmiKeepAliveInterval' => '1.3.6.1.4.1.2011.6.139.11.1.91.1.5', - 'hwWmiRetryConnectionInterval' => '1.3.6.1.4.1.2011.6.139.11.1.91.1.6', - 'hwWmiRetryConnectionCnt' => '1.3.6.1.4.1.2011.6.139.11.1.91.1.7', - 'hwWmiMaxPacketSize' => '1.3.6.1.4.1.2011.6.139.11.1.91.1.8', - 'hwWmiDeviceDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.91.1.9', - 'hwWmiSsidDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.91.1.10', - 'hwWmiRadioDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.91.1.11', - 'hwWmiInterfaceDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.91.1.12', - 'hwWmiTerminalDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.91.1.13', - 'hwWmiLogDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.91.1.14', - 'hwWmiLocationDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.91.1.15', - 'hwWmiSecurityDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.91.1.16', - 'hwWmiRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.91.1.17', - 'hwWmiNeighborDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.91.1.18', - 'hwWmiCpcarDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.91.1.19', - 'hwWmiEmdiDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.91.1.20', - 'hwWmiApplicationStatisticsDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.91.1.21', - 'hwWmiLogModuleist' => '1.3.6.1.4.1.2011.6.139.11.1.91.1.22', - 'hwWmiTerminalDhcpOptionDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.91.1.23', - 'hwWmiTerminalHttpUaDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.91.1.24', - 'hwWmiTerminalMdnsDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.91.1.25', - 'hwApSystemWmiProfileTable' => '1.3.6.1.4.1.2011.6.139.11.1.92', - 'hwApSystemWmiProfileEntry' => '1.3.6.1.4.1.2011.6.139.11.1.92.1', - 'hwApSystemWmiIndex' => '1.3.6.1.4.1.2011.6.139.11.1.92.1.1', - 'hwApSystemWmiProfile' => '1.3.6.1.4.1.2011.6.139.11.1.92.1.2', - 'hwApSystemWmiRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.92.1.3', - 'hwSysWmiConfigTable' => '1.3.6.1.4.1.2011.6.139.11.1.93', - 'hwSysWmiConfigEntry' => '1.3.6.1.4.1.2011.6.139.11.1.93.1', - 'hwSysWmiIndex' => '1.3.6.1.4.1.2011.6.139.11.1.93.1.1', - 'hwSysWmiServerIPv4' => '1.3.6.1.4.1.2011.6.139.11.1.93.1.2', - 'hwSysWmiServerPort' => '1.3.6.1.4.1.2011.6.139.11.1.93.1.3', - 'hwSysWmiReportInterval' => '1.3.6.1.4.1.2011.6.139.11.1.93.1.4', - 'hwSysWmiKeepAliveInterval' => '1.3.6.1.4.1.2011.6.139.11.1.93.1.5', - 'hwSysWmiRetryConnectionInterval' => '1.3.6.1.4.1.2011.6.139.11.1.93.1.6', - 'hwSysWmiRetryConnectionCnt' => '1.3.6.1.4.1.2011.6.139.11.1.93.1.7', - 'hwSysWmiMaxPacketSize' => '1.3.6.1.4.1.2011.6.139.11.1.93.1.8', - 'hwSysWmiDeviceDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.93.1.9', - 'hwSysWmiSsidDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.93.1.10', - 'hwSysWmiRadioDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.93.1.11', - 'hwSysWmiInterfaceDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.93.1.12', - 'hwSysWmiTerminalDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.93.1.13', - 'hwSysWmiLogDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.93.1.14', - 'hwSysWmiLocationDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.93.1.15', - 'hwSysWmiSecurityDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.93.1.16', - 'hwSysWmiRoamDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.93.1.17', - 'hwSysWmiApplicationStatisticsDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.93.1.18', - 'hwSysWmiEmdiDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.93.1.19', - 'hwSysWmiCpcarDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.93.1.20', - 'hwSysWmiNeighborDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.93.1.21', - 'hwSysWmiLogMIDList' => '1.3.6.1.4.1.2011.6.139.11.1.93.1.22', - 'hwSysWmiTerminalDhcpOptionDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.93.1.23', - 'hwSysWmiTerminalHttpUaDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.93.1.24', - 'hwSysWmiTerminalMdnsDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.93.1.25', - 'hwSysWmiMeshDataInterval' => '1.3.6.1.4.1.2011.6.139.11.1.93.1.26', - 'hwWlanLicenseCentralizedTable' => '1.3.6.1.4.1.2011.6.139.11.1.94', - 'hwWlanLicenseCentralizedEntry' => '1.3.6.1.4.1.2011.6.139.11.1.94.1', - 'hwWlanLicenseClientMac' => '1.3.6.1.4.1.2011.6.139.11.1.94.1.1', - 'hwWlanLicenseClientIPv4Addr' => '1.3.6.1.4.1.2011.6.139.11.1.94.1.2', - 'hwWlanLicenseClientIPv6Addr' => '1.3.6.1.4.1.2011.6.139.11.1.94.1.3', - 'hwWlanLicenseClientRole' => '1.3.6.1.4.1.2011.6.139.11.1.94.1.4', - 'hwWlanLicenseClientRoleDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanLicenseClientRole', - 'hwWlanLicenseClientState' => '1.3.6.1.4.1.2011.6.139.11.1.94.1.5', - 'hwWlanLicenseClientStateDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwWlanLicenseClientState', - 'hwWlanLicenseClientLocalLicense' => '1.3.6.1.4.1.2011.6.139.11.1.94.1.6', - 'hwWlanLicenseClientLicenseRemain' => '1.3.6.1.4.1.2011.6.139.11.1.94.1.7', - 'hwWlanLicenseClientAllocedLicense' => '1.3.6.1.4.1.2011.6.139.11.1.94.1.8', - 'hwApSysBCMCSuppressionTable' => '1.3.6.1.4.1.2011.6.139.11.1.95', - 'hwApSysBCMCSuppressionEntry' => '1.3.6.1.4.1.2011.6.139.11.1.95.1', - 'hwApSysBCMCSuppressionPktType' => '1.3.6.1.4.1.2011.6.139.11.1.95.1.1', - 'hwApSysBCMCSuppressionPktTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApSysBCMCSuppressionPktType', - 'hwApSysBCMCSuppressionSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.95.1.2', - 'hwApSysBCMCSuppressionSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwApSysBCMCSuppressionSwitch', - 'hwApSysBCMCSuppressionThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.95.1.3', - 'hwApSysBCMCSuppressionRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.95.1.4', - 'hwVAPProfileAntiAttackTable' => '1.3.6.1.4.1.2011.6.139.11.1.96', - 'hwVAPProfileAntiAttackEntry' => '1.3.6.1.4.1.2011.6.139.11.1.96.1', - 'hwVAPProfileAntiAttackPacketType' => '1.3.6.1.4.1.2011.6.139.11.1.96.1.1', - 'hwVAPProfileAntiAttackPacketTypeDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVAPProfileAntiAttackPacketType', - 'hwVAPProfileAntiAttackSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.96.1.2', - 'hwVAPProfileAntiAttackSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVAPProfileAntiAttackSwitch', - 'hwVAPProfileAntiAttackStaRateThreshold' => '1.3.6.1.4.1.2011.6.139.11.1.96.1.3', - 'hwVAPProfileAntiAttackBlacklistSwitch' => '1.3.6.1.4.1.2011.6.139.11.1.96.1.4', - 'hwVAPProfileAntiAttackBlacklistSwitchDefinition' => 'HUAWEI-WLAN-CONFIGURATION-MIB::hwVAPProfileAntiAttackBlacklistSwitch', - 'hwVAPProfileAntiAttackRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.96.1.5', - 'hwApProfStationConnectivityDetectStaMacTable' => '1.3.6.1.4.1.2011.6.139.11.1.97', - 'hwApProfStationConnectivityDetectStaMacEntry' => '1.3.6.1.4.1.2011.6.139.11.1.97.1', - 'hwApProfStationConnectivityDetectStaMac' => '1.3.6.1.4.1.2011.6.139.11.1.97.1.1', - 'hwApProfStationConnectivityDetectStaMacRowStatus' => '1.3.6.1.4.1.2011.6.139.11.1.97.1.2', - 'hwWlanConfigConformance' => '1.3.6.1.4.1.2011.6.139.11.2', - 'hwWlanConfigCompliances' => '1.3.6.1.4.1.2011.6.139.11.2.1', - 'hwWlanConfigObjectGroups' => '1.3.6.1.4.1.2011.6.139.11.2.2', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'HUAWEI-WLAN-CONFIGURATION-MIB'} = { - 'hwUCCProfLyncVoice8021p' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPPortLinkProfileLldpEnable' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwLocationPrivateProtocol' => { - '1' => 'udp', - '2' => 'https', - '3' => 'http', - }, - 'hwApProfLldpAdminStatus' => { - '1' => 'txrx', - '2' => 'rx', - '3' => 'tx', - }, - 'hw2gRadioApEDCAVideoAckPolicy' => { - '1' => 'normal', - '2' => 'noAck', - }, - 'hw5gRadioProfileRadioType' => { - '2' => 'dot11a', - '6' => 'dot11n', - '14' => 'dot11ac', - '16' => 'dot11ax', - }, - 'hwRrmLinkMeasurementSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAirScanEnhancement' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwDcaChannel5GBandwidth' => { - '1' => 'bw20Mhz', - '2' => 'bw40Mhz', - '3' => 'bw80Mhz', - }, - 'hwHighwayRadioType' => { - '1' => 'radio2G', - '2' => 'radio5G', - }, - 'hwApPwdPolicyAlertOriginal' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwLocationSurFilterCompress' => { - '1' => 'compress', - '2' => 'uncompress', - }, - 'hwAPSpWidsRogueContainSwitch' => { - '2' => 'enable', - '255' => 'invalid', - }, - 'hwApProfChannelLoadMode' => { - '1' => 'indoor', - '2' => 'outdoor', - }, - 'hwSsidProfilePartialMumimoDownlinkSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hw2gRadioShortPreamble' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPSpRadioBandwidth' => { - '1' => 'ht20', - '2' => 'ht40Plus', - '3' => 'ht40Minus', - '4' => 'ht80', - '5' => 'ht160', - '255' => 'invalid', - }, - 'hwVapOptinon82InsertRidFormat' => { - '1' => 'apMac', - '2' => 'apMacSsid', - '3' => 'userDefined', - '4' => 'apName', - '5' => 'apNameSsid', - '6' => 'apLocation', - '7' => 'apLocationSsid', - }, - 'hwVapKeepServiceSwitch' => { - '1' => 'enable', - '2' => 'disable', - '3' => 'allowaccess', - '4' => 'allowAccessAlsoNoauth', - }, - 'hwRrmSmartRoamSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwApProfBroadcastSuppressionArpEnable' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanClusterSynConfigScheduleEnable' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hw5gRadioChannelSwitchAnnouncementSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPSpAutoTxPowerSelectSwitch' => { - '1' => 'disable', - '2' => 'enable', - '255' => 'invalid', - }, - 'hwConnectionCapabilityTcpSsh' => { - '1' => 'unknown', - '2' => 'on', - '3' => 'off', - }, - 'hwRadio2GProfileAmsduSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwVapBandSteerSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanLBMode' => { - '1' => 'staNumber', - '2' => 'channelUtilization', - }, - 'hw2gRadioAutoOffServiceSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwConnectionCapabilityTcpVoip' => { - '1' => 'unknown', - '2' => 'on', - '3' => 'off', - }, - 'hwConnectionCapabilityUdpIke2Port4500' => { - '1' => 'unknown', - '2' => 'on', - '3' => 'off', - }, - 'hwFatApRadioWorkMode' => { - '1' => 'normal', - '2' => 'monitor', - '3' => 'dualband', - '4' => 'proxyScan', - }, - 'hwApProfProtectLinkSwitchMode' => { - '1' => 'priority', - '2' => 'networkstabilization', - }, - 'hwAPGrpRadioFrequency' => { - '1' => 'frequency2G', - '2' => 'frequency5G', - }, - 'hwAPTrafficProfileMcToUc' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwSecurityPolicy' => { - '1' => 'wapiCert', - '2' => 'wapiPsk', - '3' => 'wpaDot1x', - '4' => 'wpaPsk', - '5' => 'wpa2Dot1x', - '6' => 'wpa2Psk', - '7' => 'wepShareKey', - '8' => 'open', - '9' => 'wpaWpa2Psk', - '10' => 'wpaWpa2Dot1x', - '11' => 'wepNoauth', - '12' => 'wepDynamic', - '13' => 'wpaPpsk', - '14' => 'wpa2Ppsk', - '15' => 'wpaWpa2Ppsk', - '16' => 'wpa3Sae', - '17' => 'wpa2Wpa3PskSae', - '18' => 'wpa3Dot1x', - }, - 'hwSACProfileActProtocolType' => { - '0' => 'unknown', - '1' => 'application', - '2' => 'applicationGroup', - }, - 'hwApProfTemporaryManagement' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPTrafficProfileOptimizeProxyND' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPSpSfnRoamBeaconSwitch' => { - '1' => 'disable', - '255' => 'invalid', - }, - 'hwSsidHide' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanNaviLocalACState' => { - '1' => 'fault', - '2' => 'vmiss', - '3' => 'normal', - }, - 'hwHotspot2InternetAccess' => { - '1' => 'allowAcess', - '2' => 'unallowedAcess', - }, - 'hwWlanBLESnifferEnable' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPWiredPortProfileTrafficRemarkIPType' => { - '1' => 'ipv4', - '2' => 'ipv6', - '3' => 'l2', - }, - 'hwVapOptinon82InsertSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPWiredPortProfileLearnAddress' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPTrafficProfileIGMPSnooping' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwLocationAeroscoutViaACSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwSsidBeacon2gRate' => { - '1' => 'one', - '2' => 'two', - '5' => 'five', - '6' => 'six', - '9' => 'nine', - '11' => 'eleven', - '12' => 'twelve', - '18' => 'eighteen', - '24' => 'twentyfour', - '36' => 'thirtysix', - '48' => 'fortyeight', - '54' => 'fiftyfour', - }, - 'hwAPGrpRadioSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWdsProfilePriorityMapTrustMode' => { - '1' => 'trustDSCP', - '2' => 'trust8021P', - }, - 'hwFatApChannelLoadMode' => { - '1' => 'indoor', - '2' => 'outdoor', - }, - 'hwAPSpRadioFrequency' => { - '1' => 'frequency2G', - '2' => 'frequency5G', - '255' => 'invalid', - }, - 'hwAPWiredPortProfilePortSecStickyMac' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPSpCardConnType' => { - '1' => 'serial', - '2' => 'ethernet', - '3' => 'unknown', - }, - 'hwWlanRadioCalibrateFlexibleRadioProcess' => { - '1' => 'identifying', - '2' => 'nonidentifying', - }, - 'hwApProfCapwapDtlsDataSwitch' => { - '1' => 'disable', - '2' => 'enable', - '3' => 'notconfig', - }, - 'hwVapBackUpState' => { - '1' => 'off', - '2' => 'on', - '3' => 'invalid', - }, - 'hwAPTrafficProfileMldSnooping' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPWiredPortProfileMLDSnooping' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwFatApAutoChannelSelectSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwFatApRadioBandwidth' => { - '1' => 'ht20', - '2' => 'ht40Plus', - '3' => 'ht40Minus', - '4' => 'ht80', - '5' => 'ht160', - '255' => 'invalid', - }, - 'hw5gRadioWmmMandatorySwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwRrmUacPolicySwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPPortLinkProfilePoeSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwIDIndexedAPSpRadioSwitch' => { - '1' => 'disable', - '255' => 'invalid', - }, - 'hw5gRadioChannelSwitchMode' => { - '1' => 'continueTransmitting', - '2' => 'stopTransmitting', - }, - 'hwTrafficProfileTrafficRemarkIPType' => { - '1' => 'ipv4', - '2' => 'ipv6', - '3' => 'l2', - '4' => 'ipv4L2', - }, - 'hwRrmTpcRequestSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwVapServiceSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWiredPortProfileTrafficRemarkIPType' => { - '1' => 'ipv4', - '2' => 'ipv6', - '3' => 'l2', - '4' => 'ipv4L2', - }, - 'hwFatApAutoBandwidthSelectSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwLocationPrivateMuEnable' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwLocationAeroscoutTagSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanRadioCalibrateReferenceDataAnalysis' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwSsidBeacon5gRate' => { - '6' => 'six', - '9' => 'nine', - '12' => 'twelve', - '18' => 'eighteen', - '24' => 'twentyfour', - '36' => 'thirtysix', - '48' => 'fortyeight', - '54' => 'fiftyfour', - }, - 'hwIDIndexedAPSpAutoChannelSelectSwitch' => { - '1' => 'disable', - '2' => 'enable', - '255' => 'invalid', - }, - 'hwWlanNaviACRemoteEnable' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwFatApRadio0Frequency' => { - '1' => 'frequency5G', - '2' => 'frequency2G', - }, - 'hwAPSpWPInterfaceType' => { - '1' => 'fe', - '2' => 'ge', - '3' => 'trunk', - '4' => 'multige', - '5' => 'xge', - }, - 'hwWdsMode' => { - '1' => 'middle', - '2' => 'root', - '3' => 'leaf', - }, - 'hwConnectionCapabilityTcpTlsVpn' => { - '1' => 'unknown', - '2' => 'on', - '3' => 'off', - }, - 'hwAPPortLinkProfilePoeForcePowerSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPWiredPortProfileIGMPSnooping' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanBLEReportServerViaACEnable' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwApProfStationConnectivityDetectSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwLocationEkahauViaACEnable' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwFatApCalibrateFlexibleRadioSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hw5gRadioInterferenceDetectSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwFatApStaAccessMode' => { - '1' => 'disable', - '2' => 'blacklist', - '3' => 'whitelist', - }, - 'hwVapSfnRoamSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwSsidMuMIMOSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwSsidInterAcRoamSwitch' => { - '1' => 'enable', - '2' => 'disable', - }, - 'hwVapAntiAttackIGMPFloodBlacklistSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwApProfStaArpNDProxyBeforeAssoc' => { - '1' => 'no', - '2' => 'yes', - }, - 'hwSsidServiceGuarantee' => { - '1' => 'performanceFirst', - '2' => 'reliabilityFirst', - }, - 'hw2gRadioBeamformingSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hw5gRadioPowerAutoAdjustSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwIoTSerialFrameFormat' => { - '1' => 'fixedLength', - '2' => 'frameBeginEnd', - }, - 'hwSsidActiveDullClient' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanMeshHOLocationBasedAlgorithmEnable' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwApProfBroadcastSuppressionAllEnable' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanRadioCalibrateFlexibleRadio' => { - '1' => 'disable', - '2' => 'autoSwitch', - '3' => 'autoOff', - }, - 'hwWiredPortProfileTrafficRemarkType' => { - '1' => 'dscp', - '2' => 'dot1p', - }, - 'hwWiredPortProfileTrafficFilterType' => { - '1' => 'ipv4', - '2' => 'ipv6', - '3' => 'l2', - '4' => 'ipv4L2', - }, - 'hw2gRadioGuardIntervalMode' => { - '1' => 'short', - '2' => 'normal', - }, - 'hw5gRadioVhtAmsduSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanRadioCalibrateMode' => { - '1' => 'auto', - '2' => 'manual', - '3' => 'schedule', - }, - 'hwConnectionCapabilityUdpIke2Port500' => { - '1' => 'unknown', - '2' => 'on', - '3' => 'off', - }, - 'hwRrmSmartRoamCheckType' => { - '1' => 'checkSnr', - '2' => 'checkRate', - '3' => 'checkAll', - }, - 'hwAPTrafficProfileOptimizeStaBridgeForward' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hw2gRadioApEDCABEAckPolicy' => { - '1' => 'normal', - '2' => 'noAck', - }, - 'hw5gRadioWifiLight' => { - '1' => 'signalStrength', - '2' => 'traffic', - }, - 'hwFatApAutoTxPowerSelectSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwApProfCardConnectType' => { - '1' => 'serial', - '2' => 'ethernet', - }, - 'hwAPWiredPortProfilePortSecProtectAction' => { - '1' => 'restrict', - '2' => 'protect', - }, - 'hwVapLearnIpv6AddressStrict' => { - '1' => 'disable', - '2' => 'enable', - '3' => 'enableBlacklist', - }, - 'hwSsidProfileOfdmaUplinkSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanGlobalApLldpSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPGrpWidsDeviceDetectSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwVAPProfileAntiAttackPacketType' => { - '1' => 'otherBroadcast', - '2' => 'arp', - '3' => 'igmp', - '4' => 'nd', - '5' => 'dhcp', - '6' => 'dhcpv6', - '7' => 'mdns', - '8' => 'otherMulticast', - }, - 'hwBranchGroupServerPSKType' => { - '1' => 'pem', - '2' => 'pkcs12', - '3' => 'der', - '4' => 'na', - }, - 'hwAirScanVideoAware' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwVapStaAccessMode' => { - '1' => 'disable', - '2' => 'blacklist', - '3' => 'whitelist', - }, - 'hw2gRadioApEDCAVoiceAckPolicy' => { - '1' => 'normal', - '2' => 'noAck', - }, - 'hw5gRadioGuardIntervalMode' => { - '1' => 'short', - '2' => 'normal', - }, - 'hwWlanMobilityClientIPv4State' => { - '1' => 'fault', - '2' => 'normal', - '3' => 'vmiss', - }, - 'hwWlanClusterACStatus' => { - '1' => 'down', - '2' => 'up', - '3' => 'pskmismatch', - '4' => 'vermismatch', - '5' => 'cfgmismatch', - '6' => 'devmismatch', - '7' => 'initial', - }, - 'hw2gRadioDot11axGuardIntervalMode' => { - '1' => 'gi0dot8', - '2' => 'gi1dot6', - '3' => 'gi3dot2', - }, - 'hwApProfBroadcastSuppressionNdEnable' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwUCCProfLyncVideo8021p' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwIDIndexedAPSpWidsDeviceDetectSwitch' => { - '2' => 'enable', - '255' => 'invalid', - }, - 'hwWidsDynamicBlackListSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanLicenseClientRole' => { - '1' => 'server', - '2' => 'serverBackup', - '3' => 'client', - }, - 'hwWlanMeshDhcpTrustPort' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanBLESnifferMode' => { - '1' => 'disable', - '2' => 'ibeacon', - '3' => 'tag', - '4' => 'transparent', - }, - 'hwRrmSmartRoamQuickKickoffCheckType' => { - '1' => 'checkSnr', - '2' => 'checkRate', - '3' => 'checkAll', - }, - 'hwVAPProfileAntiAttackBlacklistSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwApProfLldpReportEnable' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanAPProvisionAPMode' => { - '1' => 'fat', - '2' => 'cloud', - }, - 'hwLocationPrivateViaACEnable' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwVapLearnIpv4AddressStrict' => { - '1' => 'disable', - '2' => 'enable', - '3' => 'enableBlacklist', - }, - 'hwSsidMuMIMOOptimizeSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwFatApDcaChannel5GBandwidth' => { - '1' => 'ht20', - '2' => 'ht40', - '3' => 'ht80', - }, - 'hwConnectionCapabilityUdpVoip' => { - '1' => 'unknown', - '2' => 'on', - '3' => 'off', - }, - 'hwLocationSurFilterMuEnable' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwSACProfUserStat' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanGlobalRogueDeviceLogSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwVapAntiAttackNDFloodBlacklistSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hw5gRadioWmmSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanStaDelayOffLineSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwSecurityWapiPskMode' => { - '1' => 'pskPassphase', - '2' => 'pskHex', - }, - 'hw2gRadioRtsCtsMode' => { - '1' => 'disable', - '2' => 'ctsToSelf', - '3' => 'rtsCts', - }, - 'hwWlanMobilityServerSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwSecurityWpaEncrypt' => { - '0' => 'unknown', - '1' => 'wpaAes', - '2' => 'wpaTkip', - '3' => 'wpaAesTkip', - '4' => 'wpaTkipWpa2Aes', - '5' => 'wpaGcmp256', - }, - 'hwApSystemProfileNPCapwapReassemblySwitch' => { - '1' => 'enable', - '2' => 'disable', - }, - 'hwFatApWidsRogueContainSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwLocationAeroscoutMuSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPWiredPortProfilePortForwardMode' => { - '1' => 'directForward', - '2' => 'tunnel', - }, - 'hwVapLearnIpv4Address' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwApProfUcSuppressionAutoDetectSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPWiredPortProfileIpBindCheck' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwApProfDhcpv4Option12' => { - '1' => 'apTypeApMac', - '2' => 'apName', - '3' => 'disable', - }, - 'hwApProfUsbSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwVapProfileMdnsSnooping' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwSsidProfileOfdmaDownlinkSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwVapAntiAttackARPFloodBlacklistSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwApProfAlarmRestrictionSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPTrafficProfilePriorityMapUpTrustMode' => { - '1' => 'trust80211e', - '2' => 'trustdscp', - }, - 'hwWlanWideBandEnable' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwRrmSmartRoamAdvancedScan' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPGrpSfnRoamCtsSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWdsProfileBeacon2gRate' => { - '1' => 'one', - '2' => 'two', - '5' => 'five', - '6' => 'six', - '9' => 'nine', - '11' => 'eleven', - '12' => 'twelve', - '18' => 'eighteen', - '24' => 'twentyfour', - '36' => 'thirtysix', - '48' => 'fortyeight', - '54' => 'fiftyfour', - }, - 'hwSsidProfile80211rEnable' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwApPwdIsOrginal' => { - '1' => 'notoriginal', - '2' => 'original', - }, - 'hwTrafficProfileTrafficFilterTpye' => { - '1' => 'ipv4', - '2' => 'ipv6', - '3' => 'l2', - '4' => 'ipv4L2', - }, - 'hwHotspot2CarryP2PCrossConnectInfo' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPGrpAPIPVersion' => { - '1' => 'all', - '2' => 'ipv4', - '3' => 'ipv6', - }, - 'hwSsidQbssLoadSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hw5gRadioProfileSmartAntennaEnable' => { - '1' => 'default', - '2' => 'enable', - '3' => 'disable', - }, - 'hwWlanIotOperateType' => { - '1' => 'reboot', - '2' => 'resetfactoryconfiguration', - '3' => 'switchfirmware', - '4' => 'resetnetworkconfiguration', - }, - 'hwRrmInterferenceImmuneSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwRrmMultimediaAirOptimize' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPGrpSfnRoamBeaconSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hw5gRadioHtAmpduSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwVapType' => { - '1' => 'service', - '2' => 'managementAp', - '3' => 'managementAc', - '4' => 'serviceBackupApOffline', - '5' => 'radiusdownBackup', - '6' => 'serviceNaviAc', - '7' => 'managementLeaderAp', - }, - 'hwIDIndexedAPSpWidsRogueContainSwitch' => { - '2' => 'enable', - '255' => 'invalid', - }, - 'hwAPSpSfnRoamCtsSwitch' => { - '1' => 'disable', - '255' => 'invalid', - }, - 'hwWlanProtectSwitch' => { - '1' => 'enable', - '2' => 'disable', - }, - 'hwWlanStationIpv6Enable' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwRrmDFSSmartSelectionSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanMeshFwaEdcaMode' => { - '1' => 'auto', - '2' => 'manual', - }, - 'hwSsidBeamformingSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPPortLinkProfileCrcAlarmEnable' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanReportStaInfo' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwApProfConsoleBLEMode' => { - '1' => 'disable', - '2' => 'dynamic', - '3' => 'persistent', - }, - 'hwVapAntiAttackIGMPFloodSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hw5gRadioApEDCAVideoAckPolicy' => { - '1' => 'normal', - '2' => 'noAck', - }, - 'hwIDIndexedAPSpRadioCalibrateFlexibleRadio' => { - '1' => 'disable', - '255' => 'invalid', - }, - 'hwApProfMeshRole' => { - '1' => 'mp', - '2' => 'mpp', - }, - 'hwRrmBssColorSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwUCCProfLyncShareDscp' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwConnectionCapabilityEsp' => { - '1' => 'unknown', - '2' => 'on', - '3' => 'off', - }, - 'hwIDIndexedAPSpAutoTxPowerSelectSwitch' => { - '1' => 'disable', - '2' => 'enable', - '255' => 'invalid', - }, - 'hwAPGrpCardNetProtocolType' => { - '1' => 'udp', - '2' => 'tcp', - '3' => 'invalid', - }, - 'hw2gRadioInterferenceDetectSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwConnectionCapabilityTcpPptpVpn' => { - '1' => 'unknown', - '2' => 'on', - '3' => 'off', - }, - 'hwAPTrafficProfileOptimizeUcSendND' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwVapArpBindCheck' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwVapOptinon82CidMacFormat' => { - '0' => 'default', - '1' => 'normal', - '2' => 'compact', - '3' => 'hex', - }, - 'hwAirScanVoiceAware' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwSecurityWapiUskUpdateMethod' => { - '1' => 'disabled', - '2' => 'timeBased', - '3' => 'packetBased', - '4' => 'timepacketBased', - }, - 'hwVapAntiAttackNDFloodSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPTrafficProfileSvpVoice' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPSpAutoChannelSelectSwitch' => { - '1' => 'disable', - '2' => 'enable', - '255' => 'invalid', - }, - 'hwWlanBLEReportMode' => { - '1' => 'periodic', - '2' => 'immediate', - }, - 'hwAPSpIoTNetProtocolType' => { - '1' => 'udp', - '2' => 'tcp', - '3' => 'invalid', - }, - 'hwApSysBCMCSuppressionPktType' => { - '1' => 'otherBroadcast', - '2' => 'arp', - '3' => 'igmp', - '4' => 'nd', - '5' => 'dhcp', - '6' => 'dhcpv6', - '7' => 'mdns', - '8' => 'otherMulticast', - }, - 'hwVapRoamHomeAgent' => { - '1' => 'ap', - '2' => 'ac', - }, - 'hw2GRadioRu26ToleranceSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwIDIndexedAPSpSfnRoamBeaconSwitch' => { - '1' => 'disable', - '255' => 'invalid', - }, - 'hwAPTrafficProfilePriorityMapDnTrustMode' => { - '1' => 'trustDSCP', - '2' => 'trust8021P', - }, - 'hw5gRadioDot11axGuardIntervalMode' => { - '1' => 'gi0dot8', - '2' => 'gi1dot6', - '3' => 'gi3dot2', - }, - 'hwVapAntiAttackBroadcastFloodSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPWiredPortProfileUserIsolate' => { - '1' => 'disable', - '2' => 'l3Isolate', - '3' => 'l2Isolate', - }, - 'hwBranchGroupServerCertFileType' => { - '1' => 'der', - '3' => 'pem', - '4' => 'na', - }, - 'hwVapProfileMuBaTriggerMode' => { - '1' => 'basictrigger', - '2' => 'mubar', - }, - 'hw5gRadioShortPreamble' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwUCCProfLyncShare8021p' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwVapAntiAttackDefFloodBlacklistSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwApProfLedSwitch' => { - '1' => 'off', - '2' => 'on', - }, - 'hw2gRadioApEDCABKAckPolicy' => { - '1' => 'normal', - '2' => 'noAck', - }, - 'hwWlanMeshProfileClientModeSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanMasterControllerSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hw5gRadioProfileMuMIMOEnable' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPGroupRadioCalibrateFlexibleRadio' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hw2gRadioProfileRadioType' => { - '1' => 'dot11b', - '5' => 'dot11g', - '9' => 'dot11n', - '17' => 'dot11ax', - }, - 'hwConnectionCapabilityTcpHttp' => { - '1' => 'unknown', - '2' => 'on', - '3' => 'off', - }, - 'hwAPPortLinkProfileLldpLegacyPowerCapability' => { - '1' => 'enable', - '2' => 'disable', - }, - 'hwAPSpReferenceDataAnalysis' => { - '1' => 'disable', - '2' => 'enable', - '255' => 'invalid', - }, - 'hwApProfEapResponseTransform' => { - '1' => 'equalBssid', - '2' => 'always', - }, - 'hw2gRadioChannelSwitchMode' => { - '1' => 'continueTransmitting', - '2' => 'stopTransmitting', - }, - 'hwAPGrpWPInterfaceType' => { - '1' => 'fe', - '2' => 'ge', - '3' => 'trunk', - '4' => 'multige', - '5' => 'xge', - }, - 'hwAPSpAutoBandwidthSelectSwitch' => { - '1' => 'disable', - '2' => 'enable', - '255' => 'invalid', - }, - 'hwWlanClusterRedundancyTrackVRRPType' => { - '1' => 'vrrpv4', - '2' => 'vrrpv6', - '3' => 'invalid', - }, - 'hwWlanGlobalIpv6Enable' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanMeshProfilePriorityMapTrustMode' => { - '1' => 'trustDSCP', - '2' => 'trust8021P', - }, - 'hwFatApRadioServiceIdxBandwidth' => { - '1' => 'ht20', - '2' => 'ht40Plus', - '3' => 'ht40Minus', - '4' => 'ht80', - '5' => 'ht160', - '255' => 'invalid', - }, - 'hwApSystemProfileNPFastForwardingSwitch' => { - '1' => 'enable', - '2' => 'disable', - }, - 'hwWlanGlobalAntiInterferencePerPacketTpcSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwIDIndexedAPSpSfnRoamCtsSwitch' => { - '1' => 'disable', - '255' => 'invalid', - }, - 'hwApPwdPolicyEnable' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwHighwayDirection' => { - '1' => 'positive', - '2' => 'reverse', - }, - 'hwApProfSpectrumViaACSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPWiredPortProfilePortMode' => { - '1' => 'root', - '2' => 'endpoint', - '3' => 'middle', - '256' => 'null', - }, - 'hwApProfStaAccessMode' => { - '1' => 'disable', - '2' => 'blacklist', - '3' => 'whitelist', - }, - 'hwAPWiredPortProfileTrafficFilterDirection' => { - '1' => 'inbound', - '2' => 'outbound', - }, - 'hwSsidProfile80211rMode' => { - '0' => 'unknown', - '1' => 'overtheair', - '2' => 'overtheds', - }, - 'hw5gRadioProfileUtmostPowerSwitch' => { - '1' => 'disable', - '2' => 'auto', - '3' => 'enable', - }, - 'hwVapBackUpMode' => { - '1' => 'manual', - '2' => 'auto', - '3' => 'invalid', - }, - 'hwAPWiredPortProfileNdTrust' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwVapTemporaryManagementSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwVlanPoolAssignMethod' => { - '1' => 'hash', - '2' => 'even', - }, - 'hwIDIndexedAPSpRadioWorkMode' => { - '1' => 'normal', - '2' => 'monitor', - '3' => 'dualband', - '4' => 'proxyScan', - '255' => 'invalid', - }, - 'hwAPPortLinkProfilePoePriority' => { - '1' => 'critical', - '2' => 'high', - '3' => 'low', - }, - 'hwWlanStaDelayOffLineNewStaOnlineSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hw2gRadioProfileSmartAntennaEnable' => { - '1' => 'default', - '2' => 'enable', - '3' => 'disable', - }, - 'hwAPWiredPortProfileTrafficFilterType' => { - '1' => 'ipv4', - '2' => 'ipv6', - '3' => 'l2', - }, - 'hwWlanMeshNdTrustPort' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanMobilityMemberIPv6State' => { - '1' => 'fault', - '2' => 'normal', - '3' => 'vmiss', - '4' => 'invalid', - }, - 'hwSsidTwtSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwVapRadiusState' => { - '1' => 'up', - '2' => 'down', - '3' => 'invalid', - }, - 'hwUCCProfLyncFileTransfer8021p' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwBranchGroupFileLoadOper' => { - '1' => 'start', - '2' => 'cancel', - }, - 'hwRrmAutoChannelSelectSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPTrafficProfileOptimizeUcSendARP' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPWiredPortProfilePortSec' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwSsidAdvertiseApNameSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwConnectionCapabilityIcmp' => { - '1' => 'unknown', - '2' => 'on', - '3' => 'off', - }, - 'hwVapAntiAttackBroadcastFloodBlacklistSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwFatApAntennaOutputMode' => { - '1' => 'combine', - '2' => 'split', - }, - 'hwVapLearnIpv6AddressIpconflictuncheck' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwLocationPaiboMuEnable' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanRadioCalibrateFlexRadioManualRecognize' => { - '1' => 'enable', - }, - 'hwWdsNdTrustPort' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPSpRadioWorkMode' => { - '1' => 'normal', - '2' => 'monitor', - '3' => 'dualband', - '4' => 'proxyScan', - '255' => 'invalid', - }, - 'hwWlanGlobalAntiInterferenceSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwSsidLegacyStaSwitch' => { - '1' => 'disable', - '2' => 'enable', - '3' => 'onlyDot11bDisable', - }, - 'hwWlanClusterACRole' => { - '1' => 'master', - '2' => 'slave', - '3' => 'backup', - }, - 'hwWlanAcState' => { - '1' => 'normal', - '2' => 'fault', - }, - 'hwIoTProfileAntennaStatus' => { - '1' => 'external', - '2' => 'internal', - '3' => 'invalid', - }, - 'hwApProfSTelnetSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanNaviRemoteACState' => { - '1' => 'fault', - '2' => 'vmiss', - '3' => 'normal', - }, - 'hwWlanLicenseCentralizedRole' => { - '1' => 'server', - '2' => 'client', - }, - 'hwWlanAPProvisionAddressMode' => { - '1' => 'static', - '2' => 'dhcp', - '3' => 'slaac', - }, - 'hw2gRadioPowerAutoAdjustSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanConnectMasterControllerSwitch' => { - '1' => 'disconnect', - '2' => 'connect', - }, - 'hwIoTSerialStopbits' => { - '1' => 'one', - '2' => 'two', - }, - 'hw2gRadioWmmMandatorySwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwVapLearnIpv6Address' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwApProfPoeHighInrushSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPTrafficProfileUserIsolate' => { - '1' => 'disable', - '2' => 'l3Isolate', - '3' => 'l2Isolate', - }, - 'hwUCCProfLyncVideoDscp' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPGrpAutoTxPowerSelectSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwSACProfileActionType' => { - '0' => 'unknown', - '1' => 'deny', - '2' => 'car', - '3' => 'remarkDscp', - '4' => 'remark8021p', - }, - 'hw2gRadioWifiLight' => { - '1' => 'signalStrength', - '2' => 'traffic', - }, - 'hwWlanClusterSynConfigurationOper' => { - '1' => 'synConfig', - }, - 'hwTrafficProfileTrafficRemarkType' => { - '1' => 'dscp', - '3' => 'dot11e', - }, - 'hwWlanBLEReportEnable' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwVapAntiAttackARPFloodSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwApProfBroadcastSuppressionOtherEnable' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanBLEBroadcasterEnable' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwIDIndexedAPSpWPInterfaceType' => { - '1' => 'fe', - '2' => 'ge', - '3' => 'trunk', - '4' => 'multige', - '5' => 'xge', - }, - 'hwWdsDhcpTrustPort' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hw5GRadioRu26ToleranceSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwApProfTelnetSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPTrafficProfileRemarkDirection' => { - '1' => 'inbound', - '2' => 'outbound', - }, - 'hwAPGrpAutoChannelSelectSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPPortLinkProfilePoeLegacySwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwTrafficProfileTrafficRemarkDirection' => { - '1' => 'inbound', - '2' => 'outbound', - }, - 'hwSACProfVapStat' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPGrpWidsRogueContainSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hw2gRadioChannelSwitchAnnouncementSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPBranchGroupFileStatus' => { - '1' => 'normal', - '2' => 'unload', - '3' => 'loading', - '4' => 'loadfailcancel', - '5' => 'loadfailwriteflashfail', - '6' => 'loadfailfilenotexist', - '7' => 'loadfailtimeout', - '8' => 'loadfailexception', - '9' => 'loadfileabnormalfile', - '10' => 'na', - }, - 'hwAPTrafficProfileOptimizeBcMcMismatchAct' => { - '1' => 'traverse', - '2' => 'drop', - }, - 'hwVapHighwayEnable' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanMeshProfileBeacon5gRate' => { - '6' => 'six', - '9' => 'nine', - '12' => 'twelve', - '18' => 'eighteen', - '24' => 'twentyfour', - '36' => 'thirtysix', - '48' => 'fortyeight', - '54' => 'fiftyfour', - }, - 'hwApProfBroadcastSuppressionIgmpEnable' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hw2gRadioAgileAntennaPolarSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPPortLinkProfileAdminStatus' => { - '1' => 'down', - '2' => 'up', - }, - 'hwWlanRadioCalibrateSensitivity' => { - '1' => 'medium', - '2' => 'high', - '3' => 'low', - '4' => 'insensitivity', - '5' => 'custom', - }, - 'hw5gRadioAutoOffServiceSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWdsProfileBeacon5gRate' => { - '6' => 'six', - '9' => 'nine', - '12' => 'twelve', - '18' => 'eighteen', - '24' => 'twentyfour', - '36' => 'thirtysix', - '48' => 'fortyeight', - '54' => 'fiftyfour', - }, - 'hwWlanProtectRestoreSwitch' => { - '1' => 'enable', - '2' => 'disable', - }, - 'hwApProfEapStartMode' => { - '1' => 'broadcast', - '2' => 'multicast', - '3' => 'unicast', - }, - 'hwSecurityWapiMskUpdateMethod' => { - '1' => 'disabled', - '2' => 'timeBased', - '3' => 'packetBased', - '4' => 'timepacketBased', - }, - 'hwWiredPortProfileTrafficFilterDirection' => { - '1' => 'inbound', - '2' => 'outbound', - }, - 'hwWlanMobilityMemberIPv4State' => { - '1' => 'fault', - '2' => 'normal', - '3' => 'vmiss', - '4' => 'invalid', - }, - 'hwWdsMuMIMOSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwVapOptinon82InsertCidFormat' => { - '1' => 'apMac', - '2' => 'apMacSsid', - '3' => 'userDefined', - '4' => 'apName', - '5' => 'apNameSsid', - '6' => 'apLocation', - '7' => 'apLocationSsid', - }, - 'hwAPTrafficProfilePriorityMapUpPayloadTrustMode' => { - '1' => 'trust80211E', - '2' => 'trustDSCP', - }, - 'hwHighwayDeloyType' => { - '1' => 'b2b', - '2' => 'f2f', - }, - 'hwWlanIDIndexedSpApAddressMode' => { - '1' => 'static', - '2' => 'dhcp', - '3' => 'slaac', - }, - 'hwAPTrafficProfileOptimizeProxyARP' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwApProfKeepServiceSwitch' => { - '1' => 'enable', - '2' => 'disable', - '3' => 'allowaccess', - '4' => 'allowAccessAlsoNoauth', - }, - 'hwSsidSingleTxchainSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwIoTProfileType' => { - '0' => 'common', - '1' => 'casEdu', - }, - 'hwAPTrafficProfileRemarkType' => { - '1' => 'dscp', - '3' => 'dot11e', - }, - 'hwUCCProfLyncFileTransferDscp' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwSsidDenyBroadcastProbe' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPGrpCardConnType' => { - '1' => 'serial', - '2' => 'ethernet', - '3' => 'unknown', - }, - 'hwAPGrpAutoBandwidthSelectSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwFatApStaArpNDProxyBeforeAssoc' => { - '1' => 'no', - '2' => 'yes', - }, - 'hwApProfPoeAfInrushSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwSsidHideWhileReachMaxSta' => { - '1' => 'advertiseSSID', - '2' => 'hideSSID', - '3' => 'replaceBasedOnPriority', - }, - 'hwWiredPortProfileTrafficRemarkDirection' => { - '1' => 'inbound', - '2' => 'outbound', - }, - 'hwAPSpRadioSwitch' => { - '1' => 'disable', - '255' => 'invalid', - }, - 'hwRrmAutoTxPowerSelectSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwApProfLogRecordLevel' => { - '1' => 'emergency', - '2' => 'alert', - '3' => 'critical', - '4' => 'error', - '5' => 'warning', - '6' => 'notice', - '7' => 'info', - '8' => 'debug', - }, - 'hwVapMdnsPolicyLocalACSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwApProfPkiCertFileType' => { - '1' => 'pem', - '2' => 'pkcs12', - '255' => 'invalid', - }, - 'hwIDIndexedAPSpRadioFrequency' => { - '1' => 'frequency2G', - '2' => 'frequency5G', - '255' => 'invalid', - }, - 'hwVapStaNetworkDetectSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPWiredPortProfileDhcpTrust' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPTrafficProfileOptimizeBcMcDenyAll' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPTrafficProfileMcToUcDynamicAdatptive' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwSsidUapsd' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwRrmLoadBalanceMode' => { - '1' => 'staNumber', - '2' => 'channelUtilization', - }, - 'hwHighwayMemberStatus' => { - '1' => 'notExist', - '2' => 'abnormal', - '3' => 'normal', - '4' => 'notConfig', - '5' => 'other', - }, - 'hwSsidProfile80211rPrivateSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwIDIndexedAPSpReferenceDataAnalysis' => { - '1' => 'disable', - '2' => 'enable', - '255' => 'invalid', - }, - 'hwVapLearnIpv4AddressIpconflictuncheck' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hw5gRadioApEDCABKAckPolicy' => { - '1' => 'normal', - '2' => 'noAck', - }, - 'hwRrmUacLimitClientSnrSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanMobilityServerState' => { - '1' => 'fault', - '2' => 'vmiss', - '3' => 'normal', - }, - 'hwVAPProfileAntiAttackSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hw2gRadioProfileUtmostPowerSwitch' => { - '1' => 'disable', - '2' => 'auto', - '3' => 'enable', - }, - 'hwWlanMeshFwaSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwVapAutonavigationRoamOptimizeSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwIDIndexedAPSpSpectrumAnalysisSwitch' => { - '2' => 'enable', - '255' => 'invalid', - }, - 'hwAPWiredPortProfileLearnIpv6Address' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwRrmLoadBalanceSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAirScanSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanLicenseCentralizedSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwBranchGroupFileStatus' => { - '1' => 'success', - '2' => 'exception', - '3' => 'none', - '4' => 'loading', - '5' => 'unload', - }, - 'hwAPTrafficProfileRemarkIPType' => { - '1' => 'ipv4', - '2' => 'ipv6', - '3' => 'l2', - }, - 'hw2gRadioWmmSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwRrmDynamicEdcaSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwApProfAntennaOutputMode' => { - '1' => 'combine', - '2' => 'split', - }, - 'hwAPTrafficProfileFilterDirection' => { - '1' => 'inbound', - '2' => 'outbound', - }, - 'hw5gRadioApEDCABEAckPolicy' => { - '1' => 'normal', - '2' => 'noAck', - }, - 'hwApProfConsoleSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwLocationCollectLocationDataSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hw5gRadioRtsCtsMode' => { - '1' => 'disable', - '2' => 'ctsToSelf', - '3' => 'rtsCts', - }, - 'hwAPSpWidsDeviceDetectSwitch' => { - '2' => 'enable', - '255' => 'invalid', - }, - 'hwAPTrafficProfileRateLimitClientDynamic' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hw2gRadioHtAmpduSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwApSysBCMCSuppressionSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwTrafficProfileTrafficFilterDirection' => { - '1' => 'inbound', - '2' => 'outbound', - }, - 'hwAPWiredPortProfileTrafficRemarkType' => { - '1' => 'dscp', - '2' => 'dot1p', - }, - 'hwRrmUacPolicyType' => { - '1' => 'users', - '2' => 'channelUtilization', - '255' => 'unknown', - }, - 'hwAPTrafficProfileIGMPSnoopingReportSuppress' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwRrmHighDensityAmcOptimizeSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwApProfMppActiveReselectionSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPSpApAddressMode' => { - '1' => 'static', - '2' => 'dhcp', - '3' => 'slaac', - }, - 'hwAPGrpSpectrumAnalysisSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwFatApWidsDeviceDetectSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwVapForwardMode' => { - '1' => 'unknown', - '2' => 'directForward', - '3' => 'tunnel', - '4' => 'softgre', - }, - 'hwRrmSmartRoamQuickKickoffSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwApPwdIsExpired' => { - '1' => 'notexpired', - '2' => 'expired', - }, - 'hwWlanApAuthMode' => { - '1' => 'macAuth', - '2' => 'snAuth', - '3' => 'noAuth', - }, - 'hwRrmUacReachThresholdHideSsidSwitch' => { - '1' => 'advertiseSSID', - '2' => 'hideSSID', - '3' => 'replaceBasedOnPriority', - }, - 'hwAPWiredPortProfileSTPAutoShutdown' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwIDIndexedAPSpAutoBandwidthSelectSwitch' => { - '1' => 'disable', - '2' => 'enable', - '255' => 'invalid', - }, - 'hwVapRoamLayer3Switch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwVapDhcpTrustPort' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPWiredPortProfileArpBindCheck' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwHighwayMemberType' => { - '1' => 'start', - '2' => 'middle', - '3' => 'end', - }, - 'hwRrmSpatialReuseSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPSpSpectrumAnalysisSwitch' => { - '2' => 'enable', - '255' => 'invalid', - }, - 'hwAPGrpRadioWorkMode' => { - '1' => 'normal', - '2' => 'monitor', - '3' => 'dualband', - '4' => 'proxyScan', - }, - 'hwAPWiredPortProfileTrafficRemarkDirection' => { - '1' => 'inbond', - '2' => 'outbond', - }, - 'hwRrmAirtimeFairSchduleSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanMeshProfileBeacon2gRate' => { - '1' => 'one', - '2' => 'two', - '5' => 'five', - '6' => 'six', - '9' => 'nine', - '11' => 'eleven', - '12' => 'twelve', - '18' => 'eighteen', - '24' => 'twentyfour', - '36' => 'thirtysix', - '48' => 'fortyeight', - '54' => 'fiftyfour', - }, - 'hwApProfSFTPSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPTrafficProfileOptimizeUcSendDHCP' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwIDIndexedAPSpRadioBandwidth' => { - '1' => 'ht20', - '2' => 'ht40Plus', - '3' => 'ht40Minus', - '4' => 'ht80', - '5' => 'ht160', - '255' => 'invalid', - }, - 'hwVapAntiAttackDefFloodProtocolType' => { - '0' => 'unknown', - '1' => 'l2', - '2' => 'ipv4', - '3' => 'ipv6', - '4' => 'tcp', - '5' => 'udp', - }, - 'hwWlanReportStaAssocInfo' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwFatApRadioSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwApProfEapResponseMode' => { - '1' => 'broadcast', - '2' => 'multicast', - '3' => 'specific', - '4' => 'learnling', - }, - 'hwWlanLicenseClientState' => { - '1' => 'fault', - '2' => 'normal', - }, - 'hwAPSpRadioCalibrateFlexibleRadio' => { - '1' => 'disable', - '255' => 'invalid', - }, - 'hwAPPortLinkProfileLldpdot3PowerFormat' => { - '1' => 'default', - '2' => 'ab', - '3' => 'at', - '4' => 'bt', - }, - 'hwWlanCfgHsbServiceType' => { - '1' => 'disable', - '2' => 'hsbGroup', - '3' => 'hsbService', - }, - 'hwAirScanChannelSet' => { - '1' => 'countryChannel', - '2' => 'dcaChannel', - '3' => 'workChannel', - }, - 'hwConnectionCapabilityTcpFtp' => { - '1' => 'unknown', - '2' => 'on', - '3' => 'off', - }, - 'hw5gRadioApEDCAVoiceAckPolicy' => { - '1' => 'normal', - '2' => 'noAck', - }, - 'hwVapNdTrustPort' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwUCCProfLyncVoiceDscp' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwLocationSurFilterReportProtocol' => { - '1' => 'sftp', - '2' => 'ftp', - }, - 'hwWlanMeshHOMovingDirection' => { - '1' => 'forward', - '2' => 'backward', - '3' => 'undetermined', - }, - 'hwVapOptinon82RidMacFormat' => { - '0' => 'default', - '1' => 'normal', - '2' => 'compact', - '3' => 'hex', - }, - 'hwAPWiredPortProfilePortSTPSwitch' => { - '1' => 'disable', - '2' => 'enable', - '3' => 'auto', - }, - 'hwSecurityWpaPskMode' => { - '1' => 'pskPassphase', - '2' => 'pskHex', - }, - 'hw5gRadioBeamformingSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPGrpRadioBandwidth' => { - '1' => 'ht20', - '2' => 'ht40Plus', - '3' => 'ht40Minus', - '4' => 'ht80', - '5' => 'ht160', - '255' => 'invalid', - }, - 'hw5gRadioAgileAntennaPolarSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPGrpReferenceDataAnalysis' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwAPTrafficProfileFilterType' => { - '1' => 'ipv4', - '2' => 'ipv6', - '3' => 'l2', - }, - 'hwVapServiceExpAnalysisSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwLocationEkahauTagEnable' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwIoTSerialParity' => { - '1' => 'none', - '2' => 'odd', - '3' => 'even', - '4' => 'space', - '5' => 'mark', - }, - 'hwFatApReferenceDataAnalysis' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwApProfEapStartTransform' => { - '1' => 'equalBssid', - '2' => 'always', - }, - 'hwWlanMobilityClientIPv6State' => { - '1' => 'fault', - '2' => 'normal', - '3' => 'vmiss', - }, - 'hwSecurityWpaPtkUpdateSwitch' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwSoftgreKeepaliveFlag' => { - '1' => 'disable', - '2' => 'enable', - }, - 'hwWlanPPSKPskMode' => { - '1' => 'passPhrase', - '2' => 'hex', - }, - 'hwVapIpBindCheck' => { - '1' => 'disable', - '2' => 'enable', - }, -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIWLANSTATIONMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIWLANSTATIONMIB.pm deleted file mode 100644 index 2a74786..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIWLANSTATIONMIB.pm +++ /dev/null @@ -1,447 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::HUAWEIWLANSTATIONMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'HUAWEI-WLAN-STATION-MIB'} = { - url => '', - name => 'HUAWEI-WLAN-STATION-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'HUAWEI-WLAN-STATION-MIB'} = - '1.3.6.1.4.1.2011.6.139.18'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'HUAWEI-WLAN-STATION-MIB'} = { - 'hwWlanStation' => '1.3.6.1.4.1.2011.6.139.18', - 'hwWlanStationObjects' => '1.3.6.1.4.1.2011.6.139.18.1', - 'hwWlanStaTraps' => '1.3.6.1.4.1.2011.6.139.18.1.1', - 'hwWlanStaTrap' => '1.3.6.1.4.1.2011.6.139.18.1.1.1', - 'hwWlanStaTrapObjects' => '1.3.6.1.4.1.2011.6.139.18.1.1.2', - 'hwWlanStaAuthenticationMode' => '1.3.6.1.4.1.2011.6.139.18.1.1.2.1', - 'hwWlanStaAuthenticationFailCause' => '1.3.6.1.4.1.2011.6.139.18.1.1.2.2', - 'hwWlanStaAssociationFailCause' => '1.3.6.1.4.1.2011.6.139.18.1.1.2.3', - 'hwWlanStaAssocBssid' => '1.3.6.1.4.1.2011.6.139.18.1.1.2.4', - 'hwWlanStaFailCodeType' => '1.3.6.1.4.1.2011.6.139.18.1.1.2.5', - 'hwWlanStaFailCodeTypeDefinition' => 'HUAWEI-WLAN-STATION-MIB::hwWlanStaFailCodeType', - 'hwWlanWepIDConflictTrapAPMAC' => '1.3.6.1.4.1.2011.6.139.18.1.1.2.6', - 'hwWlanWepIDConflictTrapAPName' => '1.3.6.1.4.1.2011.6.139.18.1.1.2.7', - 'hwWlanWepIDConflictTrapRadioId' => '1.3.6.1.4.1.2011.6.139.18.1.1.2.8', - 'hwWlanWepIDConflictTrapPreSSID' => '1.3.6.1.4.1.2011.6.139.18.1.1.2.9', - 'hwWlanWepIDConflictTrapCurrSSID' => '1.3.6.1.4.1.2011.6.139.18.1.1.2.10', - 'hwWlanWepIDConflictTrapCipherIdx' => '1.3.6.1.4.1.2011.6.139.18.1.1.2.11', - 'hwWlanWlanStaAuthEncryptMode' => '1.3.6.1.4.1.2011.6.139.18.1.1.2.12', - 'hwWlanWlanVapAuthEncryptMode' => '1.3.6.1.4.1.2011.6.139.18.1.1.2.13', - 'hwWlanStaAuthenticationFailCauseStr' => '1.3.6.1.4.1.2011.6.139.18.1.1.2.14', - 'hwWlanStaAssociationFailCauseStr' => '1.3.6.1.4.1.2011.6.139.18.1.1.2.15', - 'hwWlanSignalStrengthThreshold' => '1.3.6.1.4.1.2011.6.139.18.1.1.2.16', - 'hwWlanStaTrapOccurTime' => '1.3.6.1.4.1.2011.6.139.18.1.1.2.17', - 'hwWlanConflictIPAddress' => '1.3.6.1.4.1.2011.6.139.18.1.1.2.18', - 'hwWlanStationTable' => '1.3.6.1.4.1.2011.6.139.18.1.2', - 'hwWlanStationEntry' => '1.3.6.1.4.1.2011.6.139.18.1.2.1', - 'hwWlanStaMac' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.1', - 'hwWlanStaUsername' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.2', - 'hwWlanStaApMac' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.3', - 'hwWlanStaApName' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.4', - 'hwWlanStaApGroup' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.5', - 'hwWlanStaRadioId' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.6', - 'hwWlanStaAssocBand' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.7', - 'hwWlanStaSupportBand' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.8', - 'hwWlanStaAccessChannel' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.9', - 'hwWlanStaRfMode' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.10', - 'hwWlanStaRfModeDefinition' => 'HUAWEI-WLAN-STATION-MIB::hwWlanStaRfMode', - 'hwWlanStaHtMode' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.11', - 'hwWlanStaHtModeDefinition' => 'HUAWEI-WLAN-STATION-MIB::hwWlanStaHtMode', - 'hwWlanStaMcsVal' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.12', - 'hwWlanStaShortGIStatus' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.13', - 'hwWlanStaShortGIStatusDefinition' => 'HUAWEI-WLAN-STATION-MIB::hwWlanStaShortGIStatus', - 'hwWlanStaConnectRxRate' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.14', - 'hwWlanStaConnectTxRate' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.15', - 'hwWlanStaEssName' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.16', - 'hwWlanStaBSSID' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.17', - 'hwWlanStaSsid' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.18', - 'hwWlanStaStatus' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.19', - 'hwWlanStaStatusDefinition' => 'HUAWEI-WLAN-STATION-MIB::hwWlanStaStatus', - 'hwWlanStaAuthenMethod' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.20', - 'hwWlanStaAuthenMethodDefinition' => 'HUAWEI-WLAN-STATION-MIB::hwWlanStaAuthenMethod', - 'hwWlanStaEncryptMethod' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.21', - 'hwWlanStaEncryptMethodDefinition' => 'HUAWEI-WLAN-STATION-MIB::hwWlanStaEncryptMethod', - 'hwWlanStaQosMode' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.22', - 'hwWlanStaQosModeDefinition' => 'HUAWEI-WLAN-STATION-MIB::hwWlanStaQosMode', - 'hwWlanStaRoamStatus' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.23', - 'hwWlanStaRoamStatusDefinition' => 'HUAWEI-WLAN-STATION-MIB::hwWlanStaRoamStatus', - 'hwWlanStaVlan' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.24', - 'hwWlanStaIP' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.25', - 'hwWlanStaIPv6' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.26', - 'hwWlanStaGateway' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.27', - 'hwWlanStaAssocTime' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.28', - 'hwWlanStaAccessTime' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.29', - 'hwWlanStaOnlineTime' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.30', - 'hwWlanStaAccessOnlineTime' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.31', - 'hwWlanStaStatOperMode' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.32', - 'hwWlanStaStatOperModeDefinition' => 'HUAWEI-WLAN-STATION-MIB::hwWlanStaStatOperMode', - 'hwWlanStaWirelessStatRxFrames' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.33', - 'hwWlanStaWirelessRxBytes' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.34', - 'hwWlanStaWirelessRxRate' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.35', - 'hwWlanStaWirelessStatTxFrames' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.36', - 'hwWlanStaWirelessTxBytes' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.37', - 'hwWlanStaWirelessTxRate' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.38', - 'hwWlanStaPeriodSendDropFrames' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.39', - 'hwWlanStaPeriodReSendFrames' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.40', - 'hwWlanStaPeriodReSendBytes' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.41', - 'hwWlanStaRssi' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.42', - 'hwWlanStaNoise' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.43', - 'hwWlanStaSnrUs' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.44', - 'hwWlanStaRxPowerUs' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.45', - 'hwWlanStaChannelUtilRate' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.46', - 'hwWlanStaChannelBusyRate' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.47', - 'hwWlanStaChannelTxRatio' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.48', - 'hwWlanStaChannelRxRatio' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.49', - 'hwWlanStaChannelFreeRate' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.50', - 'hwWlanStaChannelInterfRate' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.51', - 'hwWlanStaPeriodSendFrames' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.52', - 'hwWlanStaApId' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.53', - 'hwWlanStationUapsdCapacity' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.54', - 'hwWlanStationPowerSavePercent' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.55', - 'hwWlanStaAssocStartTime' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.56', - 'hwWlanStaAssocSuccessTime' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.57', - 'hwWlanStaAuthStartTime' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.58', - 'hwWlanStaAuthSuccessTime' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.59', - 'hwWlanStaDhcpStartTime' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.60', - 'hwWlanStaDhcpSuccessTime' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.61', - 'hwWlanStaVHTCapable' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.62', - 'hwWlanStaVHTCapableDefinition' => 'HUAWEI-WLAN-STATION-MIB::hwWlanStaVHTCapable', - 'hwWlanStaVHTTxBFCapable' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.63', - 'hwWlanStaVHTTxBFCapableDefinition' => 'HUAWEI-WLAN-STATION-MIB::hwWlanStaVHTTxBFCapable', - 'hwWlanStaMUMIMOCapable' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.64', - 'hwWlanStaMUMIMOCapableDefinition' => 'HUAWEI-WLAN-STATION-MIB::hwWlanStaMUMIMOCapable', - 'hwWlanStaWpaStartTime' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.65', - 'hwWlanStaWpaSuccessTime' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.66', - 'hwWlanStaWirelessPacketDelay' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.67', - 'hwWlanStaAccessSuccessRate' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.68', - 'hwWlanStaTotalAccessTime' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.69', - 'hwWlanStaDelayStatus' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.70', - 'hwWlanStaDelayStatusDefinition' => 'HUAWEI-WLAN-STATION-MIB::hwWlanStaDelayStatus', - 'hwWlanStaAssocDuration' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.71', - 'hwWlanStaWpaDuration' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.72', - 'hwWlanStaAuthDuration' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.73', - 'hwWlanStaDhcpDuration' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.74', - 'hwWlanStationDevType' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.75', - 'hwWlanStaNaviACID' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.76', - 'hwWlanStaWirelessStatRxIPv6Frames' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.77', - 'hwWlanStaWirelessRxIPv6Bytes' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.78', - 'hwWlanStaWirelessStatTxIPv6Frames' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.79', - 'hwWlanStaWirelessTxIPv6Bytes' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.80', - 'hwWlanStaGatewayIPv6' => '1.3.6.1.4.1.2011.6.139.18.1.2.1.81', - 'hwWlanStationApStatTable' => '1.3.6.1.4.1.2011.6.139.18.1.3', - 'hwWlanStationApStatEntry' => '1.3.6.1.4.1.2011.6.139.18.1.3.1', - 'hwWlanApAssocStatApMac' => '1.3.6.1.4.1.2011.6.139.18.1.3.1.1', - 'hwWlanTotalOnlineTime' => '1.3.6.1.4.1.2011.6.139.18.1.3.1.2', - 'hwWlanTotalAssociatedStationCount' => '1.3.6.1.4.1.2011.6.139.18.1.3.1.3', - 'hwWlanCurrAssociatedStationCount' => '1.3.6.1.4.1.2011.6.139.18.1.3.1.4', - 'hwWlanAssociationRequestCount' => '1.3.6.1.4.1.2011.6.139.18.1.3.1.5', - 'hwWlanAssociationRejectCount' => '1.3.6.1.4.1.2011.6.139.18.1.3.1.6', - 'hwWlanAssociationFailedCount' => '1.3.6.1.4.1.2011.6.139.18.1.3.1.7', - 'hwWlanReAssociationRequestCount' => '1.3.6.1.4.1.2011.6.139.18.1.3.1.8', - 'hwWlanReAssociationRejectCount' => '1.3.6.1.4.1.2011.6.139.18.1.3.1.9', - 'hwWlanReAssociationFailedCount' => '1.3.6.1.4.1.2011.6.139.18.1.3.1.10', - 'hwWlanDisAssocOfUserNotifiedCount' => '1.3.6.1.4.1.2011.6.139.18.1.3.1.11', - 'hwWlanDisAssocOfStaRoamCount' => '1.3.6.1.4.1.2011.6.139.18.1.3.1.12', - 'hwWlanDisAssocOfStaAgeCount' => '1.3.6.1.4.1.2011.6.139.18.1.3.1.13', - 'hwWlanDisAssocOfApUnableHandleCount' => '1.3.6.1.4.1.2011.6.139.18.1.3.1.14', - 'hwWlanDisAssocOfOtherReasonsCount' => '1.3.6.1.4.1.2011.6.139.18.1.3.1.15', - 'hwWlanAssocRequestCntByResource' => '1.3.6.1.4.1.2011.6.139.18.1.3.1.16', - 'hwWlanStaExceptionalOfflineCnt' => '1.3.6.1.4.1.2011.6.139.18.1.3.1.17', - 'hwWlanReAssociationSuccessCount' => '1.3.6.1.4.1.2011.6.139.18.1.3.1.18', - 'hwWlanBSSNotSupportAssocFailCount' => '1.3.6.1.4.1.2011.6.139.18.1.3.1.19', - 'hwWlanStaAccessRequestCount' => '1.3.6.1.4.1.2011.6.139.18.1.3.1.20', - 'hwWlanStaAccessRequestFailedCount' => '1.3.6.1.4.1.2011.6.139.18.1.3.1.21', - 'hwWlanStaAuthenRequestCount' => '1.3.6.1.4.1.2011.6.139.18.1.3.1.22', - 'hwWlanStaAuthenRequestFailedCount' => '1.3.6.1.4.1.2011.6.139.18.1.3.1.23', - 'hwWlanRefusedStaNumByResource' => '1.3.6.1.4.1.2011.6.139.18.1.3.1.24', - 'hwWlanStaAssocAndReAssocRequestCount' => '1.3.6.1.4.1.2011.6.139.18.1.3.1.25', - 'hwWlanStaAuthenRequestSuccessCount' => '1.3.6.1.4.1.2011.6.139.18.1.3.1.26', - 'hwWlanStationApStatApId' => '1.3.6.1.4.1.2011.6.139.18.1.3.1.27', - 'hwWlanStaGetIPFailedCount' => '1.3.6.1.4.1.2011.6.139.18.1.3.1.28', - 'hwWlanStaGetIPSuccessCount' => '1.3.6.1.4.1.2011.6.139.18.1.3.1.29', - 'hwWlanStaOnlineFailInfo' => '1.3.6.1.4.1.2011.6.139.18.1.4', - 'hwWlanStaOnlineFailTable' => '1.3.6.1.4.1.2011.6.139.18.1.4.1', - 'hwWlanStaOnlineFailEntry' => '1.3.6.1.4.1.2011.6.139.18.1.4.1.1', - 'hwWlanStaOnlineFailMacAddress' => '1.3.6.1.4.1.2011.6.139.18.1.4.1.1.1', - 'hwWlanStaOnlineFailReasonIndex' => '1.3.6.1.4.1.2011.6.139.18.1.4.1.1.2', - 'hwWlanStaOnlineFailApMac' => '1.3.6.1.4.1.2011.6.139.18.1.4.1.1.3', - 'hwWlanStaOnlineFailApName' => '1.3.6.1.4.1.2011.6.139.18.1.4.1.1.4', - 'hwWlanStaOnlineFailRadioId' => '1.3.6.1.4.1.2011.6.139.18.1.4.1.1.5', - 'hwWlanStaOnlineFailWlanId' => '1.3.6.1.4.1.2011.6.139.18.1.4.1.1.6', - 'hwWlanStaOnlineFailLastFailTime' => '1.3.6.1.4.1.2011.6.139.18.1.4.1.1.7', - 'hwWlanStaOnlineFailReason' => '1.3.6.1.4.1.2011.6.139.18.1.4.1.1.8', - 'hwWlanStaOnlineFailSsid' => '1.3.6.1.4.1.2011.6.139.18.1.4.1.1.9', - 'hwWlanStaOnlineFailRowStatus' => '1.3.6.1.4.1.2011.6.139.18.1.4.1.1.10', - 'hwWlanStaOnlineFailApId' => '1.3.6.1.4.1.2011.6.139.18.1.4.1.1.11', - 'hwWlanStaOnlineFailDevType' => '1.3.6.1.4.1.2011.6.139.18.1.4.1.1.12', - 'hwWlanStaOnlineFailAcId' => '1.3.6.1.4.1.2011.6.139.18.1.4.1.1.13', - 'hwWlanStaOnlineFailAcName' => '1.3.6.1.4.1.2011.6.139.18.1.4.1.1.14', - 'hwWlanStaOnlineFailReasonTable' => '1.3.6.1.4.1.2011.6.139.18.1.4.2', - 'hwWlanStaOnlineFailReasonEntry' => '1.3.6.1.4.1.2011.6.139.18.1.4.2.1', - 'hwWlanStaOnlineFailReasonCode' => '1.3.6.1.4.1.2011.6.139.18.1.4.2.1.1', - 'hwWlanStaOnlineFailReasonDesc' => '1.3.6.1.4.1.2011.6.139.18.1.4.2.1.2', - 'hwWlanStaOnlineFailReasonCount' => '1.3.6.1.4.1.2011.6.139.18.1.4.2.1.3', - 'hwWlanStaOfflineInfo' => '1.3.6.1.4.1.2011.6.139.18.1.5', - 'hwWlanStaOfflineTable' => '1.3.6.1.4.1.2011.6.139.18.1.5.1', - 'hwWlanStaOfflineEntry' => '1.3.6.1.4.1.2011.6.139.18.1.5.1.1', - 'hwWlanStaOfflineMacAddress' => '1.3.6.1.4.1.2011.6.139.18.1.5.1.1.1', - 'hwWlanStaOfflineReasonIndex' => '1.3.6.1.4.1.2011.6.139.18.1.5.1.1.2', - 'hwWlanStaOfflineApMac' => '1.3.6.1.4.1.2011.6.139.18.1.5.1.1.3', - 'hwWlanStaOfflineApName' => '1.3.6.1.4.1.2011.6.139.18.1.5.1.1.4', - 'hwWlanStaOfflineRadioId' => '1.3.6.1.4.1.2011.6.139.18.1.5.1.1.5', - 'hwWlanStaOfflineWlanId' => '1.3.6.1.4.1.2011.6.139.18.1.5.1.1.6', - 'hwWlanStaOfflineLastFailTime' => '1.3.6.1.4.1.2011.6.139.18.1.5.1.1.7', - 'hwWlanStaOfflineReason' => '1.3.6.1.4.1.2011.6.139.18.1.5.1.1.8', - 'hwWlanStaOfflineSsid' => '1.3.6.1.4.1.2011.6.139.18.1.5.1.1.9', - 'hwWlanStaOfflineFailRowStatus' => '1.3.6.1.4.1.2011.6.139.18.1.5.1.1.10', - 'hwWlanStaOfflineApId' => '1.3.6.1.4.1.2011.6.139.18.1.5.1.1.11', - 'hwWlanStaOfflineDevType' => '1.3.6.1.4.1.2011.6.139.18.1.5.1.1.12', - 'hwWlanStaOfflineAcId' => '1.3.6.1.4.1.2011.6.139.18.1.5.1.1.13', - 'hwWlanStaOfflineAcName' => '1.3.6.1.4.1.2011.6.139.18.1.5.1.1.14', - 'hwWlanStaOfflineReasonTable' => '1.3.6.1.4.1.2011.6.139.18.1.5.2', - 'hwWlanStaOfflineReasonEntry' => '1.3.6.1.4.1.2011.6.139.18.1.5.2.1', - 'hwWlanStaOfflineReasonCode' => '1.3.6.1.4.1.2011.6.139.18.1.5.2.1.1', - 'hwWlanStaOfflineReasonDesc' => '1.3.6.1.4.1.2011.6.139.18.1.5.2.1.2', - 'hwWlanStaOfflineReasonCount' => '1.3.6.1.4.1.2011.6.139.18.1.5.2.1.3', - 'hwWlanStaRoamInfo' => '1.3.6.1.4.1.2011.6.139.18.1.6', - 'hwWlanStaRoamTraceTable' => '1.3.6.1.4.1.2011.6.139.18.1.6.1', - 'hwWlanStaRoamTraceEntry' => '1.3.6.1.4.1.2011.6.139.18.1.6.1.1', - 'hwWlanStaRoamTraceStaMac' => '1.3.6.1.4.1.2011.6.139.18.1.6.1.1.1', - 'hwWlanStaRoamTraceIndex' => '1.3.6.1.4.1.2011.6.139.18.1.6.1.1.2', - 'hwWlanStaRoamTraceTime' => '1.3.6.1.4.1.2011.6.139.18.1.6.1.1.3', - 'hwWlanStaRoamTraceAcIP' => '1.3.6.1.4.1.2011.6.139.18.1.6.1.1.4', - 'hwWlanStaRoamTraceAcIPv6' => '1.3.6.1.4.1.2011.6.139.18.1.6.1.1.5', - 'hwWlanStaRoamTraceApName' => '1.3.6.1.4.1.2011.6.139.18.1.6.1.1.6', - 'hwWlanStaRoamTraceRadioId' => '1.3.6.1.4.1.2011.6.139.18.1.6.1.1.7', - 'hwWlanStaRoamTraceBssid' => '1.3.6.1.4.1.2011.6.139.18.1.6.1.1.8', - 'hwWlanStaRoamTraceInRate' => '1.3.6.1.4.1.2011.6.139.18.1.6.1.1.9', - 'hwWlanStaRoamTraceOutRate' => '1.3.6.1.4.1.2011.6.139.18.1.6.1.1.10', - 'hwWlanStaRoamTraceInRssi' => '1.3.6.1.4.1.2011.6.139.18.1.6.1.1.11', - 'hwWlanStaRoamTraceOutRssi' => '1.3.6.1.4.1.2011.6.139.18.1.6.1.1.12', - 'hwWlanStaRoamTraceRoamType' => '1.3.6.1.4.1.2011.6.139.18.1.6.1.1.13', - 'hwWlanStaRoamTraceRoamTypeDefinition' => 'HUAWEI-WLAN-STATION-MIB::hwWlanStaRoamTraceRoamType', - 'hwWlanStaRoamTraceApId' => '1.3.6.1.4.1.2011.6.139.18.1.6.1.1.14', - 'hwWlanStaRoamTraceInfo' => '1.3.6.1.4.1.2011.6.139.18.1.6.1.1.15', - 'hwWlanStaRoamTraceInfoDefinition' => 'HUAWEI-WLAN-STATION-MIB::hwWlanStaRoamTraceInfo', - 'hwWlanStaRoamTraceMemberAcIP' => '1.3.6.1.4.1.2011.6.139.18.1.6.1.1.16', - 'hwWlanStaRoamTraceMemberAcIPv6' => '1.3.6.1.4.1.2011.6.139.18.1.6.1.1.17', - 'hwWlanStaAcL3RoamStatisticsTable' => '1.3.6.1.4.1.2011.6.139.18.1.6.2', - 'hwWlanStaAcL3RoamStatisticsEntry' => '1.3.6.1.4.1.2011.6.139.18.1.6.2.1', - 'hwWlanStaAcL3RoamStatisticAcIndex' => '1.3.6.1.4.1.2011.6.139.18.1.6.2.1.1', - 'hwWlanStaAcL3RoamStatisticAcIP' => '1.3.6.1.4.1.2011.6.139.18.1.6.2.1.2', - 'hwWlanStaAcL3RoamStatisticAcIPv6' => '1.3.6.1.4.1.2011.6.139.18.1.6.2.1.3', - 'hwWlanStaAcL3RoamStatisticRoamInCnt' => '1.3.6.1.4.1.2011.6.139.18.1.6.2.1.4', - 'hwWlanStaAcL3RoamStatisticRoamOutCnt' => '1.3.6.1.4.1.2011.6.139.18.1.6.2.1.5', - 'hwWlanStaAcL3RoamStatisticAcDescription' => '1.3.6.1.4.1.2011.6.139.18.1.6.2.1.6', - 'hwWlanStaApL3RoamStatisticsTable' => '1.3.6.1.4.1.2011.6.139.18.1.6.3', - 'hwWlanStaApL3RoamStatisticsEntry' => '1.3.6.1.4.1.2011.6.139.18.1.6.3.1', - 'hwWlanStaApL3RoamStatisticApMac' => '1.3.6.1.4.1.2011.6.139.18.1.6.3.1.1', - 'hwWlanStaApL3RoamStatisticApName' => '1.3.6.1.4.1.2011.6.139.18.1.6.3.1.2', - 'hwWlanStaApL3RoamStatisticRoamInCnt' => '1.3.6.1.4.1.2011.6.139.18.1.6.3.1.3', - 'hwWlanStaApL3RoamStatisticRoamOutCnt' => '1.3.6.1.4.1.2011.6.139.18.1.6.3.1.4', - 'hwWlanStaApL3RoamStatisticApId' => '1.3.6.1.4.1.2011.6.139.18.1.6.3.1.5', - 'hwWlanNaviACStationTable' => '1.3.6.1.4.1.2011.6.139.18.1.7', - 'hwWlanNaviACStationEntry' => '1.3.6.1.4.1.2011.6.139.18.1.7.1', - 'hwWlanNaviACStationMac' => '1.3.6.1.4.1.2011.6.139.18.1.7.1.1', - 'hwWlanNaviACStationIPAddress' => '1.3.6.1.4.1.2011.6.139.18.1.7.1.2', - 'hwWlanNaviACStationIPv6Address' => '1.3.6.1.4.1.2011.6.139.18.1.7.1.3', - 'hwWlanNaviACStationOnlineTime' => '1.3.6.1.4.1.2011.6.139.18.1.7.1.4', - 'hwWlanNaviACStationAuthMethod' => '1.3.6.1.4.1.2011.6.139.18.1.7.1.5', - 'hwWlanNaviACStationAuthMethodDefinition' => 'HUAWEI-WLAN-STATION-MIB::hwWlanNaviACStationAuthMethod', - 'hwWlanNaviAcStationVlanID' => '1.3.6.1.4.1.2011.6.139.18.1.7.1.6', - 'hwWlanNaviAcStationState' => '1.3.6.1.4.1.2011.6.139.18.1.7.1.7', - 'hwWlanNaviAcStationStateDefinition' => 'HUAWEI-WLAN-STATION-MIB::hwWlanNaviAcStationState', - 'hwWlanNaviACStationLocalACID' => '1.3.6.1.4.1.2011.6.139.18.1.7.1.8', - 'hwWlanNaviACStationWlanId' => '1.3.6.1.4.1.2011.6.139.18.1.7.1.9', - 'hwWlanStationConformance' => '1.3.6.1.4.1.2011.6.139.18.2', - 'hwWlanStationCompliances' => '1.3.6.1.4.1.2011.6.139.18.2.1', - 'hwWlanStationObjectGroups' => '1.3.6.1.4.1.2011.6.139.18.2.2', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'HUAWEI-WLAN-STATION-MIB'} = { - 'hwWlanStaStatOperMode' => { - '1' => 'invalid', - '2' => 'clearstatistic', - }, - 'hwWlanStaVHTTxBFCapable' => { - '1' => 'nonsupport', - '2' => 'support', - }, - 'hwWlanStaDelayStatus' => { - '1' => 'delay', - '2' => 'normal', - }, - 'hwWlanStaQosMode' => { - '1' => 'wmm', - '2' => 'null', - }, - 'hwWlanStaEncryptMethod' => { - '1' => 'wpiSms4', - '2' => 'wep40', - '3' => 'wep104', - '4' => 'tkip', - '5' => 'aes', - '6' => 'none', - }, - 'hwWlanStaRoamStatus' => { - '1' => 'no', - '2' => 'yes', - }, - 'hwWlanStaStatus' => { - '1' => 'age', - '2' => 'associatedNotAuthenticated', - '3' => 'associatedAndAuthenticated', - '4' => 'roam', - '5' => 'backup', - }, - 'hwWlanStaHtMode' => { - '1' => 'invalid', - '2' => 'ht40', - '3' => 'ht20', - '4' => 'ht80', - '5' => 'ht160', - }, - 'hwWlanNaviAcStationState' => { - '1' => 'assoc', - '2' => 'authing', - '3' => 'run', - '4' => 'delete', - }, - 'hwWlanStaRfMode' => { - '0' => 'unknown', - '1' => 'dotb', - '2' => 'dotg', - '3' => 'dotn', - '4' => 'dota', - '5' => 'dotac', - '6' => 'dotax', - }, - 'hwWlanStaRoamTraceRoamType' => { - '1' => 'l2', - '2' => 'l3', - '3' => 'none', - }, - 'hwWlanStaFailCodeType' => { - '1' => 'reasonCode', - '2' => 'statusCode', - }, - 'hwWlanNaviACStationAuthMethod' => { - '1' => 'wepOpenSystem', - '2' => 'wepOpenSystemMac', - '3' => 'wepOpenSystem8021X', - '4' => 'wepOpenSystemPortal', - '5' => 'wepShareKey', - '6' => 'wepShareKeyMac', - '7' => 'wepShareKey8021X', - '8' => 'wepShareKeyPortal', - '9' => 'wpa8021X', - '10' => 'wpaPreShareKey', - '11' => 'wpaPskMac', - '12' => 'wpaPskPortal', - '13' => 'wpa2Dot1x', - '14' => 'wpa2PreShareKey', - '15' => 'wpa2PskMac', - '16' => 'wpa2PskPortal', - '17' => 'wapiCertification', - '18' => 'wapiPreShareKey', - '19' => 'wpaWpa2PreShareKey', - '20' => 'wpaWpa2PskMac', - '21' => 'wpaWpa2PskPortal', - '22' => 'wpaWpa2Dot1x', - '23' => 'wapiPskPortal', - '24' => 'macDot1x', - '25' => 'wepShareKey8021XMac', - '26' => 'wpa8021XMac', - '27' => 'wpa2Dot1xMac', - '28' => 'wpaWpa2Dot1xMac', - '29' => 'wepOpenSystemPortalMac', - '30' => 'wepShareKeyPortalMac', - '31' => 'wpaPskPortalMac', - '32' => 'wpa2PskPortalMac', - '33' => 'wpaWpa2PskPortalMac', - '34' => 'wapiPskPortalMac', - '35' => 'wpaPpsk', - '36' => 'wpaPpskMac', - '37' => 'wpaPpskPortal', - '38' => 'wpaPpskPortalMac', - '39' => 'wpa2Ppsk', - '40' => 'wpa2PpskMac', - '41' => 'wpa2PpskPortal', - '42' => 'wpa2PpskPortalMac', - '43' => 'wpaWpa2Ppsk', - '44' => 'wpaWpa2PpskMac', - '45' => 'wpaWpa2PpskPortal', - '46' => 'wpaWpa2PpskPortalMac', - '47' => 'wep8021X', - }, - 'hwWlanStaAuthenMethod' => { - '1' => 'wepOpenSystem', - '2' => 'wepOpenSystemMac', - '3' => 'wepOpenSystem8021X', - '4' => 'wepOpenSystemPortal', - '5' => 'wepShareKey', - '6' => 'wepShareKeyMac', - '7' => 'wepShareKey8021X', - '8' => 'wepShareKeyPortal', - '9' => 'wpa8021X', - '10' => 'wpaPreShareKey', - '11' => 'wpaPskMac', - '12' => 'wpaPskPortal', - '13' => 'wpa2Dot1x', - '14' => 'wpa2PreShareKey', - '15' => 'wpa2PskMac', - '16' => 'wpa2PskPortal', - '17' => 'wapiCertification', - '18' => 'wapiPreShareKey', - '19' => 'wpaWpa2PreShareKey', - '20' => 'wpaWpa2PskMac', - '21' => 'wpaWpa2PskPortal', - '22' => 'wpaWpa2Dot1x', - '23' => 'wapiPskPortal', - '24' => 'macDot1x', - '25' => 'wepShareKey8021XMac', - '26' => 'wpa8021XMac', - '27' => 'wpa2Dot1xMac', - '28' => 'wpaWpa2Dot1xMac', - '29' => 'wepOpenSystemPortalMac', - '30' => 'wepShareKeyPortalMac', - '31' => 'wpaPskPortalMac', - '32' => 'wpa2PskPortalMac', - '33' => 'wpaWpa2PskPortalMac', - '34' => 'wapiPskPortalMac', - '35' => 'wpaPpsk', - '36' => 'wpaPpskMac', - '37' => 'wpaPpskPortal', - '38' => 'wpaPpskPortalMac', - '39' => 'wpa2Ppsk', - '40' => 'wpa2PpskMac', - '41' => 'wpa2PpskPortal', - '42' => 'wpa2PpskPortalMac', - '43' => 'wpaWpa2Ppsk', - '44' => 'wpaWpa2PpskMac', - '45' => 'wpaWpa2PpskPortal', - '46' => 'wpaWpa2PpskPortalMac', - '47' => 'wep8021X', - }, - 'hwWlanStaMUMIMOCapable' => { - '1' => 'nonsupport', - '2' => 'support', - }, - 'hwWlanStaVHTCapable' => { - '1' => 'nonsupport', - '2' => 'support', - }, - 'hwWlanStaShortGIStatus' => { - '1' => 'nonsupport', - '2' => 'support', - }, - 'hwWlanStaRoamTraceInfo' => { - '0' => 'normal', - '1' => 'sameFrequencyNetwork', - '2' => 'pmkCacheRoam', - '3' => 'dot11rRoam', - '4' => 'dot11rOverthedsRoam', - '5' => 'dot11rPrivateRoam', - }, -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ORGMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ORGMIB.pm deleted file mode 100644 index 7022163..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ORGMIB.pm +++ /dev/null @@ -1,99 +0,0 @@ -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'ORG-MIB'} = { - url => '', - name => 'ORG-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'ORG-MIB'} = '1.3.6.1.4.1.42359.2.2.1.2'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'ORG-MIB'} = { - 'org' => '1.3.6.1.4.1.42359.2.2.1.2', - 'trafficTable' => '1.3.6.1.4.1.42359.2.2.1.2.2', - 'trafficEntry' => '1.3.6.1.4.1.42359.2.2.1.2.2.1', - 'trafficOrgId' => '1.3.6.1.4.1.42359.2.2.1.2.2.1.1', - 'trafficOrgName' => '1.3.6.1.4.1.42359.2.2.1.2.2.1.2', - 'trafficPktsIn' => '1.3.6.1.4.1.42359.2.2.1.2.2.1.3', - 'trafficBytesIn' => '1.3.6.1.4.1.42359.2.2.1.2.2.1.4', - 'trafficPktsOut' => '1.3.6.1.4.1.42359.2.2.1.2.2.1.5', - 'trafficBytesOut' => '1.3.6.1.4.1.42359.2.2.1.2.2.1.6', - 'trafficPktsInRate' => '1.3.6.1.4.1.42359.2.2.1.2.2.1.7', - 'trafficBytesInRate' => '1.3.6.1.4.1.42359.2.2.1.2.2.1.8', - 'trafficPktsOutRate' => '1.3.6.1.4.1.42359.2.2.1.2.2.1.9', - 'trafficBytesOutRate' => '1.3.6.1.4.1.42359.2.2.1.2.2.1.10', - 'qosTrafficTable' => '1.3.6.1.4.1.42359.2.2.1.2.3', - 'qosTrafficEntry' => '1.3.6.1.4.1.42359.2.2.1.2.3.1', - 'qosTrafficOrgId' => '1.3.6.1.4.1.42359.2.2.1.2.3.1.1', - 'qosTrafficOrgName' => '1.3.6.1.4.1.42359.2.2.1.2.3.1.2', - 'qosTrafficPktsIn' => '1.3.6.1.4.1.42359.2.2.1.2.3.1.3', - 'qosTrafficBytesIn' => '1.3.6.1.4.1.42359.2.2.1.2.3.1.4', - 'qosTrafficPktsOut' => '1.3.6.1.4.1.42359.2.2.1.2.3.1.5', - 'qosTrafficBytesOut' => '1.3.6.1.4.1.42359.2.2.1.2.3.1.6', - 'qosTrafficPktsDropped' => '1.3.6.1.4.1.42359.2.2.1.2.3.1.7', - 'qosTrafficBytesDropped' => '1.3.6.1.4.1.42359.2.2.1.2.3.1.8', - 'qosTrafficPktsDroppedPPS' => '1.3.6.1.4.1.42359.2.2.1.2.3.1.9', - 'qosTrafficBytesDroppedPPS' => '1.3.6.1.4.1.42359.2.2.1.2.3.1.10', - 'qosTrafficPktsDroppedKBPS' => '1.3.6.1.4.1.42359.2.2.1.2.3.1.11', - 'qosTrafficBytesDroppedKBPS' => '1.3.6.1.4.1.42359.2.2.1.2.3.1.12', - 'qosTrafficSessionsIn' => '1.3.6.1.4.1.42359.2.2.1.2.3.1.13', - 'qosTrafficSessionsDrop' => '1.3.6.1.4.1.42359.2.2.1.2.3.1.14', - 'qosTrafficSessionsAllow' => '1.3.6.1.4.1.42359.2.2.1.2.3.1.15', - 'qosTrafficPktsInRate' => '1.3.6.1.4.1.42359.2.2.1.2.3.1.16', - 'qosTrafficBytesInRate' => '1.3.6.1.4.1.42359.2.2.1.2.3.1.17', - 'qosTrafficPktsOutRate' => '1.3.6.1.4.1.42359.2.2.1.2.3.1.18', - 'qosTrafficBytesOutRate' => '1.3.6.1.4.1.42359.2.2.1.2.3.1.19', - 'qosTrafficPktsDropRate' => '1.3.6.1.4.1.42359.2.2.1.2.3.1.20', - 'qosTrafficBytesDropRate' => '1.3.6.1.4.1.42359.2.2.1.2.3.1.21', - 'qosTrafficSessionsInRate' => '1.3.6.1.4.1.42359.2.2.1.2.3.1.22', - 'qosTrafficSessionsAllowRate' => '1.3.6.1.4.1.42359.2.2.1.2.3.1.23', - 'qosTrafficSessionsDropRate' => '1.3.6.1.4.1.42359.2.2.1.2.3.1.24', - 'sessStatsTable' => '1.3.6.1.4.1.42359.2.2.1.2.4', - 'sessStatsEntry' => '1.3.6.1.4.1.42359.2.2.1.2.4.1', - 'sessOrgId' => '1.3.6.1.4.1.42359.2.2.1.2.4.1.1', - 'sessOrgName' => '1.3.6.1.4.1.42359.2.2.1.2.4.1.2', - 'sessVsnId' => '1.3.6.1.4.1.42359.2.2.1.2.4.1.3', - 'sessActive' => '1.3.6.1.4.1.42359.2.2.1.2.4.1.4', - 'sessCreated' => '1.3.6.1.4.1.42359.2.2.1.2.4.1.5', - 'sessClosed' => '1.3.6.1.4.1.42359.2.2.1.2.4.1.6', - 'sessActiveNAT' => '1.3.6.1.4.1.42359.2.2.1.2.4.1.7', - 'sessCreatedNAT' => '1.3.6.1.4.1.42359.2.2.1.2.4.1.8', - 'sessClosedNAT' => '1.3.6.1.4.1.42359.2.2.1.2.4.1.9', - 'sessFailed' => '1.3.6.1.4.1.42359.2.2.1.2.4.1.10', - 'sessMax' => '1.3.6.1.4.1.42359.2.2.1.2.4.1.11', - 'sessTCP' => '1.3.6.1.4.1.42359.2.2.1.2.4.1.12', - 'sessUDP' => '1.3.6.1.4.1.42359.2.2.1.2.4.1.13', - 'sessICMP' => '1.3.6.1.4.1.42359.2.2.1.2.4.1.14', - 'sessOTHER' => '1.3.6.1.4.1.42359.2.2.1.2.4.1.15', - 'sessSdwanStatsTable' => '1.3.6.1.4.1.42359.2.2.1.2.5', - 'sessSdwanStatsEntry' => '1.3.6.1.4.1.42359.2.2.1.2.5.1', - 'sessSdwanOrgId' => '1.3.6.1.4.1.42359.2.2.1.2.5.1.1', - 'sessSdwanOrgName' => '1.3.6.1.4.1.42359.2.2.1.2.5.1.2', - 'sessSdwanVsnId' => '1.3.6.1.4.1.42359.2.2.1.2.5.1.3', - 'sessSdwanActive' => '1.3.6.1.4.1.42359.2.2.1.2.5.1.4', - 'sessSdwanCreated' => '1.3.6.1.4.1.42359.2.2.1.2.5.1.5', - 'sessSdwanClosed' => '1.3.6.1.4.1.42359.2.2.1.2.5.1.6', - 'sessCgnatStatsTable' => '1.3.6.1.4.1.42359.2.2.1.2.7', - 'sessCgnatStatsEntry' => '1.3.6.1.4.1.42359.2.2.1.2.7.1', - 'sessCgnatOrgId' => '1.3.6.1.4.1.42359.2.2.1.2.7.1.1', - 'sessCgnatOrgName' => '1.3.6.1.4.1.42359.2.2.1.2.7.1.2', - 'sessCgnatVsnId' => '1.3.6.1.4.1.42359.2.2.1.2.7.1.3', - 'sessCgnatActive' => '1.3.6.1.4.1.42359.2.2.1.2.7.1.4', - 'sessCgnatCreated' => '1.3.6.1.4.1.42359.2.2.1.2.7.1.5', - 'sessCgnatClosed' => '1.3.6.1.4.1.42359.2.2.1.2.7.1.6', - 'sessCgnatFailed' => '1.3.6.1.4.1.42359.2.2.1.2.7.1.7', - 'orgAlarmStatsTable' => '1.3.6.1.4.1.42359.2.2.1.2.8', - 'orgAlarmStatsEntry' => '1.3.6.1.4.1.42359.2.2.1.2.8.1', - 'alarmOrgId' => '1.3.6.1.4.1.42359.2.2.1.2.8.1.1', - 'alarmId' => '1.3.6.1.4.1.42359.2.2.1.2.8.1.2', - 'alarmOrgName' => '1.3.6.1.4.1.42359.2.2.1.2.8.1.3', - 'alarmName' => '1.3.6.1.4.1.42359.2.2.1.2.8.1.4', - 'alarmNewCnt' => '1.3.6.1.4.1.42359.2.2.1.2.8.1.5', - 'alarmChangedCnt' => '1.3.6.1.4.1.42359.2.2.1.2.8.1.6', - 'alarmClearedCnt' => '1.3.6.1.4.1.42359.2.2.1.2.8.1.7', - 'alarmNetconfCnt' => '1.3.6.1.4.1.42359.2.2.1.2.8.1.8', - 'alarmSnmpCnt' => '1.3.6.1.4.1.42359.2.2.1.2.8.1.9', - 'alarmSyslogCnt' => '1.3.6.1.4.1.42359.2.2.1.2.8.1.10', - 'alarmAnalyticsCnt' => '1.3.6.1.4.1.42359.2.2.1.2.8.1.11', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'ORG-MIB'} = { -}; - diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PULSESECUREPSGMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PULSESECUREPSGMIB.pm deleted file mode 100644 index 56e99f5..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PULSESECUREPSGMIB.pm +++ /dev/null @@ -1,100 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::PULSESECUREPSGMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'PULSESECURE-PSG-MIB'} = { - url => '', - name => 'PULSESECURE-PSG-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'PULSESECURE-PSG-MIB'} = - '1.3.6.1.4.1.12532'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'PULSESECURE-PSG-MIB'} = { - 'pulsesecure-gateway' => '1.3.6.1.4.1.12532', - 'logFullPercent' => '1.3.6.1.4.1.12532.1', - 'signedInWebUsers' => '1.3.6.1.4.1.12532.2', - 'signedInMailUsers' => '1.3.6.1.4.1.12532.3', - 'blockedIP' => '1.3.6.1.4.1.12532.4', - 'authServerName' => '1.3.6.1.4.1.12532.5', - 'productName' => '1.3.6.1.4.1.12532.6', - 'productVersion' => '1.3.6.1.4.1.12532.7', - 'fileName' => '1.3.6.1.4.1.12532.8', - 'meetingUserCount' => '1.3.6.1.4.1.12532.9', - 'iveCpuUtil' => '1.3.6.1.4.1.12532.10', - 'iveMemoryUtil' => '1.3.6.1.4.1.12532.11', - 'iveConcurrentUsers' => '1.3.6.1.4.1.12532.12', - 'clusterConcurrentUsers' => '1.3.6.1.4.1.12532.13', - 'iveTotalHits' => '1.3.6.1.4.1.12532.14', - 'iveFileHits' => '1.3.6.1.4.1.12532.15', - 'iveWebHits' => '1.3.6.1.4.1.12532.16', - 'iveAppletHits' => '1.3.6.1.4.1.12532.17', - 'ivetermHits' => '1.3.6.1.4.1.12532.18', - 'iveSAMHits' => '1.3.6.1.4.1.12532.19', - 'iveNCHits' => '1.3.6.1.4.1.12532.20', - 'meetingHits' => '1.3.6.1.4.1.12532.21', - 'meetingCount' => '1.3.6.1.4.1.12532.22', - 'logName' => '1.3.6.1.4.1.12532.23', - 'iveSwapUtil' => '1.3.6.1.4.1.12532.24', - 'diskFullPercent' => '1.3.6.1.4.1.12532.25', - 'blockedIPList' => '1.3.6.1.4.1.12532.26', - 'ipEntry' => '1.3.6.1.4.1.12532.26.1', - 'ipIndex' => '1.3.6.1.4.1.12532.26.1.1', - 'ipValue' => '1.3.6.1.4.1.12532.26.1.2', - 'logID' => '1.3.6.1.4.1.12532.27', - 'logType' => '1.3.6.1.4.1.12532.28', - 'logDescription' => '1.3.6.1.4.1.12532.29', - 'ivsName' => '1.3.6.1.4.1.12532.30', - 'ocspResponderURL' => '1.3.6.1.4.1.12532.31', - 'fanDescription' => '1.3.6.1.4.1.12532.32', - 'psDescription' => '1.3.6.1.4.1.12532.33', - 'raidDescription' => '1.3.6.1.4.1.12532.34', - 'clusterName' => '1.3.6.1.4.1.12532.35', - 'nodeList' => '1.3.6.1.4.1.12532.36', - 'vipType' => '1.3.6.1.4.1.12532.37', - 'currentVIP' => '1.3.6.1.4.1.12532.38', - 'newVIP' => '1.3.6.1.4.1.12532.39', - 'nicEvent' => '1.3.6.1.4.1.12532.40', - 'nodeName' => '1.3.6.1.4.1.12532.41', - 'iveTemperature' => '1.3.6.1.4.1.12532.42', - 'iveVPNTunnels' => '1.3.6.1.4.1.12532.43', - 'iveSSLConnections' => '1.3.6.1.4.1.12532.44', - 'esapVersion' => '1.3.6.1.4.1.12532.45', - 'vipChangeReason' => '1.3.6.1.4.1.12532.46', - 'processName' => '1.3.6.1.4.1.12532.47', - 'iveTotalSignedInUsers' => '1.3.6.1.4.1.12532.48', - 'vpnACLSPercentage' => '1.3.6.1.4.1.12532.49', - 'vpnACLSCount' => '1.3.6.1.4.1.12532.50', - 'blockedIPv6' => '1.3.6.1.4.1.12532.51', - 'iveTraps' => '1.3.6.1.4.1.12532.251', - 'iveSAProduct' => '1.3.6.1.4.1.12532.252', - 'iveICProduct' => '1.3.6.1.4.1.12532.253', - 'iveMAGProduct' => '1.3.6.1.4.1.12532.254', - 'iveProductMAG2600' => '1.3.6.1.4.1.12532.254.1', - 'iveMAG2600' => '1.3.6.1.4.1.12532.254.1.1', - 'iveProductMAG4610' => '1.3.6.1.4.1.12532.254.2', - 'iveMAG4610' => '1.3.6.1.4.1.12532.254.2.1', - 'iveProductSM160' => '1.3.6.1.4.1.12532.254.3', - 'iveMAGSM160' => '1.3.6.1.4.1.12532.254.3.1', - 'iveProductSM360' => '1.3.6.1.4.1.12532.254.4', - 'iveMAGSM360' => '1.3.6.1.4.1.12532.254.4.1', - 'iveVAProduct' => '1.3.6.1.4.1.12532.255', - 'iveProductVASPE' => '1.3.6.1.4.1.12532.255.1', - 'iveVASPE' => '1.3.6.1.4.1.12532.255.1.1', - 'iveProductVADTE' => '1.3.6.1.4.1.12532.255.2', - 'iveVADTE' => '1.3.6.1.4.1.12532.255.2.1', - 'ivePSAProduct' => '1.3.6.1.4.1.12532.256', - 'iveProductPSA300' => '1.3.6.1.4.1.12532.256.1', - 'ivePSA300' => '1.3.6.1.4.1.12532.256.1.1', - 'iveProductPSA3000' => '1.3.6.1.4.1.12532.256.2', - 'ivePSA3000' => '1.3.6.1.4.1.12532.256.2.1', - 'iveProductPSA5000' => '1.3.6.1.4.1.12532.256.3', - 'ivePSA5000' => '1.3.6.1.4.1.12532.256.3.1', - 'iveProductPSA7000f' => '1.3.6.1.4.1.12532.256.4', - 'ivePSA7000f' => '1.3.6.1.4.1.12532.256.4.1', - 'iveProductPSA7000c' => '1.3.6.1.4.1.12532.256.5', - 'ivePSA7000c' => '1.3.6.1.4.1.12532.256.5.1', - 'iveProductPSA10000' => '1.3.6.1.4.1.12532.256.6', - 'ivePSA10000' => '1.3.6.1.4.1.12532.256.6.1', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'PULSESECURE-PSG-MIB'} = { -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/QBRIDGEMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/QBRIDGEMIB.pm deleted file mode 100644 index 285625c..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/QBRIDGEMIB.pm +++ /dev/null @@ -1,206 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::QBRIDGEMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'Q-BRIDGE-MIB'} = { - url => '', - name => 'Q-BRIDGE-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'Q-BRIDGE-MIB'} = - '1.3.6.1.2.1.17.7'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'Q-BRIDGE-MIB'} = { - 'qBridgeMIB' => '1.3.6.1.2.1.17.7', - 'qBridgeMIBObjects' => '1.3.6.1.2.1.17.7.1', - 'dot1qBase' => '1.3.6.1.2.1.17.7.1.1', - 'dot1qVlanVersionNumber' => '1.3.6.1.2.1.17.7.1.1.1', - 'dot1qVlanVersionNumberDefinition' => 'Q-BRIDGE-MIB::dot1qVlanVersionNumber', - 'dot1qMaxVlanId' => '1.3.6.1.2.1.17.7.1.1.2', - 'dot1qMaxSupportedVlans' => '1.3.6.1.2.1.17.7.1.1.3', - 'dot1qNumVlans' => '1.3.6.1.2.1.17.7.1.1.4', - 'dot1qGvrpStatus' => '1.3.6.1.2.1.17.7.1.1.5', - 'dot1qTp' => '1.3.6.1.2.1.17.7.1.2', - 'dot1qFdbTable' => '1.3.6.1.2.1.17.7.1.2.1', - 'dot1qFdbEntry' => '1.3.6.1.2.1.17.7.1.2.1.1', - 'dot1qFdbId' => '1.3.6.1.2.1.17.7.1.2.1.1.1', - 'dot1qFdbDynamicCount' => '1.3.6.1.2.1.17.7.1.2.1.1.2', - 'dot1qTpFdbTable' => '1.3.6.1.2.1.17.7.1.2.2', - 'dot1qTpFdbEntry' => '1.3.6.1.2.1.17.7.1.2.2.1', - 'dot1qTpFdbAddress' => '1.3.6.1.2.1.17.7.1.2.2.1.1', - 'dot1qTpFdbPort' => '1.3.6.1.2.1.17.7.1.2.2.1.2', - 'dot1qTpFdbStatus' => '1.3.6.1.2.1.17.7.1.2.2.1.3', - 'dot1qTpFdbStatusDefinition' => 'Q-BRIDGE-MIB::dot1qTpFdbStatus', - 'dot1qTpGroupTable' => '1.3.6.1.2.1.17.7.1.2.3', - 'dot1qTpGroupEntry' => '1.3.6.1.2.1.17.7.1.2.3.1', - 'dot1qTpGroupAddress' => '1.3.6.1.2.1.17.7.1.2.3.1.1', - 'dot1qTpGroupEgressPorts' => '1.3.6.1.2.1.17.7.1.2.3.1.2', - 'dot1qTpGroupLearnt' => '1.3.6.1.2.1.17.7.1.2.3.1.3', - 'dot1qForwardAllTable' => '1.3.6.1.2.1.17.7.1.2.4', - 'dot1qForwardAllEntry' => '1.3.6.1.2.1.17.7.1.2.4.1', - 'dot1qForwardAllPorts' => '1.3.6.1.2.1.17.7.1.2.4.1.1', - 'dot1qForwardAllStaticPorts' => '1.3.6.1.2.1.17.7.1.2.4.1.2', - 'dot1qForwardAllForbiddenPorts' => '1.3.6.1.2.1.17.7.1.2.4.1.3', - 'dot1qForwardUnregisteredTable' => '1.3.6.1.2.1.17.7.1.2.5', - 'dot1qForwardUnregisteredEntry' => '1.3.6.1.2.1.17.7.1.2.5.1', - 'dot1qForwardUnregisteredPorts' => '1.3.6.1.2.1.17.7.1.2.5.1.1', - 'dot1qForwardUnregisteredStaticPorts' => '1.3.6.1.2.1.17.7.1.2.5.1.2', - 'dot1qForwardUnregisteredForbiddenPorts' => '1.3.6.1.2.1.17.7.1.2.5.1.3', - 'dot1qStatic' => '1.3.6.1.2.1.17.7.1.3', - 'dot1qStaticUnicastTable' => '1.3.6.1.2.1.17.7.1.3.1', - 'dot1qStaticUnicastEntry' => '1.3.6.1.2.1.17.7.1.3.1.1', - 'dot1qStaticUnicastAddress' => '1.3.6.1.2.1.17.7.1.3.1.1.1', - 'dot1qStaticUnicastReceivePort' => '1.3.6.1.2.1.17.7.1.3.1.1.2', - 'dot1qStaticUnicastAllowedToGoTo' => '1.3.6.1.2.1.17.7.1.3.1.1.3', - 'dot1qStaticUnicastStatus' => '1.3.6.1.2.1.17.7.1.3.1.1.4', - 'dot1qStaticUnicastStatusDefinition' => 'Q-BRIDGE-MIB::dot1qStaticUnicastStatus', - 'dot1qStaticMulticastTable' => '1.3.6.1.2.1.17.7.1.3.2', - 'dot1qStaticMulticastEntry' => '1.3.6.1.2.1.17.7.1.3.2.1', - 'dot1qStaticMulticastAddress' => '1.3.6.1.2.1.17.7.1.3.2.1.1', - 'dot1qStaticMulticastReceivePort' => '1.3.6.1.2.1.17.7.1.3.2.1.2', - 'dot1qStaticMulticastStaticEgressPorts' => '1.3.6.1.2.1.17.7.1.3.2.1.3', - 'dot1qStaticMulticastForbiddenEgressPorts' => '1.3.6.1.2.1.17.7.1.3.2.1.4', - 'dot1qStaticMulticastStatus' => '1.3.6.1.2.1.17.7.1.3.2.1.5', - 'dot1qStaticMulticastStatusDefinition' => 'Q-BRIDGE-MIB::dot1qStaticMulticastStatus', - 'dot1qVlan' => '1.3.6.1.2.1.17.7.1.4', - 'dot1qVlanNumDeletes' => '1.3.6.1.2.1.17.7.1.4.1', - 'dot1qVlanCurrentTable' => '1.3.6.1.2.1.17.7.1.4.2', - 'dot1qVlanCurrentEntry' => '1.3.6.1.2.1.17.7.1.4.2.1', - 'dot1qVlanTimeMark' => '1.3.6.1.2.1.17.7.1.4.2.1.1', - 'dot1qVlanIndex' => '1.3.6.1.2.1.17.7.1.4.2.1.2', - 'dot1qVlanFdbId' => '1.3.6.1.2.1.17.7.1.4.2.1.3', - 'dot1qVlanCurrentEgressPorts' => '1.3.6.1.2.1.17.7.1.4.2.1.4', - 'dot1qVlanCurrentEgressPortsDefinition' => 'Q-BRIDGE-MIB::PortList', - 'dot1qVlanCurrentUntaggedPorts' => '1.3.6.1.2.1.17.7.1.4.2.1.5', - 'dot1qVlanCurrentUntaggedPortsDefinition' => 'Q-BRIDGE-MIB::PortList', - 'dot1qVlanStatus' => '1.3.6.1.2.1.17.7.1.4.2.1.6', - 'dot1qVlanStatusDefinition' => 'Q-BRIDGE-MIB::dot1qVlanStatus', - 'dot1qVlanCreationTime' => '1.3.6.1.2.1.17.7.1.4.2.1.7', - 'dot1qVlanStaticTable' => '1.3.6.1.2.1.17.7.1.4.3', - 'dot1qVlanStaticEntry' => '1.3.6.1.2.1.17.7.1.4.3.1', - 'dot1qVlanStaticName' => '1.3.6.1.2.1.17.7.1.4.3.1.1', - 'dot1qVlanStaticEgressPorts' => '1.3.6.1.2.1.17.7.1.4.3.1.2', - 'dot1qVlanForbiddenEgressPorts' => '1.3.6.1.2.1.17.7.1.4.3.1.3', - 'dot1qVlanStaticUntaggedPorts' => '1.3.6.1.2.1.17.7.1.4.3.1.4', - 'dot1qVlanStaticRowStatus' => '1.3.6.1.2.1.17.7.1.4.3.1.5', - 'dot1qNextFreeLocalVlanIndex' => '1.3.6.1.2.1.17.7.1.4.4', - 'dot1qPortVlanTable' => '1.3.6.1.2.1.17.7.1.4.5', - 'dot1qPortVlanEntry' => '1.3.6.1.2.1.17.7.1.4.5.1', - 'dot1qPvid' => '1.3.6.1.2.1.17.7.1.4.5.1.1', - 'dot1qPortAcceptableFrameTypes' => '1.3.6.1.2.1.17.7.1.4.5.1.2', - 'dot1qPortAcceptableFrameTypesDefinition' => 'Q-BRIDGE-MIB::dot1qPortAcceptableFrameTypes', - 'dot1qPortIngressFiltering' => '1.3.6.1.2.1.17.7.1.4.5.1.3', - 'dot1qPortGvrpStatus' => '1.3.6.1.2.1.17.7.1.4.5.1.4', - 'dot1qPortGvrpFailedRegistrations' => '1.3.6.1.2.1.17.7.1.4.5.1.5', - 'dot1qPortGvrpLastPduOrigin' => '1.3.6.1.2.1.17.7.1.4.5.1.6', - 'dot1qPortRestrictedVlanRegistration' => '1.3.6.1.2.1.17.7.1.4.5.1.7', - 'dot1qPortVlanStatisticsTable' => '1.3.6.1.2.1.17.7.1.4.6', - 'dot1qPortVlanStatisticsEntry' => '1.3.6.1.2.1.17.7.1.4.6.1', - 'dot1qTpVlanPortInFrames' => '1.3.6.1.2.1.17.7.1.4.6.1.1', - 'dot1qTpVlanPortOutFrames' => '1.3.6.1.2.1.17.7.1.4.6.1.2', - 'dot1qTpVlanPortInDiscards' => '1.3.6.1.2.1.17.7.1.4.6.1.3', - 'dot1qTpVlanPortInOverflowFrames' => '1.3.6.1.2.1.17.7.1.4.6.1.4', - 'dot1qTpVlanPortOutOverflowFrames' => '1.3.6.1.2.1.17.7.1.4.6.1.5', - 'dot1qTpVlanPortInOverflowDiscards' => '1.3.6.1.2.1.17.7.1.4.6.1.6', - 'dot1qPortVlanHCStatisticsTable' => '1.3.6.1.2.1.17.7.1.4.7', - 'dot1qPortVlanHCStatisticsEntry' => '1.3.6.1.2.1.17.7.1.4.7.1', - 'dot1qTpVlanPortHCInFrames' => '1.3.6.1.2.1.17.7.1.4.7.1.1', - 'dot1qTpVlanPortHCOutFrames' => '1.3.6.1.2.1.17.7.1.4.7.1.2', - 'dot1qTpVlanPortHCInDiscards' => '1.3.6.1.2.1.17.7.1.4.7.1.3', - 'dot1qLearningConstraintsTable' => '1.3.6.1.2.1.17.7.1.4.8', - 'dot1qLearningConstraintsEntry' => '1.3.6.1.2.1.17.7.1.4.8.1', - 'dot1qConstraintVlan' => '1.3.6.1.2.1.17.7.1.4.8.1.1', - 'dot1qConstraintSet' => '1.3.6.1.2.1.17.7.1.4.8.1.2', - 'dot1qConstraintType' => '1.3.6.1.2.1.17.7.1.4.8.1.3', - 'dot1qConstraintTypeDefinition' => 'Q-BRIDGE-MIB::dot1qConstraintType', - 'dot1qConstraintStatus' => '1.3.6.1.2.1.17.7.1.4.8.1.4', - 'dot1qConstraintSetDefault' => '1.3.6.1.2.1.17.7.1.4.9', - 'dot1qConstraintTypeDefault' => '1.3.6.1.2.1.17.7.1.4.10', - 'dot1qConstraintTypeDefaultDefinition' => 'Q-BRIDGE-MIB::dot1qConstraintTypeDefault', - 'dot1vProtocol' => '1.3.6.1.2.1.17.7.1.5', - 'dot1vProtocolGroupTable' => '1.3.6.1.2.1.17.7.1.5.1', - 'dot1vProtocolGroupEntry' => '1.3.6.1.2.1.17.7.1.5.1.1', - 'dot1vProtocolTemplateFrameType' => '1.3.6.1.2.1.17.7.1.5.1.1.1', - 'dot1vProtocolTemplateFrameTypeDefinition' => 'Q-BRIDGE-MIB::dot1vProtocolTemplateFrameType', - 'dot1vProtocolTemplateProtocolValue' => '1.3.6.1.2.1.17.7.1.5.1.1.2', - 'dot1vProtocolGroupId' => '1.3.6.1.2.1.17.7.1.5.1.1.3', - 'dot1vProtocolGroupRowStatus' => '1.3.6.1.2.1.17.7.1.5.1.1.4', - 'dot1vProtocolPortTable' => '1.3.6.1.2.1.17.7.1.5.2', - 'dot1vProtocolPortEntry' => '1.3.6.1.2.1.17.7.1.5.2.1', - 'dot1vProtocolPortGroupId' => '1.3.6.1.2.1.17.7.1.5.2.1.1', - 'dot1vProtocolPortGroupVid' => '1.3.6.1.2.1.17.7.1.5.2.1.2', - 'dot1vProtocolPortRowStatus' => '1.3.6.1.2.1.17.7.1.5.2.1.3', - 'qBridgeConformance' => '1.3.6.1.2.1.17.7.2', - 'qBridgeGroups' => '1.3.6.1.2.1.17.7.2.1', - 'qBridgeCompliances' => '1.3.6.1.2.1.17.7.2.2', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'Q-BRIDGE-MIB'} = { - 'dot1vProtocolTemplateFrameType' => { - '1' => 'ethernet', - '2' => 'rfc1042', - '3' => 'snap8021H', - '4' => 'snapOther', - '5' => 'llcOther', - }, - 'dot1qVlanVersionNumber' => { - '1' => 'version1', - }, - 'dot1qTpFdbStatus' => { - '1' => 'other', - '2' => 'invalid', - '3' => 'learned', - '4' => 'self', - '5' => 'mgmt', - }, - 'dot1qConstraintType' => { - '1' => 'independent', - '2' => 'shared', - }, - 'dot1qConstraintTypeDefault' => { - '1' => 'independent', - '2' => 'shared', - }, - 'dot1qStaticUnicastStatus' => { - '1' => 'other', - '2' => 'invalid', - '3' => 'permanent', - '4' => 'deleteOnReset', - '5' => 'deleteOnTimeout', - }, - 'dot1qStaticMulticastStatus' => { - '1' => 'other', - '2' => 'invalid', - '3' => 'permanent', - '4' => 'deleteOnReset', - '5' => 'deleteOnTimeout', - }, - 'dot1qPortAcceptableFrameTypes' => { - '1' => 'admitAll', - '2' => 'admitOnlyVlanTagged', - }, - 'dot1qVlanStatus' => { - '1' => 'other', - '2' => 'permanent', - '3' => 'dynamicGvrp', - }, - 'PortList' => sub { - my ($portlist) = @_; - my @ports = (); - my @octets = unpack("C*", $portlist); - my $octetnumber = 0; - foreach my $octet (@octets) { - # octet represents ports $octetnumber*8+(1..8) - my $index = 1; - while ($octet) { - next unless $octet & 0x80; - push(@ports, $octetnumber * 8 + $index); - } continue { - ++$index; - $octet = ($octet << 1) & 0xff; - } - } continue { - ++$octetnumber; - } - @ports = do { my %seen; map { $seen{$_}++ ? () : $_ } @ports }; - return \@ports; - }, -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STORAGEMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STORAGEMIB.pm deleted file mode 100644 index 49788e2..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STORAGEMIB.pm +++ /dev/null @@ -1,62 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::STORAGEMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'STORAGE-MIB'} = { - url => '', - name => 'STORAGE-MIB', -}; - -#$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'STORAGE-MIB'} = - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'STORAGE-MIB'} = { - 'storage' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14', - 'storageProfileStatsTable' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.1', - 'storageProfileStatsEntry' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.1.1', - 'storageProfileOrgId' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.1.1.1', - 'storageProfileId' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.1.1.2', - 'storageProfileOrgName' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.1.1.3', - 'storageProfileName' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.1.1.4', - 'storageProfileFileOpenCount' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.1.1.5', - 'storageProfileFileCloseCount' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.1.1.6', - 'storageProfileFileOpenFailCount' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.1.1.7', - 'storageProfileFileWriteCount' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.1.1.8', - 'storageProfileFileReadCount' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.1.1.9', - 'storageProfileFileAsyncWriteCount' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.1.1.10', - 'storageProfileFileAsyncReadCount' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.1.1.11', - 'storageProfileAvailableHardDiskSize' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.1.1.12', - 'storageProfileUsedHardDiskSize' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.1.1.13', - 'storageProfileUsedHardDiskCommonPoolSize' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.1.1.14', - 'storageProfileHardDiskAllocationCount' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.1.1.15', - 'storageProfileHardDiskCmnPoolAllocationCount' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.1.1.16', - 'storageProfileHardDiskAllocationFailCount' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.1.1.17', - 'storageProfileAvailableRamDiskSize' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.1.1.18', - 'storageProfileUsedRamDiskSize' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.1.1.19', - 'storageProfileUsedRamDiskCommonPoolSize' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.1.1.20', - 'storageProfileRamDiskAllocationCount' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.1.1.21', - 'storageProfileRamDiskCmnPoolAllocationCount' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.1.1.22', - 'storageProfileRamDiskAllocationFailCount' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.1.1.23', - 'storageGlobalProfileStatsTable' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.2', - 'storageGlobalProfileStatsEntry' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.2.1', - 'storageGlobalProfileOrgId' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.2.1.1', - 'storageGlobalProfileId' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.2.1.2', - 'storageGlobalProfileOrgName' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.2.1.3', - 'storageGlobalProfileName' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.2.1.4', - 'storageGlobalProfileFileOpenCount' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.2.1.5', - 'storageGlobalProfileFileCloseCount' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.2.1.6', - 'storageGlobalProfileFileOpenFailCount' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.2.1.7', - 'storageGlobalProfileFileWriteCount' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.2.1.8', - 'storageGlobalProfileFileReadCount' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.2.1.9', - 'storageGlobalProfileFileAsyncWriteCount' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.2.1.10', - 'storageGlobalProfileFileAsyncReadCount' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.2.1.11', - 'storageGlobalProfileAvailableHardDiskSize' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.2.1.12', - 'storageGlobalProfileUsedHardDiskSize' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.2.1.13', - 'storageGlobalProfileHardDiskAllocationCount' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.2.1.14', - 'storageGlobalProfileHardDiskAllocationFailCount' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.2.1.15', - 'storageGlobalProfileAvailableRamDiskSize' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.2.1.16', - 'storageGlobalProfileUsedRamDiskSize' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.2.1.17', - 'storageGlobalProfileRamDiskAllocationCount' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.2.1.18', - 'storageGlobalProfileRamDiskAllocationFailCount' => '1.3.6.1.4.1.42359.2.2.1.2.1.3.14.2.1.19', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'STORAGE-MIB'} = { -}; - diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VIPTELAHARDWARE.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VIPTELAHARDWARE.pm deleted file mode 100644 index c97d4f7..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VIPTELAHARDWARE.pm +++ /dev/null @@ -1,137 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::VIPTELAHARDWARE; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'VIPTELA-HARDWARE'} = { - url => '', - name => 'VIPTELA-HARDWARE', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'VIPTELA-HARDWARE'} = - '1.3.6.1.4.1.41916.3'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'VIPTELA-HARDWARE'} = { - 'viptela-hardware' => '1.3.6.1.4.1.41916.3', - 'hardware' => '1.3.6.1.4.1.41916.3.1', - 'hardwareInventoryTable' => '1.3.6.1.4.1.41916.3.1.1', - 'hardwareInventoryEntry' => '1.3.6.1.4.1.41916.3.1.1.1', - 'hardwareInventoryHwType' => '1.3.6.1.4.1.41916.3.1.1.1.1', - 'hardwareInventoryHwTypeDefinition' => 'VIPTELA-HARDWARE::HwTypeEnum', - 'hardwareInventoryHwDevIndex' => '1.3.6.1.4.1.41916.3.1.1.1.2', - 'hardwareInventoryVersion' => '1.3.6.1.4.1.41916.3.1.1.1.3', - 'hardwareInventoryPartNumber' => '1.3.6.1.4.1.41916.3.1.1.1.4', - 'hardwareInventorySerialNumber' => '1.3.6.1.4.1.41916.3.1.1.1.5', - 'hardwareInventoryHwDescription' => '1.3.6.1.4.1.41916.3.1.1.1.6', - 'hardwareInventoryPartInfo' => '1.3.6.1.4.1.41916.3.1.1.1.7', - 'hardwareEnvironmentTable' => '1.3.6.1.4.1.41916.3.1.2', - 'hardwareEnvironmentEntry' => '1.3.6.1.4.1.41916.3.1.2.1', - 'hardwareEnvironmentHwClass' => '1.3.6.1.4.1.41916.3.1.2.1.1', - 'hardwareEnvironmentHwClassDefinition' => 'VIPTELA-HARDWARE::hardwareEnvironmentHwClass', - 'hardwareEnvironmentHwItem' => '1.3.6.1.4.1.41916.3.1.2.1.2', - 'hardwareEnvironmentHwDevIndex' => '1.3.6.1.4.1.41916.3.1.2.1.3', - 'hardwareEnvironmentStatus' => '1.3.6.1.4.1.41916.3.1.2.1.4', - 'hardwareEnvironmentStatusDefinition' => 'VIPTELA-HARDWARE::hardwareEnvironmentStatus', - 'hardwareEnvironmentMeasurement' => '1.3.6.1.4.1.41916.3.1.2.1.5', - 'hardwareAlarmsTable' => '1.3.6.1.4.1.41916.3.1.3', - 'hardwareAlarmsEntry' => '1.3.6.1.4.1.41916.3.1.3.1', - 'hardwareAlarmsAlarmId' => '1.3.6.1.4.1.41916.3.1.3.1.1', - 'hardwareAlarmsAlarmName' => '1.3.6.1.4.1.41916.3.1.3.1.2', - 'hardwareAlarmsAlarmInstance' => '1.3.6.1.4.1.41916.3.1.3.1.3', - 'hardwareAlarmsAlarmTime' => '1.3.6.1.4.1.41916.3.1.3.1.4', - 'hardwareAlarmsAlarmCategory' => '1.3.6.1.4.1.41916.3.1.3.1.5', - 'hardwareAlarmsAlarmCategoryDefinition' => 'VIPTELA-HARDWARE::hardwareAlarmsAlarmCategory', - 'hardwareAlarmsAlarmDescription' => '1.3.6.1.4.1.41916.3.1.3.1.6', - 'hardwareTemperatureThresholdsTable' => '1.3.6.1.4.1.41916.3.1.4', - 'hardwareTemperatureThresholdsEntry' => '1.3.6.1.4.1.41916.3.1.4.1', - 'hardwareTemperatureThresholdsHwSensorType' => '1.3.6.1.4.1.41916.3.1.4.1.1', - 'hardwareTemperatureThresholdsHwSensorTypeDefinition' => 'VIPTELA-HARDWARE::HwSensorTypeEnum', - 'hardwareTemperatureThresholdsHwDevIndex' => '1.3.6.1.4.1.41916.3.1.4.1.2', - 'hardwareTemperatureThresholdsFanSpeedNormal' => '1.3.6.1.4.1.41916.3.1.4.1.3', - 'hardwareTemperatureThresholdsYellowAlarmNormal' => '1.3.6.1.4.1.41916.3.1.4.1.4', - 'hardwareTemperatureThresholdsYellowAlarmBadFan' => '1.3.6.1.4.1.41916.3.1.4.1.5', - 'hardwareTemperatureThresholdsRedAlarmNormal' => '1.3.6.1.4.1.41916.3.1.4.1.6', - 'hardwareTemperatureThresholdsRedAlarmBadFan' => '1.3.6.1.4.1.41916.3.1.4.1.7', - 'hardwarePoeTable' => '1.3.6.1.4.1.41916.3.1.5', - 'hardwarePoeEntry' => '1.3.6.1.4.1.41916.3.1.5.1', - 'hardwarePoeIfname' => '1.3.6.1.4.1.41916.3.1.5.1.1', - 'hardwarePoeIfStatus' => '1.3.6.1.4.1.41916.3.1.5.1.2', - 'hardwarePoeStatus' => '1.3.6.1.4.1.41916.3.1.5.1.3', - 'hardwarePoeMaxPower' => '1.3.6.1.4.1.41916.3.1.5.1.4', - 'hardwarePoeUsedPower' => '1.3.6.1.4.1.41916.3.1.5.1.5', - 'hardwarePoePdClass' => '1.3.6.1.4.1.41916.3.1.5.1.6', - 'hardwarePoePdClassDefinition' => 'VIPTELA-HARDWARE::HwPoeClassEnum', - 'viptelaDevices' => '1.3.6.1.4.1.41916.3.2', - 'vsmart' => '1.3.6.1.4.1.41916.3.2.1', - 'vmanage' => '1.3.6.1.4.1.41916.3.2.2', - 'vbondSoftware' => '1.3.6.1.4.1.41916.3.2.3', - 'vedge1000AC' => '1.3.6.1.4.1.41916.3.2.4', - 'vedge2000AC' => '1.3.6.1.4.1.41916.3.2.5', - 'vedge100AC' => '1.3.6.1.4.1.41916.3.2.6', - 'vedge100W2AC' => '1.3.6.1.4.1.41916.3.2.7', - 'vedge100WMAC' => '1.3.6.1.4.1.41916.3.2.8', - 'vedge100M2AC' => '1.3.6.1.4.1.41916.3.2.9', - 'vedge100MAC' => '1.3.6.1.4.1.41916.3.2.10', - 'vedge100BAC' => '1.3.6.1.4.1.41916.3.2.11', - 'vedgeCloud' => '1.3.6.1.4.1.41916.3.2.12', - 'vcontainer' => '1.3.6.1.4.1.41916.3.2.13', - 'vedge5000AC' => '1.3.6.1.4.1.41916.3.2.14', - 'vedge101BAC' => '1.3.6.1.4.1.41916.3.2.15', - 'vedge1001AC' => '1.3.6.1.4.1.41916.3.2.16', - 'vedge101MAC' => '1.3.6.1.4.1.41916.3.2.17', - 'vedgeISR11004GAC' => '1.3.6.1.4.1.41916.3.2.18', - 'vedgeISR11006GAC' => '1.3.6.1.4.1.41916.3.2.19', - 'vedgeISR11004GLTEAC' => '1.3.6.1.4.1.41916.3.2.20', - 'vedgeISR1100X4GAC' => '1.3.6.1.4.1.41916.3.2.21', - 'vedgeISR1100X6GAC' => '1.3.6.1.4.1.41916.3.2.22', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'VIPTELA-HARDWARE'} = { - 'hardwareEnvironmentStatus' => { - '0' => 'oK', - '1' => 'down', - '2' => 'failed', - }, - 'HwPoeClassEnum' => { - '0' => 'unknown', - '1' => 'class-1', - '2' => 'class-2', - '3' => 'class-3', - '4' => 'class-4', - '5' => 'reserved', - '6' => 'class-0', - '7' => 'over-current', - }, - 'hardwareAlarmsAlarmCategory' => { - '0' => 'critical', - '1' => 'major', - '2' => 'minor', - }, - 'HwTypeEnum' => { - '0' => 'unknown', - '1' => 'chassis', - '2' => 'cPU', - '3' => 'dRAM', - '4' => 'flash', - '5' => 'eMMC', - '6' => 'sDCard', - '7' => 'uSB', - '8' => 'pIM', - '9' => 'transceiver', - '10' => 'fanTray', - '11' => 'pEM', - '12' => 'nIM', - }, - 'HwSensorTypeEnum' => { - '0' => 'board', - '1' => 'cPU-Junction', - '2' => 'dRAM', - '3' => 'pIM', - }, - 'hardwareEnvironmentHwClass' => { - '0' => 'temperatureSensors', - '1' => 'fans', - '2' => 'pEM', - '3' => 'pIM', - '4' => 'uSB', - '5' => 'lED', - '6' => 'nIM', - }, -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VIPTELAOPERSYSTEM.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VIPTELAOPERSYSTEM.pm deleted file mode 100644 index 249707d..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VIPTELAOPERSYSTEM.pm +++ /dev/null @@ -1,934 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::VIPTELAOPERSYSTEM; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'VIPTELA-OPER-SYSTEM'} = { - url => '', - name => 'VIPTELA-OPER-SYSTEM', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'VIPTELA-OPER-SYSTEM'} = - '1.3.6.1.4.1.41916.11'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'VIPTELA-OPER-SYSTEM'} = { - 'viptela-oper-system' => '1.3.6.1.4.1.41916.11', - 'systemStatus' => '1.3.6.1.4.1.41916.11.1', - 'systemStatusPersonality' => '1.3.6.1.4.1.41916.11.1.1', - 'systemStatusVersion' => '1.3.6.1.4.1.41916.11.1.2', - 'systemStatusLoghostStatus' => '1.3.6.1.4.1.41916.11.1.3', - 'systemStatusLoghostName' => '1.3.6.1.4.1.41916.11.1.4', - 'systemStatusDiskStatus' => '1.3.6.1.4.1.41916.11.1.5', - 'systemStatusRebootReason' => '1.3.6.1.4.1.41916.11.1.6', - 'systemStatusCoreFilesStatus' => '1.3.6.1.4.1.41916.11.1.7', - 'systemStatusUptime' => '1.3.6.1.4.1.41916.11.1.8', - 'systemStatusMin1Avg' => '1.3.6.1.4.1.41916.11.1.9', - 'systemStatusMin5Avg' => '1.3.6.1.4.1.41916.11.1.10', - 'systemStatusMin15Avg' => '1.3.6.1.4.1.41916.11.1.11', - 'systemStatusTotalp' => '1.3.6.1.4.1.41916.11.1.12', - 'systemStatusRunningp' => '1.3.6.1.4.1.41916.11.1.13', - 'systemStatusCpuUser' => '1.3.6.1.4.1.41916.11.1.14', - 'systemStatusCpuSystem' => '1.3.6.1.4.1.41916.11.1.15', - 'systemStatusCpuIdle' => '1.3.6.1.4.1.41916.11.1.16', - 'systemStatusMemTotal' => '1.3.6.1.4.1.41916.11.1.17', - 'systemStatusMemUsed' => '1.3.6.1.4.1.41916.11.1.18', - 'systemStatusMemFree' => '1.3.6.1.4.1.41916.11.1.19', - 'systemStatusMemBuffers' => '1.3.6.1.4.1.41916.11.1.20', - 'systemStatusMemCached' => '1.3.6.1.4.1.41916.11.1.21', - 'systemStatusDiskFs' => '1.3.6.1.4.1.41916.11.1.22', - 'systemStatusDiskSize' => '1.3.6.1.4.1.41916.11.1.23', - 'systemStatusDiskUsed' => '1.3.6.1.4.1.41916.11.1.24', - 'systemStatusDiskAvail' => '1.3.6.1.4.1.41916.11.1.25', - 'systemStatusDiskUse' => '1.3.6.1.4.1.41916.11.1.26', - 'systemStatusDiskTotalBytes' => '1.3.6.1.4.1.41916.11.1.27', - 'systemStatusDiskUsedBytes' => '1.3.6.1.4.1.41916.11.1.28', - 'systemStatusDiskAvailBytes' => '1.3.6.1.4.1.41916.11.1.29', - 'systemStatusDiskMount' => '1.3.6.1.4.1.41916.11.1.30', - 'systemStatusServices' => '1.3.6.1.4.1.41916.11.1.31', - 'systemStatusBoardType' => '1.3.6.1.4.1.41916.11.1.32', - 'systemStatusBoardTypeDefinition' => 'VIPTELA-OPER-SYSTEM::systemStatusBoardType', - 'systemStatusConfigDateDateTimeString' => '1.3.6.1.4.1.41916.11.1.33', - 'systemStatusCurrentDateDateTimeString' => '1.3.6.1.4.1.41916.11.1.34', - 'systemStatusStandaloneVbond' => '1.3.6.1.4.1.41916.11.1.35', - 'systemStatusVmanaged' => '1.3.6.1.4.1.41916.11.1.36', - 'systemStatusPseudoConfirmCommit' => '1.3.6.1.4.1.41916.11.1.37', - 'systemStatusConfigTemplateName' => '1.3.6.1.4.1.41916.11.1.38', - 'systemStatusPolicyTemplateName' => '1.3.6.1.4.1.41916.11.1.39', - 'systemStatusPolicyTemplateVersion' => '1.3.6.1.4.1.41916.11.1.40', - 'systemStatusVmanageStorageDiskFs' => '1.3.6.1.4.1.41916.11.1.41', - 'systemStatusVmanageStorageDiskSize' => '1.3.6.1.4.1.41916.11.1.42', - 'systemStatusVmanageStorageDiskUsed' => '1.3.6.1.4.1.41916.11.1.43', - 'systemStatusVmanageStorageDiskAvail' => '1.3.6.1.4.1.41916.11.1.44', - 'systemStatusVmanageStorageDiskUse' => '1.3.6.1.4.1.41916.11.1.45', - 'systemStatusVmanageStorageDiskMount' => '1.3.6.1.4.1.41916.11.1.46', - 'systemStatusModel' => '1.3.6.1.4.1.41916.11.1.47', - 'systemStatusModelDefinition' => 'VIPTELA-OPER-SYSTEM::systemStatusModel', - 'systemStatusRebootType' => '1.3.6.1.4.1.41916.11.1.48', - 'systemStatusTotalCpuCount' => '1.3.6.1.4.1.41916.11.1.49', - 'systemStatusFpCpuCount' => '1.3.6.1.4.1.41916.11.1.50', - 'systemStatusLinuxCpuCount' => '1.3.6.1.4.1.41916.11.1.51', - 'systemStatusBootloaderVersion' => '1.3.6.1.4.1.41916.11.1.52', - 'systemStatusBuildNumber' => '1.3.6.1.4.1.41916.11.1.53', - 'systemStatusState' => '1.3.6.1.4.1.41916.11.1.54', - 'systemStatusStateDefinition' => 'VIPTELA-OPER-SYSTEM::systemStatusState', - 'systemStatusSystemStateDescription' => '1.3.6.1.4.1.41916.11.1.55', - 'systemStatusSystemModelSku' => '1.3.6.1.4.1.41916.11.1.56', - 'systemStatusTcpdCpuCount' => '1.3.6.1.4.1.41916.11.1.57', - 'systemStatusSystemFipsMode' => '1.3.6.1.4.1.41916.11.1.58', - 'systemStatusSystemFipsModeDefinition' => 'VIPTELA-OPER-SYSTEM::systemStatusSystemFipsMode', - 'systemStatusSystemTestbedMode' => '1.3.6.1.4.1.41916.11.1.59', - 'systemStatusSystemCtrlCompatibility' => '1.3.6.1.4.1.41916.11.1.60', - 'systemStatusSystemTimezone' => '1.3.6.1.4.1.41916.11.1.61', - 'systemStatusSystemEngineeringSigned' => '1.3.6.1.4.1.41916.11.1.62', - 'systemStatusSystemLiLicenseEnabled' => '1.3.6.1.4.1.41916.11.1.63', - 'systemStatusSystemChassisSerialNumber' => '1.3.6.1.4.1.41916.11.1.64', - 'systemStatusProcs' => '1.3.6.1.4.1.41916.11.1.100', - 'systemStatusDiskBsize' => '1.3.6.1.4.1.41916.11.1.101', - 'systemStatusDiskBlocks' => '1.3.6.1.4.1.41916.11.1.102', - 'systemStatusDiskBused' => '1.3.6.1.4.1.41916.11.1.103', - 'systemStatusDiskBavail' => '1.3.6.1.4.1.41916.11.1.104', - 'systemStatistics' => '1.3.6.1.4.1.41916.11.2', - 'systemStatisticsRxPkts' => '1.3.6.1.4.1.41916.11.2.1', - 'systemStatisticsRxDrops' => '1.3.6.1.4.1.41916.11.2.2', - 'systemStatisticsIpFwd' => '1.3.6.1.4.1.41916.11.2.3', - 'systemStatisticsIpFwdMirrorPkts' => '1.3.6.1.4.1.41916.11.2.4', - 'systemStatisticsIpFwdArp' => '1.3.6.1.4.1.41916.11.2.5', - 'systemStatisticsIpFwdToEgress' => '1.3.6.1.4.1.41916.11.2.6', - 'systemStatisticsIpFwdInvalidOil' => '1.3.6.1.4.1.41916.11.2.7', - 'systemStatisticsIpV6McastDrops' => '1.3.6.1.4.1.41916.11.2.8', - 'systemStatisticsIpFwdMcastInvalidIif' => '1.3.6.1.4.1.41916.11.2.9', - 'systemStatisticsIpFwdMcastLifeExceededDrops' => '1.3.6.1.4.1.41916.11.2.10', - 'systemStatisticsRxMcastThresholdExceeded' => '1.3.6.1.4.1.41916.11.2.11', - 'systemStatisticsIpFwdInvalidTunOil' => '1.3.6.1.4.1.41916.11.2.12', - 'systemStatisticsRxMcastPolicyFwdDrops' => '1.3.6.1.4.1.41916.11.2.13', - 'systemStatisticsRxMcastMirrorFwdDrops' => '1.3.6.1.4.1.41916.11.2.14', - 'systemStatisticsIpFwdNullMcastGroup' => '1.3.6.1.4.1.41916.11.2.15', - 'systemStatisticsIpFwdNullNhop' => '1.3.6.1.4.1.41916.11.2.16', - 'systemStatisticsIpFwdUnknownNhType' => '1.3.6.1.4.1.41916.11.2.17', - 'systemStatisticsIpFwdNatOnTunnel' => '1.3.6.1.4.1.41916.11.2.18', - 'systemStatisticsIpFwdToCpu' => '1.3.6.1.4.1.41916.11.2.19', - 'systemStatisticsIpFwdToCpuNatXlates' => '1.3.6.1.4.1.41916.11.2.20', - 'systemStatisticsIpFwdFromCpuNatXlates' => '1.3.6.1.4.1.41916.11.2.21', - 'systemStatisticsIpFwdToCpuNatDrops' => '1.3.6.1.4.1.41916.11.2.22', - 'systemStatisticsIpFwdFromCpuNonLocal' => '1.3.6.1.4.1.41916.11.2.23', - 'systemStatisticsIpFwdRxIpsec' => '1.3.6.1.4.1.41916.11.2.24', - 'systemStatisticsIpFwdMcastPkts' => '1.3.6.1.4.1.41916.11.2.25', - 'systemStatisticsIpFwdRxGre' => '1.3.6.1.4.1.41916.11.2.26', - 'systemStatisticsNatXlateOutbound' => '1.3.6.1.4.1.41916.11.2.27', - 'systemStatisticsNatXlateOutboundDrops' => '1.3.6.1.4.1.41916.11.2.28', - 'systemStatisticsNatXlateInbound' => '1.3.6.1.4.1.41916.11.2.29', - 'systemStatisticsNatXlateInboundFail' => '1.3.6.1.4.1.41916.11.2.30', - 'systemStatisticsCflowdPkts' => '1.3.6.1.4.1.41916.11.2.31', - 'systemStatisticsNoNatNexthop' => '1.3.6.1.4.1.41916.11.2.32', - 'systemStatisticsRxBcast' => '1.3.6.1.4.1.41916.11.2.33', - 'systemStatisticsRxMcast' => '1.3.6.1.4.1.41916.11.2.34', - 'systemStatisticsRxMcastLinkLocal' => '1.3.6.1.4.1.41916.11.2.35', - 'systemStatisticsRxMcastFilterToCpu' => '1.3.6.1.4.1.41916.11.2.36', - 'systemStatisticsRxMcastFilterToCpuAndFwd' => '1.3.6.1.4.1.41916.11.2.37', - 'systemStatisticsRxGreDecap' => '1.3.6.1.4.1.41916.11.2.38', - 'systemStatisticsRxGreDrops' => '1.3.6.1.4.1.41916.11.2.39', - 'systemStatisticsRxGrePolicerDrops' => '1.3.6.1.4.1.41916.11.2.40', - 'systemStatisticsRxImplicitAclDrops' => '1.3.6.1.4.1.41916.11.2.41', - 'systemStatisticsRxIpsecDecap' => '1.3.6.1.4.1.41916.11.2.42', - 'systemStatisticsRxIp6IpsecDrops' => '1.3.6.1.4.1.41916.11.2.43', - 'systemStatisticsRxSaIpsecDrops' => '1.3.6.1.4.1.41916.11.2.44', - 'systemStatisticsRxInvalidIpsecPktSize' => '1.3.6.1.4.1.41916.11.2.45', - 'systemStatisticsRxSpiIpsecDrops' => '1.3.6.1.4.1.41916.11.2.46', - 'systemStatisticsRxReplayDrops' => '1.3.6.1.4.1.41916.11.2.47', - 'systemStatisticsRxReplayIntegrityDrops' => '1.3.6.1.4.1.41916.11.2.48', - 'systemStatisticsRxUnexpectedReplayDrops' => '1.3.6.1.4.1.41916.11.2.49', - 'systemStatisticsRxNextHdrIpsecDrops' => '1.3.6.1.4.1.41916.11.2.50', - 'systemStatisticsRxMacCompareIpsecDrops' => '1.3.6.1.4.1.41916.11.2.51', - 'systemStatisticsRxErrPadIpsecDrops' => '1.3.6.1.4.1.41916.11.2.52', - 'systemStatisticsRxIpsecPolicerDrops' => '1.3.6.1.4.1.41916.11.2.53', - 'systemStatisticsRxPreIpsecPkts' => '1.3.6.1.4.1.41916.11.2.54', - 'systemStatisticsRxPreIpsecDrops' => '1.3.6.1.4.1.41916.11.2.55', - 'systemStatisticsRxPreIpsecPolicerDrops' => '1.3.6.1.4.1.41916.11.2.56', - 'systemStatisticsRxPreIpsecDecap' => '1.3.6.1.4.1.41916.11.2.57', - 'systemStatisticsOpensslAesDecrypt' => '1.3.6.1.4.1.41916.11.2.58', - 'systemStatisticsRxIpsecBadInner' => '1.3.6.1.4.1.41916.11.2.59', - 'systemStatisticsRxBadLabel' => '1.3.6.1.4.1.41916.11.2.60', - 'systemStatisticsServiceLabelFwd' => '1.3.6.1.4.1.41916.11.2.61', - 'systemStatisticsRxHostLocalPkt' => '1.3.6.1.4.1.41916.11.2.62', - 'systemStatisticsRxHostMirrorDrops' => '1.3.6.1.4.1.41916.11.2.63', - 'systemStatisticsRxTunneledPkts' => '1.3.6.1.4.1.41916.11.2.64', - 'systemStatisticsRxCpNonLocal' => '1.3.6.1.4.1.41916.11.2.65', - 'systemStatisticsTxIfNotPreferred' => '1.3.6.1.4.1.41916.11.2.66', - 'systemStatisticsTxVsmartDrop' => '1.3.6.1.4.1.41916.11.2.67', - 'systemStatisticsRxInvalidPort' => '1.3.6.1.4.1.41916.11.2.68', - 'systemStatisticsPortDisabledRx' => '1.3.6.1.4.1.41916.11.2.69', - 'systemStatisticsIpDisabledRx' => '1.3.6.1.4.1.41916.11.2.70', - 'systemStatisticsRxInvalidQtags' => '1.3.6.1.4.1.41916.11.2.71', - 'systemStatisticsRxNonIpDrops' => '1.3.6.1.4.1.41916.11.2.72', - 'systemStatisticsRxIpErrs' => '1.3.6.1.4.1.41916.11.2.73', - 'systemStatisticsPkoWredDrops' => '1.3.6.1.4.1.41916.11.2.74', - 'systemStatisticsTxQueueExceeded' => '1.3.6.1.4.1.41916.11.2.75', - 'systemStatisticsRxPolicerDrops' => '1.3.6.1.4.1.41916.11.2.76', - 'systemStatisticsRouteToHost' => '1.3.6.1.4.1.41916.11.2.77', - 'systemStatisticsTtlExpired' => '1.3.6.1.4.1.41916.11.2.78', - 'systemStatisticsIcmpRedirect' => '1.3.6.1.4.1.41916.11.2.79', - 'systemStatisticsBfdRxNonIp' => '1.3.6.1.4.1.41916.11.2.80', - 'systemStatisticsBfdTxRecordChanged' => '1.3.6.1.4.1.41916.11.2.81', - 'systemStatisticsBfdRxRecordInvalid' => '1.3.6.1.4.1.41916.11.2.82', - 'systemStatisticsBfdRxParseErr' => '1.3.6.1.4.1.41916.11.2.83', - 'systemStatisticsRxArpRateLimitDrops' => '1.3.6.1.4.1.41916.11.2.84', - 'systemStatisticsRxArpNonLocalDrops' => '1.3.6.1.4.1.41916.11.2.85', - 'systemStatisticsRxArpReqs' => '1.3.6.1.4.1.41916.11.2.86', - 'systemStatisticsRxArpReplies' => '1.3.6.1.4.1.41916.11.2.87', - 'systemStatisticsArpAddFail' => '1.3.6.1.4.1.41916.11.2.88', - 'systemStatisticsUnknownNhType' => '1.3.6.1.4.1.41916.11.2.89', - 'systemStatisticsBufAllocFails' => '1.3.6.1.4.1.41916.11.2.90', - 'systemStatisticsEcmpDiscards' => '1.3.6.1.4.1.41916.11.2.91', - 'systemStatisticsAppRoutePolicyDiscards' => '1.3.6.1.4.1.41916.11.2.92', - 'systemStatisticsCbfDiscards' => '1.3.6.1.4.1.41916.11.2.93', - 'systemStatisticsFilterDrops' => '1.3.6.1.4.1.41916.11.2.94', - 'systemStatisticsInvalidBackPtr' => '1.3.6.1.4.1.41916.11.2.95', - 'systemStatisticsTunnelLoopDrops' => '1.3.6.1.4.1.41916.11.2.96', - 'systemStatisticsToCpuPolicerDrops' => '1.3.6.1.4.1.41916.11.2.97', - 'systemStatisticsMirrorDrops' => '1.3.6.1.4.1.41916.11.2.98', - 'systemStatisticsSplitHorizonDrops' => '1.3.6.1.4.1.41916.11.2.99', - 'systemStatisticsRxNoTunIf' => '1.3.6.1.4.1.41916.11.2.100', - 'systemStatisticsTxPkts' => '1.3.6.1.4.1.41916.11.2.101', - 'systemStatisticsTxErrors' => '1.3.6.1.4.1.41916.11.2.102', - 'systemStatisticsTxBcast' => '1.3.6.1.4.1.41916.11.2.103', - 'systemStatisticsTxMcast' => '1.3.6.1.4.1.41916.11.2.104', - 'systemStatisticsPortDisabledTx' => '1.3.6.1.4.1.41916.11.2.105', - 'systemStatisticsIpDisabledTx' => '1.3.6.1.4.1.41916.11.2.106', - 'systemStatisticsTxFragmentNeeded' => '1.3.6.1.4.1.41916.11.2.107', - 'systemStatisticsTxMcastFragmentNeeded' => '1.3.6.1.4.1.41916.11.2.108', - 'systemStatisticsFragmentDfDrops' => '1.3.6.1.4.1.41916.11.2.109', - 'systemStatisticsTxFragments' => '1.3.6.1.4.1.41916.11.2.110', - 'systemStatisticsTxFragmentDrops' => '1.3.6.1.4.1.41916.11.2.111', - 'systemStatisticsTxFragmentFail' => '1.3.6.1.4.1.41916.11.2.112', - 'systemStatisticsTxFragmentAllocFail' => '1.3.6.1.4.1.41916.11.2.113', - 'systemStatisticsTunnelPmtuLowered' => '1.3.6.1.4.1.41916.11.2.114', - 'systemStatisticsTxGrePkts' => '1.3.6.1.4.1.41916.11.2.115', - 'systemStatisticsTxGreDrops' => '1.3.6.1.4.1.41916.11.2.116', - 'systemStatisticsTxGrePolicerDrops' => '1.3.6.1.4.1.41916.11.2.117', - 'systemStatisticsTxGreEncap' => '1.3.6.1.4.1.41916.11.2.118', - 'systemStatisticsTxIpsecPkts' => '1.3.6.1.4.1.41916.11.2.119', - 'systemStatisticsTxIpsecMcastPkts' => '1.3.6.1.4.1.41916.11.2.120', - 'systemStatisticsTxIp6IpsecDrops' => '1.3.6.1.4.1.41916.11.2.121', - 'systemStatisticsTxNoOutSaIpsecDrops' => '1.3.6.1.4.1.41916.11.2.122', - 'systemStatisticsTxNoTunnIpsecDrops' => '1.3.6.1.4.1.41916.11.2.123', - 'systemStatisticsTxIpsecPolicerDrops' => '1.3.6.1.4.1.41916.11.2.124', - 'systemStatisticsTxIpsecEncap' => '1.3.6.1.4.1.41916.11.2.125', - 'systemStatisticsTxIpsecMcastEncap' => '1.3.6.1.4.1.41916.11.2.126', - 'systemStatisticsTxPreIpsecPkts' => '1.3.6.1.4.1.41916.11.2.127', - 'systemStatisticsTxNoOutSaPreIpsecDrops' => '1.3.6.1.4.1.41916.11.2.128', - 'systemStatisticsTxNoTunnPreIpsecDrops' => '1.3.6.1.4.1.41916.11.2.129', - 'systemStatisticsOpensslAesEncrypt' => '1.3.6.1.4.1.41916.11.2.130', - 'systemStatisticsTxPreIpsecPolicerDrops' => '1.3.6.1.4.1.41916.11.2.131', - 'systemStatisticsTxPreIpsecEncap' => '1.3.6.1.4.1.41916.11.2.132', - 'systemStatisticsTxArpReplies' => '1.3.6.1.4.1.41916.11.2.133', - 'systemStatisticsTxArpReqs' => '1.3.6.1.4.1.41916.11.2.134', - 'systemStatisticsTxArpReqFail' => '1.3.6.1.4.1.41916.11.2.135', - 'systemStatisticsTxNoArpDrop' => '1.3.6.1.4.1.41916.11.2.136', - 'systemStatisticsTxArpRateLimitDrops' => '1.3.6.1.4.1.41916.11.2.137', - 'systemStatisticsTxIcmpPolicerDrops' => '1.3.6.1.4.1.41916.11.2.138', - 'systemStatisticsTxIcmpMirroredDrops' => '1.3.6.1.4.1.41916.11.2.139', - 'systemStatisticsBfdTxFail' => '1.3.6.1.4.1.41916.11.2.140', - 'systemStatisticsBfdAllocFail' => '1.3.6.1.4.1.41916.11.2.141', - 'systemStatisticsBfdTimerAddFail' => '1.3.6.1.4.1.41916.11.2.142', - 'systemStatisticsBfdTxPkts' => '1.3.6.1.4.1.41916.11.2.143', - 'systemStatisticsBfdRxPkts' => '1.3.6.1.4.1.41916.11.2.144', - 'systemStatisticsBfdRecDown' => '1.3.6.1.4.1.41916.11.2.145', - 'systemStatisticsBfdRecInvalid' => '1.3.6.1.4.1.41916.11.2.146', - 'systemStatisticsBfdLkupFail' => '1.3.6.1.4.1.41916.11.2.147', - 'systemStatisticsRxIcmpEchoRequests' => '1.3.6.1.4.1.41916.11.2.148', - 'systemStatisticsRxIcmpEchoReplies' => '1.3.6.1.4.1.41916.11.2.149', - 'systemStatisticsRxIcmpNetworkUnreach' => '1.3.6.1.4.1.41916.11.2.150', - 'systemStatisticsRxIcmpHostUnreach' => '1.3.6.1.4.1.41916.11.2.151', - 'systemStatisticsRxIcmpPortUnreach' => '1.3.6.1.4.1.41916.11.2.152', - 'systemStatisticsRxIcmpProtocolUnreach' => '1.3.6.1.4.1.41916.11.2.153', - 'systemStatisticsRxIcmpFragmentRequired' => '1.3.6.1.4.1.41916.11.2.154', - 'systemStatisticsRxIcmpDstUnreachOther' => '1.3.6.1.4.1.41916.11.2.155', - 'systemStatisticsRxIcmpTtlExpired' => '1.3.6.1.4.1.41916.11.2.156', - 'systemStatisticsRxIcmpRedirect' => '1.3.6.1.4.1.41916.11.2.157', - 'systemStatisticsRxIcmpSrcQuench' => '1.3.6.1.4.1.41916.11.2.158', - 'systemStatisticsRxIcmpBadIpHdr' => '1.3.6.1.4.1.41916.11.2.159', - 'systemStatisticsRxIcmpOtherTypes' => '1.3.6.1.4.1.41916.11.2.160', - 'systemStatisticsTxIcmpEchoRequests' => '1.3.6.1.4.1.41916.11.2.161', - 'systemStatisticsTxIcmpEchoReplies' => '1.3.6.1.4.1.41916.11.2.162', - 'systemStatisticsTxIcmpNetworkUnreach' => '1.3.6.1.4.1.41916.11.2.163', - 'systemStatisticsTxIcmpHostUnreach' => '1.3.6.1.4.1.41916.11.2.164', - 'systemStatisticsTxIcmpPortUnreach' => '1.3.6.1.4.1.41916.11.2.165', - 'systemStatisticsTxIcmpProtocolUnreach' => '1.3.6.1.4.1.41916.11.2.166', - 'systemStatisticsTxIcmpFragmentRequired' => '1.3.6.1.4.1.41916.11.2.167', - 'systemStatisticsTxIcmpDstUnreachOther' => '1.3.6.1.4.1.41916.11.2.168', - 'systemStatisticsTxIcmpTtlExpired' => '1.3.6.1.4.1.41916.11.2.169', - 'systemStatisticsTxIcmpRedirect' => '1.3.6.1.4.1.41916.11.2.170', - 'systemStatisticsTxIcmpSrcQuench' => '1.3.6.1.4.1.41916.11.2.171', - 'systemStatisticsTxIcmpBadIpHdr' => '1.3.6.1.4.1.41916.11.2.172', - 'systemStatisticsTxIcmpOtherTypes' => '1.3.6.1.4.1.41916.11.2.173', - 'systemStatisticsGreKaTxPkts' => '1.3.6.1.4.1.41916.11.2.174', - 'systemStatisticsGreKaRxPkts' => '1.3.6.1.4.1.41916.11.2.175', - 'systemStatisticsGreKaTxIpv4OptionsDrop' => '1.3.6.1.4.1.41916.11.2.176', - 'systemStatisticsGreKaTxNonIp' => '1.3.6.1.4.1.41916.11.2.177', - 'systemStatisticsGreKaTxParseErr' => '1.3.6.1.4.1.41916.11.2.178', - 'systemStatisticsGreKaTxRecordChanged' => '1.3.6.1.4.1.41916.11.2.179', - 'systemStatisticsGreKaTxFail' => '1.3.6.1.4.1.41916.11.2.180', - 'systemStatisticsGreKaAllocFail' => '1.3.6.1.4.1.41916.11.2.181', - 'systemStatisticsGreKaTimerAddFail' => '1.3.6.1.4.1.41916.11.2.182', - 'systemStatisticsGreKaRxNonIp' => '1.3.6.1.4.1.41916.11.2.183', - 'systemStatisticsGreKaRxRecInvalid' => '1.3.6.1.4.1.41916.11.2.184', - 'systemStatisticsDot1xRxPkts' => '1.3.6.1.4.1.41916.11.2.185', - 'systemStatisticsDot1xTxPkts' => '1.3.6.1.4.1.41916.11.2.186', - 'systemStatisticsDot1xRxDrops' => '1.3.6.1.4.1.41916.11.2.187', - 'systemStatisticsDot1xTxDrops' => '1.3.6.1.4.1.41916.11.2.188', - 'systemStatisticsDot1xVlanIfNotFoundDrops' => '1.3.6.1.4.1.41916.11.2.189', - 'systemStatisticsDot1xMacLearnDrops' => '1.3.6.1.4.1.41916.11.2.190', - 'systemStatisticsRxPolicerRemark' => '1.3.6.1.4.1.41916.11.2.191', - 'systemStatisticsBfdTxOctets' => '1.3.6.1.4.1.41916.11.2.192', - 'systemStatisticsBfdRxOctets' => '1.3.6.1.4.1.41916.11.2.193', - 'systemStatisticsBfdPmtuTxPkts' => '1.3.6.1.4.1.41916.11.2.194', - 'systemStatisticsBfdPmtuRxPkts' => '1.3.6.1.4.1.41916.11.2.195', - 'systemStatisticsBfdPmtuTxOctets' => '1.3.6.1.4.1.41916.11.2.196', - 'systemStatisticsBfdPmtuRxOctets' => '1.3.6.1.4.1.41916.11.2.197', - 'systemStatisticsDnsReqSnoop' => '1.3.6.1.4.1.41916.11.2.198', - 'systemStatisticsDnsResSnoop' => '1.3.6.1.4.1.41916.11.2.199', - 'systemStatisticsCtrlLoopFwd' => '1.3.6.1.4.1.41916.11.2.200', - 'systemStatisticsCtrlLoopFwdDrops' => '1.3.6.1.4.1.41916.11.2.201', - 'systemStatisticsRedirectDnsReq' => '1.3.6.1.4.1.41916.11.2.202', - 'systemStatisticsQatAesDecrypt' => '1.3.6.1.4.1.41916.11.2.204', - 'systemStatisticsQatAesEncrypt' => '1.3.6.1.4.1.41916.11.2.205', - 'systemStatisticsQatGcmDecrypt' => '1.3.6.1.4.1.41916.11.2.206', - 'systemStatisticsQatGcmEncrypt' => '1.3.6.1.4.1.41916.11.2.207', - 'systemStatisticsOpensslGcmDecrypt' => '1.3.6.1.4.1.41916.11.2.208', - 'systemStatisticsOpensslGcmEncrypt' => '1.3.6.1.4.1.41916.11.2.209', - 'systemStatisticsRxReplayDropsTc0' => '1.3.6.1.4.1.41916.11.2.210', - 'systemStatisticsRxReplayDropsTc1' => '1.3.6.1.4.1.41916.11.2.211', - 'systemStatisticsRxReplayDropsTc2' => '1.3.6.1.4.1.41916.11.2.212', - 'systemStatisticsRxReplayDropsTc3' => '1.3.6.1.4.1.41916.11.2.213', - 'systemStatisticsRxReplayDropsTc4' => '1.3.6.1.4.1.41916.11.2.214', - 'systemStatisticsRxReplayDropsTc5' => '1.3.6.1.4.1.41916.11.2.215', - 'systemStatisticsRxReplayDropsTc6' => '1.3.6.1.4.1.41916.11.2.216', - 'systemStatisticsRxReplayDropsTc7' => '1.3.6.1.4.1.41916.11.2.217', - 'systemStatisticsRxWindowDropsTc0' => '1.3.6.1.4.1.41916.11.2.218', - 'systemStatisticsRxWindowDropsTc1' => '1.3.6.1.4.1.41916.11.2.219', - 'systemStatisticsRxWindowDropsTc2' => '1.3.6.1.4.1.41916.11.2.220', - 'systemStatisticsRxWindowDropsTc3' => '1.3.6.1.4.1.41916.11.2.221', - 'systemStatisticsRxWindowDropsTc4' => '1.3.6.1.4.1.41916.11.2.222', - 'systemStatisticsRxWindowDropsTc5' => '1.3.6.1.4.1.41916.11.2.223', - 'systemStatisticsRxWindowDropsTc6' => '1.3.6.1.4.1.41916.11.2.224', - 'systemStatisticsRxWindowDropsTc7' => '1.3.6.1.4.1.41916.11.2.225', - 'systemStatisticsRxUnexpectedReplayDropsTc0' => '1.3.6.1.4.1.41916.11.2.226', - 'systemStatisticsRxUnexpectedReplayDropsTc1' => '1.3.6.1.4.1.41916.11.2.227', - 'systemStatisticsRxUnexpectedReplayDropsTc2' => '1.3.6.1.4.1.41916.11.2.228', - 'systemStatisticsRxUnexpectedReplayDropsTc3' => '1.3.6.1.4.1.41916.11.2.229', - 'systemStatisticsRxUnexpectedReplayDropsTc4' => '1.3.6.1.4.1.41916.11.2.230', - 'systemStatisticsRxUnexpectedReplayDropsTc5' => '1.3.6.1.4.1.41916.11.2.231', - 'systemStatisticsRxUnexpectedReplayDropsTc6' => '1.3.6.1.4.1.41916.11.2.232', - 'systemStatisticsRxUnexpectedReplayDropsTc7' => '1.3.6.1.4.1.41916.11.2.233', - 'systemStatisticsRxReplayIntegrityDropsTc0' => '1.3.6.1.4.1.41916.11.2.234', - 'systemStatisticsRxReplayIntegrityDropsTc1' => '1.3.6.1.4.1.41916.11.2.235', - 'systemStatisticsRxReplayIntegrityDropsTc2' => '1.3.6.1.4.1.41916.11.2.236', - 'systemStatisticsRxReplayIntegrityDropsTc3' => '1.3.6.1.4.1.41916.11.2.237', - 'systemStatisticsRxReplayIntegrityDropsTc4' => '1.3.6.1.4.1.41916.11.2.238', - 'systemStatisticsRxReplayIntegrityDropsTc5' => '1.3.6.1.4.1.41916.11.2.239', - 'systemStatisticsRxReplayIntegrityDropsTc6' => '1.3.6.1.4.1.41916.11.2.240', - 'systemStatisticsRxReplayIntegrityDropsTc7' => '1.3.6.1.4.1.41916.11.2.241', - 'systemStatisticsIcmpRedirectTxDrops' => '1.3.6.1.4.1.41916.11.2.242', - 'systemStatisticsIcmpRedirectRxDrops' => '1.3.6.1.4.1.41916.11.2.243', - 'systemStatisticsRxL2MtuExceeded' => '1.3.6.1.4.1.41916.11.2.244', - 'systemStatisticsTcpOptTimeoutStateErr' => '1.3.6.1.4.1.41916.11.2.245', - 'systemStatisticsTcpOptThirdSynPt' => '1.3.6.1.4.1.41916.11.2.246', - 'systemStatisticsTcpOptInitLimitPt' => '1.3.6.1.4.1.41916.11.2.247', - 'systemStatisticsTcpOptToCpu' => '1.3.6.1.4.1.41916.11.2.248', - 'systemStatisticsTcpOptFromCpu' => '1.3.6.1.4.1.41916.11.2.249', - 'systemStatisticsTcpOptCtrlInvalidSeq' => '1.3.6.1.4.1.41916.11.2.250', - 'systemStatisticsTcpOptMboxTotal' => '1.3.6.1.4.1.41916.11.2.251', - 'systemStatisticsTcpOptNewFlow' => '1.3.6.1.4.1.41916.11.2.252', - 'systemStatisticsTcpOptDelFlow' => '1.3.6.1.4.1.41916.11.2.253', - 'systemStatisticsIpDirectBcastTxDrops' => '1.3.6.1.4.1.41916.11.2.254', - 'systemStatisticsIpDirectBcastTxL2Bcast' => '1.3.6.1.4.1.41916.11.2.255', - 'systemStatisticsRxInvalidIpHdr' => '1.3.6.1.4.1.41916.11.2.256', - 'systemStatisticsNatDstNatMapInvalid' => '1.3.6.1.4.1.41916.11.2.257', - 'systemStatisticsDevicePolicyDrops' => '1.3.6.1.4.1.41916.11.2.258', - 'systemStatisticsInvalidLoopHdrDrops' => '1.3.6.1.4.1.41916.11.2.259', - 'systemStatisticsZbfFragCacheDrops' => '1.3.6.1.4.1.41916.11.2.260', - 'systemStatisticsNatFragCacheDrops' => '1.3.6.1.4.1.41916.11.2.261', - 'systemStatisticsTxTrackerIfNotPreferred' => '1.3.6.1.4.1.41916.11.2.262', - 'systemStatisticsIpfragAllfragsSeen' => '1.3.6.1.4.1.41916.11.2.263', - 'systemStatisticsIpfragManyFrags' => '1.3.6.1.4.1.41916.11.2.264', - 'systemStatisticsVRRPMismatchedDMACDrops' => '1.3.6.1.4.1.41916.11.2.265', - 'systemStatisticsDiff' => '1.3.6.1.4.1.41916.11.3', - 'systemStatisticsDiffRxPkts' => '1.3.6.1.4.1.41916.11.3.1', - 'systemStatisticsDiffRxDrops' => '1.3.6.1.4.1.41916.11.3.2', - 'systemStatisticsDiffIpFwd' => '1.3.6.1.4.1.41916.11.3.3', - 'systemStatisticsDiffIpFwdMirrorPkts' => '1.3.6.1.4.1.41916.11.3.4', - 'systemStatisticsDiffIpFwdArp' => '1.3.6.1.4.1.41916.11.3.5', - 'systemStatisticsDiffIpFwdToEgress' => '1.3.6.1.4.1.41916.11.3.6', - 'systemStatisticsDiffIpFwdInvalidOil' => '1.3.6.1.4.1.41916.11.3.7', - 'systemStatisticsDiffIpV6McastDrops' => '1.3.6.1.4.1.41916.11.3.8', - 'systemStatisticsDiffIpFwdMcastInvalidIif' => '1.3.6.1.4.1.41916.11.3.9', - 'systemStatisticsDiffIpFwdMcastLifeExceededDrops' => '1.3.6.1.4.1.41916.11.3.10', - 'systemStatisticsDiffRxMcastThresholdExceeded' => '1.3.6.1.4.1.41916.11.3.11', - 'systemStatisticsDiffIpFwdInvalidTunOil' => '1.3.6.1.4.1.41916.11.3.12', - 'systemStatisticsDiffRxMcastPolicyFwdDrops' => '1.3.6.1.4.1.41916.11.3.13', - 'systemStatisticsDiffRxMcastMirrorFwdDrops' => '1.3.6.1.4.1.41916.11.3.14', - 'systemStatisticsDiffIpFwdNullMcastGroup' => '1.3.6.1.4.1.41916.11.3.15', - 'systemStatisticsDiffIpFwdNullNhop' => '1.3.6.1.4.1.41916.11.3.16', - 'systemStatisticsDiffIpFwdUnknownNhType' => '1.3.6.1.4.1.41916.11.3.17', - 'systemStatisticsDiffIpFwdNatOnTunnel' => '1.3.6.1.4.1.41916.11.3.18', - 'systemStatisticsDiffIpFwdToCpu' => '1.3.6.1.4.1.41916.11.3.19', - 'systemStatisticsDiffIpFwdToCpuNatXlates' => '1.3.6.1.4.1.41916.11.3.20', - 'systemStatisticsDiffIpFwdFromCpuNatXlates' => '1.3.6.1.4.1.41916.11.3.21', - 'systemStatisticsDiffIpFwdToCpuNatDrops' => '1.3.6.1.4.1.41916.11.3.22', - 'systemStatisticsDiffIpFwdFromCpuNonLocal' => '1.3.6.1.4.1.41916.11.3.23', - 'systemStatisticsDiffIpFwdRxIpsec' => '1.3.6.1.4.1.41916.11.3.24', - 'systemStatisticsDiffIpFwdMcastPkts' => '1.3.6.1.4.1.41916.11.3.25', - 'systemStatisticsDiffIpFwdRxGre' => '1.3.6.1.4.1.41916.11.3.26', - 'systemStatisticsDiffNatXlateOutbound' => '1.3.6.1.4.1.41916.11.3.27', - 'systemStatisticsDiffNatXlateOutboundDrops' => '1.3.6.1.4.1.41916.11.3.28', - 'systemStatisticsDiffNatXlateInbound' => '1.3.6.1.4.1.41916.11.3.29', - 'systemStatisticsDiffNatXlateInboundFail' => '1.3.6.1.4.1.41916.11.3.30', - 'systemStatisticsDiffCflowdPkts' => '1.3.6.1.4.1.41916.11.3.31', - 'systemStatisticsDiffRxBcast' => '1.3.6.1.4.1.41916.11.3.32', - 'systemStatisticsDiffRxMcast' => '1.3.6.1.4.1.41916.11.3.33', - 'systemStatisticsDiffRxMcastLinkLocal' => '1.3.6.1.4.1.41916.11.3.34', - 'systemStatisticsDiffRxMcastFilterToCpu' => '1.3.6.1.4.1.41916.11.3.35', - 'systemStatisticsDiffRxMcastFilterToCpuAndFwd' => '1.3.6.1.4.1.41916.11.3.36', - 'systemStatisticsDiffRxGreDecap' => '1.3.6.1.4.1.41916.11.3.37', - 'systemStatisticsDiffRxGreDrops' => '1.3.6.1.4.1.41916.11.3.38', - 'systemStatisticsDiffRxGrePolicerDrops' => '1.3.6.1.4.1.41916.11.3.39', - 'systemStatisticsDiffRxImplicitAclDrops' => '1.3.6.1.4.1.41916.11.3.40', - 'systemStatisticsDiffRxIpsecDecap' => '1.3.6.1.4.1.41916.11.3.41', - 'systemStatisticsDiffRxIp6IpsecDrops' => '1.3.6.1.4.1.41916.11.3.42', - 'systemStatisticsDiffRxSaIpsecDrops' => '1.3.6.1.4.1.41916.11.3.43', - 'systemStatisticsDiffRxInvalidIpsecPktSize' => '1.3.6.1.4.1.41916.11.3.44', - 'systemStatisticsDiffRxSpiIpsecDrops' => '1.3.6.1.4.1.41916.11.3.45', - 'systemStatisticsDiffRxReplayDrops' => '1.3.6.1.4.1.41916.11.3.46', - 'systemStatisticsDiffRxReplayIntegrityDrops' => '1.3.6.1.4.1.41916.11.3.47', - 'systemStatisticsDiffRxUnexpectedReplayDrops' => '1.3.6.1.4.1.41916.11.3.48', - 'systemStatisticsDiffRxNextHdrIpsecDrops' => '1.3.6.1.4.1.41916.11.3.49', - 'systemStatisticsDiffRxMacCompareIpsecDrops' => '1.3.6.1.4.1.41916.11.3.50', - 'systemStatisticsDiffRxErrPadIpsecDrops' => '1.3.6.1.4.1.41916.11.3.51', - 'systemStatisticsDiffRxIpsecPolicerDrops' => '1.3.6.1.4.1.41916.11.3.52', - 'systemStatisticsDiffRxPreIpsecPkts' => '1.3.6.1.4.1.41916.11.3.53', - 'systemStatisticsDiffRxPreIpsecDrops' => '1.3.6.1.4.1.41916.11.3.54', - 'systemStatisticsDiffRxPreIpsecPolicerDrops' => '1.3.6.1.4.1.41916.11.3.55', - 'systemStatisticsDiffRxPreIpsecDecap' => '1.3.6.1.4.1.41916.11.3.56', - 'systemStatisticsDiffOpensslAesDecrypt' => '1.3.6.1.4.1.41916.11.3.57', - 'systemStatisticsDiffRxIpsecBadInner' => '1.3.6.1.4.1.41916.11.3.58', - 'systemStatisticsDiffRxBadLabel' => '1.3.6.1.4.1.41916.11.3.59', - 'systemStatisticsDiffServiceLabelFwd' => '1.3.6.1.4.1.41916.11.3.60', - 'systemStatisticsDiffRxHostLocalPkt' => '1.3.6.1.4.1.41916.11.3.61', - 'systemStatisticsDiffRxHostMirrorDrops' => '1.3.6.1.4.1.41916.11.3.62', - 'systemStatisticsDiffRxTunneledPkts' => '1.3.6.1.4.1.41916.11.3.63', - 'systemStatisticsDiffRxCpNonLocal' => '1.3.6.1.4.1.41916.11.3.64', - 'systemStatisticsDiffTxIfNotPreferred' => '1.3.6.1.4.1.41916.11.3.65', - 'systemStatisticsDiffTxVsmartDrop' => '1.3.6.1.4.1.41916.11.3.66', - 'systemStatisticsDiffRxInvalidPort' => '1.3.6.1.4.1.41916.11.3.67', - 'systemStatisticsDiffPortDisabledRx' => '1.3.6.1.4.1.41916.11.3.68', - 'systemStatisticsDiffIpDisabledRx' => '1.3.6.1.4.1.41916.11.3.69', - 'systemStatisticsDiffRxInvalidQtags' => '1.3.6.1.4.1.41916.11.3.70', - 'systemStatisticsDiffRxNonIpDrops' => '1.3.6.1.4.1.41916.11.3.71', - 'systemStatisticsDiffRxIpErrs' => '1.3.6.1.4.1.41916.11.3.72', - 'systemStatisticsDiffPkoWredDrops' => '1.3.6.1.4.1.41916.11.3.73', - 'systemStatisticsDiffTxQueueExceeded' => '1.3.6.1.4.1.41916.11.3.74', - 'systemStatisticsDiffRxPolicerDrops' => '1.3.6.1.4.1.41916.11.3.75', - 'systemStatisticsDiffRouteToHost' => '1.3.6.1.4.1.41916.11.3.76', - 'systemStatisticsDiffTtlExpired' => '1.3.6.1.4.1.41916.11.3.77', - 'systemStatisticsDiffIcmpRedirect' => '1.3.6.1.4.1.41916.11.3.78', - 'systemStatisticsDiffBfdRxNonIp' => '1.3.6.1.4.1.41916.11.3.79', - 'systemStatisticsDiffBfdTxRecordChanged' => '1.3.6.1.4.1.41916.11.3.80', - 'systemStatisticsDiffBfdRxRecordInvalid' => '1.3.6.1.4.1.41916.11.3.81', - 'systemStatisticsDiffBfdRxParseErr' => '1.3.6.1.4.1.41916.11.3.82', - 'systemStatisticsDiffRxArpRateLimitDrops' => '1.3.6.1.4.1.41916.11.3.83', - 'systemStatisticsDiffRxArpNonLocalDrops' => '1.3.6.1.4.1.41916.11.3.84', - 'systemStatisticsDiffRxArpReqs' => '1.3.6.1.4.1.41916.11.3.85', - 'systemStatisticsDiffRxArpReplies' => '1.3.6.1.4.1.41916.11.3.86', - 'systemStatisticsDiffArpAddFail' => '1.3.6.1.4.1.41916.11.3.87', - 'systemStatisticsDiffUnknownNhType' => '1.3.6.1.4.1.41916.11.3.88', - 'systemStatisticsDiffBufAllocFails' => '1.3.6.1.4.1.41916.11.3.89', - 'systemStatisticsDiffEcmpDiscards' => '1.3.6.1.4.1.41916.11.3.90', - 'systemStatisticsDiffAppRoutePolicyDiscards' => '1.3.6.1.4.1.41916.11.3.91', - 'systemStatisticsDiffCbfDiscards' => '1.3.6.1.4.1.41916.11.3.92', - 'systemStatisticsDiffFilterDrops' => '1.3.6.1.4.1.41916.11.3.93', - 'systemStatisticsDiffInvalidBackPtr' => '1.3.6.1.4.1.41916.11.3.94', - 'systemStatisticsDiffTunnelLoopDrops' => '1.3.6.1.4.1.41916.11.3.95', - 'systemStatisticsDiffToCpuPolicerDrops' => '1.3.6.1.4.1.41916.11.3.96', - 'systemStatisticsDiffMirrorDrops' => '1.3.6.1.4.1.41916.11.3.97', - 'systemStatisticsDiffSplitHorizonDrops' => '1.3.6.1.4.1.41916.11.3.98', - 'systemStatisticsDiffRxNoTunIf' => '1.3.6.1.4.1.41916.11.3.99', - 'systemStatisticsDiffTxPkts' => '1.3.6.1.4.1.41916.11.3.100', - 'systemStatisticsDiffTxErrors' => '1.3.6.1.4.1.41916.11.3.101', - 'systemStatisticsDiffTxBcast' => '1.3.6.1.4.1.41916.11.3.102', - 'systemStatisticsDiffTxMcast' => '1.3.6.1.4.1.41916.11.3.103', - 'systemStatisticsDiffPortDisabledTx' => '1.3.6.1.4.1.41916.11.3.104', - 'systemStatisticsDiffIpDisabledTx' => '1.3.6.1.4.1.41916.11.3.105', - 'systemStatisticsDiffTxFragmentNeeded' => '1.3.6.1.4.1.41916.11.3.106', - 'systemStatisticsDiffTxMcastFragmentNeeded' => '1.3.6.1.4.1.41916.11.3.107', - 'systemStatisticsDiffFragmentDfDrops' => '1.3.6.1.4.1.41916.11.3.108', - 'systemStatisticsDiffTxFragments' => '1.3.6.1.4.1.41916.11.3.109', - 'systemStatisticsDiffTxFragmentDrops' => '1.3.6.1.4.1.41916.11.3.110', - 'systemStatisticsDiffTxFragmentFail' => '1.3.6.1.4.1.41916.11.3.111', - 'systemStatisticsDiffTxFragmentAllocFail' => '1.3.6.1.4.1.41916.11.3.112', - 'systemStatisticsDiffTunnelPmtuLowered' => '1.3.6.1.4.1.41916.11.3.113', - 'systemStatisticsDiffTxGrePkts' => '1.3.6.1.4.1.41916.11.3.114', - 'systemStatisticsDiffTxGreDrops' => '1.3.6.1.4.1.41916.11.3.115', - 'systemStatisticsDiffTxGrePolicerDrops' => '1.3.6.1.4.1.41916.11.3.116', - 'systemStatisticsDiffTxGreEncap' => '1.3.6.1.4.1.41916.11.3.117', - 'systemStatisticsDiffTxIpsecPkts' => '1.3.6.1.4.1.41916.11.3.118', - 'systemStatisticsDiffTxIpsecMcastPkts' => '1.3.6.1.4.1.41916.11.3.119', - 'systemStatisticsDiffTxIp6IpsecDrops' => '1.3.6.1.4.1.41916.11.3.120', - 'systemStatisticsDiffTxNoOutSaIpsecDrops' => '1.3.6.1.4.1.41916.11.3.121', - 'systemStatisticsDiffTxNoTunnIpsecDrops' => '1.3.6.1.4.1.41916.11.3.122', - 'systemStatisticsDiffTxIpsecPolicerDrops' => '1.3.6.1.4.1.41916.11.3.123', - 'systemStatisticsDiffTxIpsecEncap' => '1.3.6.1.4.1.41916.11.3.124', - 'systemStatisticsDiffTxIpsecMcastEncap' => '1.3.6.1.4.1.41916.11.3.125', - 'systemStatisticsDiffTxPreIpsecPkts' => '1.3.6.1.4.1.41916.11.3.126', - 'systemStatisticsDiffTxNoOutSaPreIpsecDrops' => '1.3.6.1.4.1.41916.11.3.127', - 'systemStatisticsDiffTxNoTunnPreIpsecDrops' => '1.3.6.1.4.1.41916.11.3.128', - 'systemStatisticsDiffOpensslAesEncrypt' => '1.3.6.1.4.1.41916.11.3.129', - 'systemStatisticsDiffTxPreIpsecPolicerDrops' => '1.3.6.1.4.1.41916.11.3.130', - 'systemStatisticsDiffTxPreIpsecEncap' => '1.3.6.1.4.1.41916.11.3.131', - 'systemStatisticsDiffTxArpReplies' => '1.3.6.1.4.1.41916.11.3.132', - 'systemStatisticsDiffTxArpReqs' => '1.3.6.1.4.1.41916.11.3.133', - 'systemStatisticsDiffTxArpReqFail' => '1.3.6.1.4.1.41916.11.3.134', - 'systemStatisticsDiffTxNoArpDrop' => '1.3.6.1.4.1.41916.11.3.135', - 'systemStatisticsDiffTxArpRateLimitDrops' => '1.3.6.1.4.1.41916.11.3.136', - 'systemStatisticsDiffTxIcmpPolicerDrops' => '1.3.6.1.4.1.41916.11.3.137', - 'systemStatisticsDiffTxIcmpMirroredDrops' => '1.3.6.1.4.1.41916.11.3.138', - 'systemStatisticsDiffBfdTxFail' => '1.3.6.1.4.1.41916.11.3.139', - 'systemStatisticsDiffBfdAllocFail' => '1.3.6.1.4.1.41916.11.3.140', - 'systemStatisticsDiffBfdTimerAddFail' => '1.3.6.1.4.1.41916.11.3.141', - 'systemStatisticsDiffBfdTxPkts' => '1.3.6.1.4.1.41916.11.3.142', - 'systemStatisticsDiffBfdRxPkts' => '1.3.6.1.4.1.41916.11.3.143', - 'systemStatisticsDiffBfdRecDown' => '1.3.6.1.4.1.41916.11.3.144', - 'systemStatisticsDiffBfdRecInvalid' => '1.3.6.1.4.1.41916.11.3.145', - 'systemStatisticsDiffBfdLkupFail' => '1.3.6.1.4.1.41916.11.3.146', - 'systemStatisticsDiffRxIcmpEchoRequests' => '1.3.6.1.4.1.41916.11.3.147', - 'systemStatisticsDiffRxIcmpEchoReplies' => '1.3.6.1.4.1.41916.11.3.148', - 'systemStatisticsDiffRxIcmpNetworkUnreach' => '1.3.6.1.4.1.41916.11.3.149', - 'systemStatisticsDiffRxIcmpHostUnreach' => '1.3.6.1.4.1.41916.11.3.150', - 'systemStatisticsDiffRxIcmpPortUnreach' => '1.3.6.1.4.1.41916.11.3.151', - 'systemStatisticsDiffRxIcmpProtocolUnreach' => '1.3.6.1.4.1.41916.11.3.152', - 'systemStatisticsDiffRxIcmpFragmentRequired' => '1.3.6.1.4.1.41916.11.3.153', - 'systemStatisticsDiffRxIcmpDstUnreachOther' => '1.3.6.1.4.1.41916.11.3.154', - 'systemStatisticsDiffRxIcmpTtlExpired' => '1.3.6.1.4.1.41916.11.3.155', - 'systemStatisticsDiffRxIcmpRedirect' => '1.3.6.1.4.1.41916.11.3.156', - 'systemStatisticsDiffRxIcmpSrcQuench' => '1.3.6.1.4.1.41916.11.3.157', - 'systemStatisticsDiffRxIcmpBadIpHdr' => '1.3.6.1.4.1.41916.11.3.158', - 'systemStatisticsDiffRxIcmpOtherTypes' => '1.3.6.1.4.1.41916.11.3.159', - 'systemStatisticsDiffTxIcmpEchoRequests' => '1.3.6.1.4.1.41916.11.3.160', - 'systemStatisticsDiffTxIcmpEchoReplies' => '1.3.6.1.4.1.41916.11.3.161', - 'systemStatisticsDiffTxIcmpNetworkUnreach' => '1.3.6.1.4.1.41916.11.3.162', - 'systemStatisticsDiffTxIcmpHostUnreach' => '1.3.6.1.4.1.41916.11.3.163', - 'systemStatisticsDiffTxIcmpPortUnreach' => '1.3.6.1.4.1.41916.11.3.164', - 'systemStatisticsDiffTxIcmpProtocolUnreach' => '1.3.6.1.4.1.41916.11.3.165', - 'systemStatisticsDiffTxIcmpFragmentRequired' => '1.3.6.1.4.1.41916.11.3.166', - 'systemStatisticsDiffTxIcmpDstUnreachOther' => '1.3.6.1.4.1.41916.11.3.167', - 'systemStatisticsDiffTxIcmpTtlExpired' => '1.3.6.1.4.1.41916.11.3.168', - 'systemStatisticsDiffTxIcmpRedirect' => '1.3.6.1.4.1.41916.11.3.169', - 'systemStatisticsDiffTxIcmpSrcQuench' => '1.3.6.1.4.1.41916.11.3.170', - 'systemStatisticsDiffTxIcmpBadIpHdr' => '1.3.6.1.4.1.41916.11.3.171', - 'systemStatisticsDiffTxIcmpOtherTypes' => '1.3.6.1.4.1.41916.11.3.172', - 'systemStatisticsDiffGreKaTxPkts' => '1.3.6.1.4.1.41916.11.3.174', - 'systemStatisticsDiffGreKaRxPkts' => '1.3.6.1.4.1.41916.11.3.175', - 'systemStatisticsDiffGreKaTxIpv4OptionsDrop' => '1.3.6.1.4.1.41916.11.3.176', - 'systemStatisticsDiffGreKaTxNonIp' => '1.3.6.1.4.1.41916.11.3.177', - 'systemStatisticsDiffGreKaTxParseErr' => '1.3.6.1.4.1.41916.11.3.178', - 'systemStatisticsDiffGreKaTxRecordChanged' => '1.3.6.1.4.1.41916.11.3.179', - 'systemStatisticsDiffGreKaTxFail' => '1.3.6.1.4.1.41916.11.3.180', - 'systemStatisticsDiffGreKaAllocFail' => '1.3.6.1.4.1.41916.11.3.181', - 'systemStatisticsDiffGreKaTimerAddFail' => '1.3.6.1.4.1.41916.11.3.182', - 'systemStatisticsDiffGreKaRxNonIp' => '1.3.6.1.4.1.41916.11.3.183', - 'systemStatisticsDiffGreKaRxRecInvalid' => '1.3.6.1.4.1.41916.11.3.184', - 'systemStatisticsDiffDot1xRxPkts' => '1.3.6.1.4.1.41916.11.3.185', - 'systemStatisticsDiffDot1xTxPkts' => '1.3.6.1.4.1.41916.11.3.186', - 'systemStatisticsDiffDot1xRxDrops' => '1.3.6.1.4.1.41916.11.3.187', - 'systemStatisticsDiffDot1xTxDrops' => '1.3.6.1.4.1.41916.11.3.188', - 'systemStatisticsDiffDot1xVlanIfNotFoundDrops' => '1.3.6.1.4.1.41916.11.3.189', - 'systemStatisticsDiffDot1xMacLearnDrops' => '1.3.6.1.4.1.41916.11.3.190', - 'systemStatisticsDiffRxPolicerRemark' => '1.3.6.1.4.1.41916.11.3.191', - 'systemStatisticsDiffBfdTxOctets' => '1.3.6.1.4.1.41916.11.3.192', - 'systemStatisticsDiffBfdRxOctets' => '1.3.6.1.4.1.41916.11.3.193', - 'systemStatisticsDiffBfdPmtuTxPkts' => '1.3.6.1.4.1.41916.11.3.194', - 'systemStatisticsDiffBfdPmtuRxPkts' => '1.3.6.1.4.1.41916.11.3.195', - 'systemStatisticsDiffBfdPmtuTxOctets' => '1.3.6.1.4.1.41916.11.3.196', - 'systemStatisticsDiffBfdPmtuRxOctets' => '1.3.6.1.4.1.41916.11.3.197', - 'systemStatisticsDiffDnsReqSnoop' => '1.3.6.1.4.1.41916.11.3.198', - 'systemStatisticsDiffDnsResSnoop' => '1.3.6.1.4.1.41916.11.3.199', - 'systemStatisticsDiffCtrlLoopFwd' => '1.3.6.1.4.1.41916.11.3.200', - 'systemStatisticsDiffCtrlLoopFwdDrops' => '1.3.6.1.4.1.41916.11.3.201', - 'systemStatisticsDiffQatAesDecrypt' => '1.3.6.1.4.1.41916.11.3.204', - 'systemStatisticsDiffQatAesEncrypt' => '1.3.6.1.4.1.41916.11.3.205', - 'systemStatisticsDiffQatGcmDecrypt' => '1.3.6.1.4.1.41916.11.3.206', - 'systemStatisticsDiffQatGcmEncrypt' => '1.3.6.1.4.1.41916.11.3.207', - 'systemStatisticsDiffOpensslGcmDecrypt' => '1.3.6.1.4.1.41916.11.3.208', - 'systemStatisticsDiffOpensslGcmEncrypt' => '1.3.6.1.4.1.41916.11.3.209', - 'systemStatisticsDiffRxReplayDropsTc0' => '1.3.6.1.4.1.41916.11.3.210', - 'systemStatisticsDiffRxReplayDropsTc1' => '1.3.6.1.4.1.41916.11.3.211', - 'systemStatisticsDiffRxReplayDropsTc2' => '1.3.6.1.4.1.41916.11.3.212', - 'systemStatisticsDiffRxReplayDropsTc3' => '1.3.6.1.4.1.41916.11.3.213', - 'systemStatisticsDiffRxReplayDropsTc4' => '1.3.6.1.4.1.41916.11.3.214', - 'systemStatisticsDiffRxReplayDropsTc5' => '1.3.6.1.4.1.41916.11.3.215', - 'systemStatisticsDiffRxReplayDropsTc6' => '1.3.6.1.4.1.41916.11.3.216', - 'systemStatisticsDiffRxReplayDropsTc7' => '1.3.6.1.4.1.41916.11.3.217', - 'systemStatisticsDiffRxWindowDropsTc0' => '1.3.6.1.4.1.41916.11.3.218', - 'systemStatisticsDiffRxWindowDropsTc1' => '1.3.6.1.4.1.41916.11.3.219', - 'systemStatisticsDiffRxWindowDropsTc2' => '1.3.6.1.4.1.41916.11.3.220', - 'systemStatisticsDiffRxWindowDropsTc3' => '1.3.6.1.4.1.41916.11.3.221', - 'systemStatisticsDiffRxWindowDropsTc4' => '1.3.6.1.4.1.41916.11.3.222', - 'systemStatisticsDiffRxWindowDropsTc5' => '1.3.6.1.4.1.41916.11.3.223', - 'systemStatisticsDiffRxWindowDropsTc6' => '1.3.6.1.4.1.41916.11.3.224', - 'systemStatisticsDiffRxWindowDropsTc7' => '1.3.6.1.4.1.41916.11.3.225', - 'systemStatisticsDiffRxUnexpectedReplayDropsTc0' => '1.3.6.1.4.1.41916.11.3.226', - 'systemStatisticsDiffRxUnexpectedReplayDropsTc1' => '1.3.6.1.4.1.41916.11.3.227', - 'systemStatisticsDiffRxUnexpectedReplayDropsTc2' => '1.3.6.1.4.1.41916.11.3.228', - 'systemStatisticsDiffRxUnexpectedReplayDropsTc3' => '1.3.6.1.4.1.41916.11.3.229', - 'systemStatisticsDiffRxUnexpectedReplayDropsTc4' => '1.3.6.1.4.1.41916.11.3.230', - 'systemStatisticsDiffRxUnexpectedReplayDropsTc5' => '1.3.6.1.4.1.41916.11.3.231', - 'systemStatisticsDiffRxUnexpectedReplayDropsTc6' => '1.3.6.1.4.1.41916.11.3.232', - 'systemStatisticsDiffRxUnexpectedReplayDropsTc7' => '1.3.6.1.4.1.41916.11.3.233', - 'systemStatisticsDiffRxReplayIntegrityDropsTc0' => '1.3.6.1.4.1.41916.11.3.234', - 'systemStatisticsDiffRxReplayIntegrityDropsTc1' => '1.3.6.1.4.1.41916.11.3.235', - 'systemStatisticsDiffRxReplayIntegrityDropsTc2' => '1.3.6.1.4.1.41916.11.3.236', - 'systemStatisticsDiffRxReplayIntegrityDropsTc3' => '1.3.6.1.4.1.41916.11.3.237', - 'systemStatisticsDiffRxReplayIntegrityDropsTc4' => '1.3.6.1.4.1.41916.11.3.238', - 'systemStatisticsDiffRxReplayIntegrityDropsTc5' => '1.3.6.1.4.1.41916.11.3.239', - 'systemStatisticsDiffRxReplayIntegrityDropsTc6' => '1.3.6.1.4.1.41916.11.3.240', - 'systemStatisticsDiffRxReplayIntegrityDropsTc7' => '1.3.6.1.4.1.41916.11.3.241', - 'systemStatisticsDiffIcmpRedirectTxDrops' => '1.3.6.1.4.1.41916.11.3.242', - 'systemStatisticsDiffIcmpRedirectRxDrops' => '1.3.6.1.4.1.41916.11.3.243', - 'systemStatisticsDiffRxL2MtuExceeded' => '1.3.6.1.4.1.41916.11.3.244', - 'systemStatisticsDiffIpDirectBcastTxDrops' => '1.3.6.1.4.1.41916.11.3.245', - 'systemStatisticsDiffIpDirectBcastTxL2Bcast' => '1.3.6.1.4.1.41916.11.3.246', - 'systemStatisticsDiffRxInvalidIpHdr' => '1.3.6.1.4.1.41916.11.3.247', - 'systemStatisticsDiffNatDstNatMapInvalid' => '1.3.6.1.4.1.41916.11.3.248', - 'systemStatisticsDiffDevicePolicyDrops' => '1.3.6.1.4.1.41916.11.3.249', - 'systemStatisticsDiffInvalidLoopHdrDrops' => '1.3.6.1.4.1.41916.11.3.250', - 'systemStatisticsDiffZbfFragCacheDrops' => '1.3.6.1.4.1.41916.11.3.251', - 'systemStatisticsDiffNatFragCacheDrops' => '1.3.6.1.4.1.41916.11.3.252', - 'systemStatisticsDiffTxTrackerIfNotPreferred' => '1.3.6.1.4.1.41916.11.3.253', - 'systemStatisticsDiffIpfragAllfragsSeen' => '1.3.6.1.4.1.41916.11.3.254', - 'systemStatisticsDiffIpfragManyFrags' => '1.3.6.1.4.1.41916.11.3.255', - 'systemStatisticsDiffVRRPMismatchedDMACDrops' => '1.3.6.1.4.1.41916.11.3.256', - 'reboot' => '1.3.6.1.4.1.41916.11.4', - 'rebootHistoryTable' => '1.3.6.1.4.1.41916.11.4.1', - 'rebootHistoryEntry' => '1.3.6.1.4.1.41916.11.4.1.1', - 'rebootHistoryRebootDateTime' => '1.3.6.1.4.1.41916.11.4.1.1.1', - 'rebootHistoryRebootReason' => '1.3.6.1.4.1.41916.11.4.1.1.3', - 'bootPartitionTable' => '1.3.6.1.4.1.41916.11.5', - 'bootPartitionEntry' => '1.3.6.1.4.1.41916.11.5.1', - 'bootPartitionPartition' => '1.3.6.1.4.1.41916.11.5.1.1', - 'bootPartitionPartitionDefinition' => 'VIPTELA-OPER-SYSTEM::bootPartitionPartition', - 'bootPartitionActive' => '1.3.6.1.4.1.41916.11.5.1.2', - 'bootPartitionVersion' => '1.3.6.1.4.1.41916.11.5.1.3', - 'bootPartitionTimestamp' => '1.3.6.1.4.1.41916.11.5.1.4', - 'usersTable' => '1.3.6.1.4.1.41916.11.6', - 'usersEntry' => '1.3.6.1.4.1.41916.11.6.1', - 'usersSession' => '1.3.6.1.4.1.41916.11.6.1.1', - 'usersUser' => '1.3.6.1.4.1.41916.11.6.1.2', - 'usersContext' => '1.3.6.1.4.1.41916.11.6.1.3', - 'usersFrom' => '1.3.6.1.4.1.41916.11.6.1.4', - 'usersProto' => '1.3.6.1.4.1.41916.11.6.1.5', - 'usersProtoDefinition' => 'VIPTELA-OPER-SYSTEM::usersProto', - 'usersAuthGroup' => '1.3.6.1.4.1.41916.11.6.1.6', - 'usersLoginTime' => '1.3.6.1.4.1.41916.11.6.1.7', - 'aaa' => '1.3.6.1.4.1.41916.11.7', - 'aaaUsergroupTable' => '1.3.6.1.4.1.41916.11.7.1', - 'aaaUsergroupEntry' => '1.3.6.1.4.1.41916.11.7.1.1', - 'aaaUsergroupName' => '1.3.6.1.4.1.41916.11.7.1.1.1', - 'aaaUsergroupTaskTable' => '1.3.6.1.4.1.41916.11.8', - 'aaaUsergroupTaskEntry' => '1.3.6.1.4.1.41916.11.8.1', - 'aaaUsergroupTaskMode' => '1.3.6.1.4.1.41916.11.8.1.1', - 'aaaUsergroupTaskModeDefinition' => 'VIPTELA-OPER-SYSTEM::aaaUsergroupTaskMode', - 'aaaUsergroupTaskPermission' => '1.3.6.1.4.1.41916.11.8.1.2', - 'logging' => '1.3.6.1.4.1.41916.11.9', - 'loggingHostStatus' => '1.3.6.1.4.1.41916.11.9.1', - 'loggingHostName' => '1.3.6.1.4.1.41916.11.9.2', - 'loggingHostPriority' => '1.3.6.1.4.1.41916.11.9.3', - 'loggingHostVpnId' => '1.3.6.1.4.1.41916.11.9.4', - 'loggingDiskStatus' => '1.3.6.1.4.1.41916.11.9.5', - 'loggingDiskPriority' => '1.3.6.1.4.1.41916.11.9.6', - 'loggingDiskFilename' => '1.3.6.1.4.1.41916.11.9.7', - 'loggingDiskFilesize' => '1.3.6.1.4.1.41916.11.9.8', - 'loggingDiskFilerotate' => '1.3.6.1.4.1.41916.11.9.9', - 'ntp' => '1.3.6.1.4.1.41916.11.10', - 'ntpPeerTable' => '1.3.6.1.4.1.41916.11.10.1', - 'ntpPeerEntry' => '1.3.6.1.4.1.41916.11.10.1.1', - 'ntpPeerIndex' => '1.3.6.1.4.1.41916.11.10.1.1.1', - 'ntpPeerRemote' => '1.3.6.1.4.1.41916.11.10.1.1.2', - 'ntpPeerRefid' => '1.3.6.1.4.1.41916.11.10.1.1.3', - 'ntpPeerSt' => '1.3.6.1.4.1.41916.11.10.1.1.4', - 'ntpPeerType' => '1.3.6.1.4.1.41916.11.10.1.1.5', - 'ntpPeerWhen' => '1.3.6.1.4.1.41916.11.10.1.1.6', - 'ntpPeerPoll' => '1.3.6.1.4.1.41916.11.10.1.1.7', - 'ntpPeerReach' => '1.3.6.1.4.1.41916.11.10.1.1.8', - 'ntpPeerDelay' => '1.3.6.1.4.1.41916.11.10.1.1.9', - 'ntpPeerOffset' => '1.3.6.1.4.1.41916.11.10.1.1.10', - 'ntpPeerJitter' => '1.3.6.1.4.1.41916.11.10.1.1.11', - 'ntpAssociationsTable' => '1.3.6.1.4.1.41916.11.10.2', - 'ntpAssociationsEntry' => '1.3.6.1.4.1.41916.11.10.2.1', - 'ntpAssociationsIdx' => '1.3.6.1.4.1.41916.11.10.2.1.1', - 'ntpAssociationsAssocid' => '1.3.6.1.4.1.41916.11.10.2.1.2', - 'ntpAssociationsStatus' => '1.3.6.1.4.1.41916.11.10.2.1.3', - 'ntpAssociationsConf' => '1.3.6.1.4.1.41916.11.10.2.1.4', - 'ntpAssociationsReachability' => '1.3.6.1.4.1.41916.11.10.2.1.5', - 'ntpAssociationsAuth' => '1.3.6.1.4.1.41916.11.10.2.1.6', - 'ntpAssociationsCondition' => '1.3.6.1.4.1.41916.11.10.2.1.7', - 'ntpAssociationsLastEvent' => '1.3.6.1.4.1.41916.11.10.2.1.8', - 'ntpAssociationsCount' => '1.3.6.1.4.1.41916.11.10.2.1.9', - 'ntpRefid' => '1.3.6.1.4.1.41916.11.10.3', - 'ntpReftime' => '1.3.6.1.4.1.41916.11.10.4', - 'ntpStratum' => '1.3.6.1.4.1.41916.11.10.5', - 'ntpRootdelay' => '1.3.6.1.4.1.41916.11.10.6', - 'ntpRootdisp' => '1.3.6.1.4.1.41916.11.10.7', - 'ntpFreqDriftPpm' => '1.3.6.1.4.1.41916.11.10.8', - 'ntpPollInterval' => '1.3.6.1.4.1.41916.11.10.9', - 'ntpOffset' => '1.3.6.1.4.1.41916.11.10.10', - 'transport' => '1.3.6.1.4.1.41916.11.11', - 'transportConnectionTable' => '1.3.6.1.4.1.41916.11.11.1', - 'transportConnectionEntry' => '1.3.6.1.4.1.41916.11.11.1.1', - 'transportConnectionTrackType' => '1.3.6.1.4.1.41916.11.11.1.1.1', - 'transportConnectionTrackTypeDefinition' => 'VIPTELA-OPER-SYSTEM::transportConnectionTrackType', - 'transportConnectionSource' => '1.3.6.1.4.1.41916.11.11.1.1.2', - 'transportConnectionDestination' => '1.3.6.1.4.1.41916.11.11.1.1.3', - 'transportConnectionHost' => '1.3.6.1.4.1.41916.11.11.1.1.4', - 'transportConnectionHistoryTable' => '1.3.6.1.4.1.41916.11.12', - 'transportConnectionHistoryEntry' => '1.3.6.1.4.1.41916.11.12.1', - 'transportConnectionHistoryIndex' => '1.3.6.1.4.1.41916.11.12.1.1', - 'transportConnectionHistoryTime' => '1.3.6.1.4.1.41916.11.12.1.2', - 'transportConnectionHistoryState' => '1.3.6.1.4.1.41916.11.12.1.3', - 'transportConnectionHistoryStateDefinition' => 'VIPTELA-OPER-SYSTEM::transportConnectionHistoryState', - 'crashTable' => '1.3.6.1.4.1.41916.11.13', - 'crashEntry' => '1.3.6.1.4.1.41916.11.13.1', - 'crashIndex' => '1.3.6.1.4.1.41916.11.13.1.1', - 'crashCoreTime' => '1.3.6.1.4.1.41916.11.13.1.2', - 'crashCoreFilename' => '1.3.6.1.4.1.41916.11.13.1.3', - 'softwareTable' => '1.3.6.1.4.1.41916.11.14', - 'softwareEntry' => '1.3.6.1.4.1.41916.11.14.1', - 'softwareVersion' => '1.3.6.1.4.1.41916.11.14.1.1', - 'softwareActive' => '1.3.6.1.4.1.41916.11.14.1.2', - 'softwareDefault' => '1.3.6.1.4.1.41916.11.14.1.3', - 'softwarePrevious' => '1.3.6.1.4.1.41916.11.14.1.4', - 'softwareTimestamp' => '1.3.6.1.4.1.41916.11.14.1.5', - 'softwareConfirmed' => '1.3.6.1.4.1.41916.11.14.1.6', - 'softwareNext' => '1.3.6.1.4.1.41916.11.14.1.7', - 'systemLocalOnDemandTable' => '1.3.6.1.4.1.41916.11.15', - 'systemLocalOnDemandEntry' => '1.3.6.1.4.1.41916.11.15.1', - 'systemLocalOnDemandSystemIP' => '1.3.6.1.4.1.41916.11.15.1.1', - 'systemLocalOnDemandSiteID' => '1.3.6.1.4.1.41916.11.15.1.2', - 'systemLocalOnDemandOnDemand' => '1.3.6.1.4.1.41916.11.15.1.3', - 'systemLocalOnDemandStatus' => '1.3.6.1.4.1.41916.11.15.1.4', - 'systemLocalOnDemandIdleTimeoutExpiry' => '1.3.6.1.4.1.41916.11.15.1.5', - 'systemRemoteOnDemandTable' => '1.3.6.1.4.1.41916.11.16', - 'systemRemoteOnDemandEntry' => '1.3.6.1.4.1.41916.11.16.1', - 'systemRemoteOnDemandSystemIP' => '1.3.6.1.4.1.41916.11.16.1.1', - 'systemRemoteOnDemandSiteID' => '1.3.6.1.4.1.41916.11.16.1.2', - 'systemRemoteOnDemandOnDemand' => '1.3.6.1.4.1.41916.11.16.1.3', - 'systemRemoteOnDemandStatus' => '1.3.6.1.4.1.41916.11.16.1.4', - 'systemRemoteOnDemandIdleTimeoutExpiry' => '1.3.6.1.4.1.41916.11.16.1.5', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'VIPTELA-OPER-SYSTEM'} = { - 'systemStatusState' => { - '0' => 'blkng-green', - '1' => 'green', - '2' => 'yellow', - '3' => 'red', - }, - 'systemStatusModel' => { - '1' => 'vsmart', - '2' => 'vmanage', - '3' => 'vbond', - '4' => 'vedge-1000', - '5' => 'vedge-2000', - '6' => 'vedge-100', - '7' => 'vedge-100-W2', - '8' => 'vedge-100-WM', - '9' => 'vedge-100-M2', - '10' => 'vedge-100-M', - '11' => 'vedge-100-B', - '12' => 'vedge-cloud', - '13' => 'vcontainer', - '14' => 'vedge-5000', - '15' => 'vedge-CSR-1000v', - '16' => 'vedge-ISR-4331', - '17' => 'vedge-ISR-4321', - '18' => 'vedge-ISR-4351', - '19' => 'vedge-ISR-4221', - '20' => 'vedge-ASR-1001-X', - '21' => 'vedge-ASR-1001-HX', - '22' => 'vedge-ASR-1002-X', - '23' => 'vedge-ASR-1002-HX', - '24' => 'vedge-C1111-8PLTEEA', - '25' => 'vedge-C1111-8PLTELA', - '26' => 'vedge-C1117-4PLTEEA', - '27' => 'vedge-C1117-4PLTELA', - '28' => 'vedge-C1116-4PLTEEA', - '29' => 'vedge-C1116-4PLTELA', - '30' => 'vedge-ISRv', - '31' => 'vedge-C1111-8P', - '32' => 'vedge-C1111-4PLTEEA', - '33' => 'vedge-C1111-4PLTELA', - '34' => 'vedge-C1117-4PMLTEEA', - '35' => 'vedge-C1111-4P', - '36' => 'vedge-C1116-4P', - '37' => 'vedge-C1117-4P', - '38' => 'vedge-C1117-4PM', - '39' => 'vedge-C1101-4P', - '40' => 'vedge-C1101-4PLTEP', - '41' => 'vedge-C1111X-8P', - '42' => 'vedge-C1111-8PLTEEAW', - '43' => 'vedge-C1111-8PW', - '44' => 'vedge-ISR-4431', - '45' => 'vedge-ISR-4451-X', - '46' => 'vedge-ISR-4221X', - '47' => 'vedge-ISR-4461', - '48' => 'vedge-C8300-1N1S-6G', - '49' => 'vedge-C8300-1N1S-4G2X', - '54' => 'vedge-CE-9515', - '55' => 'vedge-CE-9511', - '56' => 'vedge-IR-1101', - '57' => 'vedge-C1121X-8PLTEPW', - '60' => 'vedge-C1161X-8P', - '61' => 'vedge-C1161X-8PLTEP', - '62' => 'vedge-C1111-8PLTEAEAW', - '63' => 'vedge-C1121-8P', - '64' => 'vedge-C1121-8PLTEP', - '65' => 'vedge-C1121X-8PLTEPWA', - '66' => 'vedge-C1127X-8PMLTEP', - '68' => 'vedge-C1109-4PLTE2P', - '69' => 'vedge-C1101-4PLTEPW', - '70' => 'vedge-C1109-4PLTE2PW', - '71' => 'vedge-C1111-8PLTELAW', - '72' => 'vedge-C1121X-8P', - '73' => 'vedge-C1121X-8PLTEP', - '74' => 'vedge-C1126X-8PLTEP', - '75' => 'vedge-C1127X-8PLTEP', - '76' => 'vedge-C8500-12X4QC', - '77' => 'vedge-C8500-12X', - '78' => 'vedge-C1121-8PLTEPW', - '79' => 'vedge-C1113-8PMLTEEA', - '80' => 'vedge-ISR1100-4G', - '81' => 'vedge-ISR1100-4GLTE', - '82' => 'vedge-ISR1100-6G', - '84' => 'vedge-C8300-2N2S-6G', - '85' => 'vedge-C8300-2N2S-4G2X', - '86' => 'vedge-C8500L-8G4X', - '100' => 'vedge-sim', - '200' => 'vedge-NFVIS-ENCS5100', - '201' => 'vedge-NFVIS-ENCS5400', - '202' => 'vedge-NFVIS-UCSC-M5', - '203' => 'vedge-NFVIS-UCSC-E', - '204' => 'vedge-NFVIS-CSP2100', - '205' => 'vedge-NFVIS-CSP2100-X1', - '206' => 'vedge-NFVIS-CSP2100-X2', - '207' => 'vedge-NFVIS-CSP2100-CSP-5444', - '212' => 'vedge-C1161-8P', - '213' => 'vedge-C1161-8PLTEP', - '214' => 'vedge-C1126-8PLTEP', - '215' => 'vedge-C1127-8PLTEP', - '216' => 'vedge-C1127-8PMLTEP', - '217' => 'vedge-C1121-4P', - '218' => 'vedge-C1121-4PLTEP', - '219' => 'vedge-C1128-8PLTEP', - '220' => 'vedge-C1111-4PW', - '221' => 'vedge-C1112-8P', - '222' => 'vedge-C1112-8PLTEEA', - '223' => 'vedge-C1112-8PLTEEAW', - '224' => 'vedge-C1112-8PW', - '225' => 'vedge-C1113-8P', - '226' => 'vedge-C1113-8PLTEEA', - '227' => 'vedge-C1113-8PLTEEAW', - '228' => 'vedge-C1113-8PLTELAW', - '229' => 'vedge-C1113-8PLTELA', - '230' => 'vedge-C1113-8PM', - '231' => 'vedge-C1113-8PMW', - '232' => 'vedge-C1113-8PW', - '233' => 'vedge-C1116-4PLTEEAW', - '234' => 'vedge-C1116-4PW', - '235' => 'vedge-C1117-4PLTEEAW', - '236' => 'vedge-C1117-4PMLTEEAW', - '237' => 'vedge-C1117-4PMW', - '238' => 'vedge-C1117-4PW', - '239' => 'vedge-C1118-8P', - '240' => 'vedge-C1109-2PLTEGB', - '241' => 'vedge-C1109-2PLTEUS', - '242' => 'vedge-C1109-2PLTEVZ', - '243' => 'vedge-C1113-8PLTEW', - '244' => 'vedge-C1112-8PLTEEAWE', - '245' => 'vedge-C1112-8PWE', - '246' => 'vedge-C1113-8PLTELAWZ', - '247' => 'vedge-C1113-8PMWE', - '248' => 'vedge-C1116-4PLTEEAWE', - '249' => 'vedge-C1116-4PWE', - '250' => 'vedge-C1117-4PLTEEAWA', - '251' => 'vedge-C1117-4PMLTEEAWE', - '252' => 'vedge-C1117-4PMWE', - '253' => 'vedge-C8200-1N-4G', - '254' => 'vedge-ISR1100-4GLTE-XE', - '255' => 'vedge-ISR1100-4G-XE', - '256' => 'vedge-ISR1100-6G-XE', - '257' => 'vedge-NFVIS-C8200-UCPE', - '258' => 'vedge-C8300-1N1S-6T', - '259' => 'vedge-C8300-1N1S-4T2X', - '260' => 'vedge-C8300-2N2S-6T', - '261' => 'vedge-C8300-2N2S-4T2X', - '262' => 'vedge-C8200-1N-4T', - '263' => 'vedge-ESR-6300', - '264' => 'vedge-C8000V', - '265' => 'vedge-ISR1100X-4G', - '266' => 'vedge-ISR1100X-6G', - '267' => 'vedge-ISR1100X-4G-XE', - '268' => 'vedge-ISR1100X-6G-XE', - }, - 'transportConnectionHistoryState' => { - '0' => 'down', - '1' => 'up', - }, - 'transportConnectionTrackType' => { - '0' => 'system', - '1' => 'tloc', - }, - 'systemStatusBoardType' => { - '0' => 'vedge-1000', - '1' => 'vedge-2000', - '2' => 'sim', - '3' => 'none', - '4' => 'unknown', - '5' => 'vedge-100', - '6' => 'vedge-100-B', - '7' => 'vedge-5000', - '8' => 'vedge-CSR', - '9' => 'vedge-ISR', - '10' => 'vedge-ASR', - '11' => 'vedge-101-B', - '12' => 'vedge-1001', - '13' => 'vedge-101-m', - '14' => 'vedge-ISR1100-4G', - '15' => 'vedge-ISR1100-4GLTE', - '16' => 'vedge-ISR1100-6G', - '17' => 'vedge-encs', - '18' => 'vedge-ISR1100X-4G', - '19' => 'vedge-ISR1100X-6G', - }, - 'usersProto' => { - '0' => 'unknown', - '1' => 'tcp', - '2' => 'ssh', - '3' => 'system', - '4' => 'console', - '5' => 'ssl', - '6' => 'http', - '7' => 'https', - '8' => 'udp', - }, - 'systemStatusSystemFipsMode' => { - '0' => 'unavailable', - '1' => 'disabled', - '2' => 'enabled', - }, - 'aaaUsergroupTaskMode' => { - '0' => 'system', - '1' => 'interface', - '2' => 'policy', - '3' => 'routing', - '4' => 'security', - }, - 'bootPartitionPartition' => { - '0' => 'a1', - '1' => 'a2', - }, -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VIPTELASECURITY.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VIPTELASECURITY.pm deleted file mode 100644 index 87b05bb..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VIPTELASECURITY.pm +++ /dev/null @@ -1,1318 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::VIPTELASECURITY; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'VIPTELA-SECURITY'} = { - url => '', - name => 'VIPTELA-SECURITY', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'VIPTELA-SECURITY'} = - '1.3.6.1.4.1.41916.4'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'VIPTELA-SECURITY'} = { - 'viptela-security' => '1.3.6.1.4.1.41916.4', - 'control' => '1.3.6.1.4.1.41916.4.2', - 'controlConnectionsInfo' => '1.3.6.1.4.1.41916.4.2.1', - 'controlConnectionsInfoRate' => '1.3.6.1.4.1.41916.4.2.1.1', - 'controlConnectionsTable' => '1.3.6.1.4.1.41916.4.2.2', - 'controlConnectionsEntry' => '1.3.6.1.4.1.41916.4.2.2.1', - 'controlConnectionsInstance' => '1.3.6.1.4.1.41916.4.2.2.1.1', - 'controlConnectionsPeerType' => '1.3.6.1.4.1.41916.4.2.2.1.2', - 'controlConnectionsPeerTypeDefinition' => 'VIPTELA-SECURITY::controlConnectionsPeerType', - 'controlConnectionsSiteId' => '1.3.6.1.4.1.41916.4.2.2.1.3', - 'controlConnectionsDomainId' => '1.3.6.1.4.1.41916.4.2.2.1.4', - 'controlConnectionsLocalPrivateIp' => '1.3.6.1.4.1.41916.4.2.2.1.5', - 'controlConnectionsLocalPrivatePort' => '1.3.6.1.4.1.41916.4.2.2.1.6', - 'controlConnectionsPublicIp' => '1.3.6.1.4.1.41916.4.2.2.1.7', - 'controlConnectionsPublicPort' => '1.3.6.1.4.1.41916.4.2.2.1.8', - 'controlConnectionsSystemIp' => '1.3.6.1.4.1.41916.4.2.2.1.9', - 'controlConnectionsProtocol' => '1.3.6.1.4.1.41916.4.2.2.1.10', - 'controlConnectionsProtocolDefinition' => 'VIPTELA-SECURITY::controlConnectionsProtocol', - 'controlConnectionsLocalColor' => '1.3.6.1.4.1.41916.4.2.2.1.11', - 'controlConnectionsLocalColorDefinition' => 'VIPTELA-SECURITY::controlConnectionsLocalColor', - 'controlConnectionsRemoteColor' => '1.3.6.1.4.1.41916.4.2.2.1.12', - 'controlConnectionsRemoteColorDefinition' => 'VIPTELA-SECURITY::controlConnectionsRemoteColor', - 'controlConnectionsPrivateIp' => '1.3.6.1.4.1.41916.4.2.2.1.13', - 'controlConnectionsPrivatePort' => '1.3.6.1.4.1.41916.4.2.2.1.14', - 'controlConnectionsState' => '1.3.6.1.4.1.41916.4.2.2.1.15', - 'controlConnectionsStateDefinition' => 'VIPTELA-SECURITY::SessionState', - 'controlConnectionsLocalEnum' => '1.3.6.1.4.1.41916.4.2.2.1.16', - 'controlConnectionsLocalEnumDefinition' => 'VIPTELA-SECURITY::ConnFlagEnum', - 'controlConnectionsRemoteEnum' => '1.3.6.1.4.1.41916.4.2.2.1.17', - 'controlConnectionsRemoteEnumDefinition' => 'VIPTELA-SECURITY::ConnFlagEnum', - 'controlConnectionsLocalStateInfo' => '1.3.6.1.4.1.41916.4.2.2.1.18', - 'controlConnectionsRemoteStateInfo' => '1.3.6.1.4.1.41916.4.2.2.1.19', - 'controlConnectionsUptime' => '1.3.6.1.4.1.41916.4.2.2.1.20', - 'controlConnectionsTxHello' => '1.3.6.1.4.1.41916.4.2.2.1.21', - 'controlConnectionsTxConnects' => '1.3.6.1.4.1.41916.4.2.2.1.22', - 'controlConnectionsTxRegisters' => '1.3.6.1.4.1.41916.4.2.2.1.23', - 'controlConnectionsTxRegisterReplies' => '1.3.6.1.4.1.41916.4.2.2.1.24', - 'controlConnectionsTxChallenge' => '1.3.6.1.4.1.41916.4.2.2.1.25', - 'controlConnectionsTxChallengeResp' => '1.3.6.1.4.1.41916.4.2.2.1.26', - 'controlConnectionsTxChallengeAck' => '1.3.6.1.4.1.41916.4.2.2.1.27', - 'controlConnectionsTxTeardown' => '1.3.6.1.4.1.41916.4.2.2.1.28', - 'controlConnectionsTxTeardownAll' => '1.3.6.1.4.1.41916.4.2.2.1.29', - 'controlConnectionsTxVmToPeer' => '1.3.6.1.4.1.41916.4.2.2.1.30', - 'controlConnectionsTxRegisterToVm' => '1.3.6.1.4.1.41916.4.2.2.1.31', - 'controlConnectionsRxHello' => '1.3.6.1.4.1.41916.4.2.2.1.32', - 'controlConnectionsRxConnects' => '1.3.6.1.4.1.41916.4.2.2.1.33', - 'controlConnectionsRxRegisters' => '1.3.6.1.4.1.41916.4.2.2.1.34', - 'controlConnectionsRxRegisterReplies' => '1.3.6.1.4.1.41916.4.2.2.1.35', - 'controlConnectionsRxChallenge' => '1.3.6.1.4.1.41916.4.2.2.1.36', - 'controlConnectionsRxChallengeResp' => '1.3.6.1.4.1.41916.4.2.2.1.37', - 'controlConnectionsRxChallengeAck' => '1.3.6.1.4.1.41916.4.2.2.1.38', - 'controlConnectionsRxTeardown' => '1.3.6.1.4.1.41916.4.2.2.1.39', - 'controlConnectionsRxVmToPeer' => '1.3.6.1.4.1.41916.4.2.2.1.40', - 'controlConnectionsRxRegisterToVm' => '1.3.6.1.4.1.41916.4.2.2.1.41', - 'controlConnectionsNegotiatedHelloInterval' => '1.3.6.1.4.1.41916.4.2.2.1.42', - 'controlConnectionsNegotiatedHelloTolerance' => '1.3.6.1.4.1.41916.4.2.2.1.43', - 'controlConnectionsConfiguredSystemIp' => '1.3.6.1.4.1.41916.4.2.2.1.44', - 'controlConnectionsVOrgName' => '1.3.6.1.4.1.41916.4.2.2.1.45', - 'controlConnectionsTxCreateCert' => '1.3.6.1.4.1.41916.4.2.2.1.46', - 'controlConnectionsRxCreateCert' => '1.3.6.1.4.1.41916.4.2.2.1.47', - 'controlConnectionsTxCreateCertReply' => '1.3.6.1.4.1.41916.4.2.2.1.48', - 'controlConnectionsRxCreateCertReply' => '1.3.6.1.4.1.41916.4.2.2.1.49', - 'controlConnectionsBehindProxy' => '1.3.6.1.4.1.41916.4.2.2.1.50', - 'controlConnectionsHistoryTable' => '1.3.6.1.4.1.41916.4.2.3', - 'controlConnectionsHistoryEntry' => '1.3.6.1.4.1.41916.4.2.3.1', - 'controlConnectionsHistoryInstance' => '1.3.6.1.4.1.41916.4.2.3.1.1', - 'controlConnectionsHistoryIndex' => '1.3.6.1.4.1.41916.4.2.3.1.2', - 'controlConnectionsHistoryPeerType' => '1.3.6.1.4.1.41916.4.2.3.1.3', - 'controlConnectionsHistoryPeerTypeDefinition' => 'VIPTELA-SECURITY::controlConnectionsHistoryPeerType', - 'controlConnectionsHistorySiteId' => '1.3.6.1.4.1.41916.4.2.3.1.4', - 'controlConnectionsHistoryDomainId' => '1.3.6.1.4.1.41916.4.2.3.1.5', - 'controlConnectionsHistoryPrivateIp' => '1.3.6.1.4.1.41916.4.2.3.1.6', - 'controlConnectionsHistoryPrivatePort' => '1.3.6.1.4.1.41916.4.2.3.1.7', - 'controlConnectionsHistoryPublicIp' => '1.3.6.1.4.1.41916.4.2.3.1.8', - 'controlConnectionsHistoryPublicPort' => '1.3.6.1.4.1.41916.4.2.3.1.9', - 'controlConnectionsHistorySystemIp' => '1.3.6.1.4.1.41916.4.2.3.1.10', - 'controlConnectionsHistoryProtocol' => '1.3.6.1.4.1.41916.4.2.3.1.11', - 'controlConnectionsHistoryProtocolDefinition' => 'VIPTELA-SECURITY::controlConnectionsHistoryProtocol', - 'controlConnectionsHistoryLocalColor' => '1.3.6.1.4.1.41916.4.2.3.1.12', - 'controlConnectionsHistoryLocalColorDefinition' => 'VIPTELA-SECURITY::controlConnectionsHistoryLocalColor', - 'controlConnectionsHistoryRemoteColor' => '1.3.6.1.4.1.41916.4.2.3.1.13', - 'controlConnectionsHistoryRemoteColorDefinition' => 'VIPTELA-SECURITY::controlConnectionsHistoryRemoteColor', - 'controlConnectionsHistoryState' => '1.3.6.1.4.1.41916.4.2.3.1.14', - 'controlConnectionsHistoryStateDefinition' => 'VIPTELA-SECURITY::SessionState', - 'controlConnectionsHistoryLocalEnum' => '1.3.6.1.4.1.41916.4.2.3.1.15', - 'controlConnectionsHistoryLocalEnumDefinition' => 'VIPTELA-SECURITY::ConnFlagEnum', - 'controlConnectionsHistoryRemoteEnum' => '1.3.6.1.4.1.41916.4.2.3.1.16', - 'controlConnectionsHistoryRemoteEnumDefinition' => 'VIPTELA-SECURITY::ConnFlagEnum', - 'controlConnectionsHistoryLocalStateInfo' => '1.3.6.1.4.1.41916.4.2.3.1.17', - 'controlConnectionsHistoryRemoteStateInfo' => '1.3.6.1.4.1.41916.4.2.3.1.18', - 'controlConnectionsHistoryDowntime' => '1.3.6.1.4.1.41916.4.2.3.1.19', - 'controlConnectionsHistoryTxHello' => '1.3.6.1.4.1.41916.4.2.3.1.20', - 'controlConnectionsHistoryTxConnects' => '1.3.6.1.4.1.41916.4.2.3.1.21', - 'controlConnectionsHistoryTxRegisters' => '1.3.6.1.4.1.41916.4.2.3.1.22', - 'controlConnectionsHistoryTxRegisterReplies' => '1.3.6.1.4.1.41916.4.2.3.1.23', - 'controlConnectionsHistoryTxChallenge' => '1.3.6.1.4.1.41916.4.2.3.1.24', - 'controlConnectionsHistoryTxChallengeResp' => '1.3.6.1.4.1.41916.4.2.3.1.25', - 'controlConnectionsHistoryTxChallengeAck' => '1.3.6.1.4.1.41916.4.2.3.1.26', - 'controlConnectionsHistoryTxTeardown' => '1.3.6.1.4.1.41916.4.2.3.1.27', - 'controlConnectionsHistoryTxTeardownAll' => '1.3.6.1.4.1.41916.4.2.3.1.28', - 'controlConnectionsHistoryTxVmToPeer' => '1.3.6.1.4.1.41916.4.2.3.1.29', - 'controlConnectionsHistoryTxRegisterToVm' => '1.3.6.1.4.1.41916.4.2.3.1.30', - 'controlConnectionsHistoryRxHello' => '1.3.6.1.4.1.41916.4.2.3.1.31', - 'controlConnectionsHistoryRxConnects' => '1.3.6.1.4.1.41916.4.2.3.1.32', - 'controlConnectionsHistoryRxRegisters' => '1.3.6.1.4.1.41916.4.2.3.1.33', - 'controlConnectionsHistoryRxRegisterReplies' => '1.3.6.1.4.1.41916.4.2.3.1.34', - 'controlConnectionsHistoryRxChallenge' => '1.3.6.1.4.1.41916.4.2.3.1.35', - 'controlConnectionsHistoryRxChallengeResp' => '1.3.6.1.4.1.41916.4.2.3.1.36', - 'controlConnectionsHistoryRxChallengeAck' => '1.3.6.1.4.1.41916.4.2.3.1.37', - 'controlConnectionsHistoryRxTeardown' => '1.3.6.1.4.1.41916.4.2.3.1.38', - 'controlConnectionsHistoryRxVmToPeer' => '1.3.6.1.4.1.41916.4.2.3.1.39', - 'controlConnectionsHistoryRxRegisterToVm' => '1.3.6.1.4.1.41916.4.2.3.1.40', - 'controlConnectionsHistoryRepCount' => '1.3.6.1.4.1.41916.4.2.3.1.41', - 'controlConnectionsHistoryPrevDowntime' => '1.3.6.1.4.1.41916.4.2.3.1.42', - 'controlConnectionsHistoryConfiguredSystemIp' => '1.3.6.1.4.1.41916.4.2.3.1.43', - 'controlConnectionsHistoryVHOrgName' => '1.3.6.1.4.1.41916.4.2.3.1.44', - 'controlConnectionsHistoryUuid' => '1.3.6.1.4.1.41916.4.2.3.1.45', - 'controlConnectionsHistoryTxCreateCert' => '1.3.6.1.4.1.41916.4.2.3.1.46', - 'controlConnectionsHistoryRxCreateCert' => '1.3.6.1.4.1.41916.4.2.3.1.47', - 'controlConnectionsHistoryTxCreateCertReply' => '1.3.6.1.4.1.41916.4.2.3.1.48', - 'controlConnectionsHistoryRxCreateCertReply' => '1.3.6.1.4.1.41916.4.2.3.1.49', - 'controlStatistics' => '1.3.6.1.4.1.41916.4.2.4', - 'controlStatisticsTxPkts' => '1.3.6.1.4.1.41916.4.2.4.1', - 'controlStatisticsTxOctets' => '1.3.6.1.4.1.41916.4.2.4.2', - 'controlStatisticsTxError' => '1.3.6.1.4.1.41916.4.2.4.3', - 'controlStatisticsTxBlocked' => '1.3.6.1.4.1.41916.4.2.4.4', - 'controlStatisticsTxHello' => '1.3.6.1.4.1.41916.4.2.4.5', - 'controlStatisticsTxConnects' => '1.3.6.1.4.1.41916.4.2.4.6', - 'controlStatisticsTxRegisters' => '1.3.6.1.4.1.41916.4.2.4.7', - 'controlStatisticsTxRegisterReplies' => '1.3.6.1.4.1.41916.4.2.4.8', - 'controlStatisticsTxDtlsHandshake' => '1.3.6.1.4.1.41916.4.2.4.9', - 'controlStatisticsTxDtlsHandshakeFailures' => '1.3.6.1.4.1.41916.4.2.4.10', - 'controlStatisticsTxDtlsHandshakeDone' => '1.3.6.1.4.1.41916.4.2.4.11', - 'controlStatisticsTxChallenge' => '1.3.6.1.4.1.41916.4.2.4.12', - 'controlStatisticsTxChallengeResp' => '1.3.6.1.4.1.41916.4.2.4.13', - 'controlStatisticsTxChallengeAck' => '1.3.6.1.4.1.41916.4.2.4.14', - 'controlStatisticsTxChallengeError' => '1.3.6.1.4.1.41916.4.2.4.15', - 'controlStatisticsTxChallengeRespError' => '1.3.6.1.4.1.41916.4.2.4.16', - 'controlStatisticsTxChallengeAckError' => '1.3.6.1.4.1.41916.4.2.4.17', - 'controlStatisticsTxChallengeGenError' => '1.3.6.1.4.1.41916.4.2.4.18', - 'controlStatisticsTxVmanageToPeer' => '1.3.6.1.4.1.41916.4.2.4.19', - 'controlStatisticsTxRegisterToVmanage' => '1.3.6.1.4.1.41916.4.2.4.20', - 'controlStatisticsRxPkts' => '1.3.6.1.4.1.41916.4.2.4.21', - 'controlStatisticsRxOctets' => '1.3.6.1.4.1.41916.4.2.4.22', - 'controlStatisticsRxError' => '1.3.6.1.4.1.41916.4.2.4.23', - 'controlStatisticsRxHello' => '1.3.6.1.4.1.41916.4.2.4.24', - 'controlStatisticsRxConnects' => '1.3.6.1.4.1.41916.4.2.4.25', - 'controlStatisticsRxRegisters' => '1.3.6.1.4.1.41916.4.2.4.26', - 'controlStatisticsRxRegisterReplies' => '1.3.6.1.4.1.41916.4.2.4.27', - 'controlStatisticsRxDtlsHandshake' => '1.3.6.1.4.1.41916.4.2.4.28', - 'controlStatisticsRxDtlsHandshakeFailures' => '1.3.6.1.4.1.41916.4.2.4.29', - 'controlStatisticsRxDtlsHandshakeDone' => '1.3.6.1.4.1.41916.4.2.4.30', - 'controlStatisticsRxChallenge' => '1.3.6.1.4.1.41916.4.2.4.31', - 'controlStatisticsRxChallengeResp' => '1.3.6.1.4.1.41916.4.2.4.32', - 'controlStatisticsRxChallengeAck' => '1.3.6.1.4.1.41916.4.2.4.33', - 'controlStatisticsChallengeFailures' => '1.3.6.1.4.1.41916.4.2.4.34', - 'controlStatisticsRxVmanageToPeer' => '1.3.6.1.4.1.41916.4.2.4.35', - 'controlStatisticsRxRegisterToVmanage' => '1.3.6.1.4.1.41916.4.2.4.36', - 'controlStatisticsBidFailuresNeedingReset' => '1.3.6.1.4.1.41916.4.2.4.37', - 'controlLocalProperties' => '1.3.6.1.4.1.41916.4.2.5', - 'controlLocalPropertiesDeviceType' => '1.3.6.1.4.1.41916.4.2.5.1', - 'controlLocalPropertiesDeviceTypeDefinition' => 'VIPTELA-SECURITY::controlLocalPropertiesDeviceType', - 'controlLocalPropertiesOrganizationName' => '1.3.6.1.4.1.41916.4.2.5.2', - 'controlLocalPropertiesCertificateStatus' => '1.3.6.1.4.1.41916.4.2.5.3', - 'controlLocalPropertiesRootCaChainStatus' => '1.3.6.1.4.1.41916.4.2.5.4', - 'controlLocalPropertiesCertificateValidity' => '1.3.6.1.4.1.41916.4.2.5.5', - 'controlLocalPropertiesCertificateNotValidBefore' => '1.3.6.1.4.1.41916.4.2.5.6', - 'controlLocalPropertiesCertificateNotValidAfter' => '1.3.6.1.4.1.41916.4.2.5.7', - 'controlLocalPropertiesDnsName' => '1.3.6.1.4.1.41916.4.2.5.8', - 'controlLocalPropertiesSiteId' => '1.3.6.1.4.1.41916.4.2.5.9', - 'controlLocalPropertiesDomainId' => '1.3.6.1.4.1.41916.4.2.5.10', - 'controlLocalPropertiesProtocol' => '1.3.6.1.4.1.41916.4.2.5.11', - 'controlLocalPropertiesProtocolDefinition' => 'VIPTELA-SECURITY::controlLocalPropertiesProtocol', - 'controlLocalPropertiesTlsPort' => '1.3.6.1.4.1.41916.4.2.5.12', - 'controlLocalPropertiesSystemIp' => '1.3.6.1.4.1.41916.4.2.5.13', - 'controlLocalPropertiesUuid' => '1.3.6.1.4.1.41916.4.2.5.14', - 'controlLocalPropertiesBoardSerial' => '1.3.6.1.4.1.41916.4.2.5.15', - 'controlLocalPropertiesRegisterInterval' => '1.3.6.1.4.1.41916.4.2.5.16', - 'controlLocalPropertiesRetryInterval' => '1.3.6.1.4.1.41916.4.2.5.17', - 'controlLocalPropertiesNoActivity' => '1.3.6.1.4.1.41916.4.2.5.18', - 'controlLocalPropertiesDnsCacheFlushInterval' => '1.3.6.1.4.1.41916.4.2.5.19', - 'controlLocalPropertiesPortHopped' => '1.3.6.1.4.1.41916.4.2.5.20', - 'controlLocalPropertiesTimeSincePortHop' => '1.3.6.1.4.1.41916.4.2.5.21', - 'controlLocalPropertiesMaxControllers' => '1.3.6.1.4.1.41916.4.2.5.22', - 'controlLocalPropertiesKeygenInterval' => '1.3.6.1.4.1.41916.4.2.5.23', - 'controlLocalPropertiesIpAddressListTable' => '1.3.6.1.4.1.41916.4.2.5.24', - 'controlLocalPropertiesIpAddressListEntry' => '1.3.6.1.4.1.41916.4.2.5.24.1', - 'controlLocalPropertiesIpAddressListIndex' => '1.3.6.1.4.1.41916.4.2.5.24.1.1', - 'controlLocalPropertiesIpAddressListIp' => '1.3.6.1.4.1.41916.4.2.5.24.1.2', - 'controlLocalPropertiesIpAddressListPort' => '1.3.6.1.4.1.41916.4.2.5.24.1.3', - 'controlLocalPropertiesNumberVbondPeers' => '1.3.6.1.4.1.41916.4.2.5.25', - 'controlLocalPropertiesVbondAddressListTable' => '1.3.6.1.4.1.41916.4.2.5.26', - 'controlLocalPropertiesVbondAddressListEntry' => '1.3.6.1.4.1.41916.4.2.5.26.1', - 'controlLocalPropertiesVbondAddressListIndex' => '1.3.6.1.4.1.41916.4.2.5.26.1.1', - 'controlLocalPropertiesVbondAddressListIp' => '1.3.6.1.4.1.41916.4.2.5.26.1.2', - 'controlLocalPropertiesVbondAddressListPort' => '1.3.6.1.4.1.41916.4.2.5.26.1.3', - 'controlLocalPropertiesNumberActiveWanInterfaces' => '1.3.6.1.4.1.41916.4.2.5.27', - 'controlLocalPropertiesWanInterfaceListTable' => '1.3.6.1.4.1.41916.4.2.5.28', - 'controlLocalPropertiesWanInterfaceListEntry' => '1.3.6.1.4.1.41916.4.2.5.28.1', - 'controlLocalPropertiesWanInterfaceListIndex' => '1.3.6.1.4.1.41916.4.2.5.28.1.1', - 'controlLocalPropertiesWanInterfaceListInterface' => '1.3.6.1.4.1.41916.4.2.5.28.1.2', - 'controlLocalPropertiesWanInterfaceListPublicIp' => '1.3.6.1.4.1.41916.4.2.5.28.1.3', - 'controlLocalPropertiesWanInterfaceListPublicPort' => '1.3.6.1.4.1.41916.4.2.5.28.1.4', - 'controlLocalPropertiesWanInterfaceListPrivateIp' => '1.3.6.1.4.1.41916.4.2.5.28.1.5', - 'controlLocalPropertiesWanInterfaceListPrivatePort' => '1.3.6.1.4.1.41916.4.2.5.28.1.6', - 'controlLocalPropertiesWanInterfaceListNumVsmarts' => '1.3.6.1.4.1.41916.4.2.5.28.1.7', - 'controlLocalPropertiesWanInterfaceListNumVmanages' => '1.3.6.1.4.1.41916.4.2.5.28.1.8', - 'controlLocalPropertiesWanInterfaceListWeight' => '1.3.6.1.4.1.41916.4.2.5.28.1.9', - 'controlLocalPropertiesWanInterfaceListColor' => '1.3.6.1.4.1.41916.4.2.5.28.1.10', - 'controlLocalPropertiesWanInterfaceListColorDefinition' => 'VIPTELA-SECURITY::controlLocalPropertiesWanInterfaceListColor', - 'controlLocalPropertiesWanInterfaceListCarrier' => '1.3.6.1.4.1.41916.4.2.5.28.1.11', - 'controlLocalPropertiesWanInterfaceListCarrierDefinition' => 'VIPTELA-SECURITY::controlLocalPropertiesWanInterfaceListCarrier', - 'controlLocalPropertiesWanInterfaceListPreference' => '1.3.6.1.4.1.41916.4.2.5.28.1.12', - 'controlLocalPropertiesWanInterfaceListAdminState' => '1.3.6.1.4.1.41916.4.2.5.28.1.13', - 'controlLocalPropertiesWanInterfaceListAdminStateDefinition' => 'VIPTELA-SECURITY::StateEnum', - 'controlLocalPropertiesWanInterfaceListOperationState' => '1.3.6.1.4.1.41916.4.2.5.28.1.14', - 'controlLocalPropertiesWanInterfaceListOperationStateDefinition' => 'VIPTELA-SECURITY::StateEnum', - 'controlLocalPropertiesWanInterfaceListLastConnTime' => '1.3.6.1.4.1.41916.4.2.5.28.1.15', - 'controlLocalPropertiesWanInterfaceListRestrictStr' => '1.3.6.1.4.1.41916.4.2.5.28.1.16', - 'controlLocalPropertiesWanInterfaceListControlStr' => '1.3.6.1.4.1.41916.4.2.5.28.1.17', - 'controlLocalPropertiesWanInterfaceListPerWanMaxControllers' => '1.3.6.1.4.1.41916.4.2.5.28.1.18', - 'controlLocalPropertiesWanInterfaceListInstance' => '1.3.6.1.4.1.41916.4.2.5.28.1.19', - 'controlLocalPropertiesWanInterfaceListPrivateIpv6' => '1.3.6.1.4.1.41916.4.2.5.28.1.20', - 'controlLocalPropertiesWanInterfaceListSpiChange' => '1.3.6.1.4.1.41916.4.2.5.28.1.21', - 'controlLocalPropertiesWanInterfaceListLastResort' => '1.3.6.1.4.1.41916.4.2.5.28.1.22', - 'controlLocalPropertiesWanInterfaceListWanPortHopped' => '1.3.6.1.4.1.41916.4.2.5.28.1.23', - 'controlLocalPropertiesWanInterfaceListWanTimeSincePortHop' => '1.3.6.1.4.1.41916.4.2.5.28.1.24', - 'controlLocalPropertiesWanInterfaceListVbondAsStunServer' => '1.3.6.1.4.1.41916.4.2.5.28.1.25', - 'controlLocalPropertiesWanInterfaceListVmanageConnectionPreference' => '1.3.6.1.4.1.41916.4.2.5.28.1.26', - 'controlLocalPropertiesWanInterfaceListLowBandwidthLink' => '1.3.6.1.4.1.41916.4.2.5.28.1.27', - 'controlLocalPropertiesWanInterfaceListNatType' => '1.3.6.1.4.1.41916.4.2.5.28.1.31', - 'controlLocalPropertiesWanInterfaceListInterfaceAdminState' => '1.3.6.1.4.1.41916.4.2.5.28.1.32', - 'controlLocalPropertiesWanInterfaceListInterfaceAdminStateDefinition' => 'VIPTELA-SECURITY::StateEnum', - 'controlLocalPropertiesWanInterfaceListInterfaceOperState' => '1.3.6.1.4.1.41916.4.2.5.28.1.33', - 'controlLocalPropertiesWanInterfaceListInterfaceOperStateDefinition' => 'VIPTELA-SECURITY::StateEnum', - 'controlLocalPropertiesVedgeListVersion' => '1.3.6.1.4.1.41916.4.2.5.29', - 'controlLocalPropertiesVsmartListVersion' => '1.3.6.1.4.1.41916.4.2.5.30', - 'controlLocalPropertiesSPOrganizationName' => '1.3.6.1.4.1.41916.4.2.5.31', - 'controlLocalPropertiesToken' => '1.3.6.1.4.1.41916.4.2.5.32', - 'controlLocalPropertiesCloudHosted' => '1.3.6.1.4.1.41916.4.2.5.33', - 'controlLocalPropertiesEmbargoCheck' => '1.3.6.1.4.1.41916.4.2.5.34', - 'controlLocalPropertiesEnterpriseSerial' => '1.3.6.1.4.1.41916.4.2.5.35', - 'controlLocalPropertiesEnterpriseCertificateStatus' => '1.3.6.1.4.1.41916.4.2.5.36', - 'controlLocalPropertiesEnterpriseCertificateValidity' => '1.3.6.1.4.1.41916.4.2.5.37', - 'controlLocalPropertiesEnterpriseCertificateNotValidBefore' => '1.3.6.1.4.1.41916.4.2.5.38', - 'controlLocalPropertiesEnterpriseCertificateNotValidAfter' => '1.3.6.1.4.1.41916.4.2.5.39', - 'controlLocalPropertiesPairwiseKeying' => '1.3.6.1.4.1.41916.4.2.5.40', - 'controlLocalPropertiesCdbLocked' => '1.3.6.1.4.1.41916.4.2.5.41', - 'controlLocalPropertiesSubjectSerialNumber' => '1.3.6.1.4.1.41916.4.2.5.42', - 'controlValidVsmartsTable' => '1.3.6.1.4.1.41916.4.2.6', - 'controlValidVsmartsEntry' => '1.3.6.1.4.1.41916.4.2.6.1', - 'controlValidVsmartsSerialNumber' => '1.3.6.1.4.1.41916.4.2.6.1.1', - 'controlValidVsmartsOrg' => '1.3.6.1.4.1.41916.4.2.6.1.2', - 'controlValidVedgesTable' => '1.3.6.1.4.1.41916.4.2.7', - 'controlValidVedgesEntry' => '1.3.6.1.4.1.41916.4.2.7.1', - 'controlValidVedgesChassisNumber' => '1.3.6.1.4.1.41916.4.2.7.1.1', - 'controlValidVedgesSerialNumber' => '1.3.6.1.4.1.41916.4.2.7.1.2', - 'controlValidVedgesValidity' => '1.3.6.1.4.1.41916.4.2.7.1.3', - 'controlValidVedgesValidityDefinition' => 'VIPTELA-SECURITY::controlValidVedgesValidity', - 'controlValidVedgesOrg' => '1.3.6.1.4.1.41916.4.2.7.1.4', - 'controlValidVedgesHardwareInstalledSerialNumber' => '1.3.6.1.4.1.41916.4.2.7.1.5', - 'controlValidVedgesSubjectSerialNumber' => '1.3.6.1.4.1.41916.4.2.7.1.6', - 'controlSummaryTable' => '1.3.6.1.4.1.41916.4.2.8', - 'controlSummaryEntry' => '1.3.6.1.4.1.41916.4.2.8.1', - 'controlSummaryInstance' => '1.3.6.1.4.1.41916.4.2.8.1.1', - 'controlSummaryVbondCounts' => '1.3.6.1.4.1.41916.4.2.8.1.2', - 'controlSummaryVmanageCounts' => '1.3.6.1.4.1.41916.4.2.8.1.3', - 'controlSummaryVsmartCounts' => '1.3.6.1.4.1.41916.4.2.8.1.4', - 'controlSummaryVedgeCounts' => '1.3.6.1.4.1.41916.4.2.8.1.5', - 'controlSummaryProtocol' => '1.3.6.1.4.1.41916.4.2.8.1.6', - 'controlSummaryProtocolDefinition' => 'VIPTELA-SECURITY::controlSummaryProtocol', - 'controlSummaryListeningIp' => '1.3.6.1.4.1.41916.4.2.8.1.7', - 'controlSummaryListeningPort' => '1.3.6.1.4.1.41916.4.2.8.1.8', - 'controlSummaryListeningIpv6' => '1.3.6.1.4.1.41916.4.2.8.1.9', - 'controlSummaryValidControllerCounts' => '1.3.6.1.4.1.41916.4.2.8.1.10', - 'controlAffinity' => '1.3.6.1.4.1.41916.4.2.9', - 'controlAffinityConfigTable' => '1.3.6.1.4.1.41916.4.2.9.1', - 'controlAffinityConfigEntry' => '1.3.6.1.4.1.41916.4.2.9.1.1', - 'controlAffinityConfigAffcIndex' => '1.3.6.1.4.1.41916.4.2.9.1.1.1', - 'controlAffinityConfigAffcInterface' => '1.3.6.1.4.1.41916.4.2.9.1.1.2', - 'controlAffinityConfigAffcErvc' => '1.3.6.1.4.1.41916.4.2.9.1.1.3', - 'controlAffinityConfigAffcEcl' => '1.3.6.1.4.1.41916.4.2.9.1.1.4', - 'controlAffinityConfigAffcCcl' => '1.3.6.1.4.1.41916.4.2.9.1.1.5', - 'controlAffinityConfigAffcEquil' => '1.3.6.1.4.1.41916.4.2.9.1.1.6', - 'controlAffinityConfigAffcLastResort' => '1.3.6.1.4.1.41916.4.2.9.1.1.7', - 'controlAffinityStatusTable' => '1.3.6.1.4.1.41916.4.2.9.2', - 'controlAffinityStatusEntry' => '1.3.6.1.4.1.41916.4.2.9.2.1', - 'controlAffinityStatusAffsIndex' => '1.3.6.1.4.1.41916.4.2.9.2.1.1', - 'controlAffinityStatusAffsInterface' => '1.3.6.1.4.1.41916.4.2.9.2.1.2', - 'controlAffinityStatusAffsAcc' => '1.3.6.1.4.1.41916.4.2.9.2.1.3', - 'controlAffinityStatusAffsUcc' => '1.3.6.1.4.1.41916.4.2.9.2.1.4', - 'controlAffinityStatusAffsAc' => '1.3.6.1.4.1.41916.4.2.9.2.1.5', - 'controlValidVmanageIdTable' => '1.3.6.1.4.1.41916.4.2.10', - 'controlValidVmanageIdEntry' => '1.3.6.1.4.1.41916.4.2.10.1', - 'controlValidVManageIdChassisNumbers' => '1.3.6.1.4.1.41916.4.2.10.1.1', - 'orchestrator' => '1.3.6.1.4.1.41916.4.3', - 'orchestratorConnectionsTable' => '1.3.6.1.4.1.41916.4.3.1', - 'orchestratorConnectionsEntry' => '1.3.6.1.4.1.41916.4.3.1.1', - 'orchestratorConnectionsInstance' => '1.3.6.1.4.1.41916.4.3.1.1.1', - 'orchestratorConnectionsPeerType' => '1.3.6.1.4.1.41916.4.3.1.1.2', - 'orchestratorConnectionsPeerTypeDefinition' => 'VIPTELA-SECURITY::orchestratorConnectionsPeerType', - 'orchestratorConnectionsSiteId' => '1.3.6.1.4.1.41916.4.3.1.1.3', - 'orchestratorConnectionsDomainId' => '1.3.6.1.4.1.41916.4.3.1.1.4', - 'orchestratorConnectionsProtocol' => '1.3.6.1.4.1.41916.4.3.1.1.5', - 'orchestratorConnectionsProtocolDefinition' => 'VIPTELA-SECURITY::orchestratorConnectionsProtocol', - 'orchestratorConnectionsLocalPrivateIp' => '1.3.6.1.4.1.41916.4.3.1.1.6', - 'orchestratorConnectionsLocalPrivatePort' => '1.3.6.1.4.1.41916.4.3.1.1.7', - 'orchestratorConnectionsPublicIp' => '1.3.6.1.4.1.41916.4.3.1.1.8', - 'orchestratorConnectionsPublicPort' => '1.3.6.1.4.1.41916.4.3.1.1.9', - 'orchestratorConnectionsSystemIp' => '1.3.6.1.4.1.41916.4.3.1.1.10', - 'orchestratorConnectionsLocalColor' => '1.3.6.1.4.1.41916.4.3.1.1.11', - 'orchestratorConnectionsLocalColorDefinition' => 'VIPTELA-SECURITY::orchestratorConnectionsLocalColor', - 'orchestratorConnectionsRemoteColor' => '1.3.6.1.4.1.41916.4.3.1.1.12', - 'orchestratorConnectionsRemoteColorDefinition' => 'VIPTELA-SECURITY::orchestratorConnectionsRemoteColor', - 'orchestratorConnectionsPrivateIp' => '1.3.6.1.4.1.41916.4.3.1.1.13', - 'orchestratorConnectionsPrivatePort' => '1.3.6.1.4.1.41916.4.3.1.1.14', - 'orchestratorConnectionsState' => '1.3.6.1.4.1.41916.4.3.1.1.15', - 'orchestratorConnectionsStateDefinition' => 'VIPTELA-SECURITY::SessionState', - 'orchestratorConnectionsLocalEnum' => '1.3.6.1.4.1.41916.4.3.1.1.16', - 'orchestratorConnectionsLocalEnumDefinition' => 'VIPTELA-SECURITY::ConnFlagEnum', - 'orchestratorConnectionsRemoteEnum' => '1.3.6.1.4.1.41916.4.3.1.1.17', - 'orchestratorConnectionsRemoteEnumDefinition' => 'VIPTELA-SECURITY::ConnFlagEnum', - 'orchestratorConnectionsLocalStateInfo' => '1.3.6.1.4.1.41916.4.3.1.1.18', - 'orchestratorConnectionsRemoteStateInfo' => '1.3.6.1.4.1.41916.4.3.1.1.19', - 'orchestratorConnectionsUptime' => '1.3.6.1.4.1.41916.4.3.1.1.20', - 'orchestratorConnectionsTxHello' => '1.3.6.1.4.1.41916.4.3.1.1.21', - 'orchestratorConnectionsTxConnects' => '1.3.6.1.4.1.41916.4.3.1.1.22', - 'orchestratorConnectionsTxRegisters' => '1.3.6.1.4.1.41916.4.3.1.1.23', - 'orchestratorConnectionsTxRegisterReplies' => '1.3.6.1.4.1.41916.4.3.1.1.24', - 'orchestratorConnectionsTxChallenge' => '1.3.6.1.4.1.41916.4.3.1.1.25', - 'orchestratorConnectionsTxChallengeResp' => '1.3.6.1.4.1.41916.4.3.1.1.26', - 'orchestratorConnectionsTxChallengeAck' => '1.3.6.1.4.1.41916.4.3.1.1.27', - 'orchestratorConnectionsTxTeardown' => '1.3.6.1.4.1.41916.4.3.1.1.28', - 'orchestratorConnectionsTxTeardownAll' => '1.3.6.1.4.1.41916.4.3.1.1.29', - 'orchestratorConnectionsTxVmToPeer' => '1.3.6.1.4.1.41916.4.3.1.1.30', - 'orchestratorConnectionsTxRegisterToVm' => '1.3.6.1.4.1.41916.4.3.1.1.31', - 'orchestratorConnectionsRxHello' => '1.3.6.1.4.1.41916.4.3.1.1.32', - 'orchestratorConnectionsRxConnects' => '1.3.6.1.4.1.41916.4.3.1.1.33', - 'orchestratorConnectionsRxRegisters' => '1.3.6.1.4.1.41916.4.3.1.1.34', - 'orchestratorConnectionsRxRegisterReplies' => '1.3.6.1.4.1.41916.4.3.1.1.35', - 'orchestratorConnectionsRxChallenge' => '1.3.6.1.4.1.41916.4.3.1.1.36', - 'orchestratorConnectionsRxChallengeResp' => '1.3.6.1.4.1.41916.4.3.1.1.37', - 'orchestratorConnectionsRxChallengeAck' => '1.3.6.1.4.1.41916.4.3.1.1.38', - 'orchestratorConnectionsRxTeardown' => '1.3.6.1.4.1.41916.4.3.1.1.39', - 'orchestratorConnectionsRxVmToPeer' => '1.3.6.1.4.1.41916.4.3.1.1.40', - 'orchestratorConnectionsRxRegisterToVm' => '1.3.6.1.4.1.41916.4.3.1.1.41', - 'orchestratorConnectionsNegotiatedHelloInterval' => '1.3.6.1.4.1.41916.4.3.1.1.42', - 'orchestratorConnectionsNegotiatedHelloTolerance' => '1.3.6.1.4.1.41916.4.3.1.1.43', - 'orchestratorConnectionsOrgname' => '1.3.6.1.4.1.41916.4.3.1.1.44', - 'orchestratorConnectionsSporgname' => '1.3.6.1.4.1.41916.4.3.1.1.45', - 'orchestratorConnectionsTxCreateCert' => '1.3.6.1.4.1.41916.4.3.1.1.46', - 'orchestratorConnectionsRxCreateCert' => '1.3.6.1.4.1.41916.4.3.1.1.47', - 'orchestratorConnectionsTxCreateCertReply' => '1.3.6.1.4.1.41916.4.3.1.1.48', - 'orchestratorConnectionsRxCreateCertReply' => '1.3.6.1.4.1.41916.4.3.1.1.49', - 'orchestratorConnectionsCloudHosted' => '1.3.6.1.4.1.41916.4.3.1.1.50', - 'orchestratorConnectionsHistoryTable' => '1.3.6.1.4.1.41916.4.3.2', - 'orchestratorConnectionsHistoryEntry' => '1.3.6.1.4.1.41916.4.3.2.1', - 'orchestratorConnectionsHistoryInstance' => '1.3.6.1.4.1.41916.4.3.2.1.1', - 'orchestratorConnectionsHistoryIndex' => '1.3.6.1.4.1.41916.4.3.2.1.2', - 'orchestratorConnectionsHistoryPeerType' => '1.3.6.1.4.1.41916.4.3.2.1.3', - 'orchestratorConnectionsHistoryPeerTypeDefinition' => 'VIPTELA-SECURITY::orchestratorConnectionsHistoryPeerType', - 'orchestratorConnectionsHistorySiteId' => '1.3.6.1.4.1.41916.4.3.2.1.4', - 'orchestratorConnectionsHistoryDomainId' => '1.3.6.1.4.1.41916.4.3.2.1.5', - 'orchestratorConnectionsHistoryProtocol' => '1.3.6.1.4.1.41916.4.3.2.1.6', - 'orchestratorConnectionsHistoryProtocolDefinition' => 'VIPTELA-SECURITY::orchestratorConnectionsHistoryProtocol', - 'orchestratorConnectionsHistoryPrivateIp' => '1.3.6.1.4.1.41916.4.3.2.1.7', - 'orchestratorConnectionsHistoryPrivatePort' => '1.3.6.1.4.1.41916.4.3.2.1.8', - 'orchestratorConnectionsHistoryPublicIp' => '1.3.6.1.4.1.41916.4.3.2.1.9', - 'orchestratorConnectionsHistoryPublicPort' => '1.3.6.1.4.1.41916.4.3.2.1.10', - 'orchestratorConnectionsHistorySystemIp' => '1.3.6.1.4.1.41916.4.3.2.1.11', - 'orchestratorConnectionsHistoryLocalColor' => '1.3.6.1.4.1.41916.4.3.2.1.12', - 'orchestratorConnectionsHistoryLocalColorDefinition' => 'VIPTELA-SECURITY::orchestratorConnectionsHistoryLocalColor', - 'orchestratorConnectionsHistoryRemoteColor' => '1.3.6.1.4.1.41916.4.3.2.1.13', - 'orchestratorConnectionsHistoryRemoteColorDefinition' => 'VIPTELA-SECURITY::orchestratorConnectionsHistoryRemoteColor', - 'orchestratorConnectionsHistoryState' => '1.3.6.1.4.1.41916.4.3.2.1.14', - 'orchestratorConnectionsHistoryStateDefinition' => 'VIPTELA-SECURITY::SessionState', - 'orchestratorConnectionsHistoryLocalEnum' => '1.3.6.1.4.1.41916.4.3.2.1.15', - 'orchestratorConnectionsHistoryLocalEnumDefinition' => 'VIPTELA-SECURITY::ConnFlagEnum', - 'orchestratorConnectionsHistoryRemoteEnum' => '1.3.6.1.4.1.41916.4.3.2.1.16', - 'orchestratorConnectionsHistoryRemoteEnumDefinition' => 'VIPTELA-SECURITY::ConnFlagEnum', - 'orchestratorConnectionsHistoryLocalStateInfo' => '1.3.6.1.4.1.41916.4.3.2.1.17', - 'orchestratorConnectionsHistoryRemoteStateInfo' => '1.3.6.1.4.1.41916.4.3.2.1.18', - 'orchestratorConnectionsHistoryLocalPrivateIp' => '1.3.6.1.4.1.41916.4.3.2.1.19', - 'orchestratorConnectionsHistoryLocalPrivatePort' => '1.3.6.1.4.1.41916.4.3.2.1.20', - 'orchestratorConnectionsHistoryDowntime' => '1.3.6.1.4.1.41916.4.3.2.1.21', - 'orchestratorConnectionsHistoryTxHello' => '1.3.6.1.4.1.41916.4.3.2.1.22', - 'orchestratorConnectionsHistoryTxConnects' => '1.3.6.1.4.1.41916.4.3.2.1.23', - 'orchestratorConnectionsHistoryTxRegisters' => '1.3.6.1.4.1.41916.4.3.2.1.24', - 'orchestratorConnectionsHistoryTxRegisterReplies' => '1.3.6.1.4.1.41916.4.3.2.1.25', - 'orchestratorConnectionsHistoryTxChallenge' => '1.3.6.1.4.1.41916.4.3.2.1.26', - 'orchestratorConnectionsHistoryTxChallengeResp' => '1.3.6.1.4.1.41916.4.3.2.1.27', - 'orchestratorConnectionsHistoryTxChallengeAck' => '1.3.6.1.4.1.41916.4.3.2.1.28', - 'orchestratorConnectionsHistoryTxTeardown' => '1.3.6.1.4.1.41916.4.3.2.1.29', - 'orchestratorConnectionsHistoryTxTeardownAll' => '1.3.6.1.4.1.41916.4.3.2.1.30', - 'orchestratorConnectionsHistoryTxVmToPeer' => '1.3.6.1.4.1.41916.4.3.2.1.31', - 'orchestratorConnectionsHistoryTxRegisterToVm' => '1.3.6.1.4.1.41916.4.3.2.1.32', - 'orchestratorConnectionsHistoryRxHello' => '1.3.6.1.4.1.41916.4.3.2.1.33', - 'orchestratorConnectionsHistoryRxConnects' => '1.3.6.1.4.1.41916.4.3.2.1.34', - 'orchestratorConnectionsHistoryRxRegisters' => '1.3.6.1.4.1.41916.4.3.2.1.35', - 'orchestratorConnectionsHistoryRxRegisterReplies' => '1.3.6.1.4.1.41916.4.3.2.1.36', - 'orchestratorConnectionsHistoryRxChallenge' => '1.3.6.1.4.1.41916.4.3.2.1.37', - 'orchestratorConnectionsHistoryRxChallengeResp' => '1.3.6.1.4.1.41916.4.3.2.1.38', - 'orchestratorConnectionsHistoryRxChallengeAck' => '1.3.6.1.4.1.41916.4.3.2.1.39', - 'orchestratorConnectionsHistoryRxTeardown' => '1.3.6.1.4.1.41916.4.3.2.1.40', - 'orchestratorConnectionsHistoryRxVmToPeer' => '1.3.6.1.4.1.41916.4.3.2.1.41', - 'orchestratorConnectionsHistoryRxRegisterToVm' => '1.3.6.1.4.1.41916.4.3.2.1.42', - 'orchestratorConnectionsHistoryRepCount' => '1.3.6.1.4.1.41916.4.3.2.1.43', - 'orchestratorConnectionsHistoryPrevDowntime' => '1.3.6.1.4.1.41916.4.3.2.1.44', - 'orchestratorConnectionsHistoryHOrgname' => '1.3.6.1.4.1.41916.4.3.2.1.45', - 'orchestratorConnectionsHistoryHSporgname' => '1.3.6.1.4.1.41916.4.3.2.1.46', - 'orchestratorConnectionsHistoryUuid' => '1.3.6.1.4.1.41916.4.3.2.1.47', - 'orchestratorConnectionsHistoryTxCreateCert' => '1.3.6.1.4.1.41916.4.3.2.1.48', - 'orchestratorConnectionsHistoryRxCreateCert' => '1.3.6.1.4.1.41916.4.3.2.1.49', - 'orchestratorConnectionsHistoryTxCreateCertReply' => '1.3.6.1.4.1.41916.4.3.2.1.50', - 'orchestratorConnectionsHistoryRxCreateCertReply' => '1.3.6.1.4.1.41916.4.3.2.1.51', - 'orchestratorStatistics' => '1.3.6.1.4.1.41916.4.3.3', - 'orchestratorStatisticsTxPkts' => '1.3.6.1.4.1.41916.4.3.3.1', - 'orchestratorStatisticsTxOctets' => '1.3.6.1.4.1.41916.4.3.3.2', - 'orchestratorStatisticsTxError' => '1.3.6.1.4.1.41916.4.3.3.3', - 'orchestratorStatisticsTxBlocked' => '1.3.6.1.4.1.41916.4.3.3.4', - 'orchestratorStatisticsTxConnects' => '1.3.6.1.4.1.41916.4.3.3.5', - 'orchestratorStatisticsTxRegisters' => '1.3.6.1.4.1.41916.4.3.3.6', - 'orchestratorStatisticsTxRegisterReplies' => '1.3.6.1.4.1.41916.4.3.3.7', - 'orchestratorStatisticsTxDtlsHandshake' => '1.3.6.1.4.1.41916.4.3.3.8', - 'orchestratorStatisticsTxDtlsHandshakeFailures' => '1.3.6.1.4.1.41916.4.3.3.9', - 'orchestratorStatisticsTxDtlsHandshakeDone' => '1.3.6.1.4.1.41916.4.3.3.10', - 'orchestratorStatisticsTxChallenge' => '1.3.6.1.4.1.41916.4.3.3.11', - 'orchestratorStatisticsTxChallengeResp' => '1.3.6.1.4.1.41916.4.3.3.12', - 'orchestratorStatisticsTxChallengeAck' => '1.3.6.1.4.1.41916.4.3.3.13', - 'orchestratorStatisticsTxChallengeError' => '1.3.6.1.4.1.41916.4.3.3.14', - 'orchestratorStatisticsTxChallengeRespError' => '1.3.6.1.4.1.41916.4.3.3.15', - 'orchestratorStatisticsTxChallengeAckError' => '1.3.6.1.4.1.41916.4.3.3.16', - 'orchestratorStatisticsTxChallengeGenError' => '1.3.6.1.4.1.41916.4.3.3.17', - 'orchestratorStatisticsRxPkts' => '1.3.6.1.4.1.41916.4.3.3.18', - 'orchestratorStatisticsRxOctets' => '1.3.6.1.4.1.41916.4.3.3.19', - 'orchestratorStatisticsRxError' => '1.3.6.1.4.1.41916.4.3.3.20', - 'orchestratorStatisticsRxConnects' => '1.3.6.1.4.1.41916.4.3.3.21', - 'orchestratorStatisticsRxRegisters' => '1.3.6.1.4.1.41916.4.3.3.22', - 'orchestratorStatisticsRxRegisterReplies' => '1.3.6.1.4.1.41916.4.3.3.23', - 'orchestratorStatisticsRxDtlsHandshake' => '1.3.6.1.4.1.41916.4.3.3.24', - 'orchestratorStatisticsRxDtlsHandshakeFailures' => '1.3.6.1.4.1.41916.4.3.3.25', - 'orchestratorStatisticsRxDtlsHandshakeDone' => '1.3.6.1.4.1.41916.4.3.3.26', - 'orchestratorStatisticsRxChallenge' => '1.3.6.1.4.1.41916.4.3.3.27', - 'orchestratorStatisticsRxChallengeResp' => '1.3.6.1.4.1.41916.4.3.3.28', - 'orchestratorStatisticsRxChallengeAck' => '1.3.6.1.4.1.41916.4.3.3.29', - 'orchestratorStatisticsChallengeFailures' => '1.3.6.1.4.1.41916.4.3.3.30', - 'orchestratorLocalProperties' => '1.3.6.1.4.1.41916.4.3.4', - 'orchestratorLocalPropertiesDeviceType' => '1.3.6.1.4.1.41916.4.3.4.1', - 'orchestratorLocalPropertiesDeviceTypeDefinition' => 'VIPTELA-SECURITY::orchestratorLocalPropertiesDeviceType', - 'orchestratorLocalPropertiesOrganizationName' => '1.3.6.1.4.1.41916.4.3.4.2', - 'orchestratorLocalPropertiesCertificateStatus' => '1.3.6.1.4.1.41916.4.3.4.3', - 'orchestratorLocalPropertiesRootCaChainStatus' => '1.3.6.1.4.1.41916.4.3.4.4', - 'orchestratorLocalPropertiesCertificateValidity' => '1.3.6.1.4.1.41916.4.3.4.5', - 'orchestratorLocalPropertiesCertificateNotValidBefore' => '1.3.6.1.4.1.41916.4.3.4.6', - 'orchestratorLocalPropertiesCertificateNotValidAfter' => '1.3.6.1.4.1.41916.4.3.4.7', - 'orchestratorLocalPropertiesUuid' => '1.3.6.1.4.1.41916.4.3.4.8', - 'orchestratorLocalPropertiesBoardSerial' => '1.3.6.1.4.1.41916.4.3.4.9', - 'orchestratorLocalPropertiesNumberActiveWanInterfaces' => '1.3.6.1.4.1.41916.4.3.4.10', - 'orchestratorLocalPropertiesProtocol' => '1.3.6.1.4.1.41916.4.3.4.11', - 'orchestratorLocalPropertiesProtocolDefinition' => 'VIPTELA-SECURITY::orchestratorLocalPropertiesProtocol', - 'orchestratorLocalPropertiesWanInterfaceListTable' => '1.3.6.1.4.1.41916.4.3.4.12', - 'orchestratorLocalPropertiesWanInterfaceListEntry' => '1.3.6.1.4.1.41916.4.3.4.12.1', - 'orchestratorLocalPropertiesWanInterfaceListIndex' => '1.3.6.1.4.1.41916.4.3.4.12.1.1', - 'orchestratorLocalPropertiesWanInterfaceListIp' => '1.3.6.1.4.1.41916.4.3.4.12.1.2', - 'orchestratorLocalPropertiesWanInterfaceListPort' => '1.3.6.1.4.1.41916.4.3.4.12.1.3', - 'orchestratorLocalPropertiesWanInterfaceListNumVsmarts' => '1.3.6.1.4.1.41916.4.3.4.12.1.4', - 'orchestratorLocalPropertiesWanInterfaceListNumVmanages' => '1.3.6.1.4.1.41916.4.3.4.12.1.5', - 'orchestratorLocalPropertiesWanInterfaceListAdminState' => '1.3.6.1.4.1.41916.4.3.4.12.1.6', - 'orchestratorLocalPropertiesWanInterfaceListAdminStateDefinition' => 'VIPTELA-SECURITY::StateEnum', - 'orchestratorLocalPropertiesWanInterfaceListOperationState' => '1.3.6.1.4.1.41916.4.3.4.12.1.7', - 'orchestratorLocalPropertiesWanInterfaceListOperationStateDefinition' => 'VIPTELA-SECURITY::StateEnum', - 'orchestratorLocalPropertiesWanInterfaceListLastConnTime' => '1.3.6.1.4.1.41916.4.3.4.12.1.8', - 'orchestratorLocalPropertiesWanInterfaceListInstance' => '1.3.6.1.4.1.41916.4.3.4.12.1.9', - 'orchestratorLocalPropertiesWanInterfaceListInterfaceAdminState' => '1.3.6.1.4.1.41916.4.3.4.12.1.10', - 'orchestratorLocalPropertiesWanInterfaceListInterfaceAdminStateDefinition' => 'VIPTELA-SECURITY::StateEnum', - 'orchestratorLocalPropertiesWanInterfaceListInterfaceOperState' => '1.3.6.1.4.1.41916.4.3.4.12.1.11', - 'orchestratorLocalPropertiesWanInterfaceListInterfaceOperStateDefinition' => 'VIPTELA-SECURITY::StateEnum', - 'orchestratorLocalPropertiesSystemIp' => '1.3.6.1.4.1.41916.4.3.4.13', - 'orchestratorLocalPropertiesVedgeListVersion' => '1.3.6.1.4.1.41916.4.3.4.14', - 'orchestratorLocalPropertiesVsmartListVersion' => '1.3.6.1.4.1.41916.4.3.4.15', - 'orchestratorLocalPropertiesSPOrganizationName' => '1.3.6.1.4.1.41916.4.3.4.16', - 'orchestratorValidVsmartsTable' => '1.3.6.1.4.1.41916.4.3.5', - 'orchestratorValidVsmartsEntry' => '1.3.6.1.4.1.41916.4.3.5.1', - 'orchestratorValidVsmartsSerialNumber' => '1.3.6.1.4.1.41916.4.3.5.1.1', - 'orchestratorValidVsmartsOrg' => '1.3.6.1.4.1.41916.4.3.5.1.2', - 'orchestratorValidVedgesTable' => '1.3.6.1.4.1.41916.4.3.6', - 'orchestratorValidVedgesEntry' => '1.3.6.1.4.1.41916.4.3.6.1', - 'orchestratorValidVedgesChassisNumber' => '1.3.6.1.4.1.41916.4.3.6.1.1', - 'orchestratorValidVedgesSerialNumber' => '1.3.6.1.4.1.41916.4.3.6.1.2', - 'orchestratorValidVedgesValidity' => '1.3.6.1.4.1.41916.4.3.6.1.3', - 'orchestratorValidVedgesValidityDefinition' => 'VIPTELA-SECURITY::orchestratorValidVedgesValidity', - 'orchestratorValidVedgesOrg' => '1.3.6.1.4.1.41916.4.3.6.1.4', - 'orchestratorValidVedgesInstalledSerialNumber' => '1.3.6.1.4.1.41916.4.3.6.1.5', - 'orchestratorValidVedgesSubjectSerialNumber' => '1.3.6.1.4.1.41916.4.3.6.1.6', - 'orchestratorSummaryTable' => '1.3.6.1.4.1.41916.4.3.7', - 'orchestratorSummaryEntry' => '1.3.6.1.4.1.41916.4.3.7.1', - 'orchestratorSummaryInstance' => '1.3.6.1.4.1.41916.4.3.7.1.1', - 'orchestratorSummaryVmanageCounts' => '1.3.6.1.4.1.41916.4.3.7.1.2', - 'orchestratorSummaryVsmartCounts' => '1.3.6.1.4.1.41916.4.3.7.1.3', - 'orchestratorSummaryVedgeCounts' => '1.3.6.1.4.1.41916.4.3.7.1.4', - 'orchestratorSummaryProtocol' => '1.3.6.1.4.1.41916.4.3.7.1.5', - 'orchestratorSummaryProtocolDefinition' => 'VIPTELA-SECURITY::orchestratorSummaryProtocol', - 'orchestratorSummaryListeningIp' => '1.3.6.1.4.1.41916.4.3.7.1.6', - 'orchestratorSummaryListeningPort' => '1.3.6.1.4.1.41916.4.3.7.1.7', - 'orchestratorSummaryListeningIpv6' => '1.3.6.1.4.1.41916.4.3.7.1.8', - 'orchestratorSummaryValidControllerCounts' => '1.3.6.1.4.1.41916.4.3.7.1.9', - 'orchestratorValidVmanageIdTable' => '1.3.6.1.4.1.41916.4.3.8', - 'orchestratorValidVmanageIdEntry' => '1.3.6.1.4.1.41916.4.3.8.1', - 'orchestratorValidVManageIdChassisNumbers' => '1.3.6.1.4.1.41916.4.3.8.1.1', - 'orchestratorReverseProxyMappingTable' => '1.3.6.1.4.1.41916.4.3.9', - 'orchestratorReverseProxyMapping' => '1.3.6.1.4.1.41916.4.3.9.1', - 'orchestratorReverseProxyMappingUuid' => '1.3.6.1.4.1.41916.4.3.9.1.1', - 'orchestratorReverseProxyMappingPrivateIp' => '1.3.6.1.4.1.41916.4.3.9.1.2', - 'orchestratorReverseProxyMappingPrivatePort' => '1.3.6.1.4.1.41916.4.3.9.1.3', - 'orchestratorReverseProxyMappingProxyIp' => '1.3.6.1.4.1.41916.4.3.9.1.4', - 'orchestratorReverseProxyMappingProxyPort' => '1.3.6.1.4.1.41916.4.3.9.1.5', - 'orchestratorUnclaimedVedgesTable' => '1.3.6.1.4.1.41916.4.3.10', - 'orchestratorUnclaimedVedgesEntry' => '1.3.6.1.4.1.41916.4.3.10.1', - 'orchestratorUnclaimedVedgesChassisNumber' => '1.3.6.1.4.1.41916.4.3.10.1.1', - 'orchestratorUnclaimedVedgesSerialNumber' => '1.3.6.1.4.1.41916.4.3.10.1.2', - 'orchestratorUnclaimedVedgesSubjectSerialNumber' => '1.3.6.1.4.1.41916.4.3.10.1.3', - 'orchestratorUnclaimedVedgesOrg' => '1.3.6.1.4.1.41916.4.3.10.1.4', - 'ipsec' => '1.3.6.1.4.1.41916.4.4', - 'ipsecLocalSaTable' => '1.3.6.1.4.1.41916.4.4.1', - 'ipsecLocalSaEntry' => '1.3.6.1.4.1.41916.4.4.1.1', - 'ipsecLocalSaTlocAddress' => '1.3.6.1.4.1.41916.4.4.1.1.1', - 'ipsecLocalSaTlocColor' => '1.3.6.1.4.1.41916.4.4.1.1.2', - 'ipsecLocalSaTlocColorDefinition' => 'VIPTELA-SECURITY::ipsecLocalSaTlocColor', - 'ipsecLocalSaSpi' => '1.3.6.1.4.1.41916.4.4.1.1.3', - 'ipsecLocalSaTlocIndex' => '1.3.6.1.4.1.41916.4.4.1.1.4', - 'ipsecLocalSaIp' => '1.3.6.1.4.1.41916.4.4.1.1.5', - 'ipsecLocalSaPort' => '1.3.6.1.4.1.41916.4.4.1.1.6', - 'ipsecLocalSaEncryptKeyHash' => '1.3.6.1.4.1.41916.4.4.1.1.7', - 'ipsecLocalSaAuthKeyHash' => '1.3.6.1.4.1.41916.4.4.1.1.8', - 'ipsecLocalSaIpv6' => '1.3.6.1.4.1.41916.4.4.1.1.9', - 'ipsecInboundConnectionsTable' => '1.3.6.1.4.1.41916.4.4.2', - 'ipsecInboundConnectionsEntry' => '1.3.6.1.4.1.41916.4.4.2.1', - 'ipsecInboundConnectionsLocalTlocAddress' => '1.3.6.1.4.1.41916.4.4.2.1.1', - 'ipsecInboundConnectionsLocalTlocColor' => '1.3.6.1.4.1.41916.4.4.2.1.2', - 'ipsecInboundConnectionsLocalTlocColorDefinition' => 'VIPTELA-SECURITY::ipsecInboundConnectionsLocalTlocColor', - 'ipsecInboundConnectionsRemoteTlocAddress' => '1.3.6.1.4.1.41916.4.4.2.1.3', - 'ipsecInboundConnectionsRemoteTlocColor' => '1.3.6.1.4.1.41916.4.4.2.1.4', - 'ipsecInboundConnectionsRemoteTlocColorDefinition' => 'VIPTELA-SECURITY::ipsecInboundConnectionsRemoteTlocColor', - 'ipsecInboundConnectionsLocalTlocIndex' => '1.3.6.1.4.1.41916.4.4.2.1.5', - 'ipsecInboundConnectionsRemoteTlocIndex' => '1.3.6.1.4.1.41916.4.4.2.1.6', - 'ipsecInboundConnectionsSourceIp' => '1.3.6.1.4.1.41916.4.4.2.1.7', - 'ipsecInboundConnectionsSourcePort' => '1.3.6.1.4.1.41916.4.4.2.1.8', - 'ipsecInboundConnectionsDestIp' => '1.3.6.1.4.1.41916.4.4.2.1.9', - 'ipsecInboundConnectionsDestPort' => '1.3.6.1.4.1.41916.4.4.2.1.10', - 'ipsecInboundConnectionsNegotiatedEncryptionAlgo' => '1.3.6.1.4.1.41916.4.4.2.1.11', - 'ipsecInboundConnectionsTcSpiPerTun' => '1.3.6.1.4.1.41916.4.4.2.1.12', - 'ipsecInboundConnectionsPkeyHash' => '1.3.6.1.4.1.41916.4.4.2.1.13', - 'ipsecInboundConnectionsPeerSpi' => '1.3.6.1.4.1.41916.4.4.2.1.14', - 'ipsecOutboundConnectionsTable' => '1.3.6.1.4.1.41916.4.4.3', - 'ipsecOutboundConnectionsEntry' => '1.3.6.1.4.1.41916.4.4.3.1', - 'ipsecOutboundConnectionsSourceIp' => '1.3.6.1.4.1.41916.4.4.3.1.1', - 'ipsecOutboundConnectionsSourcePort' => '1.3.6.1.4.1.41916.4.4.3.1.2', - 'ipsecOutboundConnectionsDestIp' => '1.3.6.1.4.1.41916.4.4.3.1.3', - 'ipsecOutboundConnectionsDestPort' => '1.3.6.1.4.1.41916.4.4.3.1.4', - 'ipsecOutboundConnectionsSpi' => '1.3.6.1.4.1.41916.4.4.3.1.5', - 'ipsecOutboundConnectionsTlocIndex' => '1.3.6.1.4.1.41916.4.4.3.1.6', - 'ipsecOutboundConnectionsTunnelMtu' => '1.3.6.1.4.1.41916.4.4.3.1.7', - 'ipsecOutboundConnectionsRemoteTlocAddress' => '1.3.6.1.4.1.41916.4.4.3.1.8', - 'ipsecOutboundConnectionsRemoteTlocColor' => '1.3.6.1.4.1.41916.4.4.3.1.9', - 'ipsecOutboundConnectionsRemoteTlocColorDefinition' => 'VIPTELA-SECURITY::ipsecOutboundConnectionsRemoteTlocColor', - 'ipsecOutboundConnectionsAuthenticationUsed' => '1.3.6.1.4.1.41916.4.4.3.1.10', - 'ipsecOutboundConnectionsEncryptKeyHash' => '1.3.6.1.4.1.41916.4.4.3.1.11', - 'ipsecOutboundConnectionsAuthKeyHash' => '1.3.6.1.4.1.41916.4.4.3.1.12', - 'ipsecOutboundConnectionsNegotiatedAlgo' => '1.3.6.1.4.1.41916.4.4.3.1.13', - 'ipsecOutboundConnectionsTcSpiPerTun' => '1.3.6.1.4.1.41916.4.4.3.1.14', - 'ipsecOutboundConnectionsPkeyHash' => '1.3.6.1.4.1.41916.4.4.3.1.15', - 'ipsecOutboundConnectionsPeerSpi' => '1.3.6.1.4.1.41916.4.4.3.1.16', - 'ipsecOutboundConnectionsLocalTlocAddress' => '1.3.6.1.4.1.41916.4.4.3.1.17', - 'ipsecOutboundConnectionsLocalTlocColor' => '1.3.6.1.4.1.41916.4.4.3.1.18', - 'ipsecOutboundConnectionsLocalTlocColorDefinition' => 'VIPTELA-SECURITY::ipsecOutboundConnectionsLocalTlocColor', - 'ipsecIke' => '1.3.6.1.4.1.41916.4.4.4', - 'ipsecIkeInboundConnectionsTable' => '1.3.6.1.4.1.41916.4.4.4.1', - 'ipsecIkeInboundConnectionsEntry' => '1.3.6.1.4.1.41916.4.4.4.1.1', - 'ipsecIkeInboundConnectionsSourceIp' => '1.3.6.1.4.1.41916.4.4.4.1.1.1', - 'ipsecIkeInboundConnectionsSourcePort' => '1.3.6.1.4.1.41916.4.4.4.1.1.2', - 'ipsecIkeInboundConnectionsDestIp' => '1.3.6.1.4.1.41916.4.4.4.1.1.3', - 'ipsecIkeInboundConnectionsDestPort' => '1.3.6.1.4.1.41916.4.4.4.1.1.4', - 'ipsecIkeInboundConnectionsNewSpi' => '1.3.6.1.4.1.41916.4.4.4.1.1.5', - 'ipsecIkeInboundConnectionsOldSpi' => '1.3.6.1.4.1.41916.4.4.4.1.1.6', - 'ipsecIkeInboundConnectionsCipherSuite' => '1.3.6.1.4.1.41916.4.4.4.1.1.7', - 'ipsecIkeInboundConnectionsNewKeyHash' => '1.3.6.1.4.1.41916.4.4.4.1.1.8', - 'ipsecIkeInboundConnectionsOldKeyHash' => '1.3.6.1.4.1.41916.4.4.4.1.1.9', - 'ipsecIkeInboundConnectionsExtSeq' => '1.3.6.1.4.1.41916.4.4.4.1.1.10', - 'ipsecIkeOutboundConnectionsTable' => '1.3.6.1.4.1.41916.4.4.4.2', - 'ipsecIkeOutboundConnectionsEntry' => '1.3.6.1.4.1.41916.4.4.4.2.1', - 'ipsecIkeOutboundConnectionsSourceIp' => '1.3.6.1.4.1.41916.4.4.4.2.1.1', - 'ipsecIkeOutboundConnectionsSourcePort' => '1.3.6.1.4.1.41916.4.4.4.2.1.2', - 'ipsecIkeOutboundConnectionsDestIp' => '1.3.6.1.4.1.41916.4.4.4.2.1.3', - 'ipsecIkeOutboundConnectionsDestPort' => '1.3.6.1.4.1.41916.4.4.4.2.1.4', - 'ipsecIkeOutboundConnectionsSpi' => '1.3.6.1.4.1.41916.4.4.4.2.1.5', - 'ipsecIkeOutboundConnectionsCipherSuite' => '1.3.6.1.4.1.41916.4.4.4.2.1.6', - 'ipsecIkeOutboundConnectionsKeyHash' => '1.3.6.1.4.1.41916.4.4.4.2.1.7', - 'ipsecIkeOutboundConnectionsTunnelMtu' => '1.3.6.1.4.1.41916.4.4.4.2.1.8', - 'ipsecIkeOutboundConnectionsExtSeq' => '1.3.6.1.4.1.41916.4.4.4.2.1.9', - 'ipsecIkeSessionsTable' => '1.3.6.1.4.1.41916.4.4.4.3', - 'ipsecIkeSessionsEntry' => '1.3.6.1.4.1.41916.4.4.4.3.1', - 'ipsecIkeSessionsVpnId' => '1.3.6.1.4.1.41916.4.4.4.3.1.1', - 'ipsecIkeSessionsIfName' => '1.3.6.1.4.1.41916.4.4.4.3.1.2', - 'ipsecIkeSessionsVersion' => '1.3.6.1.4.1.41916.4.4.4.3.1.3', - 'ipsecIkeSessionsSourceIp' => '1.3.6.1.4.1.41916.4.4.4.3.1.4', - 'ipsecIkeSessionsSourcePort' => '1.3.6.1.4.1.41916.4.4.4.3.1.5', - 'ipsecIkeSessionsDestIp' => '1.3.6.1.4.1.41916.4.4.4.3.1.6', - 'ipsecIkeSessionsDestPort' => '1.3.6.1.4.1.41916.4.4.4.3.1.7', - 'ipsecIkeSessionsInitiatorSpi' => '1.3.6.1.4.1.41916.4.4.4.3.1.8', - 'ipsecIkeSessionsResponderSpi' => '1.3.6.1.4.1.41916.4.4.4.3.1.9', - 'ipsecIkeSessionsCipherSuite' => '1.3.6.1.4.1.41916.4.4.4.3.1.10', - 'ipsecIkeSessionsDhGroup' => '1.3.6.1.4.1.41916.4.4.4.3.1.11', - 'ipsecIkeSessionsState' => '1.3.6.1.4.1.41916.4.4.4.3.1.12', - 'ipsecIkeSessionsUptime' => '1.3.6.1.4.1.41916.4.4.4.3.1.13', - 'ipsecIkeSessionsTunnelUptime' => '1.3.6.1.4.1.41916.4.4.4.3.1.14', - 'tunnel' => '1.3.6.1.4.1.41916.4.5', - 'tunnelStatisticsTable' => '1.3.6.1.4.1.41916.4.5.1', - 'tunnelStatisticsEntry' => '1.3.6.1.4.1.41916.4.5.1.1', - 'tunnelStatisticsTunnelProtocol' => '1.3.6.1.4.1.41916.4.5.1.1.1', - 'tunnelStatisticsTunnelProtocolDefinition' => 'VIPTELA-SECURITY::tunnelStatisticsTunnelProtocol', - 'tunnelStatisticsSourceIp' => '1.3.6.1.4.1.41916.4.5.1.1.2', - 'tunnelStatisticsDestIp' => '1.3.6.1.4.1.41916.4.5.1.1.3', - 'tunnelStatisticsSourcePort' => '1.3.6.1.4.1.41916.4.5.1.1.4', - 'tunnelStatisticsDestPort' => '1.3.6.1.4.1.41916.4.5.1.1.5', - 'tunnelStatisticsSystemIp' => '1.3.6.1.4.1.41916.4.5.1.1.6', - 'tunnelStatisticsLocalColor' => '1.3.6.1.4.1.41916.4.5.1.1.7', - 'tunnelStatisticsLocalColorDefinition' => 'VIPTELA-SECURITY::tunnelStatisticsLocalColor', - 'tunnelStatisticsRemoteColor' => '1.3.6.1.4.1.41916.4.5.1.1.8', - 'tunnelStatisticsRemoteColorDefinition' => 'VIPTELA-SECURITY::tunnelStatisticsRemoteColor', - 'tunnelStatisticsTunnelMtu' => '1.3.6.1.4.1.41916.4.5.1.1.9', - 'tunnelStatisticsTxPkts' => '1.3.6.1.4.1.41916.4.5.1.1.10', - 'tunnelStatisticsTxOctets' => '1.3.6.1.4.1.41916.4.5.1.1.11', - 'tunnelStatisticsRxPkts' => '1.3.6.1.4.1.41916.4.5.1.1.12', - 'tunnelStatisticsRxOctets' => '1.3.6.1.4.1.41916.4.5.1.1.13', - 'tunnelStatisticsIpsecDecryptInbound' => '1.3.6.1.4.1.41916.4.5.1.1.14', - 'tunnelStatisticsIpsecRxAuthFailures' => '1.3.6.1.4.1.41916.4.5.1.1.15', - 'tunnelStatisticsIpsecRxFailures' => '1.3.6.1.4.1.41916.4.5.1.1.16', - 'tunnelStatisticsIpsecEncryptOutbound' => '1.3.6.1.4.1.41916.4.5.1.1.17', - 'tunnelStatisticsIpsecTxAuthFailures' => '1.3.6.1.4.1.41916.4.5.1.1.18', - 'tunnelStatisticsIpsecTxFailures' => '1.3.6.1.4.1.41916.4.5.1.1.19', - 'tunnelStatisticsTcpMssAdjust' => '1.3.6.1.4.1.41916.4.5.1.1.20', - 'tunnelStatisticsBfdTxPkts' => '1.3.6.1.4.1.41916.4.5.1.1.21', - 'tunnelStatisticsBfdRxPkts' => '1.3.6.1.4.1.41916.4.5.1.1.22', - 'tunnelStatisticsBfdTxOctets' => '1.3.6.1.4.1.41916.4.5.1.1.23', - 'tunnelStatisticsBfdRxOctets' => '1.3.6.1.4.1.41916.4.5.1.1.24', - 'tunnelStatisticsPmtuTxPkts' => '1.3.6.1.4.1.41916.4.5.1.1.25', - 'tunnelStatisticsPmtuRxPkts' => '1.3.6.1.4.1.41916.4.5.1.1.26', - 'tunnelStatisticsPmtuTxOctets' => '1.3.6.1.4.1.41916.4.5.1.1.27', - 'tunnelStatisticsPmtuRxOctets' => '1.3.6.1.4.1.41916.4.5.1.1.28', - 'tunnelStatisticsFecRxDataPkts' => '1.3.6.1.4.1.41916.4.5.1.1.29', - 'tunnelStatisticsFecRxParityPkts' => '1.3.6.1.4.1.41916.4.5.1.1.30', - 'tunnelStatisticsFecTxDataPkts' => '1.3.6.1.4.1.41916.4.5.1.1.31', - 'tunnelStatisticsFecTxParityPkts' => '1.3.6.1.4.1.41916.4.5.1.1.32', - 'tunnelStatisticsFecReconstructPkts' => '1.3.6.1.4.1.41916.4.5.1.1.33', - 'tunnelStatisticsFecCapable' => '1.3.6.1.4.1.41916.4.5.1.1.34', - 'tunnelStatisticsFecDynamic' => '1.3.6.1.4.1.41916.4.5.1.1.35', - 'tunnelStatisticsPktDupRxPkts' => '1.3.6.1.4.1.41916.4.5.1.1.36', - 'tunnelStatisticsPktDupRxOtherPkts' => '1.3.6.1.4.1.41916.4.5.1.1.37', - 'tunnelStatisticsPktDupRxThisPkts' => '1.3.6.1.4.1.41916.4.5.1.1.38', - 'tunnelStatisticsPktDupTxPkts' => '1.3.6.1.4.1.41916.4.5.1.1.39', - 'tunnelStatisticsPktDupTxOtherPkts' => '1.3.6.1.4.1.41916.4.5.1.1.40', - 'tunnelStatisticsPktDupCapable' => '1.3.6.1.4.1.41916.4.5.1.1.41', - 'tunnelGreKeepalivesTable' => '1.3.6.1.4.1.41916.4.5.2', - 'tunnelGreKeepalivesEntry' => '1.3.6.1.4.1.41916.4.5.2.1', - 'tunnelGreKeepalivesVpnId' => '1.3.6.1.4.1.41916.4.5.2.1.1', - 'tunnelGreKeepalivesIfName' => '1.3.6.1.4.1.41916.4.5.2.1.2', - 'tunnelGreKeepalivesSourceIp' => '1.3.6.1.4.1.41916.4.5.2.1.3', - 'tunnelGreKeepalivesDestIp' => '1.3.6.1.4.1.41916.4.5.2.1.4', - 'tunnelGreKeepalivesAdminState' => '1.3.6.1.4.1.41916.4.5.2.1.5', - 'tunnelGreKeepalivesAdminStateDefinition' => 'VIPTELA-SECURITY::tunnelGreKeepalivesAdminState', - 'tunnelGreKeepalivesOperState' => '1.3.6.1.4.1.41916.4.5.2.1.6', - 'tunnelGreKeepalivesOperStateDefinition' => 'VIPTELA-SECURITY::tunnelGreKeepalivesOperState', - 'tunnelGreKeepalivesKaEnabled' => '1.3.6.1.4.1.41916.4.5.2.1.7', - 'tunnelGreKeepalivesRemoteTxPackets' => '1.3.6.1.4.1.41916.4.5.2.1.8', - 'tunnelGreKeepalivesRemoteRxPackets' => '1.3.6.1.4.1.41916.4.5.2.1.9', - 'tunnelGreKeepalivesTxPackets' => '1.3.6.1.4.1.41916.4.5.2.1.10', - 'tunnelGreKeepalivesRxPackets' => '1.3.6.1.4.1.41916.4.5.2.1.11', - 'tunnelGreKeepalivesTxErrors' => '1.3.6.1.4.1.41916.4.5.2.1.12', - 'tunnelGreKeepalivesRxErrors' => '1.3.6.1.4.1.41916.4.5.2.1.13', - 'tunnelGreKeepalivesBaseIfOperStatus' => '1.3.6.1.4.1.41916.4.5.2.1.14', - 'tunnelGreKeepalivesTransitions' => '1.3.6.1.4.1.41916.4.5.2.1.15', - 'securityInfo' => '1.3.6.1.4.1.41916.4.6', - 'securityInfoAuthenticationType' => '1.3.6.1.4.1.41916.4.6.1', - 'securityInfoRekey' => '1.3.6.1.4.1.41916.4.6.2', - 'securityInfoReplayWindow' => '1.3.6.1.4.1.41916.4.6.3', - 'securityInfoEncryptionSupported' => '1.3.6.1.4.1.41916.4.6.4', - 'securityInfoFipsMode' => '1.3.6.1.4.1.41916.4.6.5', - 'securityInfoPairwiseKeying' => '1.3.6.1.4.1.41916.4.6.6', - 'ztp' => '1.3.6.1.4.1.41916.4.7', - 'ztpEntriesTable' => '1.3.6.1.4.1.41916.4.7.1', - 'ztpEntriesEntry' => '1.3.6.1.4.1.41916.4.7.1.1', - 'ztpEntriesIndex' => '1.3.6.1.4.1.41916.4.7.1.1.1', - 'ztpEntriesChassisNumber' => '1.3.6.1.4.1.41916.4.7.1.1.2', - 'ztpEntriesSerialNumber' => '1.3.6.1.4.1.41916.4.7.1.1.3', - 'ztpEntriesValidity' => '1.3.6.1.4.1.41916.4.7.1.1.4', - 'ztpEntriesVbondIp' => '1.3.6.1.4.1.41916.4.7.1.1.5', - 'ztpEntriesVbondPort' => '1.3.6.1.4.1.41916.4.7.1.1.6', - 'ztpEntriesOrganizationName' => '1.3.6.1.4.1.41916.4.7.1.1.7', - 'ztpEntriesRootCertPath' => '1.3.6.1.4.1.41916.4.7.1.1.8', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'VIPTELA-SECURITY'} = { - 'tunnelGreKeepalivesAdminState' => { - '0' => 'down', - '1' => 'up', - '2' => 'invalid', - }, - 'orchestratorSummaryProtocol' => { - '0' => 'dtls', - '1' => 'tls', - }, - 'controlConnectionsLocalColor' => { - '1' => 'default', - '2' => 'mpls', - '3' => 'metro-ethernet', - '4' => 'biz-internet', - '5' => 'public-internet', - '6' => 'lte', - '7' => 'threeG', - '8' => 'red', - '9' => 'green', - '10' => 'blue', - '11' => 'gold', - '12' => 'silver', - '13' => 'bronze', - '14' => 'custom1', - '15' => 'custom2', - '16' => 'custom3', - '17' => 'private1', - '18' => 'private2', - '19' => 'private3', - '20' => 'private4', - '21' => 'private5', - '22' => 'private6', - }, - 'controlConnectionsHistoryLocalColor' => { - '1' => 'default', - '2' => 'mpls', - '3' => 'metro-ethernet', - '4' => 'biz-internet', - '5' => 'public-internet', - '6' => 'lte', - '7' => 'threeG', - '8' => 'red', - '9' => 'green', - '10' => 'blue', - '11' => 'gold', - '12' => 'silver', - '13' => 'bronze', - '14' => 'custom1', - '15' => 'custom2', - '16' => 'custom3', - '17' => 'private1', - '18' => 'private2', - '19' => 'private3', - '20' => 'private4', - '21' => 'private5', - '22' => 'private6', - }, - 'tunnelGreKeepalivesOperState' => { - '0' => 'down', - '1' => 'up', - '2' => 'invalid', - }, - 'ipsecLocalSaTlocColor' => { - '1' => 'default', - '2' => 'mpls', - '3' => 'metro-ethernet', - '4' => 'biz-internet', - '5' => 'public-internet', - '6' => 'lte', - '7' => 'threeG', - '8' => 'red', - '9' => 'green', - '10' => 'blue', - '11' => 'gold', - '12' => 'silver', - '13' => 'bronze', - '14' => 'custom1', - '15' => 'custom2', - '16' => 'custom3', - '17' => 'private1', - '18' => 'private2', - '19' => 'private3', - '20' => 'private4', - '21' => 'private5', - '22' => 'private6', - }, - 'orchestratorConnectionsPeerType' => { - '0' => 'unknown', - '1' => 'vedge', - '2' => 'vhub', - '3' => 'vsmart', - '4' => 'vbond', - '5' => 'vmanage', - '6' => 'ztp', - '7' => 'vcontainer', - }, - 'orchestratorLocalPropertiesProtocol' => { - '0' => 'dtls', - '1' => 'tls', - }, - 'controlConnectionsHistoryProtocol' => { - '0' => 'dtls', - '1' => 'tls', - }, - 'controlLocalPropertiesProtocol' => { - '0' => 'dtls', - '1' => 'tls', - }, - 'controlSummaryProtocol' => { - '0' => 'dtls', - '1' => 'tls', - }, - 'controlConnectionsProtocol' => { - '0' => 'dtls', - '1' => 'tls', - }, - 'controlConnectionsRemoteColor' => { - '1' => 'default', - '2' => 'mpls', - '3' => 'metro-ethernet', - '4' => 'biz-internet', - '5' => 'public-internet', - '6' => 'lte', - '7' => 'threeG', - '8' => 'red', - '9' => 'green', - '10' => 'blue', - '11' => 'gold', - '12' => 'silver', - '13' => 'bronze', - '14' => 'custom1', - '15' => 'custom2', - '16' => 'custom3', - '17' => 'private1', - '18' => 'private2', - '19' => 'private3', - '20' => 'private4', - '21' => 'private5', - '22' => 'private6', - }, - 'controlConnectionsPeerType' => { - '0' => 'unknown', - '1' => 'vedge', - '2' => 'vhub', - '3' => 'vsmart', - '4' => 'vbond', - '5' => 'vmanage', - '6' => 'ztp', - '7' => 'vcontainer', - }, - 'controlLocalPropertiesWanInterfaceListCarrier' => { - '1' => 'default', - '2' => 'carrier1', - '3' => 'carrier2', - '4' => 'carrier3', - '5' => 'carrier4', - '6' => 'carrier5', - '7' => 'carrier6', - '8' => 'carrier7', - '9' => 'carrier8', - }, - 'ipsecOutboundConnectionsLocalTlocColor' => { - '1' => 'default', - '2' => 'mpls', - '3' => 'metro-ethernet', - '4' => 'biz-internet', - '5' => 'public-internet', - '6' => 'lte', - '7' => 'threeG', - '8' => 'red', - '9' => 'green', - '10' => 'blue', - '11' => 'gold', - '12' => 'silver', - '13' => 'bronze', - '14' => 'custom1', - '15' => 'custom2', - '16' => 'custom3', - '17' => 'private1', - '18' => 'private2', - '19' => 'private3', - '20' => 'private4', - '21' => 'private5', - '22' => 'private6', - }, - 'ConnFlagEnum' => { - '0' => 'nOERR', - '1' => 'aCSRREJ', - '2' => 'sTENTRY', - '3' => 'hSFAIL', - '4' => 'dCERTFL', - '5' => 'nLCERT', - '6' => 'lISFD', - '7' => 'sNOCHECK', - '8' => 'iP-TOS', - '9' => 'tMRALC', - '10' => 'dCONFAIL', - '11' => 'wRKRTO', - '12' => 'vS-TMO', - '13' => 'vB-TMO', - '14' => 'vM-TMO', - '15' => 'vP-TMO', - '16' => 'dISTLOC', - '17' => 'rMGSPR', - '18' => 'pRCHAL', - '19' => 'sYSPRCH', - '20' => 'rECLEN0', - '21' => 'tXCHTOBD', - '22' => 'rDSIGFBD', - '23' => 'sSLNFAIL', - '24' => 'dHSTMO', - '25' => 'nOVS', - '26' => 'nOACTVB', - '27' => 'oRPTMO', - '28' => 'dEVALC', - '29' => 'tUNALC', - '30' => 'cRTREJSER', - '31' => 'vBDEST', - '32' => 'cRTREV', - '33' => 'rXTRDWN', - '34' => 'xTVSTRDN', - '35' => 'nOSLPRCRT', - '36' => 'dUPSER', - '37' => 'sERNTPRES', - '38' => 'cRTVERFL', - '39' => 'bIDNTPR', - '40' => 'bIDNTVRFD', - '41' => 'bDSGVERFL', - '42' => 'mEMALCFL', - '43' => 'uNMSGBDRG', - '44' => 'vSCRTREV', - '45' => 'vECRTREV', - '46' => 'uNAUTHEL', - '47' => 'dISCVBD', - '48' => 'cTORGNMMIS', - '49' => 'nOZTPEN', - '50' => 'nOVMCFG', - '51' => 'cHVERFAIL', - '52' => 'dUPCLHELO', - '53' => 'cERTEXPRD', - '54' => 'sYSIPCHNG', - '55' => 'xTVMTRDN', - '56' => 'mGRTBLCKD', - '57' => 'nONCGN', - '58' => 'xTMOS', - '59' => 'iPTMISS', - '60' => 'oPERDOWN', - '61' => 'nTPRVMINT', - '62' => 'sTNMODETD', - '63' => 'lRNTPEER', - '64' => 'cGNIDCHNGD', - '65' => 'dUPSYSIPDEL', - '66' => 'bIDSIG', - '67' => 'iDREQDECFAIL', - '68' => 'vEYIDBNDFAIL', - '69' => 'cREDFAIL', - '70' => 'rECCABLOBFAIL', - '71' => 'eMBARGOFAIL', - '72' => 'nEWVBNOVMNG', - '73' => 'hWCERTREN', - '74' => 'hWCERTREV', - }, - 'ipsecOutboundConnectionsRemoteTlocColor' => { - '1' => 'default', - '2' => 'mpls', - '3' => 'metro-ethernet', - '4' => 'biz-internet', - '5' => 'public-internet', - '6' => 'lte', - '7' => 'threeG', - '8' => 'red', - '9' => 'green', - '10' => 'blue', - '11' => 'gold', - '12' => 'silver', - '13' => 'bronze', - '14' => 'custom1', - '15' => 'custom2', - '16' => 'custom3', - '17' => 'private1', - '18' => 'private2', - '19' => 'private3', - '20' => 'private4', - '21' => 'private5', - '22' => 'private6', - }, - 'tunnelStatisticsTunnelProtocol' => { - '1' => 'gre', - '2' => 'ipsec', - }, - 'orchestratorConnectionsProtocol' => { - '0' => 'dtls', - '1' => 'tls', - }, - 'orchestratorConnectionsHistoryLocalColor' => { - '1' => 'default', - '2' => 'mpls', - '3' => 'metro-ethernet', - '4' => 'biz-internet', - '5' => 'public-internet', - '6' => 'lte', - '7' => 'threeG', - '8' => 'red', - '9' => 'green', - '10' => 'blue', - '11' => 'gold', - '12' => 'silver', - '13' => 'bronze', - '14' => 'custom1', - '15' => 'custom2', - '16' => 'custom3', - '17' => 'private1', - '18' => 'private2', - '19' => 'private3', - '20' => 'private4', - '21' => 'private5', - '22' => 'private6', - }, - 'tunnelStatisticsLocalColor' => { - '1' => 'default', - '2' => 'mpls', - '3' => 'metro-ethernet', - '4' => 'biz-internet', - '5' => 'public-internet', - '6' => 'lte', - '7' => 'threeG', - '8' => 'red', - '9' => 'green', - '10' => 'blue', - '11' => 'gold', - '12' => 'silver', - '13' => 'bronze', - '14' => 'custom1', - '15' => 'custom2', - '16' => 'custom3', - '17' => 'private1', - '18' => 'private2', - '19' => 'private3', - '20' => 'private4', - '21' => 'private5', - '22' => 'private6', - }, - 'ipsecInboundConnectionsLocalTlocColor' => { - '1' => 'default', - '2' => 'mpls', - '3' => 'metro-ethernet', - '4' => 'biz-internet', - '5' => 'public-internet', - '6' => 'lte', - '7' => 'threeG', - '8' => 'red', - '9' => 'green', - '10' => 'blue', - '11' => 'gold', - '12' => 'silver', - '13' => 'bronze', - '14' => 'custom1', - '15' => 'custom2', - '16' => 'custom3', - '17' => 'private1', - '18' => 'private2', - '19' => 'private3', - '20' => 'private4', - '21' => 'private5', - '22' => 'private6', - }, - 'orchestratorConnectionsHistoryPeerType' => { - '0' => 'unknown', - '1' => 'vedge', - '2' => 'vhub', - '3' => 'vsmart', - '4' => 'vbond', - '5' => 'vmanage', - '6' => 'ztp', - '7' => 'vcontainer', - }, - 'orchestratorValidVedgesValidity' => { - '1' => 'valid', - '2' => 'invalid', - '3' => 'staging', - }, - 'StateEnum' => { - '0' => 'unknown', - '1' => 'up', - '2' => 'down', - }, - 'SessionState' => { - '0' => 'down', - '1' => 'connect', - '2' => 'handshake', - '3' => 'trying', - '4' => 'challenge', - '5' => 'challenge-resp', - '6' => 'challenge-ack', - '7' => 'up', - '8' => 'tear-down', - }, - 'controlValidVedgesValidity' => { - '1' => 'valid', - '2' => 'invalid', - '3' => 'staging', - }, - 'controlLocalPropertiesWanInterfaceListColor' => { - '1' => 'default', - '2' => 'mpls', - '3' => 'metro-ethernet', - '4' => 'biz-internet', - '5' => 'public-internet', - '6' => 'lte', - '7' => 'threeG', - '8' => 'red', - '9' => 'green', - '10' => 'blue', - '11' => 'gold', - '12' => 'silver', - '13' => 'bronze', - '14' => 'custom1', - '15' => 'custom2', - '16' => 'custom3', - '17' => 'private1', - '18' => 'private2', - '19' => 'private3', - '20' => 'private4', - '21' => 'private5', - '22' => 'private6', - }, - 'controlConnectionsHistoryPeerType' => { - '0' => 'unknown', - '1' => 'vedge', - '2' => 'vhub', - '3' => 'vsmart', - '4' => 'vbond', - '5' => 'vmanage', - '6' => 'ztp', - '7' => 'vcontainer', - }, - 'ipsecInboundConnectionsRemoteTlocColor' => { - '1' => 'default', - '2' => 'mpls', - '3' => 'metro-ethernet', - '4' => 'biz-internet', - '5' => 'public-internet', - '6' => 'lte', - '7' => 'threeG', - '8' => 'red', - '9' => 'green', - '10' => 'blue', - '11' => 'gold', - '12' => 'silver', - '13' => 'bronze', - '14' => 'custom1', - '15' => 'custom2', - '16' => 'custom3', - '17' => 'private1', - '18' => 'private2', - '19' => 'private3', - '20' => 'private4', - '21' => 'private5', - '22' => 'private6', - }, - 'tunnelStatisticsRemoteColor' => { - '1' => 'default', - '2' => 'mpls', - '3' => 'metro-ethernet', - '4' => 'biz-internet', - '5' => 'public-internet', - '6' => 'lte', - '7' => 'threeG', - '8' => 'red', - '9' => 'green', - '10' => 'blue', - '11' => 'gold', - '12' => 'silver', - '13' => 'bronze', - '14' => 'custom1', - '15' => 'custom2', - '16' => 'custom3', - '17' => 'private1', - '18' => 'private2', - '19' => 'private3', - '20' => 'private4', - '21' => 'private5', - '22' => 'private6', - }, - 'controlLocalPropertiesDeviceType' => { - '0' => 'unknown', - '1' => 'vedge', - '2' => 'vhub', - '3' => 'vsmart', - '4' => 'vbond', - '5' => 'vmanage', - '6' => 'ztp', - '7' => 'vcontainer', - }, - 'orchestratorConnectionsLocalColor' => { - '1' => 'default', - '2' => 'mpls', - '3' => 'metro-ethernet', - '4' => 'biz-internet', - '5' => 'public-internet', - '6' => 'lte', - '7' => 'threeG', - '8' => 'red', - '9' => 'green', - '10' => 'blue', - '11' => 'gold', - '12' => 'silver', - '13' => 'bronze', - '14' => 'custom1', - '15' => 'custom2', - '16' => 'custom3', - '17' => 'private1', - '18' => 'private2', - '19' => 'private3', - '20' => 'private4', - '21' => 'private5', - '22' => 'private6', - }, - 'controlConnectionsHistoryRemoteColor' => { - '1' => 'default', - '2' => 'mpls', - '3' => 'metro-ethernet', - '4' => 'biz-internet', - '5' => 'public-internet', - '6' => 'lte', - '7' => 'threeG', - '8' => 'red', - '9' => 'green', - '10' => 'blue', - '11' => 'gold', - '12' => 'silver', - '13' => 'bronze', - '14' => 'custom1', - '15' => 'custom2', - '16' => 'custom3', - '17' => 'private1', - '18' => 'private2', - '19' => 'private3', - '20' => 'private4', - '21' => 'private5', - '22' => 'private6', - }, - 'orchestratorConnectionsRemoteColor' => { - '1' => 'default', - '2' => 'mpls', - '3' => 'metro-ethernet', - '4' => 'biz-internet', - '5' => 'public-internet', - '6' => 'lte', - '7' => 'threeG', - '8' => 'red', - '9' => 'green', - '10' => 'blue', - '11' => 'gold', - '12' => 'silver', - '13' => 'bronze', - '14' => 'custom1', - '15' => 'custom2', - '16' => 'custom3', - '17' => 'private1', - '18' => 'private2', - '19' => 'private3', - '20' => 'private4', - '21' => 'private5', - '22' => 'private6', - }, - 'orchestratorLocalPropertiesDeviceType' => { - '0' => 'unknown', - '1' => 'vedge', - '2' => 'vhub', - '3' => 'vsmart', - '4' => 'vbond', - '5' => 'vmanage', - '6' => 'ztp', - '7' => 'vcontainer', - }, - 'orchestratorConnectionsHistoryRemoteColor' => { - '1' => 'default', - '2' => 'mpls', - '3' => 'metro-ethernet', - '4' => 'biz-internet', - '5' => 'public-internet', - '6' => 'lte', - '7' => 'threeG', - '8' => 'red', - '9' => 'green', - '10' => 'blue', - '11' => 'gold', - '12' => 'silver', - '13' => 'bronze', - '14' => 'custom1', - '15' => 'custom2', - '16' => 'custom3', - '17' => 'private1', - '18' => 'private2', - '19' => 'private3', - '20' => 'private4', - '21' => 'private5', - '22' => 'private6', - }, - 'orchestratorConnectionsHistoryProtocol' => { - '0' => 'dtls', - '1' => 'tls', - }, -}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VORMETRICMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VORMETRICMIB.pm deleted file mode 100644 index c581756..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VORMETRICMIB.pm +++ /dev/null @@ -1,24 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::VORMETRICMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'VORMETRIC-MIB'} = { - url => '', - name => 'VORMETRIC-MIB', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'VORMETRIC-MIB'} = - '1.3.6.1.4.1.21513.1'; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'VORMETRIC-MIB'} = { - 'vormetric' => '1.3.6.1.4.1.21513', - 'version' => '1.3.6.1.4.1.21513.1', - 'fingerPrint' => '1.3.6.1.4.1.21513.2', - 'serverTime' => '1.3.6.1.4.1.21513.3', - 'licenses' => '1.3.6.1.4.1.21513.5', - 'serverHA' => '1.3.6.1.4.1.21513.6', - 'diskUsage' => '1.3.6.1.4.1.21513.7', - 'vmstat' => '1.3.6.1.4.1.21513.8', -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'VORMETRIC-MIB'} = { -}; - diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VRRPMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VRRPMIB.pm deleted file mode 100644 index 55ba6df..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VRRPMIB.pm +++ /dev/null @@ -1,106 +0,0 @@ -package Monitoring::GLPlugin::SNMP::MibsAndOids::VRRPMIB; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'VRRP-MIB'} = { - url => 'ftp://ftp.cisco.com/pub/mibs/v2/VRRP-MIB.my', - name => 'VRRP-MIB' -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::requirements->{'VRRP-MIB'} = [ - 'SNMPv2-TC-v1-MIB', -]; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'VRRP-MIB'} = { - vrrpMIB => '1.3.6.1.2.1.68', - vrrpNotifications => '1.3.6.1.2.1.68.0', - vrrpTrapNewMaster => '1.3.6.1.2.1.68.0.1', - vrrpTrapAuthFailure => '1.3.6.1.2.1.68.0.2', - vrrpOperations => '1.3.6.1.2.1.68.1', - vrrpNodeVersion => '1.3.6.1.2.1.68.1.1', - vrrpNotificationCntl => '1.3.6.1.2.1.68.1.2', - vrrpOperTable => '1.3.6.1.2.1.68.1.3', - vrrpOperEntry => '1.3.6.1.2.1.68.1.3.1', - vrrpOperVrId => '1.3.6.1.2.1.68.1.3.1.1', - vrrpOperAuthKey => '1.3.6.1.2.1.68.1.3.1.10', - vrrpOperAdvertisementInterval => '1.3.6.1.2.1.68.1.3.1.11', - vrrpOperPreemptMode => '1.3.6.1.2.1.68.1.3.1.12', - vrrpOperVirtualRouterUpTime => '1.3.6.1.2.1.68.1.3.1.13', - vrrpOperProtocol => '1.3.6.1.2.1.68.1.3.1.14', - vrrpOperProtocolDefinition => 'VRRP-MIB::vrrpOperProtocol', - vrrpOperRowStatus => '1.3.6.1.2.1.68.1.3.1.15', - vrrpOperRowStatusDefinition => 'SNMPv2-TC-v1-MIB::RowStatus', - vrrpOperVirtualMacAddr => '1.3.6.1.2.1.68.1.3.1.2', - vrrpOperState => '1.3.6.1.2.1.68.1.3.1.3', - vrrpOperStateDefinition => 'VRRP-MIB::vrrpOperState', - vrrpOperAdminState => '1.3.6.1.2.1.68.1.3.1.4', - vrrpOperAdminStateDefinition => 'VRRP-MIB::vrrpOperAdminState', - vrrpOperPriority => '1.3.6.1.2.1.68.1.3.1.5', - vrrpOperIpAddrCount => '1.3.6.1.2.1.68.1.3.1.6', - vrrpOperMasterIpAddr => '1.3.6.1.2.1.68.1.3.1.7', - vrrpOperPrimaryIpAddr => '1.3.6.1.2.1.68.1.3.1.8', - vrrpOperAuthType => '1.3.6.1.2.1.68.1.3.1.9', - vrrpOperAuthTypeDefinition => 'VRRP-MIB::vrrpOperAuthType', - vrrpAssoIpAddrTable => '1.3.6.1.2.1.68.1.4', - vrrpAssoIpAddrEntry => '1.3.6.1.2.1.68.1.4.1', - vrrpAssoIpAddr => '1.3.6.1.2.1.68.1.4.1.1', - vrrpAssoIpAddrRowStatus => '1.3.6.1.2.1.68.1.4.1.2', - vrrpAssoIpAddrRowStatusDefinition => 'SNMPv2-TC-v1-MIB::RowStatus', - vrrpTrapPacketSrc => '1.3.6.1.2.1.68.1.5', - vrrpTrapAuthErrorType => '1.3.6.1.2.1.68.1.6', - vrrpTrapAuthErrorTypeDefinition => 'VRRP-MIB::vrrpTrapAuthErrorType', - vrrpStatistics => '1.3.6.1.2.1.68.2', - vrrpRouterChecksumErrors => '1.3.6.1.2.1.68.2.1', - vrrpRouterVersionErrors => '1.3.6.1.2.1.68.2.2', - vrrpRouterVrIdErrors => '1.3.6.1.2.1.68.2.3', - vrrpRouterStatsTable => '1.3.6.1.2.1.68.2.4', - vrrpRouterStatsEntry => '1.3.6.1.2.1.68.2.4.1', - vrrpStatsBecomeMaster => '1.3.6.1.2.1.68.2.4.1.1', - vrrpStatsInvalidAuthType => '1.3.6.1.2.1.68.2.4.1.10', - vrrpStatsAuthTypeMismatch => '1.3.6.1.2.1.68.2.4.1.11', - vrrpStatsPacketLengthErrors => '1.3.6.1.2.1.68.2.4.1.12', - vrrpStatsAdvertiseRcvd => '1.3.6.1.2.1.68.2.4.1.2', - vrrpStatsAdvertiseIntervalErrors => '1.3.6.1.2.1.68.2.4.1.3', - vrrpStatsAuthFailures => '1.3.6.1.2.1.68.2.4.1.4', - vrrpStatsIpTtlErrors => '1.3.6.1.2.1.68.2.4.1.5', - vrrpStatsPriorityZeroPktsRcvd => '1.3.6.1.2.1.68.2.4.1.6', - vrrpStatsPriorityZeroPktsSent => '1.3.6.1.2.1.68.2.4.1.7', - vrrpStatsInvalidTypePktsRcvd => '1.3.6.1.2.1.68.2.4.1.8', - vrrpStatsAddressListErrors => '1.3.6.1.2.1.68.2.4.1.9', - vrrpConformance => '1.3.6.1.2.1.68.3', - vrrpMIBCompliances => '1.3.6.1.2.1.68.3.1', - vrrpMIBCompliance => '1.3.6.1.2.1.68.3.1.1', - vrrpMIBGroups => '1.3.6.1.2.1.68.3.2', - vrrpOperGroup => '1.3.6.1.2.1.68.3.2.1', - vrrpStatsGroup => '1.3.6.1.2.1.68.3.2.2', - vrrpTrapGroup => '1.3.6.1.2.1.68.3.2.3', - vrrpNotificationGroup => '1.3.6.1.2.1.68.3.2.4' -}; - -$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'VRRP-MIB'} = { - vrrpOperAdminState => { - '1' => 'up', - '2' => 'down' - }, - vrrpOperAuthType => { - '1' => 'noAuthentication', - '2' => 'simpleTextPassword', - '3' => 'ipAuthenticationHeader' - }, - vrrpOperProtocol => { - '1' => 'ip', - '2' => 'bridge', - '3' => 'decnet', - '4' => 'other' - }, - vrrpOperState => { - '1' => 'initialize', - '2' => 'backup', - '3' => 'master' - }, - vrrpTrapAuthErrorType => { - '1' => 'invalidAuthType', - '2' => 'authTypeMismatch', - '3' => 'authFailure' - } -}; - -1; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/AVOS.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/AVOS.pm deleted file mode 100644 index cf6a96a..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/AVOS.pm +++ /dev/null @@ -1,22 +0,0 @@ -package CheckNwcHealth::AVOS; -our @ISA = qw(CheckNwcHealth::Bluecoat); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::AVOS::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::AVOS::Component::MemSubsystem"); - } elsif ($self->mode =~ /device::licenses::/) { - $self->analyze_and_check_key_subsystem("CheckNwcHealth::AVOS::Component::KeySubsystem"); - } elsif ($self->mode =~ /device::connections/) { - $self->analyze_and_check_connection_subsystem("CheckNwcHealth::AVOS::Component::ConnectionSubsystem"); - } elsif ($self->mode =~ /device::security/) { - $self->analyze_and_check_security_subsystem("CheckNwcHealth::AVOS::Component::SecuritySubsystem"); - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel.pm deleted file mode 100644 index 2b1fa5a..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel.pm +++ /dev/null @@ -1,15 +0,0 @@ -package CheckNwcHealth::Alcatel; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - -sub init { - my ($self) = @_; - if ($self->{productname} =~ /AOS.*OAW/i) { - bless $self, 'CheckNwcHealth::Alcatel::OmniAccess'; - $self->debug('using CheckNwcHealth::Alcatel::OmniAccess'); - } - if (ref($self) ne "CheckNwcHealth::Alcatel") { - $self->init(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/AlliedTelesyn.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/AlliedTelesyn.pm deleted file mode 100644 index 6b49ba9..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/AlliedTelesyn.pm +++ /dev/null @@ -1,20 +0,0 @@ -package CheckNwcHealth::AlliedTelesyn; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - -sub init { - my ($self) = @_; - $self->no_such_mode(); - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::AlliedTelesyn::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::AlliedTelesyn::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::AlliedTelesyn::Component::MemSubsystem"); - } elsif ($self->mode =~ /device::hsrp/) { - $self->analyze_and_check_hsrp_subsystem("CheckNwcHealth::HSRP::Component::HSRPSubsystem"); - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Arista.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Arista.pm deleted file mode 100644 index e78eae2..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Arista.pm +++ /dev/null @@ -1,49 +0,0 @@ -package CheckNwcHealth::Arista; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->mult_snmp_max_msg_size(10); - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Arista::Component::EnvironmentalSubsystem"); - $self->analyze_and_check_disk_subsystem("CheckNwcHealth::Arista::Component::DiskSubsystem"); - if (! $self->check_messages()) { - $self->clear_messages(0); - $self->add_ok("environmental hardware working fine"); - } else { - $self->clear_messages(0); - } - } elsif ($self->mode =~ /device::hardware::load/) { - # CPU util on management plane - # Utilization of CPUs on dataplane that are used for system functions - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::MemSubsystem"); - } elsif ($self->mode =~ /device::ha::/) { - $self->analyze_and_check_ha_subsystem("CheckNwcHealth::Arista::Component::HaSubsystem"); - } elsif ($self->mode =~ /device::bgp/) { - if ($self->implements_mib('ARISTA-BGP4V2-MIB')) { - $self->analyze_and_check_interface_subsystem("CheckNwcHealth::Arista::ARISTABGP4V2MIB::Component::PeerSubsystem"); - } else { - $self->establish_snmp_secondary_session(); - if ($self->implements_mib('ARISTA-BGP4V2-MIB')) { - $self->analyze_and_check_interface_subsystem("CheckNwcHealth::Arista::ARISTABGP4V2MIB::Component::PeerSubsystem"); - } else { - # na laeggst me aa am ooosch - $self->establish_snmp_session(); - $self->debug("no ARISTA-BGP4V2-MIB, fallback"); - $self->no_such_mode(); - } - } - } elsif ($self->mode =~ /device::interfacex::errdisabled/) { - if ($self->implements_mib('ARISTA-IF-MIB')) { - $self->analyze_and_check_interface_subsystem("CheckNwcHealth::Arista::ARISTAIFMIB::Component::InterfaceSubsystem"); - } else { - $self->no_such_mode(); - } - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Arista/ARISTAIFMIB/Component/InterfaceSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Arista/ARISTAIFMIB/Component/InterfaceSubsystem.pm deleted file mode 100644 index 1e44e90..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Arista/ARISTAIFMIB/Component/InterfaceSubsystem.pm +++ /dev/null @@ -1,117 +0,0 @@ -package CheckNwcHealth::Arista::ARISTAIFMIB::Component::InterfaceSubsystem; -our @ISA = qw(CheckNwcHealth::IFMIB::Component::InterfaceSubsystem); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::interfacex::errdisable/) { - $self->get_snmp_tables('ARISTA-IF-MIB', [ - ['status', 'aristaIfTable', 'CheckNwcHealth::Arista::ARISTAIFMIB::Component::InterfaceSubsystem::Status', sub { my $o = shift; exists $_->{aristaIfErrDisabledReason} && $_->{aristaIfErrDisabledReason}; }, ['aristaIfErrDisabledReason']], - ]); - my @disabled_indices = map { - $_->{indices}->[0]; - } grep { - exists $_->{aristaIfErrDisabledReason} && $_->{aristaIfErrDisabledReason}; - } @{$self->{status}}; - - if (! @{$self->{status}}) { - return; - } - my @iftable_columns = qw(ifIndex ifDescr ifAlias ifName); - push(@iftable_columns, qw( - ifOperStatus ifAdminStatus - )); - my $if_has_changed = $self->update_interface_cache(0); - my $only_admin_up = - $self->opts->name && $self->opts->name eq '_adminup_' ? 1 : 0; - my $only_oper_up = - $self->opts->name && $self->opts->name eq '_operup_' ? 1 : 0; - if ($only_admin_up || $only_oper_up) { - $self->override_opt('name', undef); - $self->override_opt('drecksptkdb', undef); - } - my @indices = $self->get_interface_indices(); - # we were filtering by name* or not filtering at all, so we have - # all the indexes we want - my @filtered_disabled_indices = (); - foreach my $index (@indices) { - foreach my $dindex (@disabled_indices) { - if ($dindex == $index->[0]) { - push(@filtered_disabled_indices, [$dindex]) if $dindex == $index->[0]; - } - } - } - # an sich sind wir hier fertig, denn die ifDescr sind in - # $self->{interface_cache}->{$index}->{ifDescr}; - # und weitere snmp-gets sind ueberfluessig (wenn man auf ifAlias verzichtet). - # aber da voraussichtlich nur ganz wenige interfaces gefunden werden, - # welche disabled sind, kann man sich die extra abfrage schon goennen. - # und frueher oder spaeter kommt eh wieder das geplaerr nach ifalias. - @indices = @filtered_disabled_indices; - if (!$self->opts->name || scalar(@indices) > 0) { - my @save_indices = @indices; # die werden in get_snmp_table_objects geshiftet - foreach ($self->get_snmp_table_objects( - 'IFMIB', 'ifTable+ifXTable', \@indices, \@iftable_columns)) { - next if $only_admin_up && $_->{ifAdminStatus} ne 'up'; - next if $only_oper_up && $_->{ifOperStatus} ne 'up'; - my $interface = CheckNwcHealth::Arista::ARISTAIFMIB::Component::InterfaceSubsystem::Interface->new(%{$_}); - foreach my $status (@{$self->{status}}) { - if ($status->{disabledIfIndex} == $interface->{ifIndex}) { - push(@{$interface->{disablestatus}}, $status); - } - } - push(@{$self->{interfaces}}, $interface); - } - } - } -} - -sub check { - my ($self) = @_; - if ($self->mode =~ /device::interfacex::errdisable/) { - if (! @{$self->{status}}) { - $self->add_ok("no disabled interfaces on this device"); - } else { - foreach (@{$self->{interfaces}}) { - $_->check(); - } - } - } -} - -package CheckNwcHealth::Arista::ARISTAIFMIB::Component::InterfaceSubsystem::Status; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub finish { - my ($self) = @_; - $self->{disabledIfIndex} = $self->{indices}->[0]; -} - -package CheckNwcHealth::Arista::ARISTAIFMIB::Component::InterfaceSubsystem::Interface; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub finish { - my ($self) = @_; - $self->{disablestatus} = []; -} - -sub check { - my ($self) = @_; - my $full_descr = sprintf "%s%s", - $self->{ifDescr}, - $self->{ifAlias} && $self->{ifAlias} ne $self->{ifDescr} ? - " (alias ".$self->{ifAlias}.")" : ""; - if ($self->{disablestatus}) { - foreach my $status (@{$self->{disablestatus}}) { - $self->add_critical(sprintf("%s is disabled, reason: %s", - $full_descr, - $status->{aristaIfErrDisabledReason})); - } - } else { - $self->add_ok(sprintf("%s is not disabled", $full_descr)); - } -} - - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Arista/Component/DiskSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Arista/Component/DiskSubsystem.pm deleted file mode 100644 index 1145e34..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Arista/Component/DiskSubsystem.pm +++ /dev/null @@ -1,12 +0,0 @@ -package CheckNwcHealth::Arista::Component::DiskSubsystem; -our @ISA = qw(CheckNwcHealth::HOSTRESOURCESMIB::Component::DiskSubsystem); -use strict; - -sub init { - my ($self) = @_; - $self->get_snmp_tables('HOST-RESOURCES-MIB', [ - ['storages', 'hrStorageTable', 'CheckNwcHealth::HOSTRESOURCESMIB::Component::DiskSubsystem::Storage', sub { my $o = shift; return ($o->{hrStorageDescr} =~ /^(Log|Core)$/ or $o->{hrStorageType} eq 'hrStorageFixedDisk') } ], - ]); -} - - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Arista/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Arista/Component/EnvironmentalSubsystem.pm deleted file mode 100644 index 408351b..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Arista/Component/EnvironmentalSubsystem.pm +++ /dev/null @@ -1,248 +0,0 @@ -package CheckNwcHealth::Arista::Component::EnvironmentalSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $self->require_mib("MIB-2-MIB"); - $self->require_mib("ENTITY-STATE-MIB"); - $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'ENTITY-STATE-MIB'}->{entStateLastChangedDefinition} = 'MIB-2-MIB::DateAndTime'; - $self->get_snmp_tables('ENTITY-MIB', [ - ['entities', 'entPhysicalTable', - 'CheckNwcHealth::Arista::Component::EnvironmentalSubsystem::Entity', - undef, - ['entPhysicalClass', 'entPhysicalDescr', 'entPhysicalName'] - ], - ]); - $self->get_snmp_tables('ENTITY-SENSOR-MIB', [ - ['sensorvalues', 'entPhySensorTable', 'Monitoring::GLPlugin::SNMP::TableItem'], - ]); - $self->get_snmp_tables('ENTITY-STATE-MIB', [ - ['sensorstates', 'entStateTable', 'Monitoring::GLPlugin::SNMP::TableItem'], - ]); - $self->get_snmp_tables('ARISTA-ENTITY-SENSOR-MIB', [ - ['sensorthresholds', 'aristaEntSensorThresholdTable', 'Monitoring::GLPlugin::SNMP::TableItem'], - ]); - $self->merge_tables("entities", "sensorvalues", "sensorstates", "sensorthresholds"); - foreach (@{$self->{entities}}) { - $_->rebless(); - $_->finish() if $_->can('finish'); - } - @{$self->{entities}} = grep { - ! exists $_->{valid} || $_->{valid}; - } @{$self->{entities}}; -} - -sub check { - my ($self) = @_; - $self->{powerSupplyList} = [map { - $_->{entPhysicalDescr}; - } grep { - $_->{entPhysicalClass} eq 'powerSupply'; - } @{$self->{entities}}]; - # - # Check if we lost a power supply. (pulling ps -> entry in snmp disappears) - # - $self->opts->override_opt('lookback', 1800) if ! $self->opts->lookback; - $self->valdiff({name => 'powersupplies', lastarray => 1}, - qw(powerSupplyList)); - if (scalar(@{$self->{delta_found_powerSupplyList}}) > 0) { - $self->add_ok(sprintf '%d new power supply (%s)', - scalar(@{$self->{delta_found_powerSupplyList}}), - join(", ", @{$self->{delta_found_powerSupplyList}})); - } - if (scalar(@{$self->{delta_lost_powerSupplyList}}) > 0) { - $self->add_critical(sprintf '%d power supply missing (%s)', - scalar(@{$self->{delta_lost_powerSupplyList}}), - join(", ", @{$self->{delta_lost_powerSupplyList}})); - } - delete $self->{powerSupplyList}; - delete $self->{delta_found_powerSupplyList}; - delete $self->{delta_lost_powerSupplyList}; - $self->SUPER::check(); -} - -package CheckNwcHealth::Arista::Component::EnvironmentalSubsystem::Entity; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - - -sub rebless { - my ($self) = @_; - bless $self, - 'CheckNwcHealth::Arista::Component::EnvironmentalSubsystem::Chassis' if - $self->{entPhysicalClass} eq 'chassis'; - bless $self, - 'CheckNwcHealth::Arista::Component::EnvironmentalSubsystem::Container' if - $self->{entPhysicalClass} eq 'container'; - bless $self, - 'CheckNwcHealth::Arista::Component::EnvironmentalSubsystem::Fan' if - $self->{entPhysicalClass} eq 'fan'; - bless $self, - 'CheckNwcHealth::Arista::Component::EnvironmentalSubsystem::Module' if - $self->{entPhysicalClass} eq 'module'; - bless $self, - 'CheckNwcHealth::Arista::Component::EnvironmentalSubsystem::Port' if - $self->{entPhysicalClass} eq 'port'; - bless $self, - 'CheckNwcHealth::Arista::Component::EnvironmentalSubsystem::Powersupply' if - $self->{entPhysicalClass} eq 'powerSupply'; - bless $self, - 'CheckNwcHealth::Arista::Component::EnvironmentalSubsystem::Sensor' if - $self->{entPhysicalClass} eq 'sensor'; -} - -sub check_state { - my ($self) = @_; - # An ifAdminStatus of 'up' is equivalent to setting the entStateAdmin - # object to 'unlocked'. An ifAdminStatus of 'down' is equivalent to - # setting the entStateAdmin object to either 'locked' or - # 'shuttingDown', depending on a system's interpretation of 'down'. - $self->add_info(sprintf "%s is %s (admin %s, oper %s)", - $self->{entPhysicalDescr}, $self->{entStateUsage}, - $self->{entStateAdmin}, $self->{entStateOper}); - if ($self->{entStateAdmin} eq "unlocked") { - if ($self->{entStateOper} eq "enabled") { - if ($self->{entStateUsage} eq "idle") { - $self->add_ok(); - } elsif ($self->{entStateUsage} eq "active") { - $self->add_ok(); - } elsif ($self->{entStateUsage} eq "busy") { - $self->add_warning(); - } else { - $self->add_unknown(); - } - } elsif ($self->{entStateOper} eq "disabled") { - $self->add_critical(); - } else { - $self->add_unknown(); - } - } elsif ($self->{entStateAdmin} eq "locked") { - $self->add_ok(); # admin disabled, ignore - } elsif (defined $self->{entPhySensorOperStatus} and $self->{entStateAdmin} eq "unknown" and $self->{entStateOper} eq "unknown" and $self->{entPhySensorOperStatus} eq "unavailable") { - # Fans und Powersupplies haben kein entPhySensor*-Gedoens - # The value 'unavailable(2)' indicates that the agent presently cannot obtain the sensor value. The value 'nonoperational(3)' indicates that the agent believes the sensor is broken. The sensor could have a hard failure (disconnected wire), ... - # Ich will meine Ruhe, also unavailable=ok. Sonst waers ja nonoperational - $self->add_ok(); - } elsif ($self->{entStateOper} ne "enabled" and $self->{entStateStandby} eq "providingService" and exists $self->{entPhySensorValue} and $self->{entPhySensorValue}) { - $self->add_critical(); - } else { - $self->add_ok(); # admin disabled, ignore - } -} - -package CheckNwcHealth::Arista::Component::EnvironmentalSubsystem::Chassis; -our @ISA = qw(CheckNwcHealth::Arista::Component::EnvironmentalSubsystem::Entity); -use strict; - -package CheckNwcHealth::Arista::Component::EnvironmentalSubsystem::Container; -our @ISA = qw(CheckNwcHealth::Arista::Component::EnvironmentalSubsystem::Entity); -use strict; - -package CheckNwcHealth::Arista::Component::EnvironmentalSubsystem::Fan; -our @ISA = qw(CheckNwcHealth::Arista::Component::EnvironmentalSubsystem::Entity); -use strict; - -sub check { - my ($self) = @_; - $self->check_state(); -} - -package CheckNwcHealth::Arista::Component::EnvironmentalSubsystem::Module; -our @ISA = qw(CheckNwcHealth::Arista::Component::EnvironmentalSubsystem::Entity); -use strict; - -package CheckNwcHealth::Arista::Component::EnvironmentalSubsystem::Port; -our @ISA = qw(CheckNwcHealth::Arista::Component::EnvironmentalSubsystem::Entity); -use strict; - -package CheckNwcHealth::Arista::Component::EnvironmentalSubsystem::Powersupply; -our @ISA = qw(CheckNwcHealth::Arista::Component::EnvironmentalSubsystem::Entity); -use strict; - -sub finish { - my ($self) = @_; - $self->{entStateLastChangedAgo} = time - $self->{entStateLastChanged}; -} - -sub check { - my ($self) = @_; - $self->check_state(); -} - -sub check_state { - my ($self) = @_; - $self->SUPER::check_state(); - if ($self->{entStateAdmin} eq "locked" && - $self->{entStateOper} eq "disabled" && - $self->{entStateStandby} eq "providingService" && - $self->{entStateUsage} eq "active") { - # pull the power cable -> entStateAdmin: locked, entStateOper: disabled, - # entStateStandby: providingService, entStateUsage: active - $self->add_warning_mitigation(sprintf "%s is down (pulled cable?)", $self->{entPhysicalDescr}); - } elsif ($self->{entStateOper} eq "unknown" and $self->{entStateAdmin} eq "unknown" and $self->{entStateStandby} eq "providingService") { - # pull the power supply, put it back. - $self->add_critical_mitigation(sprintf "%s is in an unknown state", $self->{entPhysicalDescr}); - } -} - -package CheckNwcHealth::Arista::Component::EnvironmentalSubsystem::Sensor; -our @ISA = qw(CheckNwcHealth::Arista::Component::EnvironmentalSubsystem::Entity); -use strict; - -sub finish { - my ($self) = @_; - - $self->{valid} = ($self->{entPhySensorValue} == -1000000000 || $self->{entPhySensorValue} == 1000000000) - ? 0 : 1; - foreach (qw(entPhySensorValue - aristaEntSensorThresholdLowWarning aristaEntSensorThresholdHighWarning - aristaEntSensorThresholdLowCritical aristaEntSensorThresholdHighCritical)) { - delete $self->{$_} if defined $self->{$_} && $_ ne 'entPhySensorValue' && - ($self->{$_} == -1000000000 || $self->{$_} == 1000000000); - if ($self->{entPhySensorPrecision} && $self->{$_}) { - $self->{$_} /= 10 ** $self->{entPhySensorPrecision}; - } - } -} - -sub check { - my ($self) = @_; - $self->check_state(); - my ($warn, $crit) = (undef, undef); - if ($self->{aristaEntSensorStatusDescr} =~ /no thresholds/i) { - } else { - $warn = - ($self->{aristaEntSensorThresholdLowWarning} ? - $self->{aristaEntSensorThresholdLowWarning} : '').':'. - ($self->{aristaEntSensorThresholdHighWarning} ? - $self->{aristaEntSensorThresholdHighWarning} : ''); - $crit = - ($self->{aristaEntSensorThresholdLowCritical} ? - $self->{aristaEntSensorThresholdLowCritical} : '').':'. - ($self->{aristaEntSensorThresholdHighCritical} ? - $self->{aristaEntSensorThresholdHighCritical} : ''); - $warn = undef if $warn eq ':'; - $crit = undef if $crit eq ':'; - } - $self->add_thresholds(metric => $self->{entPhysicalDescr}.'_'.$self->{entPhySensorUnitsDisplay}, - warning => $warn, critical => $crit); - $self->add_perfdata( - label => $self->{entPhysicalDescr}.'_'.$self->{entPhySensorUnitsDisplay}, - value => $self->{entPhySensorValue}, - warning => $warn, critical => $crit, - ); -} - -__END__ -Stecker gezogen -[POWERSUPPLY_100721000] -entPhysicalClass: powerSupply -entPhysicalDescr: PowerSupply2 -entPhysicalName: -entStateAdmin: unknown -entStateLastChanged: -entStateOper: unknown -entStateStandby: providingService <-kein failover, der das hier sichert -entStateUsage: active - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/BGP.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/BGP.pm deleted file mode 100644 index 1c015d6..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/BGP.pm +++ /dev/null @@ -1,4 +0,0 @@ -package CheckNwcHealth::BGP; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Barracuda.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Barracuda.pm deleted file mode 100644 index 52d5730..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Barracuda.pm +++ /dev/null @@ -1,30 +0,0 @@ -package CheckNwcHealth::Barracuda; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->bulk_is_baeh(5); - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Barracuda::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::UCDMIB::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::UCDMIB::Component::MemSubsystem"); - } elsif ($self->mode =~ /device::fw::policy::connections/) { - $self->analyze_and_check_fw_subsystem("CheckNwcHealth::Barracuda::Component::FwSubsystem"); - } elsif ($self->mode =~ /device::ha::/) { - $self->analyze_and_check_fw_subsystem("CheckNwcHealth::Barracuda::Component::HaSubsystem"); - } else { - # Merkwuerdigerweise gibts ohne das hier einen Timeout bei - # IP-FORWARD-MIB::inetCidrRouteTable und den route-Modi - if ($self->mode() =~ /device::routes/) { - $self->mult_snmp_max_msg_size(40); - $self->bulk_is_baeh(5); - } else { - $self->reset_snmp_max_msg_size(); - } - $self->no_such_mode(); - } -} diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Barracuda/Component/HaSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Barracuda/Component/HaSubsystem.pm deleted file mode 100644 index ff4ece4..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Barracuda/Component/HaSubsystem.pm +++ /dev/null @@ -1,110 +0,0 @@ -package CheckNwcHealth::Barracuda::Component::HaSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; -use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::ha::role/) { - $self->get_snmp_tables('PHION-MIB', [ - ['services', 'serverServicesTable', 'CheckNwcHealth::Barracuda::Component::HaSubsystem::Service'], - ]); - if (! $self->opts->role()) { - $self->opts->override_opt('role', 'active'); - } - } -} - -sub check { - my ($self) = @_; - $self->SUPER::check(); - #printf "info %s\n", $self->get_info(); - $self->add_ok(sprintf "%s node", $self->opts->role()); - my $num_services = scalar(@{$self->{services}}); - my $num_up_services = scalar(grep { $_->{serverServiceState} eq "started" } @{$self->{services}}); - if (! $num_services) { - $self->add_unknown(sprintf "no failover service found. (only %s)", - join(", ", map { $_->{serverServiceName} } @{$self->{services}})); - } -} - - -package CheckNwcHealth::Barracuda::Component::HaSubsystem::Service; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub finish { - my ($self) = @_; - my $type_signature = $self->{serverServiceName}; - if ($self->{serverServiceName} =~ /^\w+[-_:\/](\w+)/) { - $type_signature = $1; - } - if ($type_signature =~ /FW/) { - $self->{serverServiceType} = "FW"; - } elsif ($type_signature =~ /VPN/) { - $self->{serverServiceType} = "VPN"; - } else { - $self->{serverServiceType} = "DHCP"; - } -} - -sub check { - my ($self) = @_; - if ($self->mode =~ /device::ha::role/) { - $self->add_info(sprintf "service %s is %s", - $self->{serverServiceName}, - $self->{serverServiceState}); - if ($self->opts->role() eq "active") { - if ($self->{serverServiceState} eq "started") { - $self->add_ok(); - } elsif ($self->{serverServiceState} eq "stopped") { - $self->add_warning(); - } elsif ($self->{serverServiceState} eq "blocked") { - $self->add_critical(); - } else { - $self->add_unknown(); - } - } else { - if ($self->{serverServiceState} eq "stopped") { - $self->add_ok(); - } elsif ($self->{serverServiceState} eq "started") { - $self->add_warning(); - } elsif ($self->{serverServiceState} eq "blocked") { - $self->add_critical(); - } else { - $self->add_unknown(); - } - } - } -} - -__END__ -Irgendwann 2019....der einzige Unterschied zwischen zwei Clusterpartnern war -die Liste der serverServiceState (bei gleichen serverServiceName) -Sonst nix, absolut nix, beide snmpwalks gleich. -Die Services hiessen SE1FWEXT, SE1FWEXT_FWEXT und SE1FWEXT_VPNEXT -Nach vielem Hin und Her geht die Frage an den Hersteller, wie man den Cluster -ueberwacht. Antwort: - -- Cluster OK Grün -o fwext-node1 gibt folgende Werte zurück: Server SE1FWEXT= 1:up Service SE1FWEXT_FWEXT=1:up Service SE1FWEXT_VPNEXT=1:up -o fwext-node2 gibt folgende Werte zurück: Server SE1FWEXT= 1:up Service SE1FWEXT_FWEXT= stopped Service SE1FWEXT_VPNEXT=stopped - -- Cluster Warning Gelb -o fwext-node1 gibt folgende Werte zurück: Server SE1FWEXT= 1:up Service SE1FWEXT_FWEXT= stopped oder 0:down Service SE1FWEXT_VPNEXT= stopped oder 0:down -o fwext-node2 gibt folgende Werte zurück: Server SE1FWEXT= 1:up Service SE1FWEXT_FWEXT=1:up Service SE1FWEXT_VPNEXT=1:up -o Oder: -o fwext-node1 gibt folgende Werte zurück: Server SE1FWEXT= 1:up Service SE1FWEXT_FWEXT=1:up Service SE1FWEXT_VPNEXT=1:up -o fwext-node2 gibt folgende Werte zurück: Server SE1FWEXT= 1:up Service SE1FWEXT_FWEXT=0:down Service SE1FWEXT_VPNEXT=0:down - -- Cluster Critical Rot -o fwext-node1 gibt folgende Werte zurück: Server SE1FWEXT= 0:down oder 2:block -o Oder: -o fwext-node2 gibt folgende Werte zurück: Server SE1FWEXT= 0:down oder 2:block - -Also diese drei Services hart ins Plugin eingebaut. - -Irgendwann 2021 sollen weitere Cluster dazukommen. Nur, jetzt heissen die -Services z.b. FZFW009_DH009, FZFW009_FW009 und FZFW009_VPN009. -Schaut so aus, als koenten die Servernamen voellig willkuerlich vergeben werden. -Bleibt nichts anderes uebrig, als nach FW und VPN zu suchen und nach Spuren von DHCP (oder weder FW noch VPN). diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bintec.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bintec.pm deleted file mode 100644 index baa283d..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bintec.pm +++ /dev/null @@ -1,4 +0,0 @@ -package CheckNwcHealth::Bintec; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bintec/Bibo.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bintec/Bibo.pm deleted file mode 100644 index adb2f79..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bintec/Bibo.pm +++ /dev/null @@ -1,16 +0,0 @@ -package CheckNwcHealth::Bintec::Bibo; -our @ISA = qw(CheckNwcHealth::Bintec); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Bintec::Bibo::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::Bintec::Bibo::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::Bintec::Bibo::Component::MemSubsystem"); - } else { - $self->no_such_mode(); - } -} diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bluecat.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bluecat.pm deleted file mode 100644 index 2d2f478..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bluecat.pm +++ /dev/null @@ -1,18 +0,0 @@ -package CheckNwcHealth::Bluecat; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - -sub init { - my ($self) = @_; - if ($self->{productname} =~ /Bluecat Address Manager/i) { - $self->rebless('CheckNwcHealth::Bluecat::AddressManager'); - } elsif ($self->{productname} =~ /Bluecat DNS\/DHCP Server/i) { - $self->rebless('CheckNwcHealth::Bluecat::DnsDhcpServer'); - } - if (ref($self) ne "CheckNwcHealth::Bluecat") { - $self->init(); - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bluecat/AddressManager.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bluecat/AddressManager.pm deleted file mode 100644 index beb7399..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bluecat/AddressManager.pm +++ /dev/null @@ -1,30 +0,0 @@ -package CheckNwcHealth::Bluecat::AddressManager; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::MemSubsystem"); - $self->analyze_and_check_jvm_subsystem("CheckNwcHealth::Bluecat::AddressManager::Component::MemSubsystem"); - } elsif ($self->mode =~ /device::ha::/) { - $self->analyze_and_check_ha_subsystem("CheckNwcHealth::Bluecat::AddressManager::Component::HaSubsystem"); - } elsif ($self->mode =~ /device::mngmt::/) { - $self->analyze_and_check_mgmt_subsystem("CheckNwcHealth::Bluecat::AddressManager::Component::MgmtSubsystem"); - } else { - $self->no_such_mode(); - } -} - -sub pretty_sysdesc { - my ($self, $sysDescr) = @_; - my $sw_version = $self->get_snmp_object('BAM-SNMP-MIB', 'version'); - my $start_time = $self->get_snmp_object('BAM-SNMP-MIB', 'startTime'); - return sprintf "%s, sw version %s, start time %s", - $sysDescr, $sw_version, scalar localtime $start_time; -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bluecat/AddressManager/Component/HaSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bluecat/AddressManager/Component/HaSubsystem.pm deleted file mode 100644 index 77b698e..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bluecat/AddressManager/Component/HaSubsystem.pm +++ /dev/null @@ -1,78 +0,0 @@ -package CheckNwcHealth::Bluecat::AddressManager::Component::HaSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; -use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::ha::status/) { - $self->get_snmp_tables('BAM-SNMP-MIB', [ - ["replications", "replicationStatusTable", 'CheckNwcHealth::Bluecat::AddressManager::Component::HaSubsystem::Replication'], - ]); - $self->get_snmp_objects('BAM-SNMP-MIB', (qw( - queueSize replication - replicationNodeStatus replicationAverageLatency - replicationWarningThreshold replicationBreakThreshold - replicationLatencyWarningThreshold replicationLatencyCriticalThreshold - ))); - } elsif ($self->mode =~ /device::ha::role/) { - if (! $self->opts->role()) { - $self->opts->override_opt('role', 'primary'); - } - $self->get_snmp_objects('BAM-SNMP-MIB', (qw(replicationNodeStatus))); - } -} - -sub check { - my ($self) = @_; - if ($self->mode =~ /device::ha::status/) { - foreach (@{$self->{replications}}) { - $_->{replicationLatencyCriticalThreshold} = $self->{replicationLatencyCriticalThreshold}; - $_->{replicationLatencyWarningThreshold} = $self->{replicationLatencyWarningThreshold}; - $_->check(); - } - } elsif ($self->mode =~ /device::ha::role/) { - $self->add_info(sprintf 'ha node status is %s', - $self->{replicationNodeStatus}, - ); - if ($self->{replicationNodeStatus} eq 'unknown') { - $self->add_message( - defined $self->opts->mitigation() ? $self->opts->mitigation() : WARNING, - 'ha was not started'); - } else { - if ($self->{replicationNodeStatus} ne $self->opts->role()) { - $self->add_message( - defined $self->opts->mitigation() ? $self->opts->mitigation() : WARNING, - $self->{info}); - $self->add_message( - defined $self->opts->mitigation() ? $self->opts->mitigation() : WARNING, - sprintf "expected role %s", $self->opts->role()) - } else { - $self->add_ok(); - } - } - } -} - -package CheckNwcHealth::Bluecat::AddressManager::Component::HaSubsystem::Replication; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub check { - my ($self) = @_; - $self->add_info(sprintf '%s node %s has status %s, latency is %.2f', - lc $self->{replicationRole}, $self->{hostname}, - lc $self->{replicationHealth}, $self->{currentLatency}); - $self->set_thresholds(metric => 'latency_'.lc $self->{replicationRole}, - warning => $self->{replicationLatencyWarningThreshold}, - critical => $self->{replicationLatencyCriticalThreshold}, - ); - $self->add_message($self->check_thresholds( - metric => 'latency_'.lc $self->{replicationRole}, - value => $self->{currentLatency})); - $self->add_perfdata( - label => 'latency_'.lc $self->{replicationRole}, - value => $self->{currentLatency} - ); -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bluecat/AddressManager/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bluecat/AddressManager/Component/MemSubsystem.pm deleted file mode 100644 index b7bf246..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bluecat/AddressManager/Component/MemSubsystem.pm +++ /dev/null @@ -1,30 +0,0 @@ -package CheckNwcHealth::Bluecat::AddressManager::Component::MemSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; -use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; - -sub init { - my ($self) = @_; - $self->get_snmp_objects('BAM-SNMP-MIB', (qw( - freeMemory maxMemory usageThresholdExceeded - ))); - $self->{jvm_usage} = 100 - 100 * $self->{freeMemory} / $self->{maxMemory}; -} - -sub check { - my ($self) = @_; - $self->add_info(sprintf 'jvm mem usage is %.2f%%', - $self->{jvm_usage}); - $self->set_thresholds(metric => "jvm_memory_usage", - warning => 80, critical => 90); - $self->add_message($self->check_thresholds( - metric => "jvm_memory_usage", - value => $self->{jvm_usage})); - $self->add_perfdata( - label => 'jvm_memory_usage', - value => $self->{jvm_usage}, - uom => '%', - ); -} - - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bluecat/AddressManager/Component/MgmtSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bluecat/AddressManager/Component/MgmtSubsystem.pm deleted file mode 100644 index d2596c3..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bluecat/AddressManager/Component/MgmtSubsystem.pm +++ /dev/null @@ -1,24 +0,0 @@ -package CheckNwcHealth::Bluecat::AddressManager::Component::MgmtSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; -use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; - -sub init { - my ($self) = @_; - $self->get_snmp_objects('BAM-SNMP-MIB', (qw(lastSuccessfulBackupTime))); - $self->{lastSuccessfulBackupAge} = int((time - $self->{lastSuccessfulBackupTime}) / 3600); -} - -sub check { - my ($self) = @_; - $self->add_info(sprintf "last successful backup was %d hours ago (%s)", - $self->{lastSuccessfulBackupAge}, - scalar localtime $self->{lastSuccessfulBackupTime} - ); - $self->set_thresholds(metric => "backup_age", - warning => 24*7, - critical => 24*7*4, - ); - $self->add_message($self->check_thresholds(metric => "backup_age", - value => $self->{lastSuccessfulBackupAge})); -} diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bluecat/DnsDhcpServer.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bluecat/DnsDhcpServer.pm deleted file mode 100644 index 305d00a..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bluecat/DnsDhcpServer.pm +++ /dev/null @@ -1,27 +0,0 @@ -package CheckNwcHealth::Bluecat::DnsDhcpServer; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::MemSubsystem"); - } elsif ($self->mode =~ /device::ha::/) { - $self->analyze_and_check_ha_subsystem("CheckNwcHealth::Bluecat::DnsDhcpServer::Component::HaSubsystem"); - } elsif ($self->mode =~ /device::process::/) { - $self->analyze_and_check_process_subsystem("CheckNwcHealth::Bluecat::DnsDhcpServer::Component::ProcessSubsystem"); - } else { - $self->no_such_mode(); - } -} - -sub pretty_sysdesc { - my ($self, $sysDescr) = @_; - my $sw_version = $self->get_snmp_object('BCN-SYSTEM-MIB', 'bcnSysIdOSRelease'); - return sprintf "%s, sw version %s", $sysDescr, $sw_version; -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bluecat/DnsDhcpServer/Component/HaSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bluecat/DnsDhcpServer/Component/HaSubsystem.pm deleted file mode 100644 index d46d9fe..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bluecat/DnsDhcpServer/Component/HaSubsystem.pm +++ /dev/null @@ -1,41 +0,0 @@ -package CheckNwcHealth::Bluecat::DnsDhcpServer::Component::HaSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; -use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; - -sub init { - my ($self) = @_; - $self->get_snmp_objects('ADONIS-DNS-MIB', qw(haServiceRunning)); - if ($self->mode =~ /device::ha::status/) { - } elsif ($self->mode =~ /device::ha::role/) { - $self->get_snmp_objects('ADONIS-DNS-MIB', qw(haServiceNodeType)); - if (! $self->opts->role()) { - $self->opts->override_opt('role', 'active'); - } - } -} - -sub check { - my ($self) = @_; - if ($self->mode =~ /device::ha::status/) { - if ($self->{haServiceRunning} == 0) { - $self->add_critical_mitigation("HA service is not running"); - } else { - $self->add_ok("HA service is running"); - } - } elsif ($self->mode =~ /device::ha::role/) { - $self->{haServiceNodeType} = $self->{haServiceNodeType} == 1 ? - "active" : "passive"; - if ($self->{haServiceRunning} == 1) { - $self->add_info(sprintf 'ha node type is %s', $self->{haServiceNodeType}); - if ($self->opts->role() ne $self->{haServiceNodeType}) { - $self->add_critical_mitigation(); - } else { - $self->add_ok(); - } - } else { - $self->add_critical_mitigation("HA service is not running"); - } - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bluecat/DnsDhcpServer/Component/ProcessSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bluecat/DnsDhcpServer/Component/ProcessSubsystem.pm deleted file mode 100644 index ac4d176..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bluecat/DnsDhcpServer/Component/ProcessSubsystem.pm +++ /dev/null @@ -1,47 +0,0 @@ -package CheckNwcHealth::Bluecat::DnsDhcpServer::Component::ProcessSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; -use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; - -sub init { - my ($self) = @_; - $self->get_snmp_objects('BCN-DNS-MIB', (qw(bcnDnsSerOperState))); - $self->get_snmp_objects('BCN-DHCPV4-MIB', (qw(bcnDhcpv4SerOperState))); -} - -sub check { - my ($self) = @_; - if ($self->{bcnDnsSerOperState}) { - $self->add_info(sprintf "dns service is %s", $self->{bcnDnsSerOperState}); - $self->add_ok() if $self->{bcnDnsSerOperState} eq "running"; - $self->add_critical() if $self->{bcnDnsSerOperState} eq "notRunning"; - $self->add_warning() if $self->{bcnDnsSerOperState} eq "starting"; - $self->add_warning() if $self->{bcnDnsSerOperState} eq "stopping"; - $self->add_critical() if $self->{bcnDnsSerOperState} eq "fault"; - } else { - $self->get_snmp_objects('ADONIS-DNS-MIB', (qw(dnsDaemonRunning))); - if (exists $self->{dnsDaemonRunning}) { - $self->add_info(sprintf "dns service is %s", - $self->{dnsDaemonRunning} ? "running" : "not running"); - $self->add_ok() if $self->{dnsDaemonRunning} == 0; - $self->add_critical() if $self->{dnsDaemonRunning} == 1; - } - } - if ($self->{bcnDhcpv4SerOperState}) { - $self->add_info(sprintf "dhcp service is %s", $self->{bcnDhcpv4SerOperState}); - $self->add_ok() if $self->{bcnDhcpv4SerOperState} eq "running"; - $self->add_critical() if $self->{bcnDhcpv4SerOperState} eq "notRunning"; - $self->add_warning() if $self->{bcnDhcpv4SerOperState} eq "starting"; - $self->add_warning() if $self->{bcnDhcpv4SerOperState} eq "stopping"; - $self->add_critical() if $self->{bcnDhcpv4SerOperState} eq "fault"; - } else { - $self->get_snmp_objects('ADONIS-DNS-MIB', (qw(dhcpDaemonRunning))); - if (exists $self->{dhcpDaemonRunning}) { - $self->add_info(sprintf "dhcp service is %s", - $self->{dhcpDaemonRunning} ? "running" : "not running"); - $self->add_ok() if $self->{dhcpDaemonRunning} == 0; - $self->add_critical() if $self->{dhcpDaemonRunning} == 1; - } - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1.pm deleted file mode 100644 index b66d552..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1.pm +++ /dev/null @@ -1,28 +0,0 @@ -package CheckNwcHealth::CheckPoint::Firewall1; -our @ISA = qw(CheckNwcHealth::CheckPoint); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::CheckPoint::Firewall1::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::CheckPoint::Firewall1::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::CheckPoint::Firewall1::Component::MemSubsystem"); - } elsif ($self->mode =~ /device::ha::/) { - $self->analyze_and_check_ha_subsystem("CheckNwcHealth::CheckPoint::Firewall1::Component::HaSubsystem"); - } elsif ($self->mode =~ /device::fw::/) { - $self->analyze_and_check_fw_subsystem("CheckNwcHealth::CheckPoint::Firewall1::Component::FwSubsystem"); - } elsif ($self->mode =~ /device::svn::/) { - $self->analyze_and_check_svn_subsystem("CheckNwcHealth::CheckPoint::Firewall1::Component::SvnSubsystem"); - } elsif ($self->mode =~ /device::mngmt::/) { - # not sure if this works fa25239716cb74c672f8dd390430dc4056caffa7 - $self->analyze_and_check_mngmt_subsystem("CheckNwcHealth::CheckPoint::Firewall1::Component::MngmtSubsystem"); - } elsif ($self->mode =~ /device::vpn::status/) { - $self->analyze_and_check_config_subsystem("CheckNwcHealth::CheckPoint::Firewall1::Component::VpnSubsystem"); - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Gaia.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Gaia.pm deleted file mode 100644 index 76cc04f..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Gaia.pm +++ /dev/null @@ -1,12 +0,0 @@ -package CheckNwcHealth::CheckPoint::Gaia; -our @ISA = qw(CheckNwcHealth::CheckPoint::Firewall1); -use strict; - -sub xinit { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::CheckPoint::Firewall1::Component::EnvironmentalSubsystem"); - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/VSX.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/VSX.pm deleted file mode 100644 index 3edaf86..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/VSX.pm +++ /dev/null @@ -1,26 +0,0 @@ -package CheckNwcHealth::CheckPoint::VSX; -our @ISA = qw(CheckNwcHealth::CheckPoint); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::CheckPoint::Firewall1::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::CheckPoint::Firewall1::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::CheckPoint::Firewall1::Component::MemSubsystem"); - } elsif ($self->mode =~ /device::ha::/) { - $self->analyze_and_check_ha_subsystem("CheckNwcHealth::CheckPoint::Firewall1::Component::HaSubsystem"); - } elsif ($self->mode =~ /device::fw::/) { - $self->analyze_and_check_fw_subsystem("CheckNwcHealth::CheckPoint::VSX::Component::FwSubsystem"); - } elsif ($self->mode =~ /device::svn::/) { - $self->analyze_and_check_svn_subsystem("CheckNwcHealth::CheckPoint::Firewall1::Component::SvnSubsystem"); - } elsif ($self->mode =~ /device::mngmt::/) { - # not sure if this works fa25239716cb74c672f8dd390430dc4056caffa7 - $self->analyze_and_check_mngmt_subsystem("CheckNwcHealth::CheckPoint::Firewall1::Component::MngmtSubsystem"); - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco.pm deleted file mode 100644 index 49ff986..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco.pm +++ /dev/null @@ -1,115 +0,0 @@ -package CheckNwcHealth::Cisco; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - -sub init { - my ($self) = @_; - my $sysobjectid = $self->get_snmp_object('MIB-2-MIB', 'sysObjectID', 0); - $sysobjectid =~ s/^\.//g; - if ($self->{productname} =~ /Cisco NX-OS/i) { - $self->rebless('CheckNwcHealth::Cisco::NXOS'); - } elsif ($self->{productname} =~ /Cisco Controller/i || - $self->{productname} =~ /C9800 / || - $self->implements_mib('AIRESPACE-SWITCHING-MIB')) { - # die AIRESPACE-WIRELESS-MIB haben manchmal auch stinknormale Switche, - # das hat also nichts zu sagen. SWITCHING ist entscheidend. - # juli 23, neues Modell C9800, hat kein AIRESPACE-SWITCHING-MIB, aber AIRESPACE-WIRELESS-MIB - # und die LWAPP-MIB. Wird hier zu WLC erklärt, cpu/mem etc wird aber in der WLC.pm - # dann wieder auf Cisco::IOS umgedengelt. - $self->rebless('CheckNwcHealth::Cisco::WLC'); - } elsif ($self->{productname} =~ /Cisco.*(IronPort|AsyncOS)/i) { - $self->rebless('CheckNwcHealth::Cisco::AsyncOS'); - } elsif ($self->{productname} =~ /Cisco.*Prime Network Control System/i) { - $self->rebless('CheckNwcHealth::Cisco::PrimeNCS'); - } elsif ($self->{productname} =~ /UCOS /i) { - $self->rebless('CheckNwcHealth::Cisco::UCOS'); - } elsif ($self->{productname} =~ /Cisco (PIX|Adaptive) Security Appliance/i) { - $self->rebless('CheckNwcHealth::Cisco::ASA'); - } elsif ($self->implements_mib('VIPTELA-OPER-SYSTEM')) { - $self->rebless('CheckNwcHealth::Cisco::Viptela'); - } elsif ($self->{productname} =~ /Cisco/i) { - $self->rebless('CheckNwcHealth::Cisco::IOS'); - } elsif ($self->{productname} =~ /Fujitsu Intelligent Blade Panel 30\/12/i) { - $self->rebless('CheckNwcHealth::Cisco::IOS'); - } elsif ($sysobjectid eq '1.3.6.1.4.1.9.1.1348') { - $self->rebless('CheckNwcHealth::Cisco::CCM'); - } elsif ($sysobjectid eq '1.3.6.1.4.1.9.1.746') { - $self->rebless('CheckNwcHealth::Cisco::CCM'); - } elsif ($sysobjectid =~ /1.3.6.1.4.1.9.6.1.83/) { - $self->rebless('CheckNwcHealth::Cisco::SB'); - } - if (ref($self) ne "CheckNwcHealth::Cisco") { - if ($self->mode =~ /device::bgp/) { - if ($self->implements_mib('CISCO-BGP4-MIB', 'cbgpPeer2Table')) { - $self->analyze_and_check_interface_subsystem("CheckNwcHealth::Cisco::CISCOBGP4MIB::Component::PeerSubsystem"); - } else { - $self->establish_snmp_secondary_session(); - if ($self->implements_mib('CISCO-BGP4-MIB', 'cbgpPeer2Table')) { - $self->analyze_and_check_interface_subsystem("CheckNwcHealth::Cisco::CISCOBGP4MIB::Component::PeerSubsystem"); - } else { - $self->establish_snmp_session(); - $self->debug("no CISCO-BGP4-MIB and/or no cbgpPeer2Table, fallback"); - $self->no_such_mode(); - } - } - } elsif ($self->mode =~ /device::eigrp/) { - if ($self->implements_mib('CISCO-EIGRP-MIB')) { - $self->analyze_and_check_interface_subsystem("CheckNwcHealth::Cisco::EIGRPMIB::Component::PeerSubsystem"); - } else { - $self->no_such_mode(); - } - } elsif ($self->mode =~ /device::interfacex::errdisabled/) { - # if ($self->implements_mib('CISCO-ERR-DISABLE-MIB')) { - # Ist bloed, aber wenn keine Spur dieser Mib zu finden ist, - # dann kann das schlichtweg bedeuten, dass kein Interface - # disabled wurde. - $self->analyze_and_check_interface_subsystem("CheckNwcHealth::Cisco::CISCOERRDISABLEMIB::Component::InterfaceSubsystem"); - } elsif ($self->mode =~ /device::interfaces::etherstats/) { - if ($self->implements_mib('OLD-CISCO-INTERFACES-MIB')) { - $self->analyze_and_check_interface_subsystem("CheckNwcHealth::Cisco::OLDCISCOINTERFACESMIB::Component::InterfaceSubsystem"); - } else { - $self->no_such_mode(); - } - } elsif ($self->mode =~ /device::interfaces::portsecurity/) { - if ($self->implements_mib('CISCO-PORT-SECURITY-MIB')) { - $self->analyze_and_check_interface_subsystem("CheckNwcHealth::Cisco::CISCOPORTSECURITYMIB::Component::InterfaceSubsystem"); - } else { - $self->no_such_mode(); - } - } elsif ($self->mode =~ /device::licenses::/) { - if ($self->implements_mib('CISCO-SMART-LIC-MIB')) { - $self->analyze_and_check_lic_subsystem("CheckNwcHealth::Cisco::CISCOSMARTLICMIB::Component::KeySubsystem"); - } elsif ($self->implements_mib('CISCO-LICENSE-MGMT-MIB')) { - $self->analyze_and_check_lic_subsystem("CheckNwcHealth::Cisco::CISCOLICENSEMGMTMIB::Component::KeySubsystem"); - } else { - $self->no_such_mode(); - } - } elsif ($self->mode =~ /device::rtt::check/) { - if ($self->implements_mib('CISCO-RTTMON-MIB')) { - $self->analyze_and_check_lic_subsystem("CheckNwcHealth::Cisco::CISCORTTMONMIB::Component::RttSubsystem"); - } else { - $self->no_such_mode(); - } - } elsif ($self->mode =~ /device::sdwan::/) { - #} elsif ($self->mode =~ /device::sdwan::session::availability/) { - if ($self->implements_mib("CISCO-SDWAN-OPER-SYSTEM-MIB")) { - $self->analyze_and_check_sdwan_subsystem("CheckNwcHealth::Cisco::CISCOSDWANMIB::Component::SdwanSubsystem"); - } else { - $self->no_such_mode(); - } - } else { - $self->init(); - if ($self->mode =~ /device::interfaces::ifstack::status/ && - $self->{productname} =~ /IOS.*((12.0\(25\)SX3)|(12.0S)|(12.1E)|(12.2)|(12.2S)|(12.3))/) { - # known bug in this ios release. CSCed67708 - my ($code, $msg) = $self->check_messages(join => ', ', join_all => ', '); - if ($code == 1 && $msg =~ /^(([^,]+? has stack status active but no sub-layer interfaces(, )*)+)$/) { - $self->override_opt('negate', {'warning' => 'ok'}); - } - } - } - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/ASA.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/ASA.pm deleted file mode 100644 index 8a8d172..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/ASA.pm +++ /dev/null @@ -1,43 +0,0 @@ -package CheckNwcHealth::Cisco::ASA; -our @ISA = qw(CheckNwcHealth::Cisco); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Cisco::CISCOENTITYALARMMIB::Component::AlarmSubsystem"); - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem"); - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::ENTITYSENSORMIB::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::Cisco::IOS::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::Cisco::IOS::Component::MemSubsystem"); - } elsif ($self->mode =~ /device::hsrp/) { - $self->analyze_and_check_hsrp_subsystem("CheckNwcHealth::HSRP::Component::HSRPSubsystem"); - } elsif ($self->mode =~ /device::users/ || $self->mode =~ /device::connections/) { - # das war frueher "users". seit 6c70c2627e53cce991181369456c03f630f90f71 - # ist count-connections kein alias von count-users mehr, sondern ein - # eigenstaendiger mode. fuehrte dazu, dass count-connections hier unten - # in no_such_mode reinlief. daher dieses users||connections. - # weil es sich bei asa tatsaechlich eher um connections als users handelt, - # waere es sauber, das users rauszuwerfen, allerdings wuerde das dann - # bei denen krachen, die count-users verwenden. - $self->analyze_and_check_connection_subsystem("CheckNwcHealth::Cisco::IOS::Component::ConnectionSubsystem"); - } elsif ($self->mode =~ /device::config/) { - $self->analyze_and_check_config_subsystem("CheckNwcHealth::Cisco::IOS::Component::ConfigSubsystem"); - } elsif ($self->mode =~ /device::interfaces::nat::sessions::count/) { - $self->analyze_and_check_config_subsystem("CheckNwcHealth::Cisco::IOS::Component::NatSubsystem"); - } elsif ($self->mode =~ /device::interfaces::nat::rejects/) { - $self->analyze_and_check_config_subsystem("CheckNwcHealth::Cisco::IOS::Component::NatSubsystem"); - } elsif ($self->mode =~ /device::vpn::status/) { - $self->analyze_and_check_config_subsystem("CheckNwcHealth::Cisco::CISCOIPSECFLOWMONITOR::Component::VpnSubsystem"); - } elsif ($self->mode =~ /device::vpn::sessions/) { - $self->analyze_and_check_config_subsystem("CheckNwcHealth::Cisco::CISCOREMOTEACCESSMONITORMIB::Component::VpnSubsystem"); - } elsif ($self->mode =~ /device::ha::role/) { - $self->analyze_and_check_config_subsystem("CheckNwcHealth::Cisco::IOS::Component::HaSubsystem"); - } else { - $self->no_such_mode(); - } -} - - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/AsyncOS.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/AsyncOS.pm deleted file mode 100644 index c9d278e..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/AsyncOS.pm +++ /dev/null @@ -1,19 +0,0 @@ -package CheckNwcHealth::Cisco::AsyncOS; -our @ISA = qw(CheckNwcHealth::Cisco); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Cisco::AsyncOS::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::Cisco::AsyncOS::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::Cisco::AsyncOS::Component::MemSubsystem"); - } elsif ($self->mode =~ /device::licenses::/) { - $self->analyze_and_check_key_subsystem("CheckNwcHealth::Cisco::AsyncOS::Component::KeySubsystem"); - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/AsyncOS/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/AsyncOS/Component/MemSubsystem.pm deleted file mode 100644 index e7771ea..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/AsyncOS/Component/MemSubsystem.pm +++ /dev/null @@ -1,37 +0,0 @@ -package CheckNwcHealth::Cisco::AsyncOS::Component::MemSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $self->get_snmp_objects('ASYNCOS-MAIL-MIB', (qw( - perCentMemoryUtilization memoryAvailabilityStatus))); -} - -sub check { - my ($self) = @_; - $self->add_info('checking memory'); - $self->add_info(sprintf 'memory usage is %.2f%%', - $self->{perCentMemoryUtilization}); - $self->set_thresholds(warning => 80, critical => 90); - $self->add_message($self->check_thresholds($self->{perCentMemoryUtilization})); - if ($self->{memoryAvailabilityStatus}) { - $self->add_info(sprintf "memoryAvailabilityStatus is %s", - $self->{memoryAvailabilityStatus}); - if ($self->{memoryAvailabilityStatus} eq 'memoryShortage') { - $self->add_warning(); - $self->set_thresholds(warning => $self->{perCentMemoryUtilization}, critical => 90); - } elsif ($self->{memoryAvailabilityStatus} eq 'memoryFull') { - $self->add_critical(); - $self->set_thresholds(warning => 80, critical => $self->{perCentMemoryUtilization}); - } else { - $self->add_ok(); - } - } - $self->add_perfdata( - label => 'memory_usage', - value => $self->{perCentMemoryUtilization}, - uom => '%', - ); -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CCM.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CCM.pm deleted file mode 100644 index 051f430..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CCM.pm +++ /dev/null @@ -1,21 +0,0 @@ -package CheckNwcHealth::Cisco::CCM; -our @ISA = qw(CheckNwcHealth::Cisco); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::MemSubsystem"); - } elsif ($self->mode =~ /device::phone::cm/) { - $self->analyze_and_check_cm_subsystem("CheckNwcHealth::Cisco::CCM::Component::CmSubsystem"); - } elsif ($self->mode =~ /device::phone/) { - $self->analyze_and_check_phone_subsystem("CheckNwcHealth::Cisco::CCM::Component::PhoneSubsystem"); - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOERRDISABLEMIB/Component/InterfaceSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOERRDISABLEMIB/Component/InterfaceSubsystem.pm deleted file mode 100644 index bc4fc46..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOERRDISABLEMIB/Component/InterfaceSubsystem.pm +++ /dev/null @@ -1,116 +0,0 @@ -package CheckNwcHealth::Cisco::CISCOERRDISABLEMIB::Component::InterfaceSubsystem; -our @ISA = qw(CheckNwcHealth::IFMIB::Component::InterfaceSubsystem); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::interfacex::errdisable/) { - $self->get_snmp_tables('CISCO-ERR-DISABLE-MIB', [ - ['status', 'cErrDisableIfStatusTable', 'CheckNwcHealth::Cisco::CISCOERRDISABLEMIB::Component::InterfaceSubsystem::Status'], - ]); - my @disabled_indices = map { - $_->{indices}->[0]; - } @{$self->{status}}; - - if (! @{$self->{status}}) { - return; - } - my @iftable_columns = qw(ifIndex ifDescr ifAlias ifName); - push(@iftable_columns, qw( - ifOperStatus ifAdminStatus - )); - my $if_has_changed = $self->update_interface_cache(0); - my $only_admin_up = - $self->opts->name && $self->opts->name eq '_adminup_' ? 1 : 0; - my $only_oper_up = - $self->opts->name && $self->opts->name eq '_operup_' ? 1 : 0; - if ($only_admin_up || $only_oper_up) { - $self->override_opt('name', undef); - $self->override_opt('drecksptkdb', undef); - } - my @indices = $self->get_interface_indices(); - # we were filtering by name* or not filtering at all, so we have - # all the indexes we want - my @filtered_disabled_indices = (); - foreach my $index (@indices) { - foreach my $dindex (@disabled_indices) { - if ($dindex == $index->[0]) { - push(@filtered_disabled_indices, [$dindex]) if $dindex == $index->[0]; - } - } - } - # an sich sind wir hier fertig, denn die ifDescr sind in - # $self->{interface_cache}->{$index}->{ifDescr}; - # und weitere snmp-gets sind ueberfluessig (wenn man auf ifAlias verzichtet). - # aber da voraussichtlich nur ganz wenige interfaces gefunden werden, - # welche disabled sind, kann man sich die extra abfrage schon goennen. - # und frueher oder spaeter kommt eh wieder das geplaerr nach ifalias. - @indices = @filtered_disabled_indices; - if (!$self->opts->name || scalar(@indices) > 0) { - my @save_indices = @indices; # die werden in get_snmp_table_objects geshiftet - foreach ($self->get_snmp_table_objects( - 'IFMIB', 'ifTable+ifXTable', \@indices, \@iftable_columns)) { - next if $only_admin_up && $_->{ifAdminStatus} ne 'up'; - next if $only_oper_up && $_->{ifOperStatus} ne 'up'; - my $interface = CheckNwcHealth::Cisco::CISCOERRDISABLEMIB::Component::InterfaceSubsystem::Interface->new(%{$_}); - foreach my $status (@{$self->{status}}) { - if ($status->{disabledIfIndex} == $interface->{ifIndex}) { - push(@{$interface->{disablestatus}}, $status); - } - } - push(@{$self->{interfaces}}, $interface); - } - } - } -} - -sub check { - my ($self) = @_; - if ($self->mode =~ /device::interfacex::errdisable/) { - if (! @{$self->{status}}) { - $self->add_ok("no disabled interfaces on this device"); - } else { - foreach (@{$self->{interfaces}}) { - $_->check(); - } - } - } -} - -package CheckNwcHealth::Cisco::CISCOERRDISABLEMIB::Component::InterfaceSubsystem::Status; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub finish { - my ($self) = @_; - $self->{disabledIfIndex} = $self->{indices}->[0]; - $self->{disabledIfIndexVlan} = $self->{indices}->[1]; -} - -package CheckNwcHealth::Cisco::CISCOERRDISABLEMIB::Component::InterfaceSubsystem::Interface; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub finish { - my ($self) = @_; - $self->{disablestatus} = []; -} - -sub check { - my ($self) = @_; - my $full_descr = sprintf "%s%s", - $self->{ifDescr}, - $self->{ifAlias} && $self->{ifAlias} ne $self->{ifDescr} ? - " (alias ".$self->{ifAlias}.")" : ""; - if ($self->{disablestatus}) { - foreach my $status (@{$self->{disablestatus}}) { - $self->add_critical(sprintf("%s/vlan %d is disabled, reason: %s", - $full_descr, $status->{disabledIfIndexVlan}, - $status->{cErrDisableIfStatusCause})); - } - } else { - $self->add_ok(sprintf("%s is not disabled", $full_descr)); - } -} - - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOLICENSEMGMTMIB/Component/KeySubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOLICENSEMGMTMIB/Component/KeySubsystem.pm deleted file mode 100644 index c1d95f5..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOLICENSEMGMTMIB/Component/KeySubsystem.pm +++ /dev/null @@ -1,65 +0,0 @@ -package CheckNwcHealth::Cisco::CISCOLICENSEMGMTMIB::Component::KeySubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $self->get_snmp_objects("CISCO-LICENSE-MGMT-MIB", qw(clmgmtLicenseDeviceInformation clmgmtLicenseInformation clmgmtLicenseConfiguration)); - $self->get_snmp_tables('CISCO-LICENSE-MGMT-MIB', [ - ['licenses', 'clmgmtLicenseInfoTable', 'CheckNwcHealth::Cisco::CISCOLICENSEMGMTMIB::Component::KeySubsystem::License'], - ]); -} - -sub check { - my ($self) = @_; - if (! $self->{licenses} eq "false") { - $self->add_ok("licensing is not enabled"); - } else { - $self->SUPER::check(); - } -} - - -package CheckNwcHealth::Cisco::CISCOLICENSEMGMTMIB::Component::KeySubsystem::License; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub finish { - my ($self) = @_; - $self->{clmgmtLicenseValidityPeriodRemainingHuman} = scalar localtime (time + $self->{clmgmtLicenseValidityPeriodRemaining}); - $self->{clmgmtLicenseValidityPeriodRemainingDays} = - int($self->{clmgmtLicenseValidityPeriodRemaining} / (3600*24)); -} - -sub check { - my ($self) = @_; - #$self->{keyDaysUntilExpire} = int($self->{keySecondsUntilExpire} / 86400); - $self->add_info(sprintf "feature %s license type is %s", - $self->{clmgmtLicenseFeatureName}, - $self->{clmgmtLicenseType}, - ); - if ($self->{clmgmtLicenseType} =~ /^permanent/) { - $self->add_ok(); - } else { - my $label = lc "expiration_".(my $new = $self->{clmgmtLicenseFeatureName} =~ s/\s+//gr); - $self->set_thresholds(metric => $label, - warning => "7:", critical => "2:"); - $self->add_message($self->check_thresholds(metric => $label, - value => $self->{clmgmtLicenseValidityPeriodRemainingDays})); - $self->add_perfdata(label => $label, - value => $self->{clmgmtLicenseValidityPeriodRemainingDays} - ); - } -} -__END__ -This object identifies type of license. Licenses may have validity period defined in terms of time duration that the license is valid for or it may be defined in terms of actual calendar dates. Subscription licenses are licenses that have validity period defined in terms of calendar dates. -demo(1) - demo(evaluation license) license. -extension(2) - Extension(expiring) license. -gracePeriod(3) - Grace period license. -permanent(4) - permanent license, the license has no expiry date. -paidSubscription(5) - Paid subscription licenses are the licenses which are purchased by customers. These licenses have a start date and end date associated with them. -evaluationSubscription(6)-Evaluation subscription licenses are the trial licenses. These licenses are node locked and it can be obtained only once for an UDI. They are valid based on calendar days. These licenses have a start date and an end date associated with them and are issued once per UDI. -extensionSubscription(7)- Extension subscription licenses are similar to evaluation subscription licenses but these licenses are issued based on customer request. There are no restrictions on the number of licenses available for a UDI. -evalRightToUse(8) - Evaluation Right to use (RTU) license. -rightToUse(9) - Right to use (RTU) license. -permanentRightToUse(10) ? Right To Use license right after it is configured and is valid for the lifetime of the product. This is a Right To Use license which is not in evaluation mode for a limited time. diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOPROCESSMIB/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOPROCESSMIB/Component/MemSubsystem.pm deleted file mode 100644 index ea2d07f..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOPROCESSMIB/Component/MemSubsystem.pm +++ /dev/null @@ -1,139 +0,0 @@ -package CheckNwcHealth::Cisco::CISCOPROCESSMIB::Component::MemSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $self->get_snmp_tables('CISCO-PROCESS-MIB', [ - ['cpumems', 'cpmCPUTotalTable', 'CheckNwcHealth::Cisco::CISCOPROCESSMIB::Component::MemSubsystem::Mem', sub { my $o = shift; return exists $o->{cpmCPUMemoryUsed} ? 1 : 0 } ], - ]); -} - -package CheckNwcHealth::Cisco::CISCOPROCESSMIB::Component::MemSubsystem::Mem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub finish { - my ($self) = @_; - if (! exists $self->{cpmCPUMemoryUsed}) { - # dann fluigt der ganze scheisdreck weida ohm beim get_snmp_tables - # ausse. mit wos fir am oltn glump das i mi heid wieder oweerchan mou! - return; - } - $self->{cpmCPUTotalIndex} = $self->{flat_indices}; -# $self->{cpmCPUTotalPhysicalIndex} = exists $self->{cpmCPUTotalPhysicalIndex} ? -# $self->{cpmCPUTotalPhysicalIndex} : 0; - $self->{entPhysicalName} = $self->get_snmp_object('ENTITY-MIB', 'entPhysicalName', $self->{cpmCPUTotalPhysicalIndex}); - # wichtig fuer gestacktes zeugs, bei dem entPhysicalName doppelt und mehr vorkommen kann - # This object is a user-assigned asset tracking identifier for the physical entity - # as specified by a network manager, and provides non-volatile storage of this - # information. On the first instantiation of an physical entity, the value of - # entPhysicalAssetID associated with that entity is set to the zero-length string. - # ... - # If write access is implemented for an instance of entPhysicalAssetID, and a value - # is written into the instance, the agent must retain the supplied value in the - # entPhysicalAssetID instance associated with the same physical entity for as long - # as that entity remains instantiated. This includes instantiations across all - # re-initializations/reboots of the network management system, including those - # which result in a change of the physical entity's entPhysicalIndex value. - $self->{entPhysicalAssetID} = $self->get_snmp_object('ENTITY-MIB', 'entPhysicalAssetID', $self->{cpmCPUTotalPhysicalIndex}); - $self->{entPhysicalDescr} = $self->get_snmp_object('ENTITY-MIB', 'entPhysicalDescr', $self->{cpmCPUTotalPhysicalIndex}); - $self->{name} = $self->{entPhysicalName} || $self->{entPhysicalDescr}; - # letzter Ausweg, weil auch alle drei get_snmp_object fehlschlagen koennen - $self->{name} ||= $self->{cpmCPUTotalIndex}; - if ($self->{cpmCPUMemoryHCUsed} and $self->{cpmCPUMemoryHCFree}) { - $self->{cpmCPUMemoryHCTotal} = $self->{cpmCPUMemoryHCUsed} + $self->{cpmCPUMemoryHCFree}; - $self->{usageu} = 100 * $self->{cpmCPUMemoryHCUsed} / - $self->{cpmCPUMemoryHCTotal}; - $self->{usagec} = 100 * $self->{cpmCPUMemoryHCCommitted} / - $self->{cpmCPUMemoryHCTotal}; - } else { - $self->{cpmCPUMemoryLCUsed} = $self->{cpmCPUMemoryUsedOvrflw} ? - ($self->{cpmCPUMemoryUsedOvrflw} << 32) + ($self->{cpmCPUMemoryUsed}) : - $self->{cpmCPUMemoryUsed}; - $self->{cpmCPUMemoryLCFree} = $self->{cpmCPUMemoryFreeOvrflw} ? - ($self->{cpmCPUMemoryFreeOvrflw} << 32) + ($self->{cpmCPUMemoryFree}) : - $self->{cpmCPUMemoryFree}; - $self->{cpmCPUMemoryLCTotal} = $self->{cpmCPUMemoryLCUsed} + $self->{cpmCPUMemoryLCFree}; - if (exists $self->{cpmCPUMemoryCommitted}) { - $self->{cpmCPUMemoryLCCommitted} = $self->{cpmCPUMemoryCommittedOvrflw} ? - ($self->{cpmCPUMemoryCommittedOvrflw} << 32) + ($self->{cpmCPUMemoryCommitted}) : - $self->{cpmCPUMemoryCommitted}; - $self->{usagec} = 100 * $self->{cpmCPUMemoryLCCommited} / - $self->{cpmCPUMemoryLCTotal}; - } - $self->{usageu} = 100 * $self->{cpmCPUMemoryLCUsed} / - $self->{cpmCPUMemoryLCTotal}; - } - # immer den kleineren wert. ist nicht ganz korrekt, aber so muss ich mich - # am wenigsten rumaergern. - if (exists $self->{usagec} and $self->{usagec} < $self->{usageu}) { - $self->{usage} = $self->{usagec}; - } else { - $self->{usage} = $self->{usageu}; - } - return $self; -} - -sub check { - my ($self) = @_; - $self->add_info(sprintf '%s memory usage is %.2f%%', - $self->{name}, $self->{usage}); - my $label = 'cpumem_'.$self->{name}.'_usage'; - $self->set_thresholds( - metric => $label, - warning => 80, - critical => 90, - ); - $self->add_message($self->check_thresholds( - metric => $label, - value => $self->{usage}, - )); - $self->add_perfdata( - label => $label, - value => $self->{usage}, - uom => '%', - ); -} - -__END__ -https://thwack.solarwinds.com/t5/NPM-Feature-Requests/Additional-Cisco-quot-CPU-Memory-quot-Poller-for-Cisco-ASR/idc-p/560968 - -Memory (kB) -Slot Status Total Used (Pct) Free (Pct) Committed (Pct) - RP0 Healthy 3969316 3849744 (97%) 119572 ( 3%) 2582596 (65%) - -In this output, the "Committed" output is what we recommend focusing on, as this represents what memory processes have actually requested from the kernel. The "Used" value, on the other hand, appears high because this includes the Linux kernel cache: this "extra" memory is used by the kernel to store bits of frequently used data, but that memory can be freed at any time if needed. From the perspective of committed memory, this router is not low on memory and appears to be operating normally. - -We frequently see cases inquiring about the misleadingly high value in the "Used" column. As a result, this is being adjusted in later code to provide a better representation of what memory is actually available for use. Additionally, two bugs have been filled to document the behavior, these are CSCuc40262 and CSCuv32343: - - -https://www.cisco.com/c/de_de/support/docs/ip/simple-network-management-protocol-snmp/118901-technote-snmp-00.html - -ASR1K#show platform software status control-processor brief | s Memory -Memory (kB) - Slot Status Total Used(Pct) Free (Pct) Committed (Pct) - RP0 Healthy 3874504 2188404 (56%) 1686100 (44%) 2155996 (56%) - ESP0 Healthy 969088 590880 (61%) 378208 (39%) 363840 (38%) - SIP0 Healthy 471832 295292 (63%) 176540 (37%) 288540 (61%) -(cpmCPUMemoryHCUsed) -1.3.6.1.4.1.9.9.109.1.1.1.1.17.2 = Counter64: 590880 -ESP Used memory -1.3.6.1.4.1.9.9.109.1.1.1.1.17.3 = Counter64: 2188404 -RP used memory -1.3.6.1.4.1.9.9.109.1.1.1.1.17.4 = Counter64: 295292 -SIP used memory -(cpmCPUMemoryHCFree) -1.3.6.1.4.1.9.9.109.1.1.1.1.19.2 = Counter64: 378208 -ESP free Memory -1.3.6.1.4.1.9.9.109.1.1.1.1.19.3 = Counter64: 1686100 -RP free Memory -1.3.6.1.4.1.9.9.109.1.1.1.1.19.4 = Counter64: 176540 -SIP free memory -cpmCPUMemoryHCCommitted) -1.3.6.1.4.1.9.9.109.1.1.1.1.29.2 = Counter64: 363840 -ESP Committed Memory -1.3.6.1.4.1.9.9.109.1.1.1.1.29.3 = Counter64: 2155996 -RP Committed Memory -1.3.6.1.4.1.9.9.109.1.1.1.1.29.4 = Counter64: 288540 -SIP committed memory - -stimmt alles wunderbar zusammen, total = used+free -Und in der Realitaet kommt dann so eine Scheisse raus wie -cpmCPUMemoryHCCommitted: 4469120 -cpmCPUMemoryHCFree: 171404 -cpmCPUMemoryHCKernelReserved: 0 -cpmCPUMemoryHCUsed: 3786752 -Bravo, bravoooo! Und bei auf cpmCPUMemoryHCCommitted basierender Usage gibts dann > 100% -Und zwar ausfgerechnet bei dem, der den ganzen Stackswitchmemorydreck haben wollte. diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCORTTMONMIB/Component/RttSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCORTTMONMIB/Component/RttSubsystem.pm deleted file mode 100644 index 8769e2b..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCORTTMONMIB/Component/RttSubsystem.pm +++ /dev/null @@ -1,331 +0,0 @@ -package CheckNwcHealth::Cisco::CISCORTTMONMIB::Component::RttSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - - -sub init { - my ($self) = @_; - $self->get_snmp_tables("CISCO-RTTMON-MIB", [ - ['rttmons', 'rttMonCtrlAdminTable+rttMonCtrlOperTable', 'CheckNwcHealth::Cisco::CISCORTTMONMIB::Component::RttSubsystem::Probe'], - ['lastrtts', 'rttMonLatestRttOperTable', 'Monitoring::GLPlugin::SNMP::TableItem'], - ['rttechos', 'rttMonEchoAdminTable', 'Monitoring::GLPlugin::SNMP::TableItem'], - ['latestjitters', 'rttMonLatestJitterOperTable', 'Monitoring::GLPlugin::SNMP::TableItem'], - ]); - # bei manchen geraeten kommt nach SNMPv2-SMI::enterprises.9.9.42.1.3.3.1.2 - # nichts mehr. (nach rttMonStatsTotalsTable) - $self->merge_tables("rttmons", ("lastrtts", "rttechos", "latestjitters")); - @{$self->{rttmons}} = grep { - $self->filter_name($_->{name}); - } map { - $_->_finish(); $_; - } grep { - ($_->{rttMonCtrlAdminRttType} =~ /^(echo|pathEcho|jitter)$/) ? 1 : 0; - } @{$self->{rttmons}}; -} - - -package CheckNwcHealth::Cisco::CISCORTTMONMIB::Component::RttSubsystem::LatestJitter; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); - -sub finish { - my ($self) = @_; -} - -sub check { - my ($self) = @_; -} - - -package CheckNwcHealth::Cisco::CISCORTTMONMIB::Component::RttSubsystem::Probe; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); - -sub _finish { - # kein finish(), da erst merge_tables laufen muss - my ($self) = @_; - $self->{rttMonEchoAdminSourceAddress} = - $self->unhex_ip($self->{rttMonEchoAdminSourceAddress}); - $self->{rttMonEchoAdminTargetAddress} = - $self->unhex_ip($self->{rttMonEchoAdminTargetAddress}); - if ($self->{rttMonCtrlAdminLongTag}) { - $self->{name} = $self->{rttMonCtrlAdminLongTag} - } elsif ($self->{rttMonCtrlAdminTag}) { - $self->{name} = $self->{rttMonCtrlAdminTag} - } elsif ($self->{rttMonEchoAdminTargetAddress}) { - $self->{name} = "target_".$self->{rttMonEchoAdminTargetAddress} - } else { - $self->{name} = $self->{flat_indices}; - } - if (defined $self->{rttMonLatestJitterOperNumOfRTT}) { - # War ja klar, dass in irgendeiner Besenkammer noch so alte Kisten - # rumstehen, die keine 64bittige RTTSum kennen. - # Cisco Internetwork Operating System Software ^M IOS (tm) GS Software (C12KPRP-K4P-M), Version 12.0(32)SY7, RELEASE SOFTWARE (fc1)^M Technical Support: http://www.cisco.com/techsupport^M Copyright (c) 1986-2008 by cisco Systems, Inc.^M Compiled Mon 29-Sep-08 - $self->{rttMonLatestJitterOperRTTSumHigh} ||= 0; - $self->{rttMonLatestJitterOperRTTSum2High} ||= 0; - # - $self->{rttMonLatestJitterOperRTTSum} = - $self->{rttMonLatestJitterOperRTTSum} + - ($self->{rttMonLatestJitterOperRTTSumHigh} << 32); - $self->{rttMonLatestJitterOperRTTSum2} = - $self->{rttMonLatestJitterOperRTTSum2} + - ($self->{rttMonLatestJitterOperRTTSum2High} << 32); - $self->{rttMonLatestJitterAvgRTT} = - $self->{rttMonLatestJitterOperNumOfRTT} ? - $self->{rttMonLatestJitterOperRTTSum} / - $self->{rttMonLatestJitterOperNumOfRTT} : 0; - $self->{rttMonLatestJitterVarianceRTT} = - $self->{rttMonLatestJitterOperNumOfRTT} > 1 ? - $self->{rttMonLatestJitterOperRTTSum2} / - ($self->{rttMonLatestJitterOperNumOfRTT} - 1) : 0; - $self->{rttMonLatestJitterStdDevRTT} = - $self->{rttMonLatestJitterOperNumOfRTT} > 1 ? - sqrt($self->{rttMonLatestJitterOperRTTSum2} / - ($self->{rttMonLatestJitterOperNumOfRTT} - 1)) : 0; - $self->{rttMonLatestJitterOperMOS} /= 100; - # https://en.wikipedia.org/wiki/Mean_opinion_score - # Rating Label - # 5 Excellent - # 4 Good - # 3 Fair - # 2 Poor - # 1 Bad - $self->{rttMonLatestJitterOperAvgPositivesSD} = - $self->{rttMonLatestJitterOperNumOfPositivesSD} ? - $self->{rttMonLatestJitterOperSumOfPositivesSD} / - $self->{rttMonLatestJitterOperNumOfPositivesSD} : 0; - $self->{rttMonLatestJitterOperAvgNegativesSD} = - $self->{rttMonLatestJitterOperNumOfNegativesSD} ? - -1 * $self->{rttMonLatestJitterOperSumOfNegativesSD} / - $self->{rttMonLatestJitterOperNumOfNegativesSD} : 0; - $self->{rttMonLatestJitterOperAvgPositivesDS} = - $self->{rttMonLatestJitterOperNumOfPositivesDS} ? - $self->{rttMonLatestJitterOperSumOfPositivesDS} / - $self->{rttMonLatestJitterOperNumOfPositivesDS} : 0; - $self->{rttMonLatestJitterOperAvgNegativesDS} = - $self->{rttMonLatestJitterOperNumOfNegativesDS} ? - - 1 * $self->{rttMonLatestJitterOperSumOfNegativesDS} / - $self->{rttMonLatestJitterOperNumOfNegativesDS} : 0; - $self->{rttMonLatestJitterOperPacketLossCount} = - $self->{rttMonLatestJitterOperPacketLossSD} + - $self->{rttMonLatestJitterOperPacketLossDS} + - $self->{rttMonLatestJitterOperPacketMIA}; - } -} - -sub check { - my ($self) = @_; - if ($self->{rttMonCtrlOperState} ne "active") { - $self->add_info(sprintf "%s probe %s has oper status %s", - $self->{rttMonCtrlAdminRttType}, - $self->{name}, - $self->{rttMonCtrlOperState}, - ); - $self->add_unknown(); - return; - } - if ($self->{rttMonCtrlAdminRttType} eq "jitter") { - $self->add_info(sprintf "%s probe %s (target %s, codec %s) has status %s", - $self->{rttMonCtrlAdminRttType}, - $self->{name}, - $self->{rttMonEchoAdminTargetAddress}, - $self->{rttMonEchoAdminCodecType}, - $self->{rttMonLatestRttOperSense}); - } else { - $self->add_info(sprintf "%s probe %s has status %s", - $self->{rttMonCtrlAdminRttType}, - $self->{name}, - $self->{rttMonLatestRttOperSense}); - } - if ($self->{rttMonCtrlOperConnectionLostOccurred} eq "true") { - $self->add_info(sprintf "%s probe %s lost connection", - $self->{rttMonCtrlAdminRttType}, - $self->{name}, - ); - $self->add_warning(); - return; - } - if ($self->{rttMonCtrlOperOverThresholdOccurred} eq "true") { - $self->add_info(sprintf "%s probe %s is over threshold", - $self->{rttMonCtrlAdminRttType}, - $self->{name}, - ); - $self->add_warning(); - return; - } - if ($self->{rttMonCtrlOperTimeoutOccurred} eq "true") { - $self->add_info(sprintf "%s probe %s timed out", - $self->{rttMonCtrlAdminRttType}, - $self->{name}, - ); - $self->add_warning(); - return; - } - if ($self->{rttMonCtrlOperVerifyErrorOccurred} eq "true") { - $self->add_info(sprintf "%s probe %s shows data corruption", - $self->{rttMonCtrlAdminRttType}, - $self->{name}, - ); - $self->add_warning(); - return; - } - if ($self->{rttMonCtrlAdminRttType} eq "jitter") { - $self->check_jitter(); - } - $self->add_ok() if ! $self->check_messages(); -} - -sub check_jitter { - my ($self) = @_; - if ($self->{rttMonLatestRttOperSense} eq "ok") { - $self->add_ok(); - } else { - $self->add_critical(); - } - my $label = $self->{name}."_".$self->{rttMonCtrlAdminRttType}."_rtt_completion_time"; - $self->add_perfdata(label => - $label, - value => $self->{rttMonLatestRttOperCompletionTime}, - uom => "ms", - ); - - if (defined $self->{rttMonLatestJitterOperNumOfRTT}) { - $self->add_info(sprintf "%s latest jitter status is %s", - $self->{name}, - $self->{rttMonLatestJitterOperSense} - ); - if ($self->{rttMonLatestJitterOperSense} ne "ok") { - $self->add_critical(); - } - - if ($self->{rttMonLatestJitterOperNTPState} ne "sync") { - $self->add_warning(sprintf "%s NTP not in sync", $self->{name}); - } - - $label = $self->{name}."_"."latest_jitter_rtt_avg"; - $self->add_info(sprintf "average jitter RTT was %.2fms", - $self->{rttMonLatestJitterAvgRTT}, - ); - $self->set_thresholds(metric => $label, - warning => "", - critical => 5000, - ); - $self->add_message($self->check_thresholds(metric => $label, - value => $self->{rttMonLatestJitterAvgRTT})); - $self->add_perfdata(label => $label, - value => $self->{rttMonLatestJitterAvgRTT}, - uom => "ms", - min => $self->{rttMonLatestJitterOperRTTMin}, - max => $self->{rttMonLatestJitterOperRTTMax}, - ); - $label = $self->{name}."_"."latest_jitter_rtt_variance"; - $self->add_perfdata(label => $label, - value => $self->{rttMonLatestJitterVarianceRTT}, - ); - $label = $self->{name}."_"."latest_jitter_rtt_stddev"; - $self->add_perfdata(label => $label, - value => $self->{rttMonLatestJitterStdDevRTT}, - ); - - $label = $self->{name}."_"."jitter_mos"; - $self->add_info(sprintf "MOS value was %.2f", - $self->{rttMonLatestJitterOperMOS}, - ); - $self->set_thresholds(metric => $label, - warning => "4:", - critical => "3.5:", - ); - $self->add_message($self->check_thresholds(metric => $label, - value => $self->{rttMonLatestJitterOperMOS})); - $self->add_perfdata(label => $label, - value => $self->{rttMonLatestJitterOperMOS}, - min => 0, - max => 6, - ); - - $label = $self->{name}."_"."jitter_icpif"; - $self->add_info(sprintf "ICPIF value was %.2f", - $self->{rttMonLatestJitterOperICPIF}, - ); - $self->set_thresholds(metric => $label, - warning => 20, - critical => 30, - ); - $self->add_message($self->check_thresholds(metric => $label, - value => $self->{rttMonLatestJitterOperICPIF})); - $self->add_perfdata(label => $label, - value => $self->{rttMonLatestJitterOperICPIF}, - min => 0, - max => 60, - ); - - $label = $self->{name}."_"."pos_jitter_sd"; - $self->add_info(sprintf "Avg. positive jitter from source to dest was %.2f", - $self->{rttMonLatestJitterOperSumOfPositivesSD}, - ); - $self->set_thresholds(metric => $label, - warning => "", - critical => 50, - ); - $self->add_message($self->check_thresholds(metric => $label, - value => $self->{rttMonLatestJitterOperSumOfPositivesSD})); - $self->add_perfdata(label => $label, - value => $self->{rttMonLatestJitterOperSumOfPositivesSD}, - ); - - $label = $self->{name}."_"."neg_jitter_sd"; - $self->add_info(sprintf "Avg. negative jitter from source to dest was %.2f", - $self->{rttMonLatestJitterOperSumOfNegativesSD}, - ); - $self->set_thresholds(metric => $label, - warning => "", - critical => "-50:", - ); - $self->add_message($self->check_thresholds(metric => $label, - value => $self->{rttMonLatestJitterOperSumOfNegativesSD})); - $self->add_perfdata(label => $label, - value => $self->{rttMonLatestJitterOperSumOfNegativesSD}, - ); - - $label = $self->{name}."_"."pos_jitter_ds"; - $self->add_info(sprintf "Avg. positive jitter from source to dest was %.2f", - $self->{rttMonLatestJitterOperSumOfPositivesDS}, - ); - $self->set_thresholds(metric => $label, - warning => "", - critical => 50, - ); - $self->add_message($self->check_thresholds(metric => $label, - value => $self->{rttMonLatestJitterOperSumOfPositivesDS})); - $self->add_perfdata(label => $label, - value => $self->{rttMonLatestJitterOperSumOfPositivesDS}, - ); - - $label = $self->{name}."_"."neg_jitter_ds"; - $self->add_info(sprintf "Avg. negative jitter from source to dest was %.2f", - $self->{rttMonLatestJitterOperSumOfNegativesDS}, - ); - $self->set_thresholds(metric => $label, - warning => "", - critical => "-50:", - ); - $self->add_message($self->check_thresholds(metric => $label, - value => $self->{rttMonLatestJitterOperSumOfNegativesDS})); - $self->add_perfdata(label => $label, - value => $self->{rttMonLatestJitterOperSumOfNegativesDS}, - ); - - $label = $self->{name}."_"."jitter_packet_loss_count"; - $self->add_info(sprintf "Avg. jitter packet loss was %d", - $self->{rttMonLatestJitterOperPacketLossCount}, - ); - $self->set_thresholds(metric => $label, - warning => 0, - critical => 0, - ); - $self->add_message($self->check_thresholds(metric => $label, - value => $self->{rttMonLatestJitterOperPacketLossCount})); - $self->add_perfdata(label => $label, - value => $self->{rttMonLatestJitterOperPacketLossCount}, - ); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOSDWANMIB/Component/SdwanSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOSDWANMIB/Component/SdwanSubsystem.pm deleted file mode 100644 index 75d803d..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOSDWANMIB/Component/SdwanSubsystem.pm +++ /dev/null @@ -1,247 +0,0 @@ -package CheckNwcHealth::Cisco::CISCOSDWANMIB::Component::SdwanSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode eq "device::sdwan::session::availability") { - $self->get_snmp_objects("CISCO-SDWAN-BFD-MIB", qw(bfdSummaryBfdSessionsTotal bfdSummaryBfdSessionsUp)); - $self->{session_availability} = $self->{bfdSummaryBfdSessionsTotal} == 0 ? 0 : ( - $self->{bfdSummaryBfdSessionsUp} / - $self->{bfdSummaryBfdSessionsTotal} - ) * 100; - } elsif ($self->mode eq "device::sdwan::route::quality") { - $self->get_snmp_tables("CISCO-SDWAN-APP-ROUTE-MIB", [ - ["statistics", "appRouteStatisticsTable", "CheckNwcHealth::Cisco::CISCOSDWANMIB::Component::SdwanSubsystem::ARStat", sub { - my ($o) = @_; - return ($self->filter_name($o->{appRouteStatisticsDstIp}) and - $self->filter_name2($o->{appRouteStatisticsLocalColor})); - }], - ["probestatistics", "appRouteStatisticsAppProbeClassTable", "CheckNwcHealth::Cisco::CISCOSDWANMIB::Component::SdwanSubsystem::PRStat"], - ]); - # Tut mir leid, aber dem ersten Ergebnis traue ich nicht. Habe vorhin - # ein snmpbulkwalk ... 1.3.6.1.4.1.9.9.1001.1.2 (appRouteStatisticsTable) - # aufgerufen und es kam nur eine Zeile mit appRouteStatisticsRemoteSystemIp - # aber je 20 Zeilen mit appRouteStatisticsLocal/RemoteColor - # Beim naechsten Aufruf dann korrekt, also je 20x SystemIp und Color - $self->clear_table_cache("CISCO-SDWAN-APP-ROUTE-MIB", "appRouteStatisticsTable"); - delete $self->{statistics}; - $self->clear_table_cache("CISCO-SDWAN-APP-ROUTE-MIB", "appRouteStatisticsAppProbeClassTable"); - delete $self->{probestatistics}; - $self->get_snmp_tables("CISCO-SDWAN-APP-ROUTE-MIB", [ - ["statistics", "appRouteStatisticsTable", "CheckNwcHealth::Cisco::CISCOSDWANMIB::Component::SdwanSubsystem::ARStat", sub { - my ($o) = @_; - return ($self->filter_name($o->{appRouteStatisticsDstIp}) and - $self->filter_name2($o->{appRouteStatisticsLocalColor})); - }], - ["probestatistics", "appRouteStatisticsAppProbeClassTable", "CheckNwcHealth::Cisco::CISCOSDWANMIB::Component::SdwanSubsystem::PRStat"], - ]); - $self->merge_tables_with_code("statistics", "probestatistics", sub { - my ($stat, $pstat) = @_; - my $matching = 1; - foreach (qw(appRouteStatisticsSrcIp appRouteStatisticsSrcPort - appRouteStatisticsDstIp appRouteStatisticsDstPort - appRouteStatisticsProto)) { - if ($stat->{$_} ne $pstat->{$_}) { - $matching = 0; - } - } - return $matching; - }); - } -} - -sub check { - my ($self) = @_; - if ($self->mode eq "device::sdwan::session::availability") { - $self->add_info(sprintf "%d of %d sessions are up (%.2f%%)", - $self->{bfdSummaryBfdSessionsUp}, - $self->{bfdSummaryBfdSessionsTotal}, - $self->{session_availability}); - $self->set_thresholds(metric => "session_availability", - warning => "100:", - critical => "50:"); - $self->add_message($self->check_thresholds( - metric => "session_availability", - value => $self->{session_availability})); - $self->add_perfdata( - label => 'session_availability', - value => $self->{session_availability}, - uom => '%', - ); - } elsif ($self->mode eq "device::sdwan::route::quality") { - # es ist moeglich mit --name --regexp mehrere routen per snmp - # zu holen. hinter --name steckt die appRouteStatisticsDstIp. - # bei einer bestimmten kundeninstallation gibt es immer zwei sdwan-strecken, - # eine mit localColor bizInternet (was MPLS bedeutet) und eine mit lte. - # ebenfalls moeglich ist active/active mit zwei localColor bizInternet zu - # zwei DstIp. - # der gesamtcheck soll ok sein, wenn eine der routen fehlerfrei ist, die - # andere kann dann komplett zerschossen sein oder auch gar nicht - # existieren (was z.b. passieren kann, wenn der Dst router rebootet wird) - # als markierung, daß so eine art check_multi-auswertung stttfinden soll - # und nicht mehrere gaenzlich unabhaengig zu bewertende routen mit --name - # gemeint sind, wird ein threshold eingeführt. - # gefundene routen (ob per filter oder nicht) zu defekte routen ins - # verhaeltnis gesetzt gibt broken_routes_pct - # eingeschaltet wird dieser "solange eine route ok ist, ist alles ok"-modus - # indem man --criticalx broken_routes_pct=99 setzt - # 4 routes, 1 kaputt - 25% - # 4 routes, 3 kaputt - 75% - # 2 routes, 1 kaputt - 50% - # 2 routes, 1 weg - 0% - # 2 routes, 2 weg - 0 % - # 2 routes, 2 kaputt - 100% - if (! @{$self->{statistics}}) { - my @filter = (); - push(@filter, sprintf("dst ip %s", $self->opts->name)) - if $self->opts->name; - push(@filter, sprintf("local color %s", $self->opts->name2)) - if $self->opts->name2; - $self->add_unknown(sprintf "no routes were found%s", - (@filter ? " (".join(",", @filter).")" : "")); - return; - } - my $broken = 0; - foreach (@{$self->{statistics}}) { - $_->{failed} = 0; - $_->check(); - $broken++ if $_->{failed}; - } - if (@{$self->{statistics}}) { - $self->{broken_routes_pct} = 100 * $broken / scalar(@{$self->{statistics}}); - } else { - $self->{broken_routes_pct} = 0; - } - - $self->set_thresholds( - metric => "broken_routes_pct", - warning => 100, - critical => 100 - ); - my @wc = $self->get_thresholds(metric => "broken_routes_pct"); - my $redundancy_check = ($wc[0] == 100 and $wc[1] == 100) ? 0 : 1; - if ($redundancy_check) { - my $level = $self->check_thresholds( - metric => "broken_routes_pct", - value => $self->{broken_routes_pct}, - ); - my ($code, $message) = - $self->check_messages(join => ', ', join_all => ', '); - $self->clear_messages(0); - $self->clear_messages(1); - $self->clear_messages(2); - $self->clear_messages(3); - if ($code) { - $self->add_ok(sprintf "%s out of %s routes are broken", - $broken, scalar(@{$self->{statistics}})); - } - $self->add_message($level, $message); - $self->add_perfdata(label => "broken_routes_pct", - value => $self->{broken_routes_pct}, - uom => "%", - ); - } - } -} - - -package CheckNwcHealth::Cisco::CISCOSDWANMIB::Component::SdwanSubsystem::PRStat; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub finish { - my ($self) = @_; - my @tmp_indices = @{$self->{indices}}; - if ($tmp_indices[0] == 4) { - $self->{appRouteStatisticsSrcIp} = join(".", @tmp_indices[1..4]); - $self->{appRouteStatisticsDstIp} = join(".", @tmp_indices[6..9]); - $self->{appRouteStatisticsSrcPort} = $tmp_indices[10]; - $self->{appRouteStatisticsDstPort} = $tmp_indices[11]; - $self->{appRouteStatisticsProto} = $self->mibs_and_oids_definition("CISCO-SDWAN-APP-ROUTE-MIB", "appRouteStatisticsProto", $tmp_indices[12]); -# und noch eine addr - $self->{appRouteStatisticsRemoteSystemIp} = join(".", @tmp_indices[14..17]); - } elsif ($tmp_indices[0] == 6) { - $self->{appRouteStatisticsSrcIp} = join(":", @tmp_indices[1..16]); - $self->{appRouteStatisticsDstIp} = join(":", @tmp_indices[18..33]); - $self->{appRouteStatisticsSrcPort} = $tmp_indices[34]; - $self->{appRouteStatisticsDstPort} = $tmp_indices[35]; - $self->{appRouteStatisticsProto} = $self->mibs_and_oids_definition("CISCO-SDWAN-APP-ROUTE-MIB", "appRouteStatisticsProto", $tmp_indices[36]); - $self->{appRouteStatisticsRemoteSystemIp} = join(":", @tmp_indices[38..53]); - } - $self->{appRouteStatisticsRemoteSystemIp} = $self->unhex_ip($self->{appRouteStatisticsRemoteSystemIp}); -} - - -package CheckNwcHealth::Cisco::CISCOSDWANMIB::Component::SdwanSubsystem::ARStat; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub finish { - my ($self) = @_; - # INDEX { appRouteStatisticsSrcIp, 4 - # appRouteStatisticsDstIp, 4 - # appRouteStatisticsProto, 1 - # appRouteStatisticsSrcPort, 1 - # appRouteStatisticsDstPort } 1 - - my @tmp_indices = @{$self->{indices}}; - if ($tmp_indices[0] == 4) { - $self->{appRouteStatisticsSrcIp} = join(".", @tmp_indices[1..4]); - $self->{appRouteStatisticsDstIp} = join(".", @tmp_indices[6..9]); - $self->{appRouteStatisticsSrcPort} = $tmp_indices[10]; - $self->{appRouteStatisticsDstPort} = $tmp_indices[11]; - $self->{appRouteStatisticsProto} = $self->mibs_and_oids_definition("CISCO-SDWAN-APP-ROUTE-MIB", "appRouteStatisticsProto", $tmp_indices[12]); - } elsif ($tmp_indices[0] == 6) { - $self->{appRouteStatisticsSrcIp} = join(":", @tmp_indices[1..16]); - $self->{appRouteStatisticsDstIp} = join(":", @tmp_indices[18..33]); - $self->{appRouteStatisticsSrcPort} = $tmp_indices[34]; - $self->{appRouteStatisticsDstPort} = $tmp_indices[35]; - $self->{appRouteStatisticsProto} = $self->mibs_and_oids_definition("CISCO-SDWAN-APP-ROUTE-MIB", "appRouteStatisticsProto", $tmp_indices[36]); - } - $self->{appRouteStatisticsRemoteSystemIp} = $self->unhex_ip($self->{appRouteStatisticsRemoteSystemIp}); - return; - my $proto = scalar(@tmp_indices) <= 13 ? "ipv4" : "ipv6"; - if ($proto eq "ipv4") { - $self->{appRouteStatisticsSrcIp} = join(".", @tmp_indices[0..3]); - $self->{appRouteStatisticsDstIp} = join(".", @tmp_indices[4..7]); - $self->{appRouteStatisticsProto} = $tmp_indices[8]; - $self->{appRouteStatisticsSrcPort} = $tmp_indices[9]; - $self->{appRouteStatisticsDstPort} = $tmp_indices[10]; - $self->{appRouteStatisticsRemoteSystemIp} = $self->unhex_ip($self->{appRouteStatisticsRemoteSystemIp}); - } -} - -sub check { - my ($self) = @_; - my $name = sprintf "%s_%s_%s", - lc $self->{appRouteStatisticsProto}, - lc $self->{appRouteStatisticsLocalColor}, - lc $self->{appRouteStatisticsDstIp}; - $self->add_info(sprintf "%s route %s->%s jitter=%d,latency=%d,loss=%d,lcolor=%s,rcolor=%s", - $self->{appRouteStatisticsProto}, - $self->{appRouteStatisticsSrcIp}, - $self->{appRouteStatisticsDstIp}, - $self->{appRouteStatisticsAppProbeClassMeanJitter}, - $self->{appRouteStatisticsAppProbeClassMeanLatency}, - $self->{appRouteStatisticsAppProbeClassMeanLoss}, - $self->{appRouteStatisticsLocalColor}, - $self->{appRouteStatisticsRemoteColor}); - $self->set_thresholds(metric => $name."_loss", warning => 1, critical => 4); - $self->set_thresholds(metric => $name."_latency", warning => 40, critical => 80); - my $losslevel = $self->check_thresholds(metric => $name."_loss", - value => $self->{appRouteStatisticsAppProbeClassMeanLoss}); - $self->annotate_info("loss too high") if $losslevel; - my $latencylevel = $self->check_thresholds(metric => $name."_latency", - value => $self->{appRouteStatisticsAppProbeClassMeanLatency}); - $self->annotate_info("latency too high") if $latencylevel; - $self->add_message($losslevel > $latencylevel ? $losslevel : $latencylevel); - $self->add_perfdata(label => $name."_loss", - value => $self->{appRouteStatisticsAppProbeClassMeanLoss}); - $self->add_perfdata(label => $name."_latency", - value => $self->{appRouteStatisticsAppProbeClassMeanLatency}); - $self->add_perfdata(label => $name."_jitter", - value => $self->{appRouteStatisticsAppProbeClassMeanJitter}); -} - -1; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOSMARTLICMIB/Component/KeySubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOSMARTLICMIB/Component/KeySubsystem.pm deleted file mode 100644 index 5bda6b1..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOSMARTLICMIB/Component/KeySubsystem.pm +++ /dev/null @@ -1,150 +0,0 @@ -package CheckNwcHealth::Cisco::CISCOSMARTLICMIB::Component::KeySubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $self->get_snmp_objects("CISCO-SMART-LIC-MIB", qw(ciscoSlaEnabled)); - $self->get_snmp_tables('CISCO-SMART-LIC-MIB', [ - ['keys', 'ciscoSlaEntitlementInfoTable', 'CheckNwcHealth::Cisco::CISCOSMARTLICMIB::Component::KeySubsystem::Entitlement'], - ['keys', 'ciscoSlaRegistrationStatusInfoTable', 'CheckNwcHealth::Cisco::CISCOSMARTLICMIB::Component::KeySubsystem::RegStatusInfo', sub { shift->{valid} }], - ['keys', 'ciscoSlaAuthorizationInfoTable', 'CheckNwcHealth::Cisco::CISCOSMARTLICMIB::Component::KeySubsystem::AuthInfo', sub { shift->{valid} }], - ]); -} - -sub check { - my ($self) = @_; - if ($self->{ciscoSlaEnabled} eq "false") { - $self->add_ok("smart licensing is not enabled"); - } else { - $self->SUPER::check(); - } -} - - -package CheckNwcHealth::Cisco::CISCOSMARTLICMIB::Component::KeySubsystem::Entitlement; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub check { - my ($self) = @_; - #$self->{keyDaysUntilExpire} = int($self->{keySecondsUntilExpire} / 86400); - $self->add_info(sprintf "entitlement %s for feature %s mode is %s", - $self->{ciscoSlaEntitlementTag}, - $self->{ciscoSlaEntitlementFeatureName}, - $self->{ciscoSlaEntitlementEnforceMode} - ); - if ($self->{ciscoSlaEntitlementEnforceMode} =~ /(outOfCompliance|gracePeriodExpired|disabled)/) { - $self->add_critical(); - } elsif ($self->{ciscoSlaEntitlementEnforceMode} =~ /(waiting|evaluationExpired|gracePeriod)/) { - $self->add_warning(); - } else { - $self->add_ok(); - } -} - - -package CheckNwcHealth::Cisco::CISCOSMARTLICMIB::Component::KeySubsystem::RegStatusInfo; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub finish { - my ($self) = @_; - $self->{valid} = exists $self->{ciscoSlaRegistrationStatus} ? 1 : 0; - return if ! $self->{valid}; - foreach (qw(ciscoSlaNextCertificateExpireTime ciscoSlaRegisterInitTime ciscoSlaRenewNextRetryTime)) { - $self->{$_."Human"} = scalar localtime $self->{$_} - if exists $self->{$_} and $self->{$_} =~ /^\d+$/; - } -} - -sub check { - my ($self) = @_; - $self->add_info(sprintf "Registration status is %s", $self->{ciscoSlaRegistrationStatus}); - if ($self->{ciscoSlaRegistrationStatus} =~ /(notRegistered|registrationFailed)/ ) { - $self->add_warning(); - } - if ($self->{ciscoSlaRegisterSuccess} and - $self->{ciscoSlaRegisterSuccess} ne "true" ) { - $self->add_warning(sprintf "registration failed with %s", $self->{ciscoSlaRegisterFailureReason}); - } -} - - -package CheckNwcHealth::Cisco::CISCOSMARTLICMIB::Component::KeySubsystem::AuthInfo; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub finish { - my ($self) = @_; - $self->{valid} = exists $self->{ciscoSlaAuthComplianceStatus} ? 1 : 0; - return if ! $self->{valid}; - foreach (qw(ciscoSlaAuthRenewTime ciscoSlaAuthExpireTime ciscoSlaAuthRenewNextRetryTime ciscoSlaAuthRenewInitTime)) { - $self->{$_."Human"} = scalar localtime $self->{$_} - if exists $self->{$_} and $self->{$_} =~ /^\d+$/; - } - $self->{ciscoSlaAuthExpireTimeDays} = - int(($self->{ciscoSlaAuthExpireTime} - time) / (3600*24)); - $self->{ciscoSlaAuthExpireTimeDays} = - $self->{ciscoSlaAuthExpireTimeDays} < 0 ? - 0 : $self->{ciscoSlaAuthExpireTimeDays}; - $self->{ciscoSlaAuthEvalPeriodLeftDays} = - int(($self->{ciscoSlaAuthEvalPeriodLeft} - time) / (3600*24)); - $self->{ciscoSlaAuthEvalPeriodLeftDays} = - $self->{ciscoSlaAuthEvalPeriodLeftDays} < 0 ? - 0 : $self->{ciscoSlaAuthEvalPeriodLeftDays}; - if ($self->{ciscoSlaAuthOOCStartTime} > 0) { - $self->{ciscoSlaAuthOOCStartTimeDays} = - int((time - $self->{ciscoSlaAuthExpireTime}) / (3600*24)); - } else { - $self->{ciscoSlaAuthOOCStartTimeDays} = 0; - } -} - -sub check { - my ($self) = @_; - $self->add_info(sprintf "compliance status is %s", - $self->{ciscoSlaAuthComplianceStatus}); - if ($self->{ciscoSlaAuthComplianceStatus} =~ /AUTHORIZED/) { - # STRING: "AUTHORIZED" - # STRING: "AUTHORIZED - RESERVED" scheint der beste Status von allen zu sein - $self->add_ok(); - } else { - $self->add_critical(); - } - if ($self->{ciscoSlaAuthOOCStartTime}) { - $self->add_critical( - sprintf "smart agent entered out of compliance %d days ago", - $self->{ciscoSlaAuthOOCStartTimeDays}); - } - if ($self->{ciscoSlaAuthComplianceStatus} ne "AUTHORIZED - RESERVED") { - my $label = "sla_remaining_days"; - $self->set_thresholds(metric => $label, - warning => "7:", critical => "2:"); - $self->add_info(sprintf "authorization will expire in %d days", - $self->{ciscoSlaAuthExpireTimeDays}) - if $self->{ciscoSlaAuthExpireTimeDays}; - $self->add_info("authorization has expired") - if ! $self->{ciscoSlaAuthExpireTimeDays}; - $self->add_message($self->check_thresholds(metric => $label, - value => $self->{ciscoSlaAuthExpireTimeDays})); - $self->add_perfdata(label => $label, - value => $self->{ciscoSlaAuthExpireTimeDays}); - } - if ($self->{ciscoSlaAuthEvalPeriodInUse} and - $self->{ciscoSlaAuthEvalPeriodInUse} eq "true") { - my $label = "eval_remaining_days"; - $self->set_thresholds(metric => $label, - warning => "7:", critical => "2:"); - $self->add_info(sprintf "evaluation will expire in %d days", - $self->{ciscoSlaAuthEvalPeriodLeftDays}) - if $self->{ciscoSlaAuthEvalPeriodLeftDays}; - $self->add_info("evaluation has expired") - if ! $self->{ciscoSlaAuthEvalPeriodLeftDays}; - $self->add_message($self->check_thresholds(metric => $label, - value => $self->{ciscoSlaAuthEvalPeriodLeftDays})); - $self->add_perfdata(label => $label, - value => $self->{ciscoSlaAuthEvalPeriodLeftDays}); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/IOS.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/IOS.pm deleted file mode 100644 index 75bc72d..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/IOS.pm +++ /dev/null @@ -1,51 +0,0 @@ -package CheckNwcHealth::Cisco::IOS; -our @ISA = qw(CheckNwcHealth::Cisco); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::chassis::health/) { - if ($self->implements_mib('CISCO-STACK-MIB')) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Cisco::CISCOSTACKMIB::Component::StackSubsystem"); - } elsif ($self->implements_mib('CISCO-STACKWISE-MIB')) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Cisco::CISCOSTACKWISEMIB::Component::StackSubsystem"); - } - if (! $self->implements_mib('CISCO-STACKWISE-MIB') && - ! $self->implements_mib('CISCO-STACK-MIB')) { - if (defined $self->opts->mitigation()) { - $self->add_message($self->opts->mitigation(), 'this is not a stacked device'); - } else { - $self->add_unknown('this is not a stacked device'); - } - } - } elsif ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Cisco::IOS::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::Cisco::IOS::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::Cisco::IOS::Component::MemSubsystem"); - } elsif ($self->mode =~ /device::hsrp/) { - $self->analyze_and_check_hsrp_subsystem("CheckNwcHealth::HSRP::Component::HSRPSubsystem"); - } elsif ($self->mode =~ /device::users/) { - $self->analyze_and_check_connection_subsystem("CheckNwcHealth::Cisco::IOS::Component::ConnectionSubsystem"); - } elsif ($self->mode =~ /device::config/) { - $self->analyze_and_check_config_subsystem("CheckNwcHealth::Cisco::IOS::Component::ConfigSubsystem"); - } elsif ($self->mode =~ /device::interfaces::nat::sessions::count/) { - $self->analyze_and_check_config_subsystem("CheckNwcHealth::Cisco::IOS::Component::NatSubsystem"); - } elsif ($self->mode =~ /device::interfaces::nat::rejects/) { - $self->analyze_and_check_config_subsystem("CheckNwcHealth::Cisco::IOS::Component::NatSubsystem"); - #} elsif ($self->mode =~ /device::bgp::prefix::count/) { - } elsif ($self->mode =~ /device::bgp/) { - $self->analyze_and_check_bgp_subsystem("CheckNwcHealth::BGP::Component::PeerSubsystem"); - } elsif ($self->mode =~ /device::wlan/ && $self->implements_mib('AIRESPACE-WIRELESS-MIB')) { - $self->analyze_and_check_wlan_subsystem("CheckNwcHealth::Cisco::WLC::Component::WlanSubsystem"); - } elsif ($self->mode =~ /device::vpn::status/) { - $self->analyze_and_check_config_subsystem("CheckNwcHealth::Cisco::CISCOIPSECFLOWMONITOR::Component::VpnSubsystem"); - } elsif ($self->mode =~ /device::vpn::sessions/) { - $self->analyze_and_check_config_subsystem("CheckNwcHealth::Cisco::CISCOREMOTEACCESSMONITORMIB::Component::VpnSubsystem"); - } else { - $self->no_such_mode(); - } -} - - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/IOS/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/IOS/Component/MemSubsystem.pm deleted file mode 100644 index 32991b1..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/IOS/Component/MemSubsystem.pm +++ /dev/null @@ -1,47 +0,0 @@ -package CheckNwcHealth::Cisco::IOS::Component::MemSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - if ($self->implements_mib('CISCO-ENHANCED-MEMPOOL-MIB')) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::Cisco::CISCOENHANCEDMEMPOOLMIB::Component::MemSubsystem"); - if (! exists $self->{components}->{mem_subsystem} || - scalar(@{$self->{components}->{mem_subsystem}->{mems}}) == 0) { - # satz mix x.... - # der hier: Cisco IOS Software, IOS-XE Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 03.03.02SE RELEASE SOFTWARE (fc2) - # hat nicht mehr zu bieten als eine einzige oid - # cempMemBufferNotifyEnabled .1.3.6.1.4.1.9.9.221.1.2.1.0 = INTEGER: 2 - # deshalb: - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::Cisco::CISCOMEMORYPOOLMIB::Component::MemSubsystem"); - } - } else { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::Cisco::CISCOMEMORYPOOLMIB::Component::MemSubsystem"); - } - if ($self->implements_mib('CISCO-STACKWISE-MIB') and - $self->implements_mib('CISCO-STACKWISE-MIB')) { - # bei stacks, bestehend aus mehreren switches, wuenschen sich admins - # deren individuelle speichermetriken zu sehen. enhanced-mempool, bzw. - # der fallback auf memory-pool, der bei stacks vorkommt, gibt es lediglich - # einen globalen wert. - # die sind das von solarwinds so gewohnt, welches aber neuerdings nicht - # mehr ganz so angesagt ist. - # - # und gleich wieder der naechste dreck am 27.1.21, bei einem switch wird - # 105% usage gemeldet. der stack besteht nur aus einem switch, daher - # lassen wir das mit den per-node-memories hier bleiben. - $self->get_snmp_tables("CISCO-STACKWISE-MIB", [ - ['switches', 'cswSwitchInfoTable', 'CheckNwcHealth::Cisco::CISCOSTACKWISEMIB::Component::StackSubsystem::Switch', undef, ["cswSwitchNumCurrent"]], - ]); - if (scalar(@{$self->{switches}}) > 1) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::Cisco::CISCOPROCESSMIB::Component::MemSubsystem"); - } - delete $self->{switches}; - } elsif (0 && $self->implements_mib('CISCO-PROCESS-MIB')) { - # we have the possibility to add individual (for each cpu) memory metrics - # to the global metrics from MEMPOOL-MIB. (as process-mib metrics are the - # ones which are shown in the command line. - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::Cisco::CISCOPROCESSMIB::Component::MemSubsystem"); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/NXOS.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/NXOS.pm deleted file mode 100644 index 411da1b..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/NXOS.pm +++ /dev/null @@ -1,30 +0,0 @@ -package CheckNwcHealth::Cisco::NXOS; -our @ISA = qw(CheckNwcHealth::Cisco); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - #$self->mult_snmp_max_msg_size(10); - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Cisco::NXOS::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::cisco::fex::watch/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Cisco::NXOS::Component::FexSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::Cisco::IOS::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::Cisco::NXOS::Component::MemSubsystem"); - } elsif ($self->mode =~ /device::config/) { - $self->analyze_and_check_config_subsystem("CheckNwcHealth::Cisco::IOS::Component::ConfigSubsystem"); - } elsif ($self->mode =~ /device::hsrp/) { - $self->analyze_and_check_hsrp_subsystem("CheckNwcHealth::HSRP::Component::HSRPSubsystem"); - } else { - $self->no_such_mode(); - } -} - -sub pretty_sysdesc { - my ($self, $sysDescr) = @_; - if ($sysDescr =~ /(Cisco NX-OS.*? n\d+),.*(Version .*), RELEASE SOFTWARE/) { - return $1.' '.$2; - } -} diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/PrimeNCS.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/PrimeNCS.pm deleted file mode 100644 index 3d592d5..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/PrimeNCS.pm +++ /dev/null @@ -1,18 +0,0 @@ -package CheckNwcHealth::Cisco::PrimeNCS; -our @ISA = qw(CheckNwcHealth::Cisco); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - #$self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Cisco::CISCOENTITYFRUCONTROLMIB::Component::EnvironmentalSubsystem"); - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::MemSubsystem"); - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/UCOS.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/UCOS.pm deleted file mode 100644 index 85af3a3..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/UCOS.pm +++ /dev/null @@ -1,21 +0,0 @@ -package CheckNwcHealth::Cisco::UCOS; -our @ISA = qw(CheckNwcHealth::Cisco); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::MemSubsystem"); - } elsif ($self->mode =~ /device::phone::cm/) { - $self->analyze_and_check_cm_subsystem("CheckNwcHealth::Cisco::CCM::Component::CmSubsystem"); - } elsif ($self->mode =~ /device::phone/) { - $self->analyze_and_check_phone_subsystem("CheckNwcHealth::Cisco::CCM::Component::PhoneSubsystem"); - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/Viptela.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/Viptela.pm deleted file mode 100644 index a42cc3d..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/Viptela.pm +++ /dev/null @@ -1,18 +0,0 @@ -package CheckNwcHealth::Cisco::Viptela; -our @ISA = qw(CheckNwcHealth::Cisco); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Cisco::Viptela::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::Cisco::Viptela::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::Cisco::Viptela::Component::MemSubsystem"); - } else { - $self->no_such_mode(); - } -} - - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/Viptela/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/Viptela/Component/CpuSubsystem.pm deleted file mode 100644 index 5daae64..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/Viptela/Component/CpuSubsystem.pm +++ /dev/null @@ -1,37 +0,0 @@ -package CheckNwcHealth::Cisco::Viptela::Component::CpuSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - my $sysdescr = $self->get_snmp_objects('VIPTELA-OPER-SYSTEM', (qw( - systemStatusMin1Avg systemStatusMin5Avg systemStatusMin15Avg - systemStatusCpuIdle - ))); - $self->{cpu_usage} = 100 - $self->{systemStatusCpuIdle}; -} - -sub check { - my ($self) = @_; - $self->add_info('checking cpu'); - $self->add_info(sprintf 'cpu load(5m) is %.2f%%, current util is %.2f%%', - $self->{systemStatusMin5Avg}, - $self->{cpu_usage}); - $self->set_thresholds(metric => 'cpu_5min_avg_load', - warning => 80, critical => 90); - #$self->set_thresholds(metric => 'cpu_usage', - # warning => 95, critical => 99); - $self->add_message($self->check_thresholds(metric => 'cpu_5min_avg_load', - value => $self->{systemStatusMin5Avg})); - $self->add_perfdata( - label => 'cpu_5min_avg_load', - value => $self->{systemStatusMin5Avg}, - uom => '%', - ); - $self->add_perfdata( - label => 'cpu_usage', - value => $self->{cpu_usage}, - uom => '%', - ); -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/Viptela/Component/DiskSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/Viptela/Component/DiskSubsystem.pm deleted file mode 100644 index 012005e..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/Viptela/Component/DiskSubsystem.pm +++ /dev/null @@ -1,25 +0,0 @@ -package CheckNwcHealth::Cisco::Viptela::Component::DiskSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $self->get_snmp_objects('VIPTELA-OPER-SYSTEM', (qw( - systemStatusDiskUse systemStatusDiskStatus - ))); -} - -sub check { - my ($self) = @_; - $self->add_info('checking disks'); - $self->add_info(sprintf 'disk is %.2f%% full', - $self->{systemStatusDiskUse}); - $self->set_thresholds(warning => 80, critical => 90); - $self->add_message($self->check_thresholds($self->{systemStatusDiskUse})); - $self->add_perfdata( - label => 'disk_usage', - value => $self->{systemStatusDiskUse}, - uom => '%', - ); -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/Viptela/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/Viptela/Component/EnvironmentalSubsystem.pm deleted file mode 100644 index c6df712..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/Viptela/Component/EnvironmentalSubsystem.pm +++ /dev/null @@ -1,45 +0,0 @@ -package CheckNwcHealth::Cisco::Viptela::Component::EnvironmentalSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $self->{disk_subsystem} = - CheckNwcHealth::Cisco::Viptela::Component::DiskSubsystem->new(); - $self->get_snmp_table_objects('VIPTELA-HARDWARE', [ - ['hwenvs', 'CheckNwcHealth::Cisco::Viptela::Component::EnvironmentalSubsystem::HWEnv'], - ]); - $self->get_snmp_objects('VIPTELA-OPER-SYSTEM', (qw( - systemStatusState systemStatusSystemStateDescription - ))); -} - -sub check { - my ($self) = @_; - $self->{disk_subsystem}->check(); - # lkng-green(0),green(1),yellow(2),red(3) - $self->add_info(sprintf "system state: %s", - $self->{systemStatusSystemStateDescription}); - if ($self->{systemStatusState} =~ /green/) { - $self->add_ok(); - } elsif ($self->{systemStatusState} eq "yellow") { - $self->add_warning(); - } elsif ($self->{systemStatusState} eq "red") { - $self->add_critical(); - } else { - $self->add_unknown(); - } -} - -sub dump { - my ($self) = @_; - $self->{disk_subsystem}->dump(); - $self->SUPER::dump(); -} - - -package CheckNwcHealth::Cisco::Viptela::Component::EnvironmentalSubsystem::HWEnv; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/Viptela/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/Viptela/Component/MemSubsystem.pm deleted file mode 100644 index 8371e23..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/Viptela/Component/MemSubsystem.pm +++ /dev/null @@ -1,39 +0,0 @@ -package CheckNwcHealth::Cisco::Viptela::Component::MemSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - my $sysdescr = $self->get_snmp_objects('VIPTELA-OPER-SYSTEM', (qw( - systemStatusMemTotal systemStatusMemUsed systemStatusMemFree - systemStatusMemBuffers systemStatusMemCached - ))); - # siehe CheckNwcHealth::UCDMIB::Component::MemSubsystem - my $mem_available = $self->{systemStatusMemFree}; - foreach (qw(systemStatusMemBuffers systemStatusMemCached)) { - $mem_available += $self->{$_} if defined($self->{$_}); - } - $self->{mem_usage} = 100 - ($mem_available * 100 / $self->{systemStatusMemTotal}); - # auf den ersten Blick wird systemStatusMemUsed ebenso bestimmt - $self->{mem_usage} = $self->{systemStatusMemUsed} / $self->{systemStatusMemTotal} * 100; -} - -sub check { - my ($self) = @_; - $self->add_info('checking memory'); - $self->add_info(sprintf 'memory usage is %.2f%%', - $self->{mem_usage}); - $self->set_thresholds( - metric => 'memory_usage', - warning => 80, - critical => 90); - $self->add_message($self->check_thresholds( - metric => 'memory_usage', - value => $self->{mem_usage})); - $self->add_perfdata( - label => 'memory_usage', - value => $self->{mem_usage}, - uom => '%', - ); -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/Viptela/Component/SdwanSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/Viptela/Component/SdwanSubsystem.pm deleted file mode 100644 index 7b02adc..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/Viptela/Component/SdwanSubsystem.pm +++ /dev/null @@ -1,42 +0,0 @@ -package CheckNwcHealth::Cisco::Viptela::Component::SdwanSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-SDWAN-BFD-MIB'} = { - 'bfdSummary' => '1.3.6.1.4.1.9.9.1002.1.1.5', - 'bfdSummaryBfdSessionsTotal' => '1.3.6.1.4.1.9.9.1002.1.1.5.1', - 'bfdSummaryBfdSessionsUp' => '1.3.6.1.4.1.9.9.1002.1.1.5.2', - 'bfdSummaryBfdSessionsMax' => '1.3.6.1.4.1.9.9.1002.1.1.5.3', - 'bfdSummaryBfdSessionsFlap' => '1.3.6.1.4.1.9.9.1002.1.1.5.4', - }; - $self->get_snmp_objects("CISCO-SDWAN-BFD-MIB", qw(bfdSummaryBfdSessionsTotal bfdSummaryBfdSessionsUp)); - $self->{session_availability} = $self->{bfdSummaryBfdSessionsTotal} == 0 ? 0 : ( - $self->{bfdSummaryBfdSessionsUp} / - $self->{bfdSummaryBfdSessionsTotal} - ) * 100; -} - -sub check { - my ($self) = @_; - if ($self->mode eq "device::sdwan::session::availability") { - $self->add_info(sprintf "%d of %d sessions are up (%.2f%%)", - $self->{bfdSummaryBfdSessionsUp}, - $self->{bfdSummaryBfdSessionsTotal}, - $self->{session_availability}); - $self->set_thresholds(metric => "session_availability", - warning => "100:", - critical => "50:"); - $self->add_message($self->check_thresholds( - metric => "session_availability", - value => $self->{session_availability})); - $self->add_perfdata( - label => 'session_availability', - value => $self->{session_availability}, - uom => '%', - ); - } -} - -1; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Clavister.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Clavister.pm deleted file mode 100644 index 9197b6e..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Clavister.pm +++ /dev/null @@ -1,19 +0,0 @@ -package CheckNwcHealth::Clavister; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - -use constant trees => ( - '1.3.6.1.4.1.5089', # CLAVISTER-MIB -); - -sub init { - my ($self) = @_; - if ($self->{productname} =~ /Clavister/i) { - bless $self, 'CheckNwcHealth::Clavister::Firewall1'; - $self->debug('using CheckNwcHealth::Clavister::Firewall1'); - } - if (ref($self) ne "CheckNwcHealth::Clavister") { - $self->init(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Clavister/Firewall1.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Clavister/Firewall1.pm deleted file mode 100644 index 11533c8..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Clavister/Firewall1.pm +++ /dev/null @@ -1,17 +0,0 @@ -package CheckNwcHealth::Clavister::Firewall1; -our @ISA = qw(CheckNwcHealth::Clavister); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Clavister::Firewall1::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::Clavister::Firewall1::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::Clavister::Firewall1::Component::MemSubsystem"); - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/DrayTek/Vigor.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/DrayTek/Vigor.pm deleted file mode 100644 index f8d767e..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/DrayTek/Vigor.pm +++ /dev/null @@ -1,17 +0,0 @@ -package CheckNwcHealth::DrayTek::Vigor; -our @ISA = qw(CheckNwcHealth::DrayTek); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::DrayTek::Vigor::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::DrayTek::Vigor::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::DrayTek::Vigor::Component::MemSubsystem"); - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/ENTITYSENSORMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/ENTITYSENSORMIB.pm deleted file mode 100644 index 02c2df8..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/ENTITYSENSORMIB.pm +++ /dev/null @@ -1,4 +0,0 @@ -package CheckNwcHealth::ENTITYSENSORMIB; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Eltex.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Eltex.pm deleted file mode 100644 index a667c22..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Eltex.pm +++ /dev/null @@ -1,19 +0,0 @@ -package CheckNwcHealth::Eltex; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - -sub init { - my ($self) = @_; - if ($self->{productname} =~ /(MES2324B)|(MES2324F)|(MES31)|(MES53)/i) { - bless $self, 'CheckNwcHealth::Eltex::Aggregation'; - $self->debug('using CheckNwcHealth::Eltex::Aggregation'); - } elsif ($self->{productname} =~ /(MES21)|(MES23)/i) { - bless $self, 'CheckNwcHealth::Eltex::Access'; - $self->debug('using CheckNwcHealth::Eltex::Access'); - } - if (ref($self) ne "CheckNwcHealth::Eltex") { - $self->init(); - } else { - $self->no_such_mode(); - } -} diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP.pm deleted file mode 100644 index 977bdb6..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP.pm +++ /dev/null @@ -1,54 +0,0 @@ -package CheckNwcHealth::F5::F5BIGIP; -our @ISA = qw(CheckNwcHealth::F5); -use strict; - -sub init { - my ($self) = @_; - # gets 11.* and 9.* - $self->{sysProductVersion} = $self->get_snmp_object('F5-BIGIP-SYSTEM-MIB', 'sysProductVersion'); - $self->{sysPlatformInfoMarketingName} = $self->get_snmp_object('F5-BIGIP-SYSTEM-MIB', 'sysPlatformInfoMarketingName'); - if (! defined $self->{sysProductVersion} || - $self->{sysProductVersion} !~ /^((9)|(10)|(11)|(12)|(13)|(14)|(15)|(16))/) { - $self->{sysProductVersion} = "4"; - } - if ($self->mode =~ /device::hardware::health/) { - if (! $self->get_snmp_object('F5-BIGIP-SYSTEM-MIB', 'sysChassisFanNumber') && - ! $self->get_snmp_object('F5-BIGIP-SYSTEM-MIB', 'sysChassisPowerSupplyNumber')) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::EnvironmentalSubsystem"); - } else { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::F5::F5BIGIP::Component::EnvironmentalSubsystem"); - } - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::F5::F5BIGIP::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::F5::F5BIGIP::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::F5::F5BIGIP::Component::MemSubsystem"); - } elsif ($self->mode =~ /device::lb/) { - if ($self->opts->role && $self->opts->role eq "gtm") { - $self->analyze_and_check_gtm_subsystem("CheckNwcHealth::F5::F5BIGIP::Component::GTMSubsystem"); - } else { - $self->analyze_and_check_ltm_subsystem(); - } - } elsif ($self->mode =~ /device::wideip/) { - $self->analyze_and_check_gtm_subsystem("CheckNwcHealth::F5::F5BIGIP::Component::GTMSubsystem"); - } elsif ($self->mode =~ /device::users::count/) { - $self->analyze_and_check_connection_subsystem("CheckNwcHealth::F5::F5BIGIP::Component::ConnectionSubsystem"); - } elsif ($self->mode =~ /device::connections::count/) { - $self->analyze_and_check_connection_subsystem("CheckNwcHealth::F5::F5BIGIP::Component::ConnectionSubsystem"); - } elsif ($self->mode =~ /device::config/) { - $self->analyze_and_check_config_subsystem("CheckNwcHealth::F5::F5BIGIP::Component::ConfigSubsystem"); - } elsif ($self->mode =~ /device::ha::/) { - $self->analyze_and_check_ha_subsystem("CheckNwcHealth::F5::F5BIGIP::Component::HaSubsystem"); - } elsif ($self->mode =~ /device::vip/) { - $self->analyze_and_check_vip_subsystem("CheckNwcHealth::F5::F5BIGIP::Component::VipSubsystem"); - } else { - $self->no_such_mode(); - } -} - -sub analyze_ltm_subsystem { - my ($self) = @_; - $self->{components}->{ltm_subsystem} = - CheckNwcHealth::F5::F5BIGIP::Component::LTMSubsystem->new('sysProductVersion' => $self->{sysProductVersion}, sysPlatformInfoMarketingName => $self->{sysPlatformInfoMarketingName}); -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FCEOS.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FCEOS.pm deleted file mode 100644 index 2271be7..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FCEOS.pm +++ /dev/null @@ -1,4 +0,0 @@ -package CheckNwcHealth::FCEOS; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FCMGMT.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FCMGMT.pm deleted file mode 100644 index b8ecd63..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FCMGMT.pm +++ /dev/null @@ -1,4 +0,0 @@ -package CheckNwcHealth::FCMGMT; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FabOS.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FabOS.pm deleted file mode 100644 index c477e17..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FabOS.pm +++ /dev/null @@ -1,20 +0,0 @@ -package CheckNwcHealth::FabOS; -our @ISA = qw(CheckNwcHealth::Brocade); -use strict; - - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::FabOS::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::FabOS::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::FabOS::Component::MemSubsystem"); - } elsif ($self->mode =~ /device::interfaces/) { - $self->analyze_and_check_interface_subsystem("CheckNwcHealth::FabOS::Component::InterfaceSubsystem"); - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FabOS/Component/InterfaceSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FabOS/Component/InterfaceSubsystem.pm deleted file mode 100644 index 6563133..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FabOS/Component/InterfaceSubsystem.pm +++ /dev/null @@ -1,98 +0,0 @@ -package CheckNwcHealth::FabOS::Component::InterfaceSubsystem; -our @ISA = qw(CheckNwcHealth::IFMIB::Component::InterfaceSubsystem); -use strict; - -sub enrich_interface_cache { - my ($self) = @_; - $self->get_snmp_tables('SW-MIB', [ - ['fcinterfaces', 'swFCPortTable', 'Monitoring::GLPlugin::SNMP::TableItem', undef, ['swFCPortIndex', 'swFCPortName', "swFCPortPhyState"]], - ]); - foreach my $index (keys %{$self->{interface_cache}}) { - my $ifDescr = $self->{interface_cache}->{$index}->{ifDescr}; - if ($ifDescr =~ /FC port 0\/(\d+)/) { - my $label = $1; - foreach my $fcinterface (@{$self->{fcinterfaces}}) { - if ($fcinterface->{swFCPortName} && - $fcinterface->{swFCPortIndex} == $label + 1 && - $fcinterface->{swFCPortName} !~ /^port\d+$/) { - $self->{interface_cache}->{$index}->{swFCPortName} = - $fcinterface->{swFCPortName}; - $self->{interface_cache}->{$index}->{swFCPortIndex} = - $fcinterface->{swFCPortIndex}; - } - } - if (! exists $self->{interface_cache}->{$index}->{swFCPortName}) { - foreach my $fcinterface (@{$self->{fcinterfaces}}) { - if ($fcinterface->{swFCPortName} && - $fcinterface->{swFCPortIndex} == $label + 1 && - $fcinterface->{swFCPortName} eq "port".$label) { - $self->{interface_cache}->{$index}->{swFCPortName} = - $fcinterface->{swFCPortName}; - $self->{interface_cache}->{$index}->{swFCPortIndex} = - $fcinterface->{swFCPortIndex}; - $self->{interface_cache}->{$index}->{swFCPortPhyState} = - $fcinterface->{swFCPortPhyState}; - } - } - } - } - } -} - -sub get_interface_indices { - my ($self) = @_; - # --name3 swFCPortName - # wer sowas haben will: kostet 2880 Euro. - $self->SUPER::get_interface_indices(); -} - -sub enrich_interface_attributes { - my ($self, $interface) = @_; - foreach my $index (keys %{$self->{interface_cache}}) { - if ($index eq $interface->{flat_indices}) { - if (exists $self->{interface_cache}->{$index}->{swFCPortName}) { - $interface->{swFCPortName} = - $self->{interface_cache}->{$index}->{swFCPortName}; - $interface->{swFCPortIndex} = - $self->{interface_cache}->{$index}->{swFCPortIndex}; - if (! $interface->{ifAlias} || $interface->{ifAlias} eq '________') { - $interface->{ifAlias} = $interface->{swFCPortName}; - } - if ($self->mode =~ /device::interfaces::operstatus/) { - $interface->{swFCPortPhyState} = $self->get_snmp_object("SW-MIB", "swFCPortPhyState", $interface->{swFCPortIndex}); - } - } - } - } -} - -# eigentlich unnoetig, aber CheckNwcHealth::IFMIB::Component::InterfaceSubsystem -# blesst ref($self)::Interface -# falls es mal doch nich noetig sein sollte, am interface-check() was zu drehen -# -package CheckNwcHealth::FabOS::Component::InterfaceSubsystem::Interface; -our @ISA = qw(CheckNwcHealth::IFMIB::Component::InterfaceSubsystem::Interface); -use strict; - -sub check { - my ($self) = @_; - $self->SUPER::check(); - if ($self->mode =~ /device::interfaces::operstatus/) { - if (exists $self->{swFCPortPhyState}) { - $self->add_info(sprintf "%s has physical status %s", - $self->{swFCPortName}, $self->{swFCPortPhyState}); - if ($self->{swFCPortPhyState} =~ /(laserFault|noLight|portFault|diagFault|invalidModule)/) { - $self->add_critical(); - } elsif ($self->{swFCPortPhyState} =~ /(noSync|noSigDet)/) { - $self->add_warning(); - } elsif ($self->{swFCPortPhyState} =~ /(unknown|noCard|noTransceiver)/) { - $self->add_warning(); - } - } - } -} - -package CheckNwcHealth::FabOS::Component::InterfaceSubsystem::Interface::64bit; -our @ISA = qw(CheckNwcHealth::IFMIB::Component::InterfaceSubsystem::Interface::64bit); -use strict; - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Fortigate.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Fortigate.pm deleted file mode 100644 index c1dc202..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Fortigate.pm +++ /dev/null @@ -1,21 +0,0 @@ -package CheckNwcHealth::Fortigate; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Fortigate::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::Fortigate::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::Fortigate::Component::MemSubsystem"); - } elsif ($self->mode =~ /device::ha::/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::Fortigate::Component::HaSubsystem"); - } elsif ($self->mode =~ /device::vpn::sessions/) { - $self->analyze_and_check_config_subsystem("CheckNwcHealth::Fortigate::Component::VpnSubsystem"); - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Fortigate/Component/VpnSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Fortigate/Component/VpnSubsystem.pm deleted file mode 100644 index c6bf428..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Fortigate/Component/VpnSubsystem.pm +++ /dev/null @@ -1,24 +0,0 @@ -package CheckNwcHealth::Fortigate::Component::VpnSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self, %params) = @_; - my $type = 0; - $self->get_snmp_objects('FORTINET-FORTIGATE-MIB', (qw( - fgSysSesCount))); -} - -sub check { - my ($self) = @_; - my $errorfound = 0; - $self->add_info('checking vpn sessions'); - $self->add_info(sprintf '%u vpn sessions', $self->{fgSysSesCount}); - $self->set_thresholds(warning => 25000, critical => 50000); - $self->add_message($self->check_thresholds($self->{fgSysSesCount})); - $self->add_perfdata( - label => 'vpn_session_count', - value => $self->{fgSysSesCount}, - ); -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Foundry.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Foundry.pm deleted file mode 100644 index edd5cd8..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Foundry.pm +++ /dev/null @@ -1,19 +0,0 @@ -package CheckNwcHealth::Foundry; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Foundry::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::Foundry::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::Foundry::Component::MemSubsystem"); - } elsif ($self->mode =~ /device::lb/) { - $self->analyze_and_check_slb_subsystem("CheckNwcHealth::Foundry::Component::SLBSubsystem"); - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HH3C.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HH3C.pm deleted file mode 100644 index a516871..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HH3C.pm +++ /dev/null @@ -1,17 +0,0 @@ -# HP Huawei 3Com -package CheckNwcHealth::HH3C; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::HH3C::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::HH3C::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::HH3C::Component::MemSubsystem"); - } else { - $self->no_such_mode(); - } -} diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HOSTRESOURCESMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HOSTRESOURCESMIB.pm deleted file mode 100644 index 144e54a..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HOSTRESOURCESMIB.pm +++ /dev/null @@ -1,21 +0,0 @@ -package CheckNwcHealth::HOSTRESOURCESMIB; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::EnvironmentalSubsystem"); - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::LMSENSORSMIB::Component::EnvironmentalSubsystem"); - if (! $self->check_messages()) { - $self->reduce_messages("hardware working fine"); - } - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::MemSubsystem"); - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Aruba.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Aruba.pm deleted file mode 100644 index 3ed4ff9..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Aruba.pm +++ /dev/null @@ -1,30 +0,0 @@ -package CheckNwcHealth::HP::Aruba; -our @ISA = qw(CheckNwcHealth::HP); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::HP::Aruba::Component::EnvironmentalSubsystem"); - if ($self->implements_mib("iiENTITY-SENSOR-MIB")) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::ENTITYSENSORMIB::Component::EnvironmentalSubsystem"); - } - $self->analyze_and_check_disk_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::DiskSubsystem"); - $self->reduce_messages_short('environmental hardware working fine'); - } elsif ($self->mode =~ /device::hardware::load/) { - if ($self->implements_mib("ARUBAWIRED-VSF-MIB")) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::HP::Aruba::Component::CpuSubsystem"); - } else { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::CpuSubsystem"); - } - } elsif ($self->mode =~ /device::hardware::memory/) { - if ($self->implements_mib("ARUBAWIRED-VSF-MIB")) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::HP::Aruba::Component::CpuSubsystem"); - } else { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::MemSubsystem"); - } - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Aruba/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Aruba/Component/CpuSubsystem.pm deleted file mode 100644 index 440f41d..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Aruba/Component/CpuSubsystem.pm +++ /dev/null @@ -1,40 +0,0 @@ -package CheckNwcHealth::HP::Aruba::Component::CpuSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $self->get_snmp_tables('ARUBAWIRED-VSF-MIB', [ - ['members', 'arubaWiredVsfCpuberTable', 'CheckNwcHealth::HP::Aruba::Component::CpuSubsystem::Cpu'], - ]); -} - -sub check { - my ($self) = @_; - $self->add_info('checking cpus'); - if (scalar (@{$self->{members}}) == 0) { - } else { - foreach (@{$self->{members}}) { - $_->check(); - } - } -} - - -package CheckNwcHealth::HP::Aruba::Component::CpuSubsystem::Cpu; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub check { - my ($self) = @_; - $self->add_info(sprintf 'cpu %s usage is %.2f', - $self->{flat_indices}, $self->{usage}); - $self->set_thresholds(warning => 80, critical => 90); - $self->add_message($self->check_thresholds($self->{usage})); - $self->add_perfdata( - label => 'cpu'.$self->{flat_indices}.'_usage', - value => $self->{arubaWiredVsfMemberCpuUtil}, - uom => '%', - ); -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Aruba/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Aruba/Component/EnvironmentalSubsystem.pm deleted file mode 100644 index fd7772c..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Aruba/Component/EnvironmentalSubsystem.pm +++ /dev/null @@ -1,30 +0,0 @@ -package CheckNwcHealth::HP::Aruba::Component::EnvironmentalSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $self->{powersupply_subsystem} = - CheckNwcHealth::HP::Aruba::Component::PowersupplySubsystem->new(); - $self->{fan_subsystem} = - CheckNwcHealth::HP::Aruba::Component::FanSubsystem->new(); - $self->{temperature_subsystem} = - CheckNwcHealth::HP::Aruba::Component::TemperatureSubsystem->new(); -} - -sub check { - my ($self) = @_; - $self->{powersupply_subsystem}->check(); - $self->{fan_subsystem}->check(); - $self->{temperature_subsystem}->check(); - $self->reduce_messages("hardware working fine"); -} - -sub xdump { - my ($self) = @_; - $self->{powersupply_subsystem}->dump(); - $self->{fan_subsystem}->dump(); - $self->{temperature_subsystem}->dump(); -} - - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Aruba/Component/FanSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Aruba/Component/FanSubsystem.pm deleted file mode 100644 index 94ec9d6..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Aruba/Component/FanSubsystem.pm +++ /dev/null @@ -1,31 +0,0 @@ -package CheckNwcHealth::HP::Aruba::Component::FanSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $self->get_snmp_tables('ARUBAWIRED-FAN-MIB', [ - ['fans', 'arubaWiredFanTable', 'CheckNwcHealth::HP::Aruba::Component::FanSubsystem::Fan'], - ]); -} - -package CheckNwcHealth::HP::Aruba::Component::FanSubsystem::Fan; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub check { - my ($self) = @_; - $self->add_info(sprintf 'fan %s/%s status is %s', - $self->{flat_indices}, - $self->{arubaWiredFanName}, - $self->{arubaWiredFanState}); - if ($self->{arubaWiredFanState} eq 'ok') { - $self->add_ok(); - } else { - $self->add_critical(); - } - my $label = sprintf "fan_%s_rpm", $self->{flat_indices}; - $self->add_perfdata(label => $label, - value => $self->{arubaWiredFanRPM}, - ); -} diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Aruba/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Aruba/Component/MemSubsystem.pm deleted file mode 100644 index 3799c64..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Aruba/Component/MemSubsystem.pm +++ /dev/null @@ -1,42 +0,0 @@ -package CheckNwcHealth::HP::Aruba::Component::MemSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $self->get_snmp_tables('ARUBAWIRED-VSF-MIB', [ - ['members', 'arubaWiredVsfMemberTable', 'CheckNwcHealth::HP::Aruba::Component::MemSubsystem::Member'], - ]); -} - -sub check { - my ($self) = @_; - $self->add_info('checking memory'); - if (scalar (@{$self->{members}}) == 0) { - } else { - foreach (@{$self->{members}}) { - $_->check(); - } - } -} - - -package CheckNwcHealth::HP::Aruba::Component::MemSubsystem::Member; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub check { - my ($self) = @_; - $self->{usage} = $self->{arubaWiredVsfMemberCurrentUsage} / - $self->{arubaWiredVsfMemberTotalMemory} * 100; - $self->add_info(sprintf 'member %s memory usage is %.2f', - $self->{arubaWiredVsfMemberIndex}, $self->{usage}); - $self->set_thresholds(warning => 80, critical => 90); - $self->add_message($self->check_thresholds($self->{usage})); - $self->add_perfdata( - label => 'memory_'.$self->{arubaWiredVsfMemberIndex}.'_usage', - value => $self->{usage}, - uom => '%', - ); -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Aruba/Component/PowersupplySubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Aruba/Component/PowersupplySubsystem.pm deleted file mode 100644 index edb3a57..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Aruba/Component/PowersupplySubsystem.pm +++ /dev/null @@ -1,35 +0,0 @@ -package CheckNwcHealth::HP::Aruba::Component::PowersupplySubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $self->get_snmp_tables('ARUBAWIRED-POWERSUPPLY-MIB', [ - ['powersupplies', 'arubaWiredPowerSupplyTable', 'CheckNwcHealth::HP::Aruba::Component::PowersupplySubsystem::Powersupply'], - ]); - $self->get_snmp_tables('ENTITY-MIBx', [ - ['powersupplies2', 'entPhysicalTable', 'Monitoring::GLPlugin::SNMP::TableItem'], - ]); -} - -package CheckNwcHealth::HP::Aruba::Component::PowersupplySubsystem::Powersupply; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub check { - my ($self) = @_; - $self->add_info(sprintf 'power supply %d/%s status is %s', - $self->{arubaWiredPSUSlotIndex}, - $self->{arubaWiredPSUName}, - $self->{arubaWiredPSUState}); - if ($self->{arubaWiredPSUState} eq 'ok') { - $self->add_ok(); - } else { - $self->add_critical(); - } - my $label = sprintf "ps_%d_power", $self->{arubaWiredPSUSlotIndex}; - $self->add_perfdata(label => $label, - value => $self->{arubaWiredPSUInstantaneousPower}, - max => $self->{arubaWiredPSUMaximumPower} - ); -} diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Aruba/Component/TemperatureSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Aruba/Component/TemperatureSubsystem.pm deleted file mode 100644 index 841617d..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Aruba/Component/TemperatureSubsystem.pm +++ /dev/null @@ -1,41 +0,0 @@ -package CheckNwcHealth::HP::Aruba::Component::TemperatureSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $self->get_snmp_tables('ARUBAWIRED-TEMPSENSOR-MIB', [ - ['temps', 'arubaWiredTempSensorTable', 'CheckNwcHealth::HP::Aruba::Component::TemperatureSubsystem::Tempsensor'], - ]); -} - -package CheckNwcHealth::HP::Aruba::Component::TemperatureSubsystem::Tempsensor; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub finish { - my ($self) = @_; - $self->{arubaWiredTempSensorTemperature} /= 1000; - # nur historische werte, keine thresholds - $self->{arubaWiredTempSensorMaxTemp} /= 1000; - $self->{arubaWiredTempSensorMinTemp} /= 1000; -} - -sub check { - my ($self) = @_; - $self->add_info(sprintf 'temperature %s/%s is %.2fC, %s', - $self->{flat_indices}, - $self->{arubaWiredTempSensorName}, - $self->{arubaWiredTempSensorTemperature}, - $self->{arubaWiredTempSensorState} - ); - if ($self->{arubaWiredTempSensorState} eq 'normal') { - $self->add_ok(); - } else { - $self->add_critical(); - } - my $label = sprintf "temp_%s", $self->{flat_indices}; - $self->add_perfdata(label => $label, - value => $self->{arubaWiredTempSensorTemperature}, - ); -} diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Procurve/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Procurve/Component/EnvironmentalSubsystem.pm deleted file mode 100644 index 3e94880..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Procurve/Component/EnvironmentalSubsystem.pm +++ /dev/null @@ -1,17 +0,0 @@ -package CheckNwcHealth::HP::Procurve::Component::EnvironmentalSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - if ($self->implements_mib('HP-ICF-CHASSIS')) { - $self->analyze_and_check_sensor_subsystem('CheckNwcHealth::HP::Procurve::Component::SensorSubsystem'); - } else { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::ENTITYSENSORMIB::Component::EnvironmentalSubsystem"); - } - if (! $self->check_messages()) { - $self->add_ok("environmental hardware working fine"); - } -} - - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HSRP.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HSRP.pm deleted file mode 100644 index 4546e0d..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HSRP.pm +++ /dev/null @@ -1,4 +0,0 @@ -package CheckNwcHealth::HSRP; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Huawei.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Huawei.pm deleted file mode 100644 index 21c102a..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Huawei.pm +++ /dev/null @@ -1,45 +0,0 @@ -package CheckNwcHealth::Huawei; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - -sub init { - my ($self) = @_; - my $sysobj = $self->get_snmp_object('MIB-2-MIB', 'sysObjectID', 0); - if ($sysobj =~ /^\.*1\.3\.6\.1\.4\.1\.2011\.2\.239/) { - bless $self, 'CheckNwcHealth::Huawei::CloudEngine'; - $self->debug('using CheckNwcHealth::Huawei::CloudEngine'); - } - if (ref($self) ne "CheckNwcHealth::Huawei") { - $self->init(); - } else { - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Huawei::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::Huawei::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::Huawei::Component::MemSubsystem"); - } elsif ($self->mode =~ /device::wlan/) { - $self->analyze_and_check_wlan_subsystem("CheckNwcHealth::Huawei::Component::WlanSubsystem"); - } elsif ($self->mode =~ /device::interfaces::vlan:mac::count/) { - $self->analyze_and_check_vlan_subsystem("CheckNwcHealth::Huawei::HUAWEIL2MAMMIB::Component::VlanSubsystem"); - #$self->analyze_and_check_vlan_subsystem("CheckNwcHealth::Huawei::HUAWEIL2VLANMIB::Component::VlanSubsystem"); - } elsif ($self->mode =~ /device::bgp/) { - if ($self->implements_mib('HUAWEI-BGP-VPN-MIB', 'hwBgpPeerAddrFamilyTable')) { - $self->analyze_and_check_interface_subsystem("CheckNwcHealth::Huawei::Component::PeerSubsystem"); - } else { - $self->establish_snmp_secondary_session(); - if ($self->implements_mib('HUAWEI-BGP-VPN-MIB', 'hwBgpPeerAddrFamilyTable')) { - $self->analyze_and_check_interface_subsystem("CheckNwcHealth::Huawei::Component::PeerSubsystem"); - } else { - $self->establish_snmp_session(); - $self->debug("no HUAWEI-BGP-VPN-MIB and/or no hwBgpPeerAddrFamilyTable, fallback"); - $self->no_such_mode(); - } - } - - } else { - $self->no_such_mode(); - } - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Huawei/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Huawei/Component/EnvironmentalSubsystem.pm deleted file mode 100644 index ef33d79..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Huawei/Component/EnvironmentalSubsystem.pm +++ /dev/null @@ -1,305 +0,0 @@ -package CheckNwcHealth::Huawei::Component::EnvironmentalSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $self->get_snmp_tables_cached('ENTITY-MIB', [ - # kann man cachen, denke ich. Es wird kaum reingesteckt und rausgezogen werden - # im laufenden Betrieb. Und falls doch und falls es monitoringseitig kracht, - # dann beschwert euch beim Huawei (s.u. SNMP-Bremse) - # Oder kauft kein Billigzeug - ['modules', 'entPhysicalTable', - 'CheckNwcHealth::Huawei::Component::EnvironmentalSubsystem::Module', - sub { my ($o) = @_; $o->{entPhysicalClass} eq 'module' }, - ['entPhysicalClass', 'entPhysicalDescr', 'entPhysicalName']], - ['fans', 'entPhysicalTable', - 'CheckNwcHealth::Huawei::Component::EnvironmentalSubsystem::Fan', - sub { my ($o) = @_; $o->{entPhysicalClass} eq 'fan' }, - ['entPhysicalClass', 'entPhysicalDescr', 'entPhysicalName']], - ['powersupplies', 'entPhysicalTable', - 'CheckNwcHealth::Huawei::Component::EnvironmentalSubsystem::Powersupply', - sub { my ($o) = @_; $o->{entPhysicalClass} eq 'powerSupply' }, - ['entPhysicalClass', 'entPhysicalDescr', 'entPhysicalName']], - ], 3600); - # heuristic tweaking. there was a device which intentionally slowed down - # snmp responses when a large amount of data was transmitted. - # Tatsaechlich hat Huawei sowas wie eine Denial-of-Sonstwas-Bremse drin - # Daher reduktion auf die noetigsten Spalten und nicht uebertreiben bei - # den PDU-Groessen. - $self->mult_snmp_max_msg_size(10); - #$self->bulk_is_baeh(30); - foreach (qw(modules fans powersupplies)) { - # we need to get the table inside the loop, as merge_table deletes - # entitystates. get_snmp_tables will read from the cache. - $self->get_snmp_tables('HUAWEI-ENTITY-EXTENT-MIB', [ - ['entitystates', 'hwEntityStateTable', - 'Monitoring::GLPlugin::SNMP::TableItem', undef, [ - "hwEntityOperStatus", "hwEntityAdminStatus", "hwEntityAlarmLight", - "hwEntityTemperature", "hwEntityTemperatureLowThreshold", - "hwEntityTemperatureMinorThreshold", "hwEntityTemperatureThreshold", - "hwEntityFaultLight", "hwEntityDeviceStatus", - ]], - ]); - $self->debug(sprintf "found %d %s", scalar(@{$self->{entitystates}}), "entitystates"); - $self->debug(sprintf "found %d %s", scalar(@{$self->{$_}}), $_); - $self->merge_tables($_, "entitystates"); - } - $self->get_snmp_tables('HUAWEI-ENTITY-EXTENT-MIB', [ - ['fanstates', 'hwFanStatusTable', 'CheckNwcHealth::Huawei::Component::EnvironmentalSubsystem::FanStatus'] - ]); - $self->debug(sprintf "found %d %s", scalar(@{$self->{fanstates}}), "fanstates"); - if (@{$self->{fanstates}} && ! @{$self->{fans}}) { - # gibts auch, d.h. retten, was zu retten ist - @{$self->{fanstates}} = grep { - $_->{hwEntityFanPresent} eq "present"; - } @{$self->{fanstates}}; - } else { - $self->merge_tables_with_code("fans", "fanstates", sub { - my ($fan, $fanstate) = @_; - return ($fan->{entPhysicalName} eq sprintf("FAN %d/%d", - $fanstate->{hwEntityFanSlot}, $fanstate->{hwEntityFanSn})) ? 1 : 0; - }); - if (grep { exists $_->{hwEntityFanState} } @{$self->{fans}}) { - # fans and fanstates matched, check fans - } else { - # $fan->{entPhysicalName} and $fanstate->{Slot/Sn} were different - # there was also a device with 4 fans and 8 fanstates. Dreck! - # better check fanstates - $self->get_snmp_tables('HUAWEI-ENTITY-EXTENT-MIB', [ - ['fanstates', 'hwFanStatusTable', 'CheckNwcHealth::Huawei::Component::EnvironmentalSubsystem::FanStatus'] - ]); - delete $self->{fans}; - } - } -} - - -package CheckNwcHealth::Huawei::Component::EnvironmentalSubsystem::FanStatus; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub finish { - my ($self) = @_; - $self->{name} = $self->{hwEntityFanDesc} || sprintf("FAN %d/%d", - $self->{hwEntityFanSlot}, $self->{hwEntityFanSn}); -} - -sub check { - my ($self) = @_; - $self->add_info(sprintf 'fan %s state is %s', - $self->{name}, - $self->{hwEntityFanState}); - if ($self->{hwEntityFanState} ne 'normal') { - $self->add_warning(); - } - $self->add_perfdata( - label => 'rpm_'.$self->{name}, - value => $self->{hwEntityFanSpeed}, - uom => '%', - ); -} - -package CheckNwcHealth::Huawei::Component::EnvironmentalSubsystem::Entity; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub finish_after_merge { - my ($self) = @_; - $self->{hwEntityAlarmLight} = "notSupported" if ! defined $self->{hwEntityAlarmLight}; - $self->{hwEntityTemperature} = undef - if ($self->{hwEntityTemperature} and - $self->{hwEntityTemperature} == 2147483647); - # kommt auch vor, dass die nicht existieren. Im Zweifelsfall "up" - $self->{hwEntityAdminStatus} ||= "up"; - $self->{hwEntityOperStatus} ||= "up"; -} - -sub check { - my ($self) = @_; - if ($self->{hwEntityOperStatus} eq 'down' || - $self->{hwEntityOperStatus} eq 'disabled' || - $self->{hwEntityOperStatus} eq 'offline') { - # disabled is the important one - # A value of disabled means the resource is totally - # inoperable. A value of enabled means the resource - # is partially or fully operableA" - $self->add_warning(); - } - if ($self->{hwEntityTemperature}) { - # Es gibt viele module POWER Card 0/PWR1 temperature is 0.00 - # Selbst am Nordpol duerfte so ein Ding waermer als 0 Grad sein, also - # gehe ich davon aus, daß da kein Sensor verbaut ist. - $self->add_info(sprintf 'module %s temperature is %.2f', - $self->{entPhysicalName}, $self->{hwEntityTemperature}); - $self->set_thresholds( - metric => 'temp_'.$self->{entPhysicalName}, - warning => $self->{hwEntityTemperatureLowThreshold}.':'.$self->{hwEntityTemperatureThreshold}, - critical => $self->{hwEntityTemperatureLowThreshold}.':'.$self->{hwEntityTemperatureThreshold}, - ); - my $level = $self->check_thresholds( - metric => 'temp_'.$self->{entPhysicalName}, - value => $self->{hwEntityTemperature}); - $self->add_message($level); - $self->add_perfdata( - label => 'temp_'.$self->{entPhysicalName}, - value => $self->{hwEntityTemperature}, - ); - } - if ($self->{hwEntityAlarmLight}) { - my @alarms = grep { - # Hab nachschauen lassen bei einem fetten Router, der bei allen Modulen - # und Powersupplies "alarm light status is indeterminate" angezeigt hat. - # "die Kiste sieht in Ordnung aus" - # Also fliegt das raus, denn beim ersten Alarm wuerde es sowieso wieder - # heissen "mimimi, kann man das nicht clientseitig abfangen?" - $_ ne "indeterminate"; - } grep { - # Den auch nochmal putzen - $_ ne "notSupported"; - } split(",", $self->{hwEntityAlarmLight}); - $self->annotate_info("alarm light status is ".join("+", @alarms)) - if (@alarms); - foreach my $alarm (@alarms) { - if ($alarm eq "underRepair" or $alarm eq "minor" or $alarm eq "warning") { - $self->add_warning($alarm." alarm at ".$self->{entPhysicalName}); - } elsif ($alarm eq "critical" or $alarm eq "major") { - $self->add_critical($alarm." alarm at ".$self->{entPhysicalName}); - } elsif ($alarm eq "alarmOutstanding") { - # When the value of alarm outstanding is set, one or more - # alarms is active against the resource. The fault may or may - # not be disabling. - # Kapier ich nicht ganz. Also erstmal Alarm, bis sich einer beschwert. - $self->add_critical($alarm." alarm at ".$self->{entPhysicalName}); - } - } - } - if ($self->{hwEntityFaultLight} and not $self->{hwEntityFaultLight} eq "notSupported") { - # The repair status for this entity - $self->annotate_info(sprintf 'fault light is %s', - $self->{hwEntityFaultLight}); - } - if ($self->{hwEntityDeviceStatus}) { - # seems to be a new oid, i found no sample device which has it. - $self->add_critical("status is abnormal") - if $self->{hwEntityDeviceStatus} eq "abnormal"; - } -} - - -package CheckNwcHealth::Huawei::Component::EnvironmentalSubsystem::Fan; -our @ISA = qw(CheckNwcHealth::Huawei::Component::EnvironmentalSubsystem::Entity); -use strict; - -sub check { - my ($self) = @_; - $self->finish_after_merge(); - $self->add_info(sprintf 'fan %s is %s, state is %s, admin status is %s, oper status is %s', - $self->{entPhysicalName}, $self->{hwEntityFanPresent}, - $self->{hwEntityFanState}, - $self->{hwEntityAdminStatus}, $self->{hwEntityOperStatus}); - if ($self->{hwEntityFanPresent} eq 'present') { - if ($self->{hwEntityFanState} ne 'normal') { - $self->add_warning(); - } - $self->add_perfdata( - label => 'rpm_'.$self->{entPhysicalName}, - value => $self->{hwEntityFanSpeed}, - uom => '%', - ); - } -} - - -package CheckNwcHealth::Huawei::Component::EnvironmentalSubsystem::Powersupply; -our @ISA = qw(CheckNwcHealth::Huawei::Component::EnvironmentalSubsystem::Entity); -use strict; - -sub check { - my ($self) = @_; - $self->finish_after_merge(); - $self->add_info(sprintf 'powersupply %s admin status is %s, oper status is %s', - $self->{entPhysicalName}, - $self->{hwEntityAdminStatus}, $self->{hwEntityOperStatus}); - $self->SUPER::check(); -} - -package CheckNwcHealth::Huawei::Component::EnvironmentalSubsystem::Module; -our @ISA = qw(CheckNwcHealth::Huawei::Component::EnvironmentalSubsystem::Entity); -use strict; - -sub check { - my ($self) = @_; - $self->finish_after_merge(); - $self->add_info(sprintf 'module %s admin status is %s, oper status is %s', - $self->{entPhysicalName}, - $self->{hwEntityAdminStatus}, $self->{hwEntityOperStatus}); - $self->SUPER::check(); -} - - -__END__ -entPhysicalAlias: -entPhysicalAssetID: -entPhysicalClass: module -entPhysicalContainedIn: 16842752 -entPhysicalDescr: Assembling Components-CE5800-CE5850-48T4S2Q-EI-CE5850-48T4S2Q- -EI Switch(48-Port GE RJ45,4-Port 10GE SFP+,2-Port 40GE QSFP+,Without Fan and Pow -er Module) -entPhysicalFirmwareRev: 266 -entPhysicalHardwareRev: DE51SRU1B VER D -entPhysicalIsFRU: 1 -entPhysicalMfgName: Huawei -entPhysicalModelName: -entPhysicalName: CE5850-48T4S2Q-EI 1 -entPhysicalParentRelPos: 1 -entPhysicalSerialNum: 210235527210E2000218 -entPhysicalSoftwareRev: Version 8.80 V100R003C00SPC600 -entPhysicalVendorType: .1.3.6.1.4.1.2011.20021210.12.688138 -hwEntityAdminStatus: unlocked -hwEntityEnvironmentalUsage: 14 -hwEntityEnvironmentalUsageThreshold: 95 -hwEntityFaultLight: normal -hwEntityMemSizeMega: 1837 -hwEntityMemUsage: 43 -hwEntityMemUsageThreshold: 95 -hwEntityOperStatus: enabled -hwEntityPortType: notSupported -hwEntitySplitAttribute: -hwEntityStandbyStatus: providingService -hwEntityTemperature: 33 -hwEntityTemperatureLowThreshold: 0 -hwEntityTemperatureThreshold: 62 -hwEntityUpTime: 34295804 - -# sowas gibts auch, da ist die Stromversorgung per module, nicht powerSupply -# verbaut. -[MODULE_67190797] -entPhysicalClass: module -entPhysicalDescr: POWER Card -entPhysicalName: POWER Card 0/PWR1 -hwEntityAdminStatus: unlocked -hwEntityAlarmLight: unknown_ -hwEntityBoardName: POWER -hwEntityCpuMaxUsage: 0 -hwEntityCpuUsage: 0 -hwEntityCpuUsageLowThreshold: 0 -hwEntityCpuUsageThreshold: 0 -hwEntityFaultLight: notSupported -hwEntityFaultLightKeepTime: 0 -hwEntityMemSize: 0 -hwEntityMemUsage: 0 -hwEntityMemUsageThreshold: 0 -hwEntityOperStatus: enabled -hwEntitySplitAttribute: -hwEntityStandbyStatus: notSupported -hwEntityTemperature: 0 -hwEntityTemperatureLowThreshold: 0 -hwEntityTemperatureThreshold: 0 -hwEntityUpTime: 0 -hwEntityVoltage: 0 -hwEntityVoltageHighThreshold: 0 -hwEntityVoltageLowThreshold: 0 - - - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Huawei/Component/PeerSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Huawei/Component/PeerSubsystem.pm deleted file mode 100644 index 705f1a3..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Huawei/Component/PeerSubsystem.pm +++ /dev/null @@ -1,321 +0,0 @@ -package CheckNwcHealth::Huawei::Component::PeerSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -our $errorcodes = { - # REFERENCE "RFC 4271, Section 4.5." - 0 => { - 0 => 'No Error', - }, - 1 => { - 0 => 'MESSAGE Header Error', - 1 => 'Connection Not Synchronized', - 2 => 'Bad Message Length', - 3 => 'Bad Message Type', - }, - 2 => { - 0 => 'OPEN Message Error', - 1 => 'Unsupported Version Number', - 2 => 'Bad Peer AS', - 3 => 'Bad BGP Identifier', - 4 => 'Unsupported Optional Parameter', - 5 => '[Deprecated => see Appendix A]', - 6 => 'Unacceptable Hold Time', - }, - 3 => { - 0 => 'UPDATE Message Error', - 1 => 'Malformed Attribute List', - 2 => 'Unrecognized Well-known Attribute', - 3 => 'Missing Well-known Attribute', - 4 => 'Attribute Flags Error', - 5 => 'Attribute Length Error', - 6 => 'Invalid ORIGIN Attribute', - 7 => '[Deprecated => see Appendix A]', - 8 => 'Invalid NEXT_HOP Attribute', - 9 => 'Optional Attribute Error', - 10 => 'Invalid Network Field', - 11 => 'Malformed AS_PATH', - }, - 4 => { - 0 => 'Hold Timer Expired', - }, - 5 => { - 0 => 'Finite State Machine Error', - }, - 6 => { - 0 => 'Cease', - 1 => 'Maximum Number of Prefixes Reached', - 2 => 'Administrative Shutdown', - 3 => 'Peer De-configured', - 4 => 'Administrative Reset', - 5 => 'Connection Rejected', - 6 => 'Other Configuration Change', - 7 => 'Connection Collision Resolution', - 8 => 'Out of Resources', - }, -}; - -sub init { - my ($self) = @_; - $self->{peers} = []; - $self->implements_mib('INET-ADDRESS-MIB'); - $self->get_snmp_tables('HUAWEI-BGP-VPN-MIB', [ - #['peers', 'hwBgpPeerAddrFamilyTable+hwBgpPeerTable', 'CheckNwcHealth::Huawei::Component::PeerSubsystem::Peer', sub { - # von der hwBgpPeerAddrFamilyTable verwenden wir nix und tbl+augm mit - # einer liste von columns geht eh nicht - ['peers', 'hwBgpPeerTable', 'CheckNwcHealth::Huawei::Component::PeerSubsystem::Peer', sub { - my $o = shift; - # regexp -> arschlecken! - if ($self->opts->name) { - return $self->filter_name($o->compact_v6($o->{hwBgpPeerRemoteAddr})); - } else { - return 1; - } - }, ['hwBgpPeerAdminStatus', 'hwBgpPeerFsmEstablishedTime', 'hwBgpPeerLastError', 'hwBgpPeerRemoteAddr', 'hwBgpPeerRemoteAs', 'hwBgpPeerSessionLocalAddr', 'hwBgpPeerState']], - #['sessions', 'hwBgpPeerSessionTable', 'Monitoring::GLPlugin::SNMP::TableItem'], - #['extsessions', 'hwBgpPeerSessionExtTable', 'Monitoring::GLPlugin::SNMP::TableItem'], - ]); -} - -sub check { - my ($self) = @_; - my $errorfound = 0; - $self->add_info('checking bgp peers'); - if ($self->mode =~ /peer::list/) { - foreach (sort {$a->{hwBgpPeerRemoteAddr} cmp $b->{hwBgpPeerRemoteAddr}} @{$self->{peers}}) { - printf "%s\n", $_->{hwBgpPeerRemoteAddr}; - #$_->list(); - } - $self->add_ok("have fun"); - } elsif ($self->mode =~ /peer::count/) { - $self->add_info(sprintf "found %d peers", scalar(@{$self->{peers}})); - $self->set_thresholds(warning => '1:', critical => '1:'); - $self->add_message($self->check_thresholds(scalar(@{$self->{peers}}))); - $self->add_perfdata( - label => 'peers', - value => scalar(@{$self->{peers}}), - ); - } elsif ($self->mode =~ /peer::watch/) { - # take a snapshot of the peer list. -> good baseline - # warning if there appear peers, mitigate to ok - # critical if warn/crit percent disappear - $self->{numOfPeers} = scalar (@{$self->{peers}}); - $self->{peerNameList} = [map { $_->{hwBgpPeerRemoteAddr} } @{$self->{peers}}]; - $self->opts->override_opt('lookback', 3600) if ! $self->opts->lookback; - if ($self->opts->reset) { - my $statefile = $self->create_statefile(name => 'bgppeerlist', lastarray => 1); - unlink $statefile if -f $statefile; - } - $self->valdiff({name => 'bgppeerlist', lastarray => 1}, - qw(peerNameList numOfPeers)); - my $problem = 0; - if ($self->opts->warning || $self->opts->critical) { - $self->set_thresholds(warning => $self->opts->warning, - critical => $self->opts->critical); - my $before = $self->{numOfPeers} - scalar(@{$self->{delta_found_peerNameList}}) + scalar(@{$self->{delta_lost_peerNameList}}); - # use own delta_numOfPeers, because the glplugin version treats - # negative deltas as overflows - $self->{delta_numOfPeers} = $self->{numOfPeers} - $before; - if ($self->opts->units && $self->opts->units eq "%") { - my $delta_pct = $before ? (($self->{delta_numOfPeers} / $before) * 100) : 0; - $self->add_message($self->check_thresholds($delta_pct), - sprintf "%.2f%% delta, before: %d, now: %d", $delta_pct, $before, $self->{numOfPeers}); - $problem = $self->check_thresholds($delta_pct); - } else { - $self->add_message($self->check_thresholds($self->{delta_numOfPeers}), - sprintf "%d delta, before: %d, now: %d", $self->{delta_numOfPeers}, $before, $self->{numOfPeers}); - $problem = $self->check_thresholds($self->{delta_numOfPeers}); - } - if (scalar(@{$self->{delta_found_peerNameList}}) > 0) { - $self->add_ok(sprintf 'found: %s', - join(", ", @{$self->{delta_found_peerNameList}})); - } - if (scalar(@{$self->{delta_lost_peerNameList}}) > 0) { - $self->add_ok(sprintf 'lost: %s', - join(", ", @{$self->{delta_lost_peerNameList}})); - } - } else { - if (scalar(@{$self->{delta_found_peerNameList}}) > 0) { - $self->add_warning(sprintf '%d new bgp peers (%s)', - scalar(@{$self->{delta_found_peerNameList}}), - join(", ", @{$self->{delta_found_peerNameList}})); - $problem = 1; - } - if (scalar(@{$self->{delta_lost_peerNameList}}) > 0) { - $self->add_critical(sprintf '%d bgp peers missing (%s)', - scalar(@{$self->{delta_lost_peerNameList}}), - join(", ", @{$self->{delta_lost_peerNameList}})); - $problem = 2; - } - $self->add_ok(sprintf 'found %d bgp peers', scalar (@{$self->{peers}})); - } - if ($problem) { # relevant only for lookback=9999 and support contract customers - $self->valdiff({name => 'bgppeerlist', lastarray => 1, freeze => 1}, - qw(peerNameList numOfPeers)); - } else { - $self->valdiff({name => 'bgppeerlist', lastarray => 1, freeze => 2}, - qw(peerNameList numOfPeers)); - } - $self->add_perfdata( - label => 'num_peers', - value => scalar (@{$self->{peers}}), - ); - } else { - if (scalar(@{$self->{peers}}) == 0) { - $self->add_unknown('no peers'); - return; - } - # es gibt - # kleine installation: 1 peer zu 1 as, evt 2. as als fallback - # grosse installation: n peer zu 1 as, alternative routen zum provider - # n peer zu m as, mehrere provider, mehrere alternativrouten - # 1 ausfall on 4 peers zu as ist egal - my $as_numbers = {}; - foreach (@{$self->{peers}}) { - $_->check(); - if (! exists $as_numbers->{$_->{hwBgpPeerRemoteAs}}->{peers}) { - $as_numbers->{$_->{hwBgpPeerRemoteAs}}->{peers} = []; - $as_numbers->{$_->{hwBgpPeerRemoteAs}}->{availability} = 100; - } - push(@{$as_numbers->{$_->{hwBgpPeerRemoteAs}}->{peers}}, $_); - } - if ($self->opts->name2) { - $self->clear_ok(); - $self->clear_critical(); - if ($self->opts->name2 eq "_ALL_") { - $self->opts->override_opt("name2", join(",", keys %{$as_numbers})); - } - foreach my $as (split(",", $self->opts->name2)) { - my $asname = ""; - if ($as =~ /(\d+)=(\w+)/) { - $as = $1; - $asname = $2; - } - if (exists $as_numbers->{$as}) { - my $num_peers = scalar(@{$as_numbers->{$as}->{peers}}); - my $num_ok_peers = scalar(grep { $_->{hwBgpPeerFaulty} == 0 } @{$as_numbers->{$as}->{peers}}); - my $num_admdown_peers = scalar(grep { $_->{hwBgpPeerAdminStatus} eq "stop" } @{$as_numbers->{$as}->{peers}}); - $as_numbers->{$as}->{availability} = 100 * $num_ok_peers / $num_peers; - $self->set_thresholds(warning => "100:", critical => "50:"); - $self->add_message($self->check_thresholds($as_numbers->{$as}->{availability}), - sprintf "%d from %d connections to %s are up (%.2f%%%s)", - $num_ok_peers, $num_peers, $asname ? $asname : "AS".$as, - $as_numbers->{$as}->{availability}, - $num_admdown_peers ? sprintf(", but %d are admin down and counted as up!", $num_admdown_peers) : ""); - } else { - $self->add_critical(sprintf 'found no peer for %s', $asname ? $asname : "AS".$as); - } - } - } - if ($self->opts->report eq "short") { - $self->clear_ok(); - $self->add_ok('no problems') if ! $self->check_messages(); - } - } -} - - -package CheckNwcHealth::Huawei::Component::PeerSubsystem::Peer; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; -use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; - -sub finish { - my ($self) = @_; - my @tmp_indices = @{$self->{indices}}; - my $last_tmp = scalar(@tmp_indices) - 1; - $self->{hwBgpPeerInstanceId} = $tmp_indices[0]; - shift @tmp_indices; - $self->{hwBgpPeerAddrFamilyAfi} = $tmp_indices[0]; - shift @tmp_indices; - $self->{hwBgpPeerAddrFamilySafi} = $tmp_indices[0]; - shift @tmp_indices; - $self->{hwBgpPeerType} = $self->mibs_and_oids_definition( - 'INET-ADDRESS-MIB', 'InetAddressType', $tmp_indices[0]); - shift @tmp_indices; - $self->{hwBgpPeerIPAddr} = $self->mibs_and_oids_definition( - 'INET-ADDRESS-MIB', 'InetAddressMaker', - $self->{hwBgpPeerType}, @tmp_indices); - - $self->{hwBgpPeerLastError} |= "00 00"; - my $errorcode = 0; - my $subcode = 0; - if (lc $self->{hwBgpPeerLastError} =~ /([0-9a-f]+)\s+([0-9a-f]+)/) { - $errorcode = hex($1) * 1; - $subcode = hex($2) * 1; - } - $self->{hwBgpPeerLastError} = $CheckNwcHealth::Huawei::Component::PeerSubsystem::errorcodes->{$errorcode}->{$subcode}; - $self->{hwBgpPeerRemoteAsName} = ""; - $self->{hwBgpPeerRemoteAsImportant} = 0; # if named in --name2 - $self->{hwBgpPeerFaulty} = 0; - my @parts = gmtime($self->{hwBgpPeerFsmEstablishedTime}); - $self->{hwBgpPeerFsmEstablishedTime} = sprintf ("%dd, %dh, %dm, %ds",@parts[7,2,1,0]); - - if ($self->{hwBgpPeerType} eq "ipv6") { - $self->{hwBgpPeerRemoteAddrCompact} = $self->compact_v6($self->{hwBgpPeerRemoteAddr}); - #$self->{hwBgpPeerSessionLocalAddr} = $self->compact_v6($self->{hwBgpPeerSessionLocalAddr}); - } else { - $self->{hwBgpPeerRemoteAddrCompact} = $self->{hwBgpPeerRemoteAddr}; - #$self->{hwBgpPeerSessionLocalAddrCompact} = $self->{hwBgpPeerSessionLocalAddr}; - } - # bin zu faul, HwBgpPeerSessionEntry zu holen (abgesehen davon, daß die auch - # leer sein kann). Wer die hwBgpPeerSessionLocalAddr unbedingt haben will, - # soll schon mal anfangen zu sparen. Das ist teuer. Und wer featurebettelt, - # hat verschissen und kommt auf die Spamliste. - $self->{hwBgpPeerSessionLocalAddr} = "undefined"; -} - -sub check { - my ($self) = @_; - if ($self->opts->name2) { - foreach my $as (split(",", $self->opts->name2)) { - if ($as =~ /(\d+)=(\w+)/) { - $as = $1; - $self->{hwBgpPeerRemoteAsName} = ", ".$2; - } else { - $self->{hwBgpPeerRemoteAsName} = ""; - } - if ($as eq "_ALL_" || $as == $self->{hwBgpPeerRemoteAs}) { - $self->{hwBgpPeerRemoteAsImportant} = 1; - } - } - } else { - $self->{hwBgpPeerRemoteAsImportant} = 1; - } - if ($self->{hwBgpPeerState} eq "established") { - $self->add_ok(sprintf "peer %s (AS%s) state is %s since %s", - $self->{hwBgpPeerRemoteAddr}, - $self->{hwBgpPeerRemoteAs}.$self->{hwBgpPeerRemoteAsName}, - $self->{hwBgpPeerState}, - $self->{hwBgpPeerFsmEstablishedTime} - ); - } elsif ($self->{hwBgpPeerAdminStatus} eq "stop") { - # admin down is by default critical, but can be mitigated - $self->add_message( - defined $self->opts->mitigation() ? $self->opts->mitigation() : - $self->{hwBgpPeerRemoteAsImportant} ? WARNING : OK, - sprintf "peer %s (AS%s) state is %s (is admin down)", - $self->{hwBgpPeerRemoteAddr}, - $self->{hwBgpPeerRemoteAs}.$self->{hwBgpPeerRemoteAsName}, - $self->{hwBgpPeerState} - ); - $self->{hwBgpPeerFaulty} = - defined $self->opts->mitigation() && $self->opts->mitigation() eq "ok" ? 0 : - $self->{hwBgpPeerRemoteAsImportant} ? 1 : 0; - } else { - # hwBgpPeerLastError may be undef, at least under the following circumstances - # hwBgpPeerRemoteAsName is "", hwBgpPeerAdminStatus is "start", - # hwBgpPeerState is "active" - $self->add_message($self->{hwBgpPeerRemoteAsImportant} ? CRITICAL : OK, - sprintf "peer %s (AS%s) state is %s (last error: %s, local address: %s)", - $self->{hwBgpPeerRemoteAddr}, - $self->{hwBgpPeerRemoteAs}.$self->{hwBgpPeerRemoteAsName}, - $self->{hwBgpPeerState}, - $self->{hwBgpPeerLastError}||"no error", - $self->{hwBgpPeerSessionLocalAddr} - ); - $self->{hwBgpPeerFaulty} = $self->{hwBgpPeerRemoteAsImportant} ? 1 : 0; - } -} - - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Huawei/Component/WlanSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Huawei/Component/WlanSubsystem.pm deleted file mode 100644 index 5f7e868..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Huawei/Component/WlanSubsystem.pm +++ /dev/null @@ -1,287 +0,0 @@ -package CheckNwcHealth::Huawei::Component::WlanSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -# -# ACHTUNG!!!! Nicht verwenden! -# Master und Slave sind vertauscht -# - -sub init { - my ($self) = @_; - $self->get_snmp_objects('HUAWEI-WLAN-CONFIGURATION-MIB', qw(hwWlanClusterACRole)); - if ($self->mode =~ /device::wlan::aps::(count|watch)/) { - $self->get_snmp_tables('HUAWEI-WLAN-AP-MIB', [ - ['aps', 'hwWlanApTable', 'CheckNwcHealth::Huawei::Component::WlanSubsystem::AP', sub { return 1; $self->filter_name(shift->{hwWlanApName}) }, ['hwWlanApName'] ], - ]); - } else { - $self->get_snmp_tables('HUAWEI-WLAN-AP-MIB', [ - ['aps', 'hwWlanApTable', 'CheckNwcHealth::Huawei::Component::WlanSubsystem::AP', sub { return 1; $self->filter_name(shift->{hwWlanApName}) }, ['hwWlanApId', 'hwWlanApName', 'hwWlanApRunState', 'hwWlanApDataLinkState', 'hwWlanAPPowerSupplyState', 'hwWlanApOnlineUserNum']], - ]); - } - if ($self->mode =~ /device::wlan::aps::clients/) { - $self->get_snmp_tables('HUAWEI-WLAN-CONFIGURATION-MIB', [ - ['ssids', 'hwSsidProfileTable', 'CheckNwcHealth::Huawei::Component::WlanSubsystem::Ssid', undef, ['hwSsidText'] ], - ]); - $self->get_snmp_tables('HUAWEI-WLAN-STATION-MIB', [ - ['stations', 'hwWlanStationTable', 'CheckNwcHealth::Huawei::Component::WlanSubsystem::Station', undef, ['hwWlanStaSsid'] ], - ]); - } elsif ($self->mode =~ /device::wlan::aps::status/) { - $self->get_snmp_tables('HUAWEI-WLAN-AP-RADIO-MIB', [ - ['radios', 'hwWlanRadioInfoTable', 'CheckNwcHealth::Huawei::Component::WlanSubsystem::Radio', sub { return 1; return $self->filter_name(shift->{hwWlanRadioInfoApName}) }, ['hwWlanRadioInfoApId', 'hwWlanRadioRunState', 'hwWlanRadioMac', 'hwWlanRadioOnlineStaCnt'] ], - ]); - $self->assign_ifs_to_aps(); - } - $self->{numOfAPs} = scalar (@{$self->{aps}}); - $self->{apNameList} = [map { $_->{hwWlanApName} } @{$self->{aps}}]; -} - -sub assign_ifs_to_aps { - my ($self) = @_; - foreach my $ap (@{$self->{aps}}) { - $ap->{interfaces} = []; - foreach my $if (@{$self->{radios}}) { - if ($if->{hwWlanRadioInfoApId} eq $ap->{hwWlanApId}) { - push(@{$ap->{interfaces}}, $if); -# hwWlanRadioInfoTable beinhaltet hwWlanRadioID und hwWlanRadioInfoApId -# ueber die hwAPGroupVapTable(hwWlanRadioID, ) kommt man an ein hwAPGrpVapProfile -# ueber hwVapProfileTable(hwAPGrpVapProfile=hwVapProfileName) an hwVapSsidProfile -# ueber hwSsidProfileTable(hwSsidProfileName=hwVapSsidProfile) an hwSsidText - #$ap->{hwWlanApGroup} - #$ap->{hwWlanApId} - #$if->{wWlanRadioID} - #-> groupvaps $gv->{hwAPGroupName} eq $ap->{hwWlanApGroup} and $gv->{hwAPGrpWlanId} eq $ap->{hwWlanApId} and $gv->{hwAPGrpRadioId} eq $if->{wWlanRadioID} - #--> hwAPGrpVapProfile - # oder so aehnlich. hwAPGrpWlanId hat werte von 2 angenomen und hwWlanApId war nur 0/1 - # irgendwie werden Profile an Gruppen, einzelne APs oder Radios gebunden und jede Bindung - # bzw jeder Typ von Bindung hat eine eigene Tabelle. Alles Murks, daher werden - # die Clients ueber die Stations-MIB gezaehlt - } - } - $ap->{NumOfClients} = 0; - map { - $ap->{NumOfClients} += - # undef can be possible - $_->{hwWlanRadioOnlineStaCnt} ? $_->{hwWlanRadioOnlineStaCnt} : 0 - } @{$ap->{interfaces}}; - # if backup, aps in standby and powersupply invalid can be tolerated - $ap->{hwWlanClusterACRole} = $self->{hwWlanClusterACRole}; - } -} - - -sub check { - my ($self) = @_; - $self->add_info('checking access points'); - if ($self->{hwWlanClusterACRole}) { - $self->annotate_info(sprintf "cluster role is %s", $self->{hwWlanClusterACRole}); - } - if ($self->mode =~ /device::wlan::aps::clients/) { - my $ssids = {}; - map { - $ssids->{$_->{hwSsidText}} = 0; - } @{$self->{ssids}}; - map { - $ssids->{$_->{hwWlanStaSsid}} += 1; - } @{$self->{stations}}; - foreach my $ssid (sort keys %{$ssids}) { - $self->set_thresholds(metric => $ssid.'_clients', - warning => '0:', critical => ':0'); - $self->add_message($self->check_thresholds(metric => $ssid.'_clients', - value => $ssids->{$ssid}), - sprintf 'SSID %s has %d clients', - $ssid, $ssids->{$ssid}); - $self->add_perfdata(label => $ssid.'_clients', - value => $ssids->{$ssid}); - } - } else { - if ($self->{numOfAPs} == 0) { - $self->add_unknown('no access points found'); - return; - } - if ($self->mode =~ /device::wlan::aps::watch/) { - $self->opts->override_opt('lookback', 1800) if ! $self->opts->lookback; - $self->valdiff({name => $self->{name}, lastarray => 1}, - qw(apNameList numOfAPs)); - if (scalar(@{$self->{delta_found_apNameList}}) > 0) { - #if (scalar(@{$self->{delta_found_apNameList}}) > 0 && - # $self->{delta_timestamp} > $self->opts->lookback) { - $self->add_warning(sprintf '%d new access points (%s)', - scalar(@{$self->{delta_found_apNameList}}), - join(", ", @{$self->{delta_found_apNameList}})); - } - if (scalar(@{$self->{delta_lost_apNameList}}) > 0) { - $self->add_critical(sprintf '%d access points missing (%s)', - scalar(@{$self->{delta_lost_apNameList}}), - join(", ", @{$self->{delta_lost_apNameList}})); - } - $self->add_ok(sprintf 'found %d access points', $self->{numOfAPs}); - $self->add_perfdata( - label => 'num_aps', - value => $self->{numOfAPs}, - ); - } elsif ($self->mode =~ /device::wlan::aps::count/) { - $self->set_thresholds(metric => 'num_aps', - warning => '10:', critical => '5:'); - $self->add_message($self->check_thresholds(metric => 'num_aps', - value => $self->{numOfAPs}), - sprintf('found %d access points', $self->{numOfAPs})); - $self->add_perfdata( - label => 'num_aps', - value => $self->{numOfAPs}, - ); - } elsif ($self->mode =~ /device::wlan::aps::status/) { - foreach (@{$self->{aps}}) { - $_->check(); - } - if ($self->opts->report eq "short") { - $self->clear_ok(); - $self->add_ok('no problems') if ! $self->check_messages(); - } - } elsif ($self->mode =~ /device::wlan::aps::list/) { - foreach (@{$self->{aps}}) { - printf "%s\n", $_->{hwWlanApName}; - } - } - } -} - - -package CheckNwcHealth::Huawei::Component::WlanSubsystem::AP; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - - -sub finish { - my ($self) = @_; - # The index of this table is hwWlanApMac - $self->{hwWlanApMac} = join(":", map { sprintf "%x", $_ } @{$self->{indices}}[0 .. 5]); -} - -sub check { - my ($self) = @_; - $self->add_info(sprintf 'access point %s state is %s', - $self->{hwWlanApName}, $self->{hwWlanApRunState}); - if ($self->mode =~ /device::wlan::aps::status/) { - if ($self->{hwWlanClusterACRole} and - $self->{hwWlanClusterACRole} eq "backup") { - if ($self->{hwWlanApRunState} =~ /^(typeNotMatch|fault|configFailed|commitFailed|verMismatch|nameConflicted|invalid|countryCodeMismatch)/) { - $self->add_warning(); - } else { - $self->add_ok(); - } - $self->annotate_info(sprintf "power supply state is %s", $self->{hwWlanAPPowerSupplyState}); - } else { - if ($self->{hwWlanApRunState} eq "standby") { - $self->add_warning(); - } elsif ($self->{hwWlanApRunState} =~ /^(typeNotMatch|fault|configFailed|commitFailed|verMismatch|nameConflicted|invalid|countryCodeMismatch)/) { - $self->add_critical(); - } else { - $self->add_ok(); - } - if ($self->{hwWlanApDataLinkState} eq "down") { - # hwWlanApDataLinkState down, run, noneed - $self->annotate_info(sprintf "link state is %s", $self->{hwWlanApDataLinkState}); - $self->add_critical(); - } - $self->annotate_info(sprintf "power supply state is %s", $self->{hwWlanAPPowerSupplyState}); - if ($self->{hwWlanAPPowerSupplyState} eq "full") { - } elsif ($self->{hwWlanAPPowerSupplyState} eq "limited") { - } elsif ($self->{hwWlanAPPowerSupplyState} eq "invalid") { - # hwWlanAPPowerSupplyState full, disabled, limited, invalid - $self->add_critical(); - } - foreach my $if (@{$self->{interfaces}}) { - if ($if->{hwWlanRadioRunState} eq "down") { - $self->add_warning(sprintf "radio %s is down", $if->{hwWlanRadioMac}); - } - } - } - } elsif ($self->mode =~ /device::wlan::aps::clients/) { - $self->annotate_info(sprintf "%d clients", $self->{hwWlanApOnlineUserNum}); - } -} - -package CheckNwcHealth::Huawei::Component::WlanSubsystem::Radio; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub finish { - my ($self) = @_; - # The indexes of this table are hwWlanRadioInfoApMac and hwWlanRadioID. - $self->{hwWlanRadioInfoApMac} = join(":", map { sprintf "%x", $_ } @{$self->{indices}}[0 .. 5]); - $self->{hwWlanRadioID} = $self->{indices}->[-1]; - if ($self->{hwWlanRadioMac} && $self->{hwWlanRadioMac} =~ /0x(\w{2})(\w{2})(\w{2})(\w{2})(\w{2})(\w{2})/) { - $self->{hwWlanRadioMac} = join(":", ($1, $2, $3, $4, $5, $6)); - } elsif ($self->{hwWlanRadioMac} && unpack("H12", $self->{hwWlanRadioMac}." ") =~ /(\w{2})(\w{2})(\w{2})(\w{2})(\w{2})(\w{2})/) { - $self->{hwWlanRadioMac} = join(":", ($1, $2, $3, $4, $5, $6)); - } elsif ($self->{hwWlanRadioMac} && unpack("H12", $self->{hwWlanRadioMac}) =~ /(\w{2})(\w{2})(\w{2})(\w{2})(\w{2})(\w{2})/) { - $self->{hwWlanRadioMac} = join(":", ($1, $2, $3, $4, $5, $6)); - } -} - -package CheckNwcHealth::Huawei::Component::WlanSubsystem::Ssid; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub finish { - my ($self) = @_; - $self->{hwSsidText} ||= "huawei-default"; - # grep, siehe APGroupVap - $self->{hwSsidProfileName} = join("", map { chr($_) } grep { $_ >= 32 } @{$self->{indices}}); -} - -package CheckNwcHealth::Huawei::Component::WlanSubsystem::VapProfile; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub finish { - my ($self) = @_; - $self->{hwVapProfileName} = join("", map { chr($_) } grep { $_ >= 32 } @{$self->{indices}}); -} - -package CheckNwcHealth::Huawei::Component::WlanSubsystem::APGroupVap; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub finish { - my ($self) = @_; - # so ein Vap Profile kann an eine AP Gruppe, einen AP oder ein Radio gebunden sein - # Indexes of this table are hwAPGroupName, hwAPGrpRadioId, and hwAPGrpWlanId. - # hwAPGrpRadioId und hwAPGrpWlanId sind int32 - my $idxlen = scalar(@{$self->{indices}}); - $self->{hwAPGroupIndicesHex} = join(" ", map { sprintf "%x", $_ } grep { $_ >= 32 } @{$self->{indices}}[0 .. $idxlen-3]); - # eigentlich muesste hwAPGroupName bei index[0] losgehen, aber das ist im beispiel 12 - # also beginnt der name mit einem formfeed. unschoen. daher der grep auf druckbares zeug. - $self->{hwAPGroupName} = join("", map { chr($_) } grep { $_ >= 32 } @{$self->{indices}}[0 .. $idxlen-3]); - $self->{hwAPGrpWlanId} = $self->{indices}->[-1]; - $self->{hwAPGrpRadioId} = $self->{indices}->[-2]; -} - -package CheckNwcHealth::Huawei::Component::WlanSubsystem::APSpecificVap; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub finish { - my ($self) = @_; -} - - -package CheckNwcHealth::Huawei::Component::WlanSubsystem::APFatVap; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub finish { - my ($self) = @_; -} - - -package CheckNwcHealth::Huawei::Component::WlanSubsystem::Station; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub finish { - my ($self) = @_; -} - - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Huawei/HUAWEIL2MAMMIB/Component/VlanSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Huawei/HUAWEIL2MAMMIB/Component/VlanSubsystem.pm deleted file mode 100644 index c0a6d55..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Huawei/HUAWEIL2MAMMIB/Component/VlanSubsystem.pm +++ /dev/null @@ -1,85 +0,0 @@ -package CheckNwcHealth::Huawei::HUAWEIL2MAMMIB::Component::VlanSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $self->get_snmp_tables('HUAWEI-L2MAM-MIB', [ - #['macs', 'hwDynMacAddrQueryTable', 'CheckNwcHealth::Huawei::HUAWEIL2MAMMIB::Component::VlanSubsystem::Mac'], - ['macs', 'hwMacVlanStatisticsTable', 'CheckNwcHealth::Huawei::HUAWEIL2MAMMIB::Component::VlanSubsystem::Vlan', sub { return $self->filter_name(shift->{hwMacVlanStatisticsVlanId}) }, ["hwMacVlanStatistics"], "hwMacVlanStatistics" ], - # reine Glueckssache, dass das funktioniert. da --name eine Zahl ist, - # wird der Index im Cachefile genommen, nicht eine Bezeichnung - # (wie es der Fall waere, wenn VlanID ein String waere) - ]); -} - - -package CheckNwcHealth::Huawei::HUAWEIL2MAMMIB::Component::VlanSubsystem::Vlan; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub finish { - my ($self) = @_; - $self->{hwMacVlanStatisticsVlanId} = $self->{flat_indices}; -} - -sub check { - my ($self) = @_; - my $label = sprintf "vlan_%d_macs", $self->{hwMacVlanStatisticsVlanId}; - $self->add_info(sprintf "vlan %d has %s mac address entries", - $self->{hwMacVlanStatisticsVlanId}, - $self->{hwMacVlanStatistics} - ); - $self->set_thresholds(metric => $label, - warning => 1, - critical => 1, - ); - $self->add_message($self->check_thresholds(metric => $label, - value => $self->{hwMacVlanStatistics})); - $self->add_perfdata( - label => $label, - value => $self->{hwMacVlanStatistics}, - ); -} - -package CheckNwcHealth::Huawei::HUAWEIL2MAMMIB::Component::VlanSubsystem::Mac; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub finish { - # zu schade zum wegschmeissen. allerdings muesste die portlist geprueft werden - my ($self) = @_; - my @ports = (); - my @octets = unpack("C*", $self->{hwL2VlanPortList}); - my $sequences = scalar(@octets); - my $octetnumber = 0; - foreach my $octet (@octets) { - # octet represents ports $octetnumber*8+(1..8) - my $index = 1; - while ($octet) { - next unless $octet & 0x80; - push(@ports, $octetnumber * 8 + $index); - } continue { - ++$index; - $octet = ($octet << 1) & 0xff; - } - } continue { - ++$octetnumber; - } - $self->{numhwL2VlanPortList} = $sequences; - $self->{hwL2VlanPortList} = unpack("B*", $self->{hwL2VlanPortList}); - $self->{hwL2VlanPortListPorts} = join("_", @ports); -} - -sub check { - my ($self) = @_; -} - -__END__ -PortList ::= TEXTUAL-CONVENTION - STATUS current - DESCRIPTION "Each octet within this value specifies a set of eight ports, with the first octet specifying ports 1 through 8, the second octet specifying ports 9 through 16, etc. Within each octet, the most significant bit represents the lowest numbered port, and the least significant bit represents the highest numbered port. Thus, each port of the bridge is represented by a single bit within the value of this object. If that bit has a value of '1' then that port is included in the set of ports; the port is not included if its bit has a value of '0'." - SYNTAX OCTET STRING - - - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Huawei/HUAWEIL2VLANMIB/Component/VlanSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Huawei/HUAWEIL2VLANMIB/Component/VlanSubsystem.pm deleted file mode 100644 index a2b33c3..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Huawei/HUAWEIL2VLANMIB/Component/VlanSubsystem.pm +++ /dev/null @@ -1,52 +0,0 @@ -package CheckNwcHealth::Huawei::HUAWEIL2VLANMIB::Component::VlanSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $self->get_snmp_tables('HUAWEI-L2VLAN-MIB', [ - ['vlans', 'hwL2VlanMIBTable', 'CheckNwcHealth::Huawei::HUAWEIL2VLANMIB::Component::VlanSubsystem::Vlan'], - ]); -} - - -package CheckNwcHealth::Huawei::HUAWEIL2VLANMIB::Component::VlanSubsystem::Vlan; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub finish { - my ($self) = @_; - my @ports = (); - my @octets = unpack("C*", $self->{hwL2VlanPortList}); - my $sequences = scalar(@octets); - my $octetnumber = 0; - foreach my $octet (@octets) { - # octet represents ports $octetnumber*8+(1..8) - my $index = 1; - while ($octet) { - next unless $octet & 0x80; - push(@ports, $octetnumber * 8 + $index); - } continue { - ++$index; - $octet = ($octet << 1) & 0xff; - } - } continue { - ++$octetnumber; - } - $self->{numhwL2VlanPortList} = $sequences; - $self->{hwL2VlanPortList} = unpack("B*", $self->{hwL2VlanPortList}); - $self->{hwL2VlanPortListPorts} = join("_", @ports); -} - -sub check { - my ($self) = @_; -} - -__END__ -PortList ::= TEXTUAL-CONVENTION - STATUS current - DESCRIPTION "Each octet within this value specifies a set of eight ports, with the first octet specifying ports 1 through 8, the second octet specifying ports 9 through 16, etc. Within each octet, the most significant bit represents the lowest numbered port, and the least significant bit represents the highest numbered port. Thus, each port of the bridge is represented by a single bit within the value of this object. If that bit has a value of '1' then that port is included in the set of ports; the port is not included if its bit has a value of '0'." - SYNTAX OCTET STRING - - - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/IPFORWARDMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/IPFORWARDMIB.pm deleted file mode 100644 index 2e5d16b..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/IPFORWARDMIB.pm +++ /dev/null @@ -1,4 +0,0 @@ -package CheckNwcHealth::IPFORWARDMIB; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/IPMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/IPMIB.pm deleted file mode 100644 index ab66294..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/IPMIB.pm +++ /dev/null @@ -1,4 +0,0 @@ -package CheckNwcHealth::IPMIB; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/IPMIB/Component/ArpSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/IPMIB/Component/ArpSubsystem.pm deleted file mode 100644 index bf487b2..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/IPMIB/Component/ArpSubsystem.pm +++ /dev/null @@ -1,51 +0,0 @@ -package CheckNwcHealth::IPMIB::Component::ArpSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $self->{interfaces} = []; - $self->get_snmp_tables('IP-MIB', [ - ['oentries', 'ipNetToMediaTable', 'CheckNwcHealth::IPMIB::Component::ArpSubsystem::Entry'], - ['entries', 'ipNetToPhysicalTable', 'CheckNwcHealth::IPMIB::Component::ArpSubsystem::Entry'], - ]); -} - -sub check { - my ($self) = @_; - $self->add_info('checking the arp cache'); - if ($self->mode =~ /device::arp::list/) { - printf "found %d entries in the ARP cache\n", scalar(@{$self->{oentries}}); - if ($self->opts->report eq "json") { - printf "[\n"; - printf "%s\n", join(", ", map { - $_->list(); - } @{$self->{oentries}}); - printf "]\n"; - } else { - foreach (@{$self->{oentries}}) { - $_->list(); - } - $self->add_ok("have fun"); - } - } -} - - -package CheckNwcHealth::IPMIB::Component::ArpSubsystem::Entry; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); - -sub finish { - my ($self) = @_; - $self->{ipNetToMediaPhysAddress} = $self->unhex_mac($self->{ipNetToMediaPhysAddress}); -} - -sub list { - my ($self) = @_; - if ($self->opts->report eq "json") { - return sprintf '{"%s": "%s"}', $self->{ipNetToMediaNetAddress}, $self->{ipNetToMediaPhysAddress}; - } else { - printf "%-20s %s\n", $self->{ipNetToMediaNetAddress}, $self->{ipNetToMediaPhysAddress}; - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper.pm deleted file mode 100644 index 2de5c74..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper.pm +++ /dev/null @@ -1,42 +0,0 @@ -package CheckNwcHealth::Juniper; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - -use constant trees => ( - '1.3.6.1.4.1.4874.', - '1.3.6.1.4.1.3224.', -); - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::bgp/) { - if ($self->implements_mib("JUNOS-BGP4V2-MIB")) { - $self->analyze_and_check_bgp_subsystem("CheckNwcHealth::Juniper::JunOS::Component::BgpSubsystem"); - } else { -# $self->{productname} =~ s/(?i:JunOS)/J#u#n#O#S/g; - $self->no_such_mode(); - } - } else { - if ($self->{productname} =~ /Juniper.*MAG\-\d+/i) { - # Juniper Networks,Inc,MAG-4610,7.2R10 - $self->rebless('CheckNwcHealth::Juniper::IVE'); - } elsif ($self->{productname} =~ /Juniper.*MAG\-SM\d+/i) { - # Juniper Networks,Inc,MAG-SMx60,7.4R8 - $self->rebless('CheckNwcHealth::Juniper::IVE'); - } elsif ($self->{productname} =~ /srx/i) { - $self->rebless('CheckNwcHealth::Juniper::SRX'); - } elsif ($self->{productname} =~ /NetScreen/i) { - $self->rebless('CheckNwcHealth::Juniper::NetScreen'); - } elsif ($self->{productname} =~ /JunOS/i) { - $self->rebless('CheckNwcHealth::Juniper::JunOS'); - } elsif ($self->implements_mib('NETSCREEN-PRODUCTS-MIB')) { - $self->rebless('CheckNwcHealth::Juniper::NetScreen'); - } elsif ($self->{productname} =~ /^(GS|FS)/i) { - $self->rebless('CheckNwcHealth::Juniper'); #? stammt aus Device.pm - } - } - if (ref($self) ne "CheckNwcHealth::Juniper") { - $self->init(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/IVE.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/IVE.pm deleted file mode 100644 index 4f7fce6..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/IVE.pm +++ /dev/null @@ -1,24 +0,0 @@ -package CheckNwcHealth::Juniper::IVE; -our @ISA = qw(CheckNwcHealth::Juniper); -use strict; - -use constant trees => ( - '1.3.6.1.2.1', # mib-2 - '1.3.6.1.2.1.105', -); - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Juniper::IVE::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::Juniper::IVE::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::Juniper::IVE::Component::MemSubsystem"); - } elsif ($self->mode =~ /device::users/) { - $self->analyze_and_check_user_subsystem("CheckNwcHealth::Juniper::IVE::Component::UserSubsystem"); - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/NetScreen.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/NetScreen.pm deleted file mode 100644 index 8cff477..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/NetScreen.pm +++ /dev/null @@ -1,24 +0,0 @@ -package CheckNwcHealth::Juniper::NetScreen; -our @ISA = qw(CheckNwcHealth::Juniper); -use strict; - -use constant trees => ( - '1.3.6.1.2.1', # mib-2 - '1.3.6.1.2.1.105', -); - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::Juniper::NetScreen::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::Juniper::NetScreen::Component::MemSubsystem"); - } elsif ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Juniper::NetScreen::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::ha::status/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Juniper::NetScreen::Component::VsdSubsystem"); - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/LMSENSORSMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/LMSENSORSMIB.pm deleted file mode 100644 index d75e271..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/LMSENSORSMIB.pm +++ /dev/null @@ -1,4 +0,0 @@ -package CheckNwcHealth::LMSENSORSMIB; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Lancom.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Lancom.pm deleted file mode 100644 index a8535db..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Lancom.pm +++ /dev/null @@ -1,18 +0,0 @@ -package CheckNwcHealth::Lancom; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - -sub init { - my ($self) = @_; - $self->bulk_is_baeh(); - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Lancom::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::Lancom::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::Lancom::Component::MemSubsystem"); - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Lantronix.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Lantronix.pm deleted file mode 100644 index c1577c1..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Lantronix.pm +++ /dev/null @@ -1,3 +0,0 @@ -package CheckNwcHealth::Lantronix; -our @ISA = qw(CheckNwcHealth::Device); -use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Nortel/S5.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Nortel/S5.pm deleted file mode 100644 index 348b0af..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Nortel/S5.pm +++ /dev/null @@ -1,17 +0,0 @@ -package CheckNwcHealth::Nortel::S5; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Nortel::S5::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::Nortel::S5::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::Nortel::S5::Component::MemSubsystem"); - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/OneOS.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/OneOS.pm deleted file mode 100644 index 91e2453..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/OneOS.pm +++ /dev/null @@ -1,17 +0,0 @@ -package CheckNwcHealth::OneOS; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::OneOS::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::OneOS::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::OneOS::Component::MemSubsystem"); - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/OneOS/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/OneOS/Component/EnvironmentalSubsystem.pm deleted file mode 100644 index 77ab39d..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/OneOS/Component/EnvironmentalSubsystem.pm +++ /dev/null @@ -1,21 +0,0 @@ -package CheckNwcHealth::OneOS::Component::EnvironmentalSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $self->get_snmp_tables('ONEACCESS-SYS-MIB', [ - ['comps', 'oacExpIMSysHwComponentsTable', 'CheckNwcHealth::OneOS::Component::EnvironmentalSubsystem::Comp' ], - ]); -} - -sub check { - my ($self) = @_; - $self->add_ok("environmental hardware working fine, at least i hope so. this device did not implement any kind of hardware health status. use -vv to see a list of components"); -} - - -package CheckNwcHealth::OneOS::Component::EnvironmentalSubsystem::Comp; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PulseSecure/Gateway.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PulseSecure/Gateway.pm deleted file mode 100644 index b5277f6..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PulseSecure/Gateway.pm +++ /dev/null @@ -1,19 +0,0 @@ -package CheckNwcHealth::PulseSecure::Gateway; -our @ISA = qw(CheckNwcHealth::Juniper); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::PulseSecure::Gateway::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::PulseSecure::Gateway::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::PulseSecure::Gateway::Component::MemSubsystem"); - } elsif ($self->mode =~ /device::users/) { - $self->analyze_and_check_user_subsystem("CheckNwcHealth::PulseSecure::Gateway::Component::UserSubsystem"); - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PulseSecure/Gateway/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PulseSecure/Gateway/Component/CpuSubsystem.pm deleted file mode 100644 index 2dbe71d..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PulseSecure/Gateway/Component/CpuSubsystem.pm +++ /dev/null @@ -1,24 +0,0 @@ -package CheckNwcHealth::PulseSecure::Gateway::Component::CpuSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $self->get_snmp_objects('PULSESECURE-PSG-MIB', (qw( - iveCpuUtil))); -} - -sub check { - my ($self) = @_; - $self->add_info('checking cpus'); - $self->add_info(sprintf 'cpu usage is %.2f%%', $self->{iveCpuUtil}); - # http://www.juniper.net/techpubs/software/ive/guides/howtos/SA-IC-MAG-SNMP-Monitoring-Guide.pdf - $self->set_thresholds(warning => 50, critical => 90); - $self->add_message($self->check_thresholds($self->{iveCpuUtil})); - $self->add_perfdata( - label => 'cpu_usage', - value => $self->{iveCpuUtil}, - uom => '%', - ); -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PulseSecure/Gateway/Component/DiskSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PulseSecure/Gateway/Component/DiskSubsystem.pm deleted file mode 100644 index e0968c2..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PulseSecure/Gateway/Component/DiskSubsystem.pm +++ /dev/null @@ -1,40 +0,0 @@ -package CheckNwcHealth::PulseSecure::Gateway::Component::DiskSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $self->get_snmp_objects('PULSESECURE-PSG-MIB', (qw( - diskFullPercent raidDescription logFullPercent))); -} - -sub check { - my ($self) = @_; - $self->add_info('checking disks'); - $self->add_info(sprintf 'disk is %.2f%% full', - $self->{diskFullPercent}); - $self->set_thresholds(metric => 'disk_usage', warning => 80, critical => 90); - $self->add_message($self->check_thresholds(metric => 'disk_usage', - value => $self->{diskFullPercent})); - $self->add_perfdata( - label => 'disk_usage', - value => $self->{diskFullPercent}, - uom => '%', - ); - if ($self->{raidDescription} && $self->{raidDescription} =~ /(failed)|(unknown)/) { - $self->add_critical($self->{raidDescription}); - } - if (defined $self->{logFullPercent}) { - $self->add_info(sprintf 'log is %.2f%% full', - $self->{logFullPercent}); - $self->set_thresholds(metric => 'log_usage', warning => 80, critical => 90); - $self->add_message($self->check_thresholds(metric => 'log_usage', - value => $self->{logFullPercent})); - $self->add_perfdata( - label => 'log_usage', - value => $self->{logFullPercent}, - uom => '%', - ); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PulseSecure/Gateway/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PulseSecure/Gateway/Component/EnvironmentalSubsystem.pm deleted file mode 100644 index 22b2281..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PulseSecure/Gateway/Component/EnvironmentalSubsystem.pm +++ /dev/null @@ -1,40 +0,0 @@ -package CheckNwcHealth::PulseSecure::Gateway::Component::EnvironmentalSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $self->{disk_subsystem} = - CheckNwcHealth::PulseSecure::Gateway::Component::DiskSubsystem->new(); - $self->get_snmp_objects('PULSESECURE-PSG-MIB', (qw( - iveTemperature fanDescription psDescription))); -} - -sub check { - my ($self) = @_; - $self->{disk_subsystem}->check(); - $self->add_info(sprintf "temperature is %.2f deg", $self->{iveTemperature}); - $self->set_thresholds(warning => 70, critical => 75); - $self->check_thresholds(0); - $self->add_perfdata( - label => 'temperature', - value => $self->{iveTemperature}, - warning => $self->{warning}, - critical => $self->{critical}, - ) if $self->{iveTemperature}; - if ($self->{fanDescription} && $self->{fanDescription} =~ /(failed)|(threshold)/i) { - $self->add_critical($self->{fanDescription}); - } - if ($self->{psDescription} && $self->{psDescription} =~ /failed/i) { - $self->add_critical($self->{psDescription}); - } - if (! $self->check_messages()) { - $self->add_ok("environmental hardware working fine"); - } -} - -sub dump { - my ($self) = @_; - $self->{disk_subsystem}->dump(); -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PulseSecure/Gateway/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PulseSecure/Gateway/Component/MemSubsystem.pm deleted file mode 100644 index ca8af89..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PulseSecure/Gateway/Component/MemSubsystem.pm +++ /dev/null @@ -1,33 +0,0 @@ -package CheckNwcHealth::PulseSecure::Gateway::Component::MemSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $self->get_snmp_objects('PULSESECURE-PSG-MIB', (qw( - iveMemoryUtil iveSwapUtil))); -} - -sub check { - my ($self) = @_; - $self->add_info('checking memory'); - $self->add_info(sprintf 'memory usage is %.2f%%, swap usage is %.2f%%', - $self->{iveMemoryUtil}, $self->{iveSwapUtil}); - $self->set_thresholds(warning => 90, critical => 95); - $self->add_message($self->check_thresholds($self->{iveMemoryUtil}), - sprintf 'memory usage is %.2f%%', $self->{iveMemoryUtil}); - $self->add_perfdata( - label => 'memory_usage', - value => $self->{iveMemoryUtil}, - uom => '%', - ); - $self->set_thresholds(warning => 5, critical => 10); - $self->add_message($self->check_thresholds($self->{iveSwapUtil}), - sprintf 'swap usage is %.2f%%', $self->{iveSwapUtil}); - $self->add_perfdata( - label => 'swap_usage', - value => $self->{iveSwapUtil}, - uom => '%', - ); -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PulseSecure/Gateway/Component/UserSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PulseSecure/Gateway/Component/UserSubsystem.pm deleted file mode 100644 index 21920b3..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PulseSecure/Gateway/Component/UserSubsystem.pm +++ /dev/null @@ -1,119 +0,0 @@ -package CheckNwcHealth::PulseSecure::Gateway::Component::UserSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - # jetzt laden, sonst funktioniert es spaeter nicht mehr wegen der expliziten - # Zuweisung von maxLicensedUsers. Die Mib ist sonst bereits bekannt. - $self->require_mib('PULSESECURE-PSG-MIB'); - # irgendwo ausgegraben, nicht offiziell dokumentiert - $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'PULSESECURE-PSG-MIB'}->{'maxLicensedUsers'} = '1.3.6.1.4.1.12532.55'; - # https://kb.pulsesecure.net/articles/Pulse_Secure_Article/KB44150 - $self->get_snmp_objects('PULSESECURE-PSG-MIB', (qw( - iveSSLConnections iveVPNTunnels - signedInWebUsers signedInMailUsers - iveConcurrentUsers clusterConcurrentUsers iveTotalSignedInUsers - maxLicensedUsers))); - foreach (qw( - iveSSLConnections iveVPNTunnels - signedInWebUsers signedInMailUsers - iveConcurrentUsers clusterConcurrentUsers iveTotalSignedInUsers)) { - $self->{$_} = 0 if ! defined $self->{$_}; - } -} - -sub check { - my ($self) = @_; -# info signedInWebUsers iveConcurrentUsers - -# info but trap clusterConcurrentUsers+maxLicensedUsers - $self->add_info('checking memory'); - if (defined $self->{maxLicensedUsers}) { - $self->add_info(sprintf 'Users: cluster=%d (of %d), node=%d, web=%d, mail=%d, vpn=%d, ssl=%d', - $self->{clusterConcurrentUsers}, - $self->{maxLicensedUsers}, - $self->{iveConcurrentUsers}, - $self->{signedInWebUsers}, - $self->{signedInMailUsers}, - $self->{iveVPNTunnels}, - $self->{iveSSLConnections} - ); - $self->{license_usage} = 100 * $self->{iveConcurrentUsers} / - $self->{maxLicensedUsers}; - $self->{cluster_license_usage} = 100 * $self->{clusterConcurrentUsers} / - $self->{maxLicensedUsers}; - $self->set_thresholds(metric => "license_usage", - warning => 90, critical => 95); - $self->add_message($self->check_thresholds(metric => "license_usage", - value => $self->{license_usage})); - $self->add_perfdata( - label => 'license_usage', - value => $self->{license_usage}, - uom => "%", - ); - } else { - $self->add_info(sprintf 'Users: cluster=%d, node=%d, web=%d, mail=%d, vpn=%d, ssl=%d', - $self->{clusterConcurrentUsers}, - $self->{iveConcurrentUsers}, - $self->{signedInWebUsers}, - $self->{signedInMailUsers}, - $self->{iveVPNTunnels}, - $self->{iveSSLConnections} - ); - $self->set_thresholds(metric => "concurrent_users", - warning => 1000, critical => 1500); - $self->add_message($self->check_thresholds(metric => "concurrent_users", - value => $self->{iveConcurrentUsers})); - } - $self->add_perfdata( - label => 'cluster_concurrent_users', - value => $self->{clusterConcurrentUsers}, - ); - $self->add_perfdata( - label => 'concurrent_users', - value => $self->{iveConcurrentUsers}, - ); - $self->add_perfdata( - label => 'web_users', - value => $self->{signedInWebUsers}, - ); - $self->add_perfdata( - label => 'vpn_tunnels', - value => $self->{iveVPNTunnels}, - ); -} - -__END__ - -Beispiel -Knoten a -[USERSUBSYSTEM] -clusterConcurrentUsers: 153 -iveConcurrentUsers: 153 -iveSSLConnections: 153 -iveTotalSignedInUsers: 153 -iveVPNTunnels: 152 -license_usage: 76.5 -maxLicensedUsers: 200 <- nicht bestaetigt, dass es den wert offiziell gibt. knoten oder cluster? -signedInMailUsers: 0 -signedInWebUsers: 153 - -Knoten b -[USERSUBSYSTEM] -clusterConcurrentUsers: 153 -iveConcurrentUsers: 0 -iveSSLConnections: 0 -iveTotalSignedInUsers: 153 <- identisch mit clusterConcurrentUsers? -iveVPNTunnels: 0 -license_usage: 76.5 -maxLicensedUsers: 200 -signedInMailUsers: 0 -signedInWebUsers: 153 <- vermutlich clusterweit - -iveTotalSignedInUsers 1.3.6.1.4.1.12532.48 -"The Total number of Users Logged In for the Cluster" -iveConcurrentUsers 1.3.6.1.4.1.12532.12 -"The Total number of Concurrent user Licenses used for the IVE Node" -clusterConcurrentUsers 1.3.6.1.4.1.12532.13 -"The Total number of Concurrent user Licenses used for the Cluster" diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/RAPIDCITYMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/RAPIDCITYMIB.pm deleted file mode 100644 index 75f8593..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/RAPIDCITYMIB.pm +++ /dev/null @@ -1,4 +0,0 @@ -package CheckNwcHealth::RAPIDCITYMIB; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Riverbed.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Riverbed.pm deleted file mode 100644 index 17dd619..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Riverbed.pm +++ /dev/null @@ -1,20 +0,0 @@ -package CheckNwcHealth::Riverbed; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - -sub init { - my ($self) = @_; - if ($self->implements_mib('STEELHEAD-MIB')) { - bless $self, 'CheckNwcHealth::Riverbed::Steelhead'; - $self->debug('using CheckNwcHealth::Riverbed::Steelhead'); - } elsif ($self->implements_mib('STEELHEAD-EX-MIB')) { - bless $self, 'CheckNwcHealth::Riverbed::SteelheadEX'; - $self->debug('using CheckNwcHealth::Riverbed::SteelheadEX'); - } - if (ref($self) ne "CheckNwcHealth::Riverbed") { - $self->init(); - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Riverbed/Steelhead.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Riverbed/Steelhead.pm deleted file mode 100644 index 18700c8..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Riverbed/Steelhead.pm +++ /dev/null @@ -1,38 +0,0 @@ -package CheckNwcHealth::Riverbed::Steelhead; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Riverbed::Steelhead::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::Server::Linux::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::disk::usage/) { - $self->analyze_and_check_disk_subsystem("CheckNwcHealth::UCDMIB::Component::DiskSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::Server::Linux::Component::MemSubsystem"); - } elsif ($self->mode =~ /device::process::status/) { - $self->analyze_and_check_process_subsystem("CheckNwcHealth::UCDMIB::Component::ProcessSubsystem"); - } elsif ($self->mode =~ /device::uptime/) { - $self->analyze_and_check_uptime_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::UptimeSubsystem"); - } else { - $self->no_such_mode(); - } -} - - -package CheckNwcHealth::Riverbed::SteelheadEX; -our @ISA = qw(CheckNwcHealth::Riverbed::Steelhead); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Riverbed::SteelheadEX::Component::EnvironmentalSubsystem"); - } else { - $self->SUPER::init(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/SGOS.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/SGOS.pm deleted file mode 100644 index 17f0be9..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/SGOS.pm +++ /dev/null @@ -1,21 +0,0 @@ -package CheckNwcHealth::SGOS; -our @ISA = qw(CheckNwcHealth::Bluecoat); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::SGOS::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::SGOS::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::SGOS::Component::MemSubsystem"); - } elsif ($self->mode =~ /device::security/) { - $self->analyze_and_check_security_subsystem("CheckNwcHealth::SGOS::Component::SecuritySubsystem"); - } elsif ($self->mode =~ /device::(users|connections)::(count|check)/) { - $self->analyze_and_check_connection_subsystem("CheckNwcHealth::SGOS::Component::ConnectionSubsystem"); - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/SecureOS.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/SecureOS.pm deleted file mode 100644 index ab8b3f2..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/SecureOS.pm +++ /dev/null @@ -1,23 +0,0 @@ -package CheckNwcHealth::SecureOS; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - # not sure if this works fa25239716cb74c672f8dd390430dc4056caffa7 - if ($self->implements_mib('FCMGMT-MIB')) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::FCMGMT::Component::EnvironmentalSubsystem"); - } - if ($self->implements_mib('HOST-RESOURCES-MIB')) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::EnvironmentalSubsystem"); - } - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::UCDMIB::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::UCDMIB::Component::MemSubsystem"); - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Server/Linux.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Server/Linux.pm deleted file mode 100644 index e230cdc..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Server/Linux.pm +++ /dev/null @@ -1,23 +0,0 @@ -package CheckNwcHealth::Server::Linux; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Server::Linux::Component::EnvironmentalSubsystem") - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::Server::Linux::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::disk::usage/) { - $self->analyze_and_check_disk_subsystem("CheckNwcHealth::UCDMIB::Component::DiskSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::Server::Linux::Component::MemSubsystem"); - } elsif ($self->mode =~ /device::process::status/) { - $self->analyze_and_check_process_subsystem("CheckNwcHealth::UCDMIB::Component::ProcessSubsystem"); - } elsif ($self->mode =~ /device::uptime/ && $self->implements_mib("HOST-RESOURCES-MIB")) { - $self->analyze_and_check_uptime_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::UptimeSubsystem"); - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Server/Linux/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Server/Linux/Component/EnvironmentalSubsystem.pm deleted file mode 100644 index 8ad9001..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Server/Linux/Component/EnvironmentalSubsystem.pm +++ /dev/null @@ -1,46 +0,0 @@ -package CheckNwcHealth::Server::Linux::Component::EnvironmentalSubsystem; -our @ISA = qw(CheckNwcHealth::Server::Linux); -use strict; - -sub new { - my ($class) = @_; - my $self = {}; - bless $self, $class; - $self->init(); - return $self; -} - -sub init { - my ($self) = @_; - if ($self->implements_mib("LM-SENSORS-MIB")) { - $self->{fan_subsystem} = - CheckNwcHealth::LMSENSORSMIB::Component::FanSubsystem->new(); - $self->{temperature_subsystem} = - CheckNwcHealth::LMSENSORSMIB::Component::TemperatureSubsystem->new(); - } - $self->{env_subsystem} = - CheckNwcHealth::HOSTRESOURCESMIB::Component::EnvironmentalSubsystem->new(); -} - -sub check { - my ($self) = @_; - if ($self->implements_mib("LM-SENSORS-MIB")) { - $self->{fan_subsystem}->check(); - $self->{temperature_subsystem}->check(); - } - $self->{env_subsystem}->check(); - if (! $self->check_messages()) { - $self->add_ok("environmental hardware working fine"); - } -} - -sub dump { - my ($self) = @_; - if ($self->implements_mib("LM-SENSORS-MIB")) { - $self->{fan_subsystem}->dump(); - $self->{temperature_subsystem}->dump(); - } - $self->{env_subsystem}->dump(); -} - -1; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UCDMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UCDMIB.pm deleted file mode 100644 index 71ac96d..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UCDMIB.pm +++ /dev/null @@ -1,24 +0,0 @@ -package CheckNwcHealth::UCDMIB; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::UCDMIB::Component::DiskSubsystem"); - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::LMSENSORSMIB::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::UCDMIB::Component::CpuSubsystem"); - $self->analyze_and_check_load_subsystem("CheckNwcHealth::UCDMIB::Component::LoadSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::UCDMIB::Component::MemSubsystem"); - $self->analyze_and_check_swap_subsystem("CheckNwcHealth::UCDMIB::Component::SwapSubsystem"); - } elsif ($self->mode =~ /device::process::status/) { - $self->analyze_and_check_process_subsystem("CheckNwcHealth::UCDMIB::Component::ProcessSubsystem"); - } elsif ($self->mode =~ /device::uptime/ && $self->implements_mib("HOST-RESOURCES-MIB")) { - $self->analyze_and_check_uptime_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::UptimeSubsystem"); - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UPNP.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UPNP.pm deleted file mode 100644 index d3bf1ee..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UPNP.pm +++ /dev/null @@ -1,4 +0,0 @@ -package CheckNwcHealth::UPNP; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UPNP/AVM.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UPNP/AVM.pm deleted file mode 100644 index 0e0972a..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UPNP/AVM.pm +++ /dev/null @@ -1,16 +0,0 @@ -package CheckNwcHealth::UPNP::AVM; -our @ISA = qw(CheckNwcHealth::UPNP); -use strict; - -sub init { - my ($self) = @_; - if ($self->{productname} =~ /(5530|6490|7390|7412|7490|7560|7580|7590)/) { - $self->rebless('CheckNwcHealth::UPNP::AVM::FritzBox7390'); - } else { - $self->no_such_model(); - } - if (ref($self) ne "CheckNwcHealth::UPNP::AVM") { - $self->init(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/VRRPMIB.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/VRRPMIB.pm deleted file mode 100644 index da26cc1..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/VRRPMIB.pm +++ /dev/null @@ -1,3 +0,0 @@ -package CheckNwcHealth::VRRPMIB; -our @ISA = qw(CheckNwcHealth::Device); -use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Versa.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Versa.pm deleted file mode 100644 index e083ad9..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Versa.pm +++ /dev/null @@ -1,62 +0,0 @@ -package CheckNwcHealth::Versa; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Versa::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::Versa::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::Versa::Component::MemSubsystem"); - } elsif ($self->mode =~ /device::bgp/) { - if ($self->implements_mib('DC-BGP-MIB', 'bgpPeerStatusTable')) { - $self->analyze_and_check_interface_subsystem("CheckNwcHealth::Versa::Component::PeerSubsystem"); - } else { - if ($self->implements_mib('DC-BGP-MIB', 'bgpPeerStatusTable')) { - $self->analyze_and_check_interface_subsystem("CheckNwcHealth::Versa::Component::PeerSubsystem"); - } - } - } else { - $self->no_such_mode(); - } -} - -__END__ -MONITOR-MIB::monitorInfoTable -MONITOR-MIB::monitorName.1 = inet-nh-monitor -MONITOR-MIB::monitorName.2 = mpls-nh-monitor -MONITOR-MIB::monitorName.3 = INET-1-monitor-google-dns -MONITOR-MIB::monitorVrf.1 = INET-2-Transport-VR -MONITOR-MIB::monitorVrf.2 = INET-1-Transport-VR -MONITOR-MIB::monitorVrf.3 = INET-1-Transport-VR -MONITOR-MIB::monitorTenant.1 = KPL -MONITOR-MIB::monitorTenant.2 = KPL -MONITOR-MIB::monitorTenant.3 = KPL -MONITOR-MIB::monitorState.1 = Up -MONITOR-MIB::monitorState.2 = Up -MONITOR-MIB::monitorState.3 = Inactive -ORG-MIB::sessStatsTable -ORG-MIB::sessOrgName.2 = KPL -ORG-MIB::sessVsnId.2 = 0 -ORG-MIB::sessActive.2 = 28 -ORG-MIB::sessCreated.2 = 3112872 -ORG-MIB::sessClosed.2 = 3112844 -ORG-MIB::sessActiveNAT.2 = 0 -ORG-MIB::sessCreatedNAT.2 = 303400 -ORG-MIB::sessClosedNAT.2 = 303400 -ORG-MIB::sessFailed.2 = 19 -ORG-MIB::sessMax.2 = 100000 -ORG-MIB::sessSdwanStatsTable -ORG-MIB::sessSdwanOrgName.2 = KPL -ORG-MIB::sessSdwanVsnId.2 = 0 -ORG-MIB::sessSdwanActive.2 = 12 -ORG-MIB::sessSdwanCreated.2 = 2581846 -ORG-MIB::sessSdwanClosed.2 = 2581834 -ORG-MIB::orgAlarmStatsTable -VERSA-IF-MIB::versaIfVIfName.7 = vni-0/1 -VERSA-IF-MIB::versaIfVIfName.8 = vni-0/1.0 -VERSA-IF-MIB::versaIfVIfName.17 = vni-0/0 -VERSA-IF-MIB::versaIfVIfName.18 = vni-0/0.0 - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Versa/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Versa/Component/CpuSubsystem.pm deleted file mode 100644 index f0ef145..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Versa/Component/CpuSubsystem.pm +++ /dev/null @@ -1,31 +0,0 @@ -package CheckNwcHealth::Versa::Component::CpuSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $self->get_snmp_tables('DEVICE-MIB', [ - ['devices', 'deviceTable', 'CheckNwcHealth::Versa::Component::CpuSubsystem::Device' ], - ]); -} - - -package CheckNwcHealth::Versa::Component::CpuSubsystem::Device; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub check { - my ($self) = @_; - my $label = sprintf('cpu_%s_usage', $self->{flat_indices}); - $self->add_info(sprintf 'cpu_%s usage is %.2f%%', - $self->{flat_indices}, $self->{deviceCPULoad}); - $self->set_thresholds(metric => $label, warning => 80, critical => 90); - $self->add_message($self->check_thresholds( - metric => $label, value => $self->{deviceCPULoad})); - $self->add_perfdata( - label => $label, - value => $self->{deviceCPULoad}, - uom => '%', - ); -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Versa/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Versa/Component/EnvironmentalSubsystem.pm deleted file mode 100644 index dcee928..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Versa/Component/EnvironmentalSubsystem.pm +++ /dev/null @@ -1,108 +0,0 @@ -package CheckNwcHealth::Versa::Component::EnvironmentalSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $self->get_snmp_tables('STORAGE-MIB', [ - ['storages', 'storageGlobalProfileStatsTable', 'CheckNwcHealth::Versa::Component::EnvironmentalSubsystem::StorageProfile' ], - ]); - $self->get_snmp_tables('DEVICE-MIB', [ - ['alarms', 'deviceAlarmStatsTable', 'CheckNwcHealth::Versa::Component::EnvironmentalSubsystem::Alarm' ], - ]); - if (! @{$self->{alarms}}) { - $self->get_snmp_tables('ORG-MIB', [ - ['alarms', 'orgAlarmStatsTable', 'CheckNwcHealth::Versa::Component::EnvironmentalSubsystem::Alarm' ], - ]); - } -} - -sub xcheck { - my ($self) = @_; - $self->add_ok("environmental hardware working fine, at least i hope so. this device did not implement any kind of hardware health status. use -vv to see a list of components"); -} - - -package CheckNwcHealth::Versa::Component::EnvironmentalSubsystem::StorageProfile; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub finish { - my ($self) = @_; - $self->{storageGlobalProfileHardDiskUsage} = - $self->{storageGlobalProfileUsedHardDiskSize} / - $self->{storageGlobalProfileAvailableHardDiskSize} * 100; - if ($self->{storageGlobalProfileAvailableRamDiskSize}) { - $self->{storageGlobalProfileRamDiskUsage} = - $self->{storageGlobalProfileUsedRamDiskSize} / - $self->{storageGlobalProfileAvailableRamDiskSize} * 100; - } -} - -sub check { - my ($self) = @_; - my $label = sprintf 'disk_%s_usage', $self->{flat_indices}; - $self->add_info(sprintf 'disk %s usage is %.2f%%', - $self->{flat_indices}, - $self->{storageGlobalProfileHardDiskUsage}); - $self->set_thresholds(metric => $label, warning => 90, critical => 95); - $self->add_message($self->check_thresholds(metric => $label, - value => $self->{storageGlobalProfileHardDiskUsage})); - $self->add_perfdata(label => $label, - value => $self->{storageGlobalProfileHardDiskUsage}, - uom => "%"); - if (exists $self->{storageGlobalProfileRamDiskUsage}) { - $label = sprintf 'ramdisk_%s_usage', $self->{flat_indices}; - $self->add_info(sprintf 'ramdisk %s usage is %.2f%%', - $self->{flat_indices}, - $self->{storageGlobalProfileRamDiskUsage} - ); - $self->set_thresholds(metric => $label, warning => 90, critical => 95); - $self->add_message($self->check_thresholds(metric => $label, - value => $self->{storageGlobalProfileRamDiskUsage})); - $self->add_perfdata(label => $label, - value => $self->{storageGlobalProfileRamDiskUsage}, - uom => "%" - ); - } -} - - -package CheckNwcHealth::Versa::Component::EnvironmentalSubsystem::Alarm; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub finish { - my ($self) = @_; - if (exists $self->{deviceAlarmName}) { - foreach my $devkey (keys %{$self}) { - (my $key = $devkey) =~ s/deviceAlarm/alarm/; - $self->{$key} = $self->{$devkey}; - delete $self->{$devkey}; - } - } -# [ALARM_2.99] -# alarmAnalyticsCnt: 0 -# alarmChangedCnt: 0 -# alarmClearedCnt: 0 -# alarmName: ha-sync-state-change -# alarmNetconfCnt: 0 -# alarmNewCnt: 0 -# alarmOrgName: KPL -# alarmSnmpCnt: 0 -# alarmSyslogCnt: 0 -# -# [ALARM_99] -# deviceAlarmAnalyticsCnt: 0 -# deviceAlarmChangedCnt: 0 -# deviceAlarmClearedCnt: 0 -# deviceAlarmName: ha-sync-state-change -# deviceAlarmNetconfCnt: 0 -# deviceAlarmNewCnt: 0 -# deviceAlarmSnmpCnt: 0 -# deviceAlarmSyslogCnt: 0 -# -# evt Anstieg von alarmNewCnt beobachten -# alarmName: sdwan-nbr-datapath-down -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Versa/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Versa/Component/MemSubsystem.pm deleted file mode 100644 index edf4a71..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Versa/Component/MemSubsystem.pm +++ /dev/null @@ -1,31 +0,0 @@ -package CheckNwcHealth::Versa::Component::MemSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $self->get_snmp_tables('DEVICE-MIB', [ - ['devices', 'deviceTable', 'CheckNwcHealth::Versa::Component::MemSubsystem::Device' ], - ]); -} - - -package CheckNwcHealth::Versa::Component::MemSubsystem::Device; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub check { - my ($self) = @_; - my $label = sprintf('memory_%s_usage', $self->{flat_indices}); - $self->add_info(sprintf 'memory_%s usage is %.2f%%', - $self->{flat_indices}, $self->{deviceMemoryLoad}); - $self->set_thresholds(metric => $label, warning => 80, critical => 90); - $self->add_message($self->check_thresholds( - metric => $label, value => $self->{deviceMemoryLoad})); - $self->add_perfdata( - label => $label, - value => $self->{deviceMemoryLoad}, - uom => '%', - ); -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Versa/Component/PeerSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Versa/Component/PeerSubsystem.pm deleted file mode 100644 index 0af03e3..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Versa/Component/PeerSubsystem.pm +++ /dev/null @@ -1,401 +0,0 @@ -package CheckNwcHealth::Versa::Component::PeerSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -our $errorcodes = { - 0 => { - 0 => 'No Error', - }, - 1 => { - 0 => 'MESSAGE Header Error', - 1 => 'Connection Not Synchronized', - 2 => 'Bad Message Length', - 3 => 'Bad Message Type', - }, - 2 => { - 0 => 'OPEN Message Error', - 1 => 'Unsupported Version Number', - 2 => 'Bad Peer AS', - 3 => 'Bad BGP Identifier', - 4 => 'Unsupported Optional Parameter', - 5 => '[Deprecated => see Appendix A]', - 6 => 'Unacceptable Hold Time', - }, - 3 => { - 0 => 'UPDATE Message Error', - 1 => 'Malformed Attribute List', - 2 => 'Unrecognized Well-known Attribute', - 3 => 'Missing Well-known Attribute', - 4 => 'Attribute Flags Error', - 5 => 'Attribute Length Error', - 6 => 'Invalid ORIGIN Attribute', - 7 => '[Deprecated => see Appendix A]', - 8 => 'Invalid NEXT_HOP Attribute', - 9 => 'Optional Attribute Error', - 10 => 'Invalid Network Field', - 11 => 'Malformed AS_PATH', - }, - 4 => { - 0 => 'Hold Timer Expired', - }, - 5 => { - 0 => 'Finite State Machine Error', - }, - 6 => { - 0 => 'Cease', - 1 => 'Maximum Number of Prefixes Reached', - 2 => 'Administrative Shutdown', - 3 => 'Peer De-configured', - 4 => 'Administrative Reset', - 5 => 'Connection Rejected', - 6 => 'Other Configuration Change', - 7 => 'Connection Collision Resolution', - 8 => 'Out of Resources', - }, -}; - - -sub init { - my ($self) = @_; - $self->{peerstatus} = []; - $self->bulk_is_baeh(10); - if ($self->mode =~ /device::bgp::peer::count/) { - $self->get_snmp_tables('DC-BGP-MIB', [ - #['peers', 'bgpPeerTable', 'CheckNwcHealth::Versa::Component::PeerSubsystem::Peer', undef, ['bgpPeerIndex'] ], - # das war bisher peerstatus - ['peerstatus', 'bgpPeerStatusTable', 'CheckNwcHealth::Versa::Component::PeerSubsystem::PeerStatus', undef, ['bgpPeerStatusFsmEstablishedTime'] ], - ]); - } elsif ($self->mode =~ /device::bgp::peer::watch/) { - $self->get_snmp_tables('DC-BGP-MIB', [ - ['peers', 'bgpPeerTable', 'CheckNwcHealth::Versa::Component::PeerSubsystem::Peer', undef, ['bgpPeerIndex'] ], - ['peerstatus', 'bgpPeerStatusTable', 'CheckNwcHealth::Versa::Component::PeerSubsystem::PeerStatus', undef, ['bgpPeerStatusSelRemoteAddr', 'bgpPeerStatusSelRemoteAddrType', 'bgpPeerStatusFsmEstablishedTime'] ], - ]); - } else { - $self->get_snmp_tables('DC-BGP-MIB', [ - ['peers', 'bgpPeerTable', 'CheckNwcHealth::Versa::Component::PeerSubsystem::Peer', undef, ['bgpPeerAdminStatus'] ], - ['peerstatus', 'bgpPeerStatusTable', 'CheckNwcHealth::Versa::Component::PeerSubsystem::PeerStatus', undef, ['bgpPeerStatusSelLocalAddrType', 'bgpPeerStatusSelLocalAddr', 'bgpPeerStatusSelRemoteAddrType', 'bgpPeerStatusSelRemoteAddr', 'bgpPeerStatusLastError', 'bgpPeerStatusFsmEstablishedTime', 'bgpPeerStatusRemoteAs', 'bgpPeerStatusState']], - ]); - #$self->merge_tables("peers", (qw(peerstatus))); - $self->merge_tables("peerstatus", (qw(peers))); - } -} - -sub check { - my ($self) = @_; - my $errorfound = 0; - $self->add_info('checking bgp peers'); - if ($self->mode =~ /peer::list/) { - foreach (sort {$a->{bgpPeerStatusSelRemoteAddr} cmp $b->{bgpPeerStatusSelRemoteAddr}} @{$self->{peerstatus}}) { - printf "%s\n", $_->{bgpPeerStatusSelRemoteAddr}; - #$_->list(); - } - $self->add_ok("have fun"); - } elsif ($self->mode =~ /peer::count/) { - $self->add_info(sprintf "found %d peers", scalar(@{$self->{peerstatus}})); - $self->set_thresholds(warning => '1:', critical => '1:'); - $self->add_message($self->check_thresholds(scalar(@{$self->{peerstatus}}))); - $self->add_perfdata( - label => 'peers', - value => scalar(@{$self->{peerstatus}}), - ); - } elsif ($self->mode =~ /peer::watch/) { - # take a snapshot of the peer list. -> good baseline - # warning if there appear peers, mitigate to ok - # critical if warn/crit percent disappear - $self->{numOfPeers} = scalar (@{$self->{peerstatus}}); - $self->{peerNameList} = [map { $_->{bgpPeerStatusSelRemoteAddr} } @{$self->{peerstatus}}]; - $self->opts->override_opt('lookback', 3600) if ! $self->opts->lookback; - if ($self->opts->reset) { - my $statefile = $self->create_statefile(name => 'bgppeerlist', lastarray => 1); - unlink $statefile if -f $statefile; - } - $self->valdiff({name => 'bgppeerlist', lastarray => 1}, - qw(peerNameList numOfPeers)); - my $problem = 0; - if ($self->opts->warning || $self->opts->critical) { - $self->set_thresholds(warning => $self->opts->warning, - critical => $self->opts->critical); - my $before = $self->{numOfPeers} - scalar(@{$self->{delta_found_peerNameList}}) + scalar(@{$self->{delta_lost_peerNameList}}); - # use own delta_numOfPeers, because the glplugin version treats - # negative deltas as overflows - $self->{delta_numOfPeers} = $self->{numOfPeers} - $before; - if ($self->opts->units && $self->opts->units eq "%") { - my $delta_pct = $before ? (($self->{delta_numOfPeers} / $before) * 100) : 0; - $self->add_message($self->check_thresholds($delta_pct), - sprintf "%.2f%% delta, before: %d, now: %d", $delta_pct, $before, $self->{numOfPeers}); - $problem = $self->check_thresholds($delta_pct); - } else { - $self->add_message($self->check_thresholds($self->{delta_numOfPeers}), - sprintf "%d delta, before: %d, now: %d", $self->{delta_numOfPeers}, $before, $self->{numOfPeers}); - $problem = $self->check_thresholds($self->{delta_numOfPeers}); - } - if (scalar(@{$self->{delta_found_peerNameList}}) > 0) { - $self->add_ok(sprintf 'found: %s', - join(", ", @{$self->{delta_found_peerNameList}})); - } - if (scalar(@{$self->{delta_lost_peerNameList}}) > 0) { - $self->add_ok(sprintf 'lost: %s', - join(", ", @{$self->{delta_lost_peerNameList}})); - } - } else { - if (scalar(@{$self->{delta_found_peerNameList}}) > 0) { - $self->add_warning(sprintf '%d new bgp peers (%s)', - scalar(@{$self->{delta_found_peerNameList}}), - join(", ", @{$self->{delta_found_peerNameList}})); - $problem = 1; - } - if (scalar(@{$self->{delta_lost_peerNameList}}) > 0) { - $self->add_critical(sprintf '%d bgp peers missing (%s)', - scalar(@{$self->{delta_lost_peerNameList}}), - join(", ", @{$self->{delta_lost_peerNameList}})); - $problem = 2; - } - $self->add_ok(sprintf 'found %d bgp peers', $self->{numOfPeers}); - } - if ($problem) { # relevant only for lookback=9999 and support contract customers - $self->valdiff({name => 'bgppeerlist', lastarray => 1, freeze => 1}, - qw(peerNameList numOfPeers)); - } else { - $self->valdiff({name => 'bgppeerlist', lastarray => 1, freeze => 2}, - qw(peerNameList numOfPeers)); - } - $self->add_perfdata( - label => 'num_peers', - value => scalar (@{$self->{peerstatus}}), - ); - } else { - if (scalar(@{$self->{peerstatus}}) == 0) { - $self->add_unknown('no peers'); - return; - } - # es gibt - # kleine installation: 1 peer zu 1 as, evt 2. as als fallback - # grosse installation: n peer zu 1 as, alternative routen zum provider - # n peer zu m as, mehrere provider, mehrere alternativrouten - # 1 ausfall on 4 peers zu as ist egal - my $as_numbers = {}; - foreach (@{$self->{peerstatus}}) { - $_->check(); - if (! exists $as_numbers->{$_->{bgpPeerStatusRemoteAs}}->{peers}) { - $as_numbers->{$_->{bgpPeerStatusRemoteAs}}->{peers} = []; - $as_numbers->{$_->{bgpPeerStatusRemoteAs}}->{availability} = 100; - } - push(@{$as_numbers->{$_->{bgpPeerStatusRemoteAs}}->{peers}}, $_); - } - if ($self->opts->name2) { - $self->clear_ok(); - $self->clear_critical(); - if ($self->opts->name2 eq "_ALL_") { - $self->opts->override_opt("name2", join(",", keys %{$as_numbers})); - } - foreach my $as (split(",", $self->opts->name2)) { - my $asname = ""; - if ($as =~ /(\d+)=(\w+)/) { - $as = $1; - $asname = $2; - } - if (exists $as_numbers->{$as}) { - my $num_peers = scalar(@{$as_numbers->{$as}->{peers}}); - my $num_ok_peers = scalar(grep { $_->{bgpPeerStatusFaulty} == 0 } @{$as_numbers->{$as}->{peers}}); - my $num_admdown_peers = scalar(grep { $_->{bgpPeerStatusAdminStatus} eq "stop" } @{$as_numbers->{$as}->{peers}}); - $as_numbers->{$as}->{availability} = 100 * $num_ok_peers / $num_peers; - $self->set_thresholds(warning => "100:", critical => "50:"); - $self->add_message($self->check_thresholds($as_numbers->{$as}->{availability}), - sprintf "%d from %d connections to %s are up (%.2f%%%s)", - $num_ok_peers, $num_peers, $asname ? $asname : "AS".$as, - $as_numbers->{$as}->{availability}, - $num_admdown_peers ? sprintf(", but %d are admin down and counted as up!", $num_admdown_peers) : ""); - } else { - $self->add_critical(sprintf 'found no peer for %s', $asname ? $asname : "AS".$as); - } - } - } - if ($self->opts->report eq "short") { - $self->clear_ok(); - $self->add_ok('no problems') if ! $self->check_messages(); - } - } -} - - -package CheckNwcHealth::Versa::Component::PeerSubsystem::PeerStatus; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; -use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; - -sub finish { - my ($self) = @_; - # INDEX { bgpRmEntIndex, - # bgpPeerLocalAddrType, - # bgpPeerLocalAddr, - # bgpPeerLocalPort, - # bgpPeerRemoteAddrType, - # bgpPeerRemoteAddr, - # bgpPeerRemotePort, - # bgpPeerLocalAddrScopeId} - my @tmp_indices = @{$self->{indices}}; - my $last_tmp = scalar(@tmp_indices) - 1; - shift @tmp_indices; - $self->{bgpPeerLocalAddrType} = $self->mibs_and_oids_definition( - 'INET-ADDRESS-MIB', 'InetAddressType', shift @tmp_indices); - $self->{bgpPeerLocalAddr} = $self->mibs_and_oids_definition( - 'INET-ADDRESS-MIB', 'InetAddressMaker', - $self->{bgpPeerLocalAddrType}, @tmp_indices); - # pos0 = anzahl der folgenden adress-bestandteile - # pos1..<$pos0 - 1> adresse - for (1..$tmp_indices[0]+1) { shift @tmp_indices } - - $self->{bgpPeerLocalPort} = shift @tmp_indices; - $self->{bgpPeerRemoteAddrType} = $self->mibs_and_oids_definition( - 'INET-ADDRESS-MIB', 'InetAddressType', shift @tmp_indices); - $self->{bgpPeerRemoteAddr} = $self->mibs_and_oids_definition( - 'INET-ADDRESS-MIB', 'InetAddressMaker', - $self->{bgpPeerRemoteAddrType}, @tmp_indices); - for (1..$tmp_indices[0]+1) { shift @tmp_indices } - $self->{bgpPeerRemotePort} = shift @tmp_indices; - - $self->{bgpPeerLocalAddr} = "=empty=" if ! $self->{bgpPeerLocalAddr}; - - $self->{bgpPeerStatusSelLocalAddr} = $self->mibs_and_oids_definition( - 'INET-ADDRESS-MIB', 'InetAddress', - $self->{bgpPeerStatusSelLocalAddr}, $self->{bgpPeerStatusSelLocalAddrType}) if $self->{bgpPeerStatusSelLocalAddr}; - $self->{bgpPeerStatusSelRemoteAddr} = $self->mibs_and_oids_definition( - 'INET-ADDRESS-MIB', 'InetAddress', - $self->{bgpPeerStatusSelRemoteAddr}, $self->{bgpPeerStatusSelRemoteAddrType}) if $self->{bgpPeerStatusSelRemoteAddr}; - - $self->{bgpPeerStatusLastError} |= "00 00"; - my $errorcode = 0; - my $subcode = 0; - if (lc $self->{bgpPeerStatusLastError} =~ /([0-9a-f]+)\s+([0-9a-f]+)/) { - $errorcode = hex($1) * 1; - $subcode = hex($2) * 1; - } - $self->{bgpPeerStatusLastError} = $CheckNwcHealth::Versa::Component::PeerSubsystem::errorcodes->{$errorcode}->{$subcode}; - $self->{bgpPeerStatusRemoteAsName} = ""; - $self->{bgpPeerStatusRemoteAsImportant} = 0; # if named in --name2 - $self->{bgpPeerStatusFaulty} = 0; - my @parts = gmtime($self->{bgpPeerStatusFsmEstablishedTime}); - $self->{bgpPeerStatusFsmEstablishedTime} = sprintf ("%dd, %dh, %dm, %ds",@parts[7,2,1,0]); -} - - - - -package CheckNwcHealth::Versa::Component::PeerSubsystem::Peer; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; -use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; - -sub finish { - my ($self) = @_; - # INDEX { bgpRmEntIndex, # Unsigned32 - # bgpPeerLocalAddrType, # InetAddressType - # bgpPeerLocalAddr, # InetAddress - # bgpPeerLocalPort, # InetPortNumber - # bgpPeerRemoteAddrType, # InetAddressType - # bgpPeerRemoteAddr, # InetAddress - # bgpPeerRemotePort, # InetPortNumber - # bgpPeerLocalAddrScopeId} # Unsigned32 - my @tmp_indices = @{$self->{indices}}; - my $last_tmp = scalar(@tmp_indices) - 1; - shift @tmp_indices; - $self->{bgpPeerLocalAddrType} = $self->mibs_and_oids_definition( - 'INET-ADDRESS-MIB', 'InetAddressType', shift @tmp_indices); - - $self->{bgpPeerLocalAddr} = $self->mibs_and_oids_definition( - 'INET-ADDRESS-MIB', 'InetAddressMaker', - $self->{bgpPeerLocalAddrType}, @tmp_indices); - # pos0 = anzahl der folgenden adress-bestandteile - # pos1..<$pos0 - 1> adresse - for (1..$tmp_indices[0]+1) { shift @tmp_indices } - - $self->{bgpPeerLocalPort} = shift @tmp_indices; - $self->{bgpPeerRemoteAddrType} = $self->mibs_and_oids_definition( - 'INET-ADDRESS-MIB', 'InetAddressType', shift @tmp_indices); - $self->{bgpPeerRemoteAddr} = $self->mibs_and_oids_definition( - 'INET-ADDRESS-MIB', 'InetAddressMaker', - $self->{bgpPeerRemoteAddrType}, @tmp_indices); - for (1..$tmp_indices[0]+1) { shift @tmp_indices } - $self->{bgpPeerRemotePort} = shift @tmp_indices; - - $self->{bgpPeerLocalAddr} = "=empty=" if ! $self->{bgpPeerLocalAddr}; - if ($self->mode =~ /device::bgp::peer::count/) { - # der hat lediglich bgpPeerIndex und was hier aus dem Index rausgezogen wurde - } else { - # keine Ahnung, warum hier geputzt wird. Vielleicht weil viel binaerer Schlonz dabei ist. - foreach my $key (grep /^bgp/, keys %{$self}) { - #delete $self->{$key} if ! (grep /^$key$/, (qw(bgpPeerAdminStatus bgpPeerOperStatus bgpPeerLocalAddr bgpPeerRemoteAddr))) - } - } -} - -sub check { - my ($self) = @_; - if ($self->opts->name2) { - foreach my $as (split(",", $self->opts->name2)) { - if ($as =~ /(\d+)=(\w+)/) { - $as = $1; - $self->{bgpPeerStatusRemoteAsName} = ", ".$2; - } else { - $self->{bgpPeerStatusRemoteAsName} = ""; - } - if ($as eq "_ALL_" || $as == $self->{bgpPeerStatusRemoteAs}) { - $self->{bgpPeerStatusRemoteAsImportant} = 1; - } - } - } else { - $self->{bgpPeerStatusRemoteAsImportant} = 1; - } - if ($self->{bgpPeerStatusState} eq "established") { - $self->add_ok(sprintf "peer %s (AS%s) state is %s since %s", - $self->{bgpPeerStatusSelRemoteAddr}, - $self->{bgpPeerStatusRemoteAs}.$self->{bgpPeerStatusRemoteAsName}, - $self->{bgpPeerStatusState}, - $self->{bgpPeerStatusFsmEstablishedTime} - ); - } elsif ($self->{bgpPeerStatusAdminStatus} ne "adminStatusUp") { - # admin down is by default critical, but can be mitigated - $self->add_message( - defined $self->opts->mitigation() ? $self->opts->mitigation() : - $self->{bgpPeerStatusRemoteAsImportant} ? WARNING : OK, - sprintf "peer %s (AS%s) state is %s (is admin down)", - $self->{bgpPeerStatusSelRemoteAddr}, - $self->{bgpPeerStatusRemoteAs}.$self->{bgpPeerStatusRemoteAsName}, - $self->{bgpPeerStatusState} - ); - $self->{bgpPeerStatusFaulty} = - defined $self->opts->mitigation() && $self->opts->mitigation() eq "ok" ? 0 : - $self->{bgpPeerStatusRemoteAsImportant} ? 1 : 0; - } else { - # bgpPeerStatusLastError may be undef, at least under the following circumstances - # bgpPeerStatusRemoteAsName is "", bgpPeerStatusAdminStatus is "start", - # bgpPeerStatusState is "active" - # https://community.cisco.com/t5/routing/confirm-quot-active-quot-meaning-in-bgp/td-p/1391629 - $self->add_message($self->{bgpPeerStatusRemoteAsImportant} ? CRITICAL : OK, - sprintf "peer %s (AS%s) state is %s (last error: %s)", - $self->{bgpPeerStatusSelRemoteAddr}, - $self->{bgpPeerStatusRemoteAs}.$self->{bgpPeerStatusRemoteAsName}, - $self->{bgpPeerStatusState}, - $self->{bgpPeerStatusLastError}||"no error" - ); - $self->{bgpPeerStatusFaulty} = $self->{bgpPeerStatusRemoteAsImportant} ? 1 : 0; - } -} - -__END__ - bgpPeerTable OBJECT-TYPE - -- FAMILY-SHORT-NAME BGP_PER - SYNTAX SEQUENCE OF BgpPeerEntry - MAX-ACCESS not-accessible - STATUS current - DESCRIPTION "BGP peer configuration table. - - This table allows a user to configure individual BGP peers. - - This table is a configuration table - all status, statistics - and control fields are deprecated in favor of the BGP peer - status table (bgpPeerStatusTable). - - This table does not contain entries for dynamic peers. - -17.4.23 die bgpPeerTable fliegt ganz raus, alles laeuft jetzt ueber die bgpPeerStatusTable diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Vormetric.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Vormetric.pm deleted file mode 100644 index 7e91a3c..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Vormetric.pm +++ /dev/null @@ -1,18 +0,0 @@ -package CheckNwcHealth::Vormetric; -our @ISA = qw(CheckNwcHealth::Device); -use strict; - - -sub init { - my ($self) = @_; - if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Vormetric::Component::EnvironmentalSubsystem"); - } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::Vormetric::Component::CpuSubsystem"); - } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::Vormetric::Component::MemSubsystem"); - } else { - $self->no_such_mode(); - } -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Vormetric/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Vormetric/Component/CpuSubsystem.pm deleted file mode 100644 index 8c3a69a..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Vormetric/Component/CpuSubsystem.pm +++ /dev/null @@ -1,60 +0,0 @@ -package CheckNwcHealth::Vormetric::Component::CpuSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $self->get_snmp_objects('VORMETRIC-MIB', (qw(vmstat))); - my @columns = (); - foreach my $line (split(/\n/, $self->{vmstat})) { - $line =~ s/^\s+//; - $line =~ s/\s+$//; - if ($line =~ /free/) { - @columns = split(/\s+/, $line); - } elsif ($line =~ /^[\d\s]+$/) { - my @metrics = split(/\s+/, $line); - while (@columns) { - my $column = shift @columns; - $self->{$column} = shift @metrics; - } - } - } - $self->{busy} = $self->{us} + $self->{sy}; -} - -sub check { - my ($self) = @_; - $self->add_info('checking cpu'); - $self->add_info(sprintf 'cpu is %.2f%% busy', $self->{busy}); - $self->set_thresholds( - metric => 'cpu_busy', - warning => 90, - critical => 95); - $self->add_message($self->check_thresholds( - metric => 'cpu_busy', - value => $self->{busy})); - $self->add_perfdata( - label => 'cpu_busy', - value => $self->{busy}, - uom => '%', - ); - $self->add_info(sprintf '(%.2f%% io wait)', $self->{wa}); - $self->set_thresholds( - metric => 'cpu_iowait', - warning => 10, - critical => 20); - $self->add_message($self->check_thresholds( - metric => 'cpu_iowait', - value => $self->{wa})); - $self->add_perfdata( - label => 'cpu_iowait', - value => $self->{wa}, - uom => '%', - ); -} - -__END__ -procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu----- - r b swpd free buff cache si so bi bo in cs us sy id wa st - 0 0 29696 778556 271924 1014372 0 0 0 1 1 1 1 0 99 0 0 - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Vormetric/Component/DiskSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Vormetric/Component/DiskSubsystem.pm deleted file mode 100644 index 10166f7..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Vormetric/Component/DiskSubsystem.pm +++ /dev/null @@ -1,53 +0,0 @@ -package CheckNwcHealth::Vormetric::Component::DiskSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $self->{filesystems} = []; - $self->get_snmp_objects('VORMETRIC-MIB', (qw(diskUsage))); - foreach my $line (split(/\n/, $self->{diskUsage})) { - if ($line =~ /(.*?)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)%\s+(.*)/) { - push(@{$self->{filesystems}}, - CheckNwcHealth::Vormetric::Component::DiskSubsystem::Filesystem->new( - device => $1, - size => $2 * 1024*1024, - used => $3 * 1024*1024, - available => $4 * 1024*1024, - usedpct => $5, - mountpoint => $6, - )); - } - } -} - - -package CheckNwcHealth::Vormetric::Component::DiskSubsystem::Filesystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub finish { - my ($self) = @_; - $self->{freepct} = 100 - $self->{usedpct}; -} - -sub check { - my ($self) = @_; - $self->add_info(sprintf "%s has %d%% free space", - $self->{mountpoint}, $self->{freepct}); - my $label = $self->{mountpoint}."_free_pct"; - $self->set_thresholds( - metric => $label, - warning => "10:", - critical => "5:", - ); - $self->add_message($self->check_thresholds( - metric => $label, - value => $self->{freepct})); - $self->add_perfdata( - label => $label, - value => $self->{freepct}, - uom => "%", - ); -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Vormetric/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Vormetric/Component/EnvironmentalSubsystem.pm deleted file mode 100644 index 9f325b5..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Vormetric/Component/EnvironmentalSubsystem.pm +++ /dev/null @@ -1,23 +0,0 @@ -package CheckNwcHealth::Vormetric::Component::EnvironmentalSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $self->{disk_subsystem} = - CheckNwcHealth::Vormetric::Component::DiskSubsystem->new(); -} - -sub check { - my ($self) = @_; - $self->{disk_subsystem}->check(); - if (! $self->check_messages()) { - $self->add_ok("environmental hardware working fine"); - } -} - -sub dump { - my ($self) = @_; - $self->{disk_subsystem}->dump(); -} - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Vormetric/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Vormetric/Component/MemSubsystem.pm deleted file mode 100644 index 8b119c5..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Vormetric/Component/MemSubsystem.pm +++ /dev/null @@ -1,52 +0,0 @@ -package CheckNwcHealth::Vormetric::Component::MemSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); -use strict; - -sub init { - my ($self) = @_; - $self->get_snmp_objects('VORMETRIC-MIB', (qw(vmstat))); - my @columns = (); - foreach my $line (split(/\n/, $self->{vmstat})) { - $line =~ s/^\s+//; - $line =~ s/\s+$//; - if ($line =~ /free/) { - @columns = split(/\s+/, $line); - } elsif ($line =~ /^[\d\s]+$/) { - my @metrics = split(/\s+/, $line); - while (@columns) { - my $column = shift @columns; - $self->{$column} = shift @metrics; - # default is 1024bytes, but it may change - $self->{$column} *= 8 * $self->number_of_bits("KB"); - } - } - } - $self->{total} = $self->{free} + $self->{buff} + $self->{cache} + $self->{swpd}; - $self->{mem_free_pct} = $self->{free} / $self->{total} * 100; - $self->{mem_used_pct} = 100 - $self->{mem_free_pct}; -} - -sub check { - my ($self) = @_; - $self->add_info('checking memory'); - $self->add_info(sprintf 'memory used is %.2f%%', - $self->{mem_used_pct}); - $self->set_thresholds( - metric => 'mem_used_pct', - warning => 80, - critical => 90); - $self->add_message($self->check_thresholds( - metric => 'mem_used_pct', - value => $self->{mem_used_pct})); - $self->add_perfdata( - label => 'mem_used_pct', - value => $self->{mem_used_pct}, - uom => '%', - ); -} - -__END__ -procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu----- - r b swpd free buff cache si so bi bo in cs us sy id wa st - 0 0 29696 778556 271924 1014372 0 0 0 1 1 1 1 0 99 0 0 - diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/Makefile.am b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/Makefile.am deleted file mode 100644 index b1bf242..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/Makefile.am +++ /dev/null @@ -1,577 +0,0 @@ -libexec_SCRIPTS=check_nwc_health -GL_MODULES=\ - ../GLPlugin/lib/Monitoring/GLPlugin/Commandline/Extraopts.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/Commandline/Getopt.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/Commandline.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/Item.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/TableItem.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MIB2MIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SNMPFRAMEWORKMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADSLLINEMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADONISDNSMIBMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/AIRESPACESWITCHINGMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/AIRESPACEWIRELESSMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ALARMMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ALCATELIND1BASEMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARISTABGP4V2MIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARISTAENTITYSENSORMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARISTAIFMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBATCMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDCHASSISMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDFANTRAYMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDFANMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDPOWERSUPPLYMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDVSFMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDTEMPSENSORMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ASYNCOSMAILMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ATTACKMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BAMSNMPMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDHCPV4MIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDNSMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNSYSTEMMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BGP4MIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BIANCABRICKMIBRESMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BLUECOATAVMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BLUECOATSGPROXYMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BRIDGEMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CHECKPOINTMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOBGP4MIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOCCMMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOCONFIGMANMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOEIGRPMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENHANCEDMEMPOOLMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYALARMMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYFRUCONTROLMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYSENSORMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENVMONMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOERRDISABLEMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOETHERNETFABRICEXTENDERMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOFEATURECONTROLMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOFIREWALLMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOHSRPMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOIETFNATMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOIPSECFLOWMONITORMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOL2L3INTERFACECONFIGMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLICENSEMGMTMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPAPMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPCDPMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPHAMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOMEMORYPOOLMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPORTCHANNELMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPORTSECURITYMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPROCESSMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOREMOTEACCESSMONITORMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCORTTMONMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCORTTMONTCMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBHWENVIROMENTMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBRNDMNGMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBSYSMNGMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBTUNINGMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSDWANOPERSYSTEMMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSDWANAPPROUTEMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSMARTLICMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSTACKMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSTACKWISEMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSYSTEMEXTMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOVTPMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CLAVISTERMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/DCBGPMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/DEVICEMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/DISKMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ELTEXMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYSENSORMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYSTATEMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ETHERLIKEMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPAPMMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPGLOBALMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPLOCALMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPSYSTEMMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FCEOSMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FCMGMTMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FIBRECHANNELFEMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FORTINETCOREMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FORTINETFORTIGATEMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FOUNDRYSNAGENTMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FOUNDRYSNSWL4SWITCHGROUPMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/GENUAMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HH3CENTITYEXTMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIBGPVPNMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIENTITYEXTENTMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIL2MAMMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIL2VLANMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIWLANAPMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIWLANAPRADIOMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIWLANCONFIGURATIONMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIWLANSTATIONMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HOSTRESOURCESMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HPICFCHASSIS.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IANAIFTYPEMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IANARTPROTOMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IEEE8023LAGMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IFMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/INETADDRESSMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IPFORWARDMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IPMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERALARMMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERIVEMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERRPSMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERSRX5000SPUMONITORINGMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNOSBGP4V2MIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LARAMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LCOSMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LMSENSORSMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LOADBALSYSTEMMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MINIIFMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETGEARMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENCHASSISMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENNSRPMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENPRODUCTSMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENRESOURCEMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSWITCHMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDCISCOCPUMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDCISCOINTERFACESMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDNETSWITCHMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDSTATISTICSMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ONEACCESSSYSMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDCARPMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDMEMMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDPFMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDSENSORSMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ORGMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OSPFMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OSPFV3MIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PANCOMMONMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PANPRODUCTSMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PHIONMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PROXYMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PULSESECUREPSGMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/QBRIDGEMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RAPIDCITYMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RESOURCEMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RMONMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/S5CHASSISMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SENSORMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SNMPV2TCV1MIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STATISTICSMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STEELHEADMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STEELHEADEXMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STORAGEMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SWMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SYNOPTICSROOTMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SYSTEMRESOURCESMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UCDDISKIOMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UCDSNMPMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/USAGEMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VIPTELAHARDWARE.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VIPTELAOPERSYSTEM.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VIPTELASECURITY.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VORMETRICMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VRRPMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/WLSXSYSTEMEXTMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/WLSXWLANMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/CSF.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/Item.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/TableItem.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/UPNP.pm -EXTRA_MODULES=\ - CheckNwcHealth/UPNP/AVM/FritzBox7390/Components/InterfaceSubsystem.pm \ - CheckNwcHealth/UPNP/AVM/FritzBox7390/Components/SmartHomeSubsystem.pm \ - CheckNwcHealth/UPNP/AVM/FritzBox7390.pm \ - CheckNwcHealth/UPNP/AVM.pm \ - CheckNwcHealth/UPNP.pm \ - CheckNwcHealth/Server/LinuxLocal.pm \ - CheckNwcHealth/Server/WindowsLocal.pm \ - CheckNwcHealth/Server/SolarisLocal.pm \ - CheckNwcHealth/Server/Linux.pm \ - CheckNwcHealth/Server/Linux/Component/CpuSubsystem.pm \ - CheckNwcHealth/Server/Linux/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Server/Linux/Component/MemSubsystem.pm \ - CheckNwcHealth/Bintec/Bibo/Components/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Bintec/Bibo/Components/MemSubsystem.pm \ - CheckNwcHealth/Bintec/Bibo/Components/CpuSubsystem.pm \ - CheckNwcHealth/Bintec/Bibo.pm \ - CheckNwcHealth/Bintec.pm \ - CheckNwcHealth/Bluecat/AddressManager/Component/MgmtSubsystem.pm \ - CheckNwcHealth/Bluecat/AddressManager/Component/MemSubsystem.pm \ - CheckNwcHealth/Bluecat/AddressManager/Component/HaSubsystem.pm \ - CheckNwcHealth/Bluecat/AddressManager.pm \ - CheckNwcHealth/Bluecat/DnsDhcpServer/Component/HaSubsystem.pm \ - CheckNwcHealth/Bluecat/DnsDhcpServer/Component/ProcessSubsystem.pm \ - CheckNwcHealth/Bluecat/DnsDhcpServer.pm \ - CheckNwcHealth/Bluecat.pm \ - CheckNwcHealth/Cisco/CISCOLICENSEMGMTMIB/Component/KeySubsystem.pm \ - CheckNwcHealth/Cisco/CISCOSMARTLICMIB/Component/KeySubsystem.pm \ - CheckNwcHealth/Cisco/CISCOBGP4MIB/Components/PeerSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOEIGRPMIB/Components/PeerSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOPORTSECURITYMIB/Component/InterfaceSubsystem.pm \ - CheckNwcHealth/Cisco/OLDCISCOINTERFACESMIB/Component/InterfaceSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOIPSECFLOWMONITOR/Component/VpnSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOENHANCEDMEMPOOLMIB/Component/MemSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOPROCESSMIB/Component/MemSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOMEMORYPOOLMIB/Component/MemSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOENTITYFRUCONTROLMIB/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOENTITYFRUCONTROLMIB/Component/FanSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOENTITYFRUCONTROLMIB/Component/ModuleSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOENTITYFRUCONTROLMIB/Component/PowersupplySubsystem.pm \ - CheckNwcHealth/Cisco/CISCOENTITYSENSORMIB/Component/SensorSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOENTITYALARMMIB/Component/AlarmSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOENVMONMIB/Component/TemperatureSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOENVMONMIB/Component/PowersupplySubsystem.pm \ - CheckNwcHealth/Cisco/CISCOENVMONMIB/Component/VoltageSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOENVMONMIB/Component/FanSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOREMOTEACCESSMONITORMIB/Component/VpnSubsystem.pm \ - CheckNwcHealth/Cisco/CISCORTTMONMIB/Component/RttSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOSDWANMIB/Component/SdwanSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOSTACKMIB/Component/StackSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOSTACKWISEMIB/Component/StackSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOERRDISABLEMIB/Component/InterfaceSubsystem.pm \ - CheckNwcHealth/Cisco/ASA.pm \ - CheckNwcHealth/Cisco/IOS/Component/HaSubsystem.pm \ - CheckNwcHealth/Cisco/IOS/Component/ConfigSubsystem.pm \ - CheckNwcHealth/Cisco/IOS/Component/CpuSubsystem.pm \ - CheckNwcHealth/Cisco/IOS/Component/MemSubsystem.pm \ - CheckNwcHealth/Cisco/IOS/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Cisco/IOS/Component/ConnectionSubsystem.pm \ - CheckNwcHealth/Cisco/IOS/Component/NatSubsystem.pm \ - CheckNwcHealth/Cisco/IOS/Component/BgpSubsystem.pm \ - CheckNwcHealth/Cisco/IOS.pm \ - CheckNwcHealth/Cisco/NXOS/Component/CpuSubsystem.pm \ - CheckNwcHealth/Cisco/NXOS/Component/MemSubsystem.pm \ - CheckNwcHealth/Cisco/NXOS/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Cisco/NXOS/Component/FexSubsystem.pm \ - CheckNwcHealth/Cisco/NXOS.pm \ - CheckNwcHealth/Cisco/WLC/Component/HaSubsystem.pm \ - CheckNwcHealth/Cisco/WLC/Component/MemSubsystem.pm \ - CheckNwcHealth/Cisco/WLC/Component/CpuSubsystem.pm \ - CheckNwcHealth/Cisco/WLC/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Cisco/WLC/Component/WlanSubsystem.pm \ - CheckNwcHealth/Cisco/WLC.pm \ - CheckNwcHealth/Cisco/PrimeNCS.pm \ - CheckNwcHealth/Cisco/UCOS.pm \ - CheckNwcHealth/Cisco/CCM/Component/PhoneSubsystem.pm \ - CheckNwcHealth/Cisco/CCM/Component/CmSubsystem.pm \ - CheckNwcHealth/Cisco/CCM.pm \ - CheckNwcHealth/Cisco/AsyncOS/Component/KeySubsystem.pm \ - CheckNwcHealth/Cisco/AsyncOS/Component/MemSubsystem.pm \ - CheckNwcHealth/Cisco/AsyncOS/Component/CpuSubsystem.pm \ - CheckNwcHealth/Cisco/AsyncOS/Component/TemperatureSubsystem.pm \ - CheckNwcHealth/Cisco/AsyncOS/Component/PowersupplySubsystem.pm \ - CheckNwcHealth/Cisco/AsyncOS/Component/FanSubsystem.pm \ - CheckNwcHealth/Cisco/AsyncOS/Component/RaidSubsystem.pm \ - CheckNwcHealth/Cisco/AsyncOS/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Cisco/AsyncOS.pm \ - CheckNwcHealth/Cisco/SB/Component/MemSubsystem.pm \ - CheckNwcHealth/Cisco/SB/Component/CpuSubsystem.pm \ - CheckNwcHealth/Cisco/SB/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Cisco/SB.pm \ - CheckNwcHealth/Cisco/Viptela/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Cisco/Viptela/Component/DiskSubsystem.pm \ - CheckNwcHealth/Cisco/Viptela/Component/MemSubsystem.pm \ - CheckNwcHealth/Cisco/Viptela/Component/CpuSubsystem.pm \ - CheckNwcHealth/Cisco/Viptela/Component/SdwanSubsystem.pm \ - CheckNwcHealth/Cisco/Viptela.pm \ - CheckNwcHealth/Cisco.pm \ - CheckNwcHealth/OneOS/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/OneOS/Component/CpuSubsystem.pm \ - CheckNwcHealth/OneOS/Component/MemSubsystem.pm \ - CheckNwcHealth/OneOS.pm \ - CheckNwcHealth/Nortel/S5/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Nortel/S5/Component/CpuSubsystem.pm \ - CheckNwcHealth/Nortel/S5/Component/MemSubsystem.pm \ - CheckNwcHealth/Nortel/S5.pm \ - CheckNwcHealth/Nortel.pm \ - CheckNwcHealth/Juniper/JunOS/Component/BgpSubsystem.pm \ - CheckNwcHealth/Juniper/JunOS.pm \ - CheckNwcHealth/Juniper/NetScreen/Component/CpuSubsystem.pm \ - CheckNwcHealth/Juniper/NetScreen/Component/MemSubsystem.pm \ - CheckNwcHealth/Juniper/NetScreen/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Juniper/NetScreen/Component/VsdSubsystem.pm \ - CheckNwcHealth/Juniper/NetScreen.pm \ - CheckNwcHealth/Juniper/IVE/Component/MemSubsystem.pm \ - CheckNwcHealth/Juniper/IVE/Component/CpuSubsystem.pm \ - CheckNwcHealth/Juniper/IVE/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Juniper/IVE/Component/DiskSubsystem.pm \ - CheckNwcHealth/Juniper/IVE/Component/UserSubsystem.pm \ - CheckNwcHealth/Juniper/IVE.pm \ - CheckNwcHealth/Juniper/SRX/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Juniper/SRX/Component/CpuSubsystem.pm \ - CheckNwcHealth/Juniper/SRX/Component/MemSubsystem.pm \ - CheckNwcHealth/Juniper/SRX.pm \ - CheckNwcHealth/Juniper.pm \ - CheckNwcHealth/AlliedTelesyn.pm \ - CheckNwcHealth/Fortigate/Component/HaSubsystem.pm \ - CheckNwcHealth/Fortigate/Component/DiskSubsystem.pm \ - CheckNwcHealth/Fortigate/Component/MemSubsystem.pm \ - CheckNwcHealth/Fortigate/Component/CpuSubsystem.pm \ - CheckNwcHealth/Fortigate/Component/VpnSubsystem.pm \ - CheckNwcHealth/Fortigate/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Fortigate/Component/SensorSubsystem.pm \ - CheckNwcHealth/Fortigate.pm \ - CheckNwcHealth/FabOS/Component/MemSubsystem.pm \ - CheckNwcHealth/FabOS/Component/CpuSubsystem.pm \ - CheckNwcHealth/FabOS/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/FabOS/Component/SensorSubsystem.pm \ - CheckNwcHealth/FabOS/Component/InterfaceSubsystem.pm \ - CheckNwcHealth/FabOS.pm \ - CheckNwcHealth/HH3C/Component/EntitySubsystem.pm \ - CheckNwcHealth/HH3C/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/HH3C/Component/MemSubsystem.pm \ - CheckNwcHealth/HH3C/Component/CpuSubsystem.pm \ - CheckNwcHealth/HH3C.pm \ - CheckNwcHealth/Huawei/Component/WlanSubsystem.pm \ - CheckNwcHealth/Huawei/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Huawei/Component/CpuSubsystem.pm \ - CheckNwcHealth/Huawei/Component/MemSubsystem.pm \ - CheckNwcHealth/Huawei/Component/PeerSubsystem.pm \ - CheckNwcHealth/Huawei/HUAWEIL2VLANMIB/Component/VlanSubsystem.pm \ - CheckNwcHealth/Huawei/HUAWEIL2MAMMIB/Component/VlanSubsystem.pm \ - CheckNwcHealth/Huawei/CloudEngine.pm \ - CheckNwcHealth/Huawei.pm \ - CheckNwcHealth/HP/Procurve/Component/MemSubsystem.pm \ - CheckNwcHealth/HP/Procurve/Component/CpuSubsystem.pm \ - CheckNwcHealth/HP/Procurve/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/HP/Procurve/Component/SensorSubsystem.pm \ - CheckNwcHealth/HP/Procurve.pm \ - CheckNwcHealth/HP/Aruba/Component/MemSubsystem.pm \ - CheckNwcHealth/HP/Aruba/Component/CpuSubsystem.pm \ - CheckNwcHealth/HP/Aruba/Component/TemperatureSubsystem.pm \ - CheckNwcHealth/HP/Aruba/Component/FanSubsystem.pm \ - CheckNwcHealth/HP/Aruba/Component/PowersupplySubsystem.pm \ - CheckNwcHealth/HP/Aruba/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/HP/Aruba.pm \ - CheckNwcHealth/HP.pm \ - CheckNwcHealth/MEOS.pm \ - CheckNwcHealth/Brocade.pm \ - CheckNwcHealth/SecureOS.pm \ - CheckNwcHealth/HSRP/Component/HSRPSubsystem.pm \ - CheckNwcHealth/HSRP.pm \ - CheckNwcHealth/IFMIB/Component/LinkAggregation.pm \ - CheckNwcHealth/IFMIB/Component/InterfaceSubsystem.pm \ - CheckNwcHealth/IFMIB/Component/StackSubsystem.pm \ - CheckNwcHealth/IFMIB.pm \ - CheckNwcHealth/IPFORWARDMIB/Component/RoutingSubsystem.pm \ - CheckNwcHealth/IPFORWARDMIB.pm \ - CheckNwcHealth/IPMIB/Component/RoutingSubsystem.pm \ - CheckNwcHealth/IPMIB/Component/ArpSubsystem.pm \ - CheckNwcHealth/IPMIB.pm \ - CheckNwcHealth/VRRPMIB/Component/VRRPSubsystem.pm \ - CheckNwcHealth/VRRPMIB.pm \ - CheckNwcHealth/HOSTRESOURCESMIB/Component/ClockSubsystem.pm \ - CheckNwcHealth/HOSTRESOURCESMIB/Component/DeviceSubsystem.pm \ - CheckNwcHealth/HOSTRESOURCESMIB/Component/DiskSubsystem.pm \ - CheckNwcHealth/HOSTRESOURCESMIB/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/HOSTRESOURCESMIB/Component/CpuSubsystem.pm \ - CheckNwcHealth/HOSTRESOURCESMIB/Component/MemSubsystem.pm \ - CheckNwcHealth/HOSTRESOURCESMIB/Component/UptimeSubsystem.pm \ - CheckNwcHealth/HOSTRESOURCESMIB.pm \ - CheckNwcHealth/LMSENSORSMIB/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/LMSENSORSMIB/Component/FanSubsystem.pm \ - CheckNwcHealth/LMSENSORSMIB/Component/TemperatureSubsystem.pm \ - CheckNwcHealth/LMSENSORSMIB.pm \ - CheckNwcHealth/ENTITYSENSORMIB.pm \ - CheckNwcHealth/ENTITYSENSORMIB/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/OSPF/Component/NeighborSubsystem.pm \ - CheckNwcHealth/OSPF.pm \ - CheckNwcHealth/BGP/Component/PeerSubsystem.pm \ - CheckNwcHealth/BGP.pm \ - CheckNwcHealth/FCMGMT/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/FCMGMT/Component/SensorSubsystem.pm \ - CheckNwcHealth/FCMGMT.pm \ - CheckNwcHealth/FCEOS/Components/EnvironmentalSubsystem.pm \ - CheckNwcHealth/FCEOS/Components/FruSubsystem.pm \ - CheckNwcHealth/FCEOS.pm \ - CheckNwcHealth/UCDMIB/Components/MemSubsystem.pm \ - CheckNwcHealth/UCDMIB/Components/SwapSubsystem.pm \ - CheckNwcHealth/UCDMIB/Components/CpuSubsystem.pm \ - CheckNwcHealth/UCDMIB/Components/LoadSubsystem.pm \ - CheckNwcHealth/UCDMIB/Components/DiskSubsystem.pm \ - CheckNwcHealth/UCDMIB/Components/ProcessSubsystem.pm \ - CheckNwcHealth/UCDMIB.pm \ - CheckNwcHealth/F5/F5BIGIP/Component/ConfigSubsystem.pm \ - CheckNwcHealth/F5/F5BIGIP/Component/ConnectionSubsystem.pm \ - CheckNwcHealth/F5/F5BIGIP/Component/CpuSubsystem.pm \ - CheckNwcHealth/F5/F5BIGIP/Component/DiskSubsystem.pm \ - CheckNwcHealth/F5/F5BIGIP/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/F5/F5BIGIP/Component/FanSubsystem.pm \ - CheckNwcHealth/F5/F5BIGIP/Component/GTM.pm \ - CheckNwcHealth/F5/F5BIGIP/Component/HaSubsystem.pm \ - CheckNwcHealth/F5/F5BIGIP/Component/VipSubsystem.pm \ - CheckNwcHealth/F5/F5BIGIP/Component/LTM.pm \ - CheckNwcHealth/F5/F5BIGIP/Component/MemSubsystem.pm \ - CheckNwcHealth/F5/F5BIGIP/Component/PowersupplySubsystem.pm \ - CheckNwcHealth/F5/F5BIGIP/Component/TemperatureSubsystem.pm \ - CheckNwcHealth/F5/F5BIGIP.pm \ - CheckNwcHealth/F5.pm \ - CheckNwcHealth/CheckPoint/Firewall1/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/CheckPoint/Firewall1/Component/TemperatureSubsystem.pm \ - CheckNwcHealth/CheckPoint/Firewall1/Component/FanSubsystem.pm \ - CheckNwcHealth/CheckPoint/Firewall1/Component/VoltageSubsystem.pm \ - CheckNwcHealth/CheckPoint/Firewall1/Component/PowersupplySubsystem.pm \ - CheckNwcHealth/CheckPoint/Firewall1/Component/DiskSubsystem.pm \ - CheckNwcHealth/CheckPoint/Firewall1/Component/MngmtSubsystem.pm \ - CheckNwcHealth/CheckPoint/Firewall1/Component/SvnSubsystem.pm \ - CheckNwcHealth/CheckPoint/Firewall1/Component/FwSubsystem.pm \ - CheckNwcHealth/CheckPoint/Firewall1/Component/HaSubsystem.pm \ - CheckNwcHealth/CheckPoint/Firewall1/Component/CpuSubsystem.pm \ - CheckNwcHealth/CheckPoint/Firewall1/Component/MemSubsystem.pm \ - CheckNwcHealth/CheckPoint/Firewall1/Component/VpnSubsystem.pm \ - CheckNwcHealth/CheckPoint/Firewall1.pm \ - CheckNwcHealth/CheckPoint/VSX/Component/FwSubsystem.pm \ - CheckNwcHealth/CheckPoint/VSX.pm \ - CheckNwcHealth/CheckPoint/Gaia.pm \ - CheckNwcHealth/CheckPoint.pm \ - CheckNwcHealth/Clavister/Firewall1/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Clavister/Firewall1/Component/CpuSubsystem.pm \ - CheckNwcHealth/Clavister/Firewall1/Component/MemSubsystem.pm \ - CheckNwcHealth/Clavister/Firewall1.pm \ - CheckNwcHealth/Clavister.pm \ - CheckNwcHealth/SGOS/Component/MemSubsystem.pm \ - CheckNwcHealth/SGOS/Component/CpuSubsystem.pm \ - CheckNwcHealth/SGOS/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/SGOS/Component/SensorSubsystem.pm \ - CheckNwcHealth/SGOS/Component/DiskSubsystem.pm \ - CheckNwcHealth/SGOS/Component/SecuritySubsystem.pm \ - CheckNwcHealth/SGOS/Component/ConnectionSubsystem.pm \ - CheckNwcHealth/SGOS.pm \ - CheckNwcHealth/AVOS/Component/KeySubsystem.pm \ - CheckNwcHealth/AVOS/Component/SecuritySubsystem.pm \ - CheckNwcHealth/AVOS/Component/ConnectionSubsystem.pm \ - CheckNwcHealth/AVOS/Component/MemSubsystem.pm \ - CheckNwcHealth/AVOS/Component/CpuSubsystem.pm \ - CheckNwcHealth/AVOS.pm \ - CheckNwcHealth/Alcatel/OmniAccess/Component/HaSubsystem.pm \ - CheckNwcHealth/Alcatel/OmniAccess/Component/MemSubsystem.pm \ - CheckNwcHealth/Alcatel/OmniAccess/Component/CpuSubsystem.pm \ - CheckNwcHealth/Alcatel/OmniAccess/Component/PowersupplySubsystem.pm \ - CheckNwcHealth/Alcatel/OmniAccess/Component/FanSubsystem.pm \ - CheckNwcHealth/Alcatel/OmniAccess/Component/StorageSubsystem.pm \ - CheckNwcHealth/Alcatel/OmniAccess/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Alcatel/OmniAccess/Component/WlanSubsystem.pm \ - CheckNwcHealth/Alcatel/OmniAccess.pm \ - CheckNwcHealth/Alcatel.pm \ - CheckNwcHealth/ALARMMIB/Component/AlarmSubsystem.pm \ - CheckNwcHealth/Foundry/Component/SLBSubsystem.pm \ - CheckNwcHealth/Foundry/Component/MemSubsystem.pm \ - CheckNwcHealth/Foundry/Component/CpuSubsystem.pm \ - CheckNwcHealth/Foundry/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Foundry/Component/PowersupplySubsystem.pm \ - CheckNwcHealth/Foundry/Component/FanSubsystem.pm \ - CheckNwcHealth/Foundry/Component/TemperatureSubsystem.pm \ - CheckNwcHealth/Foundry/Component/ModuleSubsystem.pm \ - CheckNwcHealth/Foundry.pm \ - CheckNwcHealth/RAPIDCITYMIB/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/RAPIDCITYMIB/Component/PowersupplySubsystem.pm \ - CheckNwcHealth/RAPIDCITYMIB/Component/FanSubsystem.pm \ - CheckNwcHealth/RAPIDCITYMIB/Component/TemperatureSubsystem.pm \ - CheckNwcHealth/RAPIDCITYMIB.pm \ - CheckNwcHealth/PaloAlto/Component/SessionSubsystem.pm \ - CheckNwcHealth/PaloAlto/Component/MemSubsystem.pm \ - CheckNwcHealth/PaloAlto/Component/CpuSubsystem.pm \ - CheckNwcHealth/PaloAlto/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/PaloAlto/Component/HaSubsystem.pm \ - CheckNwcHealth/PaloAlto.pm \ - CheckNwcHealth/Bluecoat.pm \ - CheckNwcHealth/Cumulus.pm \ - CheckNwcHealth/Eltex/Access/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Eltex/Access.pm \ - CheckNwcHealth/Eltex/Aggregation/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Eltex/Aggregation.pm \ - CheckNwcHealth/Eltex/MES/Component/CpuSubsystem.pm \ - CheckNwcHealth/Eltex/MES/Component/HaSubsystem.pm \ - CheckNwcHealth/Eltex.pm \ - CheckNwcHealth/Netgear.pm \ - CheckNwcHealth/Lantronix.pm \ - CheckNwcHealth/Lantronix/SLS.pm \ - CheckNwcHealth/Arista/ARISTABGP4V2MIB/Components/PeerSubsystem.pm \ - CheckNwcHealth/Arista/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Arista/Component/DiskSubsystem.pm \ - CheckNwcHealth/Arista/ARISTAIFMIB/Component/InterfaceSubsystem.pm \ - CheckNwcHealth/Arista.pm \ - CheckNwcHealth/Riverbed/SteelheadEX/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Riverbed/Steelhead/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Riverbed/Steelhead.pm \ - CheckNwcHealth/Riverbed.pm \ - CheckNwcHealth/Vormetric/Component/CpuSubsystem.pm \ - CheckNwcHealth/Vormetric/Component/DiskSubsystem.pm \ - CheckNwcHealth/Vormetric/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Vormetric/Component/MemSubsystem.pm \ - CheckNwcHealth/Vormetric.pm \ - CheckNwcHealth/Lancom/Component/CpuSubsystem.pm \ - CheckNwcHealth/Lancom/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Lancom/Component/MemSubsystem.pm \ - CheckNwcHealth/Lancom.pm \ - CheckNwcHealth/DrayTek/Vigor/Component/CpuSubsystem.pm \ - CheckNwcHealth/DrayTek/Vigor/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/DrayTek/Vigor/Component/MemSubsystem.pm \ - CheckNwcHealth/DrayTek/Vigor.pm \ - CheckNwcHealth/DrayTek.pm \ - CheckNwcHealth/Barracuda/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Barracuda/Component/HaSubsystem.pm \ - CheckNwcHealth/Barracuda/Component/FwSubsystem.pm \ - CheckNwcHealth/Barracuda.pm \ - CheckNwcHealth/Versa/Component/CpuSubsystem.pm \ - CheckNwcHealth/Versa/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Versa/Component/MemSubsystem.pm \ - CheckNwcHealth/Versa/Component/PeerSubsystem.pm \ - CheckNwcHealth/Versa.pm \ - CheckNwcHealth/PulseSecure/Gateway/Component/UserSubsystem.pm \ - CheckNwcHealth/PulseSecure/Gateway/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/PulseSecure/Gateway/Component/CpuSubsystem.pm \ - CheckNwcHealth/PulseSecure/Gateway/Component/DiskSubsystem.pm \ - CheckNwcHealth/PulseSecure/Gateway/Component/MemSubsystem.pm \ - CheckNwcHealth/PulseSecure/Gateway.pm \ - CheckNwcHealth/Device.pm - -SED=/bin/sed -GREP=/bin/grep -CAT=/bin/cat -ECHO=/bin/echo -if DISABLE_STANDALONE -STANDALONE = no -else -STANDALONE = yes -endif - -SUFFIXES = .pl .pm .sh - -VPATH=$(top_srcdir) $(top_srcdir)/plugins-scripts $(top_srcdir)/plugins-scripts/t - -EXTRA_DIST=$(libexec_SCRIPTS).pl $(EXTRA_MODULES) $(GL_MODULES) - -CLEANFILES=$(libexec_SCRIPTS) - -AM_INSTALL_PROGRAM_FLAGS=@INSTALL_OPTS@ - -.pm : - $(AWK) -f ./subst $< > $@ - chmod +x $@ - -.pl : - $(AWK) -f ./subst $< > $@ - chmod +x $@ - -.sh : - $(AWK) -f ./subst $< > $@ - chmod +x $@ - -$(libexec_SCRIPTS) : $(EXTRA_DIST) - $(ECHO) "#! #PERL# -w" | $(AWK) -f ./subst > $@ - $(ECHO) "# nagios: +epn" >> $@ - $(ECHO) >> $@ - if [ "${STANDALONE}" == "yes" ]; then \ - $(ECHO) i am standalone; \ - for m in ${GL_MODULES}; do \ - $(SED) -e 's/^1;//g' < $$m | $(SED) -e '/^__END__/,$$d' | $(SED) -e '/^__PACKAGE__/,$$d' | $(AWK) -f ./subst >> $@; \ - done \ - fi - for m in ${EXTRA_MODULES}; do \ - $(SED) -e 's/^1;//g' < $$m | $(SED) -e '/^__END__/,$$d' | $(AWK) -f ./subst >> $@; \ - done - $(ECHO) >> $@ - $(CAT) $(libexec_SCRIPTS).pl | $(AWK) -f ./subst >> $@ - chmod +x $@ diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/check_nwc_health.pl b/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/check_nwc_health.pl deleted file mode 100644 index d1a2617..0000000 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/check_nwc_health.pl +++ /dev/null @@ -1,671 +0,0 @@ -package CheckNwcHealth; -use strict; -no warnings qw(once); - -sub run_plugin { - my $plugin_class = (caller(0))[0]."::Device"; - if ( ! grep /BEGIN/, keys %Monitoring::GLPlugin::) { - eval { - require Monitoring::GLPlugin; - require Monitoring::GLPlugin::SNMP; - require Monitoring::GLPlugin::UPNP; - }; - if ($@) { - printf "UNKNOWN - module Monitoring::GLPlugin was not found. Either build a standalone version of this plugin or set PERL5LIB\n"; - printf "%s\n", $@; - exit 3; - } - } - - my $plugin = $plugin_class->new( - shortname => '', - usage => 'Usage: %s [ -v|--verbose ] [ -t ] '. - '--mode '. - '--hostname --community '. - ' ...]', - version => '$Revision: #PACKAGE_VERSION# $', - blurb => 'This plugin checks various parameters of network components ', - url => 'http://labs.consol.de/nagios/check_nwc_health', - timeout => 60, - plugin => $Monitoring::GLPlugin::pluginname, - ); - $plugin->add_mode( - internal => 'device::hardware::health', - spec => 'hardware-health', - alias => undef, - help => 'Check the status of environmental equipment (fans, temperatures, power)', - ); - $plugin->add_mode( - internal => 'device::hardware::load', - spec => 'cpu-load', - alias => ['cpu-usage'], - help => 'Check the CPU load of the device', - ); - $plugin->add_mode( - internal => 'device::hardware::memory', - spec => 'memory-usage', - alias => undef, - help => 'Check the memory usage of the device', - ); - $plugin->add_mode( - internal => 'device::disk::usage', - spec => 'disk-usage', - alias => undef, - help => 'Check the disk usage of the device', - ); - $plugin->add_mode( - internal => 'device::interfaces::usage', - spec => 'interface-usage', - alias => undef, - help => 'Check the utilization of interfaces', - ); - $plugin->add_mode( - internal => 'device::interfaces::errors', - spec => 'interface-errors', - alias => undef, - help => 'Check the error-rate of interfaces (without discards)', - ); - $plugin->add_mode( - internal => 'device::interfaces::discards', - spec => 'interface-discards', - alias => undef, - help => 'Check the discard-rate of interfaces', - ); - $plugin->add_mode( - internal => 'device::interfaces::operstatus', - spec => 'interface-status', - alias => undef, - help => 'Check the status of interfaces (oper/admin)', - ); - $plugin->add_mode( - internal => 'device::interfaces::duplex', - spec => 'interface-duplex', - alias => undef, - help => 'Check if interfaces operate in duplex mode', - ); - $plugin->add_mode( - internal => 'device::interfacex::errdisabled', - # interfacesx because it should not be propagated to a parent class - spec => 'interface-errdisabled', - alias => undef, - help => 'Check for interfaces in state "error disabled"', - ); - $plugin->add_mode( - internal => 'device::interfaces::complete', - spec => 'interface-health', - alias => undef, - help => 'Check everything interface', - ); - $plugin->add_mode( - internal => 'device::interfaces::nat::sessions::count', - spec => 'interface-nat-count-sessions', - alias => undef, - help => 'Count the number of nat sessions', - ); - $plugin->add_mode( - internal => 'device::interfaces::nat::rejects', - spec => 'interface-nat-rejects', - alias => undef, - help => 'Count the number of nat sessions rejected due to lack of resources', - ); - $plugin->add_mode( - internal => 'device::interfaces::list', - spec => 'list-interfaces', - alias => undef, - help => 'Show the interfaces of the device and update the name cache', - ); - $plugin->add_mode( - internal => 'device::interfaces::listdetail', - spec => 'list-interfaces-detail', - alias => undef, - help => 'Show the interfaces of the device and some details', - ); - $plugin->add_mode( - internal => 'device::interfaces::availability', - spec => 'interface-availability', - alias => undef, - help => 'Show the availability (oper != up) of interfaces', - ); - $plugin->add_mode( - internal => 'device::interfaces::aggregation::availability', - spec => 'link-aggregation-availability', - alias => undef, - help => 'Check the percentage of up interfaces in a link aggregation', - ); - $plugin->add_mode( - internal => 'device::interfaces::ifstack::status', - spec => 'interface-stack-status', - alias => undef, - help => 'Check the status of interface sublayers (mostly layer 2)', - ); - $plugin->add_mode( - internal => 'device::interfaces::ifstack::availability', - spec => 'interface-stack-availability', - alias => undef, - help => 'Check the percentage of available sublayer interfaces', - ); - $plugin->add_mode( - internal => 'device::interfaces::etherstats', - spec => 'interface-etherstats', - alias => undef, - help => 'Check the ethernet statistics of interfaces', - ); - $plugin->add_mode( - internal => 'device::interfaces::uptime', - spec => 'interface-uptime', - alias => undef, - help => 'Check state changes of interfaces', - ); - $plugin->add_mode( - internal => 'device::interfaces::portsecurity', - spec => 'interface-security', - alias => undef, - help => 'Check interfaces for security violations', - ); - $plugin->add_mode( - internal => 'device::interfaces::vlan:mac::count', - spec => 'interface-vlan-count-macs', - alias => undef, - help => 'Count the mac address entries in a vlan', - ); - $plugin->add_mode( - internal => 'device::routes::list', - spec => 'list-routes', - alias => undef, - help => 'Show the configured routes', - help => 'Check the percentage of up interfaces in a link aggregation', - ); - $plugin->add_mode( - internal => 'device::routes::exists', - spec => 'route-exists', - alias => undef, - help => 'Check if a route exists. (--name is the dest, --name2 check also the next hop)', - ); - $plugin->add_mode( - internal => 'device::routes::count', - spec => 'count-routes', - alias => undef, - help => 'Count the routes. (--name is the dest, --name2 is the hop)', - ); - $plugin->add_mode( - internal => 'device::vpn::status', - spec => 'vpn-status', - alias => undef, - help => 'Check the status of vpns (up/down)', - ); - $plugin->add_mode( - internal => 'device::vpn::sessions', - spec => 'vpn-sessions', - alias => undef, - help => 'Check the number of vpn sessions (users, errors)', - ); - $plugin->add_mode( - internal => 'device::fcinterfaces::usage', - spec => 'fc-interface-usage', - alias => undef, - help => 'Check the utilization of fibrechannel interfaces', - ); - $plugin->add_mode( - internal => 'device::fcinterfaces::errors', - spec => 'fc-interface-errors', - alias => undef, - help => 'Check the error-rate of fibrechannel interfaces', - ); - $plugin->add_mode( - internal => 'device::fcinterfaces::discards', - spec => 'fc-interface-discards', - alias => undef, - help => 'Check the discard-rate of interfaces', - ); - $plugin->add_mode( - internal => 'device::fcinterfaces::operstatus', - spec => 'fc-interface-status', - alias => undef, - help => 'Check the status of interfaces (oper/admin)', - ); - $plugin->add_mode( - internal => 'device::fcinterfaces::complete', - spec => 'fc-interface-health', - alias => undef, - help => 'Check everything interface', - ); - $plugin->add_mode( - internal => 'device::fcinterfaces::list', - spec => 'fc-list-interfaces', - alias => undef, - help => 'Show the fcal interfaces of the device and update the name cache', - ); - $plugin->add_mode( - internal => 'device::shinken::interface', - spec => 'create-shinken-service', - alias => undef, - help => 'Create a Shinken service definition', - ); - $plugin->add_mode( - internal => 'device::hsrp::state', - spec => 'hsrp-state', - alias => undef, - help => 'Check the state in a HSRP group', - ); - $plugin->add_mode( - internal => 'device::hsrp::failover', - spec => 'hsrp-failover', - alias => undef, - help => 'Check if a HSRP group\'s nodes have changed their roles', - ); - $plugin->add_mode( - internal => 'device::hsrp::list', - spec => 'list-hsrp-groups', - alias => undef, - help => 'Show the HSRP groups configured on this device', - ); - $plugin->add_mode( - internal => 'device::vrrp::state', - spec => 'vrrp-state', - alias => undef, - help => 'Check the state in a VRRP group', - ); - $plugin->add_mode( - internal => 'device::vrrp::failover', - spec => 'vrrp-failover', - alias => undef, - help => 'Check if a VRRP group\'s nodes have changed their roles', - ); - $plugin->add_mode( - internal => 'device::vrrp::list', - spec => 'list-vrrp-groups', - alias => undef, - help => 'Show the VRRP groups configured on this device', - ); - $plugin->add_mode( - internal => 'device::bgp::peer::status', - spec => 'bgp-peer-status', - alias => undef, - help => 'Check status of BGP peers', - ); - $plugin->add_mode( - internal => 'device::bgp::peer::count', - spec => 'count-bgp-peers', - alias => undef, - help => 'Count the number of BGP peers', - ); - $plugin->add_mode( - internal => 'device::bgp::peer::watch', - spec => 'watch-bgp-peers', - alias => undef, - help => 'Watch BGP peers appear and disappear', - ); - $plugin->add_mode( - internal => 'device::bgp::peer::list', - spec => 'list-bgp-peers', - alias => undef, - help => 'Show BGP peers known to this device', - ); - $plugin->add_mode( - internal => 'device::bgp::prefix::count', - spec => 'count-bgp-prefixes', - alias => undef, - help => 'Count the number of BGP prefixes (for specific peer with --name)', - ); - $plugin->add_mode( - internal => 'device::ospf::neighbor::status', - spec => 'ospf-neighbor-status', - alias => undef, - help => 'Check status of OSPF neighbors', - ); - $plugin->add_mode( - internal => 'device::ospf::neighbor::watch', - spec => 'watch-ospf-neighbors', - alias => undef, - help => 'Watch OSPF neighbors appear and disappear', - ); - $plugin->add_mode( - internal => 'device::ospf::neighbor::list', - spec => 'list-ospf-neighbors', - alias => undef, - help => 'Show OSPF neighbors', - ); - $plugin->add_mode( - internal => 'device::eigrp::peer::count', - spec => 'count-eigrp-peers', - alias => undef, - help => 'Count the number of EIGRP peers', - ); - $plugin->add_mode( - internal => 'device::eigrp::peer::status', - spec => 'eigrp-peer-status', - alias => undef, - help => 'Check status (existance) of EIGRP peers', - ); - $plugin->add_mode( - internal => 'device::eigrp::peer::watch', - spec => 'watch-eigrp-peers', - alias => undef, - help => 'Watch EIGRP peers appear and disappear', - ); - $plugin->add_mode( - internal => 'device::eigrp::peer::list', - spec => 'list-eigrp-peers', - alias => undef, - help => 'Show EIGRP peers', - ); - $plugin->add_mode( - internal => 'device::ha::status', - spec => 'ha-status', - alias => undef, - help => 'Check the status of a clustered setup', - ); - $plugin->add_mode( - internal => 'device::ha::role', - spec => 'ha-role', - alias => undef, - help => 'Check the role in a ha group', - ); - $plugin->add_mode( - internal => 'device::svn::status', - spec => 'svn-status', - alias => undef, - help => 'Check the status of the svn subsystem', - ); - $plugin->add_mode( - internal => 'device::mngmt::status', - spec => 'mngmt-status', - alias => undef, - help => 'Check the status of the management subsystem', - ); - $plugin->add_mode( - internal => 'device::process::status', - spec => 'process-status', - alias => undef, - help => 'Check the status of the running processes' - ); - $plugin->add_mode( - internal => 'device::fw::policy::installed', - spec => 'fw-policy', - alias => undef, - help => 'Check the installed firewall policy', - ); - $plugin->add_mode( - internal => 'device::fw::policy::connections', - spec => 'fw-connections', - alias => undef, - help => 'Check the number of firewall policy connections', - ); - $plugin->add_mode( - internal => 'device::lb::session::usage', - spec => 'session-usage', - alias => undef, - help => 'Check the session limits of a load balancer', - ); - $plugin->add_mode( - internal => 'device::security', - spec => 'security-status', - alias => undef, - help => 'Check if there are security-relevant incidents', - ); - $plugin->add_mode( - internal => 'device::lb::pool::completeness', - spec => 'pool-completeness', - alias => undef, - help => 'Check the members of a load balancer pool', - ); - $plugin->add_mode( - internal => 'device::lb::pool::connections', - spec => 'pool-connections', - alias => undef, - help => 'Check the number of connections of a load balancer pool', - ); - $plugin->add_mode( - internal => 'device::lb::pool::complections', - spec => 'pool-complections', - alias => undef, - help => 'Check the members and connections of a load balancer pool', - ); - $plugin->add_mode( - internal => 'device::wideip::status', - spec => 'wideip-status', - alias => undef, - help => 'Check the status of F5 Wide IPs', - ); - $plugin->add_mode( - internal => 'device::lb::pool::list', - spec => 'list-pools', - alias => undef, - help => 'List load balancer pools', - ); - $plugin->add_mode( - internal => 'device::vip::list', - spec => 'list-vips', - alias => undef, - help => 'List load balancer vips', - ); - $plugin->add_mode( - internal => 'device::vip::watch', - spec => 'watch-vips', - alias => undef, - help => 'Watch load balancer vips', - ); - $plugin->add_mode( - internal => 'device::vip::watch', - spec => 'watch-vips', - alias => undef, - help => 'Watch load balancer vips', - ); - $plugin->add_mode( - internal => 'device::vip::connect', - spec => 'connect-vips', - alias => ['connected-vips'], - help => 'Check connectivity with load balancer vips', - ); - $plugin->add_mode( - internal => 'device::sdwan::session::availability', - spec => 'sdwan-session-availability', - alias => undef, - help => 'Check active connections count (percent of configured connections)', - ); - $plugin->add_mode( - internal => 'device::sdwan::route::quality', - spec => 'sdwan-route-quality', - alias => undef, - help => 'Check loss, latency and jitter of a route', - ); - $plugin->add_mode( - internal => 'device::licenses::validate', - spec => 'check-licenses', - alias => undef, - help => 'Check the installed licences/keys', - ); - $plugin->add_mode( - internal => 'device::users::count', - spec => 'count-users', - help => 'Count the (connected) users/sessions', - ); - $plugin->add_mode( - internal => 'device::config::status', - spec => 'check-config', - alias => undef, - help => 'Check the status of configs (cisco, unsaved config changes)', - ); - $plugin->add_mode( - internal => 'device::connections::check', - spec => 'check-connections', - alias => undef, - help => 'Check the quality of connections', - ); - $plugin->add_mode( - internal => 'device::connections::count', - spec => 'count-connections', - alias => ['count-connections-client', 'count-connections-server', 'count-sessions'], - help => 'Check the number of connections/sessions (-client, -server is possible)', - ); - $plugin->add_mode( - internal => 'device::cisco::fex::watch', - spec => 'watch-fexes', - alias => undef, - help => 'Check if FEXes appear and disappear (use --lookback)', - ); - $plugin->add_mode( - internal => 'device::rtt::check', - spec => 'check-rtt', - alias => undef, - help => 'Check rtt monitors (Cisco SLA)', - ); - $plugin->add_mode( - internal => 'device::hardware::chassis::health', - spec => 'chassis-hardware-health', - alias => undef, - help => 'Check the status of stacked switches and chassis, count modules and ports', - ); - $plugin->add_mode( - internal => 'device::wlan::aps::status', - spec => 'accesspoint-status', - alias => undef, - help => 'Check the status of access points', - ); - $plugin->add_mode( - internal => 'device::wlan::aps::count', - spec => 'count-accesspoints', - alias => undef, - help => 'Check if the number of access points is within a certain range', - ); - $plugin->add_mode( - internal => 'device::wlan::aps::watch', - spec => 'watch-accesspoints', - alias => undef, - help => 'Check if access points appear and disappear (use --lookback)', - ); - $plugin->add_mode( - internal => 'device::wlan::aps::clients', - spec => 'count-accesspoint-clients', - alias => undef, - help => 'Check if the number of access point clients is within a certain range', - ); - $plugin->add_mode( - internal => 'device::wlan::aps::list', - spec => 'list-accesspoints', - alias => undef, - help => 'List access points managed by this device', - ); - $plugin->add_mode( - internal => 'device::phone::cmstatus', - spec => 'phone-cm-status', - alias => undef, - help => 'Check if the callmanager is up', - ); - $plugin->add_mode( - internal => 'device::phone::status', - spec => 'phone-status', - alias => undef, - help => 'Check the number of registered/unregistered/rejected phones', - ); - $plugin->add_mode( - internal => 'device::arp::list', - spec => 'list-arp-cache', - alias => undef, - help => 'Show the ARP cache of the device', - ); - $plugin->add_mode( - internal => 'device::smarthome::device::list', - spec => 'list-smart-home-devices', - alias => undef, - help => 'List Fritz!DECT 200 plugs managed by this device', - ); - $plugin->add_mode( - internal => 'device::smarthome::device::status', - spec => 'smart-home-device-status', - alias => undef, - help => 'Check if a Fritz!DECT 200 plug is on (or Comet DECT)', - ); - $plugin->add_mode( - internal => 'device::smarthome::device::energy', - spec => 'smart-home-device-energy', - alias => undef, - help => 'Show the current power consumption of a Fritz!DECT 200 plug', - ); - $plugin->add_mode( - internal => 'device::smarthome::device::consumption', - spec => 'smart-home-device-consumption', - alias => undef, - help => 'Show the cumulated power consumption of a Fritz!DECT 200 plug', - ); - $plugin->add_mode( - internal => 'device::smarthome::device::temperature', - spec => 'smart-home-device-temperature', - alias => undef, - help => 'Show the temperature measured by a Fritz! compatible device', - ); - $plugin->add_default_modes(); - $plugin->add_snmp_modes(); - $plugin->add_snmp_args(); - $plugin->add_default_args(); - $plugin->mod_arg("name", - help => "--name - The name of an interface (ifDescr) or pool or ...", - ); - $plugin->add_arg( - spec => 'alias=s', - help => "--alias - The alias name of a 64bit-interface (ifAlias)", - required => 0, - ); - $plugin->add_arg( - spec => 'ifspeedin=i', - help => "--ifspeedin - Override the ifspeed oid of an interface (only inbound)", - required => 0, - ); - $plugin->add_arg( - spec => 'ifspeedout=i', - help => "--ifspeedout - Override the ifspeed oid of an interface (only outbound)", - required => 0, - ); - $plugin->add_arg( - spec => 'ifspeed=i', - help => "--ifspeed - Override the ifspeed oid of an interface", - required => 0, - ); - $plugin->add_arg( - spec => 'role=s', - help => "--role - The role of this device in a hsrp group (active/standby/listen)", - required => 0, - ); - $plugin->add_arg( - spec => 'nosensors', - help => "--nosensors - Skip tables with voltage/current sensors (Nexus)", - required => 0, - hidden => 1, - ); - - $plugin->getopts(); - $plugin->classify(); - $plugin->validate_args(); - - if (! $plugin->check_messages()) { - $plugin->init(); - if (! $plugin->check_messages()) { - $plugin->add_ok($plugin->get_summary()) - if $plugin->get_summary(); - $plugin->add_ok($plugin->get_extendedinfo(" ")) - if $plugin->get_extendedinfo(); - } - } elsif ($plugin->opts->snmpwalk && $plugin->opts->offline) { - ; - } else { - ; - } - my ($code, $message) = $plugin->opts->multiline ? - $plugin->check_messages(join => "\n", join_all => ', ') : - $plugin->check_messages(join => ', ', join_all => ', '); - $message .= sprintf "\n%s\n", $plugin->get_info("\n") - if $plugin->opts->verbose >= 1; - - $plugin->nagios_exit($code, $message); -} - -1; - -join('', map { ucfirst } split(/_/, (split(/\//, (split ' ', $0 // '')[0]))[-1]))->run_plugin(); diff --git a/check_nwc_health/check_nwc_health-11.2.4/AUTHORS b/check_nwc_health/check_nwc_health-7.12.1.3/AUTHORS similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/AUTHORS rename to check_nwc_health/check_nwc_health-7.12.1.3/AUTHORS diff --git a/check_nwc_health/check_nwc_health-11.2.4/COPYING b/check_nwc_health/check_nwc_health-7.12.1.3/COPYING similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/COPYING rename to check_nwc_health/check_nwc_health-7.12.1.3/COPYING diff --git a/check_nwc_health/check_nwc_health-11.2.4/ChangeLog b/check_nwc_health/check_nwc_health-7.12.1.3/ChangeLog similarity index 78% rename from check_nwc_health/check_nwc_health-11.2.4/ChangeLog rename to check_nwc_health/check_nwc_health-7.12.1.3/ChangeLog index aa9d7cf..79b2f97 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/ChangeLog +++ b/check_nwc_health/check_nwc_health-7.12.1.3/ChangeLog @@ -1,202 +1,3 @@ -* 2024-01-05 11.2.4 - add mode ha-status for Palo Alto -* 2023-12-16 11.2.3 - add perfdata for the mode interface-nat-rejects -* 2023-12-16 11.2.2.1 - fix Makefile.am and git add the cisco and arista pm files which i had forgotten -* 2023-11-30 11.2.2 - add mode interface-errdisabled (Cisco and Arista only) -* 2023-11-15 11.2.1.2 - require, not use Net::Ping for F5 checks -* 2023-10-27 11.2.1.1 - drecksmacoctetbinaerschlonz -* 2023-10-27 11.2.1 - add mode list-arp-cache -* 2023-10-06 11.2.0.4 - PR #324, detect Ivanti devices (formerly identifying themselves as Pulse Secure). Thx c-kr -* 2023-09-29 11.2.0.3 - show vlans only on demand, --report short+vlan -* 2023-09-15 11.2.0.2 - more runtime reduction for huawei, cpu and mem -* 2023-09-15 11.2.0.1 - suppress output of empty vlans -* 2023-09-15 11.2 - cache huawei entities to avoid hitting the device's snmp rate limit - cache vlan configs -* 2023-09-14 11.1 - show vlans with interface-status -* 2023-07-27 11.0.1.1 - C9800 fix - PR #318 from lgmu, typo in --lookup vs. --lookback -* 2023-07-27 11.0.1 - support new C9800 wlan controller -* 2023-07-25 11.0 - new structure suitble for epn -* 2023-07-25 10.13.1 - reduce amount of data in cisco fru -* 2023-07-10 10.13.0.1 - bugfix in traffic thresholds, do not use warning/critical def. thresholds -* 2023-07-10 10.13 - implement traffic thresholds for interface-usage, correctly calc the less-than perfdata thresholds. -* 2023-06-12 10.12.1.8 - reduce runtime for HOST-RESOURCES-MIB disk and device tables -* 2023-06-12 10.12.1.7 - don't walk cefcFRUPowerSupplyGroupTable, it's unused anyway -* 2023-05-28 10.12.1.6 - PR 310/311 for Fortigte HW -* 2023-05-12 10.12.1.5 - bugfix in bluecat productname detection - update glplugin (another epn fix, ::pluginname, ::plugin) -* 2023-05-11 10.12.1.4 - update glplugin (another epn fix) -* 2023-05-04 10.12.1.3 - bugfix in Huawei Wlan Controller (just a perl warning, not serious) - these recent perl warnings appeared after i heavily used the - embedded perl feature of mod-gearman. it is much more strict than - running the plugin as a standalone process) -* 2023-05-02 10.12.1.2 - bugfix in Pulse Secure (just a perl warning, not serious) -* 2023-04-21 10.12.1.1 - bugfix in Huawei bgp modes (just a perl warning, not serious) -* 2023-04-20 10.12.1 - add a cluster-check for cisco sdwan -* 2023-04-20 10.12 - reduced runtime and amount of transferred data for bgp-related checks -* 2023-04-03 10.11.0.2 - reduce runtime in Huwaei accesspoint modes -* 2023-03-29 10.11.0.1 - bugfix in Huawei hardware-health. Discard temperatures of 2147483647 deg. -* 2023-03-28 10.11 - improve Huawei hardware-health -* 2023-03-20 10.10 - add filters to sdwan-check (name=dstip,name2=localcolor) -* 2023-03-10 10.9.1.3 - bugfix in Cisco Envmon notfunctioning -* 2023-03-08 10.9.1.2 - bugfix again, exists plus defined -* 2023-03-08 10.9.1.1 - bugfix in CISCO-ENVMON-MIB temperature (catch "notPresent") -* 2023-02-23 10.9.1 - bugfix in Checkpoint Management-Status -* 2023-02-23 10.9 - bugfix in Versa Peersubsystem - prepare some cisco sdwan stuff -* 2023-02-20 10.8.0.3 - tweak huawei Entity-Table snmp parameters -* 2023-02-03 10.8.0.2 - force interface-vlan-count-macs to cache vlans -* 2023-02-03 10.8.0.1 - fix an undef in interface-vlan-count-macs -* 2023-02-03 10.8 - add mode interface-vlan-count-macs -* 2023-01-19 10.7.1 - tune snmp maxreps for bgp -* 2023-01-19 10.7 - rewrite detection of Juniper -* 2023-01-11 10.6.1 - pull request 304 improves ios hardware checks (thanks dhoffend) -* 2023-01-10 10.6 - add support for Viptela -* 2022-12-16 10.5.1 - bugfix in Cisco WLC, skip unused mobile stations -* 2022-10-09 10.5 - add a temporary check for Cisco Viptela SDWAN (not for public use yet, sorry) -* 2022-10-08 10.4 - add Huawei wlan controller (not finished yet) -* 2022-10-08 10.3.0.3 - improve arista power supply/cord status checks -* 2022-09-27 10.3.0.2 - fix an uninitialized value in Arista HW check -* 2022-09-20 10.3.0.1 - fix issue #231, thanks log1-c -* 2022-07-29 10.3 - add mode check-rtt (cisco-rttmon-mib slas) -* 2022-07-21 10.2.1 - increase cpu thresholds for linux, separate user/system/etc from iowait -* 2022-07-20 10.2 - update glplugin, better get_table fallback handling -* 2022-05-05 10.1.0.3 - fix a pull-request. Und das war damit auch der letzte Pull-Request, den ich in meinem Leben angenommen habe. -* 2022-05-04 10.1.0.2 - use JSON::XS in Interface.pm to avoid misleading UNKNOWN error message -* 2022-02-23 10.1.0.1 - suppress unknown arista sensors which are not marked as faulty -* 2022-02-18 10.1 - check filesystems in Arista (full Log/Core stops syslog and accounting) - accept disabled sensors -* 2022-01-13 10.0.0.3 - bugfix in arista power supply -* 2022-01-07 10.0.0.2 - bugfix in f5 ltm detail output -* 2021-11-22 10.0.0.1 - tweak barracuda hardware-health snmp parameters -* 2021-11-16 10.0 - use json for temporary files -* 2021-10-13 9.1 - add Pulse Secure -* 2021-10-08 9.0.1.2 - update git with latest cisco license gedoens -* 2021-09-21 9.0.1.1 - remove broken line from Makefile.am -* 2021-09-08 9.0.1 - improve cisco license checks -* 2021-09-01 9.0 - add Versa Appliance, add HP Aruba -* 2021-08-24 8.5.0.1 - tweak barracuda snmp params for interface/route checks -* 2021-07-27 8.5 - improve Barracuda cluster-check -* 2021-06-30 8.4 - add bgp for huawei -* 2021-06-16 8.3.3.3 - bugfix in UCD-MIB memory -* 2021-05-31 8.3.3.2 - bugfix in IOS cpu-load for very old models without CISCO-PROCESS-MIB -* 2021-05-31 8.3.3.1 - bugfix in f5 memory-usage, correct negative values -* 2021-05-20 8.3.3 - Add vpn sessions for Fortigate PR #279 -* 2021-05-18 8.3.2.4 - optimize etherlike and rmon walks -* 2021-05-12 8.3.2.3 - save bgp peer local addresses and show them in the error case -* 2021-04-29 8.3.2.2 - Blacklist storage device "junosprocfs" on JunOS (Juniper) devices PR #278 -* 2021-04-15 8.3.2.1 - bugfix in f5 cpu-load, correct negative values -* 2021-03-23 8.3.2 - query LM-SENSORS-MIB only if it exists on Linux (it may hang even if not existing) -* 2021-03-19 8.3.1.2 - bugfix in CISCO-ENTITY-SENSOR-MIB. Scale values correctly. -* 2021-03-02 8.3.1.1 - bugfix in interface-stack-status (triggered when --name did not match) -* 2021-02-12 8.3.1 - add mode license-status for cisco -* 2021-02-08 8.3 - split Bluecat in AddressManager and DnsDhcpServer -* 2021-01-28 8.2.0.2 - do not use cpmCPUMemoryHCCommitted, except if you want mem usage > 100% -* 2021-01-27 8.2.0.1 - check the memory of all members in a cisco stack only if there are > 1 members -* 2021-01-22 8.2 - check the memory of all members in a cisco stack -* 2021-01-18 8.1.0.1 - bugfix in Bluecat jvm -* 2021-01-18 8.1 - add Bluecat Address Manager -* 2021-01-13 8.0.0.2 - bugfix in HOST-RESOURCE-MIB memory (Arista triggered) - bugfix in CISCO-ENVMON-MIB, temperatures > 200 -* 2021-01-13 8.0.0.1 - bugfix in arista bgp, mitigate admin down -* 2020-10-22 8.0 - broadcast traffic is now shown as percentage of the overall traffic (...broadcast_in) and percentage of the available bandwitdth (..._broadcast_usage_in). - errors and discards are now calculated as percentage of all received/sent packets. - TenGig-VRF-MPLS-Dingsbums without errors and discard metrics are no longer treated as StackSubs. -* 2020-10-12 7.13 - add Vormetric Appliance -* 2020-09-18 7.12.2 - add some exceptions to hrDeviceDiskStorage and hrDeviceNetwork * 2020-09-08 7.12.1.3 fix a bug in mode count-routes, update glplugin * 2020-07-13 7.12.1.2 diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin.pm similarity index 96% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin.pm index 1847b28..8407c9a 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin.pm @@ -11,8 +11,6 @@ use IO::File; use File::Basename; use Digest::MD5 qw(md5_hex); use Errno; -use JSON; -use File::Slurp qw(read_file); use Data::Dumper; $Data::Dumper::Indent = 1; eval { @@ -22,14 +20,14 @@ eval { $Data::Dumper::Sparseseen = 1; }; our $AUTOLOAD; -*VERSION = \'5.18'; +*VERSION = \'3.2.26.2'; use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; { our $mode = undef; our $plugin = undef; - our $pluginname = undef; + our $pluginname = basename($ENV{'NAGIOS_PLUGIN'} || $0); our $blacklist = undef; our $info = []; our $extendedinfo = []; @@ -48,8 +46,6 @@ sub new { if ! grep /BEGIN/, keys %Monitoring::GLPlugin::Item::; require Monitoring::GLPlugin::TableItem if ! grep /BEGIN/, keys %Monitoring::GLPlugin::TableItem::; - $params{plugin} ||= basename($ENV{'NAGIOS_PLUGIN'} || $0); - $Monitoring::GLPlugin::pluginname = $params{plugin}; $Monitoring::GLPlugin::plugin = Monitoring::GLPlugin::Commandline->new(%params); return $self; } @@ -81,10 +77,8 @@ sub dumper { sub no_such_mode { my ($self) = @_; - $self->nagios_exit(3, - sprintf "Mode %s is not implemented for this type of device", - $self->opts->mode - ); + printf "Mode %s is not implemented for this type of device\n", + $self->opts->mode; exit 3; } @@ -899,7 +893,7 @@ sub getopts { # der fliegt raus, sonst gehts gleich wieder in needs_restart rein next if $option eq "runas"; foreach my $spec (map { $_->{spec} } @{$Monitoring::GLPlugin::plugin->opts->{_args}}) { - if ($spec =~ /^([\-\w]+)[\?\+:\|\w+]*=(.*)/) { + if ($spec =~ /^(\w+)[\|\w+]*=(.*)/) { if ($1 eq $option && $2 =~ /s%/) { foreach (keys %{$self->opts->$option()}) { push(@restart_opts, sprintf "--%s", $option); @@ -1064,25 +1058,6 @@ sub get_level { return $code; } -sub worst_level { - my ($self, @levels) = @_; - my $level = 0; - foreach (@levels) { - if ($_ == 2) { - $level = 2; - } elsif ($_ == 1) { - if ($level == 0 || $level == 3) { - $level = 1; - } - } elsif ($_ == 3) { - if ($level == 0) { - $level = 3; - } - } - } - return $level; -} - ######################################################### # blacklisting # @@ -1110,7 +1085,6 @@ sub is_blacklisted { } # FAN:459,203/TEMP:102229/ENVSUBSYSTEM # FAN_459,FAN_203,TEMP_102229,ENVSUBSYSTEM - # ALERT:(The Storage Center is not able to access Tiebreaker)/TEMP:102229 if ($self->opts->blacklist =~ /_/) { foreach my $bl_item (split(/,/, $self->opts->blacklist)) { if ($bl_item eq $self->internal_name()) { @@ -1127,14 +1101,6 @@ sub is_blacklisted { $self->{blacklisted} = 1; } } - } elsif ($bl_items =~ /^(\w+):\((.*)\)$/ and $self->can("internal_content")) { - my $bl_type = $1; - my $bl_pattern = qr/$2/; - if ($self->internal_name() =~ /^${bl_type}_/) { - if ($self->internal_content() =~ /$bl_pattern/) { - $self->{blacklisted} = 1; - } - } } elsif ($bl_items =~ /^(\w+)$/) { if ($bl_items eq $self->internal_name()) { $self->{blacklisted} = 1; @@ -1485,9 +1451,7 @@ sub protect_value { }); } else { # if the device gives us an clearly wrong value, simply use the last value. - my $laststate = $self->load_state(name => 'protect_'.$ident.'_'.$key) || { - exception => 0, - }; + my $laststate = $self->load_state(name => 'protect_'.$ident.'_'.$key); $self->debug(sprintf "self->{%s} is %s and invalid for the %dth time", $key, defined $self->{$key} ? $self->{$key} : "", $laststate->{exception} + 1); @@ -1513,11 +1477,7 @@ sub save_state { } my $seekfh = IO::File->new(); if ($seekfh->open($tmpfile, "w")) { - my $coder = JSON::XS->new->ascii->pretty->allow_nonref; - my $jsonscalar = $coder->encode($params{save}); - $seekfh->print($jsonscalar); - # the very time-consuming old way. - # $seekfh->printf("%s", Data::Dumper::Dumper($params{save})); + $seekfh->printf("%s", Data::Dumper::Dumper($params{save})); $seekfh->flush(); $seekfh->close(); $self->debug(sprintf "saved %s to %s", @@ -1536,18 +1496,10 @@ sub load_state { our $VAR1; eval { delete $INC{$statefile} if exists $INC{$statefile}; # else unit tests fail - my $jsonscalar = read_file($statefile); - my $coder = JSON::XS->new->ascii->pretty->allow_nonref; - $VAR1 = $coder->decode($jsonscalar); + require $statefile; }; if($@) { - $self->debug(sprintf "json load from %s failed. fallback", $statefile); - eval { - require $statefile; - }; - if($@) { - printf "FATAL: Could not load old state in perl format!\n"; - } + printf "FATAL: Could not load state!\n"; } $self->debug(sprintf "load %s from %s", Data::Dumper::Dumper($VAR1), $statefile); return $VAR1; @@ -1757,7 +1709,7 @@ sub AUTOLOAD { $self->{components}->{$subsystem}->check(); $self->{components}->{$subsystem}->dump() if $self->opts->verbose >= 2; - } elsif ($AUTOLOAD =~ /^.*::(status_code|check_messages|nagios_exit|html_string|perfdata_string|selected_perfdata|check_thresholds|get_thresholds|mod_threshold|opts|pandora_string|strequal)$/) { + } elsif ($AUTOLOAD =~ /^.*::(status_code|check_messages|nagios_exit|html_string|perfdata_string|selected_perfdata|check_thresholds|get_thresholds|opts|pandora_string|strequal)$/) { return $Monitoring::GLPlugin::plugin->$1(@params); } elsif ($AUTOLOAD =~ /^.*::(reduce_messages|reduce_messages_short|clear_messages|suppress_messages|add_html|add_perfdata|override_opt|create_opt|set_thresholds|force_thresholds|add_pandora)$/) { $Monitoring::GLPlugin::plugin->$1(@params); diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/Commandline.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/Commandline.pm similarity index 92% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/Commandline.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/Commandline.pm index 1086486..a8ddfe4 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/Commandline.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/Commandline.pm @@ -36,9 +36,9 @@ sub new { $self->{$_} = $params{$_}; } bless $self, $class; + $self->{plugin} ||= $Monitoring::GLPlugin::pluginname; $self->{name} = $self->{plugin}; - - $self + $Monitoring::GLPlugin::plugin = $self; } sub AUTOLOAD { @@ -531,14 +531,12 @@ sub check_thresholds { $value = $params{value}; my $metric = $params{metric}; if ($metric ne 'default') { - $warningrange = defined $params{warning} ? $params{warning} : - (exists $self->{thresholds}->{$metric}->{warning} ? - $self->{thresholds}->{$metric}->{warning} : - $self->{thresholds}->{default}->{warning}); - $criticalrange = defined $params{critical} ? $params{critical} : - (exists $self->{thresholds}->{$metric}->{critical} ? - $self->{thresholds}->{$metric}->{critical} : - $self->{thresholds}->{default}->{critical}); + $warningrange = exists $self->{thresholds}->{$metric}->{warning} ? + $self->{thresholds}->{$metric}->{warning} : + $self->{thresholds}->{default}->{warning}; + $criticalrange = exists $self->{thresholds}->{$metric}->{critical} ? + $self->{thresholds}->{$metric}->{critical} : + $self->{thresholds}->{default}->{critical}; } else { $warningrange = (defined $params{warning}) ? $params{warning} : $self->{thresholds}->{default}->{warning}; @@ -599,34 +597,6 @@ sub check_thresholds { return $level; } -sub mod_threshold { - # this method can be used to modify/multiply thresholds or upper and lower - # limit of a threshold range. For example, we have thresholds for an - # interface usage together with the maximum bandwidth and want to - # create thresholds for bitrates. - my ($self, $threshold, $func) = @_; - if (! $threshold) { - return ""; - } elsif ($threshold =~ /^([-+]?[0-9]*\.?[0-9]+)$/) { - # 10 - return &{$func}($1); - } elsif ($threshold =~ /^([-+]?[0-9]*\.?[0-9]+):$/) { - # 10: - return &{$func}($1).":"; - } elsif ($threshold =~ /^~:([-+]?[0-9]*\.?[0-9]+)$/) { - # ~:10 - return "~:".&{$func}($1); - } elsif ($threshold =~ /^([-+]?[0-9]*\.?[0-9]+):([-+]?[0-9]*\.?[0-9]+)$/) { - # 10:20 - return &{$func}($1).":".&{$func}($2); - } elsif ($threshold =~ /^@([-+]?[0-9]*\.?[0-9]+):([-+]?[0-9]*\.?[0-9]+)$/) { - # @10:20 - return "@".&{$func}($1).":".&{$func}($2); - } else { - return $threshold."scheise"; - } -} - sub strequal { my($self, $str1, $str2) = @_; return 1 if ! defined $str1 && ! defined $str2; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/Commandline/Extraopts.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/Commandline/Extraopts.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/Commandline/Extraopts.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/Commandline/Extraopts.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/Commandline/Getopt.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/Commandline/Getopt.pm similarity index 85% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/Commandline/Getopt.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/Commandline/Getopt.pm index 47e0d6d..c395cb3 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/Commandline/Getopt.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/Commandline/Getopt.pm @@ -4,7 +4,7 @@ use File::Basename; use Getopt::Long qw(:config no_ignore_case bundling); # Standard defaults -our %DEFAULT = ( +my %DEFAULT = ( timeout => 15, verbose => 0, license => @@ -13,7 +13,7 @@ It may be used, redistributed and/or modified under the terms of the GNU General Public Licence (see http://www.fsf.org/licensing/licenses/gpl.txt).", ); # Standard arguments -our @ARGS = ({ +my @ARGS = ({ spec => 'usage|?', help => "-?, --usage\n Print usage information", }, { @@ -36,7 +36,7 @@ our @ARGS = ({ }, ); # Standard arguments we traditionally display last in the help output -our %DEFER_ARGS = map { $_ => 1 } qw(timeout verbose); +my %DEFER_ARGS = map { $_ => 1 } qw(timeout verbose); sub _init { my ($self, %params) = @_; @@ -45,7 +45,7 @@ sub _init { usage => 1, version => 0, url => 0, - plugin => undef, + plugin => { default => $Monitoring::GLPlugin::pluginname }, blurb => 0, extra => 0, 'extra-opts' => 0, @@ -64,8 +64,9 @@ sub _init { if ref ($self->{_attr}->{$_}) eq 'HASH' && exists $self->{_attr}->{$_}->{default}; } - chomp $self->{_attr}->{$_} if exists $self->{_attr}->{$_}; } + # Chomp _attr values + chomp foreach values %{$self->{_attr}}; # Setup initial args list $self->{_args} = [ grep { exists $_->{spec} } @ARGS ]; @@ -141,27 +142,6 @@ sub getopts { *{"all_my_opts"} = sub { return $self->{opts}->{all_my_opts}; }; - foreach (@{$self->{_args}}) { - $_->{spec} =~ /^([\w\-]+)/; - my $spec = $1; - my $envname = uc $spec; - $envname =~ s/\-/_/g; - if (! exists $commandline{$spec}) { - # Kommandozeile hat oberste Prioritaet - # Also: --option ueberschreibt NAGIOS__HOSTOPTION - # Aaaaber: extra-opts haben immer noch Vorrang vor allem anderen. - # https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html - # beschreibt das anders, Posix-Tools verhalten sich auch entsprechend. - # Irgendwann wird das hier daher umgeschrieben, so dass extra-opts - # die niedrigste Prioritaet erhalten. - if (exists $ENV{'NAGIOS__SERVICE'.$envname}) { - $commandline{$spec} = $ENV{'NAGIOS__SERVICE'.$envname}; - } elsif (exists $ENV{'NAGIOS__HOST'.$envname}) { - $commandline{$spec} = $ENV{'NAGIOS__HOST'.$envname}; - } - } - $self->{opts}->{$spec} = $_->{default}; - } foreach (map { $_->{spec} =~ /^([\w\-]+)/; $1; } grep { exists $_->{required} && $_->{required} } @{$self->{_args}}) { do { $self->print_usage(); exit 3 } if ! exists $commandline{$_}; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/Item.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/Item.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/Item.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/Item.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP.pm similarity index 89% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP.pm index 94bc5f3..5b85f8f 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP.pm @@ -5,8 +5,6 @@ our @ISA = qw(Monitoring::GLPlugin); use strict; use File::Basename; use Digest::MD5 qw(md5_hex); -use JSON; -use File::Slurp qw(read_file); use Module::Load; use AutoLoader; our $AUTOLOAD; @@ -370,39 +368,12 @@ sub init { printf "OK - all requested oids are in %s\n", $name; } } else { - my @credentials = (); - my $credmapping = { - "-community" => "-c", - "-privpassword" => "-X", - "-privprotocol" => "-x", - "-authpassword" => "-A", - "-authprotocol" => "-a", - "-username" => "-u", - "-context" => "-n", - "-version" => "-v", - }; - foreach (keys %{$Monitoring::GLPlugin::SNMP::session_params}) { - if (exists $credmapping->{$_}) { - push(@credentials, sprintf "%s '%s'", - $credmapping->{$_}, - $Monitoring::GLPlugin::SNMP::session_params->{$_} - ); - } - } - if (grep(/-X/, @credentials) and grep(/-A/, @credentials)) { - push(@credentials, "-l authPriv"); - } elsif (grep(/-A/, @credentials)) { - push(@credentials, "-l authNoPriv"); - } elsif (! grep(/-c/, @credentials)) { - push(@credentials, "-l noAuthNoPriv"); - } - my $credentials = join(" ", @credentials); - $credentials =~ s/-v2 /-v2c /g; printf "rm -f %s\n", $name; foreach (@trees) { - printf "%s -ObentU %s %s %s >> %s\n", + printf "%s -ObentU -v%s -c %s %s %s >> %s\n", ($self->mode =~ /bulk/) ? "snmpbulkwalk -t 15 -r 20" : "snmpwalk", - $credentials, + $self->opts->protocol, + $self->opts->community, $self->opts->hostname, $_, $name; } @@ -821,7 +792,7 @@ sub init { push(@{$mibdepot}, ['1.3.6.1.2.1.65', 'ietf', 'v2', 'WWW-MIB']); push(@{$mibdepot}, ['1.3.6.1.4.1.8072', 'net-snmp', 'v2', 'NET-SNMP-MIB']); my $oids = $self->get_entries_by_walk(-varbindlist => [ - '1.3.6.1.2.1', '1.3.6.1.4.1', '1', + '1.3.6.1.2.1', '1.3.6.1.4.1', ]); foreach my $mibinfo (@{$mibdepot}) { next if $self->opts->protocol eq "1" && $mibinfo->[2] ne "v1"; @@ -845,8 +816,7 @@ sub init { } my $toplevels = {}; map { - /^(1\.\d+\.\d+\.\d+\.\d+\.\d+\.\d+\.\d+)\./ and $toplevels->{$1} = 1; - /^(1\.\d+\.\d+\.\d+\.\d+\.\d+\.\d+\.\d+\.\d+\.\d+\.\d+\.\d+)\./ and $toplevels->{$1} = 1; + /^(1\.3\.6\.1\.(\d+)\.(\d+)\.\d+\.\d+)\./; $toplevels->{$1} = 1; } keys %{$unknowns}; foreach (sort {$a cmp $b} keys %{$toplevels}) { push(@outputlist, ["", $_]); @@ -892,27 +862,6 @@ sub init { } } } - } elsif ($sym =~ /Table/ and exists $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{$mib}->{$sym =~ s/Table/Entry/gr}) { - # fuer die Pappenheimer von QNAP, die nennen ihren Krempel - # kakaTable und kakaTableEntry - # oder noch schlauer: systemIfTable und ifEntry - if (my @table = $self->get_snmp_table_objects($mib, $sym)) { - my $oid = $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{$mib}->{$sym}; - $confirmed->{$oid} = sprintf '%s::%s', $mib, $sym; - $self->add_rawdata($oid, '--------------------'); - foreach my $line (@table) { - if ($line->{flat_indices}) { - foreach my $column (grep !/(flat_indices)|(indices)/, keys %{$line}) { - my $oid = $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{$mib}->{$column}; - if (exists $unknowns->{$oid.'.'.$line->{flat_indices}}) { - $confirmed->{$oid.'.'.$line->{flat_indices}} = - sprintf '%s::%s.%s = %s', $mib, $column, $line->{flat_indices}, $line->{$column}; - delete $unknowns->{$oid.'.'.$line->{flat_indices}}; - } - } - } - } - } } } } @@ -959,11 +908,8 @@ sub check_snmp_and_model { } } $self->opts->override_opt('hostname', 'walkhost') if $self->opts->mode ne 'walk'; - my $current_oid = undef; - my @multiline_string = (); open(MESS, $self->opts->snmpwalk); while() { - next if /No Such Object available on this agent at this OID/; # SNMPv2-SMI::enterprises.232.6.2.6.7.1.3.1.4 = INTEGER: 6 if (/^([\d\.]+) = .*?INTEGER: .*\((\-*\d+)\)/) { # .1.3.6.1.2.1.2.2.1.8.1 = INTEGER: down(2) @@ -973,9 +919,6 @@ sub check_snmp_and_model { $response->{$1} = $2; } elsif (/^([\d\.]+) = STRING:\s*$/) { $response->{$1} = ""; - } elsif (/^([\.\d]+) = STRING: "([^"]*)$/) { - $current_oid = $1; - push(@multiline_string, $2); } elsif (/^([\d\.]+) = Network Address: (.*)/) { $response->{$1} = $2; } elsif (/^([\d\.]+) = Hex-STRING: (.*)/) { @@ -996,17 +939,6 @@ sub check_snmp_and_model { } elsif (/^([\d\.]+) = "(.*?)"/) { $response->{$1} = $2; $response->{$1} =~ s/\s+$//; - } elsif (/^([^"]*)"$/ && @multiline_string && $current_oid) { - push(@multiline_string, $1); - $response->{$current_oid} = join("\n", @multiline_string); - $current_oid = undef; - @multiline_string = (); - } elsif (/^"$/ && @multiline_string && $current_oid) { - $response->{$current_oid} = join("\n", @multiline_string); - $current_oid = undef; - @multiline_string = (); - } elsif (/(.*)/ && @multiline_string && $current_oid) { - push(@multiline_string, $1); } } close MESS; @@ -1019,11 +951,6 @@ sub check_snmp_and_model { delete $response->{$oid}; } } - # Achtung!! Der schnippelt von einem Hex-STRING, der mit 20 aufhoert, - # das letzte Byte weg. Das muss beruecksichtigt werden, wenn man - # spaeter MAC-Adressen o.ae. zueueckrechnet. - # } elsif ($self->{hwWlanRadioMac} && unpack("H12", $self->{hwWlanRadioMac}." ") =~ /(\w{2})(\w{2})(\w{2})(\w{2})(\w{2})(\w{2})/) { - # siehe Classes::Huawei::Component::WlanSubsystem::Radio map { $response->{$_} =~ s/^\s+//; $response->{$_} =~ s/\s+$//; } keys %$response; $self->set_rawdata($response); @@ -1064,27 +991,25 @@ sub check_snmp_and_model { scalar localtime (time - $sysUptime), $self->human_timeticks($sysUptime)); } - my $best_uptime = undef; - if ($hrSystemUptime) { - # Bei Linux-basierten Geraeten wird snmpEngineTime viel zu haeufig - # durchgestartet, also lieber das hier. - $best_uptime = $hrSystemUptime; - # Es sei denn, snmpEngineTime ist tatsaechlich groesser, dann gilt - # wiederum dieses. Mag sein, dass der zahlenwert hier manchmal huepft - # und ein Performancegraph Zacken bekommt, aber das ist mir egal. - # es geht nicht um Graphen in Form einer ansteigenden Geraden, sondern - # um das Erkennen von spontanen Reboots und das Vermeiden von - # falschen Alarmen. - if ($snmpEngineTime && $snmpEngineTime > $hrSystemUptime) { - $best_uptime = $snmpEngineTime; + if (defined $sysUptime && defined $sysDescr) { + if ($hrSystemUptime) { + # Bei Linux-basierten Geraeten wird snmpEngineTime viel zu haeufig + # durchgestartet, also lieber das hier. + $self->{uptime} = $hrSystemUptime; + # Es sei denn, snmpEngineTime ist tatsaechlich groesser, dann gilt + # wiederum dieses. Mag sein, dass der zahlenwert hier manchmal huepft + # und ein Performancegraph Zacken bekommt, aber das ist mir egal. + # es geht nicht um Graphen in Form einer ansteigenden Geraden, sondern + # um das Erkennen von spontanen Reboots und das Vermeiden von + # falschen Alarmen. + if ($snmpEngineTime && $snmpEngineTime > $hrSystemUptime) { + $self->{uptime} = $snmpEngineTime; + } + } elsif ($snmpEngineTime) { + $self->{uptime} = $snmpEngineTime; + } else { + $self->{uptime} = $sysUptime; } - } elsif ($snmpEngineTime) { - $best_uptime = $snmpEngineTime; - } else { - $best_uptime = $sysUptime; - } - if (defined $best_uptime && defined $sysDescr) { - $self->{uptime} = $best_uptime; $self->{productname} = $sysDescr; $self->{sysobjectid} = $self->get_snmp_object('MIB-2-MIB', 'sysObjectID', 0); $self->debug(sprintf 'uptime: %s', $self->{uptime}); @@ -1118,11 +1043,11 @@ sub check_snmp_and_model { } if (! $mein_lieber_freund_und_kupferstecher) { $self->add_message(UNKNOWN, - 'got neither sysUptime and sysDescr nor any other useful information, is this snmp agent working correctly?'); + 'got neither sysUptime nor sysDescr nor any other useful information, is this snmp agent working correctly?'); } } else { $self->add_message(UNKNOWN, - 'Did not receive both sysUptime and sysDescr, is this snmp agent working correctly?'); + 'got neither sysUptime nor sysDescr, is this snmp agent working correctly?'); } $Monitoring::GLPlugin::SNMP::session->close if $Monitoring::GLPlugin::SNMP::session; } @@ -1207,8 +1132,7 @@ sub establish_snmp_session { *STDERR = *ERR; my ($session, $error) = Net::SNMP->session(%params); *STDERR = *SAVEERR; - if (($stderrvar && $error && $error =~ /Time synchronization failed/) || - ($error && $error =~ /Received usmStatsUnknownEngineIDs.0 Report-PDU with value \d+ during synchronization/)) { + if ($stderrvar && $error && $error =~ /Time synchronization failed/) { # This is what you get when you have # - an APC ups with a buggy firmware. # - no chance to update it. @@ -1240,7 +1164,6 @@ sub establish_snmp_session { } $Monitoring::GLPlugin::SNMP::max_msg_size = $max_msg_size; $Monitoring::GLPlugin::SNMP::session = $session; - $Monitoring::GLPlugin::SNMP::session_params = \%params; } } else { $self->add_message(CRITICAL, @@ -1314,7 +1237,7 @@ sub establish_snmp_secondary_session { sub reset_snmp_max_msg_size { my ($self) = @_; $self->debug(sprintf "reset snmp_max_msg_size to %s", - $Monitoring::GLPlugin::SNMP::max_msg_size) if $Monitoring::GLPlugin::SNMP::session; + $Monitoring::GLPlugin::SNMP::max_msg_size); $Monitoring::GLPlugin::SNMP::session->max_msg_size($Monitoring::GLPlugin::SNMP::max_msg_size) if $Monitoring::GLPlugin::SNMP::session; } @@ -1330,7 +1253,7 @@ sub bulk_baeh_reset { my ($self, $maxrepetitions) = @_; $self->reset_snmp_max_msg_size(); $Monitoring::GLPlugin::SNMP::maxrepetitions = - int($Monitoring::GLPlugin::SNMP::session->max_msg_size() * 0.017) if $Monitoring::GLPlugin::SNMP::session; + $Monitoring::GLPlugin::SNMP::session->max_msg_size() * 0.017; } sub bulk_is_baeh { @@ -1364,11 +1287,7 @@ sub no_such_mode { $self->init(); } else { eval { - if (exists $self->{generic_class}) { - bless $self, $self->{generic_class}; - } else { - bless $self, "Classes::Generic"; - } + bless $self, "Classes::Generic"; $self->init(); }; if ($@) { @@ -1377,10 +1296,8 @@ sub no_such_mode { } } if (ref($self) eq "Monitoring::GLPlugin::SNMP") { - $self->nagios_exit(3, - sprintf "Mode %s is not implemented for this type of device", - $self->opts->mode - ); + printf "Mode %s is not implemented for this type of device\n", + $self->opts->mode; exit 3; } } @@ -1536,10 +1453,6 @@ sub implements_mib { grep { # following oid is inside this tree substr($_, 0, length($check_oid)) eq $check_oid } keys %{$traces}) { - if (exists $traces->{$check_oid} && - $traces->{$check_oid} eq "endOfMibView") { - return 0; - } $self->debug(sprintf "implements %s (found traces)", $mib); return 1; } @@ -1677,15 +1590,7 @@ sub update_entry_cache { $self->opts->hostname, $self->opts->mode, $mib, $table); $self->{$cache} = {}; foreach my $entry ($self->get_snmp_table_objects($mib, $table, undef, $key_attrs)) { - # HUAWEI-L2MAM-MIB/hwMacVlanStatisticsTable hat hwMacVlanStatisticsVlanId, welches aber nicht - # existiert. Id ist nichts anderes als der Index. sub finish() wuerde das Attribut - # anlegen, aber das ist hier noch nicht gelaufen. $entry->{$_} ist daher undef - # bei key_attrs==hwMacVlanStatisticsVlanId. Aber was noch geht: - # Leerstring, dann heißt es ""-//-index => index statt blubb-//-index => index - # Weil hwMacVlanStatisticsVlanId kein Text ist, sondern der Index, wird das Holen - # aus dem Cache funktionieren, weil wenn --name numerisch ist, wird mit dem Index - # aus ""-//-index verglichen und die leere Description ist Wurst. - my $key = join('#', map { exists $entry->{$_} ? $entry->{$_} : "" } @{$key_attrs}); + my $key = join('#', map { $entry->{$_} } @{$key_attrs}); my $hash = $key . '-//-' . join('.', @{$entry->{indices}}); $self->{$cache}->{$hash} = $entry->{indices}; } @@ -1701,14 +1606,9 @@ sub save_cache { $self->create_statefilesdir(); my $statefile = $self->create_entry_cache_file($mib, $table, join('#', @{$key_attrs})); my $tmpfile = $statefile.$$.rand(); - my $fh = IO::File->new(); - if ($fh->open($tmpfile, "w")) { - my $coder = JSON::XS->new->ascii->pretty->allow_nonref; - my $jsonscalar = $coder->encode($self->{$cache}); - $fh->print($jsonscalar); - $fh->flush(); - $fh->close(); - } + open(STATE, ">".$tmpfile); + printf STATE Data::Dumper::Dumper($self->{$cache}); + close STATE; rename $tmpfile, $statefile; $self->debug(sprintf "saved %s to %s", Data::Dumper::Dumper($self->{$cache}), $statefile); @@ -1720,26 +1620,25 @@ sub load_cache { my $statefile = $self->create_entry_cache_file($mib, $table, join('#', @{$key_attrs})); $self->{$cache} = {}; if ( -f $statefile) { - my $jsonscalar = read_file($statefile); our $VAR1; + our $VAR2; eval { - my $coder = JSON::XS->new->ascii->pretty->allow_nonref; - $VAR1 = $coder->decode($jsonscalar); + require $statefile; }; if($@) { - $self->debug(sprintf "json load from %s failed. fallback", $statefile); - delete $INC{$statefile} if exists $INC{$statefile}; # else unit tests fail - eval "$jsonscalar"; - if($@) { - printf "FATAL: Could not load cache in perl format!\n"; - $self->debug(sprintf "fallback perl load from %s failed", $statefile); - } + printf "FATAL: Could not load cache!\n"; } + # keinesfalls mehr require verwenden!!!!!! + # beim require enthaelt VAR1 andere werte als beim slurp + # und zwar diejenigen, die beim letzten save_cache geschrieben wurden. + my $content = do { local (@ARGV, $/) = $statefile; my $x = <>; close ARGV; $x }; + $VAR1 = eval "$content"; $self->debug(sprintf "load %s", Data::Dumper::Dumper($VAR1)); $self->{$cache} = $VAR1; } } + ################################################################ # top-level convenience functions # @@ -1784,47 +1683,6 @@ sub get_snmp_tables { } } -sub get_snmp_tables_cached { - my ($self, $mib, $infos, $retention) = @_; - $retention ||= 3600; - my $from_file = {}; - foreach my $info (@{$infos}) { - my $table = $info->[1]; - my $statefile = $self->create_entry_cache_file($mib, $table, "tablecache"); - my @fileinfo = stat($statefile); - if (@fileinfo and time - $fileinfo[9] < $retention) { - # exist und recent - my $cache = sprintf "%s_%s_%s_cache", $mib, $table, "tablecache"; - $self->load_cache($mib, $table, ["tablecache"]); - if (exists $self->{$cache} and defined $self->{$cache} and - ((ref($self->{$cache}) eq "HASH" and keys %{$self->{$cache}}) or - (ref($self->{$cache}) eq "ARRAY" and @{$self->{$cache}}))) { - $Monitoring::GLPlugin::SNMP::tablecache->{$mib}->{$table} = $self->{$cache}; - $from_file->{$cache} = 1 if exists $self->{$cache}; - $self->debug(sprintf "get_snmp_tables_cached loaded file for %s %s", $mib, $table); - } else { - $self->debug(sprintf "get_snmp_tables_cached loaded empty file for %s %s", $mib, $table); - } - delete $self->{$cache} if exists $self->{$cache}; - } else { - $self->debug(sprintf "get_snmp_tables_cached has no (or outdated) file for %s %s", $mib, $table); - } - } - $self->get_snmp_tables($mib, $infos); - foreach my $info (@{$infos}) { - my $table = $info->[1]; - if (exists $Monitoring::GLPlugin::SNMP::tablecache->{$mib} and - exists $Monitoring::GLPlugin::SNMP::tablecache->{$mib}->{$table}) { - my $cache = sprintf "%s_%s_%s_cache", $mib, $table, "tablecache"; - next if exists $from_file->{$cache}; - $self->{$cache} = - $Monitoring::GLPlugin::SNMP::tablecache->{$mib}->{$table}; - $self->save_cache($mib, $table, ["tablecache"]); - delete $self->{$cache}; - } - } -} - sub merge_tables { my ($self, $into, @from) = @_; my $into_indices = {}; @@ -1972,7 +1830,7 @@ sub get_table_row_oids { } map { [$_, $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{$mib}->{$_}] } keys %{$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{$mib}}; - return $self->sort_oids(\@columns); + return @columns; } # get_snmp_table_objects('MIB-Name', 'Table-Name', 'Table-Entry', [indices]) @@ -2269,7 +2127,6 @@ sub get_entries_get_bulk { $newparams{-contextengineid} = $self->opts->contextengineid if $self->opts->contextengineid; $newparams{-contextname} = $self->opts->contextname if $self->opts->contextname; } - delete $newparams{'-maxrepetitions'}; # bulk howe gsagt!! $result = $Monitoring::GLPlugin::SNMP::session->get_entries(%newparams); return $result; } @@ -2518,9 +2375,6 @@ sub get_entries_by_walk { while (my $result = $Monitoring::GLPlugin::SNMP::session->get_bulk_request(%params)) { my @names = $Monitoring::GLPlugin::SNMP::session->var_bind_names(); my @oids = $self->sort_oids(\@names); - foreach (keys %{$result}) { - $self->add_rawdata($_, $result->{$_}); - } $params{-varbindlist} = [pop @oids]; } } @@ -2554,7 +2408,6 @@ sub get_table { if (! defined $result || (defined $result && ! %{$result})) { $self->debug(sprintf "get_table error: %s", $Monitoring::GLPlugin::SNMP::session->error()); - my $fallback = 0; if ($Monitoring::GLPlugin::SNMP::session->error() =~ /message size exceeded.*buffer maxMsgSize/i) { # bei irrsinnigen maxrepetitions $self->debug(sprintf "buffer exceeded"); @@ -2566,32 +2419,12 @@ sub get_table { } else { $self->mult_snmp_max_msg_size(2); } - $fallback = 1; - } elsif ($Monitoring::GLPlugin::SNMP::session->error() =~ /No response from remote host/i) { - # some agents can not handle big loads - if ($params{'-maxrepetitions'}) { - $params{'-maxrepetitions'} = int($params{'-maxrepetitions'} / 2); - $self->debug(sprintf "reduce maxrepetitions to %d", - $params{'-maxrepetitions'}); - $fallback = 1; - } - } elsif ($Monitoring::GLPlugin::SNMP::session->error() =~ /Received tooBig/i) { - # some agents can not handle big loads - if ($params{'-maxrepetitions'}) { - $params{'-maxrepetitions'} = int($params{'-maxrepetitions'} / 4) + 1; - $self->debug(sprintf "toobig reduce maxrepetitions to %d", - $params{'-maxrepetitions'}); - $fallback = 1; - } - } - if ($fallback) { - $self->debug("get_table error: try fallback"); - $self->debug(sprintf "get_table %s", Data::Dumper::Dumper(\%params)); - $tic = time; - $result = $Monitoring::GLPlugin::SNMP::session->get_table(%params); - $tac = time; - $self->debug(sprintf "get_table returned %d oids in %ds", scalar(keys %{$result}), $tac - $tic); } + $self->debug("get_table error: try fallback"); + $self->debug(sprintf "get_table %s", Data::Dumper::Dumper(\%params)); + $result = $Monitoring::GLPlugin::SNMP::session->get_table(%params); + $tac = time; + $self->debug(sprintf "get_table returned %d oids in %ds", scalar(keys %{$result}), $tac - $tic); if (! defined $result || ! %{$result}) { $self->debug(sprintf "get_table error: %s", $Monitoring::GLPlugin::SNMP::session->error()); @@ -2599,7 +2432,6 @@ sub get_table { $params{'-maxrepetitions'} = 1; $self->debug("get_table error: try getnext fallback"); $self->debug(sprintf "get_table %s", Data::Dumper::Dumper(\%params)); - $tic = time; $result = $Monitoring::GLPlugin::SNMP::session->get_table(%params); $tac = time; $self->debug(sprintf "get_table returned %d oids in %ds", scalar(keys %{$result}), $tac - $tic); @@ -2761,23 +2593,19 @@ sub make_symbolic { exists $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition} && ref($Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition}) eq 'CODE') { if ($parameters) { - my @args = ($result->{$fulloid}); - foreach my $parameter (split(",", $parameters)) { - if (! exists $mo->{$parameter}) { - # this happens if there are two isolated get_snmp_object calls, one for - # cLHaPeerIpAddressType and one for cLHaPeerIpAddress where the latter needs - # the symbolized value of the first. we are inside this index-loop because - # both have this usual extra .0 although this is not a table row. - # if this were a table row, $mo would know cLHaPeerIpAddressType. - # there's a chance that $self got cLHaPeerIpAddressType in a previous call - # to make_symbolic - if (@{$indices} and scalar(@{$indices}) == 1 and ! $indices->[0]->[0]) { - $mo->{$parameter} = $self->{$parameter}; - } + if (! exists $mo->{$parameters}) { + # this happens if there are two isolated get_snmp_object calls, one for + # cLHaPeerIpAddressType and one for cLHaPeerIpAddress where the latter needs + # the symbolized value of the first. we are inside this index-loop because + # both have this usual extra .0 although this is not a table row. + # if this were a table row, $mo would know cLHaPeerIpAddressType. + # there's a chance that $self got cLHaPeerIpAddressType in a previous call + # to make_symbolic + if (@{$indices} and scalar(@{$indices}) == 1 and ! $indices->[0]->[0]) { + $mo->{$parameters} = $self->{$parameters}; } - push(@args, $mo->{$parameter}); } - $mo->{$symoid} = $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition}->(@args); + $mo->{$symoid} = $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition}->($result->{$fulloid}, $mo->{$parameters}); } else { $mo->{$symoid} = $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition}->($result->{$fulloid}); } @@ -2845,16 +2673,12 @@ sub make_symbolic { exists $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition} && ref($Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition}) eq 'CODE') { if ($parameters) { - my @args = ($result->{$fulloid}); - foreach my $parameter (split(",", $parameters)) { - if (! exists $mo->{$parameter}) { - if (@{$indices} and scalar(@{$indices}) == 1 and ! $indices->[0]->[0]) { - $mo->{$parameter} = $self->{$parameter}; - } + if (! exists $mo->{$parameters}) { + if (@{$indices} and scalar(@{$indices}) == 1 and ! $indices->[0]->[0]) { + $mo->{$parameters} = $self->{$parameters}; } - push(@args, $mo->{$parameter}); } - $mo->{$symoid} = $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition}->(@args); + $mo->{$symoid} = $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition}->($result->{$fulloid}, $mo->{$parameters}); } else { $mo->{$symoid} = $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition}->($result->{$fulloid}); } @@ -3128,86 +2952,6 @@ sub get_cache_indices { return map { join('.', ref($_) eq "ARRAY" ? @{$_} : $_) } @indices; } -sub get_cache_indices_by_value { - # we have a table like - # [TABLEITEM_40 in dot1dBasePortTable] - # dot1dBasePort: 40 (-> index in dot1qPortVlanTable) - # dot1dBasePortCircuit: .0.0 - # dot1dBasePortIfIndex: 46 -> ifIndex in ifTable - # $self->update_entry_cache(0, 'BRIDGE-MIB', 'dot1dBasePortTable', ['dot1dBasePort', "dot1dBasePortIfIndex"]); - # creates entries like - # '40#46-//-40' => [ - # '40' - # ], - # get_cache_indices only works with --name - # '40#46-//-40' will be split into descr=40#46 and index=40 - # descr would then be compared to --name and the value (which is [indices]) - # be added to the return list. (the index 40 can also be a flat_indices) - # we can't use dot1dBasePortIfIndex as the key_attr, as it is not unique - # i ho an dot1dBasePortIfIndex und mou aussafina, wos fir index das aaf - # dem hizoing. - # zammbaut ho i dem zaech mied ['dot1dBasePort', "dot1dBasePortIfIndex"] - # also woas i das descr vo dene zammgsetzt is und da wecha wos is. - # na moue sched get_cache_indices_by_value('BRIDGE-MIB', 'dot1dBasePortTable', ['dot1dBasePort', "dot1dBasePortIfIndex"], "dot1dBasePortIfIndex", $pifidx) - # aafruafa. - # Liefert flache zruck. - my ($self, $mib, $table, $key_attr, $cmp_attr, $cmp_value) = @_; - if (ref($key_attr) ne "ARRAY") { - $key_attr = [$key_attr]; - } - if (ref($cmp_value) ne "ARRAY") { - $cmp_value = [$cmp_value]; - } - my $cache = sprintf "%s_%s_%s_cache", - $mib, $table, join('#', @{$key_attr}); - my @indices = (); - foreach my $key (keys %{$self->{$cache}}) { - my ($descr, $index) = split('-//-', $key, 2); - # descr was join('#', map { exists $entry->{$_} ? $entry->{$_} : "" } @{$key_attrs}); - my @values = split(/#/, $descr); - my %cmp = map { $key_attr->[$_] => $values[$_] } 0 .. $#values; - for my $cmp_val (@{$cmp_value}) { - if ($cmp{$cmp_attr} && $cmp{$cmp_attr} eq $cmp_val) { - push(@indices, $index); - } - } - } - return @indices; -} - -sub get_cache_values_by_indices { - my ($self, $mib, $table, $key_attr, $indices) = @_; - # -> indices is an array of flat_indices -# records are -# val1#val#2#flat_index-//-flat_index => [indices] -# val1#val2 represent join(#, @key_attr) - if (ref($key_attr) ne "ARRAY") { - $key_attr = [$key_attr]; - } - if (ref($indices) ne "ARRAY") { - $indices = [$indices]; - } - my $cache = sprintf "%s_%s_%s_cache", - $mib, $table, join('#', @{$key_attr}); - my @results = (); - foreach my $key (keys %{$self->{$cache}}) { - my ($descr, $index) = split('-//-', $key, 2); - my @values = split('#', $descr); - foreach my $flat_indices (@{$indices}) { - if ($flat_indices eq $index) { - my $element = { - flat_indices => $flat_indices, - }; - foreach my $descr_idx (0 .. $#values) { - $element->{$key_attr->[$descr_idx]} = $values[$descr_idx]; - } - push(@results, $element); - } - } - } - return @results; -} - sub get_entities { my ($self, $class, $filter) = @_; foreach ($self->get_sub_table('ENTITY-MIB', [ diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/CSF.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/CSF.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/CSF.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/CSF.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/Item.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/Item.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/Item.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/Item.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADSLLINEMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADSLLINEMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADSLLINEMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADSLLINEMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/AIRESPACESWITCHINGMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/AIRESPACESWITCHINGMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/AIRESPACESWITCHINGMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/AIRESPACESWITCHINGMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/AIRESPACEWIRELESSMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/AIRESPACEWIRELESSMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/AIRESPACEWIRELESSMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/AIRESPACEWIRELESSMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ALARMMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ALARMMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ALARMMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ALARMMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ALCATELIND1BASEMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ALCATELIND1BASEMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ALCATELIND1BASEMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ALCATELIND1BASEMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARISTABGP4V2MIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARISTABGP4V2MIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARISTABGP4V2MIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARISTABGP4V2MIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARISTAENTITYSENSORMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARISTAENTITYSENSORMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARISTAENTITYSENSORMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARISTAENTITYSENSORMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBATCMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBATCMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBATCMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBATCMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ASYNCOSMAILMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ASYNCOSMAILMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ASYNCOSMAILMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ASYNCOSMAILMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ATTACKMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ATTACKMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ATTACKMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ATTACKMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BGP4MIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BGP4MIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BGP4MIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BGP4MIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BIANCABRICKMIBRESMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BIANCABRICKMIBRESMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BIANCABRICKMIBRESMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BIANCABRICKMIBRESMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BLUECOATAVMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BLUECOATAVMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BLUECOATAVMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BLUECOATAVMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BLUECOATSGPROXYMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BLUECOATSGPROXYMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BLUECOATSGPROXYMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BLUECOATSGPROXYMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CHECKPOINTMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CHECKPOINTMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CHECKPOINTMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CHECKPOINTMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOBGP4MIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOBGP4MIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOBGP4MIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOBGP4MIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOCCMMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOCCMMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOCCMMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOCCMMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOCONFIGMANMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOCONFIGMANMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOCONFIGMANMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOCONFIGMANMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOEIGRPMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOEIGRPMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOEIGRPMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOEIGRPMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENHANCEDMEMPOOLMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENHANCEDMEMPOOLMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENHANCEDMEMPOOLMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENHANCEDMEMPOOLMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYALARMMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYALARMMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYALARMMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYALARMMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYFRUCONTROLMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYFRUCONTROLMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYFRUCONTROLMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYFRUCONTROLMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYSENSORMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYSENSORMIB.pm similarity index 80% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYSENSORMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYSENSORMIB.pm index f56ff11..04d3728 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYSENSORMIB.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYSENSORMIB.pm @@ -21,7 +21,6 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-ENTITY-SENSOR-M 'entSensorScaleDefinition' => 'CISCO-ENTITY-SENSOR-MIB::SensorDataScale', 'entSensorPrecision' => '1.3.6.1.4.1.9.9.91.1.1.1.1.3', 'entSensorValue' => '1.3.6.1.4.1.9.9.91.1.1.1.1.4', - 'entSensorValueDefinition' => 'CISCO-ENTITY-SENSOR-MIB::entSensorValue(entSensorScale,entSensorType)', 'entSensorStatus' => '1.3.6.1.4.1.9.9.91.1.1.1.1.5', 'entSensorStatusDefinition' => 'CISCO-ENTITY-SENSOR-MIB::SensorStatus', 'entSensorValueTimeStamp' => '1.3.6.1.4.1.9.9.91.1.1.1.1.6', @@ -96,35 +95,6 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCO-ENTITY-SENSOR-MIB '16' => 'zetta', '17' => 'yotta', }, - 'entSensorValue' => sub { - my($value, $scale, $type) = @_; - if ($type eq "truthvalue") { - return $value ? "true" : "false"; - } elsif ($type eq "specialEnum") { - return $value; - } else { - my $exp = { - yocto => -24, - zepto => -21, - atto => -18, - femto => -15, - pico => -12, - nano => -9, - micro => -6, - milli => -3, - units => 0, - kilo => 3, - mega => 6, - giga => 9, - tera => 12, - exa => 15, - peta => 18, - zetta => 21, - yotta => 24, - }; - return exists $exp->{$scale} ? $value * 10 ** $exp->{$scale} : $value; - } - }, }; 1; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENVMONMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENVMONMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENVMONMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENVMONMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOETHERNETFABRICEXTENDERMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOETHERNETFABRICEXTENDERMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOETHERNETFABRICEXTENDERMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOETHERNETFABRICEXTENDERMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOFEATURECONTROLMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOFEATURECONTROLMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOFEATURECONTROLMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOFEATURECONTROLMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOFIREWALLMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOFIREWALLMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOFIREWALLMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOFIREWALLMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOHSRPMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOHSRPMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOHSRPMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOHSRPMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOIETFNATMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOIETFNATMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOIETFNATMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOIETFNATMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOIPSECFLOWMONITORMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOIPSECFLOWMONITORMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOIPSECFLOWMONITORMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOIPSECFLOWMONITORMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOL2L3INTERFACECONFIGMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOL2L3INTERFACECONFIGMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOL2L3INTERFACECONFIGMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOL2L3INTERFACECONFIGMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPAPMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPAPMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPAPMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPAPMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPHAMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPHAMIB.pm similarity index 99% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPHAMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPHAMIB.pm index 4556a4f..a660f32 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPHAMIB.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPHAMIB.pm @@ -268,8 +268,7 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCO-LWAPP-HA-MIB::201 '5' => 'timeout', }, cLHaPeerHotStandbyEvent => { - '0' => 'down', - '1' => 'up', + '1' => 'haPeerHotstandby', }, cLHaBulkSyncCompleteEvent => { '1' => 'bulkSyncComplete', diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOMEMORYPOOLMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOMEMORYPOOLMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOMEMORYPOOLMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOMEMORYPOOLMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPORTCHANNELMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPORTCHANNELMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPORTCHANNELMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPORTCHANNELMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPORTSECURITYMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPORTSECURITYMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPORTSECURITYMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPORTSECURITYMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPROCESSMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPROCESSMIB.pm new file mode 100644 index 0000000..768df2f --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPROCESSMIB.pm @@ -0,0 +1,27 @@ +package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOPROCESSMIB; + +$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'CISCO-PROCESS-MIB'} = { + url => '', + name => 'CISCO-PROCESS-MIB', +}; + +$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-PROCESS-MIB'} = { + 'cpmCPUTotalTable' => '1.3.6.1.4.1.9.9.109.1.1.1', + 'cpmCPUTotalEntry' => '1.3.6.1.4.1.9.9.109.1.1.1.1', + 'cpmCPUTotalIndex' => '1.3.6.1.4.1.9.9.109.1.1.1.1.1', + 'cpmCPUTotalPhysicalIndex' => '1.3.6.1.4.1.9.9.109.1.1.1.1.2', + 'cpmCPUTotal5sec' => '1.3.6.1.4.1.9.9.109.1.1.1.1.3', + 'cpmCPUTotal1min' => '1.3.6.1.4.1.9.9.109.1.1.1.1.4', + 'cpmCPUTotal5min' => '1.3.6.1.4.1.9.9.109.1.1.1.1.5', + 'cpmCPUTotal5secRev' => '1.3.6.1.4.1.9.9.109.1.1.1.1.6', + 'cpmCPUTotal1minRev' => '1.3.6.1.4.1.9.9.109.1.1.1.1.7', + 'cpmCPUTotal5minRev' => '1.3.6.1.4.1.9.9.109.1.1.1.1.8', + 'cpmCPUMonInterval' => '1.3.6.1.4.1.9.9.109.1.1.1.1.9', + 'cpmCPUTotalMonIntervalDefinition' => '1.3.6.1.4.1.9.9.109.1.1.1.1.10', + 'cpmCPUInterruptMonIntervalDefinition' => '1.3.6.1.4.1.9.9.109.1.1.1.1.11', +}; + + +1; + +__END__ diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOREMOTEACCESSMONITORMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOREMOTEACCESSMONITORMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOREMOTEACCESSMONITORMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOREMOTEACCESSMONITORMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBHWENVIROMENTMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBHWENVIROMENTMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBHWENVIROMENTMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBHWENVIROMENTMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBRNDMNGMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBRNDMNGMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBRNDMNGMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBRNDMNGMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBSYSMNGMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBSYSMNGMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBSYSMNGMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBSYSMNGMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBTUNINGMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBTUNINGMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBTUNINGMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBTUNINGMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSTACKMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSTACKMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSTACKMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSTACKMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSTACKWISEMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSTACKWISEMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSTACKWISEMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSTACKWISEMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSYSTEMEXTMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSYSTEMEXTMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSYSTEMEXTMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSYSTEMEXTMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOVTPMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOVTPMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOVTPMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOVTPMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CLAVISTERMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CLAVISTERMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CLAVISTERMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CLAVISTERMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/DISKMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/DISKMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/DISKMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/DISKMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ELTEXMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ELTEXMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ELTEXMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ELTEXMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYSENSORMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYSENSORMIB.pm similarity index 70% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYSENSORMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYSENSORMIB.pm index cb80ded..8b9af45 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYSENSORMIB.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYSENSORMIB.pm @@ -19,7 +19,6 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'ENTITY-SENSOR-MIB'} = entPhySensorScaleDefinition => 'ENTITY-SENSOR-MIB::EntitySensorDataScale', entPhySensorPrecision => '1.3.6.1.2.1.99.1.1.1.3', entPhySensorValue => '1.3.6.1.2.1.99.1.1.1.4', - entPhySensorValueDefinition => 'ENTITY-SENSOR-MIB::entPhySensorValue(entPhySensorScale,entPhySensorType)', entPhySensorOperStatus => '1.3.6.1.2.1.99.1.1.1.5', entPhySensorOperStatusDefinition => 'ENTITY-SENSOR-MIB::EntitySensorStatus', entPhySensorUnitsDisplay => '1.3.6.1.2.1.99.1.1.1.6', @@ -69,35 +68,4 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'ENTITY-SENSOR-MIB'} = { '2' => 'unavailable', '3' => 'nonoperational', }, - entPhySensorValue => sub { - my($value, $scale, $type) = @_; - if ($type eq "truthvalue") { - return $value ? "true" : "false"; - } else { - my $exp = { -# Irgend so ein Hanswurscht bei Cisco hat fuer alle Werte einer ASA -# entPhySensorScale auf yocto gesetzt. -# rpm sensor PS0 Fan Sensor reports 5.9e-21rpm -# Viel ist das nicht. Depp. -# yocto => -24, - zepto => -21, - atto => -18, - femto => -15, - pico => -12, - nano => -9, - micro => -6, - milli => -3, - units => 0, - kilo => 3, - mega => 6, - giga => 9, - tera => 12, - exa => 15, - peta => 18, - zetta => 21, - yotta => 24, - }; - return exists $exp->{$scale} ? $value * 10 ** $exp->{$scale} : $value; - } - }, }; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYSTATEMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYSTATEMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYSTATEMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYSTATEMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ETHERLIKEMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ETHERLIKEMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ETHERLIKEMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ETHERLIKEMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPAPMMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPAPMMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPAPMMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPAPMMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPGLOBALMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPGLOBALMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPGLOBALMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPGLOBALMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPLOCALMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPLOCALMIB.pm old mode 100755 new mode 100644 similarity index 99% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPLOCALMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPLOCALMIB.pm index 0b15b57..af85396 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPLOCALMIB.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPLOCALMIB.pm @@ -131,9 +131,7 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'F5-BIGIP-LOCAL-MIB'} ltmNodeAddrTable => '1.3.6.1.4.1.3375.2.2.4.1.2', ltmNodeAddrEntry => '1.3.6.1.4.1.3375.2.2.4.1.2.1', ltmNodeAddrAddrType => '1.3.6.1.4.1.3375.2.2.4.1.2.1.1', - ltmNodeAddrAddrTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType', ltmNodeAddrAddr => '1.3.6.1.4.1.3375.2.2.4.1.2.1.2', - ltmNodeAddrAddrDefinition => 'INET-ADDRESS-MIB::InetAddress(ltmNodeAddrAddrType)', ltmNodeAddrConnLimit => '1.3.6.1.4.1.3375.2.2.4.1.2.1.3', ltmNodeAddrRatio => '1.3.6.1.4.1.3375.2.2.4.1.2.1.4', ltmNodeAddrDynamicRatio => '1.3.6.1.4.1.3375.2.2.4.1.2.1.5', @@ -161,9 +159,7 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'F5-BIGIP-LOCAL-MIB'} ltmNodeAddrStatTable => '1.3.6.1.4.1.3375.2.2.4.2.3', ltmNodeAddrStatEntry => '1.3.6.1.4.1.3375.2.2.4.2.3.1', ltmNodeAddrStatAddrType => '1.3.6.1.4.1.3375.2.2.4.2.3.1.1', - ltmNodeAddrStatAddrTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType', ltmNodeAddrStatAddr => '1.3.6.1.4.1.3375.2.2.4.2.3.1.2', - ltmNodeAddrStatAddrDefinition => 'INET-ADDRESS-MIB::InetAddress(ltmNodeAddrStatAddrType)', ltmNodeAddrStatServerPktsIn => '1.3.6.1.4.1.3375.2.2.4.2.3.1.3', ltmNodeAddrStatServerBytesIn => '1.3.6.1.4.1.3375.2.2.4.2.3.1.4', ltmNodeAddrStatServerPktsOut => '1.3.6.1.4.1.3375.2.2.4.2.3.1.5', @@ -190,9 +186,7 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'F5-BIGIP-LOCAL-MIB'} ltmNodeAddrStatusTable => '1.3.6.1.4.1.3375.2.2.4.3.2', ltmNodeAddrStatusEntry => '1.3.6.1.4.1.3375.2.2.4.3.2.1', ltmNodeAddrStatusAddrType => '1.3.6.1.4.1.3375.2.2.4.3.2.1.1', - ltmNodeAddrStatusAddrTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType', ltmNodeAddrStatusAddr => '1.3.6.1.4.1.3375.2.2.4.3.2.1.2', - ltmNodeAddrStatusAddrDefinition => 'INET-ADDRESS-MIB::InetAddress(ltmNodeAddrStatusAddrType)', ltmNodeAddrStatusAvailState => '1.3.6.1.4.1.3375.2.2.4.3.2.1.3', ltmNodeAddrStatusAvailStateDefinition => 'F5-BIGIP-LOCAL-MIB::ltmNodeAddrStatusAvailState', ltmNodeAddrStatusEnabledState => '1.3.6.1.4.1.3375.2.2.4.3.2.1.4', @@ -282,9 +276,7 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'F5-BIGIP-LOCAL-MIB'} ltmPoolMemberEntry => '1.3.6.1.4.1.3375.2.2.5.3.2.1', ltmPoolMemberPoolName => '1.3.6.1.4.1.3375.2.2.5.3.2.1.1', ltmPoolMemberAddrType => '1.3.6.1.4.1.3375.2.2.5.3.2.1.2', - ltmPoolMemberAddrTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType', ltmPoolMemberAddr => '1.3.6.1.4.1.3375.2.2.5.3.2.1.3', - ltmPoolMemberAddrDefinition => 'INET-ADDRESS-MIB::InetAddress(ltmPoolMemberAddrType)', ltmPoolMemberPort => '1.3.6.1.4.1.3375.2.2.5.3.2.1.4', ltmPoolMemberConnLimit => '1.3.6.1.4.1.3375.2.2.5.3.2.1.5', ltmPoolMemberRatio => '1.3.6.1.4.1.3375.2.2.5.3.2.1.6', @@ -314,9 +306,7 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'F5-BIGIP-LOCAL-MIB'} ltmPoolMemberStatEntry => '1.3.6.1.4.1.3375.2.2.5.4.3.1', ltmPoolMemberStatPoolName => '1.3.6.1.4.1.3375.2.2.5.4.3.1.1', ltmPoolMemberStatAddrType => '1.3.6.1.4.1.3375.2.2.5.4.3.1.2', - ltmPoolMemberStatAddrTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType', ltmPoolMemberStatAddr => '1.3.6.1.4.1.3375.2.2.5.4.3.1.3', - ltmPoolMemberStatAddrDefinition => 'INET-ADDRESS-MIB::InetAddress(ltmPoolMemberStatAddrType)', ltmPoolMemberStatPort => '1.3.6.1.4.1.3375.2.2.5.4.3.1.4', ltmPoolMemberStatServerPktsIn => '1.3.6.1.4.1.3375.2.2.5.4.3.1.5', ltmPoolMemberStatServerBytesIn => '1.3.6.1.4.1.3375.2.2.5.4.3.1.6', @@ -362,9 +352,7 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'F5-BIGIP-LOCAL-MIB'} ltmPoolMbrStatusEntry => '1.3.6.1.4.1.3375.2.2.5.6.2.1', ltmPoolMbrStatusPoolName => '1.3.6.1.4.1.3375.2.2.5.6.2.1.1', ltmPoolMbrStatusAddrType => '1.3.6.1.4.1.3375.2.2.5.6.2.1.2', - ltmPoolMbrStatusAddrTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType', ltmPoolMbrStatusAddr => '1.3.6.1.4.1.3375.2.2.5.6.2.1.3', - ltmPoolMbrStatusAddrDefinition => 'INET-ADDRESS-MIB::InetAddress(ltmPoolMbrStatusAddrType)', ltmPoolMbrStatusPort => '1.3.6.1.4.1.3375.2.2.5.6.2.1.4', ltmPoolMbrStatusAvailState => '1.3.6.1.4.1.3375.2.2.5.6.2.1.5', ltmPoolMbrStatusAvailStateDefinition => 'F5-BIGIP-LOCAL-MIB::ltmPoolMbrStatusAvailState', diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPSYSTEMMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPSYSTEMMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPSYSTEMMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPSYSTEMMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FCEOSMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FCEOSMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FCEOSMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FCEOSMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FCMGMTMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FCMGMTMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FCMGMTMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FCMGMTMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FIBRECHANNELFEMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FIBRECHANNELFEMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FIBRECHANNELFEMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FIBRECHANNELFEMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FORTINETCOREMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FORTINETCOREMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FORTINETCOREMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FORTINETCOREMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FORTINETFORTIGATEMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FORTINETFORTIGATEMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FORTINETFORTIGATEMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FORTINETFORTIGATEMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FOUNDRYSNAGENTMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FOUNDRYSNAGENTMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FOUNDRYSNAGENTMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FOUNDRYSNAGENTMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FOUNDRYSNSWL4SWITCHGROUPMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FOUNDRYSNSWL4SWITCHGROUPMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FOUNDRYSNSWL4SWITCHGROUPMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FOUNDRYSNSWL4SWITCHGROUPMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/GENUAMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/GENUAMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/GENUAMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/GENUAMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HH3CENTITYEXTMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HH3CENTITYEXTMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HH3CENTITYEXTMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HH3CENTITYEXTMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HOSTRESOURCESMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HOSTRESOURCESMIB.pm similarity index 99% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HOSTRESOURCESMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HOSTRESOURCESMIB.pm index 892bc63..94701de 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HOSTRESOURCESMIB.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HOSTRESOURCESMIB.pm @@ -135,8 +135,6 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'HOST-RESOURCES-MIB'} hrFSRFS => '1.3.6.1.2.1.25.3.9.19', hrFSDGCFS => '1.3.6.1.2.1.25.3.9.20', hrFSBFS => '1.3.6.1.2.1.25.3.9.21', - hrFSFAT32 => '1.3.6.1.2.1.25.3.9.22', - hrFSLinuxExt2 => '1.3.6.1.2.1.25.3.9.23', hrSWRun => '1.3.6.1.2.1.25.4', hrSWOSIndex => '1.3.6.1.2.1.25.4.1', hrSWRunTable => '1.3.6.1.2.1.25.4.2', diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HPICFCHASSIS.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HPICFCHASSIS.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HPICFCHASSIS.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HPICFCHASSIS.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIENTITYEXTENTMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIENTITYEXTENTMIB.pm new file mode 100644 index 0000000..7c3d095 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIENTITYEXTENTMIB.pm @@ -0,0 +1,656 @@ +package Monitoring::GLPlugin::SNMP::MibsAndOids::HUAWEIENTITYEXTENTMIB; + +$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'HUAWEI-ENTITY-EXTENT-MIB'} = { + url => '', + name => 'HUAWEI-ENTITY-EXTENT-MIB', +}; + +$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'HUAWEI-ENTITY-EXTENT-MIB'} = { + hwEntityExtentMIB => '1.3.6.1.4.1.2011.5.25.31', + hwEntityExtObjects => '1.3.6.1.4.1.2011.5.25.31.1', + hwEntityState => '1.3.6.1.4.1.2011.5.25.31.1.1', + hwEntityStateTable => '1.3.6.1.4.1.2011.5.25.31.1.1.1', + hwEntityStateEntry => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1', + hwEntityAdminStatus => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.1', + hwEntityAdminStatusDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::HwAdminState', + hwEntityOperStatus => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.2', + hwEntityOperStatusDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::HwOperState', + hwEntityStandbyStatus => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.3', + hwEntityStandbyStatusDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::HwStandbyStatus', + hwEntityAlarmLight => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.4', + hwEntityCpuUsage => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.5', + hwEntityCpuUsageThreshold => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.6', + hwEntityMemUsage => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.7', + hwEntityMemUsageThreshold => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.8', + hwEntityMemSize => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.9', + hwEntityUpTime => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.10', + hwEntityTemperature => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.11', + hwEntityTemperatureThreshold => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.12', + hwEntityVoltage => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.13', + hwEntityVoltageLowThreshold => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.14', + hwEntityVoltageHighThreshold => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.15', + hwEntityTemperatureLowThreshold => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.16', + hwEntityOpticalPower => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.17', + hwEntityCurrent => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.18', + hwEntityMemSizeMega => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.19', + hwEntityPortType => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.20', + hwEntityPortTypeDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityPortType', + hwEntityDuplex => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.21', + hwEntityDuplexDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityDuplex', + hwEntityOpticalPowerRx => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.22', + hwEntityCpuUsageLowThreshold => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.23', + hwEntityBoardPower => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.24', + hwEntityCpuFrequency => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.25', + hwEntitySupportFlexCard => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.26', + hwEntitySupportFlexCardDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntitySupportFlexCard', + hwEntityBoardClass => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.27', + hwEntityBoardClassDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityBoardClass', + hwNseOpmStatus => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.28', + hwEntityCpuMaxUsage => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.29', + hwEntityCPUType => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.30', + hwEntityMemoryType => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.31', + hwEntityFlashSize => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.32', + hwEntityIfUpTimes => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.33', + hwEntityIfDownTimes => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.34', + hwEntityCPUAvgUsage => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.35', + hwEntityMemoryAvgUsage => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.36', + hwEntityMemUsed => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.37', + hwEntityTotalFanNum => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.38', + hwEntityNomalFanNum => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.39', + hwEntityTotalPwrNum => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.40', + hwEntityNomalPwrNum => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.41', + hwEntityFaultLight => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.42', + hwEntityFaultLightDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityFaultLight', + hwEntityBoardName => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.43', + hwEntityBoardDescription => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.44', + hwEntity5MinCpuUsage => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.45', + hwEntityStartMode => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.46', + hwEntityStartModeDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityStartMode', + hwEntitySplitAttribute => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.47', + hwEntityFaultLightKeepTime => '1.3.6.1.4.1.2011.5.25.31.1.1.1.1.48', + hwRUModuleInfoTable => '1.3.6.1.4.1.2011.5.25.31.1.1.2', + hwRUModuleInfoEntry => '1.3.6.1.4.1.2011.5.25.31.1.1.2.1', + hwEntityBomId => '1.3.6.1.4.1.2011.5.25.31.1.1.2.1.1', + hwEntityBomEnDesc => '1.3.6.1.4.1.2011.5.25.31.1.1.2.1.2', + hwEntityBomLocalDesc => '1.3.6.1.4.1.2011.5.25.31.1.1.2.1.3', + hwEntityManufacturedDate => '1.3.6.1.4.1.2011.5.25.31.1.1.2.1.4', + hwEntityManufactureCode => '1.3.6.1.4.1.2011.5.25.31.1.1.2.1.5', + hwEntityCLEICode => '1.3.6.1.4.1.2011.5.25.31.1.1.2.1.6', + hwEntityUpdateLog => '1.3.6.1.4.1.2011.5.25.31.1.1.2.1.7', + hwEntityArchivesInfoVersion => '1.3.6.1.4.1.2011.5.25.31.1.1.2.1.8', + hwEntityOpenBomId => '1.3.6.1.4.1.2011.5.25.31.1.1.2.1.9', + hwEntityIssueNum => '1.3.6.1.4.1.2011.5.25.31.1.1.2.1.10', + hwEntityBoardType => '1.3.6.1.4.1.2011.5.25.31.1.1.2.1.11', + hwOpticalModuleInfoTable => '1.3.6.1.4.1.2011.5.25.31.1.1.3', + hwOpticalModuleInfoEntry => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1', + hwEntityOpticalMode => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.1', + hwEntityOpticalModeDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityOpticalMode', + hwEntityOpticalWaveLength => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.2', + hwEntityOpticalTransDistance => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.3', + hwEntityOpticalVendorSn => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.4', + hwEntityOpticalTemperature => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.5', + hwEntityOpticalVoltage => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.6', + hwEntityOpticalBiasCurrent => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.7', + hwEntityOpticalRxPower => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.8', + hwEntityOpticalTxPower => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.9', + hwEntityOpticalType => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.10', + hwEntityOpticalTypeDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityOpticalType', + hwEntityOpticalTransBW => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.11', + hwEntityOpticalFiberType => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.12', + hwEntityOpticalFiberTypeDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityOpticalFiberType', + hwEntityOpticalRxLowThreshold => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.13', + hwEntityOpticalRxHighThreshold => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.14', + hwEntityOpticalTxLowThreshold => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.15', + hwEntityOpticalTxHighThreshold => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.16', + hwEntityOpticalPlug => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.17', + hwEntityOpticalPlugDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityOpticalPlug', + hwEntityOpticalDirectionType => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.18', + hwEntityOpticalDirectionTypeDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityOpticalDirectionType', + hwEntityOpticalUserEeprom => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.19', + hwEntityOpticalRxLowWarnThreshold => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.20', + hwEntityOpticalRxHighWarnThreshold => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.21', + hwEntityOpticalTxLowWarnThreshold => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.22', + hwEntityOpticalTxHighWarnThreshold => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.23', + hwEntityOpticalVenderName => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.24', + hwEntityOpticalVenderPn => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.25', + hwEntityOpticalAuthenticationStatus => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.26', + hwEntityOpticalAuthenticationStatusDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityOpticalAuthenticationStatus', + hwEntityOpticalTunableType => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.27', + hwEntityOpticalTunableTypeDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityOpticalTunableType', + hwEntityOpticalWaveLengthDecimal => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.28', + hwEntityOpticalTunableModuleChannel => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.29', + hwEntityOpticalWaveBand => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.30', + hwEntityOpticalWaveBandDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityOpticalWaveBand', + hwEntityOpticalLaneBiasCurrent => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.31', + hwEntityOpticalLaneRxPower => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.32', + hwEntityOpticalLaneTxPower => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.33', + hwEntityOpticalVendorOUI => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.34', + hwEntityOpticalVendorRev => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.35', + hwEntityOpticalGponSN => '1.3.6.1.4.1.2011.5.25.31.1.1.3.1.36', + hwMonitorInputTable => '1.3.6.1.4.1.2011.5.25.31.1.1.4', + hwMonitorInputEntry => '1.3.6.1.4.1.2011.5.25.31.1.1.4.1', + hwMonitorInputIndex => '1.3.6.1.4.1.2011.5.25.31.1.1.4.1.1', + hwMonitorInputName => '1.3.6.1.4.1.2011.5.25.31.1.1.4.1.2', + hwMonitorInputState => '1.3.6.1.4.1.2011.5.25.31.1.1.4.1.3', + hwMonitorInputStateEnable => '1.3.6.1.4.1.2011.5.25.31.1.1.4.1.4', + hwMonitorInputRowStatus => '1.3.6.1.4.1.2011.5.25.31.1.1.4.1.5', + hwMonitorOutputTable => '1.3.6.1.4.1.2011.5.25.31.1.1.5', + hwMonitorOutputEntry => '1.3.6.1.4.1.2011.5.25.31.1.1.5.1', + hwMonitorOutputIndex => '1.3.6.1.4.1.2011.5.25.31.1.1.5.1.1', + hwMonitorOutputRuleIndex => '1.3.6.1.4.1.2011.5.25.31.1.1.5.1.2', + hwMonitorOutputMask => '1.3.6.1.4.1.2011.5.25.31.1.1.5.1.3', + hwMonitorOutputKey => '1.3.6.1.4.1.2011.5.25.31.1.1.5.1.4', + hwMonitorOutputRowStatus => '1.3.6.1.4.1.2011.5.25.31.1.1.5.1.5', + hwEntPowerUsedInfoTable => '1.3.6.1.4.1.2011.5.25.31.1.1.6', + hwEntPowerUsedInfoEntry => '1.3.6.1.4.1.2011.5.25.31.1.1.6.1', + hwEntPowerUsedInfoBoardName => '1.3.6.1.4.1.2011.5.25.31.1.1.6.1.1', + hwEntPowerUsedInfoBoardType => '1.3.6.1.4.1.2011.5.25.31.1.1.6.1.2', + hwEntPowerUsedInfoBoardSlot => '1.3.6.1.4.1.2011.5.25.31.1.1.6.1.3', + hwEntPowerUsedInfoPower => '1.3.6.1.4.1.2011.5.25.31.1.1.6.1.4', + hwVirtualCableTestTable => '1.3.6.1.4.1.2011.5.25.31.1.1.7', + hwVirtualCableTestEntry => '1.3.6.1.4.1.2011.5.25.31.1.1.7.1', + hwVirtualCableTestIfIndex => '1.3.6.1.4.1.2011.5.25.31.1.1.7.1.1', + hwVirtualCableTestPairStatus => '1.3.6.1.4.1.2011.5.25.31.1.1.7.1.2', + hwVirtualCableTestPairStatusDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwVirtualCableTestPairStatus', + hwVirtualCableTestPairLength => '1.3.6.1.4.1.2011.5.25.31.1.1.7.1.3', + hwVirtualCableTestOperation => '1.3.6.1.4.1.2011.5.25.31.1.1.7.1.4', + hwVirtualCableTestOperationDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwVirtualCableTestOperation', + hwVirtualCableTestLastTime => '1.3.6.1.4.1.2011.5.25.31.1.1.7.1.5', + hwVirtualCableTestPairAStatus => '1.3.6.1.4.1.2011.5.25.31.1.1.7.1.6', + hwVirtualCableTestPairAStatusDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwVirtualCableTestPairAStatus', + hwVirtualCableTestPairBStatus => '1.3.6.1.4.1.2011.5.25.31.1.1.7.1.7', + hwVirtualCableTestPairBStatusDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwVirtualCableTestPairBStatus', + hwVirtualCableTestPairCStatus => '1.3.6.1.4.1.2011.5.25.31.1.1.7.1.8', + hwVirtualCableTestPairCStatusDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwVirtualCableTestPairCStatus', + hwVirtualCableTestPairDStatus => '1.3.6.1.4.1.2011.5.25.31.1.1.7.1.9', + hwVirtualCableTestPairDStatusDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwVirtualCableTestPairDStatus', + hwVirtualCableTestPairALength => '1.3.6.1.4.1.2011.5.25.31.1.1.7.1.10', + hwVirtualCableTestPairBLength => '1.3.6.1.4.1.2011.5.25.31.1.1.7.1.11', + hwVirtualCableTestPairCLength => '1.3.6.1.4.1.2011.5.25.31.1.1.7.1.12', + hwVirtualCableTestPairDLength => '1.3.6.1.4.1.2011.5.25.31.1.1.7.1.13', + hwTemperatureThresholdTable => '1.3.6.1.4.1.2011.5.25.31.1.1.8', + hwTemperatureThresholdEntry => '1.3.6.1.4.1.2011.5.25.31.1.1.8.1', + hwEntityTempSlotId => '1.3.6.1.4.1.2011.5.25.31.1.1.8.1.1', + hwEntityTempI2CId => '1.3.6.1.4.1.2011.5.25.31.1.1.8.1.2', + hwEntityTempAddr => '1.3.6.1.4.1.2011.5.25.31.1.1.8.1.3', + hwEntityTempChannel => '1.3.6.1.4.1.2011.5.25.31.1.1.8.1.4', + hwEntityTempStatus => '1.3.6.1.4.1.2011.5.25.31.1.1.8.1.5', + hwEntityTempStatusDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityTempStatus', + hwEntityTempValue => '1.3.6.1.4.1.2011.5.25.31.1.1.8.1.6', + hwEntityTempMinorAlmThreshold => '1.3.6.1.4.1.2011.5.25.31.1.1.8.1.7', + hwEntityTempMajorAlmThreshold => '1.3.6.1.4.1.2011.5.25.31.1.1.8.1.8', + hwEntityTempFatalAlmThreshold => '1.3.6.1.4.1.2011.5.25.31.1.1.8.1.9', + hwVoltageInfoTable => '1.3.6.1.4.1.2011.5.25.31.1.1.9', + hwVoltageInfoEntry => '1.3.6.1.4.1.2011.5.25.31.1.1.9.1', + hwEntityVolSlot => '1.3.6.1.4.1.2011.5.25.31.1.1.9.1.1', + hwEntityVolI2CId => '1.3.6.1.4.1.2011.5.25.31.1.1.9.1.2', + hwEntityVolAddr => '1.3.6.1.4.1.2011.5.25.31.1.1.9.1.3', + hwEntityVolChannel => '1.3.6.1.4.1.2011.5.25.31.1.1.9.1.4', + hwEntityVolStatus => '1.3.6.1.4.1.2011.5.25.31.1.1.9.1.5', + hwEntityVolStatusDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityVolStatus', + hwEntityVolRequired => '1.3.6.1.4.1.2011.5.25.31.1.1.9.1.6', + hwEntityVolCurValue => '1.3.6.1.4.1.2011.5.25.31.1.1.9.1.7', + hwEntityVolRatio => '1.3.6.1.4.1.2011.5.25.31.1.1.9.1.8', + hwEntityVolLowAlmMajor => '1.3.6.1.4.1.2011.5.25.31.1.1.9.1.9', + hwEntityVolLowAlmFatal => '1.3.6.1.4.1.2011.5.25.31.1.1.9.1.10', + hwEntityVolHighAlmMajor => '1.3.6.1.4.1.2011.5.25.31.1.1.9.1.11', + hwEntityVolHighAlmFatal => '1.3.6.1.4.1.2011.5.25.31.1.1.9.1.12', + hwFanStatusTable => '1.3.6.1.4.1.2011.5.25.31.1.1.10', + hwFanStatusEntry => '1.3.6.1.4.1.2011.5.25.31.1.1.10.1', + hwEntityFanSlot => '1.3.6.1.4.1.2011.5.25.31.1.1.10.1.1', + hwEntityFanSn => '1.3.6.1.4.1.2011.5.25.31.1.1.10.1.2', + hwEntityFanReg => '1.3.6.1.4.1.2011.5.25.31.1.1.10.1.3', + hwEntityFanRegDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityFanReg', + hwEntityFanSpdAdjMode => '1.3.6.1.4.1.2011.5.25.31.1.1.10.1.4', + hwEntityFanSpdAdjModeDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityFanSpdAdjMode', + hwEntityFanSpeed => '1.3.6.1.4.1.2011.5.25.31.1.1.10.1.5', + hwEntityFanPresent => '1.3.6.1.4.1.2011.5.25.31.1.1.10.1.6', + hwEntityFanPresentDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityFanPresent', + hwEntityFanState => '1.3.6.1.4.1.2011.5.25.31.1.1.10.1.7', + hwEntityFanStateDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityFanState', + hwEntityFanDesc => '1.3.6.1.4.1.2011.5.25.31.1.1.10.1.8', + hwEntityGlobalPara => '1.3.6.1.4.1.2011.5.25.31.1.1.11', + hwEntityServiceType => '1.3.6.1.4.1.2011.5.25.31.1.1.11.1', + hwEntityServiceTypeDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityServiceType', + hwDeviceServiceType => '1.3.6.1.4.1.2011.5.25.31.1.1.11.2', + hwEntityManufacturerOUI => '1.3.6.1.4.1.2011.5.25.31.1.1.11.3', + hwPortBip8StatisticsTable => '1.3.6.1.4.1.2011.5.25.31.1.1.12', + hwPortBip8StatisticsEntry => '1.3.6.1.4.1.2011.5.25.31.1.1.12.1', + hwPhysicalPortBip8StatisticsEB => '1.3.6.1.4.1.2011.5.25.31.1.1.12.1.1', + hwPhysicalPortBip8StatisticsES => '1.3.6.1.4.1.2011.5.25.31.1.1.12.1.2', + hwPhysicalPortBip8StatisticsSES => '1.3.6.1.4.1.2011.5.25.31.1.1.12.1.3', + hwPhysicalPortBip8StatisticsUAS => '1.3.6.1.4.1.2011.5.25.31.1.1.12.1.4', + hwPhysicalPortBip8StatisticsBBE => '1.3.6.1.4.1.2011.5.25.31.1.1.12.1.5', + hwPhysicalPortSpeed => '1.3.6.1.4.1.2011.5.25.31.1.1.12.1.6', + hwStorageEntTable => '1.3.6.1.4.1.2011.5.25.31.1.1.13', + hwStorageEntEntry => '1.3.6.1.4.1.2011.5.25.31.1.1.13.1', + hwStorageEntIndex => '1.3.6.1.4.1.2011.5.25.31.1.1.13.1.1', + hwStorageEntType => '1.3.6.1.4.1.2011.5.25.31.1.1.13.1.2', + hwStorageEntSpace => '1.3.6.1.4.1.2011.5.25.31.1.1.13.1.3', + hwStorageEntSpaceFree => '1.3.6.1.4.1.2011.5.25.31.1.1.13.1.4', + hwStorageEntName => '1.3.6.1.4.1.2011.5.25.31.1.1.13.1.5', + hwStorageEntDescr => '1.3.6.1.4.1.2011.5.25.31.1.1.13.1.6', + hwSystemPowerTable => '1.3.6.1.4.1.2011.5.25.31.1.1.14', + hwSystemPowerEntry => '1.3.6.1.4.1.2011.5.25.31.1.1.14.1', + hwSystemPowerDeviceID => '1.3.6.1.4.1.2011.5.25.31.1.1.14.1.1', + hwSystemPowerTotalPower => '1.3.6.1.4.1.2011.5.25.31.1.1.14.1.2', + hwSystemPowerUsedPower => '1.3.6.1.4.1.2011.5.25.31.1.1.14.1.3', + hwSystemPowerRemainPower => '1.3.6.1.4.1.2011.5.25.31.1.1.14.1.4', + hwSystemPowerReservedPower => '1.3.6.1.4.1.2011.5.25.31.1.1.14.1.5', + hwBatteryInfoTable => '1.3.6.1.4.1.2011.5.25.31.1.1.15', + hwBatteryInfoEntry => '1.3.6.1.4.1.2011.5.25.31.1.1.15.1', + hwBatteryState => '1.3.6.1.4.1.2011.5.25.31.1.1.15.1.1', + hwBatteryStateDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwBatteryState', + hwBatteryTemperatureLow => '1.3.6.1.4.1.2011.5.25.31.1.1.15.1.2', + hwBatteryTemperatureHigh => '1.3.6.1.4.1.2011.5.25.31.1.1.15.1.3', + hwBatteryRemainPercent => '1.3.6.1.4.1.2011.5.25.31.1.1.15.1.4', + hwBatteryRemainTime => '1.3.6.1.4.1.2011.5.25.31.1.1.15.1.5', + hwBatteryElecTimes => '1.3.6.1.4.1.2011.5.25.31.1.1.15.1.6', + hwBatteryLifeThreshold => '1.3.6.1.4.1.2011.5.25.31.1.1.15.1.7', + hwGPSLocationInfo => '1.3.6.1.4.1.2011.5.25.31.1.1.16', + hwGPSLongitude => '1.3.6.1.4.1.2011.5.25.31.1.1.16.1', + hwGPSLatitude => '1.3.6.1.4.1.2011.5.25.31.1.1.16.2', + hwGPSVelocity => '1.3.6.1.4.1.2011.5.25.31.1.1.16.3', + hwAdmPortTable => '1.3.6.1.4.1.2011.5.25.31.1.1.17', + hwAdmPortEntry => '1.3.6.1.4.1.2011.5.25.31.1.1.17.1', + hwAdmPortDescription => '1.3.6.1.4.1.2011.5.25.31.1.1.17.1.1', + hwPwrStatusTable => '1.3.6.1.4.1.2011.5.25.31.1.1.18', + hwPwrStatusEntry => '1.3.6.1.4.1.2011.5.25.31.1.1.18.1', + hwEntityPwrSlot => '1.3.6.1.4.1.2011.5.25.31.1.1.18.1.1', + hwEntityPwrSn => '1.3.6.1.4.1.2011.5.25.31.1.1.18.1.2', + hwEntityPwrReg => '1.3.6.1.4.1.2011.5.25.31.1.1.18.1.3', + hwEntityPwrRegDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityPwrReg', + hwEntityPwrMode => '1.3.6.1.4.1.2011.5.25.31.1.1.18.1.4', + hwEntityPwrModeDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityPwrMode', + hwEntityPwrPresent => '1.3.6.1.4.1.2011.5.25.31.1.1.18.1.5', + hwEntityPwrPresentDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityPwrPresent', + hwEntityPwrState => '1.3.6.1.4.1.2011.5.25.31.1.1.18.1.6', + hwEntityPwrStateDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityPwrState', + hwEntityPwrCurrent => '1.3.6.1.4.1.2011.5.25.31.1.1.18.1.7', + hwEntityPwrVoltage => '1.3.6.1.4.1.2011.5.25.31.1.1.18.1.8', + hwEntityPwrDesc => '1.3.6.1.4.1.2011.5.25.31.1.1.18.1.9', + hwEntityPhysicalSpecTable => '1.3.6.1.4.1.2011.5.25.31.1.2', + hwEntityPhysicalSpecRack => '1.3.6.1.4.1.2011.5.25.31.1.2.1', + hwEntityPhysicalSpecFrame => '1.3.6.1.4.1.2011.5.25.31.1.2.2', + hwEntityPhysicalSpecSlot => '1.3.6.1.4.1.2011.5.25.31.1.2.3', + hwEntityPhysicalSpecBoard => '1.3.6.1.4.1.2011.5.25.31.1.2.4', + hwEntityPhysicalSpecSubSlot => '1.3.6.1.4.1.2011.5.25.31.1.2.5', + hwEntityPhysicalSpecSubBoard => '1.3.6.1.4.1.2011.5.25.31.1.2.6', + hwEntityPhysicalSpecPort => '1.3.6.1.4.1.2011.5.25.31.1.2.7', + hwEntityPhysicalSpecEmu => '1.3.6.1.4.1.2011.5.25.31.1.2.8', + hwEntityPhysicalSpecPowerframe => '1.3.6.1.4.1.2011.5.25.31.1.2.9', + hwEntityPhysicalSpecPowermodule => '1.3.6.1.4.1.2011.5.25.31.1.2.10', + hwEntityPhysicalSpecBattery => '1.3.6.1.4.1.2011.5.25.31.1.2.11', + hwEntityExtTraps => '1.3.6.1.4.1.2011.5.25.31.2', + hwEntityExtTrapsPrefix => '1.3.6.1.4.1.2011.5.25.31.2.0', + hwEntityExtTrapObject => '1.3.6.1.4.1.2011.5.25.31.2.1', + hwEntityExtTrapBaseSoftwareVersion => '1.3.6.1.4.1.2011.5.25.31.2.1.1', + hwEntityExtTrapBoardSoftwareVersion => '1.3.6.1.4.1.2011.5.25.31.2.1.2', + hwPhysicalName => '1.3.6.1.4.1.2011.5.25.31.2.1.3', + hwEntityExtTrap => '1.3.6.1.4.1.2011.5.25.31.2.2', + hwDevicePowerInfoObjects => '1.3.6.1.4.1.2011.5.25.31.3', + hwDevicePowerInfoTotalPower => '1.3.6.1.4.1.2011.5.25.31.3.1', + hwDevicePowerInfoUsedPower => '1.3.6.1.4.1.2011.5.25.31.3.2', + hwEntityExtConformance => '1.3.6.1.4.1.2011.5.25.31.4', + hwEntityExtCompliances => '1.3.6.1.4.1.2011.5.25.31.4.1', + hwEntityExtGroups => '1.3.6.1.4.1.2011.5.25.31.4.2', + hwPnpObjects => '1.3.6.1.4.1.2011.5.25.31.5', + hwPnpInfo => '1.3.6.1.4.1.2011.5.25.31.5.1', + hwHardwareCapaSequenceNo => '1.3.6.1.4.1.2011.5.25.31.5.1.1', + hwAlarmPnPSequenceNo => '1.3.6.1.4.1.2011.5.25.31.5.1.2', + hwPnpTraps => '1.3.6.1.4.1.2011.5.25.31.5.2', + hwPnpOperateTable => '1.3.6.1.4.1.2011.5.25.31.5.3', + hwPnpOperateEntry => '1.3.6.1.4.1.2011.5.25.31.5.3.1', + hwFileGeneIndex => '1.3.6.1.4.1.2011.5.25.31.5.3.1.1', + hwFileGeneOperState => '1.3.6.1.4.1.2011.5.25.31.5.3.1.2', + hwFileGeneOperStateDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwFileGeneOperState', + hwFileGeneResourceType => '1.3.6.1.4.1.2011.5.25.31.5.3.1.3', + hwFileGeneResourceTypeDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwFileGeneResourceType', + hwFileGeneResourceID => '1.3.6.1.4.1.2011.5.25.31.5.3.1.4', + hwFileGeneDestinationFile => '1.3.6.1.4.1.2011.5.25.31.5.3.1.5', + hwFileGeneRowStatus => '1.3.6.1.4.1.2011.5.25.31.5.3.1.6', + hwSystemGlobalObjects => '1.3.6.1.4.1.2011.5.25.31.6', + hwEntitySystemNetID => '1.3.6.1.4.1.2011.5.25.31.6.1', + hwEntitySoftwareName => '1.3.6.1.4.1.2011.5.25.31.6.2', + hwEntitySoftwareVersion => '1.3.6.1.4.1.2011.5.25.31.6.3', + hwEntitySoftwareVendor => '1.3.6.1.4.1.2011.5.25.31.6.4', + hwEntitySystemModel => '1.3.6.1.4.1.2011.5.25.31.6.5', + hwEntitySystemTime => '1.3.6.1.4.1.2011.5.25.31.6.6', + hwEntitySystemMacAddress => '1.3.6.1.4.1.2011.5.25.31.6.7', + hwEntitySystemReset => '1.3.6.1.4.1.2011.5.25.31.6.8', + hwEntitySystemResetDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntitySystemReset', + hwEntitySystemHealthInterval => '1.3.6.1.4.1.2011.5.25.31.6.9', + hwEntitySystemNEId => '1.3.6.1.4.1.2011.5.25.31.6.10', + hwEntitySystemServiceType => '1.3.6.1.4.1.2011.5.25.31.6.11', + hwHeartbeatObjects => '1.3.6.1.4.1.2011.5.25.31.7', + hwHeartbeatConfig => '1.3.6.1.4.1.2011.5.25.31.7.1', + hwEntityHeartbeatOnOff => '1.3.6.1.4.1.2011.5.25.31.7.1.1', + hwEntityHeartbeatOnOffDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityHeartbeatOnOff', + hwEntityHeartbeatPeriod => '1.3.6.1.4.1.2011.5.25.31.7.1.2', + hwHeartbeatTrapPrefix => '1.3.6.1.4.1.2011.5.25.31.7.2', + hwPreDisposeObjects => '1.3.6.1.4.1.2011.5.25.31.8', + hwPreDisposeInfo => '1.3.6.1.4.1.2011.5.25.31.8.1', + hwPreDisposeSequenceNo => '1.3.6.1.4.1.2011.5.25.31.8.1.1', + hwPreDisposedTraps => '1.3.6.1.4.1.2011.5.25.31.8.2', + hwPreDisposeConfigTable => '1.3.6.1.4.1.2011.5.25.31.8.3', + hwPreDisposeConfigEntry => '1.3.6.1.4.1.2011.5.25.31.8.3.1', + hwDisposeSlot => '1.3.6.1.4.1.2011.5.25.31.8.3.1.1', + hwDisposeCardId => '1.3.6.1.4.1.2011.5.25.31.8.3.1.2', + hwDisposeSbom => '1.3.6.1.4.1.2011.5.25.31.8.3.1.3', + hwDisposeRowStatus => '1.3.6.1.4.1.2011.5.25.31.8.3.1.4', + hwDisposeOperState => '1.3.6.1.4.1.2011.5.25.31.8.3.1.5', + hwDisposeOperStateDefinition => 'HUAWEI-ENTITY-EXTENT-MIB::hwDisposeOperState', + hwPreDisposeEntInfoTable => '1.3.6.1.4.1.2011.5.25.31.8.4', + hwPreDisposeEntInfoEntry => '1.3.6.1.4.1.2011.5.25.31.8.4.1', + hwDisposeEntPhysicalIndex => '1.3.6.1.4.1.2011.5.25.31.8.4.1.1', + hwDisposeEntPhysicalDescr => '1.3.6.1.4.1.2011.5.25.31.8.4.1.2', + hwDisposeEntPhysicalVendorType => '1.3.6.1.4.1.2011.5.25.31.8.4.1.3', + hwDisposeEntPhysicalContainedIn => '1.3.6.1.4.1.2011.5.25.31.8.4.1.4', + hwDisposeEntPhysicalClass => '1.3.6.1.4.1.2011.5.25.31.8.4.1.5', + hwDisposeEntPhysicalParentRelPos => '1.3.6.1.4.1.2011.5.25.31.8.4.1.6', + hwDisposeEntPhysicalName => '1.3.6.1.4.1.2011.5.25.31.8.4.1.7', + hwOSPUnifyManageObjects => '1.3.6.1.4.1.2011.5.25.31.9', + hwEntityExtOSPTrapsPrefix => '1.3.6.1.4.1.2011.5.25.31.9.1', +}; + +$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'HUAWEI-ENTITY-EXTENT-MIB'} = { + HwAdminState => { + '1' => 'notSupported', + '2' => 'locked', + '3' => 'shuttingDown', + '4' => 'unlocked', + '11' => 'up', + '12' => 'down', + '13' => 'loopback', + }, + HwOperState => { + '1' => 'notSupported', + '2' => 'disabled', + '3' => 'enabled', + '4' => 'offline', + '11' => 'up', + '12' => 'down', + '13' => 'connect', + '15' => 'protocolUp', + '16' => 'linkUp', + '17' => 'linkDown', + }, + HwStandbyStatus => { + '1' => 'notSupported', + '2' => 'hotStandby', + '3' => 'coldStandby', + '4' => 'providingService', + }, + hwEntitySupportFlexCard => { + '1' => 'notSupported', + '2' => 'flexible', + '3' => 'unflexible', + '4' => 'dummy', + }, + hwEntityDuplex => { + '1' => 'notSupported', + '2' => 'full', + '3' => 'half', + }, + hwEntityVolStatus => { + '1' => 'normal', + '2' => 'major', + '3' => 'fatal', + }, + hwDisposeOperState => { + '1' => 'opSuccess', + '2' => 'opInProgress', + '3' => 'opDevNotSupportPredispose', + '4' => 'opCardNotSupportPredispose', + '5' => 'opAlreadyPredispose', + '6' => 'opCardConflict', + '7' => 'opDevOperationError', + }, + hwEntityFanReg => { + '1' => 'yes', + '2' => 'no', + }, + hwVirtualCableTestPairAStatus => { + '1' => 'normal', + '2' => 'abnormalOpen', + '3' => 'abnormalShort', + '4' => 'abnormalOpenShort', + '5' => 'abnormalCrossTalk', + '6' => 'unknown', + '7' => 'notSupport', + }, + hwFileGeneResourceType => { + '1' => 'pnpcard', + '2' => 'pnpsubcard', + '3' => 'pnphardcapability', + '4' => 'pnpPreDisposeCapability', + '5' => 'pnpframe', + '6' => 'pnpdevtype', + '7' => 'pnpalarm', + }, + hwEntityOpticalDirectionType => { + '1' => 'notSupported', + '2' => 'twoFiberBidirection', + '3' => 'oneFiberBidirection', + '4' => 'twoFiberTwoPortBidirection', + }, + hwEntityPortType => { + '1' => 'notSupported', + '2' => 'copper', + '3' => 'fiber100', + '4' => 'fiber1000', + '5' => 'fiber10000', + '6' => 'opticalnotExist', + '7' => 'optical', + }, + hwEntityTempStatus => { + '1' => 'normal', + '2' => 'minor', + '3' => 'major', + '4' => 'fatal', + }, + hwEntityOpticalFiberType => { + '0' => 'unknown', + '1' => 'sc', + '2' => 'style1CopperConnector', + '3' => 'style2CopperConnector', + '4' => 'bncTnc', + '5' => 'coaxialHeaders', + '6' => 'fiberJack', + '7' => 'lc', + '8' => 'mtRj', + '9' => 'mu', + '10' => 'sg', + '11' => 'opticalPigtail', + '12' => 'mpo', + '20' => 'hssdcII', + '21' => 'copperPigtail', + }, + hwEntityPwrState => { + '1' => 'supply', + '2' => 'notSupply', + '3' => 'sleep', + '4' => 'unknown', + }, + hwEntityPwrPresent => { + '1' => 'present', + '2' => 'absent', + }, + hwVirtualCableTestOperation => { + '1' => 'startTest', + '2' => 'resetTestValue', + '3' => 'readyStartTest', + }, + hwEntityStartMode => { + '1' => 'notSupported', + '2' => 'cold', + '3' => 'warm', + '4' => 'unknown', + }, + hwFileGeneOperState => { + '1' => 'opInProgress', + '2' => 'opSuccess', + '3' => 'opGetFileError', + '4' => 'opInvalidDestName', + '5' => 'opNoFlashSpace', + '6' => 'opWriteFileError', + '7' => 'opDestoryError', + }, + hwEntityPwrMode => { + '1' => 'unknown', + '2' => 'dc', + '3' => 'ac', + }, + hwEntityOpticalPlug => { + '0' => 'notSupported', + '1' => 'true', + '2' => 'false', + }, + hwEntityFanState => { + '1' => 'normal', + '2' => 'abnormal', + }, + hwEntityBoardClass => { + '1' => 'notSupported', + '2' => 'mpu', + '3' => 'lpu', + '4' => 'sfu', + '5' => 'icu', + '6' => 'ecu', + '7' => 'fan', + '8' => 'power', + '9' => 'lcd', + '10' => 'pmu', + '11' => 'cmu', + }, + hwVirtualCableTestPairCStatus => { + '1' => 'normal', + '2' => 'abnormalOpen', + '3' => 'abnormalShort', + '4' => 'abnormalOpenShort', + '5' => 'abnormalCrossTalk', + '6' => 'unknown', + '7' => 'notSupport', + }, + hwEntityPwrReg => { + '1' => 'yes', + '2' => 'no', + }, + hwEntityFaultLight => { + '1' => 'notSupported', + '2' => 'normal', + '3' => 'underRepair', + }, + hwEntityFanPresent => { + '1' => 'present', + '2' => 'absent', + }, + hwEntityFanSpdAdjMode => { + '1' => 'auto', + '2' => 'manual', + '3' => 'unknown', + }, + hwVirtualCableTestPairBStatus => { + '1' => 'normal', + '2' => 'abnormalOpen', + '3' => 'abnormalShort', + '4' => 'abnormalOpenShort', + '5' => 'abnormalCrossTalk', + '6' => 'unknown', + '7' => 'notSupport', + }, + hwEntitySystemReset => { + '1' => 'normal', + '2' => 'restart', + }, + hwEntityOpticalAuthenticationStatus => { + '0' => 'unknown', + '1' => 'authenticated', + '2' => 'unauthenticated', + }, + hwEntityOpticalWaveBand => { + '0' => 'unknown', + '1' => 'clBand', + '2' => 'cBand', + '3' => 'lBand', + '4' => 'c32Band', + '5' => 'ramancBand', + '6' => 'ramanlBand', + '7' => 'cwdmBand', + '8' => 'smcBand', + '9' => 'c96bBand', + '10' => 'c192bBand', + }, + hwEntityOpticalMode => { + '1' => 'notSupported', + '2' => 'singleMode', + '3' => 'multiMode5', + '4' => 'multiMode6', + '5' => 'noValue', + }, + hwVirtualCableTestPairStatus => { + '1' => 'normal', + '2' => 'abnormalOpen', + '3' => 'abnormalShort', + '4' => 'abnormalOpenShort', + '5' => 'abnormalCrossTalk', + '6' => 'unknown', + '7' => 'notSupport', + }, + hwBatteryState => { + '1' => 'charge', + '2' => 'discharge', + '3' => 'full', + '4' => 'abnormal', + }, + hwEntityServiceType => { + '1' => 'sslvpn', + '2' => 'firewall', + '3' => 'loadBalance', + '4' => 'ipsec', + '5' => 'netstream', + '6' => 'wlan', + }, + hwEntityOpticalType => { + '0' => 'unknown', + '1' => 'sc', + '2' => 'gbic', + '3' => 'sfp', + '4' => 'esfp', + '5' => 'rj45', + '6' => 'xfp', + '7' => 'xenpak', + '8' => 'transponder', + '9' => 'cfp', + '10' => 'smb', + '11' => 'sfpplus', + '12' => 'cxp', + '13' => 'qsfp', + '14' => 'qsfpplus', + '15' => 'cfp2', + '16' => 'dwdmsfp', + }, + hwVirtualCableTestPairDStatus => { + '1' => 'normal', + '2' => 'abnormalOpen', + '3' => 'abnormalShort', + '4' => 'abnormalOpenShort', + '5' => 'abnormalCrossTalk', + '6' => 'unknown', + '7' => 'notSupport', + }, + hwEntityHeartbeatOnOff => { + '1' => 'on', + '2' => 'off', + }, + hwEntityOpticalTunableType => { + '1' => 'notSupported', + '2' => 'notTunable', + '3' => 'tunable', + '4' => 'supportTunableType', + }, +}; + +1; + +__END__ diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IANAIFTYPEMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IANAIFTYPEMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IANAIFTYPEMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IANAIFTYPEMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IANARTPROTOMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IANARTPROTOMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IANARTPROTOMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IANARTPROTOMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IEEE8023LAGMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IEEE8023LAGMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IEEE8023LAGMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IEEE8023LAGMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IFMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IFMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IFMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IFMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/INETADDRESSMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/INETADDRESSMIB.pm similarity index 96% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/INETADDRESSMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/INETADDRESSMIB.pm index 7ad2580..7816bd7 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/INETADDRESSMIB.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/INETADDRESSMIB.pm @@ -50,8 +50,6 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'INET-ADDRESS-MIB'} = { return Monitoring::GLPlugin::SNMP::TableItem->new()->unhex_ipv6($addr); } elsif ($addrtype && $addrtype eq "ipv4") { return Monitoring::GLPlugin::SNMP::TableItem->new()->unhex_ip($addr); - } elsif ($addrtype && $addrtype eq "dns") { - return $addr; } else { return "unsupported_address_format: ".$addrtype; } diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IPFORWARDMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IPFORWARDMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IPFORWARDMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IPFORWARDMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IPMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IPMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IPMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IPMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERALARMMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERALARMMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERALARMMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERALARMMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERIVEMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERIVEMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERIVEMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERIVEMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERRPSMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERRPSMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERRPSMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERRPSMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERSRX5000SPUMONITORINGMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERSRX5000SPUMONITORINGMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERSRX5000SPUMONITORINGMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERSRX5000SPUMONITORINGMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNOSBGP4V2MIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNOSBGP4V2MIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNOSBGP4V2MIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNOSBGP4V2MIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LARAMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LARAMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LARAMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LARAMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LCOSMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LCOSMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LCOSMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LCOSMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LMSENSORSMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LMSENSORSMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LMSENSORSMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LMSENSORSMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LOADBALSYSTEMMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LOADBALSYSTEMMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LOADBALSYSTEMMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LOADBALSYSTEMMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MIB2MIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MIB2MIB.pm similarity index 97% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MIB2MIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MIB2MIB.pm index 1cdd37b..4a4c47e 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MIB2MIB.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MIB2MIB.pm @@ -77,11 +77,6 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'MIB-2-MIB'} = { $dirutc, $hoursutc, $minutesutc) = unpack "C*", pack "H*", $value; $minutesutc ||= 0; $dirutc = ($dirutc == 43) ? "+" : ($dirutc == 45) ? "-" : "+"; - if ($value eq "000000000000000000") { - $day = 1; - $month = 1; - $year = 1970; - } } else { ($month, $day, $hour, $minute, $second, $dseconds) = unpack "C*", pack "H*", $value; $second ||= 0; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MINIIFMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MINIIFMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MINIIFMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MINIIFMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETGEARMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETGEARMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETGEARMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETGEARMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENCHASSISMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENCHASSISMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENCHASSISMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENCHASSISMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENNSRPMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENNSRPMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENNSRPMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENNSRPMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENPRODUCTSMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENPRODUCTSMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENPRODUCTSMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENPRODUCTSMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENRESOURCEMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENRESOURCEMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENRESOURCEMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENRESOURCEMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSWITCHMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSWITCHMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSWITCHMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSWITCHMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDCISCOCPUMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDCISCOCPUMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDCISCOCPUMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDCISCOCPUMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDCISCOINTERFACESMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDCISCOINTERFACESMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDCISCOINTERFACESMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDCISCOINTERFACESMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDNETSWITCHMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDNETSWITCHMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDNETSWITCHMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDNETSWITCHMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDSTATISTICSMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDSTATISTICSMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDSTATISTICSMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDSTATISTICSMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ONEACCESSSYSMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ONEACCESSSYSMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ONEACCESSSYSMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ONEACCESSSYSMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDCARPMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDCARPMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDCARPMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDCARPMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDMEMMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDMEMMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDMEMMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDMEMMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDPFMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDPFMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDPFMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDPFMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDSENSORSMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDSENSORSMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDSENSORSMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDSENSORSMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OSPFMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OSPFMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OSPFMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OSPFMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OSPFV3MIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OSPFV3MIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OSPFV3MIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OSPFV3MIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PANCOMMONMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PANCOMMONMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PANCOMMONMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PANCOMMONMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PANPRODUCTSMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PANPRODUCTSMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PANPRODUCTSMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PANPRODUCTSMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PHIONMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PHIONMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PHIONMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PHIONMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PROXYMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PROXYMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PROXYMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PROXYMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RAPIDCITYMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RAPIDCITYMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RAPIDCITYMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RAPIDCITYMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RESOURCEMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RESOURCEMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RESOURCEMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RESOURCEMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RMONMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RMONMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RMONMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RMONMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/S5CHASSISMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/S5CHASSISMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/S5CHASSISMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/S5CHASSISMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SENSORMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SENSORMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SENSORMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SENSORMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SNMPFRAMEWORKMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SNMPFRAMEWORKMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SNMPFRAMEWORKMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SNMPFRAMEWORKMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SNMPV2TCV1MIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SNMPV2TCV1MIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SNMPV2TCV1MIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SNMPV2TCV1MIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STATISTICSMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STATISTICSMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STATISTICSMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STATISTICSMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STEELHEADEXMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STEELHEADEXMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STEELHEADEXMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STEELHEADEXMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STEELHEADMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STEELHEADMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STEELHEADMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STEELHEADMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SWMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SWMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SWMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SWMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SYNOPTICSROOTMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SYNOPTICSROOTMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SYNOPTICSROOTMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SYNOPTICSROOTMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SYSTEMRESOURCESMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SYSTEMRESOURCESMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SYSTEMRESOURCESMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SYSTEMRESOURCESMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UCDDISKIOMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UCDDISKIOMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UCDDISKIOMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UCDDISKIOMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UCDSNMPMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UCDSNMPMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UCDSNMPMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UCDSNMPMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/USAGEMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/USAGEMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/USAGEMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/USAGEMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VRRPMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VRRPMIB.pm new file mode 100644 index 0000000..ddbdbf3 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VRRPMIB.pm @@ -0,0 +1,106 @@ +package Monitoring::GLPlugin::SNMP::MibsAndOids::VRRPMIB; + +$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'VRRP-MIB'} = { + url => 'ftp://ftp.cisco.com/pub/mibs/v2/VRRP-MIB.my', + name => 'VRRP-MIB' +}; + +$Monitoring::GLPlugin::SNMP::MibsAndOids::requirements->{'VRRP-MIB'} = [ + 'SNMPv2-TC-v1-MIB', +]; + +$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'VRRP-MIB'} = { + vrrpMIB => '.1.3.6.1.2.1.68', + vrrpNotifications => '.1.3.6.1.2.1.68.0', + vrrpTrapNewMaster => '.1.3.6.1.2.1.68.0.1', + vrrpTrapAuthFailure => '.1.3.6.1.2.1.68.0.2', + vrrpOperations => '.1.3.6.1.2.1.68.1', + vrrpNodeVersion => '.1.3.6.1.2.1.68.1.1', + vrrpNotificationCntl => '.1.3.6.1.2.1.68.1.2', + vrrpOperTable => '.1.3.6.1.2.1.68.1.3', + vrrpOperEntry => '.1.3.6.1.2.1.68.1.3.1', + vrrpOperVrId => '.1.3.6.1.2.1.68.1.3.1.1', + vrrpOperAuthKey => '.1.3.6.1.2.1.68.1.3.1.10', + vrrpOperAdvertisementInterval => '.1.3.6.1.2.1.68.1.3.1.11', + vrrpOperPreemptMode => '.1.3.6.1.2.1.68.1.3.1.12', + vrrpOperVirtualRouterUpTime => '.1.3.6.1.2.1.68.1.3.1.13', + vrrpOperProtocol => '.1.3.6.1.2.1.68.1.3.1.14', + vrrpOperProtocolDefinition => 'VRRP-MIB::vrrpOperProtocol', + vrrpOperRowStatus => '.1.3.6.1.2.1.68.1.3.1.15', + vrrpOperRowStatusDefinition => 'SNMPv2-TC-v1-MIB::RowStatus', + vrrpOperVirtualMacAddr => '.1.3.6.1.2.1.68.1.3.1.2', + vrrpOperState => '.1.3.6.1.2.1.68.1.3.1.3', + vrrpOperStateDefinition => 'VRRP-MIB::vrrpOperState', + vrrpOperAdminState => '.1.3.6.1.2.1.68.1.3.1.4', + vrrpOperAdminStateDefinition => 'VRRP-MIB::vrrpOperAdminState', + vrrpOperPriority => '.1.3.6.1.2.1.68.1.3.1.5', + vrrpOperIpAddrCount => '.1.3.6.1.2.1.68.1.3.1.6', + vrrpOperMasterIpAddr => '.1.3.6.1.2.1.68.1.3.1.7', + vrrpOperPrimaryIpAddr => '.1.3.6.1.2.1.68.1.3.1.8', + vrrpOperAuthType => '.1.3.6.1.2.1.68.1.3.1.9', + vrrpOperAuthTypeDefinition => 'VRRP-MIB::vrrpOperAuthType', + vrrpAssoIpAddrTable => '.1.3.6.1.2.1.68.1.4', + vrrpAssoIpAddrEntry => '.1.3.6.1.2.1.68.1.4.1', + vrrpAssoIpAddr => '.1.3.6.1.2.1.68.1.4.1.1', + vrrpAssoIpAddrRowStatus => '.1.3.6.1.2.1.68.1.4.1.2', + vrrpAssoIpAddrRowStatusDefinition => 'SNMPv2-TC-v1-MIB::RowStatus', + vrrpTrapPacketSrc => '.1.3.6.1.2.1.68.1.5', + vrrpTrapAuthErrorType => '.1.3.6.1.2.1.68.1.6', + vrrpTrapAuthErrorTypeDefinition => 'VRRP-MIB::vrrpTrapAuthErrorType', + vrrpStatistics => '.1.3.6.1.2.1.68.2', + vrrpRouterChecksumErrors => '.1.3.6.1.2.1.68.2.1', + vrrpRouterVersionErrors => '.1.3.6.1.2.1.68.2.2', + vrrpRouterVrIdErrors => '.1.3.6.1.2.1.68.2.3', + vrrpRouterStatsTable => '.1.3.6.1.2.1.68.2.4', + vrrpRouterStatsEntry => '.1.3.6.1.2.1.68.2.4.1', + vrrpStatsBecomeMaster => '.1.3.6.1.2.1.68.2.4.1.1', + vrrpStatsInvalidAuthType => '.1.3.6.1.2.1.68.2.4.1.10', + vrrpStatsAuthTypeMismatch => '.1.3.6.1.2.1.68.2.4.1.11', + vrrpStatsPacketLengthErrors => '.1.3.6.1.2.1.68.2.4.1.12', + vrrpStatsAdvertiseRcvd => '.1.3.6.1.2.1.68.2.4.1.2', + vrrpStatsAdvertiseIntervalErrors => '.1.3.6.1.2.1.68.2.4.1.3', + vrrpStatsAuthFailures => '.1.3.6.1.2.1.68.2.4.1.4', + vrrpStatsIpTtlErrors => '.1.3.6.1.2.1.68.2.4.1.5', + vrrpStatsPriorityZeroPktsRcvd => '.1.3.6.1.2.1.68.2.4.1.6', + vrrpStatsPriorityZeroPktsSent => '.1.3.6.1.2.1.68.2.4.1.7', + vrrpStatsInvalidTypePktsRcvd => '.1.3.6.1.2.1.68.2.4.1.8', + vrrpStatsAddressListErrors => '.1.3.6.1.2.1.68.2.4.1.9', + vrrpConformance => '.1.3.6.1.2.1.68.3', + vrrpMIBCompliances => '.1.3.6.1.2.1.68.3.1', + vrrpMIBCompliance => '.1.3.6.1.2.1.68.3.1.1', + vrrpMIBGroups => '.1.3.6.1.2.1.68.3.2', + vrrpOperGroup => '.1.3.6.1.2.1.68.3.2.1', + vrrpStatsGroup => '.1.3.6.1.2.1.68.3.2.2', + vrrpTrapGroup => '.1.3.6.1.2.1.68.3.2.3', + vrrpNotificationGroup => '.1.3.6.1.2.1.68.3.2.4' +}; + +$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'VRRP-MIB'} = { + vrrpOperAdminState => { + '1' => 'up', + '2' => 'down' + }, + vrrpOperAuthType => { + '1' => 'noAuthentication', + '2' => 'simpleTextPassword', + '3' => 'ipAuthenticationHeader' + }, + vrrpOperProtocol => { + '1' => 'ip', + '2' => 'bridge', + '3' => 'decnet', + '4' => 'other' + }, + vrrpOperState => { + '1' => 'initialize', + '2' => 'backup', + '3' => 'master' + }, + vrrpTrapAuthErrorType => { + '1' => 'invalidAuthType', + '2' => 'authTypeMismatch', + '3' => 'authFailure' + } +}; + +1; diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/WLSXSYSTEMEXTMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/WLSXSYSTEMEXTMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/WLSXSYSTEMEXTMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/WLSXSYSTEMEXTMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/WLSXWLANMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/WLSXWLANMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/WLSXWLANMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/WLSXWLANMIB.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/TableItem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/TableItem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/TableItem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/TableItem.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/TableItem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/TableItem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/TableItem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/TableItem.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/UPNP.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/UPNP.pm similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/GLPlugin/lib/Monitoring/GLPlugin/UPNP.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/UPNP.pm diff --git a/check_nwc_health/check_nwc_health-11.2.4/INSTALL b/check_nwc_health/check_nwc_health-7.12.1.3/INSTALL similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/INSTALL rename to check_nwc_health/check_nwc_health-7.12.1.3/INSTALL diff --git a/check_nwc_health/check_nwc_health-11.2.4/Makefile.am b/check_nwc_health/check_nwc_health-7.12.1.3/Makefile.am similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/Makefile.am rename to check_nwc_health/check_nwc_health-7.12.1.3/Makefile.am diff --git a/check_nwc_health/check_nwc_health-11.2.4/Makefile.in b/check_nwc_health/check_nwc_health-7.12.1.3/Makefile.in similarity index 94% rename from check_nwc_health/check_nwc_health-11.2.4/Makefile.in rename to check_nwc_health/check_nwc_health-7.12.1.3/Makefile.in index 577e32a..505dd52 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/Makefile.in +++ b/check_nwc_health/check_nwc_health-7.12.1.3/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.5 from Makefile.am. +# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2021 Free Software Foundation, Inc. +# Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -134,7 +134,7 @@ am__recursive_targets = \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ - cscope distdir distdir-am dist dist-all distcheck + cscope distdir dist dist-all distcheck am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is @@ -152,6 +152,9 @@ am__define_uniq_tagged_files = \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +CSCOPE = cscope DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in AUTHORS COPYING ChangeLog \ INSTALL NEWS README THANKS TODO config.guess config.sub \ @@ -194,8 +197,6 @@ am__relativize = \ DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best DIST_TARGETS = dist-gzip -# Exists only to be overridden by the user if desired. -AM_DISTCHECK_DVI_TARGET = dvi distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' @@ -207,14 +208,11 @@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -CSCOPE = @CSCOPE@ -CTAGS = @CTAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ -ETAGS = @ETAGS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_OPTS = @INSTALL_OPTS@ @@ -320,8 +318,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) @@ -438,10 +436,8 @@ cscopelist-am: $(am__tagged_files) distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f cscope.out cscope.in.out cscope.po.out cscope.files -distdir: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) distdir-am -distdir-am: $(DISTFILES) +distdir: $(DISTFILES) $(am__remove_distdir) test -d "$(distdir)" || mkdir "$(distdir)" @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ @@ -524,10 +520,6 @@ dist-xz: distdir tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__post_remove_distdir) -dist-zstd: distdir - tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst - $(am__post_remove_distdir) - dist-tarZ: distdir @echo WARNING: "Support for distribution archives compressed with" \ "legacy program 'compress' is deprecated." >&2 @@ -570,8 +562,6 @@ distcheck: dist eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ - *.tar.zst*) \ - zstd -dc $(distdir).tar.zst | $(am__untar) ;;\ esac chmod -R a-w $(distdir) chmod u+w $(distdir) @@ -587,7 +577,7 @@ distcheck: dist $(DISTCHECK_CONFIGURE_FLAGS) \ --srcdir=../.. --prefix="$$dc_install_base" \ && $(MAKE) $(AM_MAKEFLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ @@ -748,17 +738,16 @@ uninstall-am: am--refresh check check-am clean clean-cscope clean-generic \ cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \ - dist-zip dist-zstd distcheck distclean distclean-generic \ - distclean-tags distcleancheck distdir distuninstallcheck dvi \ - dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-dvi install-dvi-am \ - install-exec install-exec-am install-html install-html-am \ - install-info install-info-am install-man install-pdf \ - install-pdf-am install-ps install-ps-am install-strip \ - installcheck installcheck-am installdirs installdirs-am \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \ - uninstall-am + dist-zip distcheck distclean distclean-generic distclean-tags \ + distcleancheck distdir distuninstallcheck dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-man install-pdf install-pdf-am \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ + pdf-am ps ps-am tags tags-am uninstall uninstall-am .PRECIOUS: Makefile diff --git a/check_nwc_health/check_nwc_health-11.2.4/NEWS b/check_nwc_health/check_nwc_health-7.12.1.3/NEWS similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/NEWS rename to check_nwc_health/check_nwc_health-7.12.1.3/NEWS diff --git a/check_nwc_health/check_nwc_health-11.2.4/README b/check_nwc_health/check_nwc_health-7.12.1.3/README similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/README rename to check_nwc_health/check_nwc_health-7.12.1.3/README diff --git a/check_nwc_health/check_nwc_health-11.2.4/THANKS b/check_nwc_health/check_nwc_health-7.12.1.3/THANKS similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/THANKS rename to check_nwc_health/check_nwc_health-7.12.1.3/THANKS diff --git a/check_nwc_health/check_nwc_health-11.2.4/TODO b/check_nwc_health/check_nwc_health-7.12.1.3/TODO similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/TODO rename to check_nwc_health/check_nwc_health-7.12.1.3/TODO diff --git a/check_nwc_health/check_nwc_health-11.2.4/acinclude.m4 b/check_nwc_health/check_nwc_health-7.12.1.3/acinclude.m4 similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/acinclude.m4 rename to check_nwc_health/check_nwc_health-7.12.1.3/acinclude.m4 diff --git a/check_nwc_health/check_nwc_health-11.2.4/aclocal.m4 b/check_nwc_health/check_nwc_health-7.12.1.3/aclocal.m4 similarity index 93% rename from check_nwc_health/check_nwc_health-11.2.4/aclocal.m4 rename to check_nwc_health/check_nwc_health-7.12.1.3/aclocal.m4 index ebed56a..fbc407b 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/aclocal.m4 +++ b/check_nwc_health/check_nwc_health-7.12.1.3/aclocal.m4 @@ -1,6 +1,6 @@ -# generated automatically by aclocal 1.16.5 -*- Autoconf -*- +# generated automatically by aclocal 1.15.1 -*- Autoconf -*- -# Copyright (C) 1996-2021 Free Software Foundation, Inc. +# Copyright (C) 1996-2017 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -14,13 +14,13 @@ m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],, -[m4_warning([this file was generated for autoconf 2.71. +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, +[m4_warning([this file was generated for autoconf 2.69. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) -# Copyright (C) 2002-2021 Free Software Foundation, Inc. +# Copyright (C) 2002-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -32,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.]) # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], -[am__api_version='1.16' +[am__api_version='1.15' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.16.5], [], +m4_if([$1], [1.15.1], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) @@ -51,14 +51,14 @@ m4_define([_AM_AUTOCONF_VERSION], []) # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.16.5])dnl +[AM_AUTOMAKE_VERSION([1.15.1])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- -# Copyright (C) 2001-2021 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -110,7 +110,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd` # AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997-2021 Free Software Foundation, Inc. +# Copyright (C) 1997-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -143,7 +143,7 @@ fi])]) # Do all the work for Automake. -*- Autoconf -*- -# Copyright (C) 1996-2021 Free Software Foundation, Inc. +# Copyright (C) 1996-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -171,10 +171,6 @@ m4_defn([AC_PROG_CC]) # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl -m4_ifdef([_$0_ALREADY_INIT], - [m4_fatal([$0 expanded multiple times -]m4_defn([_$0_ALREADY_INIT]))], - [m4_define([_$0_ALREADY_INIT], m4_expansion_stack)])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl @@ -211,7 +207,7 @@ m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if( - m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]), + m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), [ok:ok],, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl @@ -234,8 +230,8 @@ AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: -# -# +# +# AC_SUBST([mkdir_p], ['$(MKDIR_P)']) # We need awk for the "check" target (and possibly the TAP driver). The # system "awk" is bad on some platforms. @@ -263,20 +259,6 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], [m4_define([AC_PROG_OBJCXX], m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl ]) -# Variables for tags utilities; see am/tags.am -if test -z "$CTAGS"; then - CTAGS=ctags -fi -AC_SUBST([CTAGS]) -if test -z "$ETAGS"; then - ETAGS=etags -fi -AC_SUBST([ETAGS]) -if test -z "$CSCOPE"; then - CSCOPE=cscope -fi -AC_SUBST([CSCOPE]) - AC_REQUIRE([AM_SILENT_RULES])dnl dnl The testsuite driver may need to know about EXEEXT, so add the dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This @@ -316,7 +298,7 @@ END Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation -that behaves properly: . +that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM @@ -358,7 +340,7 @@ for _am_header in $config_headers :; do done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) -# Copyright (C) 2001-2021 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -379,7 +361,7 @@ if test x"${install_sh+set}" != xset; then fi AC_SUBST([install_sh])]) -# Copyright (C) 2003-2021 Free Software Foundation, Inc. +# Copyright (C) 2003-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -401,7 +383,7 @@ AC_SUBST([am__leading_dot])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering -# Copyright (C) 1996-2021 Free Software Foundation, Inc. +# Copyright (C) 1996-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -436,7 +418,7 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -# Copyright (C) 1997-2021 Free Software Foundation, Inc. +# Copyright (C) 1997-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -457,7 +439,12 @@ AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl if test x"${MISSING+set}" != xset; then - MISSING="\${SHELL} '$am_aux_dir/missing'" + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then @@ -470,7 +457,7 @@ fi # Helper functions for option handling. -*- Autoconf -*- -# Copyright (C) 2001-2021 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -499,7 +486,7 @@ AC_DEFUN([_AM_SET_OPTIONS], AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) -# Copyright (C) 2001-2021 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -518,7 +505,7 @@ AC_DEFUN([AM_RUN_LOG], # Check to make sure that the build environment is sane. -*- Autoconf -*- -# Copyright (C) 1996-2021 Free Software Foundation, Inc. +# Copyright (C) 1996-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -599,7 +586,7 @@ AC_CONFIG_COMMANDS_PRE( rm -f conftest.file ]) -# Copyright (C) 2009-2021 Free Software Foundation, Inc. +# Copyright (C) 2009-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -659,7 +646,7 @@ AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) -# Copyright (C) 2001-2021 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -687,7 +674,7 @@ fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# Copyright (C) 2006-2021 Free Software Foundation, Inc. +# Copyright (C) 2006-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -706,7 +693,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- -# Copyright (C) 2004-2021 Free Software Foundation, Inc. +# Copyright (C) 2004-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff --git a/check_nwc_health/check_nwc_health-11.2.4/config.guess b/check_nwc_health/check_nwc_health-7.12.1.3/config.guess similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/config.guess rename to check_nwc_health/check_nwc_health-7.12.1.3/config.guess diff --git a/check_nwc_health/check_nwc_health-11.2.4/config.sub b/check_nwc_health/check_nwc_health-7.12.1.3/config.sub similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/config.sub rename to check_nwc_health/check_nwc_health-7.12.1.3/config.sub diff --git a/check_nwc_health/check_nwc_health-11.2.4/configure b/check_nwc_health/check_nwc_health-7.12.1.3/configure similarity index 76% rename from check_nwc_health/check_nwc_health-11.2.4/configure rename to check_nwc_health/check_nwc_health-7.12.1.3/configure index 09fa19a..8f8b43d 100755 --- a/check_nwc_health/check_nwc_health-11.2.4/configure +++ b/check_nwc_health/check_nwc_health-7.12.1.3/configure @@ -1,11 +1,10 @@ #! /bin/sh # From configure.ac . # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for check_nwc_health 11.2.4. +# Generated by GNU Autoconf 2.69 for check_nwc_health 7.12.1.3. # # -# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, -# Inc. +# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # # # This configure script is free software; the Free Software Foundation @@ -16,16 +15,14 @@ # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh -as_nop=: -if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 -then : +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST -else $as_nop +else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( @@ -35,46 +32,46 @@ esac fi - -# Reset variables that may have inherited troublesome values from -# the environment. - -# IFS needs to be set, to space, tab, and newline, in precisely that order. -# (If _AS_PATH_WALK were called with IFS unset, it would have the -# side effect of setting IFS to empty, thus disabling word splitting.) -# Quoting is to prevent editors from complaining about space-tab. as_nl=' ' export as_nl -IFS=" "" $as_nl" - -PS1='$ ' -PS2='> ' -PS4='+ ' - -# Ensure predictable behavior from utilities with locale-dependent output. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# We cannot yet rely on "unset" to work, but we need these variables -# to be unset--not just set to an empty or harmless value--now, to -# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct -# also avoids known problems related to "unset" and subshell syntax -# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). -for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH -do eval test \${$as_var+y} \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done - -# Ensure that fds 0, 1, and 2 are open. -if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi -if (exec 3>&2) ; then :; else exec 2>/dev/null; fi +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi # The user is always right. -if ${PATH_SEPARATOR+false} :; then +if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || @@ -83,6 +80,13 @@ if ${PATH_SEPARATOR+false} :; then fi +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( @@ -91,12 +95,8 @@ case $0 in #(( for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac - test -r "$as_dir$0" && as_myself=$as_dir$0 && break + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS @@ -108,10 +108,30 @@ if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then - printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. @@ -133,22 +153,20 @@ esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. -printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 -exit 255 +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +as_fn_exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then - as_bourne_compatible="as_nop=: -if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 -then : + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST -else \$as_nop +else case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( @@ -168,52 +186,41 @@ as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } -if ( set x; as_fn_ret_success y && test x = \"\$1\" ) -then : +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : -else \$as_nop +else exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1 -blah=\$(echo \$(echo blah)) -test x\"\$blah\" = xblah || exit 1 test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" - if (eval "$as_required") 2>/dev/null -then : + if (eval "$as_required") 2>/dev/null; then : as_have_required=yes -else $as_nop +else as_have_required=no fi - if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null -then : + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : -else $as_nop +else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. - as_shell=$as_dir$as_base + as_shell=$as_dir/$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && - as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null -then : + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes - if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null -then : + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi @@ -221,21 +228,14 @@ fi esac as_found=false done -IFS=$as_save_IFS -if $as_found -then : - -else $as_nop - if { test -f "$SHELL" || test -f "$SHELL.exe"; } && - as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null -then : +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : CONFIG_SHELL=$SHELL as_have_required=yes -fi -fi +fi; } +IFS=$as_save_IFS - if test "x$CONFIG_SHELL" != x -then : + if test "x$CONFIG_SHELL" != x; then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also @@ -253,19 +253,18 @@ esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. -printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi - if test x$as_have_required = xno -then : - printf "%s\n" "$0: This script requires a shell more modern than all" - printf "%s\n" "$0: the shells that I found on your system." - if test ${ZSH_VERSION+y} ; then - printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" - printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." + if test x$as_have_required = xno; then : + $as_echo "$0: This script requires a shell more modern than all" + $as_echo "$0: the shells that I found on your system." + if test x${ZSH_VERSION+set} = xset ; then + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" + $as_echo "$0: be upgraded to zsh 4.3.4 or later." else - printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system, + $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, $0: including any error possibly output before this $0: message. Then install a modern shell, or manually run $0: the script under such a shell if you do have one." @@ -292,7 +291,6 @@ as_fn_unset () } as_unset=as_fn_unset - # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. @@ -310,14 +308,6 @@ as_fn_exit () as_fn_set_status $1 exit $1 } # as_fn_exit -# as_fn_nop -# --------- -# Do nothing but, unlike ":", preserve the value of $?. -as_fn_nop () -{ - return $? -} -as_nop=as_fn_nop # as_fn_mkdir_p # ------------- @@ -332,7 +322,7 @@ as_fn_mkdir_p () as_dirs= while :; do case $as_dir in #( - *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" @@ -341,7 +331,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -printf "%s\n" X"$as_dir" | +$as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -380,13 +370,12 @@ as_fn_executable_p () # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null -then : +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' -else $as_nop +else as_fn_append () { eval $1=\$$1\$2 @@ -398,27 +387,18 @@ fi # as_fn_append # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null -then : +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' -else $as_nop +else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith -# as_fn_nop -# --------- -# Do nothing but, unlike ":", preserve the value of $?. -as_fn_nop () -{ - return $? -} -as_nop=as_fn_nop # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- @@ -430,9 +410,9 @@ as_fn_error () as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi - printf "%s\n" "$as_me: error: $2" >&2 + $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error @@ -459,7 +439,7 @@ as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -printf "%s\n" X/"$0" | +$as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -503,7 +483,7 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || - { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall @@ -517,10 +497,6 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits exit } - -# Determine whether it's possible to make 'echo' print without a newline. -# These variables are no longer used directly by Autoconf, but are AC_SUBSTed -# for compatibility with existing Makefiles. ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) @@ -534,13 +510,6 @@ case `echo -n x` in #((((( ECHO_N='-n';; esac -# For backward compatibility with old third-party macros, we provide -# the shell variables $as_echo and $as_echo_n. New code should use -# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. -as_echo='printf %s\n' -as_echo_n='printf %s' - - rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file @@ -608,8 +577,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='check_nwc_health' PACKAGE_TARNAME='check_nwc_health' -PACKAGE_VERSION='11.2.4' -PACKAGE_STRING='check_nwc_health 11.2.4' +PACKAGE_VERSION='7.12.1.3' +PACKAGE_STRING='check_nwc_health 7.12.1.3' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -642,9 +611,6 @@ AM_BACKSLASH AM_DEFAULT_VERBOSITY AM_DEFAULT_V AM_V -CSCOPE -ETAGS -CTAGS am__untar am__tar AMTAR @@ -788,6 +754,8 @@ do *) ac_optarg=yes ;; esac + # Accept the important Cygnus configure options, so we can diagnose typos. + case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; @@ -828,9 +796,9 @@ do ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: \`$ac_useropt'" + as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt - ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" @@ -854,9 +822,9 @@ do ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: \`$ac_useropt'" + as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt - ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" @@ -1067,9 +1035,9 @@ do ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: \`$ac_useropt'" + as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt - ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" @@ -1083,9 +1051,9 @@ do ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: \`$ac_useropt'" + as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt - ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" @@ -1129,9 +1097,9 @@ Try \`$0 --help' for more information" *) # FIXME: should be removed in autoconf 3.0. - printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; @@ -1147,7 +1115,7 @@ if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; - *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi @@ -1211,7 +1179,7 @@ $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -printf "%s\n" X"$as_myself" | +$as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -1268,7 +1236,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures check_nwc_health 11.2.4 to adapt to many kinds of systems. +\`configure' configures check_nwc_health 7.12.1.3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1340,7 +1308,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of check_nwc_health 11.2.4:";; + short | recursive ) echo "Configuration of check_nwc_health 7.12.1.3:";; esac cat <<\_ACEOF @@ -1378,9 +1346,9 @@ if test "$ac_init_help" = "recursive"; then case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) - ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; @@ -1408,8 +1376,7 @@ esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } - # Check for configure.gnu first; this name is used for a wrapper for - # Metaconfig's "Configure" on case-insensitive file systems. + # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive @@ -1417,7 +1384,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix echo && $SHELL "$ac_srcdir/configure" --help=recursive else - printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done @@ -1426,10 +1393,10 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -check_nwc_health configure 11.2.4 -generated by GNU Autoconf 2.71 +check_nwc_health configure 7.12.1.3 +generated by GNU Autoconf 2.69 -Copyright (C) 2021 Free Software Foundation, Inc. +Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF @@ -1439,34 +1406,14 @@ fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## -ac_configure_args_raw= -for ac_arg -do - case $ac_arg in - *\'*) - ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - as_fn_append ac_configure_args_raw " '$ac_arg'" -done - -case $ac_configure_args_raw in - *$as_nl*) - ac_safe_unquote= ;; - *) - ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. - ac_unsafe_a="$ac_unsafe_z#~" - ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" - ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; -esac - cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by check_nwc_health $as_me 11.2.4, which was -generated by GNU Autoconf 2.71. Invocation command line was +It was created by check_nwc_health $as_me 7.12.1.3, which was +generated by GNU Autoconf 2.69. Invocation command line was - $ $0$ac_configure_args_raw + $ $0 $@ _ACEOF exec 5>>config.log @@ -1499,12 +1446,8 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac - printf "%s\n" "PATH: $as_dir" + test -z "$as_dir" && as_dir=. + $as_echo "PATH: $as_dir" done IFS=$as_save_IFS @@ -1539,7 +1482,7 @@ do | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) - ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; @@ -1574,13 +1517,11 @@ done # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? - # Sanitize IFS. - IFS=" "" $as_nl" # Save into config.log some information that might help in debugging. { echo - printf "%s\n" "## ---------------- ## + $as_echo "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo @@ -1591,8 +1532,8 @@ trap 'exit_status=$? case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( @@ -1616,7 +1557,7 @@ printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ) echo - printf "%s\n" "## ----------------- ## + $as_echo "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo @@ -1624,14 +1565,14 @@ printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} do eval ac_val=\$$ac_var case $ac_val in - *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac - printf "%s\n" "$ac_var='\''$ac_val'\''" + $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then - printf "%s\n" "## ------------------- ## + $as_echo "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo @@ -1639,15 +1580,15 @@ printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} do eval ac_val=\$$ac_var case $ac_val in - *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac - printf "%s\n" "$ac_var='\''$ac_val'\''" + $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then - printf "%s\n" "## ----------- ## + $as_echo "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo @@ -1655,8 +1596,8 @@ printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} echo fi test "$ac_signal" != 0 && - printf "%s\n" "$as_me: caught signal $ac_signal" - printf "%s\n" "$as_me: exit $exit_status" + $as_echo "$as_me: caught signal $ac_signal" + $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && @@ -1670,48 +1611,63 @@ ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h -printf "%s\n" "/* confdefs.h */" > confdefs.h +$as_echo "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. -printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF -printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF -printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF -printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF -printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF -printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define PACKAGE_URL "$PACKAGE_URL" +_ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. +ac_site_file1=NONE +ac_site_file2=NONE if test -n "$CONFIG_SITE"; then - ac_site_files="$CONFIG_SITE" + # We do not want a PATH search for config.site. + case $CONFIG_SITE in #(( + -*) ac_site_file1=./$CONFIG_SITE;; + */*) ac_site_file1=$CONFIG_SITE;; + *) ac_site_file1=./$CONFIG_SITE;; + esac elif test "x$prefix" != xNONE; then - ac_site_files="$prefix/share/config.site $prefix/etc/config.site" + ac_site_file1=$prefix/share/config.site + ac_site_file2=$prefix/etc/config.site else - ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" + ac_site_file1=$ac_default_prefix/share/config.site + ac_site_file2=$ac_default_prefix/etc/config.site fi - -for ac_site_file in $ac_site_files +for ac_site_file in "$ac_site_file1" "$ac_site_file2" do - case $ac_site_file in #( - */*) : - ;; #( - *) : - ac_site_file=./$ac_site_file ;; -esac - if test -f "$ac_site_file" && test -r "$ac_site_file"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 -printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} + test "x$ac_site_file" = xNONE && continue + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 +$as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ - || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } fi @@ -1721,117 +1677,19 @@ if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 -printf "%s\n" "$as_me: loading cache $cache_file" >&6;} + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 +$as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 -printf "%s\n" "$as_me: creating cache $cache_file" >&6;} + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 +$as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi - -# Auxiliary files required by this configure script. -ac_aux_files="config.guess config.sub missing install-sh" - -# Locations in which to look for auxiliary files. -ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." - -# Search for a directory containing all of the required auxiliary files, -# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. -# If we don't find one directory that contains all the files we need, -# we report the set of missing files from the *first* directory in -# $ac_aux_dir_candidates and give up. -ac_missing_aux_files="" -ac_first_candidate=: -printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -as_found=false -for as_dir in $ac_aux_dir_candidates -do - IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac - as_found=: - - printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 - ac_aux_dir_found=yes - ac_install_sh= - for ac_aux in $ac_aux_files - do - # As a special case, if "install-sh" is required, that requirement - # can be satisfied by any of "install-sh", "install.sh", or "shtool", - # and $ac_install_sh is set appropriately for whichever one is found. - if test x"$ac_aux" = x"install-sh" - then - if test -f "${as_dir}install-sh"; then - printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 - ac_install_sh="${as_dir}install-sh -c" - elif test -f "${as_dir}install.sh"; then - printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 - ac_install_sh="${as_dir}install.sh -c" - elif test -f "${as_dir}shtool"; then - printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 - ac_install_sh="${as_dir}shtool install -c" - else - ac_aux_dir_found=no - if $ac_first_candidate; then - ac_missing_aux_files="${ac_missing_aux_files} install-sh" - else - break - fi - fi - else - if test -f "${as_dir}${ac_aux}"; then - printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 - else - ac_aux_dir_found=no - if $ac_first_candidate; then - ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" - else - break - fi - fi - fi - done - if test "$ac_aux_dir_found" = yes; then - ac_aux_dir="$as_dir" - break - fi - ac_first_candidate=false - - as_found=false -done -IFS=$as_save_IFS -if $as_found -then : - -else $as_nop - as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 -fi - - -# These three variables are undocumented and unsupported, -# and are intended to be withdrawn in a future Autoconf release. -# They can cause serious problems if a builder's source tree is in a directory -# whose full name contains unusual characters. -if test -f "${ac_aux_dir}config.guess"; then - ac_config_guess="$SHELL ${ac_aux_dir}config.guess" -fi -if test -f "${ac_aux_dir}config.sub"; then - ac_config_sub="$SHELL ${ac_aux_dir}config.sub" -fi -if test -f "$ac_aux_dir/configure"; then - ac_configure="$SHELL ${ac_aux_dir}configure" -fi - # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -1842,12 +1700,12 @@ for ac_var in $ac_precious_vars; do eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 -printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) @@ -1856,24 +1714,24 @@ printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 -printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 -printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 -printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 -printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in - *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in @@ -1883,12 +1741,11 @@ printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} fi done if $ac_cache_corrupted; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 -printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} - as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' - and start over" "$LINENO" 5 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## @@ -1901,11 +1758,38 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu -am__api_version='1.16' +am__api_version='1.15' + +ac_aux_dir= +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do + if test -f "$ac_dir/install-sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install-sh -c" + break + elif test -f "$ac_dir/install.sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install.sh -c" + break + elif test -f "$ac_dir/shtool"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/shtool install -c" + break + fi +done +if test -z "$ac_aux_dir"; then + as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 +fi + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a directory +# whose full name contains unusual characters. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. - - # Find a good install program. We prefer a C program (faster), +# Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install @@ -1919,25 +1803,20 @@ am__api_version='1.16' # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 -printf %s "checking for a BSD-compatible install... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 +$as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then -if test ${ac_cv_path_install+y} -then : - printf %s "(cached) " >&6 -else $as_nop +if ${ac_cv_path_install+:} false; then : + $as_echo_n "(cached) " >&6 +else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac - # Account for fact that we put trailing slashes in our PATH walk. -case $as_dir in #(( - ./ | /[cC]/* | \ + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in #(( + ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; @@ -1947,13 +1826,13 @@ case $as_dir in #(( # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then + if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && - grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && - grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else @@ -1961,12 +1840,12 @@ case $as_dir in #(( echo one > conftest.one echo two > conftest.two mkdir conftest.dir - if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then - ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi @@ -1982,7 +1861,7 @@ IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi - if test ${ac_cv_path_install+y}; then + if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a @@ -1992,8 +1871,8 @@ fi INSTALL=$ac_install_sh fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 -printf "%s\n" "$INSTALL" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +$as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. @@ -2003,8 +1882,8 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 -printf %s "checking whether build environment is sane... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 +$as_echo_n "checking whether build environment is sane... " >&6; } # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' @@ -2058,8 +1937,8 @@ else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= @@ -2078,23 +1957,26 @@ test "$program_suffix" != NONE && # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' -program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` - +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` - - if test x"${MISSING+set}" != xset; then - MISSING="\${SHELL} '$am_aux_dir/missing'" +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 -printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 +$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} fi if test x"${install_sh+set}" != xset; then @@ -2114,12 +1996,11 @@ if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_STRIP+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else @@ -2127,15 +2008,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -2146,11 +2023,11 @@ fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -printf "%s\n" "$STRIP" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -2159,12 +2036,11 @@ if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_ac_ct_STRIP+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else @@ -2172,15 +2048,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -2191,11 +2063,11 @@ fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 -printf "%s\n" "$ac_ct_STRIP" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then @@ -2203,8 +2075,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP @@ -2216,31 +2088,25 @@ fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 -printf %s "checking for a race-free mkdir -p... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then - if test ${ac_cv_path_mkdir+y} -then : - printf %s "(cached) " >&6 -else $as_nop + if ${ac_cv_path_mkdir+:} false; then : + $as_echo_n "(cached) " >&6 +else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do - as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue - case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( - 'mkdir ('*'coreutils) '* | \ - 'BusyBox '* | \ + as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( + 'mkdir (GNU coreutils) '* | \ + 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) - ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done @@ -2251,7 +2117,7 @@ IFS=$as_save_IFS fi test -d ./--version && rmdir ./--version - if test ${ac_cv_path_mkdir+y}; then + if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a @@ -2261,19 +2127,18 @@ fi MKDIR_P="$ac_install_sh -d" fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 -printf "%s\n" "$MKDIR_P" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 +$as_echo "$MKDIR_P" >&6; } for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_AWK+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AWK+:} false; then : + $as_echo_n "(cached) " >&6 +else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else @@ -2281,15 +2146,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -2300,25 +2161,24 @@ fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -printf "%s\n" "$AWK" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +$as_echo "$AWK" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi test -n "$AWK" && break done -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} -ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -if eval test \${ac_cv_prog_make_${ac_make}_set+y} -then : - printf %s "(cached) " >&6 -else $as_nop +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : + $as_echo_n "(cached) " >&6 +else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @@ -2334,12 +2194,12 @@ esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } SET_MAKE= else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi @@ -2353,8 +2213,7 @@ fi rmdir .tst 2>/dev/null # Check whether --enable-silent-rules was given. -if test ${enable_silent_rules+y} -then : +if test "${enable_silent_rules+set}" = set; then : enableval=$enable_silent_rules; fi @@ -2364,13 +2223,12 @@ case $enable_silent_rules in # ((( *) AM_DEFAULT_VERBOSITY=1;; esac am_make=${MAKE-make} -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 -printf %s "checking whether $am_make supports nested variables... " >&6; } -if test ${am_cv_make_support_nested_variables+y} -then : - printf %s "(cached) " >&6 -else $as_nop - if printf "%s\n" 'TRUE=$(BAR$(V)) +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 +$as_echo_n "checking whether $am_make supports nested variables... " >&6; } +if ${am_cv_make_support_nested_variables+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $as_echo 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 @@ -2382,8 +2240,8 @@ else am_cv_make_support_nested_variables=no fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 -printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 +$as_echo "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' @@ -2415,13 +2273,17 @@ fi # Define the identity of the package. PACKAGE='check_nwc_health' - VERSION='11.2.4' + VERSION='7.12.1.3' -printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define PACKAGE "$PACKAGE" +_ACEOF -printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define VERSION "$VERSION" +_ACEOF # Some tools Automake needs. @@ -2441,8 +2303,8 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: -# -# +# +# mkdir_p='$(MKDIR_P)' # We need awk for the "check" target (and possibly the TAP driver). The @@ -2457,8 +2319,8 @@ _am_tools='gnutar pax cpio none' - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5 -printf %s "checking how to create a pax tar archive... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5 +$as_echo_n "checking how to create a pax tar archive... " >&6; } # Go ahead even if we have the value already cached. We do so because we # need to set the values for the 'am__tar' and 'am__untar' variables. @@ -2533,34 +2395,19 @@ printf %s "checking how to create a pax tar archive... " >&6; } done rm -rf conftest.dir - if test ${am_cv_prog_tar_pax+y} -then : - printf %s "(cached) " >&6 -else $as_nop + if ${am_cv_prog_tar_pax+:} false; then : + $as_echo_n "(cached) " >&6 +else am_cv_prog_tar_pax=$_am_tool fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5 -printf "%s\n" "$am_cv_prog_tar_pax" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5 +$as_echo "$am_cv_prog_tar_pax" >&6; } -# Variables for tags utilities; see am/tags.am -if test -z "$CTAGS"; then - CTAGS=ctags -fi - -if test -z "$ETAGS"; then - ETAGS=etags -fi - -if test -z "$CSCOPE"; then - CSCOPE=cscope -fi - - # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile @@ -2593,7 +2440,7 @@ END Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation -that behaves properly: . +that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM @@ -2605,18 +2452,17 @@ END fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 -printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 +$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. -if test ${enable_maintainer_mode+y} -then : +if test "${enable_maintainer_mode+set}" = set; then : enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval -else $as_nop +else USE_MAINTAINER_MODE=no fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 -printf "%s\n" "$USE_MAINTAINER_MODE" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 +$as_echo "$USE_MAINTAINER_MODE" >&6; } if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#' @@ -2628,29 +2474,26 @@ fi MAINT=$MAINTAINER_MODE_TRUE +# Make sure we can run config.sub. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || + as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 - - # Make sure we can run config.sub. -$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || - as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 - -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 -printf %s "checking build system type... " >&6; } -if test ${ac_cv_build+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 +$as_echo_n "checking build system type... " >&6; } +if ${ac_cv_build+:} false; then : + $as_echo_n "(cached) " >&6 +else ac_build_alias=$build_alias test "x$ac_build_alias" = x && - ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 -ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || - as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 -printf "%s\n" "$ac_cv_build" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 +$as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; @@ -2669,22 +2512,21 @@ IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 -printf %s "checking host system type... " >&6; } -if test ${ac_cv_host+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 +$as_echo_n "checking host system type... " >&6; } +if ${ac_cv_host+:} false; then : + $as_echo_n "(cached) " >&6 +else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else - ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || - as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 -printf "%s\n" "$ac_cv_host" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 +$as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; @@ -2712,14 +2554,13 @@ RELEASE=1 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} -ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -if eval test \${ac_cv_prog_make_${ac_make}_set+y} -then : - printf %s "(cached) " >&6 -else $as_nop +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : + $as_echo_n "(cached) " >&6 +else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @@ -2735,12 +2576,12 @@ esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } SET_MAKE= else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi @@ -2748,12 +2589,11 @@ for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_AWK+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AWK+:} false; then : + $as_echo_n "(cached) " >&6 +else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else @@ -2761,15 +2601,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -2780,11 +2616,11 @@ fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -printf "%s\n" "$AWK" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +$as_echo "$AWK" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -2800,19 +2636,17 @@ SUPPORT="Send email to gerhard.lausser@consol.de if you have questions\nregardin # Check whether --with-nagios_user was given. -if test ${with_nagios_user+y} -then : +if test "${with_nagios_user+set}" = set; then : withval=$with_nagios_user; with_nagios_user=$withval -else $as_nop +else with_nagios_user=nagios fi # Check whether --with-nagios_group was given. -if test ${with_nagios_group+y} -then : +if test "${with_nagios_group+set}" = set; then : withval=$with_nagios_group; with_nagios_group=$withval -else $as_nop +else with_nagios_group=nagios fi @@ -2825,12 +2659,11 @@ EXTRAS= # Extract the first word of "sh", so it can be a program name with args. set dummy sh; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_path_SH+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_SH+:} false; then : + $as_echo_n "(cached) " >&6 +else case $SH in [\\/]* | ?:[\\/]*) ac_cv_path_SH="$SH" # Let the user override the test with a path. @@ -2840,15 +2673,11 @@ else $as_nop for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then - ac_cv_path_SH="$as_dir$ac_word$ac_exec_ext" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -2860,22 +2689,21 @@ esac fi SH=$ac_cv_path_SH if test -n "$SH"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SH" >&5 -printf "%s\n" "$SH" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SH" >&5 +$as_echo "$SH" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi # Extract the first word of "perl", so it can be a program name with args. set dummy perl; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_path_PERL+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PERL+:} false; then : + $as_echo_n "(cached) " >&6 +else case $PERL in [\\/]* | ?:[\\/]*) ac_cv_path_PERL="$PERL" # Let the user override the test with a path. @@ -2885,15 +2713,11 @@ else $as_nop for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then - ac_cv_path_PERL="$as_dir$ac_word$ac_exec_ext" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -2905,21 +2729,20 @@ esac fi PERL=$ac_cv_path_PERL if test -n "$PERL"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 -printf "%s\n" "$PERL" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 +$as_echo "$PERL" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi # Check whether --with-perl was given. -if test ${with_perl+y} -then : +if test "${with_perl+set}" = set; then : withval=$with_perl; with_perl=$withval -else $as_nop +else with_perl=$PERL fi @@ -2927,8 +2750,7 @@ PERL=$with_perl # Check whether --enable-standalone was given. -if test ${enable_standalone+y} -then : +if test "${enable_standalone+set}" = set; then : enableval=$enable_standalone; fi @@ -2970,8 +2792,8 @@ _ACEOF case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( @@ -3001,15 +2823,15 @@ printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} /^ac_cv_env_/b end t clear :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -printf "%s\n" "$as_me: updating cache $cache_file" >&6;} + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +$as_echo "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else @@ -3023,8 +2845,8 @@ printf "%s\n" "$as_me: updating cache $cache_file" >&6;} fi fi else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 -printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache @@ -3077,7 +2899,7 @@ U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" @@ -3088,14 +2910,14 @@ LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 -printf %s "checking that generated files are newer than configure... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 +$as_echo_n "checking that generated files are newer than configure... " >&6; } if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 -printf "%s\n" "done" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 +$as_echo "done" >&6; } if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. @@ -3110,8 +2932,8 @@ fi ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 -printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL @@ -3134,16 +2956,14 @@ cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh -as_nop=: -if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 -then : +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST -else $as_nop +else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( @@ -3153,46 +2973,46 @@ esac fi - -# Reset variables that may have inherited troublesome values from -# the environment. - -# IFS needs to be set, to space, tab, and newline, in precisely that order. -# (If _AS_PATH_WALK were called with IFS unset, it would have the -# side effect of setting IFS to empty, thus disabling word splitting.) -# Quoting is to prevent editors from complaining about space-tab. as_nl=' ' export as_nl -IFS=" "" $as_nl" - -PS1='$ ' -PS2='> ' -PS4='+ ' - -# Ensure predictable behavior from utilities with locale-dependent output. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# We cannot yet rely on "unset" to work, but we need these variables -# to be unset--not just set to an empty or harmless value--now, to -# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct -# also avoids known problems related to "unset" and subshell syntax -# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). -for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH -do eval test \${$as_var+y} \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done - -# Ensure that fds 0, 1, and 2 are open. -if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi -if (exec 3>&2) ; then :; else exec 2>/dev/null; fi +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi # The user is always right. -if ${PATH_SEPARATOR+false} :; then +if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || @@ -3201,6 +3021,13 @@ if ${PATH_SEPARATOR+false} :; then fi +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( @@ -3209,12 +3036,8 @@ case $0 in #(( for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac - test -r "$as_dir$0" && as_myself=$as_dir$0 && break + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS @@ -3226,10 +3049,30 @@ if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then - printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] @@ -3242,14 +3085,13 @@ as_fn_error () as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi - printf "%s\n" "$as_me: error: $2" >&2 + $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error - # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. @@ -3276,20 +3118,18 @@ as_fn_unset () { eval $1=; unset $1;} } as_unset=as_fn_unset - # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null -then : +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' -else $as_nop +else as_fn_append () { eval $1=\$$1\$2 @@ -3301,13 +3141,12 @@ fi # as_fn_append # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null -then : +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' -else $as_nop +else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` @@ -3338,7 +3177,7 @@ as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -printf "%s\n" X/"$0" | +$as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -3360,10 +3199,6 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits - -# Determine whether it's possible to make 'echo' print without a newline. -# These variables are no longer used directly by Autoconf, but are AC_SUBSTed -# for compatibility with existing Makefiles. ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) @@ -3377,12 +3212,6 @@ case `echo -n x` in #((((( ECHO_N='-n';; esac -# For backward compatibility with old third-party macros, we provide -# the shell variables $as_echo and $as_echo_n. New code should use -# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. -as_echo='printf %s\n' -as_echo_n='printf %s' - rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file @@ -3424,7 +3253,7 @@ as_fn_mkdir_p () as_dirs= while :; do case $as_dir in #( - *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" @@ -3433,7 +3262,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -printf "%s\n" X"$as_dir" | +$as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -3495,8 +3324,8 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by check_nwc_health $as_me 11.2.4, which was -generated by GNU Autoconf 2.71. Invocation command line was +This file was extended by check_nwc_health $as_me 7.12.1.3, which was +generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -3545,16 +3374,14 @@ $config_files Report bugs to the package provider." _ACEOF -ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` -ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_cs_config='$ac_cs_config_escaped' +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -check_nwc_health config.status 11.2.4 -configured by $0, generated by GNU Autoconf 2.71, +check_nwc_health config.status 7.12.1.3 +configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" -Copyright (C) 2021 Free Software Foundation, Inc. +Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." @@ -3594,21 +3421,21 @@ do -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - printf "%s\n" "$ac_cs_version"; exit ;; + $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) - printf "%s\n" "$ac_cs_config"; exit ;; + $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in - *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --he | --h | --help | --hel | -h ) - printf "%s\n" "$ac_cs_usage"; exit ;; + $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; @@ -3636,7 +3463,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift - \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" @@ -3650,7 +3477,7 @@ exec 5>>config.log sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX - printf "%s\n" "$ac_log" + $as_echo "$ac_log" } >&5 _ACEOF @@ -3677,7 +3504,7 @@ done # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then - test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files fi # Have a temporary directory for convenience. Make it in the build tree @@ -3905,7 +3732,7 @@ do esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac - case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done @@ -3913,17 +3740,17 @@ do # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` - printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -printf "%s\n" "$as_me: creating $ac_file" >&6;} + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) - ac_sed_conf_input=`printf "%s\n" "$configure_input" | + ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac @@ -3940,7 +3767,7 @@ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -printf "%s\n" X"$ac_file" | +$as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -3964,9 +3791,9 @@ printf "%s\n" X"$ac_file" | case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) - ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; @@ -4028,8 +3855,8 @@ ac_sed_dataroot=' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' @@ -4073,9 +3900,9 @@ test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 -printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" @@ -4122,8 +3949,8 @@ if test "$no_create" != yes; then $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 -printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi @@ -4131,4 +3958,3 @@ echo " --with-perl: $with_perl" echo " --with-nagios-user: $with_nagios_user" echo " --with-nagios-group: $with_nagios_group" echo " --disable-standalone: $disable_standalone" - diff --git a/check_nwc_health/check_nwc_health-11.2.4/configure.ac b/check_nwc_health/check_nwc_health-7.12.1.3/configure.ac similarity index 93% rename from check_nwc_health/check_nwc_health-11.2.4/configure.ac rename to check_nwc_health/check_nwc_health-7.12.1.3/configure.ac index 7773cf9..9d70e98 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/configure.ac +++ b/check_nwc_health/check_nwc_health-7.12.1.3/configure.ac @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_REVISION ($Revision: 1.150 $) -AC_PREREQ([2.69]) -AC_INIT([check_nwc_health],[11.2.4]) +AC_PREREQ(2.58) +AC_INIT(check_nwc_health,7.12.1.3) AM_INIT_AUTOMAKE([1.9 tar-pax]) AM_MAINTAINER_MODE([disable]) AC_CANONICAL_HOST @@ -57,8 +57,7 @@ AC_ARG_ENABLE([standalone], AS_HELP_STRING([--disable-standalone], [Disable feature standalone])) AM_CONDITIONAL([DISABLE_STANDALONE], [test "$enable_standalone" = "no"]) -AC_CONFIG_FILES([Makefile plugins-scripts/Makefile plugins-scripts/subst]) -AC_OUTPUT +AC_OUTPUT(Makefile plugins-scripts/Makefile plugins-scripts/subst) ACX_FEATURE([with],[perl]) ACX_FEATURE([with],[nagios-user]) diff --git a/check_nwc_health/check_nwc_health-11.2.4/install-sh b/check_nwc_health/check_nwc_health-7.12.1.3/install-sh similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/install-sh rename to check_nwc_health/check_nwc_health-7.12.1.3/install-sh diff --git a/check_nwc_health/check_nwc_health-11.2.4/missing b/check_nwc_health/check_nwc_health-7.12.1.3/missing similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/missing rename to check_nwc_health/check_nwc_health-7.12.1.3/missing diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/ALARMMIB/Component/AlarmSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/ALARMMIB/Component/AlarmSubsystem.pm similarity index 56% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/ALARMMIB/Component/AlarmSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/ALARMMIB/Component/AlarmSubsystem.pm index 3387936..592b1e8 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/ALARMMIB/Component/AlarmSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/ALARMMIB/Component/AlarmSubsystem.pm @@ -1,27 +1,27 @@ -package CheckNwcHealth::ALARMMIB::Component::AlarmSubsystem; +package Classes::ALARMMIB::Component::AlarmSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('ALARM-MIB', [ - #['models', 'alarmModelTable', 'CheckNwcHealth::ALARMMIB::Component::AlarmSubsystem::AlarmModel'], - #['variables', 'alarmActiveVariableTable', 'CheckNwcHealth::ALARMMIB::Component::AlarmSubsystem::AlarmVariable'], - ['alarms', 'alarmActiveTable', 'CheckNwcHealth::ALARMMIB::Component::AlarmSubsystem::Alarm'], - ['stats', 'alarmActiveStatsTable', 'CheckNwcHealth::ALARMMIB::Component::AlarmSubsystem::AlarmStats'], + #['models', 'alarmModelTable', 'Classes::ALARMMIB::Component::AlarmSubsystem::AlarmModel'], + #['variables', 'alarmActiveVariableTable', 'Classes::ALARMMIB::Component::AlarmSubsystem::AlarmVariable'], + ['alarms', 'alarmActiveTable', 'Classes::ALARMMIB::Component::AlarmSubsystem::Alarm'], + ['stats', 'alarmActiveStatsTable', 'Classes::ALARMMIB::Component::AlarmSubsystem::AlarmStats'], ]); } -package CheckNwcHealth::ALARMMIB::Component::AlarmSubsystem::Alarm; +package Classes::ALARMMIB::Component::AlarmSubsystem::Alarm; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; -package CheckNwcHealth::ALARMMIB::Component::AlarmSubsystem::AlarmModel; +package Classes::ALARMMIB::Component::AlarmSubsystem::AlarmModel; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; -package CheckNwcHealth::ALARMMIB::Component::AlarmSubsystem::AlarmVariable; +package Classes::ALARMMIB::Component::AlarmSubsystem::AlarmVariable; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -39,7 +39,7 @@ sub finish { } -package CheckNwcHealth::ALARMMIB::Component::AlarmSubsystem::AlarmStats; +package Classes::ALARMMIB::Component::AlarmSubsystem::AlarmStats; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS.pm new file mode 100644 index 0000000..fa30c1c --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS.pm @@ -0,0 +1,22 @@ +package Classes::AVOS; +our @ISA = qw(Classes::Bluecoat); +use strict; + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::AVOS::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::AVOS::Component::MemSubsystem"); + } elsif ($self->mode =~ /device::licenses::/) { + $self->analyze_and_check_key_subsystem("Classes::AVOS::Component::KeySubsystem"); + } elsif ($self->mode =~ /device::connections/) { + $self->analyze_and_check_connection_subsystem("Classes::AVOS::Component::ConnectionSubsystem"); + } elsif ($self->mode =~ /device::security/) { + $self->analyze_and_check_security_subsystem("Classes::AVOS::Component::SecuritySubsystem"); + } else { + $self->no_such_mode(); + } +} + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/AVOS/Component/ConnectionSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS/Component/ConnectionSubsystem.pm similarity index 89% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/AVOS/Component/ConnectionSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS/Component/ConnectionSubsystem.pm index 2205138..6042480 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/AVOS/Component/ConnectionSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS/Component/ConnectionSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::AVOS::Component::ConnectionSubsystem; +package Classes::AVOS::Component::ConnectionSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/AVOS/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS/Component/CpuSubsystem.pm similarity index 80% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/AVOS/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS/Component/CpuSubsystem.pm index b6f5dd7..7e62c55 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/AVOS/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS/Component/CpuSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::AVOS::Component::CpuSubsystem; +package Classes::AVOS::Component::CpuSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -8,16 +8,16 @@ sub init { # The new OID is defined as a table 1.3.6.1.4.1.3417.2.11.2.4.1 in the BLUECOAT-SG-PROXY-MIB file with the following sub-OIDs. # https://kb.bluecoat.com/index?page=content&id=FAQ1244&actp=search&viewlocale=en_US&searchid=1360452047002 $self->get_snmp_tables('BLUECOAT-SG-PROXY-MIB', [ - ['cpus', 'sgProxyCpuCoreTable', 'CheckNwcHealth::AVOS::Component::CpuSubsystem::Cpu'], + ['cpus', 'sgProxyCpuCoreTable', 'Classes::AVOS::Component::CpuSubsystem::Cpu'], ]); if (scalar (@{$self->{cpus}}) == 0) { $self->get_snmp_tables('USAGE-MIB', [ - ['cpus', 'deviceUsageTable', 'CheckNwcHealth::AVOS::Component::CpuSubsystem::DevCpu', sub { return shift->{deviceUsageName} =~ /CPU/ }], + ['cpus', 'deviceUsageTable', 'Classes::AVOS::Component::CpuSubsystem::DevCpu', sub { return shift->{deviceUsageName} =~ /CPU/ }], ]); } } -package CheckNwcHealth::AVOS::Component::CpuSubsystem::Cpu; +package Classes::AVOS::Component::CpuSubsystem::Cpu; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -35,7 +35,7 @@ sub check { } -package CheckNwcHealth::AVOS::Component::CpuSubsystem::DevCpu; +package Classes::AVOS::Component::CpuSubsystem::DevCpu; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/AVOS/Component/KeySubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS/Component/KeySubsystem.pm similarity index 92% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/AVOS/Component/KeySubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS/Component/KeySubsystem.pm index 72fe4a4..0a2010d 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/AVOS/Component/KeySubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS/Component/KeySubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::AVOS::Component::KeySubsystem; +package Classes::AVOS::Component::KeySubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/AVOS/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS/Component/MemSubsystem.pm similarity index 91% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/AVOS/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS/Component/MemSubsystem.pm index e1a3570..c12ff54 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/AVOS/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS/Component/MemSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::AVOS::Component::MemSubsystem; +package Classes::AVOS::Component::MemSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -26,12 +26,12 @@ sub init { $self->{deviceUsageStatus} = $_->{deviceUsageStatus}; $self->{deviceUsageTime} = $_->{deviceUsageTime}; } - bless $self, 'CheckNwcHealth::AVOS::Component::MemSubsystem::AVOS3'; + bless $self, 'Classes::AVOS::Component::MemSubsystem::AVOS3'; } } -package CheckNwcHealth::AVOS::Component::MemSubsystem::AVOS3; +package Classes::AVOS::Component::MemSubsystem::AVOS3; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/AVOS/Component/SecuritySubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS/Component/SecuritySubsystem.pm similarity index 89% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/AVOS/Component/SecuritySubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS/Component/SecuritySubsystem.pm index 2ab5e1d..3ab7aa6 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/AVOS/Component/SecuritySubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS/Component/SecuritySubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::AVOS::Component::SecuritySubsystem; +package Classes::AVOS::Component::SecuritySubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel.pm new file mode 100644 index 0000000..a530e52 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel.pm @@ -0,0 +1,15 @@ +package Classes::Alcatel; +our @ISA = qw(Classes::Device); +use strict; + +sub init { + my ($self) = @_; + if ($self->{productname} =~ /AOS.*OAW/i) { + bless $self, 'Classes::Alcatel::OmniAccess'; + $self->debug('using Classes::Alcatel::OmniAccess'); + } + if (ref($self) ne "Classes::Alcatel") { + $self->init(); + } +} + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel/OmniAccess.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess.pm similarity index 53% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel/OmniAccess.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess.pm index 4d7177c..ae717cd 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel/OmniAccess.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess.pm @@ -1,14 +1,14 @@ -package CheckNwcHealth::Alcatel::OmniAccess; -our @ISA = qw(CheckNwcHealth::Alcatel); +package Classes::Alcatel::OmniAccess; +our @ISA = qw(Classes::Alcatel); use strict; sub init { my ($self) = @_; if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Alcatel::OmniAccess::Component::EnvironmentalSubsystem"); + $self->analyze_and_check_environmental_subsystem("Classes::Alcatel::OmniAccess::Component::EnvironmentalSubsystem"); # waere praktischer, aber in diesem fall muss alarmdreck ausgeputzt werden - #$self->analyze_and_check_alarm_subsystem("CheckNwcHealth::ALARMMIB::Component::AlarmSubsystem"); - $self->{components}->{alarm_subsystem} = CheckNwcHealth::ALARMMIB::Component::AlarmSubsystem->new(); + #$self->analyze_and_check_alarm_subsystem("Classes::ALARMMIB::Component::AlarmSubsystem"); + $self->{components}->{alarm_subsystem} = Classes::ALARMMIB::Component::AlarmSubsystem->new(); @{$self->{components}->{alarm_subsystem}->{alarms}} = grep { # accesspoint down und so interface-zeugs interessiert hier nicht, dafuer # gibt's die *accesspoint*- und *interface*-modes @@ -17,13 +17,13 @@ sub init { $self->{components}->{alarm_subsystem}->{stats}->[0]->{alarmActiveStatsActiveCurrent} = scalar(@{$self->{components}->{alarm_subsystem}->{alarms}}); $self->check_alarm_subsystem(); } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::Alcatel::OmniAccess::Component::CpuSubsystem"); + $self->analyze_and_check_cpu_subsystem("Classes::Alcatel::OmniAccess::Component::CpuSubsystem"); } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::Alcatel::OmniAccess::Component::MemSubsystem"); + $self->analyze_and_check_mem_subsystem("Classes::Alcatel::OmniAccess::Component::MemSubsystem"); } elsif ($self->mode =~ /device::wlan/) { - $self->analyze_and_check_wlan_subsystem("CheckNwcHealth::Alcatel::OmniAccess::Component::WlanSubsystem"); + $self->analyze_and_check_wlan_subsystem("Classes::Alcatel::OmniAccess::Component::WlanSubsystem"); } elsif ($self->mode =~ /device::ha::/) { - $self->analyze_and_check_ha_subsystem("CheckNwcHealth::Alcatel::OmniAccess::Component::HaSubsystem"); + $self->analyze_and_check_ha_subsystem("Classes::Alcatel::OmniAccess::Component::HaSubsystem"); } else { $self->no_such_mode(); } diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel/OmniAccess/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/CpuSubsystem.pm similarity index 74% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel/OmniAccess/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/CpuSubsystem.pm index e0cd636..8c545ff 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel/OmniAccess/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/CpuSubsystem.pm @@ -1,16 +1,16 @@ -package CheckNwcHealth::Alcatel::OmniAccess::Component::CpuSubsystem; +package Classes::Alcatel::OmniAccess::Component::CpuSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('WLSX-SYSTEMEXT-MIB', [ - ['memories', 'wlsxSysExtProcessorTable', 'CheckNwcHealth::Alcatel::OmniAccess::Component::CpuSubsystem::Cpu'], + ['memories', 'wlsxSysExtProcessorTable', 'Classes::Alcatel::OmniAccess::Component::CpuSubsystem::Cpu'], ]); } -package CheckNwcHealth::Alcatel::OmniAccess::Component::CpuSubsystem::Cpu; +package Classes::Alcatel::OmniAccess::Component::CpuSubsystem::Cpu; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel/OmniAccess/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/EnvironmentalSubsystem.pm similarity index 79% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel/OmniAccess/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/EnvironmentalSubsystem.pm index 1a45c1c..f95c74e 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel/OmniAccess/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/EnvironmentalSubsystem.pm @@ -1,17 +1,17 @@ -package CheckNwcHealth::Alcatel::OmniAccess::Component::EnvironmentalSubsystem; +package Classes::Alcatel::OmniAccess::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->{fan_subsystem} = - CheckNwcHealth::Alcatel::OmniAccess::Component::FanSubsystem->new(); + Classes::Alcatel::OmniAccess::Component::FanSubsystem->new(); $self->get_snmp_objects('WLSX-SYSTEMEXT-MIB', qw( wlsxSysExtInternalTemparature)); $self->{powersupply_subsystem} = - CheckNwcHealth::Alcatel::OmniAccess::Component::PowersupplySubsystem->new(); + Classes::Alcatel::OmniAccess::Component::PowersupplySubsystem->new(); $self->{storage_subsystem} = - CheckNwcHealth::Alcatel::OmniAccess::Component::StorageSubsystem->new(); + Classes::Alcatel::OmniAccess::Component::StorageSubsystem->new(); } sub check { diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel/OmniAccess/Component/FanSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/FanSubsystem.pm similarity index 63% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel/OmniAccess/Component/FanSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/FanSubsystem.pm index 0ea570c..a3300e9 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel/OmniAccess/Component/FanSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/FanSubsystem.pm @@ -1,15 +1,15 @@ -package CheckNwcHealth::Alcatel::OmniAccess::Component::FanSubsystem; +package Classes::Alcatel::OmniAccess::Component::FanSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('WLSX-SYSTEMEXT-MIB', [ - ['fans', 'wlsxSysExtFanTable', 'CheckNwcHealth::Alcatel::OmniAccess::Component::FanSubsystem::Fan'], + ['fans', 'wlsxSysExtFanTable', 'Classes::Alcatel::OmniAccess::Component::FanSubsystem::Fan'], ]); } -package CheckNwcHealth::Alcatel::OmniAccess::Component::FanSubsystem::Fan; +package Classes::Alcatel::OmniAccess::Component::FanSubsystem::Fan; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel/OmniAccess/Component/HaSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/HaSubsystem.pm similarity index 91% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel/OmniAccess/Component/HaSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/HaSubsystem.pm index 7101ae7..1dea287 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel/OmniAccess/Component/HaSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/HaSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Alcatel::OmniAccess::Component::HaSubsystem; +package Classes::Alcatel::OmniAccess::Component::HaSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel/OmniAccess/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/MemSubsystem.pm similarity index 75% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel/OmniAccess/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/MemSubsystem.pm index 61fbca7..69015b0 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel/OmniAccess/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/MemSubsystem.pm @@ -1,16 +1,16 @@ -package CheckNwcHealth::Alcatel::OmniAccess::Component::MemSubsystem; +package Classes::Alcatel::OmniAccess::Component::MemSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('WLSX-SYSTEMEXT-MIB', [ - ['memories', 'wlsxSysExtMemoryTable', 'CheckNwcHealth::Alcatel::OmniAccess::Component::MemSubsystem::Memory'], + ['memories', 'wlsxSysExtMemoryTable', 'Classes::Alcatel::OmniAccess::Component::MemSubsystem::Memory'], ]); } -package CheckNwcHealth::Alcatel::OmniAccess::Component::MemSubsystem::Memory; +package Classes::Alcatel::OmniAccess::Component::MemSubsystem::Memory; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel/OmniAccess/Component/PowersupplySubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/PowersupplySubsystem.pm similarity index 59% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel/OmniAccess/Component/PowersupplySubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/PowersupplySubsystem.pm index 650819d..33661ec 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel/OmniAccess/Component/PowersupplySubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/PowersupplySubsystem.pm @@ -1,15 +1,15 @@ -package CheckNwcHealth::Alcatel::OmniAccess::Component::PowersupplySubsystem; +package Classes::Alcatel::OmniAccess::Component::PowersupplySubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('WLSX-SYSTEMEXT-MIB', [ - ['powersupplies', 'wlsxSysExtPowerSupplyTable', 'CheckNwcHealth::Alcatel::OmniAccess::Component::PowersupplySubsystem::Powersupply'], + ['powersupplies', 'wlsxSysExtPowerSupplyTable', 'Classes::Alcatel::OmniAccess::Component::PowersupplySubsystem::Powersupply'], ]); } -package CheckNwcHealth::Alcatel::OmniAccess::Component::PowersupplySubsystem::Powersupply; +package Classes::Alcatel::OmniAccess::Component::PowersupplySubsystem::Powersupply; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel/OmniAccess/Component/StorageSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/StorageSubsystem.pm similarity index 74% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel/OmniAccess/Component/StorageSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/StorageSubsystem.pm index a75f83e..ac800d6 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel/OmniAccess/Component/StorageSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/StorageSubsystem.pm @@ -1,16 +1,16 @@ -package CheckNwcHealth::Alcatel::OmniAccess::Component::StorageSubsystem; +package Classes::Alcatel::OmniAccess::Component::StorageSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('WLSX-SYSTEMEXT-MIB', [ - ['storage', 'wlsxSysExtStorageTable', 'CheckNwcHealth::Alcatel::OmniAccess::Component::StorageSubsystem::Storageory'], + ['storage', 'wlsxSysExtStorageTable', 'Classes::Alcatel::OmniAccess::Component::StorageSubsystem::Storageory'], ]); } -package CheckNwcHealth::Alcatel::OmniAccess::Component::StorageSubsystem::Storageory; +package Classes::Alcatel::OmniAccess::Component::StorageSubsystem::Storageory; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel/OmniAccess/Component/WlanSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/WlanSubsystem.pm similarity index 91% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel/OmniAccess/Component/WlanSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/WlanSubsystem.pm index dda5966..170734f 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Alcatel/OmniAccess/Component/WlanSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/WlanSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Alcatel::OmniAccess::Component::WlanSubsystem; +package Classes::Alcatel::OmniAccess::Component::WlanSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -6,7 +6,7 @@ sub init { my ($self) = @_; $self->get_snmp_objects('WLSX-WLAN-MIB', qw(wlsxWlanTotalNumAccessPoints)); $self->get_snmp_tables('WLSX-WLAN-MIB', [ - ['aps', 'wlsxWlanAPTable', 'CheckNwcHealth::Alcatel::OmniAccess::Component::WlanSubsystem::AP', sub { return $self->filter_name(shift->{wlanAPName}) } ], + ['aps', 'wlsxWlanAPTable', 'Classes::Alcatel::OmniAccess::Component::WlanSubsystem::AP', sub { return $self->filter_name(shift->{wlanAPName}) } ], ]); } @@ -73,7 +73,7 @@ sub check { } } -package CheckNwcHealth::Alcatel::OmniAccess::Component::WlanSubsystem::AP; +package Classes::Alcatel::OmniAccess::Component::WlanSubsystem::AP; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AlliedTelesyn.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AlliedTelesyn.pm new file mode 100644 index 0000000..ce73c39 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AlliedTelesyn.pm @@ -0,0 +1,20 @@ +package Classes::AlliedTelesyn; +our @ISA = qw(Classes::Device); +use strict; + +sub init { + my ($self) = @_; + $self->no_such_mode(); + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::AlliedTelesyn::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::AlliedTelesyn::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::AlliedTelesyn::Component::MemSubsystem"); + } elsif ($self->mode =~ /device::hsrp/) { + $self->analyze_and_check_hsrp_subsystem("Classes::HSRP::Component::HSRPSubsystem"); + } else { + $self->no_such_mode(); + } +} + diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Arista.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Arista.pm new file mode 100644 index 0000000..26bac80 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Arista.pm @@ -0,0 +1,40 @@ +package Classes::Arista; +our @ISA = qw(Classes::Device); +use strict; + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + $self->mult_snmp_max_msg_size(10); + $self->analyze_and_check_environmental_subsystem("Classes::Arista::Component::EnvironmentalSubsystem"); + if (! $self->check_messages()) { + $self->clear_messages(0); + $self->add_ok("environmental hardware working fine"); + } + } elsif ($self->mode =~ /device::hardware::load/) { + # CPU util on management plane + # Utilization of CPUs on dataplane that are used for system functions + $self->analyze_and_check_cpu_subsystem("Classes::HOSTRESOURCESMIB::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::HOSTRESOURCESMIB::Component::MemSubsystem"); + } elsif ($self->mode =~ /device::ha::/) { + $self->analyze_and_check_ha_subsystem("Classes::Arista::Component::HaSubsystem"); + } elsif ($self->mode =~ /device::bgp/) { + if ($self->implements_mib('ARISTA-BGP4V2-MIB')) { + $self->analyze_and_check_interface_subsystem("Classes::Arista::ARISTABGP4V2MIB::Component::PeerSubsystem"); + } else { + $self->establish_snmp_secondary_session(); + if ($self->implements_mib('ARISTA-BGP4V2-MIB')) { + $self->analyze_and_check_interface_subsystem("Classes::Arista::ARISTABGP4V2MIB::Component::PeerSubsystem"); + } else { + # na laeggst me aa am ooosch + $self->establish_snmp_session(); + $self->debug("no ARISTA-BGP4V2-MIB, fallback"); + $self->no_such_mode(); + } + } + } else { + $self->no_such_mode(); + } +} + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Arista/ARISTABGP4V2MIB/Components/PeerSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Arista/ARISTABGP4V2MIB/Components/PeerSubsystem.pm similarity index 90% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Arista/ARISTABGP4V2MIB/Components/PeerSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Arista/ARISTABGP4V2MIB/Components/PeerSubsystem.pm index 5f7d298..607b164 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Arista/ARISTABGP4V2MIB/Components/PeerSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Arista/ARISTABGP4V2MIB/Components/PeerSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Arista::ARISTABGP4V2MIB::Component::PeerSubsystem; +package Classes::Arista::ARISTABGP4V2MIB::Component::PeerSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -60,7 +60,7 @@ sub init { $self->{peers} = []; $self->implements_mib('INET-ADDRESS-MIB'); $self->get_snmp_tables('ARISTA-BGP4V2-MIB', [ - ['peers', 'aristaBgp4V2PeerTable+aristaBgp4V2PeerEventTimesTable+aristaBgp4V2PeerErrorsTable', 'CheckNwcHealth::Arista::ARISTABGP4V2MIB::Component::PeerSubsystem::Peer2', sub { + ['peers', 'aristaBgp4V2PeerTable+aristaBgp4V2PeerEventTimesTable+aristaBgp4V2PeerErrorsTable', 'Classes::Arista::ARISTABGP4V2MIB::Component::PeerSubsystem::Peer2', sub { my $o = shift; # regexp -> arschlecken! if ($self->opts->name) { @@ -189,7 +189,7 @@ sub check { if (exists $as_numbers->{$as}) { my $num_peers = scalar(@{$as_numbers->{$as}->{peers}}); my $num_ok_peers = scalar(grep { $_->{aristaBgp4V2PeerFaulty} == 0 } @{$as_numbers->{$as}->{peers}}); - my $num_admdown_peers = scalar(grep { $_->{aristaBgp4V2PeerAdminStatus} eq "halted" } @{$as_numbers->{$as}->{peers}}); + my $num_admdown_peers = scalar(grep { $_->{aristaBgp4V2PeerAdminStatus} eq "stop" } @{$as_numbers->{$as}->{peers}}); $as_numbers->{$as}->{availability} = 100 * $num_ok_peers / $num_peers; $self->set_thresholds(warning => "100:", critical => "50:"); $self->add_message($self->check_thresholds($as_numbers->{$as}->{availability}), @@ -212,7 +212,7 @@ sub check { } -package CheckNwcHealth::Arista::ARISTABGP4V2MIB::Component::PeerSubsystem::Peer2; +package Classes::Arista::ARISTABGP4V2MIB::Component::PeerSubsystem::Peer2; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; @@ -235,13 +235,8 @@ sub finish { ##$self->{aristaBgp4V2PeerLocalAddr} = $self->mibs_and_oids_definition( ## 'INET-ADDRESS-MIB', 'InetAddress', ## $self->{aristaBgp4V2PeerLocalAddr}, $self->{aristaBgp4V2PeerType}) if $self->{aristaBgp4V2PeerLocalAddr}; - # save a valid localaddr and reuse it if empty, works for 5 attempts - $self->protect_value("localaddr_".$self->{aristaBgp4V2PeerRemoteAddr}, - "aristaBgp4V2PeerLocalAddr", sub { - my $value = shift; - return $value ? 1 : 0; - }); - $self->{aristaBgp4V2PeerLocalAddr} = "=empty=" if ! $self->{aristaBgp4V2PeerLocalAddr}; + $self->{aristaBgp4V2PeerLocalAddr} = "999.999.999.999" if ! $self->{aristaBgp4V2PeerLocalAddr}; + $self->{aristaBgp4V2PeerLastError} |= "00 00"; my $errorcode = 0; my $subcode = 0; @@ -249,7 +244,7 @@ sub finish { $errorcode = hex($1) * 1; $subcode = hex($2) * 1; } - $self->{aristaBgp4V2PeerLastError} = $CheckNwcHealth::Arista::ARISTABGP4V2MIB::Component::PeerSubsystem::errorcodes->{$errorcode}->{$subcode}; + $self->{aristaBgp4V2PeerLastError} = $Classes::Arista::ARISTABGP4V2MIB::Component::PeerSubsystem::errorcodes->{$errorcode}->{$subcode}; $self->{aristaBgp4V2PeerRemoteAsName} = ""; $self->{aristaBgp4V2PeerRemoteAsImportant} = 0; # if named in --name2 $self->{aristaBgp4V2PeerFaulty} = 0; @@ -289,11 +284,8 @@ sub check { $self->{aristaBgp4V2PeerState}, $self->{aristaBgp4V2PeerFsmEstablishedTime} ); - } elsif ($self->{aristaBgp4V2PeerAdminStatus} eq "halted" and - $self->{aristaBgp4V2PeerLastError} eq "No Error") { + } elsif ($self->{aristaBgp4V2PeerAdminStatus} eq "stop") { # admin down is by default critical, but can be mitigated - # if there is an error, then the reason for "halted" might be a stop event - # or a timeout causing the FSM to stop. $self->add_message( defined $self->opts->mitigation() ? $self->opts->mitigation() : $self->{aristaBgp4V2PeerRemoteAsImportant} ? WARNING : OK, @@ -307,15 +299,14 @@ sub check { $self->{aristaBgp4V2PeerRemoteAsImportant} ? 1 : 0; } else { # aristaBgp4V2PeerLastError may be undef, at least under the following circumstances - # aristaBgp4V2PeerRemoteAsName is "", aristaBgp4V2PeerAdminStatus is "running", + # aristaBgp4V2PeerRemoteAsName is "", aristaBgp4V2PeerAdminStatus is "start", # aristaBgp4V2PeerState is "active" $self->add_message($self->{aristaBgp4V2PeerRemoteAsImportant} ? CRITICAL : OK, - sprintf "peer %s (AS%s) state is %s (last error: %s, local address: %s)", + sprintf "peer %s (AS%s) state is %s (last error: %s)", $self->{aristaBgp4V2PeerRemoteAddr}, $self->{aristaBgp4V2PeerRemoteAs}.$self->{aristaBgp4V2PeerRemoteAsName}, $self->{aristaBgp4V2PeerState}, - $self->{aristaBgp4V2PeerLastError}||"no error", - $self->{aristaBgp4V2PeerLocalAddr} + $self->{aristaBgp4V2PeerLastError}||"no error" ); $self->{aristaBgp4V2PeerFaulty} = $self->{aristaBgp4V2PeerRemoteAsImportant} ? 1 : 0; } diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Arista/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Arista/Component/EnvironmentalSubsystem.pm new file mode 100644 index 0000000..8718355 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Arista/Component/EnvironmentalSubsystem.pm @@ -0,0 +1,171 @@ +package Classes::Arista::Component::EnvironmentalSubsystem; +our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); +use strict; + +sub init { + my ($self) = @_; + $self->get_snmp_tables('ENTITY-MIB', [ + ['entities', 'entPhysicalTable', + 'Classes::Arista::Component::EnvironmentalSubsystem::Entity', + undef, + ['entPhysicalClass', 'entPhysicalDescr', 'entPhysicalName'] + ], + ]); + $self->get_snmp_tables('ENTITY-SENSOR-MIB', [ + ['sensorvalues', 'entPhySensorTable', 'Monitoring::GLPlugin::SNMP::TableItem'], + ]); + $self->get_snmp_tables('ENTITY-STATE-MIB', [ + ['sensorstates', 'entStateTable', 'Monitoring::GLPlugin::SNMP::TableItem'], + ]); + $self->get_snmp_tables('ARISTA-ENTITY-SENSOR-MIB', [ + ['sensorthresholds', 'aristaEntSensorThresholdTable', 'Monitoring::GLPlugin::SNMP::TableItem'], + ]); + $self->merge_tables("entities", "sensorvalues", "sensorstates", "sensorthresholds"); + foreach (@{$self->{entities}}) { + $_->rebless(); + $_->finish() if $_->can('finish'); + } + @{$self->{entities}} = grep { + ! exists $_->{valid} || $_->{valid}; + } @{$self->{entities}}; +} + +package Classes::Arista::Component::EnvironmentalSubsystem::Entity; +our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); +use strict; + + +sub rebless { + my ($self) = @_; + bless $self, + 'Classes::Arista::Component::EnvironmentalSubsystem::Chassis' if + $self->{entPhysicalClass} eq 'chassis'; + bless $self, + 'Classes::Arista::Component::EnvironmentalSubsystem::Container' if + $self->{entPhysicalClass} eq 'container'; + bless $self, + 'Classes::Arista::Component::EnvironmentalSubsystem::Fan' if + $self->{entPhysicalClass} eq 'fan'; + bless $self, + 'Classes::Arista::Component::EnvironmentalSubsystem::Module' if + $self->{entPhysicalClass} eq 'module'; + bless $self, + 'Classes::Arista::Component::EnvironmentalSubsystem::Port' if + $self->{entPhysicalClass} eq 'port'; + bless $self, + 'Classes::Arista::Component::EnvironmentalSubsystem::Powersupply' if + $self->{entPhysicalClass} eq 'powerSupply'; + bless $self, + 'Classes::Arista::Component::EnvironmentalSubsystem::Sensor' if + $self->{entPhysicalClass} eq 'sensor'; +} + +sub check_state { + my ($self) = @_; + $self->add_info(sprintf "%s is %s (admin %s, oper %s)", + $self->{entPhysicalDescr}, $self->{entStateUsage}, + $self->{entStateAdmin}, $self->{entStateOper}); + if ($self->{entStateAdmin} eq "unlocked") { + if ($self->{entStateOper} eq "enabled") { + if ($self->{entStateUsage} eq "idle") { + $self->add_ok(); + } elsif ($self->{entStateUsage} eq "active") { + $self->add_ok(); + } elsif ($self->{entStateUsage} eq "busy") { + $self->add_warning(); + } else { + $self->add_unknown(); + } + } elsif ($self->{entStateOper} eq "disabled") { + $self->add_critical(); + } else { + $self->add_unknown(); + } + } else { + $self->add_ok(); # admin disabled, ignore + } +} + +package Classes::Arista::Component::EnvironmentalSubsystem::Chassis; +our @ISA = qw(Classes::Arista::Component::EnvironmentalSubsystem::Entity); +use strict; + +package Classes::Arista::Component::EnvironmentalSubsystem::Container; +our @ISA = qw(Classes::Arista::Component::EnvironmentalSubsystem::Entity); +use strict; + +package Classes::Arista::Component::EnvironmentalSubsystem::Fan; +our @ISA = qw(Classes::Arista::Component::EnvironmentalSubsystem::Entity); +use strict; + +sub check { + my ($self) = @_; + $self->check_state(); +} + +package Classes::Arista::Component::EnvironmentalSubsystem::Module; +our @ISA = qw(Classes::Arista::Component::EnvironmentalSubsystem::Entity); +use strict; + +package Classes::Arista::Component::EnvironmentalSubsystem::Port; +our @ISA = qw(Classes::Arista::Component::EnvironmentalSubsystem::Entity); +use strict; + +package Classes::Arista::Component::EnvironmentalSubsystem::Powersupply; +our @ISA = qw(Classes::Arista::Component::EnvironmentalSubsystem::Entity); +use strict; + +sub check { + my ($self) = @_; + $self->check_state(); +} + +package Classes::Arista::Component::EnvironmentalSubsystem::Sensor; +our @ISA = qw(Classes::Arista::Component::EnvironmentalSubsystem::Entity); +use strict; + +sub finish { + my ($self) = @_; + + $self->{valid} = ($self->{entPhySensorValue} == -1000000000 || $self->{entPhySensorValue} == 1000000000) + ? 0 : 1; + foreach (qw(entPhySensorValue + aristaEntSensorThresholdLowWarning aristaEntSensorThresholdHighWarning + aristaEntSensorThresholdLowCritical aristaEntSensorThresholdHighCritical)) { + delete $self->{$_} if defined $self->{$_} && $_ ne 'entPhySensorValue' && + ($self->{$_} == -1000000000 || $self->{$_} == 1000000000); + if ($self->{entPhySensorPrecision} && $self->{$_}) { + $self->{$_} /= 10 ** $self->{entPhySensorPrecision}; + } + } +} + +sub check { + my ($self) = @_; + $self->check_state(); + my ($warn, $crit) = (undef, undef); + if ($self->{aristaEntSensorStatusDescr} =~ /no thresholds/i) { + } else { + $warn = + ($self->{aristaEntSensorThresholdLowWarning} ? + $self->{aristaEntSensorThresholdLowWarning} : '').':'. + ($self->{aristaEntSensorThresholdHighWarning} ? + $self->{aristaEntSensorThresholdHighWarning} : ''); + $crit = + ($self->{aristaEntSensorThresholdLowCritical} ? + $self->{aristaEntSensorThresholdLowCritical} : '').':'. + ($self->{aristaEntSensorThresholdHighCritical} ? + $self->{aristaEntSensorThresholdHighCritical} : ''); + $warn = undef if $warn eq ':'; + $crit = undef if $crit eq ':'; + } + $self->add_thresholds(metric => $self->{entPhysicalDescr}.'_'.$self->{entPhySensorUnitsDisplay}, + warning => $warn, critical => $crit); + $self->add_perfdata( + label => $self->{entPhysicalDescr}.'_'.$self->{entPhySensorUnitsDisplay}, + value => $self->{entPhySensorValue}, + warning => $warn, critical => $crit, + ); +} + + diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/BGP.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/BGP.pm new file mode 100644 index 0000000..398ab2e --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/BGP.pm @@ -0,0 +1,4 @@ +package Classes::BGP; +our @ISA = qw(Classes::Device); +use strict; + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/BGP/Component/PeerSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/BGP/Component/PeerSubsystem.pm similarity index 93% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/BGP/Component/PeerSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/BGP/Component/PeerSubsystem.pm index 03d5774..9615014 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/BGP/Component/PeerSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/BGP/Component/PeerSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::BGP::Component::PeerSubsystem; +package Classes::BGP::Component::PeerSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -57,13 +57,16 @@ our $errorcodes = { sub init { my ($self) = @_; $self->{peers} = []; - $self->bulk_is_baeh(30); if ($self->mode =~ /device::bgp::peer::(list|count|watch)/) { $self->update_entry_cache(1, 'BGP4-MIB', 'bgpPeerTable', 'bgpPeerRemoteAddr'); } - $self->get_snmp_tables('BGP4-MIB', [ - ['peers', 'bgpPeerTable', 'CheckNwcHealth::BGP::Component::PeerSubsystem::Peer', sub { return $self->filter_name(shift->{bgpPeerRemoteAddr}) }, ['bgpPeerAdminStatus', 'bgpPeerFsmEstablishedTime', 'bgpPeerLastError', 'bgpPeerRemoteAddr', 'bgpPeerRemoteAs', 'bgpPeerState'], 'bgpPeerRemoteAddr'], - ]); + foreach ($self->get_snmp_table_objects_with_cache( + 'BGP4-MIB', 'bgpPeerTable', 'bgpPeerRemoteAddr')) { + if ($self->filter_name($_->{bgpPeerRemoteAddr})) { + push(@{$self->{peers}}, + Classes::BGP::Component::PeerSubsystem::Peer->new(%{$_})); + } + } } sub check { @@ -204,7 +207,7 @@ sub check { } -package CheckNwcHealth::BGP::Component::PeerSubsystem::Peer; +package Classes::BGP::Component::PeerSubsystem::Peer; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; @@ -218,7 +221,7 @@ sub finish { $errorcode = hex($1) * 1; $subcode = hex($2) * 1; } - $self->{bgpPeerLastError} = $CheckNwcHealth::BGP::Component::PeerSubsystem::errorcodes->{$errorcode}->{$subcode}; + $self->{bgpPeerLastError} = $Classes::BGP::Component::PeerSubsystem::errorcodes->{$errorcode}->{$subcode}; $self->{bgpPeerRemoteAsName} = ""; $self->{bgpPeerRemoteAsImportant} = 0; # if named in --name2 $self->{bgpPeerFaulty} = 0; @@ -267,7 +270,6 @@ sub check { # bgpPeerLastError may be undef, at least under the following circumstances # bgpPeerRemoteAsName is "", bgpPeerAdminStatus is "start", # bgpPeerState is "active" - # https://community.cisco.com/t5/routing/confirm-quot-active-quot-meaning-in-bgp/td-p/1391629 $self->add_message($self->{bgpPeerRemoteAsImportant} ? CRITICAL : OK, sprintf "peer %s (AS%s) state is %s (last error: %s)", $self->{bgpPeerRemoteAddr}, diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Barracuda.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Barracuda.pm new file mode 100644 index 0000000..d6b60f3 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Barracuda.pm @@ -0,0 +1,24 @@ +package Classes::Barracuda; +our @ISA = qw(Classes::Device); +use strict; + + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::Barracuda::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::UCDMIB::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::UCDMIB::Component::MemSubsystem"); + } elsif ($self->mode =~ /device::fw::policy::connections/) { + $self->analyze_and_check_fw_subsystem("Classes::Barracuda::Component::FwSubsystem"); + } elsif ($self->mode =~ /device::ha::/) { + $self->analyze_and_check_fw_subsystem("Classes::Barracuda::Component::HaSubsystem"); + } else { + # Merkwuerdigerweise gibts ohne das hier einen Timeout bei + # IP-FORWARD-MIB::inetCidrRouteTable und den route-Modi + $self->mult_snmp_max_msg_size(5); + $self->no_such_mode(); + } +} diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Barracuda/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Barracuda/Component/EnvironmentalSubsystem.pm similarity index 76% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Barracuda/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Barracuda/Component/EnvironmentalSubsystem.pm index b7600eb..44ef364 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Barracuda/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Barracuda/Component/EnvironmentalSubsystem.pm @@ -1,36 +1,36 @@ -package CheckNwcHealth::Barracuda::Component::EnvironmentalSubsystem; +package Classes::Barracuda::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('PHION-MIB', [ - ['sensors', 'hwSensorsTable', 'CheckNwcHealth::Barracuda::Component::EnvironmentalSubsystem::Sensor'], - ['partitions', 'diskSpaceTable', 'CheckNwcHealth::Barracuda::Component::EnvironmentalSubsystem::Partition'], - ['raidevents', 'raidEventsTable', 'CheckNwcHealth::Barracuda::Component::EnvironmentalSubsystem::RaidEvent'], + ['sensors', 'hwSensorsTable', 'Classes::Barracuda::Component::EnvironmentalSubsystem::Sensor'], + ['partitions', 'diskSpaceTable', 'Classes::Barracuda::Component::EnvironmentalSubsystem::Partition'], + ['raidevents', 'raidEventsTable', 'Classes::Barracuda::Component::EnvironmentalSubsystem::RaidEvent'], ]); } -package CheckNwcHealth::Barracuda::Component::EnvironmentalSubsystem::Sensor; +package Classes::Barracuda::Component::EnvironmentalSubsystem::Sensor; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; sub finish { my ($self) = @_; if ($self->{hwSensorType} eq "temperature") { - bless $self, "CheckNwcHealth::Barracuda::Component::EnvironmentalSubsystem::Sensor::Temp"; + bless $self, "Classes::Barracuda::Component::EnvironmentalSubsystem::Sensor::Temp"; $self->finish(); } elsif ($self->{hwSensorType} eq "psu-status") { - bless $self, "CheckNwcHealth::Barracuda::Component::EnvironmentalSubsystem::Sensor::PS"; + bless $self, "Classes::Barracuda::Component::EnvironmentalSubsystem::Sensor::PS"; $self->finish(); } elsif ($self->{hwSensorType} eq "fan") { - bless $self, "CheckNwcHealth::Barracuda::Component::EnvironmentalSubsystem::Sensor::Fan"; + bless $self, "Classes::Barracuda::Component::EnvironmentalSubsystem::Sensor::Fan"; $self->finish(); } } -package CheckNwcHealth::Barracuda::Component::EnvironmentalSubsystem::Sensor::PS; +package Classes::Barracuda::Component::EnvironmentalSubsystem::Sensor::PS; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -50,7 +50,7 @@ sub check { } } -package CheckNwcHealth::Barracuda::Component::EnvironmentalSubsystem::Sensor::Temp; +package Classes::Barracuda::Component::EnvironmentalSubsystem::Sensor::Temp; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -84,7 +84,7 @@ sub check { ); } -package CheckNwcHealth::Barracuda::Component::EnvironmentalSubsystem::Sensor::Fan; +package Classes::Barracuda::Component::EnvironmentalSubsystem::Sensor::Fan; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -117,7 +117,7 @@ sub check { ); } -package CheckNwcHealth::Barracuda::Component::EnvironmentalSubsystem::Partition; +package Classes::Barracuda::Component::EnvironmentalSubsystem::Partition; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -147,7 +147,7 @@ sub check { } -package CheckNwcHealth::Barracuda::Component::EnvironmentalSubsystem::RaidEvent; +package Classes::Barracuda::Component::EnvironmentalSubsystem::RaidEvent; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Barracuda/Component/FwSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Barracuda/Component/FwSubsystem.pm similarity index 75% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Barracuda/Component/FwSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Barracuda/Component/FwSubsystem.pm index aeb80a3..9c48ad6 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Barracuda/Component/FwSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Barracuda/Component/FwSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Barracuda::Component::FwSubsystem; +package Classes::Barracuda::Component::FwSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -6,14 +6,14 @@ sub init { my ($self) = @_; if ($self->mode =~ /device::fw::policy::connections/) { $self->get_snmp_tables('PHION-MIB', [ - ['fwstats', 'fwStatsTable', 'CheckNwcHealth::Barracuda::Component::FwSubsystem::FWStat'], + ['fwstats', 'fwStatsTable', 'Classes::Barracuda::Component::FwSubsystem::FWStat'], ]); $self->get_snmp_objects('PHION-MIB', qw(vpnUsers)); } } -package CheckNwcHealth::Barracuda::Component::FwSubsystem::FWStat; +package Classes::Barracuda::Component::FwSubsystem::FWStat; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Barracuda/Component/HaSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Barracuda/Component/HaSubsystem.pm new file mode 100644 index 0000000..c91a2b3 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Barracuda/Component/HaSubsystem.pm @@ -0,0 +1,65 @@ +package Classes::Barracuda::Component::HaSubsystem; +our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); +use strict; +use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::ha::role/) { + $self->get_snmp_tables('PHION-MIB', [ + ['services', 'serverServicesTable', 'Classes::Barracuda::Component::HaSubsystem::Service'], + ]); + if (! $self->opts->role()) { + $self->opts->override_opt('role', 'active'); + } + } +} + +sub check { + my ($self) = @_; + $self->SUPER::check(); + printf "info %s\n", $self->get_info(); + if (! grep { $_->{serverServiceName} eq "SE1FWEXT_FWEXT" } + @{$self->{services}}) { + $self->add_unknown("no service SE1FWEXT_FWEXT found"); + } else { + printf "troet\n"; + } +} + + +package Classes::Barracuda::Component::HaSubsystem::Service; +our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); +use strict; + +sub check { + my ($self) = @_; + if ($self->mode =~ /device::ha::role/) { + if ($self->{serverServiceName} eq "SE1FWEXT_FWEXT") { + $self->add_info(sprintf "%s node, service %s is %s", + $self->opts->role(), $self->{serverServiceName}, + $self->{serverServiceState}); + if ($self->opts->role() eq "active") { + if ($self->{serverServiceState} eq "started") { + $self->add_ok(); + } elsif ($self->{serverServiceState} eq "stopped") { + $self->add_warning(); + } elsif ($self->{serverServiceState} eq "blocked") { + $self->add_critical(); + } else { + $self->add_unknown(); + } + } else { + if ($self->{serverServiceState} eq "stopped") { + $self->add_ok(); + } elsif ($self->{serverServiceState} eq "started") { + $self->add_warning(); + } elsif ($self->{serverServiceState} eq "blocked") { + $self->add_critical(); + } else { + $self->add_unknown(); + } + } + } + } +} diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bintec.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bintec.pm new file mode 100644 index 0000000..f44d29c --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bintec.pm @@ -0,0 +1,4 @@ +package Classes::Bintec; +our @ISA = qw(Classes::Device); +use strict; + diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bintec/Bibo.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bintec/Bibo.pm new file mode 100644 index 0000000..cbec040 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bintec/Bibo.pm @@ -0,0 +1,16 @@ +package Classes::Bintec::Bibo; +our @ISA = qw(Classes::Bintec); +use strict; + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::Bintec::Bibo::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::Bintec::Bibo::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::Bintec::Bibo::Component::MemSubsystem"); + } else { + $self->no_such_mode(); + } +} diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bintec/Bibo/Components/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bintec/Bibo/Components/CpuSubsystem.pm similarity index 83% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bintec/Bibo/Components/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bintec/Bibo/Components/CpuSubsystem.pm index 5442d02..cf716ae 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bintec/Bibo/Components/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bintec/Bibo/Components/CpuSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Bintec::Bibo::Component::CpuSubsystem; +package Classes::Bintec::Bibo::Component::CpuSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -6,12 +6,12 @@ sub init { my ($self) = @_; $self->bulk_is_baeh(); $self->get_snmp_tables('BIANCA-BRICK-MIBRES-MIB', [ - ['cpus', 'cpuTable', 'CheckNwcHealth::Bintec::Bibo::Component::CpuSubsystem::Cpu'], + ['cpus', 'cpuTable', 'Classes::Bintec::Bibo::Component::CpuSubsystem::Cpu'], ]); } -package CheckNwcHealth::Bintec::Bibo::Component::CpuSubsystem::Cpu; +package Classes::Bintec::Bibo::Component::CpuSubsystem::Cpu; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bintec/Bibo/Components/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bintec/Bibo/Components/EnvironmentalSubsystem.pm similarity index 84% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bintec/Bibo/Components/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bintec/Bibo/Components/EnvironmentalSubsystem.pm index 922bda9..2143dc9 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bintec/Bibo/Components/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bintec/Bibo/Components/EnvironmentalSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Bintec::Bibo::Component::EnvironmentalSubsystem; +package Classes::Bintec::Bibo::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bintec/Bibo/Components/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bintec/Bibo/Components/MemSubsystem.pm similarity index 74% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bintec/Bibo/Components/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bintec/Bibo/Components/MemSubsystem.pm index dbb1cc4..ec87745 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bintec/Bibo/Components/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bintec/Bibo/Components/MemSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Bintec::Bibo::Component::MemSubsystem; +package Classes::Bintec::Bibo::Component::MemSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -6,12 +6,12 @@ sub init { my ($self) = @_; $self->bulk_is_baeh(); $self->get_snmp_tables('BIANCA-BRICK-MIBRES-MIB', [ - ['mem', 'memoryTable', 'CheckNwcHealth::Bintec::Bibo::Component::MemSubsystem::Memory'], + ['mem', 'memoryTable', 'Classes::Bintec::Bibo::Component::MemSubsystem::Memory'], ]); } -package CheckNwcHealth::Bintec::Bibo::Component::MemSubsystem::Memory; +package Classes::Bintec::Bibo::Component::MemSubsystem::Memory; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -19,16 +19,16 @@ sub finish { my ($self) = @_; $self->{usage} = $self->{memoryInuse} / $self->{memoryTotal} * 100; - bless $self, "CheckNwcHealth::Bintec::Bibo::Component::MemSubsystem::Memory::Flash" + bless $self, "Classes::Bintec::Bibo::Component::MemSubsystem::Memory::Flash" if $self->{memoryType} eq "flash"; - bless $self, "CheckNwcHealth::Bintec::Bibo::Component::MemSubsystem::Memory::Dram" + bless $self, "Classes::Bintec::Bibo::Component::MemSubsystem::Memory::Dram" if $self->{memoryType} eq "dram"; - bless $self, "CheckNwcHealth::Bintec::Bibo::Component::MemSubsystem::Memory::Dpool" + bless $self, "Classes::Bintec::Bibo::Component::MemSubsystem::Memory::Dpool" if $self->{memoryType} eq "dpool"; } -package CheckNwcHealth::Bintec::Bibo::Component::MemSubsystem::Memory::Flash; +package Classes::Bintec::Bibo::Component::MemSubsystem::Memory::Flash; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -49,7 +49,7 @@ sub check { } -package CheckNwcHealth::Bintec::Bibo::Component::MemSubsystem::Memory::Dram; +package Classes::Bintec::Bibo::Component::MemSubsystem::Memory::Dram; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -69,7 +69,7 @@ sub check { ); } -package CheckNwcHealth::Bintec::Bibo::Component::MemSubsystem::Memory::Dpool; +package Classes::Bintec::Bibo::Component::MemSubsystem::Memory::Dpool; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bluecoat.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bluecoat.pm similarity index 60% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bluecoat.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bluecoat.pm index 9010614..3a0f849 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Bluecoat.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bluecoat.pm @@ -1,5 +1,5 @@ -package CheckNwcHealth::Bluecoat; -our @ISA = qw(CheckNwcHealth::Device); +package Classes::Bluecoat; +our @ISA = qw(Classes::Device); use strict; @@ -8,14 +8,14 @@ sub init { if ($self->{productname} =~ /Blue.*Coat.*(SG\d+|SGOS|ASG)/i) { # product ProxySG Blue Coat SG600 # iso.3.6.1.4.1.3417.2.11.1.3.0 = STRING: "Version: SGOS 5.5.8.1, Release id: 78642 Proxy Edition" - bless $self, 'CheckNwcHealth::SGOS'; - $self->debug('using CheckNwcHealth::SGOS'); + bless $self, 'Classes::SGOS'; + $self->debug('using Classes::SGOS'); } elsif ($self->{productname} =~ /Blue.*Coat.*AV\d+/i) { # product Blue Coat AV510 Series, ProxyAV Version: 3.5.1.1, Release id: 111017 - bless $self, 'CheckNwcHealth::AVOS'; - $self->debug('using CheckNwcHealth::AVOS'); + bless $self, 'Classes::AVOS'; + $self->debug('using Classes::AVOS'); } - if (ref($self) ne "CheckNwcHealth::Bluecoat") { + if (ref($self) ne "Classes::Bluecoat") { $self->init(); } else { $self->no_such_mode(); diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Brocade.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Brocade.pm similarity index 58% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Brocade.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Brocade.pm index bc30619..e0444f2 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Brocade.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Brocade.pm @@ -1,5 +1,5 @@ -package CheckNwcHealth::Brocade; -our @ISA = qw(CheckNwcHealth::Device); +package Classes::Brocade; +our @ISA = qw(Classes::Device); use strict; sub init { @@ -17,22 +17,22 @@ sub init { } } if ($self->{productname} =~ /EMC\s*DS.*4700M/i) { - bless $self, 'CheckNwcHealth::MEOS'; - $self->debug('using CheckNwcHealth::MEOS'); + bless $self, 'Classes::MEOS'; + $self->debug('using Classes::MEOS'); } elsif ($self->{productname} =~ /EMC\s*DS-24M2/i) { - bless $self, 'CheckNwcHealth::MEOS'; - $self->debug('using CheckNwcHealth::MEOS'); + bless $self, 'Classes::MEOS'; + $self->debug('using Classes::MEOS'); } elsif ($self->{productname} =~ /FabOS/i) { - bless $self, 'CheckNwcHealth::FabOS'; - $self->debug('using CheckNwcHealth::FabOS'); + bless $self, 'Classes::FabOS'; + $self->debug('using Classes::FabOS'); } elsif ($self->{productname} =~ /ICX6|FastIron/i) { - bless $self, 'CheckNwcHealth::Foundry'; - $self->debug('using CheckNwcHealth::Foundry'); + bless $self, 'Classes::Foundry'; + $self->debug('using Classes::Foundry'); } elsif ($self->implements_mib('SW-MIB')) { - bless $self, 'CheckNwcHealth::FabOS'; - $self->debug('using CheckNwcHealth::FabOS'); + bless $self, 'Classes::FabOS'; + $self->debug('using Classes::FabOS'); } - if (ref($self) ne "CheckNwcHealth::Brocade") { + if (ref($self) ne "Classes::Brocade") { $self->init(); } else { $self->no_such_mode(); diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint.pm similarity index 55% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint.pm index 472b56e..d6c5801 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint.pm @@ -1,5 +1,5 @@ -package CheckNwcHealth::CheckPoint; -our @ISA = qw(CheckNwcHealth::Device); +package Classes::CheckPoint; +our @ISA = qw(Classes::Device); use strict; use constant trees => ( @@ -10,22 +10,22 @@ sub init { my ($self) = @_; if (defined $self->get_snmp_object('CHECKPOINT-MIB', 'vsxVsInstalled') && $self->get_snmp_object('CHECKPOINT-MIB', 'vsxVsInstalled') != 0) { - bless $self, 'CheckNwcHealth::CheckPoint::VSX'; - $self->debug('using CheckNwcHealth::CheckPoint::VSX'); + bless $self, 'Classes::CheckPoint::VSX'; + $self->debug('using Classes::CheckPoint::VSX'); #} elsif ($self->get_snmp_object('CHECKPOINT-MIB', 'fwProduct') || $self->{productname} =~ /(FireWall\-1\s)|(cpx86_64)|(Linux.*\dcp )/i) { } elsif ($self->get_snmp_object('CHECKPOINT-MIB', 'fwProduct')) { - bless $self, 'CheckNwcHealth::CheckPoint::Firewall1'; - $self->debug('using CheckNwcHealth::CheckPoint::Firewall1'); + bless $self, 'Classes::CheckPoint::Firewall1'; + $self->debug('using Classes::CheckPoint::Firewall1'); } elsif ($self->get_snmp_object('CHECKPOINT-MIB', 'mgProdName')) { - bless $self, 'CheckNwcHealth::CheckPoint::Firewall1'; - $self->debug('using CheckNwcHealth::CheckPoint::Firewall1'); + bless $self, 'Classes::CheckPoint::Firewall1'; + $self->debug('using Classes::CheckPoint::Firewall1'); } elsif ($self->get_snmp_object('CHECKPOINT-MIB', 'osName') && $self->get_snmp_object('CHECKPOINT-MIB', 'osName') =~ /gaia/i) { - bless $self, 'CheckNwcHealth::CheckPoint::Gaia'; - $self->debug('using CheckNwcHealth::CheckPoint::Gaia'); + bless $self, 'Classes::CheckPoint::Gaia'; + $self->debug('using Classes::CheckPoint::Gaia'); } else { $self->no_such_model(); } - if (ref($self) ne "CheckNwcHealth::CheckPoint") { + if (ref($self) ne "Classes::CheckPoint") { $self->init(); } } diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1.pm new file mode 100644 index 0000000..deb61fe --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1.pm @@ -0,0 +1,28 @@ +package Classes::CheckPoint::Firewall1; +our @ISA = qw(Classes::CheckPoint); +use strict; + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::CheckPoint::Firewall1::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::CheckPoint::Firewall1::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::CheckPoint::Firewall1::Component::MemSubsystem"); + } elsif ($self->mode =~ /device::ha::/) { + $self->analyze_and_check_ha_subsystem("Classes::CheckPoint::Firewall1::Component::HaSubsystem"); + } elsif ($self->mode =~ /device::fw::/) { + $self->analyze_and_check_fw_subsystem("Classes::CheckPoint::Firewall1::Component::FwSubsystem"); + } elsif ($self->mode =~ /device::svn::/) { + $self->analyze_and_check_svn_subsystem("Classes::CheckPoint::Firewall1::Component::SvnSubsystem"); + } elsif ($self->mode =~ /device::mngmt::/) { + # not sure if this works fa25239716cb74c672f8dd390430dc4056caffa7 + $self->analyze_and_check_mngmt_subsystem("Classes::CheckPoint::Firewall1::Component::MngmtSubsystem"); + } elsif ($self->mode =~ /device::vpn::status/) { + $self->analyze_and_check_config_subsystem("Classes::CheckPoint::Firewall1::Component::VpnSubsystem"); + } else { + $self->no_such_mode(); + } +} + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/CpuSubsystem.pm similarity index 85% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/CpuSubsystem.pm index bd3df70..1ab65c4 100755 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/CpuSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::CheckPoint::Firewall1::Component::CpuSubsystem; +package Classes::CheckPoint::Firewall1::Component::CpuSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -6,7 +6,7 @@ sub init { my ($self) = @_; $self->get_snmp_objects('CHECKPOINT-MIB', (qw(procUsage procNum))); $self->get_snmp_tables('CHECKPOINT-MIB', [ - ['multiprocs', 'multiProcTable', 'CheckNwcHealth::CheckPoint::Firewall1::Component::CpuSubsystem::MultiProc'], + ['multiprocs', 'multiProcTable', 'Classes::CheckPoint::Firewall1::Component::CpuSubsystem::MultiProc'], ]); $self->{procQueue} = $self->valid_response('CHECKPOINT-MIB', 'procQueue'); } @@ -37,7 +37,7 @@ sub check { } } -package CheckNwcHealth::CheckPoint::Firewall1::Component::CpuSubsystem::MultiProc; +package Classes::CheckPoint::Firewall1::Component::CpuSubsystem::MultiProc; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/DiskSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/DiskSubsystem.pm similarity index 74% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/DiskSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/DiskSubsystem.pm index baca6ad..5e5bc51 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/DiskSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/DiskSubsystem.pm @@ -1,16 +1,16 @@ -package CheckNwcHealth::CheckPoint::Firewall1::Component::DiskSubsystem; +package Classes::CheckPoint::Firewall1::Component::DiskSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('HOST-RESOURCES-MIB', [ - ['storages', 'hrStorageTable', 'CheckNwcHealth::HOSTRESOURCESMIB::Component::DiskSubsystem::Storage', sub { return shift->{hrStorageType} eq 'hrStorageFixedDisk'}], + ['storages', 'hrStorageTable', 'Classes::HOSTRESOURCESMIB::Component::DiskSubsystem::Storage', sub { return shift->{hrStorageType} eq 'hrStorageFixedDisk'}], ]); $self->get_snmp_tables('CHECKPOINT-MIB', [ - ['volumes', 'raidVolumeTable', 'CheckNwcHealth::CheckPoint::Firewall1::Component::DiskSubsystem::Volume'], - ['disks', 'raidDiskTable', 'CheckNwcHealth::CheckPoint::Firewall1::Component::DiskSubsystem::Disk'], - ['multidisks', 'multiDiskTable', 'CheckNwcHealth::CheckPoint::Firewall1::Component::DiskSubsystem::MultiDisk'], + ['volumes', 'raidVolumeTable', 'Classes::CheckPoint::Firewall1::Component::DiskSubsystem::Volume'], + ['disks', 'raidDiskTable', 'Classes::CheckPoint::Firewall1::Component::DiskSubsystem::Disk'], + ['multidisks', 'multiDiskTable', 'Classes::CheckPoint::Firewall1::Component::DiskSubsystem::MultiDisk'], ]); $self->get_snmp_objects('CHECKPOINT-MIB', (qw(diskPercent))); } @@ -46,7 +46,7 @@ sub check { } -package CheckNwcHealth::CheckPoint::Firewall1::Component::DiskSubsystem::Volume; +package Classes::CheckPoint::Firewall1::Component::DiskSubsystem::Volume; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -67,7 +67,7 @@ sub check { } -package CheckNwcHealth::CheckPoint::Firewall1::Component::DiskSubsystem::Disk; +package Classes::CheckPoint::Firewall1::Component::DiskSubsystem::Disk; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -80,7 +80,7 @@ sub check { # warning/critical comes from the volume } -package CheckNwcHealth::CheckPoint::Firewall1::Component::DiskSubsystem::MultiDisk; +package Classes::CheckPoint::Firewall1::Component::DiskSubsystem::MultiDisk; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/EnvironmentalSubsystem.pm similarity index 65% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/EnvironmentalSubsystem.pm index 2a68f91..0612abe 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/EnvironmentalSubsystem.pm @@ -1,21 +1,21 @@ -package CheckNwcHealth::CheckPoint::Firewall1::Component::EnvironmentalSubsystem; +package Classes::CheckPoint::Firewall1::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->{disk_subsystem} = - CheckNwcHealth::CheckPoint::Firewall1::Component::DiskSubsystem->new(); + Classes::CheckPoint::Firewall1::Component::DiskSubsystem->new(); $self->{temperature_subsystem} = - CheckNwcHealth::CheckPoint::Firewall1::Component::TemperatureSubsystem->new(); + Classes::CheckPoint::Firewall1::Component::TemperatureSubsystem->new(); $self->{fan_subsystem} = - CheckNwcHealth::CheckPoint::Firewall1::Component::FanSubsystem->new(); + Classes::CheckPoint::Firewall1::Component::FanSubsystem->new(); $self->{voltage_subsystem} = - CheckNwcHealth::CheckPoint::Firewall1::Component::VoltageSubsystem->new(); + Classes::CheckPoint::Firewall1::Component::VoltageSubsystem->new(); $self->{powersupply_subsystem} = - CheckNwcHealth::CheckPoint::Firewall1::Component::PowersupplySubsystem->new(); + Classes::CheckPoint::Firewall1::Component::PowersupplySubsystem->new(); $self->{clock_subsystem} = - CheckNwcHealth::HOSTRESOURCESMIB::Component::ClockSubsystem->new(); + Classes::HOSTRESOURCESMIB::Component::ClockSubsystem->new(); } sub check { diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/FanSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/FanSubsystem.pm similarity index 77% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/FanSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/FanSubsystem.pm index 80117ff..beaa575 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/FanSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/FanSubsystem.pm @@ -1,11 +1,11 @@ -package CheckNwcHealth::CheckPoint::Firewall1::Component::FanSubsystem; +package Classes::CheckPoint::Firewall1::Component::FanSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('CHECKPOINT-MIB', [ - ['fans', 'fanSpeedSensorTable', 'CheckNwcHealth::CheckPoint::Firewall1::Component::FanSubsystem::Fan'], + ['fans', 'fanSpeedSensorTable', 'Classes::CheckPoint::Firewall1::Component::FanSubsystem::Fan'], ]); } @@ -17,7 +17,7 @@ sub check { } -package CheckNwcHealth::CheckPoint::Firewall1::Component::FanSubsystem::Fan; +package Classes::CheckPoint::Firewall1::Component::FanSubsystem::Fan; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/FwSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/FwSubsystem.pm similarity index 95% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/FwSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/FwSubsystem.pm index 289b516..50d27fe 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/FwSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/FwSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::CheckPoint::Firewall1::Component::FwSubsystem; +package Classes::CheckPoint::Firewall1::Component::FwSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/HaSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/HaSubsystem.pm similarity index 90% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/HaSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/HaSubsystem.pm index 3c0abe0..586b783 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/HaSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/HaSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::CheckPoint::Firewall1::Component::HaSubsystem; +package Classes::CheckPoint::Firewall1::Component::HaSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; @@ -15,7 +15,7 @@ sub init { $self->get_snmp_objects('CHECKPOINT-MIB', (qw( haStarted haStatShort haStatLong))); $self->get_snmp_tables('CHECKPOINT-MIB', [ - ['problems', 'haProblemTable', 'CheckNwcHealth::CheckPoint::Firewall1::Component::HaSubsystem::Problem'], + ['problems', 'haProblemTable', 'Classes::CheckPoint::Firewall1::Component::HaSubsystem::Problem'], ]); } } @@ -66,7 +66,7 @@ sub check { } -package CheckNwcHealth::CheckPoint::Firewall1::Component::HaSubsystem::Problem; +package Classes::CheckPoint::Firewall1::Component::HaSubsystem::Problem; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/MemSubsystem.pm similarity index 90% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/MemSubsystem.pm index 922d92c..689a563 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/MemSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::CheckPoint::Firewall1::Component::MemSubsystem; +package Classes::CheckPoint::Firewall1::Component::MemSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/MngmtSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/MngmtSubsystem.pm similarity index 75% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/MngmtSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/MngmtSubsystem.pm index b6ac339..c4a58b3 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/MngmtSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/MngmtSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::CheckPoint::Firewall1::Component::MngmtSubsystem; +package Classes::CheckPoint::Firewall1::Component::MngmtSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -16,8 +16,6 @@ sub check { if ($self->mode =~ /device::mngmt::status/) { if (! defined $self->{mgStatShortDescr}) { $self->add_unknown('management mib is not implemented'); - } elsif ($self->{mgStatShortDescr} =~ /certificate is valid\s*$/) { - $self->add_ok(sprintf 'status of management is %s', $self->{mgStatLongDescr}); } elsif ($self->{mgStatShortDescr} ne 'OK') { $self->add_critical(sprintf 'status of management is %s', $self->{mgStatLongDescr}); } else { diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/PowersupplySubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/PowersupplySubsystem.pm similarity index 68% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/PowersupplySubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/PowersupplySubsystem.pm index bee7e7a..7f4e5a8 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/PowersupplySubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/PowersupplySubsystem.pm @@ -1,15 +1,15 @@ -package CheckNwcHealth::CheckPoint::Firewall1::Component::PowersupplySubsystem; +package Classes::CheckPoint::Firewall1::Component::PowersupplySubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('CHECKPOINT-MIB', [ - ['powersupplies', 'powerSupplyTable', 'CheckNwcHealth::CheckPoint::Firewall1::Component::PowersupplySubsystem::Powersupply'], + ['powersupplies', 'powerSupplyTable', 'Classes::CheckPoint::Firewall1::Component::PowersupplySubsystem::Powersupply'], ]); } -package CheckNwcHealth::CheckPoint::Firewall1::Component::PowersupplySubsystem::Powersupply; +package Classes::CheckPoint::Firewall1::Component::PowersupplySubsystem::Powersupply; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/SvnSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/SvnSubsystem.pm similarity index 89% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/SvnSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/SvnSubsystem.pm index 2e4bdd1..197ca0d 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/SvnSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/SvnSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::CheckPoint::Firewall1::Component::SvnSubsystem; +package Classes::CheckPoint::Firewall1::Component::SvnSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/TemperatureSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/TemperatureSubsystem.pm similarity index 75% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/TemperatureSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/TemperatureSubsystem.pm index b41805e..74daf9d 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/TemperatureSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/TemperatureSubsystem.pm @@ -1,11 +1,11 @@ -package CheckNwcHealth::CheckPoint::Firewall1::Component::TemperatureSubsystem; +package Classes::CheckPoint::Firewall1::Component::TemperatureSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('CHECKPOINT-MIB', [ - ['temperatures', 'tempertureSensorTable', 'CheckNwcHealth::CheckPoint::Firewall1::Component::TemperatureSubsystem::Temperature'], + ['temperatures', 'tempertureSensorTable', 'Classes::CheckPoint::Firewall1::Component::TemperatureSubsystem::Temperature'], ]); } @@ -17,7 +17,7 @@ sub check { } -package CheckNwcHealth::CheckPoint::Firewall1::Component::TemperatureSubsystem::Temperature; +package Classes::CheckPoint::Firewall1::Component::TemperatureSubsystem::Temperature; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/VoltageSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/VoltageSubsystem.pm similarity index 76% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/VoltageSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/VoltageSubsystem.pm index 5013350..6202ef7 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/VoltageSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/VoltageSubsystem.pm @@ -1,11 +1,11 @@ -package CheckNwcHealth::CheckPoint::Firewall1::Component::VoltageSubsystem; +package Classes::CheckPoint::Firewall1::Component::VoltageSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('CHECKPOINT-MIB', [ - ['voltages', 'voltageSensorTable', 'CheckNwcHealth::CheckPoint::Firewall1::Component::VoltageSubsystem::Voltage'], + ['voltages', 'voltageSensorTable', 'Classes::CheckPoint::Firewall1::Component::VoltageSubsystem::Voltage'], ]); } @@ -17,7 +17,7 @@ sub check { } -package CheckNwcHealth::CheckPoint::Firewall1::Component::VoltageSubsystem::Voltage; +package Classes::CheckPoint::Firewall1::Component::VoltageSubsystem::Voltage; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/VpnSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/VpnSubsystem.pm similarity index 67% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/VpnSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/VpnSubsystem.pm index 22b8b76..1c6f4c6 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/Firewall1/Component/VpnSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/VpnSubsystem.pm @@ -1,12 +1,12 @@ -package CheckNwcHealth::CheckPoint::Firewall1::Component::VpnSubsystem; +package Classes::CheckPoint::Firewall1::Component::VpnSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('CHECKPOINT-MIB', [ - ['tunnels', 'tunnelTable', 'CheckNwcHealth::CheckPoint::Firewall1::Component::VpnSubsystem::Tunnel', sub { my ($o) = @_; $o->filter_name($o->{tunnelPeerIpAddr}) || $o->filter_name($o->{tunnelPeerObjName}) } ], - ['permanenttunnels', 'permanentTunnelTable', 'CheckNwcHealth::CheckPoint::Firewall1::Component::VpnSubsystem::PermanentTunnel', sub { my ($o) = @_; $o->filter_name($o->{permanentTunnelPeerIpAddr}) || $o->filter_name($o->{permanentTunnelPeerObjName}) } ], + ['tunnels', 'tunnelTable', 'Classes::CheckPoint::Firewall1::Component::VpnSubsystem::Tunnel', sub { my ($o) = @_; $o->filter_name($o->{tunnelPeerIpAddr}) || $o->filter_name($o->{tunnelPeerObjName}) } ], + ['permanenttunnels', 'permanentTunnelTable', 'Classes::CheckPoint::Firewall1::Component::VpnSubsystem::PermanentTunnel', sub { my ($o) = @_; $o->filter_name($o->{permanentTunnelPeerIpAddr}) || $o->filter_name($o->{permanentTunnelPeerObjName}) } ], ]); } @@ -20,7 +20,7 @@ sub check { } -package CheckNwcHealth::CheckPoint::Firewall1::Component::VpnSubsystem::Tunnel; +package Classes::CheckPoint::Firewall1::Component::VpnSubsystem::Tunnel; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -45,8 +45,8 @@ sub check { } } -package CheckNwcHealth::CheckPoint::Firewall1::Component::VpnSubsystem::PermanentTunnel; -our @ISA = qw(CheckNwcHealth::CheckPoint::Firewall1::Component::VpnSubsystem::Tunnel); +package Classes::CheckPoint::Firewall1::Component::VpnSubsystem::PermanentTunnel; +our @ISA = qw(Classes::CheckPoint::Firewall1::Component::VpnSubsystem::Tunnel); use strict; sub finish { diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Gaia.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Gaia.pm new file mode 100644 index 0000000..a13b27b --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Gaia.pm @@ -0,0 +1,12 @@ +package Classes::CheckPoint::Gaia; +our @ISA = qw(Classes::CheckPoint::Firewall1); +use strict; + +sub xinit { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::CheckPoint::Firewall1::Component::EnvironmentalSubsystem"); + $self->no_such_mode(); + } +} + diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/VSX.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/VSX.pm new file mode 100644 index 0000000..6ef8b9f --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/VSX.pm @@ -0,0 +1,26 @@ +package Classes::CheckPoint::VSX; +our @ISA = qw(Classes::CheckPoint); +use strict; + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::CheckPoint::Firewall1::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::CheckPoint::Firewall1::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::CheckPoint::Firewall1::Component::MemSubsystem"); + } elsif ($self->mode =~ /device::ha::/) { + $self->analyze_and_check_ha_subsystem("Classes::CheckPoint::Firewall1::Component::HaSubsystem"); + } elsif ($self->mode =~ /device::fw::/) { + $self->analyze_and_check_fw_subsystem("Classes::CheckPoint::VSX::Component::FwSubsystem"); + } elsif ($self->mode =~ /device::svn::/) { + $self->analyze_and_check_svn_subsystem("Classes::CheckPoint::Firewall1::Component::SvnSubsystem"); + } elsif ($self->mode =~ /device::mngmt::/) { + # not sure if this works fa25239716cb74c672f8dd390430dc4056caffa7 + $self->analyze_and_check_mngmt_subsystem("Classes::CheckPoint::Firewall1::Component::MngmtSubsystem"); + } else { + $self->no_such_mode(); + } +} + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/VSX/Component/FwSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/VSX/Component/FwSubsystem.pm similarity index 91% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/VSX/Component/FwSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/VSX/Component/FwSubsystem.pm index c6225c6..2464ef9 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/CheckPoint/VSX/Component/FwSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/VSX/Component/FwSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::CheckPoint::VSX::Component::FwSubsystem; +package Classes::CheckPoint::VSX::Component::FwSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -9,7 +9,7 @@ sub init { if ($self->mode =~ /device::fw::policy::installed/) { } elsif ($self->mode =~ /device::fw::policy::connections/) { $self->get_snmp_tables('CHECKPOINT-MIB', [ - ['vsxs', 'vsxCountersTable', 'CheckNwcHealth::CheckPoint::VSX::Component::FwSubsystem::Vsx'], + ['vsxs', 'vsxCountersTable', 'Classes::CheckPoint::VSX::Component::FwSubsystem::Vsx'], ['vsxstatus', 'vsxStatusTable', 'Monitoring::GLPlugin::SNMP::TableItem'], ]); foreach my $vsx (@{$self->{vsxs}}) { @@ -59,7 +59,7 @@ sub check { } } -package CheckNwcHealth::CheckPoint::VSX::Component::FwSubsystem::Vsx; +package Classes::CheckPoint::VSX::Component::FwSubsystem::Vsx; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco.pm new file mode 100644 index 0000000..0114886 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco.pm @@ -0,0 +1,80 @@ +package Classes::Cisco; +our @ISA = qw(Classes::Device); +use strict; + +sub init { + my ($self) = @_; + if ($self->{productname} =~ /Cisco NX-OS/i) { + $self->rebless('Classes::Cisco::NXOS'); + } elsif ($self->{productname} =~ /Cisco Controller/i || + $self->implements_mib('AIRESPACE-SWITCHING-MIB')) { + # die AIRESPACE-WIRELESS-MIB haben manchmal auch stinknormale Switche, + # das hat also nichts zu sagen. SWITCHING ist entscheidend. + $self->rebless('Classes::Cisco::WLC'); + } elsif ($self->{productname} =~ /Cisco.*(IronPort|AsyncOS)/i) { + $self->rebless('Classes::Cisco::AsyncOS'); + } elsif ($self->{productname} =~ /Cisco.*Prime Network Control System/i) { + $self->rebless('Classes::Cisco::PrimeNCS'); + } elsif ($self->{productname} =~ /UCOS /i) { + $self->rebless('Classes::Cisco::UCOS'); + } elsif ($self->{productname} =~ /Cisco (PIX|Adaptive) Security Appliance/i) { + $self->rebless('Classes::Cisco::ASA'); + } elsif ($self->{productname} =~ /Cisco/i) { + $self->rebless('Classes::Cisco::IOS'); + } elsif ($self->{productname} =~ /Fujitsu Intelligent Blade Panel 30\/12/i) { + $self->rebless('Classes::Cisco::IOS'); + } elsif ($self->get_snmp_object('MIB-2-MIB', 'sysObjectID', 0) eq '1.3.6.1.4.1.9.1.1348') { + $self->rebless('Classes::Cisco::CCM'); + } elsif ($self->get_snmp_object('MIB-2-MIB', 'sysObjectID', 0) eq '1.3.6.1.4.1.9.1.746') { + $self->rebless('Classes::Cisco::CCM'); + } elsif ($self->get_snmp_object('MIB-2-MIB', 'sysObjectID', 0) =~ /.1.3.6.1.4.1.9.6.1.83/) { + $self->rebless('Classes::Cisco::SB'); + } + if (ref($self) ne "Classes::Cisco") { + if ($self->mode =~ /device::bgp/) { + if ($self->implements_mib('CISCO-BGP4-MIB', 'cbgpPeer2Table')) { + $self->analyze_and_check_interface_subsystem("Classes::Cisco::CISCOBGP4MIB::Component::PeerSubsystem"); + } else { + $self->establish_snmp_secondary_session(); + if ($self->implements_mib('CISCO-BGP4-MIB', 'cbgpPeer2Table')) { + $self->analyze_and_check_interface_subsystem("Classes::Cisco::CISCOBGP4MIB::Component::PeerSubsystem"); + } else { + $self->establish_snmp_session(); + $self->debug("no CISCO-BGP4-MIB and/or no cbgpPeer2Table, fallback"); + $self->no_such_mode(); + } + } + } elsif ($self->mode =~ /device::eigrp/) { + if ($self->implements_mib('CISCO-EIGRP-MIB')) { + $self->analyze_and_check_interface_subsystem("Classes::Cisco::EIGRPMIB::Component::PeerSubsystem"); + } else { + $self->no_such_mode(); + } + } elsif ($self->mode =~ /device::interfaces::etherstats/) { + if ($self->implements_mib('OLD-CISCO-INTERFACES-MIB')) { + $self->analyze_and_check_interface_subsystem("Classes::Cisco::OLDCISCOINTERFACESMIB::Component::InterfaceSubsystem"); + } else { + $self->no_such_mode(); + } + } elsif ($self->mode =~ /device::interfaces::portsecurity/) { + if ($self->implements_mib('CISCO-PORT-SECURITY-MIB')) { + $self->analyze_and_check_interface_subsystem("Classes::Cisco::CISCOPORTSECURITYMIB::Component::InterfaceSubsystem"); + } else { + $self->no_such_mode(); + } + } else { + $self->init(); + if ($self->mode =~ /device::interfaces::ifstack::status/ && + $self->{productname} =~ /IOS.*((12.0\(25\)SX3)|(12.0S)|(12.1E)|(12.2)|(12.2S)|(12.3))/) { + # known bug in this ios release. CSCed67708 + my ($code, $msg) = $self->check_messages(join => ', ', join_all => ', '); + if ($code == 1 && $msg =~ /^(([^,]+? has stack status active but no sub-layer interfaces(, )*)+)$/) { + $self->override_opt('negate', {'warning' => 'ok'}); + } + } + } + } else { + $self->no_such_mode(); + } +} + diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/ASA.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/ASA.pm new file mode 100644 index 0000000..52fab0b --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/ASA.pm @@ -0,0 +1,43 @@ +package Classes::Cisco::ASA; +our @ISA = qw(Classes::Cisco); +use strict; + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::Cisco::CISCOENTITYALARMMIB::Component::AlarmSubsystem"); + $self->analyze_and_check_environmental_subsystem("Classes::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem"); + $self->analyze_and_check_environmental_subsystem("Classes::ENTITYSENSORMIB::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::Cisco::IOS::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::Cisco::IOS::Component::MemSubsystem"); + } elsif ($self->mode =~ /device::hsrp/) { + $self->analyze_and_check_hsrp_subsystem("Classes::HSRP::Component::HSRPSubsystem"); + } elsif ($self->mode =~ /device::users/ || $self->mode =~ /device::connections/) { + # das war frueher "users". seit 6c70c2627e53cce991181369456c03f630f90f71 + # ist count-connections kein alias von count-users mehr, sondern ein + # eigenstaendiger mode. fuehrte dazu, dass count-connections hier unten + # in no_such_mode reinlief. daher dieses users||connections. + # weil es sich bei asa tatsaechlich eher um connections als users handelt, + # waere es sauber, das users rauszuwerfen, allerdings wuerde das dann + # bei denen krachen, die count-users verwenden. + $self->analyze_and_check_connection_subsystem("Classes::Cisco::IOS::Component::ConnectionSubsystem"); + } elsif ($self->mode =~ /device::config/) { + $self->analyze_and_check_config_subsystem("Classes::Cisco::IOS::Component::ConfigSubsystem"); + } elsif ($self->mode =~ /device::interfaces::nat::sessions::count/) { + $self->analyze_and_check_config_subsystem("Classes::Cisco::IOS::Component::NatSubsystem"); + } elsif ($self->mode =~ /device::interfaces::nat::rejects/) { + $self->analyze_and_check_config_subsystem("Classes::Cisco::IOS::Component::NatSubsystem"); + } elsif ($self->mode =~ /device::vpn::status/) { + $self->analyze_and_check_config_subsystem("Classes::Cisco::CISCOIPSECFLOWMONITOR::Component::VpnSubsystem"); + } elsif ($self->mode =~ /device::vpn::sessions/) { + $self->analyze_and_check_config_subsystem("Classes::Cisco::CISCOREMOTEACCESSMONITORMIB::Component::VpnSubsystem"); + } elsif ($self->mode =~ /device::ha::role/) { + $self->analyze_and_check_config_subsystem("Classes::Cisco::IOS::Component::HaSubsystem"); + } else { + $self->no_such_mode(); + } +} + + diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS.pm new file mode 100644 index 0000000..041be3f --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS.pm @@ -0,0 +1,19 @@ +package Classes::Cisco::AsyncOS; +our @ISA = qw(Classes::Cisco); +use strict; + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::Cisco::AsyncOS::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::Cisco::AsyncOS::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::Cisco::AsyncOS::Component::MemSubsystem"); + } elsif ($self->mode =~ /device::licenses::/) { + $self->analyze_and_check_key_subsystem("Classes::Cisco::AsyncOS::Component::KeySubsystem"); + } else { + $self->no_such_mode(); + } +} + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/AsyncOS/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/CpuSubsystem.pm similarity index 90% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/AsyncOS/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/CpuSubsystem.pm index e167a31..0e4559d 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/AsyncOS/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/CpuSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Cisco::AsyncOS::Component::CpuSubsystem; +package Classes::Cisco::AsyncOS::Component::CpuSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/AsyncOS/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/EnvironmentalSubsystem.pm similarity index 68% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/AsyncOS/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/EnvironmentalSubsystem.pm index b57ebd8..9e25963 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/AsyncOS/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/EnvironmentalSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Cisco::AsyncOS::Component::EnvironmentalSubsystem; +package Classes::Cisco::AsyncOS::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -8,13 +8,13 @@ sub init { # 1.3.6.1.4.1.9.9.13.1.1.0 ciscoEnvMonPresent (irgendein typ of envmon) # $self->{fan_subsystem} = - CheckNwcHealth::Cisco::AsyncOS::Component::FanSubsystem->new(); + Classes::Cisco::AsyncOS::Component::FanSubsystem->new(); $self->{temperature_subsystem} = - CheckNwcHealth::Cisco::AsyncOS::Component::TemperatureSubsystem->new(); + Classes::Cisco::AsyncOS::Component::TemperatureSubsystem->new(); $self->{powersupply_subsystem} = - CheckNwcHealth::Cisco::AsyncOS::Component::PowersupplySubsystem->new(); + Classes::Cisco::AsyncOS::Component::PowersupplySubsystem->new(); $self->{raid_subsystem} = - CheckNwcHealth::Cisco::AsyncOS::Component::RaidSubsystem->new(); + Classes::Cisco::AsyncOS::Component::RaidSubsystem->new(); } sub check { diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/AsyncOS/Component/FanSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/FanSubsystem.pm similarity index 69% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/AsyncOS/Component/FanSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/FanSubsystem.pm index c94f4a0..e3f0641 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/AsyncOS/Component/FanSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/FanSubsystem.pm @@ -1,15 +1,15 @@ -package CheckNwcHealth::Cisco::AsyncOS::Component::FanSubsystem; +package Classes::Cisco::AsyncOS::Component::FanSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('ASYNCOS-MAIL-MIB', [ - ['fans', 'fanTable', 'CheckNwcHealth::Cisco::AsyncOS::Component::FanSubsystem::Fan'], + ['fans', 'fanTable', 'Classes::Cisco::AsyncOS::Component::FanSubsystem::Fan'], ]); } -package CheckNwcHealth::Cisco::AsyncOS::Component::FanSubsystem::Fan; +package Classes::Cisco::AsyncOS::Component::FanSubsystem::Fan; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/AsyncOS/Component/KeySubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/KeySubsystem.pm similarity index 83% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/AsyncOS/Component/KeySubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/KeySubsystem.pm index ac19df1..7d6a6ad 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/AsyncOS/Component/KeySubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/KeySubsystem.pm @@ -1,15 +1,15 @@ -package CheckNwcHealth::Cisco::AsyncOS::Component::KeySubsystem; +package Classes::Cisco::AsyncOS::Component::KeySubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('ASYNCOS-MAIL-MIB', [ - ['keys', 'keyExpirationTable', 'CheckNwcHealth::Cisco::AsyncOS::Component::KeySubsystem::Key'], + ['keys', 'keyExpirationTable', 'Classes::Cisco::AsyncOS::Component::KeySubsystem::Key'], ]); } -package CheckNwcHealth::Cisco::AsyncOS::Component::KeySubsystem::Key; +package Classes::Cisco::AsyncOS::Component::KeySubsystem::Key; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/MemSubsystem.pm new file mode 100644 index 0000000..3902792 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/MemSubsystem.pm @@ -0,0 +1,34 @@ +package Classes::Cisco::AsyncOS::Component::MemSubsystem; +our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); +use strict; + +sub init { + my ($self) = @_; + $self->get_snmp_objects('ASYNCOS-MAIL-MIB', (qw( + perCentMemoryUtilization memoryAvailabilityStatus))); +} + +sub check { + my ($self) = @_; + $self->add_info('checking memory'); + $self->add_info(sprintf 'memory usage is %.2f%% (%s)', + $self->{perCentMemoryUtilization}, $self->{memoryAvailabilityStatus}); + $self->set_thresholds(warning => 80, critical => 90); + if ($self->check_thresholds($self->{perCentMemoryUtilization})) { + $self->add_message($self->check_thresholds($self->{perCentMemoryUtilization})); + } elsif ($self->{memoryAvailabilityStatus} eq 'memoryShortage') { + $self->add_warning(); + $self->set_thresholds(warning => $self->{perCentMemoryUtilization}, critical => 90); + } elsif ($self->{memoryAvailabilityStatus} eq 'memoryFull') { + $self->add_critical(); + $self->set_thresholds(warning => 80, critical => $self->{perCentMemoryUtilization}); + } else { + $self->add_ok(); + } + $self->add_perfdata( + label => 'memory_usage', + value => $self->{perCentMemoryUtilization}, + uom => '%', + ); +} + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/AsyncOS/Component/PowersupplySubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/PowersupplySubsystem.pm similarity index 67% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/AsyncOS/Component/PowersupplySubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/PowersupplySubsystem.pm index 2371b04..1ae8614 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/AsyncOS/Component/PowersupplySubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/PowersupplySubsystem.pm @@ -1,15 +1,15 @@ -package CheckNwcHealth::Cisco::AsyncOS::Component::PowersupplySubsystem; +package Classes::Cisco::AsyncOS::Component::PowersupplySubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('ASYNCOS-MAIL-MIB', [ - ['supplies', 'powerSupplyTable', 'CheckNwcHealth::Cisco::AsyncOS::Component::PowersupplySubsystem::Powersupply'], + ['supplies', 'powerSupplyTable', 'Classes::Cisco::AsyncOS::Component::PowersupplySubsystem::Powersupply'], ]); } -package CheckNwcHealth::Cisco::AsyncOS::Component::PowersupplySubsystem::Powersupply; +package Classes::Cisco::AsyncOS::Component::PowersupplySubsystem::Powersupply; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/AsyncOS/Component/RaidSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/RaidSubsystem.pm similarity index 73% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/AsyncOS/Component/RaidSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/RaidSubsystem.pm index 3a8b3d7..50f8997 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/AsyncOS/Component/RaidSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/RaidSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Cisco::AsyncOS::Component::RaidSubsystem; +package Classes::Cisco::AsyncOS::Component::RaidSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -7,11 +7,11 @@ sub init { $self->get_snmp_objects('ASYNCOS-MAIL-MIB', (qw( raidEvents))); $self->get_snmp_tables('ASYNCOS-MAIL-MIB', [ - ['raids', 'raidTable', 'CheckNwcHealth::Cisco::AsyncOS::Component::RaidSubsystem::Raid'], + ['raids', 'raidTable', 'Classes::Cisco::AsyncOS::Component::RaidSubsystem::Raid'], ]); } -package CheckNwcHealth::Cisco::AsyncOS::Component::RaidSubsystem::Raid; +package Classes::Cisco::AsyncOS::Component::RaidSubsystem::Raid; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/AsyncOS/Component/TemperatureSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/TemperatureSubsystem.pm similarity index 72% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/AsyncOS/Component/TemperatureSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/TemperatureSubsystem.pm index 28e3d04..aded53f 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/AsyncOS/Component/TemperatureSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/TemperatureSubsystem.pm @@ -1,15 +1,15 @@ -package CheckNwcHealth::Cisco::AsyncOS::Component::TemperatureSubsystem; +package Classes::Cisco::AsyncOS::Component::TemperatureSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('ASYNCOS-MAIL-MIB', [ - ['temperatures', 'temperatureTable', 'CheckNwcHealth::Cisco::AsyncOS::Component::TemperatureSubsystem::Temperature'], + ['temperatures', 'temperatureTable', 'Classes::Cisco::AsyncOS::Component::TemperatureSubsystem::Temperature'], ]); } -package CheckNwcHealth::Cisco::AsyncOS::Component::TemperatureSubsystem::Temperature; +package Classes::Cisco::AsyncOS::Component::TemperatureSubsystem::Temperature; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CCM.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CCM.pm new file mode 100644 index 0000000..2161edc --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CCM.pm @@ -0,0 +1,21 @@ +package Classes::Cisco::CCM; +our @ISA = qw(Classes::Cisco); +use strict; + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::HOSTRESOURCESMIB::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::HOSTRESOURCESMIB::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::HOSTRESOURCESMIB::Component::MemSubsystem"); + } elsif ($self->mode =~ /device::phone::cm/) { + $self->analyze_and_check_cm_subsystem("Classes::Cisco::CCM::Component::CmSubsystem"); + } elsif ($self->mode =~ /device::phone/) { + $self->analyze_and_check_phone_subsystem("Classes::Cisco::CCM::Component::PhoneSubsystem"); + } else { + $self->no_such_mode(); + } +} + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CCM/Component/CmSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CCM/Component/CmSubsystem.pm similarity index 77% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CCM/Component/CmSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CCM/Component/CmSubsystem.pm index 7f35819..b28961f 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CCM/Component/CmSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CCM/Component/CmSubsystem.pm @@ -1,11 +1,11 @@ -package CheckNwcHealth::Cisco::CCM::Component::CmSubsystem; +package Classes::Cisco::CCM::Component::CmSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('CISCO-CCM-MIB', [ - ['ccms', 'ccmTable', 'CheckNwcHealth::Cisco::CCM::Component::CmSubsystem::Cm'], + ['ccms', 'ccmTable', 'Classes::Cisco::CCM::Component::CmSubsystem::Cm'], ]); } @@ -22,7 +22,7 @@ sub check { } -package CheckNwcHealth::Cisco::CCM::Component::CmSubsystem::Cm; +package Classes::Cisco::CCM::Component::CmSubsystem::Cm; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CCM/Component/PhoneSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CCM/Component/PhoneSubsystem.pm similarity index 92% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CCM/Component/PhoneSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CCM/Component/PhoneSubsystem.pm index dfe4338..319d9b9 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CCM/Component/PhoneSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CCM/Component/PhoneSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Cisco::CCM::Component::PhoneSubsystem; +package Classes::Cisco::CCM::Component::PhoneSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -8,7 +8,7 @@ sub init { ccmRegisteredPhones ccmUnregisteredPhones ccmRejectedPhones))); if (! defined $self->{ccmRegisteredPhones}) { $self->get_snmp_tables('CISCO-CCM-MIB', [ - ['ccms', 'ccmTable', 'CheckNwcHealth::Cisco::CCM::Component::CmSubsystem::Cm'], + ['ccms', 'ccmTable', 'Classes::Cisco::CCM::Component::CmSubsystem::Cm'], ]); } } diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOBGP4MIB/Components/PeerSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOBGP4MIB/Components/PeerSubsystem.pm similarity index 91% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOBGP4MIB/Components/PeerSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOBGP4MIB/Components/PeerSubsystem.pm index b2105e6..5c80e99 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOBGP4MIB/Components/PeerSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOBGP4MIB/Components/PeerSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Cisco::CISCOBGP4MIB::Component::PeerSubsystem; +package Classes::Cisco::CISCOBGP4MIB::Component::PeerSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -60,7 +60,7 @@ sub init { $self->{peers} = []; $self->implements_mib('INET-ADDRESS-MIB'); $self->get_snmp_tables('CISCO-BGP4-MIB', [ - ['peers', 'cbgpPeer2Table', 'CheckNwcHealth::Cisco::CISCOBGP4MIB::Component::PeerSubsystem::Peer2', sub { + ['peers', 'cbgpPeer2Table', 'Classes::Cisco::CISCOBGP4MIB::Component::PeerSubsystem::Peer2', sub { my $o = shift; # regexp -> arschlecken! if ($self->opts->name) { @@ -68,8 +68,7 @@ sub init { } else { return 1; } - }, - ['cbgpPeer2AdminStatus', 'cbgpPeer2FsmEstablishedTime', 'cbgpPeer2LastError', 'cbgpPeer2LocalAddr', 'cbgpPeer2RemoteAddr', 'cbgpPeer2RemoteAs', 'cbgpPeer2State', 'cbgpPeer2Type' ]], + }], ]); return; if ($self->mode =~ /device::bgp::peer::(list|count|watch)/) { @@ -79,7 +78,7 @@ return; 'BGP4-MIB', 'bgpPeerTable', 'cbgpPeer2RemoteAddr')) { if ($self->filter_name($_->{cbgpPeer2RemoteAddr})) { push(@{$self->{peers}}, - CheckNwcHealth::BGP::Component::PeerSubsystem::Peer->new(%{$_})); + Classes::BGP::Component::PeerSubsystem::Peer->new(%{$_})); } } } @@ -222,7 +221,7 @@ sub check { } -package CheckNwcHealth::Cisco::CISCOBGP4MIB::Component::PeerSubsystem::Peer2; +package Classes::Cisco::CISCOBGP4MIB::Component::PeerSubsystem::Peer2; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; @@ -243,13 +242,7 @@ sub finish { $self->{cbgpPeer2LocalAddr} = $self->mibs_and_oids_definition( 'INET-ADDRESS-MIB', 'InetAddress', $self->{cbgpPeer2LocalAddr}, $self->{cbgpPeer2Type}) if $self->{cbgpPeer2LocalAddr}; - # save a valid localaddr and reuse it if empty, works for 5 attempts - $self->protect_value("localaddr_".$self->{cbgpPeer2RemoteAddr}, - "cbgpPeer2LocalAddr", sub { - my $value = shift; - return $value ? 1 : 0; - }); - $self->{cbgpPeer2LocalAddr} = "=empty=" if ! $self->{cbgpPeer2LocalAddr}; + $self->{cbgpPeer2LocalAddr} = "999.999.999.999" if ! $self->{cbgpPeer2LocalAddr}; $self->{cbgpPeer2LastError} |= "00 00"; my $errorcode = 0; @@ -258,7 +251,7 @@ sub finish { $errorcode = hex($1) * 1; $subcode = hex($2) * 1; } - $self->{cbgpPeer2LastError} = $CheckNwcHealth::Cisco::CISCOBGP4MIB::Component::PeerSubsystem::errorcodes->{$errorcode}->{$subcode}; + $self->{cbgpPeer2LastError} = $Classes::Cisco::CISCOBGP4MIB::Component::PeerSubsystem::errorcodes->{$errorcode}->{$subcode}; $self->{cbgpPeer2RemoteAsName} = ""; $self->{cbgpPeer2RemoteAsImportant} = 0; # if named in --name2 $self->{cbgpPeer2Faulty} = 0; @@ -316,12 +309,11 @@ sub check { # cbgpPeer2RemoteAsName is "", cbgpPeer2AdminStatus is "start", # cbgpPeer2State is "active" $self->add_message($self->{cbgpPeer2RemoteAsImportant} ? CRITICAL : OK, - sprintf "peer %s (AS%s) state is %s (last error: %s, local address: %s)", + sprintf "peer %s (AS%s) state is %s (last error: %s)", $self->{cbgpPeer2RemoteAddr}, $self->{cbgpPeer2RemoteAs}.$self->{cbgpPeer2RemoteAsName}, $self->{cbgpPeer2State}, - $self->{cbgpPeer2LastError}||"no error", - $self->{cbgpPeer2LocalAddr} + $self->{cbgpPeer2LastError}||"no error" ); $self->{cbgpPeer2Faulty} = $self->{cbgpPeer2RemoteAsImportant} ? 1 : 0; } diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOEIGRPMIB/Components/PeerSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOEIGRPMIB/Components/PeerSubsystem.pm similarity index 88% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOEIGRPMIB/Components/PeerSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOEIGRPMIB/Components/PeerSubsystem.pm index 2a44d0d..4f66226 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOEIGRPMIB/Components/PeerSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOEIGRPMIB/Components/PeerSubsystem.pm @@ -1,13 +1,13 @@ -package CheckNwcHealth::Cisco::EIGRPMIB::Component::PeerSubsystem; +package Classes::Cisco::EIGRPMIB::Component::PeerSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('CISCO-EIGRP-MIB', [ - ['vpns', 'cEigrpVpnTable', 'CheckNwcHealth::Cisco::EIGRPMIB::Component::PeerSubsystem::Vpn'], - ['peers', 'cEigrpPeerTable', 'CheckNwcHealth::Cisco::EIGRPMIB::Component::PeerSubsystem::Peer', sub { my ($o) = @_; return $self->filter_name($o->{cEigrpPeerAddr}) }], - ['stats', 'cEigrpTraffStatsTable', 'CheckNwcHealth::Cisco::EIGRPMIB::Component::PeerSubsystem::TrafficStats', sub { my ($o) = @_; return $self->filter_name2($o->{cEigrpAsRouterId}) }], + ['vpns', 'cEigrpVpnTable', 'Classes::Cisco::EIGRPMIB::Component::PeerSubsystem::Vpn'], + ['peers', 'cEigrpPeerTable', 'Classes::Cisco::EIGRPMIB::Component::PeerSubsystem::Peer', sub { my ($o) = @_; return $self->filter_name($o->{cEigrpPeerAddr}) }], + ['stats', 'cEigrpTraffStatsTable', 'Classes::Cisco::EIGRPMIB::Component::PeerSubsystem::TrafficStats', sub { my ($o) = @_; return $self->filter_name2($o->{cEigrpAsRouterId}) }], ]); if ($self->opts->name2 && scalar(@{$self->{stats}}) == 0) { # all stats have been filtered out @@ -116,7 +116,7 @@ sub check { } -package CheckNwcHealth::Cisco::EIGRPMIB::Component::PeerSubsystem::TrafficStats; +package Classes::Cisco::EIGRPMIB::Component::PeerSubsystem::TrafficStats; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -127,7 +127,7 @@ sub finish { } -package CheckNwcHealth::Cisco::EIGRPMIB::Component::PeerSubsystem::Vpn; +package Classes::Cisco::EIGRPMIB::Component::PeerSubsystem::Vpn; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -137,7 +137,7 @@ sub finish { } -package CheckNwcHealth::Cisco::EIGRPMIB::Component::PeerSubsystem::Peer; +package Classes::Cisco::EIGRPMIB::Component::PeerSubsystem::Peer; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENHANCEDMEMPOOLMIB/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENHANCEDMEMPOOLMIB/Component/MemSubsystem.pm similarity index 90% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENHANCEDMEMPOOLMIB/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENHANCEDMEMPOOLMIB/Component/MemSubsystem.pm index 46df2b5..984bd58 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENHANCEDMEMPOOLMIB/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENHANCEDMEMPOOLMIB/Component/MemSubsystem.pm @@ -1,15 +1,15 @@ -package CheckNwcHealth::Cisco::CISCOENHANCEDMEMPOOLMIB::Component::MemSubsystem; +package Classes::Cisco::CISCOENHANCEDMEMPOOLMIB::Component::MemSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('CISCO-ENHANCED-MEMPOOL-MIB', [ - ['mems', 'cempMemPoolTable', 'CheckNwcHealth::Cisco::CISCOENHANCEDMEMPOOLMIB::Component::MemSubsystem::EnhMem'], + ['mems', 'cempMemPoolTable', 'Classes::Cisco::CISCOENHANCEDMEMPOOLMIB::Component::MemSubsystem::EnhMem'], ]); } -package CheckNwcHealth::Cisco::CISCOENHANCEDMEMPOOLMIB::Component::MemSubsystem::EnhMem; +package Classes::Cisco::CISCOENHANCEDMEMPOOLMIB::Component::MemSubsystem::EnhMem; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENTITYALARMMIB/Component/AlarmSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYALARMMIB/Component/AlarmSubsystem.pm similarity index 84% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENTITYALARMMIB/Component/AlarmSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYALARMMIB/Component/AlarmSubsystem.pm index a32d6ca..6f2ef07 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENTITYALARMMIB/Component/AlarmSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYALARMMIB/Component/AlarmSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Cisco::CISCOENTITYALARMMIB::Component::AlarmSubsystem; +package Classes::Cisco::CISCOENTITYALARMMIB::Component::AlarmSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -6,14 +6,14 @@ sub init { my ($self) = @_; my $alarms = {}; $self->get_snmp_tables('CISCO-ENTITY-ALARM-MIB', [ - ['alarms', 'ceAlarmTable', 'CheckNwcHealth::Cisco::CISCOENTITYSENSORMIB::Component::AlarmSubsystem::Alarm', sub { my ($o) = @_; $o->{parent} = $self; $self->filter_name($o->{entPhysicalIndex})}], - ['alarmdescriptionmappings', 'ceAlarmDescrMapTable', 'CheckNwcHealth::Cisco::CISCOENTITYSENSORMIB::Component::AlarmSubsystem::AlarmDescriptionMapping' ], - ['alarmdescriptions', 'ceAlarmDescrTable', 'CheckNwcHealth::Cisco::CISCOENTITYSENSORMIB::Component::AlarmSubsystem::AlarmDescription' ], - ['alarmfilterprofiles', 'ceAlarmFilterProfileTable', 'CheckNwcHealth::Cisco::CISCOENTITYSENSORMIB::Component::AlarmSubsystem::AlarmFilterProfile' ], - ['alarmhistory', 'ceAlarmHistTable', 'CheckNwcHealth::Cisco::CISCOENTITYSENSORMIB::Component::AlarmSubsystem::AlarmHistory', sub { my ($o) = @_; $o->{parent} = $self; $self->filter_name($o->{entPhysicalIndex})}], + ['alarms', 'ceAlarmTable', 'Classes::Cisco::CISCOENTITYSENSORMIB::Component::AlarmSubsystem::Alarm', sub { my ($o) = @_; $o->{parent} = $self; $self->filter_name($o->{entPhysicalIndex})}], + ['alarmdescriptionmappings', 'ceAlarmDescrMapTable', 'Classes::Cisco::CISCOENTITYSENSORMIB::Component::AlarmSubsystem::AlarmDescriptionMapping' ], + ['alarmdescriptions', 'ceAlarmDescrTable', 'Classes::Cisco::CISCOENTITYSENSORMIB::Component::AlarmSubsystem::AlarmDescription' ], + ['alarmfilterprofiles', 'ceAlarmFilterProfileTable', 'Classes::Cisco::CISCOENTITYSENSORMIB::Component::AlarmSubsystem::AlarmFilterProfile' ], + ['alarmhistory', 'ceAlarmHistTable', 'Classes::Cisco::CISCOENTITYSENSORMIB::Component::AlarmSubsystem::AlarmHistory', sub { my ($o) = @_; $o->{parent} = $self; $self->filter_name($o->{entPhysicalIndex})}], ]); $self->get_snmp_tables('ENTITY-MIB', [ - ['entities', 'entPhysicalTable', 'CheckNwcHealth::Cisco::CISCOENTITYSENSORMIB::Component::AlarmSubsystem::PhysicalEntity'], + ['entities', 'entPhysicalTable', 'Classes::Cisco::CISCOENTITYSENSORMIB::Component::AlarmSubsystem::PhysicalEntity'], ]); $self->get_snmp_objects('CISCO-ENTITY-ALARM-MIB', qw( ceAlarmCriticalCount ceAlarmMajorCount ceAlarmMinorCount @@ -54,7 +54,7 @@ sub check { } } -package CheckNwcHealth::Cisco::CISCOENTITYSENSORMIB::Component::AlarmSubsystem::Alarm; +package Classes::Cisco::CISCOENTITYSENSORMIB::Component::AlarmSubsystem::Alarm; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -124,7 +124,7 @@ sub check { } -package CheckNwcHealth::Cisco::CISCOENTITYSENSORMIB::Component::AlarmSubsystem::PhysicalEntity; +package Classes::Cisco::CISCOENTITYSENSORMIB::Component::AlarmSubsystem::PhysicalEntity; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -133,7 +133,7 @@ sub finish { $self->{entPhysicalIndex} = $self->{flat_indices}; } -package CheckNwcHealth::Cisco::CISCOENTITYSENSORMIB::Component::AlarmSubsystem::AlarmDescription; +package Classes::Cisco::CISCOENTITYSENSORMIB::Component::AlarmSubsystem::AlarmDescription; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); sub finish { @@ -143,7 +143,7 @@ sub finish { } -package CheckNwcHealth::Cisco::CISCOENTITYSENSORMIB::Component::AlarmSubsystem::AlarmDescriptionMapping; +package Classes::Cisco::CISCOENTITYSENSORMIB::Component::AlarmSubsystem::AlarmDescriptionMapping; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); sub finish { @@ -151,10 +151,10 @@ sub finish { $self->{ceAlarmDescrIndex} = $self->{indices}->[0]; } -package CheckNwcHealth::Cisco::CISCOENTITYSENSORMIB::Component::AlarmSubsystem::AlarmFilterProfile; +package Classes::Cisco::CISCOENTITYSENSORMIB::Component::AlarmSubsystem::AlarmFilterProfile; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -package CheckNwcHealth::Cisco::CISCOENTITYSENSORMIB::Component::AlarmSubsystem::AlarmHistory; +package Classes::Cisco::CISCOENTITYSENSORMIB::Component::AlarmSubsystem::AlarmHistory; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); sub finish { diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENTITYFRUCONTROLMIB/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/EnvironmentalSubsystem.pm similarity index 61% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENTITYFRUCONTROLMIB/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/EnvironmentalSubsystem.pm index efce305..d53b6f5 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENTITYFRUCONTROLMIB/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/EnvironmentalSubsystem.pm @@ -1,15 +1,15 @@ -package CheckNwcHealth::Cisco::CISCOENTITYFRUCONTROLMIB::Component::EnvironmentalSubsystem; +package Classes::Cisco::CISCOENTITYFRUCONTROLMIB::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->{fan_subsystem} = - CheckNwcHealth::Cisco::CISCOENTITYFRUCONTROLMIB::Component::FanSubsystem->new(); + Classes::Cisco::CISCOENTITYFRUCONTROLMIB::Component::FanSubsystem->new(); $self->{powersupply_subsystem} = - CheckNwcHealth::Cisco::CISCOENTITYFRUCONTROLMIB::Component::PowersupplySubsystem->new(); + Classes::Cisco::CISCOENTITYFRUCONTROLMIB::Component::PowersupplySubsystem->new(); $self->{module_subsystem} = - CheckNwcHealth::Cisco::CISCOENTITYFRUCONTROLMIB::Component::ModuleSubsystem->new(); + Classes::Cisco::CISCOENTITYFRUCONTROLMIB::Component::ModuleSubsystem->new(); } sub check { diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENTITYFRUCONTROLMIB/Component/FanSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/FanSubsystem.pm similarity index 71% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENTITYFRUCONTROLMIB/Component/FanSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/FanSubsystem.pm index 6819dc9..34918d4 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENTITYFRUCONTROLMIB/Component/FanSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/FanSubsystem.pm @@ -1,17 +1,15 @@ -package CheckNwcHealth::Cisco::CISCOENTITYFRUCONTROLMIB::Component::FanSubsystem; +package Classes::Cisco::CISCOENTITYFRUCONTROLMIB::Component::FanSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('CISCO-ENTITY-FRU-CONTROL-MIB', [ - ['fans', 'cefcFanTrayStatusTable', 'CheckNwcHealth::Cisco::CISCOENTITYFRUCONTROLMIB::Component::FanSubsystem::Fan', undef, ["cefcFanTrayOperStatus"]], + ['fans', 'cefcFanTrayStatusTable', 'Classes::Cisco::CISCOENTITYFRUCONTROLMIB::Component::FanSubsystem::Fan'], ]); - $self->bulk_is_baeh(40); $self->get_snmp_tables('ENTITY-MIB', [ - ['entities', 'entPhysicalTable', 'CheckNwcHealth::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem::PhysicalEntity', undef, ["entPhysicalIndex", "entPhysicalDescr", "entPhysicalClass"]], + ['entities', 'entPhysicalTable', 'Classes::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem::PhysicalEntity'], ]); - $self->bulk_baeh_reset(); @{$self->{entities}} = grep { $_->{entPhysicalClass} eq 'fan' } @{$self->{entities}}; foreach my $fan (@{$self->{fans}}) { foreach my $entity (@{$self->{entities}}) { @@ -22,7 +20,7 @@ sub init { } } -package CheckNwcHealth::Cisco::CISCOENTITYFRUCONTROLMIB::Component::FanSubsystem::Fan; +package Classes::Cisco::CISCOENTITYFRUCONTROLMIB::Component::FanSubsystem::Fan; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENTITYFRUCONTROLMIB/Component/ModuleSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/ModuleSubsystem.pm similarity index 91% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENTITYFRUCONTROLMIB/Component/ModuleSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/ModuleSubsystem.pm index d4c5872..0b246e0 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENTITYFRUCONTROLMIB/Component/ModuleSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/ModuleSubsystem.pm @@ -1,14 +1,14 @@ -package CheckNwcHealth::Cisco::CISCOENTITYFRUCONTROLMIB::Component::ModuleSubsystem; +package Classes::Cisco::CISCOENTITYFRUCONTROLMIB::Component::ModuleSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('CISCO-ENTITY-FRU-CONTROL-MIB', [ - ['modules', 'cefcModuleTable', 'CheckNwcHealth::Cisco::CISCOENTITYFRUCONTROLMIB::Component::ModuleSubsystem::Module', undef, ["cefcModuleAdminStatus", "cefcModuleOperStatus"]], + ['modules', 'cefcModuleTable', 'Classes::Cisco::CISCOENTITYFRUCONTROLMIB::Component::ModuleSubsystem::Module'], ]); $self->get_snmp_tables('ENTITY-MIB', [ - ['entities', 'entPhysicalTable', 'CheckNwcHealth::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem::PhysicalEntity', undef, ["entPhysicalIndex", "entPhysicalDescr", "entPhysicalClass"]], + ['entities', 'entPhysicalTable', 'Classes::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem::PhysicalEntity'], ]); @{$self->{entities}} = grep { $_->{entPhysicalClass} eq 'module' } @{$self->{entities}}; foreach my $module (@{$self->{modules}}) { @@ -20,7 +20,7 @@ sub init { } } -package CheckNwcHealth::Cisco::CISCOENTITYFRUCONTROLMIB::Component::ModuleSubsystem::Module; +package Classes::Cisco::CISCOENTITYFRUCONTROLMIB::Component::ModuleSubsystem::Module; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENTITYFRUCONTROLMIB/Component/PowersupplySubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/PowersupplySubsystem.pm similarity index 80% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENTITYFRUCONTROLMIB/Component/PowersupplySubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/PowersupplySubsystem.pm index 0854925..0c6d69e 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENTITYFRUCONTROLMIB/Component/PowersupplySubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/PowersupplySubsystem.pm @@ -1,15 +1,15 @@ -package CheckNwcHealth::Cisco::CISCOENTITYFRUCONTROLMIB::Component::PowersupplySubsystem; +package Classes::Cisco::CISCOENTITYFRUCONTROLMIB::Component::PowersupplySubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('CISCO-ENTITY-FRU-CONTROL-MIB', [ - ['powersupplies', 'cefcFRUPowerStatusTable', 'CheckNwcHealth::Cisco::CISCOENTITYFRUCONTROLMIB::Component::PowersupplySubsystem::Powersupply', undef, ["cefcFRUPowerAdminStatus", "cefcFRUPowerOperStatus"]], - #['powersupplygroups', 'cefcFRUPowerSupplyGroupTable', 'CheckNwcHealth::Cisco::CISCOENTITYFRUCONTROLMIB::Component::PowersupplySubsystem::PowersupplyGroup'], + ['powersupplies', 'cefcFRUPowerStatusTable', 'Classes::Cisco::CISCOENTITYFRUCONTROLMIB::Component::PowersupplySubsystem::Powersupply'], + ['powersupplygroups', 'cefcFRUPowerSupplyGroupTable', 'Classes::Cisco::CISCOENTITYFRUCONTROLMIB::Component::PowersupplySubsystem::PowersupplyGroup'], ]); $self->get_snmp_tables('ENTITY-MIB', [ - ['entities', 'entPhysicalTable', 'CheckNwcHealth::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem::PhysicalEntity', undef, ["entPhysicalIndex", "entPhysicalDescr", "entPhysicalClass"]], + ['entities', 'entPhysicalTable', 'Classes::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem::PhysicalEntity'], ]); @{$self->{entities}} = grep { $_->{entPhysicalClass} eq 'powerSupply' } @{$self->{entities}}; foreach my $supply (@{$self->{powersupplies}}) { @@ -22,7 +22,7 @@ sub init { } -package CheckNwcHealth::Cisco::CISCOENTITYFRUCONTROLMIB::Component::PowersupplySubsystem::Powersupply; +package Classes::Cisco::CISCOENTITYFRUCONTROLMIB::Component::PowersupplySubsystem::Powersupply; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -47,7 +47,7 @@ sub check { } -package CheckNwcHealth::Cisco::CISCOENTITYFRUCONTROLMIB::Component::PowersupplySubsystem::PowersupplyGroup; +package Classes::Cisco::CISCOENTITYFRUCONTROLMIB::Component::PowersupplySubsystem::PowersupplyGroup; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENTITYSENSORMIB/Component/SensorSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYSENSORMIB/Component/SensorSubsystem.pm similarity index 92% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENTITYSENSORMIB/Component/SensorSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYSENSORMIB/Component/SensorSubsystem.pm index 6031ce3..8f4ac36 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENTITYSENSORMIB/Component/SensorSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYSENSORMIB/Component/SensorSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem; +package Classes::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -11,14 +11,11 @@ sub init { # get_entries_get_bulk wird's schon richten. $self->bulk_is_baeh(128); $self->get_snmp_tables('CISCO-ENTITY-SENSOR-MIB', [ - ['sensors', 'entSensorValueTable', 'CheckNwcHealth::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem::Sensor', sub { my ($o) = @_; $self->filter_name($o->{entPhysicalIndex})}, ["entSensorType", "entSensorScale", "entSensorStatus", "entSensorValue"]], - ]); - $self->bulk_is_baeh(96); - $self->get_snmp_tables('CISCO-ENTITY-SENSOR-MIB', [ - ['thresholds', 'entSensorThresholdTable', 'CheckNwcHealth::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem::SensorThreshold', undef, ["entSensorThresholdSeverity", "entSensorThresholdValue", "entSensorThresholdEvaluation"]], + ['sensors', 'entSensorValueTable', 'Classes::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem::Sensor', sub { my ($o) = @_; $self->filter_name($o->{entPhysicalIndex})}, ["entSensorType", "entSensorStatus", "entSensorValue", "entSensorMeasuredEntity"]], + ['thresholds', 'entSensorThresholdTable', 'Classes::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem::SensorThreshold', undef, ["entSensorThresholdSeverity", "entSensorThresholdValue", "entSensorThresholdEvaluation"]], ]); $self->get_snmp_tables('ENTITY-MIB', [ - ['entities', 'entPhysicalTable', 'CheckNwcHealth::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem::PhysicalEntity', undef, ["entPhysicalIndex", "entPhysicalDescr", "entPhysicalClass"]], + ['entities', 'entPhysicalTable', 'Classes::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem::PhysicalEntity', undef, ["entPhysicalIndex", "entPhysicalDescr", "entPhysicalClass"]], ]); @{$self->{sensor_entities}} = grep { $_->{entPhysicalClass} eq 'sensor' } @{$self->{entities}}; foreach my $sensor (@{$self->{sensors}}) { @@ -36,7 +33,7 @@ sub init { } } -package CheckNwcHealth::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem::Sensor; +package Classes::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem::Sensor; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; @@ -186,7 +183,7 @@ sub check { } -package CheckNwcHealth::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem::SensorThreshold; +package Classes::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem::SensorThreshold; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -197,7 +194,7 @@ sub finish { } -package CheckNwcHealth::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem::PhysicalEntity; +package Classes::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem::PhysicalEntity; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENVMONMIB/Component/FanSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/FanSubsystem.pm similarity index 69% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENVMONMIB/Component/FanSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/FanSubsystem.pm index 8f811a8..5c1c125 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENVMONMIB/Component/FanSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/FanSubsystem.pm @@ -1,15 +1,15 @@ -package CheckNwcHealth::Cisco::CISCOENVMONMIB::Component::FanSubsystem; +package Classes::Cisco::CISCOENVMONMIB::Component::FanSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('CISCO-ENVMON-MIB', [ - ['fans', 'ciscoEnvMonFanStatusTable', 'CheckNwcHealth::Cisco::CISCOENVMONMIB::Component::FanSubsystem::Fan'], + ['fans', 'ciscoEnvMonFanStatusTable', 'Classes::Cisco::CISCOENVMONMIB::Component::FanSubsystem::Fan'], ]); } -package CheckNwcHealth::Cisco::CISCOENVMONMIB::Component::FanSubsystem::Fan; +package Classes::Cisco::CISCOENVMONMIB::Component::FanSubsystem::Fan; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENVMONMIB/Component/PowersupplySubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/PowersupplySubsystem.pm similarity index 89% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENVMONMIB/Component/PowersupplySubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/PowersupplySubsystem.pm index 1c44a67..c8964e2 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENVMONMIB/Component/PowersupplySubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/PowersupplySubsystem.pm @@ -1,16 +1,16 @@ -package CheckNwcHealth::Cisco::CISCOENVMONMIB::Component::PowersupplySubsystem; +package Classes::Cisco::CISCOENVMONMIB::Component::PowersupplySubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('CISCO-ENVMON-MIB', [ - ['supplies', 'ciscoEnvMonSupplyStatusTable', 'CheckNwcHealth::Cisco::CISCOENVMONMIB::Component::PowersupplySubsystem::Powersupply'], + ['supplies', 'ciscoEnvMonSupplyStatusTable', 'Classes::Cisco::CISCOENVMONMIB::Component::PowersupplySubsystem::Powersupply'], ]); } -package CheckNwcHealth::Cisco::CISCOENVMONMIB::Component::PowersupplySubsystem::Powersupply; +package Classes::Cisco::CISCOENVMONMIB::Component::PowersupplySubsystem::Powersupply; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENVMONMIB/Component/TemperatureSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/TemperatureSubsystem.pm similarity index 57% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENVMONMIB/Component/TemperatureSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/TemperatureSubsystem.pm index 581b71d..8ed1e07 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENVMONMIB/Component/TemperatureSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/TemperatureSubsystem.pm @@ -1,15 +1,15 @@ -package CheckNwcHealth::Cisco::CISCOENVMONMIB::Component::TemperatureSubsystem; +package Classes::Cisco::CISCOENVMONMIB::Component::TemperatureSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('CISCO-ENVMON-MIB', [ - ['temperatures', 'ciscoEnvMonTemperatureStatusTable', 'CheckNwcHealth::Cisco::CISCOENVMONMIB::Component::TemperatureSubsystem::Temperature', sub { my ($o) = @_; return ($o->{ciscoEnvMonTemperatureState} eq "notPresent" or $o->{ciscoEnvMonTemperatureState} eq "notFunctioning") ? 0 : 1 }], + ['temperatures', 'ciscoEnvMonTemperatureStatusTable', 'Classes::Cisco::CISCOENVMONMIB::Component::TemperatureSubsystem::Temperature'], ]); } -package CheckNwcHealth::Cisco::CISCOENVMONMIB::Component::TemperatureSubsystem::Temperature; +package Classes::Cisco::CISCOENVMONMIB::Component::TemperatureSubsystem::Temperature; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -20,31 +20,11 @@ sub finish { } $self->ensure_index('ciscoEnvMonTemperatureStatusIndex'); $self->{ciscoEnvMonTemperatureLastShutdown} ||= 0; - $self->{ciscoEnvMonTemperatureStatusValue} -= 255 if - exists $self->{ciscoEnvMonTemperatureStatusValue} and - defined $self->{ciscoEnvMonTemperatureStatusValue} and - $self->{ciscoEnvMonTemperatureStatusValue} > 200; - # ciscoEnvMonTemperatureStatusValue may not exist. it surely doesn't - # if ciscoEnvMonTemperatureState = notPresent. We finish() before we - # filter in get_snmp_tables } sub check { my ($self) = @_; - if ($self->{ciscoEnvMonTemperatureState} eq "notFunctioning") { - $self->add_info(sprintf "temperature sensor %s is not functioning", - $self->{ciscoEnvMonTemperatureStatusIndex}); - # DRECK!!!!!! $self->add_warning(); - # das fuehrt zu mehreren Tausend Fehlern wegen - # [TEMPERATURE_2159] - # ciscoEnvMonTemperatureLastShutdown: 0 - # ciscoEnvMonTemperatureState: notFunctioning - # ciscoEnvMonTemperatureStatusDescr: Te2/0/17 Receive Power Sensor, NOT FUNCTIONING - # ciscoEnvMonTemperatureStatusIndex: 2159 - # ciscoEnvMonTemperatureStatusValue: 0 - # ciscoEnvMonTemperatureThreshold: 0 - # info: temperature sensor %s is not functioning - } elsif ($self->{ciscoEnvMonTemperatureStatusValue} > + if ($self->{ciscoEnvMonTemperatureStatusValue} > $self->{ciscoEnvMonTemperatureThreshold}) { $self->add_info(sprintf 'temperature %d %s is too high (%d of %d max = %s)', $self->{ciscoEnvMonTemperatureStatusIndex}, @@ -74,7 +54,7 @@ sub check { } -package CheckNwcHealth::Cisco::CISCOENVMONMIB::Component::TemperatureSubsystem::Temperature::Simple; +package Classes::Cisco::CISCOENVMONMIB::Component::TemperatureSubsystem::Temperature::Simple; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENVMONMIB/Component/VoltageSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/VoltageSubsystem.pm similarity index 79% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENVMONMIB/Component/VoltageSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/VoltageSubsystem.pm index 24160b9..14bff7f 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOENVMONMIB/Component/VoltageSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/VoltageSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Cisco::CISCOENVMONMIB::Component::VoltageSubsystem; +package Classes::Cisco::CISCOENVMONMIB::Component::VoltageSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -6,7 +6,7 @@ sub init { my ($self) = @_; my $index = 0; $self->get_snmp_tables('CISCO-ENVMON-MIB', [ - ['voltages', 'ciscoEnvMonVoltageStatusTable', 'CheckNwcHealth::Cisco::CISCOENVMONMIB::Component::VoltageSubsystem::Voltage'], + ['voltages', 'ciscoEnvMonVoltageStatusTable', 'Classes::Cisco::CISCOENVMONMIB::Component::VoltageSubsystem::Voltage'], ]); } @@ -23,7 +23,7 @@ sub check { } -package CheckNwcHealth::Cisco::CISCOENVMONMIB::Component::VoltageSubsystem::Voltage; +package Classes::Cisco::CISCOENVMONMIB::Component::VoltageSubsystem::Voltage; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOIPSECFLOWMONITOR/Component/VpnSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOIPSECFLOWMONITOR/Component/VpnSubsystem.pm similarity index 76% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOIPSECFLOWMONITOR/Component/VpnSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOIPSECFLOWMONITOR/Component/VpnSubsystem.pm index 368d859..0b8daba 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOIPSECFLOWMONITOR/Component/VpnSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOIPSECFLOWMONITOR/Component/VpnSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Cisco::CISCOIPSECFLOWMONITOR::Component::VpnSubsystem; +package Classes::Cisco::CISCOIPSECFLOWMONITOR::Component::VpnSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -7,9 +7,9 @@ sub init { my $now = time; $self->opts->override_opt('lookback', 1800) if ! $self->opts->lookback; $self->get_snmp_tables('CISCO-IPSEC-FLOW-MONITOR-MIB', [ - ['ciketunnels', 'cikeTunnelTable', 'CheckNwcHealth::Cisco::CISCOIPSECFLOWMONITOR::Component::VpnSubsystem::cikeTunnel', sub { my ($o) = @_; $o->filter_name($o->{cikeTunRemoteAddr}); }], - [ 'cikefails', 'cikeFailTable', 'CheckNwcHealth::Cisco::CISCOIPSECFLOWMONITOR::Component::VpnSubsystem::cikeFail', sub { my ($o) = @_; $o->filter_name($o->{cikeFailRemoteAddr}) && $o->{cikeFailTimeAgo} < $self->opts->lookback; }], - [ 'cipsecfails', 'cipSecFailTable', 'CheckNwcHealth::Cisco::CISCOIPSECFLOWMONITOR::Component::VpnSubsystem::cipSecFail', sub { my ($o) = @_; $o->filter_name($o->{cipSecFailPktDstAddr}) && $o->{cipSecFailTimeAgo} < $self->opts->lookback; }], + ['ciketunnels', 'cikeTunnelTable', 'Classes::Cisco::CISCOIPSECFLOWMONITOR::Component::VpnSubsystem::cikeTunnel', sub { my ($o) = @_; $o->filter_name($o->{cikeTunRemoteAddr}); }], + [ 'cikefails', 'cikeFailTable', 'Classes::Cisco::CISCOIPSECFLOWMONITOR::Component::VpnSubsystem::cikeFail', sub { my ($o) = @_; $o->filter_name($o->{cikeFailRemoteAddr}) && $o->{cikeFailTimeAgo} < $self->opts->lookback; }], + [ 'cipsecfails', 'cipSecFailTable', 'Classes::Cisco::CISCOIPSECFLOWMONITOR::Component::VpnSubsystem::cipSecFail', sub { my ($o) = @_; $o->filter_name($o->{cipSecFailPktDstAddr}) && $o->{cipSecFailTimeAgo} < $self->opts->lookback; }], ]); } @@ -34,7 +34,7 @@ sub check { } -package CheckNwcHealth::Cisco::CISCOIPSECFLOWMONITOR::Component::VpnSubsystem::cikeTunnel; +package Classes::Cisco::CISCOIPSECFLOWMONITOR::Component::VpnSubsystem::cikeTunnel; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -64,7 +64,7 @@ sub check { # cipSecFailPhaseOne -package CheckNwcHealth::Cisco::CISCOIPSECFLOWMONITOR::Component::VpnSubsystem::cikeFail; +package Classes::Cisco::CISCOIPSECFLOWMONITOR::Component::VpnSubsystem::cikeFail; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); sub finish { @@ -89,7 +89,7 @@ sub check { # cipSecFailPhaseTwo -package CheckNwcHealth::Cisco::CISCOIPSECFLOWMONITOR::Component::VpnSubsystem::cipSecFail; +package Classes::Cisco::CISCOIPSECFLOWMONITOR::Component::VpnSubsystem::cipSecFail; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); sub ago { diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOMEMORYPOOLMIB/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOMEMORYPOOLMIB/Component/MemSubsystem.pm similarity index 88% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOMEMORYPOOLMIB/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOMEMORYPOOLMIB/Component/MemSubsystem.pm index 9a2ebc5..8194151 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOMEMORYPOOLMIB/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOMEMORYPOOLMIB/Component/MemSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Cisco::CISCOMEMORYPOOLMIB::Component::MemSubsystem; +package Classes::Cisco::CISCOMEMORYPOOLMIB::Component::MemSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -6,11 +6,11 @@ sub init { my ($self) = @_; $self->mult_snmp_max_msg_size(2); $self->get_snmp_tables('CISCO-MEMORY-POOL-MIB', [ - ['mems', 'ciscoMemoryPoolTable', 'CheckNwcHealth::Cisco::CISCOMEMORYPOOLMIB::Component::MemSubsystem::Mem'], + ['mems', 'ciscoMemoryPoolTable', 'Classes::Cisco::CISCOMEMORYPOOLMIB::Component::MemSubsystem::Mem'], ]); } -package CheckNwcHealth::Cisco::CISCOMEMORYPOOLMIB::Component::MemSubsystem::Mem; +package Classes::Cisco::CISCOMEMORYPOOLMIB::Component::MemSubsystem::Mem; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOPORTSECURITYMIB/Component/InterfaceSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOPORTSECURITYMIB/Component/InterfaceSubsystem.pm similarity index 84% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOPORTSECURITYMIB/Component/InterfaceSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOPORTSECURITYMIB/Component/InterfaceSubsystem.pm index 5ae308d..5faed20 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOPORTSECURITYMIB/Component/InterfaceSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOPORTSECURITYMIB/Component/InterfaceSubsystem.pm @@ -1,5 +1,5 @@ -package CheckNwcHealth::Cisco::CISCOPORTSECURITYMIB::Component::InterfaceSubsystem; -our @ISA = qw(CheckNwcHealth::IFMIB::Component::InterfaceSubsystem); +package Classes::Cisco::CISCOPORTSECURITYMIB::Component::InterfaceSubsystem; +our @ISA = qw(Classes::IFMIB::Component::InterfaceSubsystem); use strict; sub init { @@ -45,20 +45,20 @@ sub init { 'IFMIB', 'ifTable+ifXTable', \@indices, \@iftable_columns)) { next if $only_admin_up && $_->{ifAdminStatus} ne 'up'; next if $only_oper_up && $_->{ifOperStatus} ne 'up'; - my $interface = CheckNwcHealth::Cisco::CISCOPORTSECURITYMIB::Component::InterfaceSubsystem::Interface->new(%{$_}); + my $interface = Classes::Cisco::CISCOPORTSECURITYMIB::Component::InterfaceSubsystem::Interface->new(%{$_}); $interface->{columns} = [@iftable_columns]; push(@{$self->{interfaces}}, $interface); } @indices = map { [$_->{ifIndex}]; } @{$self->{interfaces}}; if (! $self->opts->name && ! $self->opts->name3) { $self->get_snmp_tables('CISCO-PORT-SECURITY-MIB', [ - ['cpsifs', 'cpsIfConfigTable', 'CheckNwcHealth::Cisco::CISCOPORTSECURITYMIB::Component::InterfaceSubsystem::CpsIf'], + ['cpsifs', 'cpsIfConfigTable', 'Classes::Cisco::CISCOPORTSECURITYMIB::Component::InterfaceSubsystem::CpsIf'], ]); } else { $self->{cpsifs} = []; foreach ($self->get_snmp_table_objects( 'CISCO-PORT-SECURITY-MIB', 'cpsIfConfigTable', \@indices, \@cpsifconfigtable_columns)) { - my $interface = CheckNwcHealth::Cisco::CISCOPORTSECURITYMIB::Component::InterfaceSubsystem::CpsIf->new(%{$_}); + my $interface = Classes::Cisco::CISCOPORTSECURITYMIB::Component::InterfaceSubsystem::CpsIf->new(%{$_}); push(@{$self->{cpsifs}}, $interface); } } @@ -86,7 +86,7 @@ sub check { } } -package CheckNwcHealth::Cisco::CISCOPORTSECURITYMIB::Component::InterfaceSubsystem::CpsIf; +package Classes::Cisco::CISCOPORTSECURITYMIB::Component::InterfaceSubsystem::CpsIf; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -97,8 +97,8 @@ sub finish { } -package CheckNwcHealth::Cisco::CISCOPORTSECURITYMIB::Component::InterfaceSubsystem::Interface; -our @ISA = qw(CheckNwcHealth::IFMIB::Component::InterfaceSubsystem::Interface); +package Classes::Cisco::CISCOPORTSECURITYMIB::Component::InterfaceSubsystem::Interface; +our @ISA = qw(Classes::IFMIB::Component::InterfaceSubsystem::Interface); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOREMOTEACCESSMONITORMIB/Component/VpnSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOREMOTEACCESSMONITORMIB/Component/VpnSubsystem.pm similarity index 95% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOREMOTEACCESSMONITORMIB/Component/VpnSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOREMOTEACCESSMONITORMIB/Component/VpnSubsystem.pm index d3e4f48..9ee7fe5 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOREMOTEACCESSMONITORMIB/Component/VpnSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOREMOTEACCESSMONITORMIB/Component/VpnSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Cisco::CISCOREMOTEACCESSMONITORMIB::Component::VpnSubsystem; +package Classes::Cisco::CISCOREMOTEACCESSMONITORMIB::Component::VpnSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -137,11 +137,11 @@ sub check { } -package CheckNwcHealth::Cisco::CISCOREMOTEACCESSMONITORMIB::Component::VpnSubsystem::Session; +package Classes::Cisco::CISCOREMOTEACCESSMONITORMIB::Component::VpnSubsystem::Session; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; -package CheckNwcHealth::Cisco::CISCOREMOTEACCESSMONITORMIB::Component::VpnSubsystem::Failure; +package Classes::Cisco::CISCOREMOTEACCESSMONITORMIB::Component::VpnSubsystem::Failure; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOSTACKMIB/Component/StackSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOSTACKMIB/Component/StackSubsystem.pm similarity index 95% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOSTACKMIB/Component/StackSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOSTACKMIB/Component/StackSubsystem.pm index 21e22c2..2c61e99 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOSTACKMIB/Component/StackSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOSTACKMIB/Component/StackSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Cisco::CISCOSTACKMIB::Component::StackSubsystem; +package Classes::Cisco::CISCOSTACKMIB::Component::StackSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; @@ -18,7 +18,7 @@ sub init { $self->bulk_is_baeh(10); $self->get_snmp_tables("CISCO-STACK-MIB", [ ['components', 'chassisComponentTable', 'Monitoring::GLPlugin::SNMP::TableItem'], - ['modules', 'moduleTable', 'CheckNwcHealth::Cisco::CISCOSTACKMIB::Component::StackSubsystem::Module'], + ['modules', 'moduleTable', 'Classes::Cisco::CISCOSTACKMIB::Component::StackSubsystem::Module'], ]); if (grep { exists $_->{moduleEntPhysicalIndex} } @{$self->{modules}}) { $self->get_snmp_tables('ENTITY-MIB', [ @@ -128,7 +128,7 @@ sub check { $self->add_ok(); } -package CheckNwcHealth::Cisco::CISCOSTACKMIB::Component::StackSubsystem::Module; +package Classes::Cisco::CISCOSTACKMIB::Component::StackSubsystem::Module; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); sub finish { diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOSTACKWISEMIB/Component/StackSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOSTACKWISEMIB/Component/StackSubsystem.pm similarity index 80% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOSTACKWISEMIB/Component/StackSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOSTACKWISEMIB/Component/StackSubsystem.pm index ee62b3e..66a96de 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/CISCOSTACKWISEMIB/Component/StackSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOSTACKWISEMIB/Component/StackSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Cisco::CISCOSTACKWISEMIB::Component::StackSubsystem; +package Classes::Cisco::CISCOSTACKWISEMIB::Component::StackSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; @@ -10,18 +10,17 @@ sub init { cswRingRedundant cswStackBandWidth ciscoStackWiseMIBConform cswStackWiseMIBCompliances )); - $self->get_snmp_tables("CISCO-STACKWISE-MIB", [ - ['switches', 'cswSwitchInfoTable', 'CheckNwcHealth::Cisco::CISCOSTACKWISEMIB::Component::StackSubsystem::Switch'], - ]); # cswStackType is not uniqe enough depening of IOS-XE version. # cswStackBandWidth exists only on distributed switches with SVL if ($self->{cswStackBandWidth}) { $self->get_snmp_tables("CISCO-STACKWISE-MIB", [ - ['ports', 'cswDistrStackPhyPortInfoEntry', 'CheckNwcHealth::Cisco::CISCOSTACKWISEMIB::Component::StackSubsystem::PhyPort'], + ['switches', 'cswSwitchInfoTable', 'Classes::Cisco::CISCOSTACKWISEMIB::Component::StackSubsystem::Switch'], + ['ports', 'cswDistrStackPhyPortInfoEntry', 'Classes::Cisco::CISCOSTACKWISEMIB::Component::StackSubsystem::PhyPort'], ]); } else { $self->get_snmp_tables("CISCO-STACKWISE-MIB", [ - ['ports', 'cswStackPortInfoTable', 'CheckNwcHealth::Cisco::CISCOSTACKWISEMIB::Component::StackSubsystem::Port'], + ['switches', 'cswSwitchInfoTable', 'Classes::Cisco::CISCOSTACKWISEMIB::Component::StackSubsystem::Switch'], + ['ports', 'cswStackPortInfoTable', 'Classes::Cisco::CISCOSTACKWISEMIB::Component::StackSubsystem::Port'], ]); }; $self->{numSwitches} = scalar(@{$self->{switches}}); @@ -71,7 +70,7 @@ sub check { $self->add_ok(); } -package CheckNwcHealth::Cisco::CISCOSTACKWISEMIB::Component::StackSubsystem::Port; +package Classes::Cisco::CISCOSTACKWISEMIB::Component::StackSubsystem::Port; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); sub check { @@ -81,7 +80,7 @@ sub check { ); } -package CheckNwcHealth::Cisco::CISCOSTACKWISEMIB::Component::StackSubsystem::PhyPort; +package Classes::Cisco::CISCOSTACKWISEMIB::Component::StackSubsystem::PhyPort; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); sub check { @@ -91,7 +90,7 @@ sub check { ); } -package CheckNwcHealth::Cisco::CISCOSTACKWISEMIB::Component::StackSubsystem::Switch; +package Classes::Cisco::CISCOSTACKWISEMIB::Component::StackSubsystem::Switch; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); sub check { diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS.pm new file mode 100644 index 0000000..6484330 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS.pm @@ -0,0 +1,51 @@ +package Classes::Cisco::IOS; +our @ISA = qw(Classes::Cisco); +use strict; + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::chassis::health/) { + if ($self->implements_mib('CISCO-STACK-MIB')) { + $self->analyze_and_check_environmental_subsystem("Classes::Cisco::CISCOSTACKMIB::Component::StackSubsystem"); + } elsif ($self->implements_mib('CISCO-STACKWISE-MIB')) { + $self->analyze_and_check_environmental_subsystem("Classes::Cisco::CISCOSTACKWISEMIB::Component::StackSubsystem"); + } + if (! $self->implements_mib('CISCO-STACKWISE-MIB') && + ! $self->implements_mib('CISCO-STACK-MIB')) { + if (defined $self->opts->mitigation()) { + $self->add_message($self->opts->mitigation(), 'this is not a stacked device'); + } else { + $self->add_unknown('this is not a stacked device'); + } + } + } elsif ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::Cisco::IOS::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::Cisco::IOS::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::Cisco::IOS::Component::MemSubsystem"); + } elsif ($self->mode =~ /device::hsrp/) { + $self->analyze_and_check_hsrp_subsystem("Classes::HSRP::Component::HSRPSubsystem"); + } elsif ($self->mode =~ /device::users/) { + $self->analyze_and_check_connection_subsystem("Classes::Cisco::IOS::Component::ConnectionSubsystem"); + } elsif ($self->mode =~ /device::config/) { + $self->analyze_and_check_config_subsystem("Classes::Cisco::IOS::Component::ConfigSubsystem"); + } elsif ($self->mode =~ /device::interfaces::nat::sessions::count/) { + $self->analyze_and_check_config_subsystem("Classes::Cisco::IOS::Component::NatSubsystem"); + } elsif ($self->mode =~ /device::interfaces::nat::rejects/) { + $self->analyze_and_check_config_subsystem("Classes::Cisco::IOS::Component::NatSubsystem"); + #} elsif ($self->mode =~ /device::bgp::prefix::count/) { + } elsif ($self->mode =~ /device::bgp/) { + $self->analyze_and_check_bgp_subsystem("Classes::BGP::Component::PeerSubsystem"); + } elsif ($self->mode =~ /device::wlan/ && $self->implements_mib('AIRESPACE-WIRELESS-MIB')) { + $self->analyze_and_check_wlan_subsystem("Classes::Cisco::WLC::Component::WlanSubsystem"); + } elsif ($self->mode =~ /device::vpn::status/) { + $self->analyze_and_check_config_subsystem("Classes::Cisco::CISCOIPSECFLOWMONITOR::Component::VpnSubsystem"); + } elsif ($self->mode =~ /device::vpn::sessions/) { + $self->analyze_and_check_config_subsystem("Classes::Cisco::CISCOREMOTEACCESSMONITORMIB::Component::VpnSubsystem"); + } else { + $self->no_such_mode(); + } +} + + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/IOS/Component/BgpSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/BgpSubsystem.pm similarity index 77% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/IOS/Component/BgpSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/BgpSubsystem.pm index cf4f509..0d1f2ac 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/IOS/Component/BgpSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/BgpSubsystem.pm @@ -1,29 +1,29 @@ -package CheckNwcHealth::Cisco::IOS::Component::BgpSubsystem; -our @ISA = qw(CheckNwcHealth::BGP::Component::PeerSubsystem Monitoring::GLPlugin::SNMP::Item); +package Classes::Cisco::IOS::Component::BgpSubsystem; +our @ISA = qw(Classes::BGP::Component::PeerSubsystem Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; if ($self->mode =~ /device::bgp::prefix::count/) { $self->get_snmp_tables('CISCO-BGP4-MIB', [ - ['peers', 'cbgpPeer2AddrFamilyPrefixTable', 'CheckNwcHealth::Cisco::IOS::Component::BgpSubsystem::Peer2', sub { return $self->filter_name(shift->{cbgpPeer2RemoteAddr}) } ], + ['peers', 'cbgpPeer2AddrFamilyPrefixTable', 'Classes::Cisco::IOS::Component::BgpSubsystem::Peer2', sub { return $self->filter_name(shift->{cbgpPeer2RemoteAddr}) } ], ]); if (! @{$self->{peers}}) { $self->get_snmp_tables('CISCO-BGP4-MIB', [ - ['peers', 'cbgpPeerAddrFamilyPrefixTable', 'CheckNwcHealth::Cisco::IOS::Component::BgpSubsystem::Peer', sub { return $self->filter_name(shift->{cbgpPeerRemoteAddr}) } ], + ['peers', 'cbgpPeerAddrFamilyPrefixTable', 'Classes::Cisco::IOS::Component::BgpSubsystem::Peer', sub { return $self->filter_name(shift->{cbgpPeerRemoteAddr}) } ], ]); } } else { $self->get_snmp_tables('CISCO-BGP4-MIB', [ - ['peers', 'cbgpPeer2Table', 'CheckNwcHealth::Cisco::IOS::Component::BgpSubsystem::Peer2', sub { return $self->filter_name(shift->{cbgpPeer2RemoteAddr}) } ], + ['peers', 'cbgpPeer2Table', 'Classes::Cisco::IOS::Component::BgpSubsystem::Peer2', sub { return $self->filter_name(shift->{cbgpPeer2RemoteAddr}) } ], ]); if (! @{$self->{peers}}) { $self->get_snmp_tables('CISCO-BGP4-MIB', [ - ['peers', 'cbgpPeerTable', 'CheckNwcHealth::Cisco::IOS::Component::BgpSubsystem::Peer', sub { return $self->filter_name(shift->{cbgpPeerRemoteAddr}) } ], + ['peers', 'cbgpPeerTable', 'Classes::Cisco::IOS::Component::BgpSubsystem::Peer', sub { return $self->filter_name(shift->{cbgpPeerRemoteAddr}) } ], ]); } if (scalar(@{$self->{peers}}) == 0) { - bless $self, "CheckNwcHealth::BGP::Component::PeerSubsystem"; + bless $self, "Classes::BGP::Component::PeerSubsystem"; $self->init(); } } @@ -44,7 +44,7 @@ sub check { } } -package CheckNwcHealth::Cisco::IOS::Component::BgpSubsystem::Peer; +package Classes::Cisco::IOS::Component::BgpSubsystem::Peer; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -74,8 +74,8 @@ sub check { } } -package CheckNwcHealth::Cisco::IOS::Component::BgpSubsystem::Peer2; -our @ISA = qw(CheckNwcHealth::BGP::Component::PeerSubsystem::Peer Monitoring::GLPlugin::SNMP::TableItem); +package Classes::Cisco::IOS::Component::BgpSubsystem::Peer2; +our @ISA = qw(Classes::BGP::Component::PeerSubsystem::Peer Monitoring::GLPlugin::SNMP::TableItem); use strict; sub finish { @@ -104,7 +104,7 @@ sub finish { } if ($self->mode !~ /device::bgp::prefix::count/) { # na dasporama ohm en Item a eigns check und ko des vom - # CheckNwcHealth::BGP hernehma. + # Classes::BGP hernehma. my @mapping = ( ["bgpPeerRemoteAddr", "cbgpPeer2RemoteAddr"], ["bgpPeerRemoteAs", "cbgpPeer2RemoteAs"], diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/IOS/Component/ConfigSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/ConfigSubsystem.pm similarity index 97% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/IOS/Component/ConfigSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/ConfigSubsystem.pm index 9db854d..3074d01 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/IOS/Component/ConfigSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/ConfigSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Cisco::IOS::Component::ConfigSubsystem; +package Classes::Cisco::IOS::Component::ConfigSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/IOS/Component/ConnectionSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/ConnectionSubsystem.pm similarity index 76% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/IOS/Component/ConnectionSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/ConnectionSubsystem.pm index ac5e73e..7f517d1 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/IOS/Component/ConnectionSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/ConnectionSubsystem.pm @@ -1,15 +1,15 @@ -package CheckNwcHealth::Cisco::IOS::Component::ConnectionSubsystem; +package Classes::Cisco::IOS::Component::ConnectionSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('CISCO-FIREWALL-MIB', [ - ['connectionstates', 'cfwConnectionStatTable', 'CheckNwcHealth::Cisco::IOS::Component::ConnectionSubsystem::ConnectionState'], + ['connectionstates', 'cfwConnectionStatTable', 'Classes::Cisco::IOS::Component::ConnectionSubsystem::ConnectionState'], ]); } -package CheckNwcHealth::Cisco::IOS::Component::ConnectionSubsystem::ConnectionState; +package Classes::Cisco::IOS::Component::ConnectionSubsystem::ConnectionState; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/IOS/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/CpuSubsystem.pm similarity index 91% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/IOS/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/CpuSubsystem.pm index 3cbd392..2e5fb8f 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/IOS/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/CpuSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Cisco::IOS::Component::CpuSubsystem; +package Classes::Cisco::IOS::Component::CpuSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; use constant PHYS_NAME => 1; @@ -13,7 +13,7 @@ use constant PHYS_DESCR => 4; sub init { my ($self) = @_; $self->get_snmp_tables('CISCO-PROCESS-MIB', [ - ['cpus', 'cpmCPUTotalTable', 'CheckNwcHealth::Cisco::IOS::Component::CpuSubsystem::Cpu' ], + ['cpus', 'cpmCPUTotalTable', 'Classes::Cisco::IOS::Component::CpuSubsystem::Cpu' ], ]); if (scalar(@{$self->{cpus}}) == 0) { # maybe too old. i fake a cpu. be careful. this is a really bad hack @@ -22,8 +22,7 @@ sub init { )); if (defined $self->{avgBusy1}) { push(@{$self->{cpus}}, - CheckNwcHealth::Cisco::IOS::Component::CpuSubsystem::Cpu->new( - flat_indices => 0, + Classes::Cisco::IOS::Component::CpuSubsystem::Cpu->new( cpmCPUTotalPhysicalIndex => 0, #fake cpmCPUTotalIndex => 0, #fake cpmCPUTotal5sec => 0, #fake @@ -31,7 +30,7 @@ sub init { cpmCPUTotal1min => $self->{avgBusy1}, cpmCPUTotal1minRev => $self->{avgBusy1}, cpmCPUTotal5min => $self->{avgBusy5}, - cpmCPUTotal5minRev => $self->{avgBusy5}, + cpmCPUTotal5minRev => $self->{avgBusy51}, cpmCPUMonInterval => 0, #fake cpmCPUTotalMonIntervalValue => 0, #fake cpmCPUInterruptMonIntervalValue => 0, #fake @@ -53,7 +52,7 @@ sub init { } } -package CheckNwcHealth::Cisco::IOS::Component::CpuSubsystem::Cpu; +package Classes::Cisco::IOS::Component::CpuSubsystem::Cpu; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/IOS/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/EnvironmentalSubsystem.pm similarity index 70% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/IOS/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/EnvironmentalSubsystem.pm index 780e48e..bad9623 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/IOS/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/EnvironmentalSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Cisco::IOS::Component::EnvironmentalSubsystem; +package Classes::Cisco::IOS::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -17,13 +17,13 @@ sub init { if ($self->{ciscoEnvMonPresent} && $self->{ciscoEnvMonPresent} ne 'oldAgs') { $self->{fan_subsystem} = - CheckNwcHealth::Cisco::CISCOENVMONMIB::Component::FanSubsystem->new(); + Classes::Cisco::CISCOENVMONMIB::Component::FanSubsystem->new(); $self->{temperature_subsystem} = - CheckNwcHealth::Cisco::CISCOENVMONMIB::Component::TemperatureSubsystem->new(); + Classes::Cisco::CISCOENVMONMIB::Component::TemperatureSubsystem->new(); $self->{powersupply_subsystem} = - CheckNwcHealth::Cisco::CISCOENVMONMIB::Component::PowersupplySubsystem->new(); + Classes::Cisco::CISCOENVMONMIB::Component::PowersupplySubsystem->new(); $self->{voltage_subsystem} = - CheckNwcHealth::Cisco::CISCOENVMONMIB::Component::VoltageSubsystem->new(); + Classes::Cisco::CISCOENVMONMIB::Component::VoltageSubsystem->new(); $has_envmon = 1; } if ($has_envmon && @@ -41,24 +41,18 @@ sub init { if ($has_envmon) { } elsif ($self->implements_mib('CISCO-ENTITY-FRU-CONTROL-MIB')) { $self->{fru_subsystem} = - CheckNwcHealth::Cisco::CISCOENTITYFRUCONTROLMIB::Component::EnvironmentalSubsystem->new(); - # FRU MIBS doesn't show temperature sensors, only module status, etc. - # checking sensors is nice to show that your datacenter is too warm ... - if ($self->implements_mib('CISCO-ENTITY-SENSOR-MIB')) { - $self->{sensor_subsystem} = - CheckNwcHealth::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem->new(); - } + Classes::Cisco::CISCOENTITYFRUCONTROLMIB::Component::EnvironmentalSubsystem->new(); } elsif ($self->implements_mib('CISCO-ENTITY-SENSOR-MIB')) { # (IOS can have ENVMON+ENTITY. Sensors are copies, so not needed) $self->{sensor_subsystem} = - CheckNwcHealth::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem->new(); + Classes::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem->new(); } elsif ($self->get_snmp_object('MIB-2-MIB', 'sysDescr', 0) =~ /C1700 Software/) { $self->add_ok("environmental hardware working fine"); $self->add_ok('soho device, hopefully too small to fail'); } else { # last hope $self->{alarm_subsystem} = - CheckNwcHealth::Cisco::CISCOENTITYALARMMIB::Component::AlarmSubsystem->new(); + Classes::Cisco::CISCOENTITYALARMMIB::Component::AlarmSubsystem->new(); #$self->no_such_mode(); } } diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/IOS/Component/HaSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/HaSubsystem.pm similarity index 89% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/IOS/Component/HaSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/HaSubsystem.pm index 4f30431..c201890 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/IOS/Component/HaSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/HaSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Cisco::IOS::Component::HaSubsystem; +package Classes::Cisco::IOS::Component::HaSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; @@ -7,7 +7,7 @@ sub init { my ($self) = @_; if ($self->mode =~ /device::ha::role/) { $self->get_snmp_tables("CISCO-FIREWALL-MIB", [ - ['resources', 'cfwHardwareStatusTable', 'CheckNwcHealth::Cisco::IOS::Component::HaSubsystem::Resource'], + ['resources', 'cfwHardwareStatusTable', 'Classes::Cisco::IOS::Component::HaSubsystem::Resource'], ]); if (! $self->opts->role()) { $self->opts->override_opt('role', 'active'); # active/standby @@ -16,7 +16,7 @@ sub init { } -package CheckNwcHealth::Cisco::IOS::Component::HaSubsystem::Resource; +package Classes::Cisco::IOS::Component::HaSubsystem::Resource; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; @@ -25,15 +25,15 @@ sub finish { my ($self) = @_; ($self->{cfwHardwareInformationShort} = $self->{cfwHardwareInformation}) =~ s/\s*\(this device\).*//g; if ($self->{cfwHardwareInformation} =~ /Failover LAN Interface/) { - bless $self, "CheckNwcHealth::Cisco::IOS::Component::HaSubsystem::Resource::LAN"; + bless $self, "Classes::Cisco::IOS::Component::HaSubsystem::Resource::LAN"; } elsif ($self->{cfwHardwareInformation} =~ /Primary/) { - bless $self, "CheckNwcHealth::Cisco::IOS::Component::HaSubsystem::Resource::Primary"; + bless $self, "Classes::Cisco::IOS::Component::HaSubsystem::Resource::Primary"; } elsif ($self->{cfwHardwareInformation} =~ /Secondary/) { - bless $self, "CheckNwcHealth::Cisco::IOS::Component::HaSubsystem::Resource::Secondary"; + bless $self, "Classes::Cisco::IOS::Component::HaSubsystem::Resource::Secondary"; } } -package CheckNwcHealth::Cisco::IOS::Component::HaSubsystem::Resource::Primary; +package Classes::Cisco::IOS::Component::HaSubsystem::Resource::Primary; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -66,7 +66,7 @@ sub check { } } -package CheckNwcHealth::Cisco::IOS::Component::HaSubsystem::Resource::Secondary; +package Classes::Cisco::IOS::Component::HaSubsystem::Resource::Secondary; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -99,7 +99,7 @@ sub check { } } -package CheckNwcHealth::Cisco::IOS::Component::HaSubsystem::Resource::LAN; +package Classes::Cisco::IOS::Component::HaSubsystem::Resource::LAN; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/MemSubsystem.pm new file mode 100644 index 0000000..4a76e8b --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/MemSubsystem.pm @@ -0,0 +1,22 @@ +package Classes::Cisco::IOS::Component::MemSubsystem; +our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); +use strict; + +sub init { + my ($self) = @_; + if ($self->implements_mib('CISCO-ENHANCED-MEMPOOL-MIB')) { + $self->analyze_and_check_mem_subsystem("Classes::Cisco::CISCOENHANCEDMEMPOOLMIB::Component::MemSubsystem"); + if (! exists $self->{components}->{mem_subsystem} || + scalar(@{$self->{components}->{mem_subsystem}->{mems}}) == 0) { + # satz mix x.... + # der hier: Cisco IOS Software, IOS-XE Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 03.03.02SE RELEASE SOFTWARE (fc2) + # hat nicht mehr zu bieten als eine einzige oid + # cempMemBufferNotifyEnabled .1.3.6.1.4.1.9.9.221.1.2.1.0 = INTEGER: 2 + # deshalb: + $self->analyze_and_check_mem_subsystem("Classes::Cisco::CISCOMEMORYPOOLMIB::Component::MemSubsystem"); + } + } else { + $self->analyze_and_check_mem_subsystem("Classes::Cisco::CISCOMEMORYPOOLMIB::Component::MemSubsystem"); + } +} + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/IOS/Component/NatSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/NatSubsystem.pm similarity index 86% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/IOS/Component/NatSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/NatSubsystem.pm index 33c3e7e..4d3bb65 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/IOS/Component/NatSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/NatSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Cisco::IOS::Component::NatSubsystem; +package Classes::Cisco::IOS::Component::NatSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -10,7 +10,7 @@ sub init { )); } elsif ($self->mode =~ /device::interfaces::nat::rejects/) { $self->get_snmp_tables('CISCO-IETF-NAT-MIB', [ - ['protocolstats', 'cnatProtocolStatsTable', 'CheckNwcHealth::Cisco::IOS::Component::NatSubsystem::CnatProtocolStats'], + ['protocolstats', 'cnatProtocolStatsTable', 'Classes::Cisco::IOS::Component::NatSubsystem::CnatProtocolStats'], ]); } } @@ -43,7 +43,7 @@ sub check { } } -package CheckNwcHealth::Cisco::IOS::Component::NatSubsystem::CnatProtocolStats; +package Classes::Cisco::IOS::Component::NatSubsystem::CnatProtocolStats; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -68,10 +68,5 @@ sub check { $self->{rejects}, $self->{cnatProtocolStatsName}); $self->set_thresholds(warning => 30, critical => 50); $self->add_message($self->check_thresholds($self->{rejects})); - $self->add_perfdata( - label => 'nat_packets_rejected_pct', - value => $self->{rejects}, - uom => '%', - ); } diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/NXOS.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/NXOS.pm new file mode 100644 index 0000000..e059fb4 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/NXOS.pm @@ -0,0 +1,30 @@ +package Classes::Cisco::NXOS; +our @ISA = qw(Classes::Cisco); +use strict; + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + #$self->mult_snmp_max_msg_size(10); + $self->analyze_and_check_environmental_subsystem("Classes::Cisco::NXOS::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::cisco::fex::watch/) { + $self->analyze_and_check_environmental_subsystem("Classes::Cisco::NXOS::Component::FexSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::Cisco::IOS::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::Cisco::NXOS::Component::MemSubsystem"); + } elsif ($self->mode =~ /device::config/) { + $self->analyze_and_check_config_subsystem("Classes::Cisco::IOS::Component::ConfigSubsystem"); + } elsif ($self->mode =~ /device::hsrp/) { + $self->analyze_and_check_hsrp_subsystem("Classes::HSRP::Component::HSRPSubsystem"); + } else { + $self->no_such_mode(); + } +} + +sub pretty_sysdesc { + my ($self, $sysDescr) = @_; + if ($sysDescr =~ /(Cisco NX-OS.*? n\d+),.*(Version .*), RELEASE SOFTWARE/) { + return $1.' '.$2; + } +} diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/NXOS/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/NXOS/Component/CpuSubsystem.pm similarity index 72% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/NXOS/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/NXOS/Component/CpuSubsystem.pm index 15dbd7e..2eaf513 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/NXOS/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/NXOS/Component/CpuSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Cisco::NXOS::Component::CpuSubsystem; +package Classes::Cisco::NXOS::Component::CpuSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -9,28 +9,28 @@ use strict; sub init { my ($self) = @_; $self->get_snmp_tables('CISCO-PROCESS-MIB', [ - ['cpus', 'cpmCPUTotalTable', 'CheckNwcHealth::Cisco::NXOS::Component::CpuSubsystem::Cpu' ], + ['cpus', 'cpmCPUTotalTable', 'Classes::Cisco::NXOS::Component::CpuSubsystem::Cpu' ], ]); if (scalar(@{$self->{cpus}}) == 0) { # maybe too old. i fake a cpu. be careful. this is a really bad hack my $response = $self->get_request( -varbindlist => [ - $CheckNwcHealth::Device::mibs_and_oids->{'OLD-CISCO-CPU-MIB'}->{avgBusy1}, - $CheckNwcHealth::Device::mibs_and_oids->{'OLD-CISCO-CPU-MIB'}->{avgBusy5}, - $CheckNwcHealth::Device::mibs_and_oids->{'OLD-CISCO-CPU-MIB'}->{busyPer}, + $Classes::Device::mibs_and_oids->{'OLD-CISCO-CPU-MIB'}->{avgBusy1}, + $Classes::Device::mibs_and_oids->{'OLD-CISCO-CPU-MIB'}->{avgBusy5}, + $Classes::Device::mibs_and_oids->{'OLD-CISCO-CPU-MIB'}->{busyPer}, ] ); - if (exists $response->{$CheckNwcHealth::Device::mibs_and_oids->{'OLD-CISCO-CPU-MIB'}->{avgBusy1}}) { + if (exists $response->{$Classes::Device::mibs_and_oids->{'OLD-CISCO-CPU-MIB'}->{avgBusy1}}) { push(@{$self->{cpus}}, - CheckNwcHealth::Cisco::NXOS::Component::CpuSubsystem::Cpu->new( + Classes::Cisco::NXOS::Component::CpuSubsystem::Cpu->new( cpmCPUTotalPhysicalIndex => 0, #fake cpmCPUTotalIndex => 0, #fake cpmCPUTotal5sec => 0, #fake cpmCPUTotal5secRev => 0, #fake - cpmCPUTotal1min => $response->{$CheckNwcHealth::Device::mibs_and_oids->{'OLD-CISCO-CPU-MIB'}->{avgBusy1}}, - cpmCPUTotal1minRev => $response->{$CheckNwcHealth::Device::mibs_and_oids->{'OLD-CISCO-CPU-MIB'}->{avgBusy1}}, - cpmCPUTotal5min => $response->{$CheckNwcHealth::Device::mibs_and_oids->{'OLD-CISCO-CPU-MIB'}->{avgBusy5}}, - cpmCPUTotal5minRev => $response->{$CheckNwcHealth::Device::mibs_and_oids->{'OLD-CISCO-CPU-MIB'}->{avgBusy5}}, + cpmCPUTotal1min => $response->{$Classes::Device::mibs_and_oids->{'OLD-CISCO-CPU-MIB'}->{avgBusy1}}, + cpmCPUTotal1minRev => $response->{$Classes::Device::mibs_and_oids->{'OLD-CISCO-CPU-MIB'}->{avgBusy1}}, + cpmCPUTotal5min => $response->{$Classes::Device::mibs_and_oids->{'OLD-CISCO-CPU-MIB'}->{avgBusy5}}, + cpmCPUTotal5minRev => $response->{$Classes::Device::mibs_and_oids->{'OLD-CISCO-CPU-MIB'}->{avgBusy5}}, cpmCPUMonInterval => 0, #fake cpmCPUTotalMonIntervalValue => 0, #fake cpmCPUInterruptMonIntervalValue => 0, #fake @@ -39,7 +39,7 @@ sub init { } } -package CheckNwcHealth::Cisco::NXOS::Component::CpuSubsystem::Cpu; +package Classes::Cisco::NXOS::Component::CpuSubsystem::Cpu; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -47,7 +47,7 @@ sub finish { my ($self) = @_; $self->{cpmCPUTotalIndex} = exists $self->{cpmCPUTotalIndex} ? $self->{cpmCPUTotalIndex} : - $CheckNwcHealth::Cisco::NXOS::Component::CpuSubsystem::cpmCPUTotalIndex++; + $Classes::Cisco::NXOS::Component::CpuSubsystem::cpmCPUTotalIndex++; $self->{cpmCPUTotalPhysicalIndex} = exists $self->{cpmCPUTotalPhysicalIndex} ? $self->{cpmCPUTotalPhysicalIndex} : 0; if (exists $self->{cpmCPUTotal5minRev}) { diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/NXOS/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/NXOS/Component/EnvironmentalSubsystem.pm similarity index 91% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/NXOS/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/NXOS/Component/EnvironmentalSubsystem.pm index c31f186..67a308b 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/NXOS/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/NXOS/Component/EnvironmentalSubsystem.pm @@ -1,17 +1,17 @@ -package CheckNwcHealth::Cisco::NXOS::Component::EnvironmentalSubsystem; +package Classes::Cisco::NXOS::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->{sensor_subsystem} = - CheckNwcHealth::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem->new() + Classes::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem->new() unless $self->opts->nosensors; # weil irgendwie ist die Voltagetemperatur am 8912ten Sensor auch # schon Wurscht, insbesondere wenn da riesige, langsame Tabellen # quer über den Pazifik geschaufelt werden. if ($self->implements_mib('CISCO-ENTITY-FRU-CONTROL-MIB')) { - $self->{fru_subsystem} = CheckNwcHealth::Cisco::CISCOENTITYFRUCONTROLMIB::Component::EnvironmentalSubsystem->new(); + $self->{fru_subsystem} = Classes::Cisco::CISCOENTITYFRUCONTROLMIB::Component::EnvironmentalSubsystem->new(); $self->check_l2_l3(); foreach my $mod (@{$self->{fru_subsystem}->{module_subsystem}->{modules}}) { if (exists $mod->{entity} && diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/NXOS/Component/FexSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/NXOS/Component/FexSubsystem.pm similarity index 90% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/NXOS/Component/FexSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/NXOS/Component/FexSubsystem.pm index 7267e64..d800911 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/NXOS/Component/FexSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/NXOS/Component/FexSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Cisco::NXOS::Component::FexSubsystem; +package Classes::Cisco::NXOS::Component::FexSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -9,7 +9,7 @@ sub init { ['features', 'cfcFeatureCtrlTable', 'Monitoring::GLPlugin::SNMP::TableItem'], ]); $self->get_snmp_tables('CISCO-ETHERNET-FABRIC-EXTENDER-MIB', [ - ['fexes', 'cefexConfigTable', 'CheckNwcHealth::Cisco::NXOS::Component::FexSubsystem::Fex'], + ['fexes', 'cefexConfigTable', 'Classes::Cisco::NXOS::Component::FexSubsystem::Fex'], ]); $self->{fex_feature} = 1; foreach (@{$self->{features}}) { @@ -22,14 +22,14 @@ sub init { if (scalar (@{$self->{fexes}}) == 0) { # fallback $self->get_snmp_tables('ENTITY-MIB', [ - ['fexes', 'entPhysicalTable', 'CheckNwcHealth::Cisco::NXOS::Component::FexSubsystem::Fex'], + ['fexes', 'entPhysicalTable', 'Classes::Cisco::NXOS::Component::FexSubsystem::Fex'], ]); @{$self->{fexes}} = grep { $_->{entPhysicalClass} eq 'chassis' && $_->{entPhysicalDescr} =~ /fex/i; } @{$self->{fexes}}; if (scalar (@{$self->{fexes}}) == 0) { $self->get_snmp_tables('ENTITY-MIB', [ - ['fexes', 'entPhysicalTable', 'CheckNwcHealth::Cisco::NXOS::Component::FexSubsystem::Fex'], + ['fexes', 'entPhysicalTable', 'Classes::Cisco::NXOS::Component::FexSubsystem::Fex'], ]); # fallback my $known_fexes = {}; @@ -89,7 +89,7 @@ sub check { } -package CheckNwcHealth::Cisco::NXOS::Component::FexSubsystem::Fex; +package Classes::Cisco::NXOS::Component::FexSubsystem::Fex; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/NXOS/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/NXOS/Component/MemSubsystem.pm similarity index 92% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/NXOS/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/NXOS/Component/MemSubsystem.pm index a162da0..28f47ec 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/NXOS/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/NXOS/Component/MemSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Cisco::NXOS::Component::MemSubsystem; +package Classes::Cisco::NXOS::Component::MemSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/OLDCISCOINTERFACESMIB/Component/InterfaceSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/OLDCISCOINTERFACESMIB/Component/InterfaceSubsystem.pm similarity index 93% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/OLDCISCOINTERFACESMIB/Component/InterfaceSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/OLDCISCOINTERFACESMIB/Component/InterfaceSubsystem.pm index 9e779be..28cace5 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/OLDCISCOINTERFACESMIB/Component/InterfaceSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/OLDCISCOINTERFACESMIB/Component/InterfaceSubsystem.pm @@ -1,5 +1,5 @@ -package CheckNwcHealth::Cisco::OLDCISCOINTERFACESMIB::Component::InterfaceSubsystem; -our @ISA = qw(CheckNwcHealth::IFMIB::Component::InterfaceSubsystem); +package Classes::Cisco::OLDCISCOINTERFACESMIB::Component::InterfaceSubsystem; +our @ISA = qw(Classes::IFMIB::Component::InterfaceSubsystem); use strict; sub init { @@ -95,7 +95,7 @@ sub init { 'IFMIB', 'ifTable+ifXTable', \@indices, \@iftable_columns)) { next if $only_admin_up && $_->{ifAdminStatus} ne 'up'; next if $only_oper_up && $_->{ifOperStatus} ne 'up'; - my $interface = CheckNwcHealth::Cisco::OLDCISCOINTERFACESMIB::Component::InterfaceSubsystem::Interface->new(%{$_}); + my $interface = Classes::Cisco::OLDCISCOINTERFACESMIB::Component::InterfaceSubsystem::Interface->new(%{$_}); $interface->{columns} = [@iftable_columns]; push(@{$self->{interfaces}}, $interface); } @@ -206,8 +206,8 @@ sub init { } -package CheckNwcHealth::Cisco::OLDCISCOINTERFACESMIB::Component::InterfaceSubsystem::Interface; -our @ISA = qw(CheckNwcHealth::IFMIB::Component::InterfaceSubsystem::Interface); +package Classes::Cisco::OLDCISCOINTERFACESMIB::Component::InterfaceSubsystem::Interface; +our @ISA = qw(Classes::IFMIB::Component::InterfaceSubsystem::Interface); use strict; use Digest::MD5 qw(md5_hex); @@ -232,11 +232,11 @@ sub finish { $self->{ifName} = unpack("Z*", $self->{ifName}); $self->{ifAlias} = unpack("Z*", $self->{ifAlias}); $self->{ifAlias} =~ s/\|/!/g if $self->{ifAlias}; - bless $self,'CheckNwcHealth::Cisco::OLDCISCOINTERFACESMIB::Component::InterfaceSubsystem::Interface::64bit'; + bless $self,'Classes::Cisco::OLDCISCOINTERFACESMIB::Component::InterfaceSubsystem::Interface::64bit'; } if (! exists $self->{ifInUcastPkts} && ! exists $self->{ifOutUcastPkts} && $self->mode =~ /device::interfaces::(broadcast|complete|etherstats)/) { - bless $self, 'CheckNwcHealth::IFMIB::Component::InterfaceSubsystem::Interface::StackSub'; + bless $self, 'Classes::IFMIB::Component::InterfaceSubsystem::Interface::StackSub'; } if ($self->{ifPhysAddress}) { $self->{ifPhysAddress} = join(':', unpack('(H2)*', $self->{ifPhysAddress})); @@ -307,8 +307,8 @@ sub check { } -package CheckNwcHealth::Cisco::OLDCISCOINTERFACESMIB::Component::InterfaceSubsystem::Interface::64bit; -our @ISA = qw(CheckNwcHealth::Cisco::OLDCISCOINTERFACESMIB::Component::InterfaceSubsystem::Interface CheckNwcHealth::IFMIB::Component::InterfaceSubsystem::Interface::64bit); +package Classes::Cisco::OLDCISCOINTERFACESMIB::Component::InterfaceSubsystem::Interface::64bit; +our @ISA = qw(Classes::Cisco::OLDCISCOINTERFACESMIB::Component::InterfaceSubsystem::Interface Classes::IFMIB::Component::InterfaceSubsystem::Interface::64bit); use strict; use Digest::MD5 qw(md5_hex); diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/PrimeNCS.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/PrimeNCS.pm new file mode 100644 index 0000000..f031280 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/PrimeNCS.pm @@ -0,0 +1,18 @@ +package Classes::Cisco::PrimeNCS; +our @ISA = qw(Classes::Cisco); +use strict; + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + #$self->analyze_and_check_environmental_subsystem("Classes::Cisco::CISCOENTITYFRUCONTROLMIB::Component::EnvironmentalSubsystem"); + $self->analyze_and_check_environmental_subsystem("Classes::HOSTRESOURCESMIB::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::HOSTRESOURCESMIB::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::HOSTRESOURCESMIB::Component::MemSubsystem"); + } else { + $self->no_such_mode(); + } +} + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/SB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/SB.pm similarity index 50% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/SB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/SB.pm index 8a5f98c..2dbfbd6 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/SB.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/SB.pm @@ -1,20 +1,20 @@ -package CheckNwcHealth::Cisco::SB; -our @ISA = qw(CheckNwcHealth::Cisco); +package Classes::Cisco::SB; +our @ISA = qw(Classes::Cisco); use strict; sub init { my ($self) = @_; if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Cisco::SB::Component::EnvironmentalSubsystem"); + $self->analyze_and_check_environmental_subsystem("Classes::Cisco::SB::Component::EnvironmentalSubsystem"); if (! $self->check_messages()) { $self->clear_messages(0); $self->add_ok("environmental hardware working fine"); } } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Cisco::SB::Component::CpuSubsystem"); + $self->analyze_and_check_environmental_subsystem("Classes::Cisco::SB::Component::CpuSubsystem"); } elsif ($self->mode =~ /device::hardware::memory/) { $self->no_such_mode(); - #$self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Cisco::SB::Component::MemSubsystem"); + #$self->analyze_and_check_environmental_subsystem("Classes::Cisco::SB::Component::MemSubsystem"); } else { $self->no_such_mode(); } diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/SB/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/SB/Component/CpuSubsystem.pm similarity index 92% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/SB/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/SB/Component/CpuSubsystem.pm index cce1365..455be05 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/SB/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/SB/Component/CpuSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Cisco::SB::Component::CpuSubsystem; +package Classes::Cisco::SB::Component::CpuSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/SB/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/SB/Component/EnvironmentalSubsystem.pm similarity index 71% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/SB/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/SB/Component/EnvironmentalSubsystem.pm index c65d2af..2116352 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/SB/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/SB/Component/EnvironmentalSubsystem.pm @@ -1,12 +1,12 @@ -package CheckNwcHealth::Cisco::SB::Component::EnvironmentalSubsystem; +package Classes::Cisco::SB::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('CISCOSB-HWENVIROMENT', [ - ['fans', 'rlEnvMonFanStatusTable', 'CheckNwcHealth::Cisco::SB::Component::EnvironmentalSubsystem::Fan'], - ['powersupplies', 'rlEnvMonSupplyStatusTable', 'CheckNwcHealth::Cisco::SB::Component::EnvironmentalSubsystem::Powersupply'], + ['fans', 'rlEnvMonFanStatusTable', 'Classes::Cisco::SB::Component::EnvironmentalSubsystem::Fan'], + ['powersupplies', 'rlEnvMonSupplyStatusTable', 'Classes::Cisco::SB::Component::EnvironmentalSubsystem::Powersupply'], ]); $self->get_snmp_tables('ENTITY-MIB', [ ['entities', 'entPhysicalTable', 'Monitoring::GLPlugin::SNMP::TableItem'], @@ -15,7 +15,7 @@ sub init { } -package CheckNwcHealth::Cisco::SB::Component::EnvironmentalSubsystem::Fan; +package Classes::Cisco::SB::Component::EnvironmentalSubsystem::Fan; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -33,7 +33,7 @@ sub check { } } -package CheckNwcHealth::Cisco::SB::Component::EnvironmentalSubsystem::Powersupply; +package Classes::Cisco::SB::Component::EnvironmentalSubsystem::Powersupply; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/SB/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/SB/Component/MemSubsystem.pm similarity index 92% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/SB/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/SB/Component/MemSubsystem.pm index 446c74d..6105af4 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/SB/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/SB/Component/MemSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Cisco::SB::Component::MemSubsystem; +package Classes::Cisco::SB::Component::MemSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/UCOS.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/UCOS.pm new file mode 100644 index 0000000..7440aaf --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/UCOS.pm @@ -0,0 +1,21 @@ +package Classes::Cisco::UCOS; +our @ISA = qw(Classes::Cisco); +use strict; + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::HOSTRESOURCESMIB::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::HOSTRESOURCESMIB::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::HOSTRESOURCESMIB::Component::MemSubsystem"); + } elsif ($self->mode =~ /device::phone::cm/) { + $self->analyze_and_check_cm_subsystem("Classes::Cisco::CCM::Component::CmSubsystem"); + } elsif ($self->mode =~ /device::phone/) { + $self->analyze_and_check_phone_subsystem("Classes::Cisco::CCM::Component::PhoneSubsystem"); + } else { + $self->no_such_mode(); + } +} + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/WLC.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC.pm similarity index 70% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/WLC.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC.pm index 4172e3a..5d705be 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/WLC.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC.pm @@ -1,5 +1,5 @@ -package CheckNwcHealth::Cisco::WLC; -our @ISA = qw(CheckNwcHealth::Cisco); +package Classes::Cisco::WLC; +our @ISA = qw(Classes::Cisco); use strict; sub init { @@ -7,30 +7,30 @@ sub init { if ($self->mode =~ /device::hardware::health/) { if ($self->implements_mib('AIRESPACE-SWITCHING-MIB') && $self->get_snmp_object('AIRESPACE-SWITCHING-MIB', 'agentSwitchInfoPowerSupply1Present')) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Cisco::WLC::Component::EnvironmentalSubsystem"); + $self->analyze_and_check_environmental_subsystem("Classes::Cisco::WLC::Component::EnvironmentalSubsystem"); } else { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Cisco::IOS::Component::EnvironmentalSubsystem"); + $self->analyze_and_check_environmental_subsystem("Classes::Cisco::IOS::Component::EnvironmentalSubsystem"); } } elsif ($self->mode =~ /device::hardware::load/) { if ($self->implements_mib('AIRESPACE-SWITCHING-MIB') && defined $self->get_snmp_object('AIRESPACE-SWITCHING-MIB', 'agentCurrentCPUUtilization')) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::Cisco::WLC::Component::CpuSubsystem"); + $self->analyze_and_check_cpu_subsystem("Classes::Cisco::WLC::Component::CpuSubsystem"); } else { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::Cisco::IOS::Component::CpuSubsystem"); + $self->analyze_and_check_cpu_subsystem("Classes::Cisco::IOS::Component::CpuSubsystem"); } } elsif ($self->mode =~ /device::hardware::memory/) { if ($self->implements_mib('AIRESPACE-SWITCHING-MIB') && $self->get_snmp_object('AIRESPACE-SWITCHING-MIB', 'agentTotalMemory')) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::Cisco::WLC::Component::MemSubsystem"); + $self->analyze_and_check_mem_subsystem("Classes::Cisco::WLC::Component::MemSubsystem"); } else { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::Cisco::IOS::Component::MemSubsystem"); + $self->analyze_and_check_mem_subsystem("Classes::Cisco::IOS::Component::MemSubsystem"); } } elsif ($self->mode =~ /device::wlan/) { $self->select_lwapp_ha_version(); - $self->analyze_and_check_wlan_subsystem("CheckNwcHealth::Cisco::WLC::Component::WlanSubsystem"); + $self->analyze_and_check_wlan_subsystem("Classes::Cisco::WLC::Component::WlanSubsystem"); } elsif ($self->mode =~ /device::ha::/) { $self->select_lwapp_ha_version(); - $self->analyze_and_check_wlan_subsystem("CheckNwcHealth::Cisco::WLC::Component::HaSubsystem"); + $self->analyze_and_check_wlan_subsystem("Classes::Cisco::WLC::Component::HaSubsystem"); } else { $self->no_such_mode(); } diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/WLC/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC/Component/CpuSubsystem.pm similarity index 90% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/WLC/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC/Component/CpuSubsystem.pm index b072628..548a741 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/WLC/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC/Component/CpuSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Cisco::WLC::Component::CpuSubsystem; +package Classes::Cisco::WLC::Component::CpuSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/WLC/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC/Component/EnvironmentalSubsystem.pm similarity index 97% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/WLC/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC/Component/EnvironmentalSubsystem.pm index 843c7bf..ece3292 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/WLC/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC/Component/EnvironmentalSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Cisco::WLC::Component::EnvironmentalSubsystem; +package Classes::Cisco::WLC::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/WLC/Component/HaSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC/Component/HaSubsystem.pm similarity index 78% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/WLC/Component/HaSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC/Component/HaSubsystem.pm index 8a8fb07..3202487 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/WLC/Component/HaSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC/Component/HaSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Cisco::WLC::Component::HaSubsystem; +package Classes::Cisco::WLC::Component::HaSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -14,7 +14,6 @@ sub init { cLHaPrimaryUnit cLHaNetworkFailOver cLHaBulkSyncStatus cLHaRFStatusUnitIp cLHaAvgPeerReachLatency cLHaAvgGwReachLatency - cLHaPeerHotStandbyEvent )); } } @@ -37,14 +36,6 @@ sub check { if ($self->{cLHaBulkSyncStatus} ne "Complete") { $self->add_warning(); } - } elsif (defined $self->{cLHaPeerHotStandbyEvent}) { - $self->add_info(sprintf "this is a unit in a failover setup, peer status is %s", - $self->{cLHaPeerHotStandbyEvent}); - if ($self->{cLHaPeerHotStandbyEvent} eq "up") { - $self->add_ok(); - } else { - $self->add_warning(); - } } else { $self->add_critical_mitigation('ha failover is not configured'); } diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/WLC/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC/Component/MemSubsystem.pm similarity index 92% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/WLC/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC/Component/MemSubsystem.pm index 7fc5b56..4d211b7 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/WLC/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC/Component/MemSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Cisco::WLC::Component::MemSubsystem; +package Classes::Cisco::WLC::Component::MemSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/WLC/Component/WlanSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC/Component/WlanSubsystem.pm similarity index 63% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/WLC/Component/WlanSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC/Component/WlanSubsystem.pm index c45f4fb..764115a 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cisco/WLC/Component/WlanSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC/Component/WlanSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Cisco::WLC::Component::WlanSubsystem; +package Classes::Cisco::WLC::Component::WlanSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -6,7 +6,7 @@ sub init { my ($self) = @_; if ($self->mode =~ /device::wlan::aps::clients/) { $self->get_snmp_tables('AIRESPACE-WIRELESS-MIB', [ - ['mobilestations', 'bsnMobileStationTable', 'CheckNwcHealth::Cisco::WLC::Component::WlanSubsystem::MobileStation', sub { return $self->filter_name(shift->{bsnMobileStationSsid}) }, ['bsnMobileStationSsid', 'bsnMobileStationMacAddress'] ], + ['mobilestations', 'bsnMobileStationTable', 'Classes::Cisco::WLC::Component::WlanSubsystem::MobileStation', sub { return $self->filter_name(shift->{bsnMobileStationSsid}) } ], ]); } else { $self->{name} = $self->get_snmp_object('MIB-2-MIB', 'sysName', 0); @@ -15,44 +15,14 @@ sub init { cLHaRedundancyIpAddressType cLHaRedundancyIpAddress )); $self->mult_snmp_max_msg_size(4); - $self->get_snmp_tables('CISCO-LWAPP-CDP-MIB', [ - ['cacheaps', 'clcCdpApCacheTable', 'Monitoring::GLPlugin::SNMP::TableItem', undef, ['clcCdpApCacheApName', 'clcCdpApCacheNeighName', 'clcCdpApCacheNeighInterface'] ], - ]); $self->get_snmp_tables('AIRESPACE-WIRELESS-MIB', [ - ['aps', 'bsnAPTable', 'CheckNwcHealth::Cisco::WLC::Component::WlanSubsystem::AP', sub { return $self->filter_name(shift->{bsnAPName}) }, ['bsnAPName', 'bsnAPDot3MacAddress', 'bsnAPAdminStatus', 'bsnAPOperationStatus'] ], - - ['ifs', 'bsnAPIfTable', 'CheckNwcHealth::Cisco::WLC::Component::WlanSubsystem::AP', undef, ['bsnAPIfSlotId'] ], - ['ifloads', 'bsnAPIfLoadParametersTable', 'CheckNwcHealth::Cisco::WLC::Component::WlanSubsystem::IFLoad', undef, ['bsnAPIfLoadNumOfClients', 'bsnAPIfLoadTxUtilization', 'bsnAPIfLoadRxUtilization'] ], + ['aps', 'bsnAPTable', 'Classes::Cisco::WLC::Component::WlanSubsystem::AP', sub { return $self->filter_name(shift->{bsnAPName}) } ], + ['ifs', 'bsnAPIfTable', 'Classes::Cisco::WLC::Component::WlanSubsystem::AP' ], + ['ifloads', 'bsnAPIfLoadParametersTable', 'Classes::Cisco::WLC::Component::WlanSubsystem::IFLoad' ], ]); $self->assign_loads_to_ifs(); $self->dummy_loads_to_ifs(); $self->assign_ifs_to_aps(); - if ($self->opts->report eq "long" and $self->mode =~ /device::wlan::aps::watch/) { - $self->assign_neighbors_to_aps(); - # we need to keep the informaton - # bsnAPName -> clcCdpApCacheNeighName/clcCdpApCacheNeighInterface - # in a file. Because when an AP disappears, then the entry in the - # clcCdpApCacheTable is gone as well. - my $saved_cache = $self->load_state(name => "bsnaptable+clccdpapcachetable") || {}; - my $now = time; - foreach my $ap (@{$self->{aps}}) { - $ap->{refreshed} = $now; - $saved_cache->{$ap->{bsnAPName}} = { - refreshed => $now, - clcCdpApCacheNeighName => $ap->{clcCdpApCacheNeighName}, - clcCdpApCacheNeighInterface => $ap->{clcCdpApCacheNeighInterface}, - }; - } - my $one_week_ago = time - 3600*24*7; - my $filtered_cache = { map { - $_ => $saved_cache->{$_} - } grep { - $saved_cache->{$_}->{refreshed} >= $one_week_ago - } keys %$saved_cache }; - $self->save_state(name => "bsnaptable+clccdpapcachetable", - save => $filtered_cache); - $self->{saved_cache} = $filtered_cache; - } } } @@ -61,13 +31,7 @@ sub check { $self->add_info('checking access points'); if ($self->mode =~ /device::wlan::aps::clients/) { my $ssids = {}; - map { - $ssids->{$_->{bsnMobileStationSsid}} += 1 - } grep { - # es gibt Stations onhe SSID, Mac etc. Die sind nicht konfiguriert - # oder ausser Betrieb. - $_->{bsnMobileStationSsid}; - } @{$self->{mobilestations}}; + map { $ssids->{$_->{bsnMobileStationSsid}} += 1 } @{$self->{mobilestations}}; foreach my $ssid (sort keys %{$ssids}) { $self->set_thresholds(metric => $ssid.'_clients', warning => '0:', critical => ':0'); @@ -113,17 +77,6 @@ sub check { $self->add_critical(sprintf '%d access points missing (%s)', scalar(@{$self->{delta_lost_apNameList}}), join(", ", @{$self->{delta_lost_apNameList}})); - if ($self->{saved_cache}) { - foreach my $ap (@{$self->{delta_lost_apNameList}}) { - if (exists $self->{saved_cache}->{$ap}) { - my $neighbor = sprintf "neighbor of %s was %s+%s", - $ap, - $self->{saved_cache}->{$ap}->{clcCdpApCacheNeighName}, - $self->{saved_cache}->{$ap}->{clcCdpApCacheNeighInterface}; - $self->add_critical($neighbor); - } - } - } } $self->add_ok(sprintf 'found %d access points', scalar (@{$self->{aps}})); $self->add_perfdata( @@ -167,18 +120,6 @@ sub assign_ifs_to_aps { } } -sub assign_neighbors_to_aps { - my ($self) = @_; - foreach my $ap (@{$self->{aps}}) { - foreach my $if (@{$self->{cacheaps}}) { - if ($if->{clcCdpApCacheApName} eq $ap->{bsnAPName}) { - $ap->{clcCdpApCacheNeighInterface} = $if->{clcCdpApCacheNeighInterface}; - $ap->{clcCdpApCacheNeighName} = $if->{clcCdpApCacheNeighName}; - } - } - } -} - sub assign_loads_to_ifs { my ($self) = @_; foreach my $if (@{$self->{ifs}}) { @@ -197,17 +138,17 @@ sub assign_loads_to_ifs { } -package CheckNwcHealth::Cisco::WLC::Component::WlanSubsystem::IF; +package Classes::Cisco::WLC::Component::WlanSubsystem::IF; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; -package CheckNwcHealth::Cisco::WLC::Component::WlanSubsystem::IFLoad; +package Classes::Cisco::WLC::Component::WlanSubsystem::IFLoad; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; -package CheckNwcHealth::Cisco::WLC::Component::WlanSubsystem::AP; +package Classes::Cisco::WLC::Component::WlanSubsystem::AP; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -218,9 +159,6 @@ sub finish { } elsif ($self->{bsnAPDot3MacAddress} && unpack("H12", $self->{bsnAPDot3MacAddress}) =~ /(\w{2})(\w{2})(\w{2})(\w{2})(\w{2})(\w{2})/) { $self->{bsnAPDot3MacAddress} = join(".", map { hex($_) } ($1, $2, $3, $4, $5, $6)); } - if (not $self->{bsnAPName}) { - $self->{bsnAPName} = "UNNAMED_".$self->{flat_indices}; - } } sub check { @@ -245,7 +183,7 @@ sub check { } } -package CheckNwcHealth::Cisco::WLC::Component::WlanSubsystem::MobileStation; +package Classes::Cisco::WLC::Component::WlanSubsystem::MobileStation; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Clavister.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Clavister.pm new file mode 100644 index 0000000..3baabbf --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Clavister.pm @@ -0,0 +1,19 @@ +package Classes::Clavister; +our @ISA = qw(Classes::Device); +use strict; + +use constant trees => ( + '1.3.6.1.4.1.5089', # CLAVISTER-MIB +); + +sub init { + my ($self) = @_; + if ($self->{productname} =~ /Clavister/i) { + bless $self, 'Classes::Clavister::Firewall1'; + $self->debug('using Classes::Clavister::Firewall1'); + } + if (ref($self) ne "Classes::Clavister") { + $self->init(); + } +} + diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Clavister/Firewall1.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Clavister/Firewall1.pm new file mode 100644 index 0000000..cff3f8f --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Clavister/Firewall1.pm @@ -0,0 +1,17 @@ +package Classes::Clavister::Firewall1; +our @ISA = qw(Classes::Clavister); +use strict; + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::Clavister::Firewall1::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::Clavister::Firewall1::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::Clavister::Firewall1::Component::MemSubsystem"); + } else { + $self->no_such_mode(); + } +} + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Clavister/Firewall1/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Clavister/Firewall1/Component/CpuSubsystem.pm similarity index 88% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Clavister/Firewall1/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Clavister/Firewall1/Component/CpuSubsystem.pm index 9499b8f..8ed22dd 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Clavister/Firewall1/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Clavister/Firewall1/Component/CpuSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Clavister::Firewall1::Component::CpuSubsystem; +package Classes::Clavister::Firewall1::Component::CpuSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Clavister/Firewall1/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Clavister/Firewall1/Component/EnvironmentalSubsystem.pm similarity index 83% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Clavister/Firewall1/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Clavister/Firewall1/Component/EnvironmentalSubsystem.pm index 43d4d9e..16af2cb 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Clavister/Firewall1/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Clavister/Firewall1/Component/EnvironmentalSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Clavister::Firewall1::Component::EnvironmentalSubsystem; +package Classes::Clavister::Firewall1::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; use Data::Dumper; @@ -6,7 +6,7 @@ use Data::Dumper; sub init { my ($self) = @_; $self->get_snmp_tables('CLAVISTER-MIB', [ - ['sensor', 'clvHWSensorEntry', 'CheckNwcHealth::Clavister::Firewall1::Component::HWSensor'], + ['sensor', 'clvHWSensorEntry', 'Classes::Clavister::Firewall1::Component::HWSensor'], ]); } @@ -18,7 +18,7 @@ sub check { } -package CheckNwcHealth::Clavister::Firewall1::Component::HWSensor; +package Classes::Clavister::Firewall1::Component::HWSensor; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Clavister/Firewall1/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Clavister/Firewall1/Component/MemSubsystem.pm similarity index 88% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Clavister/Firewall1/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Clavister/Firewall1/Component/MemSubsystem.pm index 79d199d..b0b9409 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Clavister/Firewall1/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Clavister/Firewall1/Component/MemSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Clavister::Firewall1::Component::MemSubsystem; +package Classes::Clavister::Firewall1::Component::MemSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cumulus.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cumulus.pm similarity index 61% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cumulus.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cumulus.pm index 865bd8e..550596a 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Cumulus.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cumulus.pm @@ -1,5 +1,5 @@ -package CheckNwcHealth::Cumulus; -our @ISA = qw(CheckNwcHealth::Device); +package Classes::Cumulus; +our @ISA = qw(Classes::Device); use strict; sub init { @@ -9,10 +9,10 @@ sub init { # ['diskios', 'diskIOTable', 'Monitoring::GLPlugin::SNMP::TableItem'], #]); $self->override_opt('warningx', { 'temp_.*' => '68'}); - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::LMSENSORSMIB::Component::EnvironmentalSubsystem"); -$self->analyze_and_check_environmental_subsystem("CheckNwcHealth::ENTITYSENSORMIB::Component::EnvironmentalSubsystem"); + $self->analyze_and_check_environmental_subsystem("Classes::LMSENSORSMIB::Component::EnvironmentalSubsystem"); +$self->analyze_and_check_environmental_subsystem("Classes::ENTITYSENSORMIB::Component::EnvironmentalSubsystem"); - $self->{components}->{environmental_subsystem} = CheckNwcHealth::HOSTRESOURCESMIB::Component::EnvironmentalSubsystem->new(); + $self->{components}->{environmental_subsystem} = Classes::HOSTRESOURCESMIB::Component::EnvironmentalSubsystem->new(); @{$self->{components}->{environmental_subsystem}->{disk_subsystem}->{storages}} = grep { $_->{hrStorageDescr} ne '/mnt/root-ro'; } @{$self->{components}->{environmental_subsystem}->{disk_subsystem}->{storages}} ; @@ -23,9 +23,9 @@ $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::ENTITYSENSORMI $self->{components}->{environmental_subsystem}->dump() if $self->opts->verbose >= 2; } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::CpuSubsystem"); + $self->analyze_and_check_cpu_subsystem("Classes::HOSTRESOURCESMIB::Component::CpuSubsystem"); } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::MemSubsystem"); + $self->analyze_and_check_mem_subsystem("Classes::HOSTRESOURCESMIB::Component::MemSubsystem"); } else { $self->no_such_mode(); } diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Device.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Device.pm similarity index 61% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Device.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Device.pm index 3e9e197..e5e2006 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Device.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Device.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Device; +package Classes::Device; our @ISA = qw(Monitoring::GLPlugin::SNMP Monitoring::GLPlugin::UPNP); use strict; @@ -66,191 +66,183 @@ sub classify { if ($self->opts->mode =~ /^my-/) { $self->load_my_extension(); } elsif ($self->{productname} =~ /upnp/i) { - $self->rebless('CheckNwcHealth::UPNP'); + $self->rebless('Classes::UPNP'); } elsif ($self->{productname} =~ /FRITZ/i) { - $self->rebless('CheckNwcHealth::UPNP::AVM'); + $self->rebless('Classes::UPNP::AVM'); } elsif ($self->{productname} =~ /linuxlocal/i) { $self->rebless('Server::LinuxLocal'); } elsif ($self->{productname} =~ /windowslocal/i) { $self->rebless('Server::WindowsLocal'); } elsif ($self->{productname} =~ /solarislocal/i) { $self->rebless('Server::SolarisLocal'); - } elsif ($self->{productname} =~ /Bluecat/i) { - $self->rebless('CheckNwcHealth::Bluecat'); } elsif ($self->{productname} =~ /Cisco/i) { - $self->rebless('CheckNwcHealth::Cisco'); + $self->rebless('Classes::Cisco'); } elsif ($self->{productname} =~ /fujitsu intelligent blade panel 30\/12/i) { - $self->rebless('CheckNwcHealth::Cisco'); + $self->rebless('Classes::Cisco'); } elsif ($self->{productname} =~ /UCOS /i) { - $self->rebless('CheckNwcHealth::Cisco'); + $self->rebless('Classes::Cisco'); } elsif ($self->{productname} =~ /Nortel/i) { - $self->rebless('CheckNwcHealth::Nortel'); + $self->rebless('Classes::Nortel'); } elsif ($self->implements_mib('SYNOPTICS-ROOT-MIB')) { - $self->rebless('CheckNwcHealth::Nortel'); + $self->rebless('Classes::Nortel'); } elsif ($self->{productname} =~ /AT-GS/i) { - $self->rebless('CheckNwcHealth::AlliedTelesyn'); + $self->rebless('Classes::AlliedTelesyn'); } elsif ($self->{productname} =~ /AT-\d+GB/i) { - $self->rebless('CheckNwcHealth::AlliedTelesyn'); + $self->rebless('Classes::AlliedTelesyn'); } elsif ($self->{productname} =~ /Allied Telesyn Ethernet Switch/i) { - $self->rebless('CheckNwcHealth::AlliedTelesyn'); + $self->rebless('Classes::AlliedTelesyn'); } elsif ($self->{productname} =~ /(Linux cumulus)|(Cumulus Linux)/i) { - $self->rebless('CheckNwcHealth::Cumulus'); + $self->rebless('Classes::Cumulus'); } elsif ($self->{productname} =~ /MES/i) { - $self->rebless('CheckNwcHealth::Eltex'); + $self->rebless('Classes::Eltex'); } elsif ($self->{productname} =~ /DS_4100/i) { - $self->rebless('CheckNwcHealth::Brocade'); + $self->rebless('Classes::Brocade'); } elsif ($self->{productname} =~ /Connectrix DS_4900B/i) { - $self->rebless('CheckNwcHealth::Brocade'); + $self->rebless('Classes::Brocade'); } elsif ($self->{productname} =~ /EMC\s*DS.*4700M/i) { - $self->rebless('CheckNwcHealth::Brocade'); + $self->rebless('Classes::Brocade'); } elsif ($self->{productname} =~ /EMC\s*DS-24M2/i) { - $self->rebless('CheckNwcHealth::Brocade'); + $self->rebless('Classes::Brocade'); } elsif ($self->{productname} =~ /Brocade.*IronWare/i) { # although there can be a # Brocade Communications Systems, Inc. FWS648, IronWare Version 07.1.... - $self->rebless('CheckNwcHealth::Foundry'); + $self->rebless('Classes::Foundry'); } elsif ($self->{productname} =~ /Brocade/i) { - $self->rebless('CheckNwcHealth::Brocade'); + $self->rebless('Classes::Brocade'); } elsif ($self->{productname} =~ /Fibre Channel Switch/i) { - $self->rebless('CheckNwcHealth::Brocade'); - } elsif ($self->{productname} =~ /(Pulse Secure.*LLC|Ivanti Connect Secure)/i) { + $self->rebless('Classes::Brocade'); + } elsif ($self->{productname} =~ /Juniper.*MAG\-\d+/i) { + # Juniper Networks,Inc,MAG-4610,7.2R10 + $self->rebless('Classes::Juniper'); + } elsif ($self->{productname} =~ /Juniper.*MAG\-SM\d+/i) { + # Juniper Networks,Inc,MAG-SMx60,7.4R8 + $self->rebless('Classes::Juniper::IVE'); + } elsif ($self->implements_mib('JUNIPER-MIB') || $self->{productname} =~ /srx/i) { + $self->rebless('Classes::Juniper::SRX'); + } elsif ($self->{productname} =~ /NetScreen/i) { + $self->rebless('Classes::Juniper'); + } elsif ($self->{productname} =~ /JunOS/i) { + $self->rebless('Classes::Juniper'); + } elsif ($self->{productname} =~ /Pulse Secure.*LLC/i) { # Pulse Secure,LLC,Pulse Policy Secure,IC-6500,5.2R7.1 (build 37645) - # Ivanti Connect Secure,Ivanti Policy Secure,PSA-5000,9.1R18.1 (build 9527) - $self->rebless('CheckNwcHealth::PulseSecure::Gateway'); - } elsif ($self->{productname} =~ /(Juniper|NetScreen|JunOS)/i) { - $self->rebless('CheckNwcHealth::Juniper'); - } elsif ($self->{productname} =~ /^(GS|FS)/i) { - $self->rebless('CheckNwcHealth::Juniper'); - } elsif ($self->implements_mib('JUNIPER-MIB')) { - $self->rebless('CheckNwcHealth::Juniper'); - } elsif ($self->implements_mib('NETSCREEN-PRODUCTS-MIB')) { - $self->rebless('CheckNwcHealth::Juniper'); + $self->rebless('Classes::Juniper::IVE'); } elsif ($self->{productname} =~ /DrayTek.*Vigor/i) { - $self->rebless('CheckNwcHealth::DrayTek'); + $self->rebless('Classes::DrayTek'); } elsif ($self->implements_mib('NETGEAR-MIB')) { - $self->rebless('CheckNwcHealth::Netgear'); + $self->rebless('Classes::Netgear'); + } elsif ($self->{productname} =~ /^(GS|FS)/i) { + $self->rebless('Classes::Juniper'); + } elsif ($self->implements_mib('NETSCREEN-PRODUCTS-MIB')) { + $self->rebless('Classes::Juniper::NetScreen'); } elsif ($self->implements_mib('PAN-PRODUCTS-MIB')) { - $self->rebless('CheckNwcHealth::PaloAlto'); + $self->rebless('Classes::PaloAlto'); } elsif ($self->{productname} =~ /SecureOS/i) { - $self->rebless('CheckNwcHealth::SecureOS'); + $self->rebless('Classes::SecureOS'); } elsif ($self->{productname} =~ /Linux.*((el6.f5.x86_64)|(el5.1.0.f5app)) .*/i) { - $self->rebless('CheckNwcHealth::F5'); + $self->rebless('Classes::F5'); } elsif ($self->{sysobjectid} =~ /1\.3\.6\.1\.4\.1\.3375\./) { - $self->rebless('CheckNwcHealth::F5'); + $self->rebless('Classes::F5'); } elsif ($self->{productname} =~ /(H?H3C|HP Comware|HPE Comware)/i) { - $self->rebless('CheckNwcHealth::HH3C'); + $self->rebless('Classes::HH3C'); } elsif ($self->{productname} =~ /(Huawei)/i) { - $self->rebless('CheckNwcHealth::Huawei'); + $self->rebless('Classes::Huawei'); } elsif ($self->{sysobjectid} =~ /1\.3\.6\.1\.4\.1\.2011\.2\./) { - $self->rebless('CheckNwcHealth::Huawei'); - } elsif ($self->implements_mib('ARUBAWIRED-CHASSIS-MIB')) { - $self->rebless('CheckNwcHealth::HP::Aruba'); + $self->rebless('Classes::Huawei'); } elsif ($self->{productname} =~ /Procurve/i || ($self->implements_mib('HP-ICF-CHASSIS') && $self->implements_mib('NETSWITCH-MIB'))) { - $self->rebless('CheckNwcHealth::HP::Procurve'); + $self->rebless('Classes::HP::Procurve'); } elsif ($self->{productname} =~ /((cpx86_64)|(Check\s*Point)|(IPSO)|(Linux.*\dcp) )/i || $self->implements_mib('CHECKPOINT-MIB')) { - $self->rebless('CheckNwcHealth::CheckPoint'); + $self->rebless('Classes::CheckPoint'); } elsif ($self->{productname} =~ /Clavister/i) { - $self->rebless('CheckNwcHealth::Clavister'); + $self->rebless('Classes::Clavister'); } elsif ($self->{productname} =~ /Blue\s*Coat/i) { - $self->rebless('CheckNwcHealth::Bluecoat'); + $self->rebless('Classes::Bluecoat'); } elsif ($self->{productname} =~ /Foundry/i) { - $self->rebless('CheckNwcHealth::Foundry'); + $self->rebless('Classes::Foundry'); } elsif ($self->{productname} =~ /IronWare/i) { # although there can be a # Brocade Communications Systems, Inc. FWS648, IronWare Version 07.1.... - $self->rebless('CheckNwcHealth::Foundry'); + $self->rebless('Classes::Foundry'); } elsif ($self->{productname} eq 'generic_hostresources') { - $self->rebless('CheckNwcHealth::HOSTRESOURCESMIB'); + $self->rebless('Classes::HOSTRESOURCESMIB'); } elsif ($self->{productname} eq 'generic_ucd') { - $self->rebless('CheckNwcHealth::UCDMIB'); + $self->rebless('Classes::UCDMIB'); } elsif ($self->{productname} =~ /Linux Stingray/i) { - $self->rebless('CheckNwcHealth::HOSTRESOURCESMIB'); + $self->rebless('Classes::HOSTRESOURCESMIB'); } elsif ($self->{productname} =~ /Fortinet|Fortigate/i) { - $self->rebless('CheckNwcHealth::Fortigate'); + $self->rebless('Classes::Fortigate'); } elsif ($self->implements_mib('FORTINET-FORTIGATE-MIB')) { - $self->rebless('CheckNwcHealth::Fortigate'); + $self->rebless('Classes::Fortigate'); } elsif ($self->implements_mib('ALCATEL-IND1-BASE-MIB')) { - $self->rebless('CheckNwcHealth::Alcatel'); + $self->rebless('Classes::Alcatel'); } elsif ($self->implements_mib('ONEACCESS-SYS-MIB')) { - $self->rebless('CheckNwcHealth::OneOS'); + $self->rebless('Classes::OneOS'); } elsif ($self->{productname} eq "ifmib") { - $self->rebless('CheckNwcHealth::Generic'); + $self->rebless('Classes::Generic'); } elsif ($self->implements_mib('SW-MIB')) { - $self->rebless('CheckNwcHealth::Brocade'); - } elsif ($self->implements_mib('VIPTELA-OPER-SYSTEM')) { - $self->rebless('CheckNwcHealth::Cisco'); + $self->rebless('Classes::Brocade'); } elsif ($self->{sysobjectid} =~ /1\.3\.6\.1\.4\.1\.9\./) { - $self->rebless('CheckNwcHealth::Cisco'); + $self->rebless('Classes::Cisco'); } elsif ($self->{productname} =~ /Arista.*EOS.*/) { - $self->rebless('CheckNwcHealth::Arista'); + $self->rebless('Classes::Arista'); } elsif ($self->{sysobjectid} =~ /1\.3\.6\.1\.4\.1\.272\./) { - $self->rebless('CheckNwcHealth::Bintec::Bibo'); + $self->rebless('Classes::Bintec::Bibo'); } elsif ($self->implements_mib('STEELHEAD-MIB') || $self->implements_mib('STEELHEAD-EX-MIB')) { - $self->rebless('CheckNwcHealth::Riverbed'); + $self->rebless('Classes::Riverbed'); } elsif ($self->implements_mib('LCOS-MIB')) { - $self->rebless('CheckNwcHealth::Lancom'); + $self->rebless('Classes::Lancom'); } elsif ($self->implements_mib('PHION-MIB') || $self->{productname} =~ /Barracuda/) { - $self->rebless('CheckNwcHealth::Barracuda'); - } elsif ($self->implements_mib('VORMETRIC-MIB')) { - $self->rebless('CheckNwcHealth::Vormetric'); - } elsif ($self->implements_mib('ARUBAWIRED-CHASSIS-MIB')) { - $self->rebless('CheckNwcHealth::HP::Aruba'); - } elsif ($self->implements_mib('DEVICE-MIB') and $self->{productname} =~ /Versa Appliance/) { - $self->rebless('CheckNwcHealth::Versa'); + $self->rebless('Classes::Barracuda'); } elsif ($self->{productname} =~ /^Linux/i) { - $self->rebless('CheckNwcHealth::Server::Linux'); + $self->rebless('Classes::Server::Linux'); } else { $self->map_oid_to_class('1.3.6.1.4.1.12532.252.5.1', - 'CheckNwcHealth::Juniper::IVE'); + 'Classes::Juniper::IVE'); $self->map_oid_to_class('1.3.6.1.4.1.9.1.1348', - 'CheckNwcHealth::CiscoCCM'); + 'Classes::CiscoCCM'); $self->map_oid_to_class('1.3.6.1.4.1.9.1.746', - 'CheckNwcHealth::CiscoCCM'); + 'Classes::CiscoCCM'); $self->map_oid_to_class('1.3.6.1.4.1.244.1.11', - 'CheckNwcHealth::Lantronix::SLS'); + 'Classes::Lantronix::SLS'); if (my $class = $self->discover_suitable_class()) { $self->rebless($class); } else { - $self->rebless('CheckNwcHealth::Generic'); + $self->rebless('Classes::Generic'); } } } } - $self->{generic_class} = "CheckNwcHealth::Generic"; return $self; } -package CheckNwcHealth::Generic; -our @ISA = qw(CheckNwcHealth::Device); +package Classes::Generic; +our @ISA = qw(Classes::Device); use strict; sub init { my ($self) = @_; if ($self->mode =~ /device::interfaces::aggregation::availability/) { - $self->analyze_and_check_aggregation_subsystem("CheckNwcHealth::IFMIB::Component::LinkAggregation"); + $self->analyze_and_check_aggregation_subsystem("Classes::IFMIB::Component::LinkAggregation"); } elsif ($self->mode =~ /device::interfaces::ifstack/) { - $self->analyze_and_check_interface_subsystem("CheckNwcHealth::IFMIB::Component::StackSubsystem"); + $self->analyze_and_check_interface_subsystem("Classes::IFMIB::Component::StackSubsystem"); } elsif ($self->mode =~ /device::interfaces/) { - $self->analyze_and_check_interface_subsystem("CheckNwcHealth::IFMIB::Component::InterfaceSubsystem"); - } elsif ($self->mode =~ /device::arp/) { - $self->analyze_and_check_arp_subsystem("CheckNwcHealth::IPMIB::Component::ArpSubsystem"); + $self->analyze_and_check_interface_subsystem("Classes::IFMIB::Component::InterfaceSubsystem"); } elsif ($self->mode =~ /device::routes/) { if ($self->implements_mib('IP-FORWARD-MIB')) { - $self->analyze_and_check_interface_subsystem("CheckNwcHealth::IPFORWARDMIB::Component::RoutingSubsystem"); + $self->analyze_and_check_interface_subsystem("Classes::IPFORWARDMIB::Component::RoutingSubsystem"); } else { - $self->analyze_and_check_interface_subsystem("CheckNwcHealth::IPMIB::Component::RoutingSubsystem"); + $self->analyze_and_check_interface_subsystem("Classes::IPMIB::Component::RoutingSubsystem"); } - } elsif ($self->mode =~ /device::bgp/) { - $self->analyze_and_check_bgp_subsystem("CheckNwcHealth::BGP::Component::PeerSubsystem"); + } elsif ($self->mode =~ /device::bgp/ && $self->{productname} !~ /JunOS/i) { + $self->analyze_and_check_bgp_subsystem("Classes::BGP::Component::PeerSubsystem"); } elsif ($self->mode =~ /device::ospf/) { - $self->analyze_and_check_neighbor_subsystem("CheckNwcHealth::OSPF::Component::NeighborSubsystem"); + $self->analyze_and_check_neighbor_subsystem("Classes::OSPF::Component::NeighborSubsystem"); } elsif ($self->mode =~ /device::vrrp/) { - $self->analyze_and_check_vrrp_subsystem("CheckNwcHealth::VRRPMIB::Component::VRRPSubsystem"); + $self->analyze_and_check_vrrp_subsystem("Classes::VRRPMIB::Component::VRRPSubsystem"); } else { $self->rebless('Monitoring::GLPlugin::SNMP'); $self->no_such_mode(); diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/DrayTek.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/DrayTek.pm similarity index 52% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/DrayTek.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/DrayTek.pm index a0e51e3..bb65198 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/DrayTek.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/DrayTek.pm @@ -1,18 +1,18 @@ -package CheckNwcHealth::DrayTek; -our @ISA = qw(CheckNwcHealth::Device); +package Classes::DrayTek; +our @ISA = qw(Classes::Device); use strict; sub init { my ($self) = @_; if ($self->{productname} =~ /Vigor/i) { - bless $self, 'CheckNwcHealth::DrayTek::Vigor'; - $self->debug('using CheckNwcHealth::DrayTek::Vigor'); + bless $self, 'Classes::DrayTek::Vigor'; + $self->debug('using Classes::DrayTek::Vigor'); } - if (ref($self) ne "CheckNwcHealth::DrayTek") { + if (ref($self) ne "Classes::DrayTek") { $self->init(); } else { - $self->no_such_model(); + $self->no_such_device(); } } diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/DrayTek/Vigor.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/DrayTek/Vigor.pm new file mode 100644 index 0000000..6057094 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/DrayTek/Vigor.pm @@ -0,0 +1,17 @@ +package Classes::DrayTek::Vigor; +our @ISA = qw(Classes::DrayTek); +use strict; + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::DrayTek::Vigor::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::DrayTek::Vigor::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::DrayTek::Vigor::Component::MemSubsystem"); + } else { + $self->no_such_mode(); + } +} + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/DrayTek/Vigor/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/DrayTek/Vigor/Component/CpuSubsystem.pm similarity index 90% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/DrayTek/Vigor/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/DrayTek/Vigor/Component/CpuSubsystem.pm index 5cf051b..1a9b059 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/DrayTek/Vigor/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/DrayTek/Vigor/Component/CpuSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::DrayTek::Vigor::Component::CpuSubsystem; +package Classes::DrayTek::Vigor::Component::CpuSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/DrayTek/Vigor/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/DrayTek/Vigor/Component/EnvironmentalSubsystem.pm similarity index 74% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/DrayTek/Vigor/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/DrayTek/Vigor/Component/EnvironmentalSubsystem.pm index ac48dac..743e47d 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/DrayTek/Vigor/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/DrayTek/Vigor/Component/EnvironmentalSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::DrayTek::Vigor::Component::EnvironmentalSubsystem; +package Classes::DrayTek::Vigor::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; use Data::Dumper; @@ -6,12 +6,12 @@ use Data::Dumper; sub init { my ($self) = @_; $self->get_snmp_tables('ADSL-LINE-MIB', [ - ['lines', 'adslAturPhysTable', 'CheckNwcHealth::DrayTek::Vigor::Component::AdslLine'], + ['lines', 'adslAturPhysTable', 'Classes::DrayTek::Vigor::Component::AdslLine'], ]); } -package CheckNwcHealth::DrayTek::Vigor::Component::AdslLine; +package Classes::DrayTek::Vigor::Component::AdslLine; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/DrayTek/Vigor/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/DrayTek/Vigor/Component/MemSubsystem.pm similarity index 91% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/DrayTek/Vigor/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/DrayTek/Vigor/Component/MemSubsystem.pm index d8dc490..4d002a6 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/DrayTek/Vigor/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/DrayTek/Vigor/Component/MemSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::DrayTek::Vigor::Component::MemSubsystem; +package Classes::DrayTek::Vigor::Component::MemSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/ENTITYSENSORMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/ENTITYSENSORMIB.pm new file mode 100644 index 0000000..7967959 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/ENTITYSENSORMIB.pm @@ -0,0 +1,4 @@ +package Classes::ENTITYSENSORMIB; +our @ISA = qw(Classes::Device); +use strict; + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/ENTITYSENSORMIB/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/ENTITYSENSORMIB/Component/EnvironmentalSubsystem.pm similarity index 74% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/ENTITYSENSORMIB/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/ENTITYSENSORMIB/Component/EnvironmentalSubsystem.pm index 1eadf1d..e9bc7f6 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/ENTITYSENSORMIB/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/ENTITYSENSORMIB/Component/EnvironmentalSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::ENTITYSENSORMIB::Component::EnvironmentalSubsystem; +package Classes::ENTITYSENSORMIB::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -9,8 +9,8 @@ sub init { ['entities', 'entPhysicalTable', 'Monitoring::GLPlugin::TableItem'], ]); $self->get_snmp_tables('ENTITY-SENSOR-MIB', [ - ['sensors', 'entPhySensorTable', 'CheckNwcHealth::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor' ], - ['thresholds', 'entSensorThresholdTable', 'CheckNwcHealth::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Threshold' ], + ['sensors', 'entPhySensorTable', 'Classes::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor' ], + ['thresholds', 'entSensorThresholdTable', 'Classes::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Threshold' ], ]); if (! @{$self->{entities}}) { $self->fake_names(); @@ -58,8 +58,8 @@ sub init { $entity_indices->{$_->{flat_indices}}->{entPhysicalName}; if ($_->{entPhySensorEntityName} =~ /^Fan/ and $_->{entPhySensorType} eq "other" and ref($_) eq - "CheckNwcHealth::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor") { - bless $_, "CheckNwcHealth::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor::DumbFan"; + "Classes::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor") { + bless $_, "Classes::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor::DumbFan"; } } } @@ -110,19 +110,22 @@ sub fake_names { } } -package CheckNwcHealth::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor; +package Classes::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; sub finish { my ($self) = @_; + if ($self->{entPhySensorPrecision} && $self->{entPhySensorValue}) { + $self->{entPhySensorValue} /= 10 ** $self->{entPhySensorPrecision}; + } if ($self->{entPhySensorType} eq 'rpm') { - bless $self, 'CheckNwcHealth::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor::Fan'; - bless $self, 'CheckNwcHealth::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor::Fan'; + bless $self, 'Classes::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor::Fan'; + bless $self, 'Classes::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor::Fan'; } elsif ($self->{entPhySensorType} eq 'celsius') { - bless $self, 'CheckNwcHealth::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor::Temperature'; + bless $self, 'Classes::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor::Temperature'; } elsif ($self->{entPhySensorType} eq 'watts') { - bless $self, 'CheckNwcHealth::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor::Power'; + bless $self, 'Classes::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor::Power'; } } @@ -150,8 +153,8 @@ sub check { } -package CheckNwcHealth::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor::Temperature; -our @ISA = qw(CheckNwcHealth::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor); +package Classes::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor::Temperature; +our @ISA = qw(Classes::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor); use strict; sub rename { @@ -169,8 +172,8 @@ sub check { ); } -package CheckNwcHealth::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor::DumbFan; -our @ISA = qw(CheckNwcHealth::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor); +package Classes::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor::DumbFan; +our @ISA = qw(Classes::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor); use strict; sub check { @@ -178,8 +181,8 @@ sub check { $self->SUPER::check(); } -package CheckNwcHealth::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor::Fan; -our @ISA = qw(CheckNwcHealth::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor); +package Classes::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor::Fan; +our @ISA = qw(Classes::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor); use strict; sub check { @@ -194,8 +197,8 @@ sub check { ); } -package CheckNwcHealth::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor::Power; -our @ISA = qw(CheckNwcHealth::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor); +package Classes::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor::Power; +our @ISA = qw(Classes::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Sensor); use strict; sub check { @@ -209,7 +212,7 @@ sub check { } -package CheckNwcHealth::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Threshold; +package Classes::ENTITYSENSORMIB::Component::EnvironmentalSubsystem::Threshold; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex.pm new file mode 100644 index 0000000..27cfa82 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex.pm @@ -0,0 +1,19 @@ +package Classes::Eltex; +our @ISA = qw(Classes::Device); +use strict; + +sub init { + my ($self) = @_; + if ($self->{productname} =~ /(MES2324B)|(MES2324F)|(MES31)|(MES53)/i) { + bless $self, 'Classes::Eltex::Aggregation'; + $self->debug('using Classes::Eltex::Aggregation'); + } elsif ($self->{productname} =~ /(MES21)|(MES23)/i) { + bless $self, 'Classes::Eltex::Access'; + $self->debug('using Classes::Eltex::Access'); + } + if (ref($self) ne "Classes::Eltex") { + $self->init(); + } else { + $self->no_such_mode(); + } +} diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Eltex/Access.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/Access.pm similarity index 57% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Eltex/Access.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/Access.pm index 3f5a07d..eab746f 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Eltex/Access.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/Access.pm @@ -1,5 +1,5 @@ -package CheckNwcHealth::Eltex::Access; -our @ISA = qw(CheckNwcHealth::Eltex); +package Classes::Eltex::Access; +our @ISA = qw(Classes::Eltex); use strict; # MES2100: 1 PSU, no FAN @@ -12,15 +12,15 @@ use strict; sub init { my ($self) = @_; if ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem('CheckNwcHealth::Eltex::MES::Component::CpuSubsystem'); + $self->analyze_and_check_cpu_subsystem('Classes::Eltex::MES::Component::CpuSubsystem'); } elsif ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem('CheckNwcHealth::Eltex::Access::Component::EnvironmentalSubsystem'); + $self->analyze_and_check_environmental_subsystem('Classes::Eltex::Access::Component::EnvironmentalSubsystem'); if (! $self->check_messages()) { $self->clear_messages(0); $self->add_ok('environmental hardware working fine'); } } elsif ($self->mode =~ /device::ha::status/) { - $self->analyze_and_check_ha_subsystem('CheckNwcHealth::Eltex::MES::Component::HaSubsystem'); + $self->analyze_and_check_ha_subsystem('Classes::Eltex::MES::Component::HaSubsystem'); } else { $self->no_such_mode(); } diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Eltex/Access/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/Access/Component/EnvironmentalSubsystem.pm similarity index 72% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Eltex/Access/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/Access/Component/EnvironmentalSubsystem.pm index 2b2cd14..fc9340c 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Eltex/Access/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/Access/Component/EnvironmentalSubsystem.pm @@ -1,12 +1,12 @@ -package CheckNwcHealth::Eltex::Access::Component::EnvironmentalSubsystem; +package Classes::Eltex::Access::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('ELTEX-MIB', [ - ['fans', 'eltexFanTable', 'CheckNwcHealth::Eltex::Access::Component::EnvironmentalSubsystem::Fan'], - ['temperatures', 'eltexSensorTable', 'CheckNwcHealth::Eltex::Access::Component::EnvironmentalSubsystem::Temperature'] + ['fans', 'eltexFanTable', 'Classes::Eltex::Access::Component::EnvironmentalSubsystem::Fan'], + ['temperatures', 'eltexSensorTable', 'Classes::Eltex::Access::Component::EnvironmentalSubsystem::Temperature'] ]); } @@ -16,7 +16,7 @@ sub check { $_->check(); } } -package CheckNwcHealth::Eltex::Access::Component::EnvironmentalSubsystem::Fan; +package Classes::Eltex::Access::Component::EnvironmentalSubsystem::Fan; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -33,7 +33,7 @@ sub check { } } -package CheckNwcHealth::Eltex::Access::Component::EnvironmentalSubsystem::Temperature; +package Classes::Eltex::Access::Component::EnvironmentalSubsystem::Temperature; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Eltex/Aggregation.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/Aggregation.pm similarity index 55% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Eltex/Aggregation.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/Aggregation.pm index 8796ae3..ab21414 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Eltex/Aggregation.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/Aggregation.pm @@ -1,5 +1,5 @@ -package CheckNwcHealth::Eltex::Aggregation; -our @ISA = qw(CheckNwcHealth::Eltex); +package Classes::Eltex::Aggregation; +our @ISA = qw(Classes::Eltex); use strict; # MES2324B: 2 PSU, no FAN @@ -10,15 +10,15 @@ use strict; sub init { my ($self) = @_; if ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem('CheckNwcHealth::Eltex::MES::Component::CpuSubsystem'); + $self->analyze_and_check_cpu_subsystem('Classes::Eltex::MES::Component::CpuSubsystem'); } elsif ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem('CheckNwcHealth::Eltex::Aggregation::Component::EnvironmentalSubsystem'); + $self->analyze_and_check_environmental_subsystem('Classes::Eltex::Aggregation::Component::EnvironmentalSubsystem'); if (! $self->check_messages()) { $self->clear_messages(0); $self->add_ok('environmental hardware working fine'); } } elsif ($self->mode =~ /device::ha::status/) { - $self->analyze_and_check_ha_subsystem('CheckNwcHealth::Eltex::MES::Component::HaSubsystem'); + $self->analyze_and_check_ha_subsystem('Classes::Eltex::MES::Component::HaSubsystem'); } else { $self->no_such_mode(); } diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Eltex/Aggregation/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/Aggregation/Component/EnvironmentalSubsystem.pm similarity index 72% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Eltex/Aggregation/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/Aggregation/Component/EnvironmentalSubsystem.pm index f67ad1c..0535811 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Eltex/Aggregation/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/Aggregation/Component/EnvironmentalSubsystem.pm @@ -1,13 +1,13 @@ -package CheckNwcHealth::Eltex::Aggregation::Component::EnvironmentalSubsystem; +package Classes::Eltex::Aggregation::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('ELTEX-MIB', [ - ['fans', 'eltexFanTable', 'CheckNwcHealth::Eltex::Aggregation::Component::EnvironmentalSubsystem::Fan'], - ['temperatures', 'eltexSensorTable', 'CheckNwcHealth::Eltex::Aggregation::Component::EnvironmentalSubsystem::Temperature'], - ['power', 'eltexPowerSupplyTable', 'CheckNwcHealth::Eltex::Aggregation::Component::EnvironmentalSubsystem::Power'], + ['fans', 'eltexFanTable', 'Classes::Eltex::Aggregation::Component::EnvironmentalSubsystem::Fan'], + ['temperatures', 'eltexSensorTable', 'Classes::Eltex::Aggregation::Component::EnvironmentalSubsystem::Temperature'], + ['power', 'eltexPowerSupplyTable', 'Classes::Eltex::Aggregation::Component::EnvironmentalSubsystem::Power'], ]); } @@ -18,7 +18,7 @@ sub check { } } -package CheckNwcHealth::Eltex::Aggregation::Component::EnvironmentalSubsystem::Fan; +package Classes::Eltex::Aggregation::Component::EnvironmentalSubsystem::Fan; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -33,7 +33,7 @@ sub check { } } -package CheckNwcHealth::Eltex::Aggregation::Component::EnvironmentalSubsystem::Temperature; +package Classes::Eltex::Aggregation::Component::EnvironmentalSubsystem::Temperature; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -57,7 +57,7 @@ sub check { } } -package CheckNwcHealth::Eltex::Aggregation::Component::EnvironmentalSubsystem::Power; +package Classes::Eltex::Aggregation::Component::EnvironmentalSubsystem::Power; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Eltex/MES/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/MES/Component/CpuSubsystem.pm similarity index 93% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Eltex/MES/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/MES/Component/CpuSubsystem.pm index 0eb099f..9a049fe 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Eltex/MES/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/MES/Component/CpuSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Eltex::MES::Component::CpuSubsystem; +package Classes::Eltex::MES::Component::CpuSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Eltex/MES/Component/HaSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/MES/Component/HaSubsystem.pm similarity index 93% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Eltex/MES/Component/HaSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/MES/Component/HaSubsystem.pm index 110144c..df1ba90 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Eltex/MES/Component/HaSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/MES/Component/HaSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Eltex::MES::Component::HaSubsystem; +package Classes::Eltex::MES::Component::HaSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5.pm similarity index 71% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5.pm index 9e704b4..3f36de2 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5.pm @@ -1,5 +1,5 @@ -package CheckNwcHealth::F5; -our @ISA = qw(CheckNwcHealth::Device); +package Classes::F5; +our @ISA = qw(Classes::Device); use strict; use constant trees => ( @@ -15,10 +15,10 @@ sub init { my ($self) = @_; if ($self->{productname} =~ /Linux.*((el6.f5.x86_64)|(el5.1.0.f5app)) .*/i || $self->{sysobjectid} =~ /1\.3\.6\.1\.4\.1\.3375\./) { - bless $self, 'CheckNwcHealth::F5::F5BIGIP'; - $self->debug('using CheckNwcHealth::F5::F5BIGIP'); + bless $self, 'Classes::F5::F5BIGIP'; + $self->debug('using Classes::F5::F5BIGIP'); } - if (ref($self) ne "CheckNwcHealth::F5") { + if (ref($self) ne "Classes::F5") { $self->init(); } } diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP.pm new file mode 100644 index 0000000..453b88b --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP.pm @@ -0,0 +1,54 @@ +package Classes::F5::F5BIGIP; +our @ISA = qw(Classes::F5); +use strict; + +sub init { + my ($self) = @_; + # gets 11.* and 9.* + $self->{sysProductVersion} = $self->get_snmp_object('F5-BIGIP-SYSTEM-MIB', 'sysProductVersion'); + $self->{sysPlatformInfoMarketingName} = $self->get_snmp_object('F5-BIGIP-SYSTEM-MIB', 'sysPlatformInfoMarketingName'); + if (! defined $self->{sysProductVersion} || + $self->{sysProductVersion} !~ /^((9)|(10)|(11)|(12)|(13)|(14)|(15)|(16))/) { + $self->{sysProductVersion} = "4"; + } + if ($self->mode =~ /device::hardware::health/) { + if (! $self->get_snmp_object('F5-BIGIP-SYSTEM-MIB', 'sysChassisFanNumber') && + ! $self->get_snmp_object('F5-BIGIP-SYSTEM-MIB', 'sysChassisPowerSupplyNumber')) { + $self->analyze_and_check_environmental_subsystem("Classes::HOSTRESOURCESMIB::Component::EnvironmentalSubsystem"); + } else { + $self->analyze_and_check_environmental_subsystem("Classes::F5::F5BIGIP::Component::EnvironmentalSubsystem"); + } + $self->analyze_and_check_environmental_subsystem("Classes::F5::F5BIGIP::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::F5::F5BIGIP::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::F5::F5BIGIP::Component::MemSubsystem"); + } elsif ($self->mode =~ /device::lb/) { + if ($self->opts->role && $self->opts->role eq "gtm") { + $self->analyze_and_check_gtm_subsystem("Classes::F5::F5BIGIP::Component::GTMSubsystem"); + } else { + $self->analyze_and_check_ltm_subsystem(); + } + } elsif ($self->mode =~ /device::wideip/) { + $self->analyze_and_check_gtm_subsystem("Classes::F5::F5BIGIP::Component::GTMSubsystem"); + } elsif ($self->mode =~ /device::users::count/) { + $self->analyze_and_check_connection_subsystem("Classes::F5::F5BIGIP::Component::ConnectionSubsystem"); + } elsif ($self->mode =~ /device::connections::count/) { + $self->analyze_and_check_connection_subsystem("Classes::F5::F5BIGIP::Component::ConnectionSubsystem"); + } elsif ($self->mode =~ /device::config/) { + $self->analyze_and_check_config_subsystem("Classes::F5::F5BIGIP::Component::ConfigSubsystem"); + } elsif ($self->mode =~ /device::ha::/) { + $self->analyze_and_check_ha_subsystem("Classes::F5::F5BIGIP::Component::HaSubsystem"); + } elsif ($self->mode =~ /device::vip/) { + $self->analyze_and_check_vip_subsystem("Classes::F5::F5BIGIP::Component::VipSubsystem"); + } else { + $self->no_such_mode(); + } +} + +sub analyze_ltm_subsystem { + my ($self) = @_; + $self->{components}->{ltm_subsystem} = + Classes::F5::F5BIGIP::Component::LTMSubsystem->new('sysProductVersion' => $self->{sysProductVersion}, sysPlatformInfoMarketingName => $self->{sysPlatformInfoMarketingName}); +} + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/ConfigSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/ConfigSubsystem.pm similarity index 90% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/ConfigSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/ConfigSubsystem.pm index d8ba41b..4d394bb 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/ConfigSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/ConfigSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::F5::F5BIGIP::Component::ConfigSubsystem; +package Classes::F5::F5BIGIP::Component::ConfigSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; @@ -7,7 +7,7 @@ sub init { my $self = shift; $self->get_snmp_objects('F5-BIGIP-SYSTEM-MIB', (qw(sysCmSyncStatusId sysCmSyncStatusColor sysCmSyncStatusSummary))); $self->get_snmp_tables('F5-BIGIP-SYSTEM-MIB', [ - ['details', 'sysCmSyncStatusDetailsTable', 'CheckNwcHealth::F5::F5BIGIP::Component::ConfigSubsystem::Details'], + ['details', 'sysCmSyncStatusDetailsTable', 'Classes::F5::F5BIGIP::Component::ConfigSubsystem::Details'], ]); # using role=standalone to adjust the check for clustered/standalone configurations @@ -62,7 +62,7 @@ sub check { } } -package CheckNwcHealth::F5::F5BIGIP::Component::ConfigSubsystem::Details; +package Classes::F5::F5BIGIP::Component::ConfigSubsystem::Details; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/ConnectionSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/ConnectionSubsystem.pm similarity index 97% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/ConnectionSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/ConnectionSubsystem.pm index f71467c..a9fe8fe 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/ConnectionSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/ConnectionSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::F5::F5BIGIP::Component::ConnectionSubsystem; +package Classes::F5::F5BIGIP::Component::ConnectionSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/CpuSubsystem.pm similarity index 87% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/CpuSubsystem.pm index cc377f1..c6398c9 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/CpuSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::F5::F5BIGIP::Component::CpuSubsystem; +package Classes::F5::F5BIGIP::Component::CpuSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -23,14 +23,13 @@ sub overall_init { ($self->{delta_sysStatTmIdleCycles} + $self->{delta_sysStatTmSleepCycles}); $self->{cpu_usage} = $self->{delta_sysStatTmTotalCycles} ? (($delta_used_cycles / $self->{delta_sysStatTmTotalCycles}) * 100) : 0; - $self->protect_value('f5_cpu_usage', 'cpu_usage', 'percent'); } sub init { my ($self) = @_; $self->bulk_is_baeh(5); $self->get_snmp_tables('F5-BIGIP-SYSTEM-MIB', [ - ['cpus', 'sysCpuTable', 'CheckNwcHealth::F5::F5BIGIP::Component::CpuSubsystem::Cpu'], + ['cpus', 'sysCpuTable', 'Classes::F5::F5BIGIP::Component::CpuSubsystem::Cpu'], ]); } @@ -55,7 +54,7 @@ sub check { } -package CheckNwcHealth::F5::F5BIGIP::Component::CpuSubsystem::Cpu; +package Classes::F5::F5BIGIP::Component::CpuSubsystem::Cpu; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/DiskSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/DiskSubsystem.pm similarity index 74% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/DiskSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/DiskSubsystem.pm index a2d0fec..dc574fb 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/DiskSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/DiskSubsystem.pm @@ -1,15 +1,15 @@ -package CheckNwcHealth::F5::F5BIGIP::Component::DiskSubsystem; +package Classes::F5::F5BIGIP::Component::DiskSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('F5-BIGIP-SYSTEM-MIB', [ - ['disks', 'sysPhysicalDiskTable', 'CheckNwcHealth::F5::F5BIGIP::Component::DiskSubsystem::Disk'], + ['disks', 'sysPhysicalDiskTable', 'Classes::F5::F5BIGIP::Component::DiskSubsystem::Disk'], ]); } -package CheckNwcHealth::F5::F5BIGIP::Component::DiskSubsystem::Disk; +package Classes::F5::F5BIGIP::Component::DiskSubsystem::Disk; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/EnvironmentalSubsystem.pm similarity index 64% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/EnvironmentalSubsystem.pm index de92ce1..aceb6de 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/EnvironmentalSubsystem.pm @@ -1,19 +1,19 @@ -package CheckNwcHealth::F5::F5BIGIP::Component::EnvironmentalSubsystem; +package Classes::F5::F5BIGIP::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->{cpu_subsystem} = - CheckNwcHealth::F5::F5BIGIP::Component::CpuSubsystem->new(); + Classes::F5::F5BIGIP::Component::CpuSubsystem->new(); $self->{fan_subsystem} = - CheckNwcHealth::F5::F5BIGIP::Component::FanSubsystem->new(); + Classes::F5::F5BIGIP::Component::FanSubsystem->new(); $self->{temperature_subsystem} = - CheckNwcHealth::F5::F5BIGIP::Component::TemperatureSubsystem->new(); + Classes::F5::F5BIGIP::Component::TemperatureSubsystem->new(); $self->{powersupply_subsystem} = - CheckNwcHealth::F5::F5BIGIP::Component::PowersupplySubsystem->new(); + Classes::F5::F5BIGIP::Component::PowersupplySubsystem->new(); $self->{disk_subsystem} = - CheckNwcHealth::F5::F5BIGIP::Component::DiskSubsystem->new(); + Classes::F5::F5BIGIP::Component::DiskSubsystem->new(); } sub check { diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/FanSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/FanSubsystem.pm similarity index 75% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/FanSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/FanSubsystem.pm index e8f14d2..90a3ffe 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/FanSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/FanSubsystem.pm @@ -1,15 +1,15 @@ -package CheckNwcHealth::F5::F5BIGIP::Component::FanSubsystem; +package Classes::F5::F5BIGIP::Component::FanSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('F5-BIGIP-SYSTEM-MIB', [ - ['fans', 'sysChassisFanTable', 'CheckNwcHealth::F5::F5BIGIP::Component::FanSubsystem::Fan'], + ['fans', 'sysChassisFanTable', 'Classes::F5::F5BIGIP::Component::FanSubsystem::Fan'], ]); } -package CheckNwcHealth::F5::F5BIGIP::Component::FanSubsystem::Fan; +package Classes::F5::F5BIGIP::Component::FanSubsystem::Fan; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/GTM.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/GTM.pm similarity index 93% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/GTM.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/GTM.pm index f0c9922..4e11958 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/GTM.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/GTM.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::F5::F5BIGIP::Component::GTMSubsystem; +package Classes::F5::F5BIGIP::Component::GTMSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -7,10 +7,10 @@ sub init { $self->mult_snmp_max_msg_size(10); if ($self->mode =~ /device::wideip/) { $self->get_snmp_tables('F5-BIGIP-GLOBAL-MIB', [ - ['wideips', 'gtmWideipStatusTable', 'CheckNwcHealth::F5::F5BIGIP::Component::GTMSubsystem::WideIP'], + ['wideips', 'gtmWideipStatusTable', 'Classes::F5::F5BIGIP::Component::GTMSubsystem::WideIP'], ]); } elsif ($self->mode =~ /device::lb::pool/) { - bless $self, "CheckNwcHealth::F5::F5BIGIP::Component::GTMPoolSubsystem"; + bless $self, "Classes::F5::F5BIGIP::Component::GTMPoolSubsystem"; $self->init(); } } @@ -34,7 +34,7 @@ sub check { } } -package CheckNwcHealth::F5::F5BIGIP::Component::GTMSubsystem::WideIP; +package Classes::F5::F5BIGIP::Component::GTMSubsystem::WideIP; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -56,8 +56,8 @@ sub check { } } -package CheckNwcHealth::F5::F5BIGIP::Component::GTMPoolSubsystem; -our @ISA = qw(CheckNwcHealth::F5::F5BIGIP::Component::GTMSubsystem Monitoring::GLPlugin::SNMP::TableItem); +package Classes::F5::F5BIGIP::Component::GTMPoolSubsystem; +our @ISA = qw(Classes::F5::F5BIGIP::Component::GTMSubsystem Monitoring::GLPlugin::SNMP::TableItem); use strict; # @@ -107,7 +107,7 @@ sub init { } } push(@{$self->{pools}}, - CheckNwcHealth::F5::F5BIGIP::Component::GTMSubsystem::GTMPool->new(%{$_})); + Classes::F5::F5BIGIP::Component::GTMSubsystem::GTMPool->new(%{$_})); } my @auxpoolmbrstatus = (); foreach ($self->get_snmp_table_objects_with_cache( @@ -148,7 +148,7 @@ sub init { # } #} push(@{$self->{poolmembers}}, - CheckNwcHealth::F5::F5BIGIP::Component::GTMSubsystem::GTMPoolMember->new(%{$_})); + Classes::F5::F5BIGIP::Component::GTMSubsystem::GTMPoolMember->new(%{$_})); } $self->assign_members_to_pools(); delete $self->{poolmembers}; @@ -172,7 +172,7 @@ sub assign_members_to_pools { } } -package CheckNwcHealth::F5::F5BIGIP::Component::GTMSubsystem::GTMPool; +package Classes::F5::F5BIGIP::Component::GTMSubsystem::GTMPool; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; @@ -277,7 +277,7 @@ sub draw_html_table { } } -package CheckNwcHealth::F5::F5BIGIP::Component::GTMSubsystem::GTMPoolMember; +package Classes::F5::F5BIGIP::Component::GTMSubsystem::GTMPoolMember; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/HaSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/HaSubsystem.pm similarity index 87% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/HaSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/HaSubsystem.pm index e548428..2eff27e 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/HaSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/HaSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::F5::F5BIGIP::Component::HaSubsystem; +package Classes::F5::F5BIGIP::Component::HaSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; @@ -8,10 +8,10 @@ sub init { if ($self->mode =~ /device::ha::role/) { $self->get_snmp_objects('F5-BIGIP-SYSTEM-MIB', (qw(sysAttrFailoverIsRedundant sysCmFailoverStatusId sysCmFailoverStatusColor sysCmFailoverStatusSummary))); $self->get_snmp_tables("F5-BIGIP-SYSTEM-MIB", [ - ['failoverstatusdetails', 'sysCmFailoverStatusDetailsTable', 'CheckNwcHealth::F5::F5BIGIP::Component::HaSubsystem::FailoverStatusDetails'], + ['failoverstatusdetails', 'sysCmFailoverStatusDetailsTable', 'Classes::F5::F5BIGIP::Component::HaSubsystem::FailoverStatusDetails'], ]); $self->get_snmp_tables("F5-BIGIP-SYSTEM-MIB", [ - ['trafficgroupstatus', 'sysCmTrafficGroupStatusTable', 'CheckNwcHealth::F5::F5BIGIP::Component::HaSubsystem::TrafficGroupStatus'], + ['trafficgroupstatus', 'sysCmTrafficGroupStatusTable', 'Classes::F5::F5BIGIP::Component::HaSubsystem::TrafficGroupStatus'], ]); if (! $self->opts->role()) { $self->opts->override_opt('role', 'active'); # active/standby/standalone @@ -76,7 +76,7 @@ sub check { } } -package CheckNwcHealth::F5::F5BIGIP::Component::HaSubsystem::FailoverStatusDetails; +package Classes::F5::F5BIGIP::Component::HaSubsystem::FailoverStatusDetails; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -85,7 +85,7 @@ sub check { $self->add_info($self->{sysCmFailoverStatusDetailsDetails}); } -package CheckNwcHealth::F5::F5BIGIP::Component::HaSubsystem::TrafficGroupStatus; +package Classes::F5::F5BIGIP::Component::HaSubsystem::TrafficGroupStatus; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/LTM.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/LTM.pm old mode 100755 new mode 100644 similarity index 86% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/LTM.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/LTM.pm index 0de70d2..0b8f1ff --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/LTM.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/LTM.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::F5::F5BIGIP::Component::LTMSubsystem; +package Classes::F5::F5BIGIP::Component::LTMSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -8,7 +8,7 @@ use strict; sub max_l4_connections : lvalue { my ($self) = @_; - $CheckNwcHealth::F5::F5BIGIP::Component::LTMSubsystem::max_l4_connections; + $Classes::F5::F5BIGIP::Component::LTMSubsystem::max_l4_connections; } sub new { @@ -18,11 +18,11 @@ sub new { sysPlatformInfoMarketingName => $params{sysPlatformInfoMarketingName}, }; if ($self->{sysProductVersion} =~ /^4/) { - bless $self, "CheckNwcHealth::F5::F5BIGIP::Component::LTMSubsystem4"; - $self->debug("use CheckNwcHealth::F5::F5BIGIP::Component::LTMSubsystem4"); + bless $self, "Classes::F5::F5BIGIP::Component::LTMSubsystem4"; + $self->debug("use Classes::F5::F5BIGIP::Component::LTMSubsystem4"); } else { - bless $self, "CheckNwcHealth::F5::F5BIGIP::Component::LTMSubsystem9"; - $self->debug("use CheckNwcHealth::F5::F5BIGIP::Component::LTMSubsystem9"); + bless $self, "Classes::F5::F5BIGIP::Component::LTMSubsystem9"; + $self->debug("use Classes::F5::F5BIGIP::Component::LTMSubsystem9"); } # tables can be huge $self->mult_snmp_max_msg_size(10); @@ -95,8 +95,8 @@ sub check { } -package CheckNwcHealth::F5::F5BIGIP::Component::LTMSubsystem9; -our @ISA = qw(CheckNwcHealth::F5::F5BIGIP::Component::LTMSubsystem Monitoring::GLPlugin::SNMP::TableItem); +package Classes::F5::F5BIGIP::Component::LTMSubsystem9; +our @ISA = qw(Classes::F5::F5BIGIP::Component::LTMSubsystem Monitoring::GLPlugin::SNMP::TableItem); use strict; # @@ -146,7 +146,7 @@ sub init { } } push(@{$self->{pools}}, - CheckNwcHealth::F5::F5BIGIP::Component::LTMSubsystem9::LTMPool->new(%{$_})); + Classes::F5::F5BIGIP::Component::LTMSubsystem9::LTMPool->new(%{$_})); } my @auxpoolmbrstatus = (); foreach ($self->get_snmp_table_objects_with_cache( @@ -166,30 +166,12 @@ sub init { } foreach ($self->get_snmp_table_objects_with_cache( 'F5-BIGIP-LOCAL-MIB', 'ltmPoolMemberTable', 'ltmPoolMemberPoolName')) { + $_->{ltmPoolMemberAddr} = $self->unhex_ip($_->{ltmPoolMemberAddr}); foreach my $auxmbr (@auxpoolmbrstatus) { if ($_->{ltmPoolMemberPoolName} eq $auxmbr->{ltmPoolMbrStatusPoolName} && - $_->{ltmPoolMemberPort} eq $auxmbr->{ltmPoolMbrStatusPort} && (( - $_->{ltmPoolMemberNodeName} && $auxmbr->{ltmPoolMbrStatusNodeName} && - $_->{ltmPoolMemberNodeName} eq $auxmbr->{ltmPoolMbrStatusNodeName} - ) || ( - (! $_->{ltmPoolMemberNodeName} || ! $auxmbr->{ltmPoolMbrStatusNodeName}) && - $_->{ltmPoolMemberAddrType} eq $auxmbr->{ltmPoolMbrStatusAddrType} && - # allerletzter Ausweg, eigentlich kommen hier nur Zufallstreffer, weil - # ltmPoolMemberAddr eine Addresse aus Sicht des Pools ist, - # ltmPoolMbrStatusAddr eine "private" Adresse des Members sein kann. - $_->{ltmPoolMemberAddr} eq $auxmbr->{ltmPoolMbrStatusAddr} - # Und sowas gibt's auch: - # ltmPoolMemberAddrType ipv6 - # ltmPoolMemberAddr 0000:0000:0000:0000:0000:0000:0000:0000 - # und der laut ltmPoolMemberNodeName == ltmPoolMbrStatusNodeName zugehoerige - # ltmPoolMbrStatus-Eintrag lautet: - # ltmPoolMbrStatusNodeName /Common/orac3-nod02.dingsbums.com - # ltmPoolMbrStatusAddrType ipv6 - # ltmPoolMbrStatusAddr 48.48.48.48 - # Da kotz ich im Strahl. Abgesehen davon, daß :: eh mehr dummymaessig aussieht, - # und das ganze Dings nicht ernstzunehmen ist. - )) - ) { + $_->{ltmPoolMemberPort} eq $auxmbr->{ltmPoolMbrStatusPort} && + $_->{ltmPoolMemberAddrType} eq $auxmbr->{ltmPoolMbrStatusAddrType} && + $_->{ltmPoolMemberAddr} eq $auxmbr->{ltmPoolMbrStatusAddr}) { foreach my $key (keys %{$auxmbr}) { next if $key =~ /.*indices$/; $_->{$key} = $auxmbr->{$key}; @@ -202,7 +184,6 @@ sub init { $_->{ltmPoolMemberNodeName} && $auxmember->{ltmPoolMemberStatNodeName} && $_->{ltmPoolMemberNodeName} eq $auxmember->{ltmPoolMemberStatNodeName} ) || ( - (! $_->{ltmPoolMemberNodeName} || ! $auxmember->{ltmPoolMemberStatNodeName}) && $_->{ltmPoolMemberAddrType} eq $auxmember->{ltmPoolMemberStatAddrType} && $_->{ltmPoolMemberAddr} eq $auxmember->{ltmPoolMemberStatAddr} @@ -215,7 +196,7 @@ sub init { } } push(@{$self->{poolmembers}}, - CheckNwcHealth::F5::F5BIGIP::Component::LTMSubsystem9::LTMPoolMember->new(%{$_})); + Classes::F5::F5BIGIP::Component::LTMSubsystem9::LTMPoolMember->new(%{$_})); } # ltmPoolMemberNodeName may be the same as ltmPoolMemberAddr # there is a chance to learn the actual hostname via ltmNodeAddrStatusName @@ -230,7 +211,7 @@ sub init { my @auxnodeaddrstatus = (); foreach ($self->get_snmp_table_objects( 'F5-BIGIP-LOCAL-MIB', 'ltmNodeAddrStatusTable')) { - #$_->{ltmNodeAddrStatusAddr} = $self->unhex_ip($_->{ltmNodeAddrStatusAddr}); + $_->{ltmNodeAddrStatusAddr} = $self->unhex_ip($_->{ltmNodeAddrStatusAddr}); push(@auxnodeaddrstatus, $_); } foreach my $poolmember (@{$self->{poolmembers}}) { @@ -276,7 +257,7 @@ sub assign_members_to_pools { } -package CheckNwcHealth::F5::F5BIGIP::Component::LTMSubsystem9::LTMPool; +package Classes::F5::F5BIGIP::Component::LTMSubsystem9::LTMPool; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; @@ -395,14 +376,14 @@ sub draw_html_table { } } -package CheckNwcHealth::F5::F5BIGIP::Component::LTMSubsystem9::LTMPoolMember; +package Classes::F5::F5BIGIP::Component::LTMSubsystem9::LTMPoolMember; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; sub max_l4_connections { my ($self) = @_; - $CheckNwcHealth::F5::F5BIGIP::Component::LTMSubsystem::max_l4_connections; + $Classes::F5::F5BIGIP::Component::LTMSubsystem::max_l4_connections; } sub finish { @@ -481,8 +462,8 @@ sub check { } -package CheckNwcHealth::F5::F5BIGIP::Component::LTMSubsystem4; -our @ISA = qw(CheckNwcHealth::F5::F5BIGIP::Component::LTMSubsystem Monitoring::GLPlugin::SNMP::TableItem); +package Classes::F5::F5BIGIP::Component::LTMSubsystem4; +our @ISA = qw(Classes::F5::F5BIGIP::Component::LTMSubsystem Monitoring::GLPlugin::SNMP::TableItem); use strict; sub init { @@ -491,14 +472,14 @@ sub init { 'LOAD-BAL-SYSTEM-MIB', 'poolTable')) { if ($self->filter_name($_->{poolName})) { push(@{$self->{pools}}, - CheckNwcHealth::F5::F5BIGIP::Component::LTMSubsystem4::LTMPool->new(%{$_})); + Classes::F5::F5BIGIP::Component::LTMSubsystem4::LTMPool->new(%{$_})); } } foreach ($self->get_snmp_table_objects( 'LOAD-BAL-SYSTEM-MIB', 'poolMemberTable')) { if ($self->filter_name($_->{poolMemberPoolName})) { push(@{$self->{poolmembers}}, - CheckNwcHealth::F5::F5BIGIP::Component::LTMSubsystem4::LTMPoolMember->new(%{$_})); + Classes::F5::F5BIGIP::Component::LTMSubsystem4::LTMPoolMember->new(%{$_})); } } $self->assign_members_to_pools(); @@ -523,7 +504,7 @@ sub assign_members_to_pools { } -package CheckNwcHealth::F5::F5BIGIP::Component::LTMSubsystem4::LTMPool; +package Classes::F5::F5BIGIP::Component::LTMSubsystem4::LTMPool; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; @@ -564,7 +545,7 @@ sub check { } -package CheckNwcHealth::F5::F5BIGIP::Component::LTMSubsystem4::LTMPoolMember; +package Classes::F5::F5BIGIP::Component::LTMSubsystem4::LTMPoolMember; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/MemSubsystem.pm similarity index 85% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/MemSubsystem.pm index de5a9e9..b5d15e8 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/MemSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::F5::F5BIGIP::Component::MemSubsystem; +package Classes::F5::F5BIGIP::Component::MemSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -8,8 +8,6 @@ sub init { sysStatMemoryTotal sysStatMemoryUsed sysHostMemoryTotal sysHostMemoryUsed))); $self->{stat_mem_usage} = ($self->{sysStatMemoryUsed} / $self->{sysStatMemoryTotal}) * 100; $self->{host_mem_usage} = ($self->{sysHostMemoryUsed} / $self->{sysHostMemoryTotal}) * 100; - $self->protect_value('f5_stat_mem_usage', 'stat_mem_usage', 'percent'); - $self->protect_value('f5_host_mem_usage', 'host_mem_usage', 'percent'); } sub check { diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/PowersupplySubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/PowersupplySubsystem.pm similarity index 66% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/PowersupplySubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/PowersupplySubsystem.pm index d90981e..c5ca1e7 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/PowersupplySubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/PowersupplySubsystem.pm @@ -1,15 +1,15 @@ -package CheckNwcHealth::F5::F5BIGIP::Component::PowersupplySubsystem; +package Classes::F5::F5BIGIP::Component::PowersupplySubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('F5-BIGIP-SYSTEM-MIB', [ - ['powersupplies', 'sysChassisPowerSupplyTable', 'CheckNwcHealth::F5::F5BIGIP::Component::PowersupplySubsystem::Powersupply'], + ['powersupplies', 'sysChassisPowerSupplyTable', 'Classes::F5::F5BIGIP::Component::PowersupplySubsystem::Powersupply'], ]); } -package CheckNwcHealth::F5::F5BIGIP::Component::PowersupplySubsystem::Powersupply; +package Classes::F5::F5BIGIP::Component::PowersupplySubsystem::Powersupply; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/TemperatureSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/TemperatureSubsystem.pm similarity index 65% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/TemperatureSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/TemperatureSubsystem.pm index 5a8d6ad..1a17ac3 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/TemperatureSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/TemperatureSubsystem.pm @@ -1,15 +1,15 @@ -package CheckNwcHealth::F5::F5BIGIP::Component::TemperatureSubsystem; +package Classes::F5::F5BIGIP::Component::TemperatureSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('F5-BIGIP-SYSTEM-MIB', [ - ['temperatures', 'sysChassisTempTable', 'CheckNwcHealth::F5::F5BIGIP::Component::TemperatureSubsystem::Temperature'], + ['temperatures', 'sysChassisTempTable', 'Classes::F5::F5BIGIP::Component::TemperatureSubsystem::Temperature'], ]); } -package CheckNwcHealth::F5::F5BIGIP::Component::TemperatureSubsystem::Temperature; +package Classes::F5::F5BIGIP::Component::TemperatureSubsystem::Temperature; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/VipSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/VipSubsystem.pm similarity index 94% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/VipSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/VipSubsystem.pm index 3c7a398..b4581ea 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/F5/F5BIGIP/Component/VipSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/VipSubsystem.pm @@ -1,11 +1,12 @@ -package CheckNwcHealth::F5::F5BIGIP::Component::VipSubsystem; +package Classes::F5::F5BIGIP::Component::VipSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use Socket; +use Net::Ping; sub init { my ($self) = @_; $self->get_snmp_tables('F5-BIGIP-LOCAL-MIB', [ - ['vips', 'ltmVirtualServTable', 'CheckNwcHealth::F5::F5BIGIP::Component::VipSubsystem::VIP'], + ['vips', 'ltmVirtualServTable', 'Classes::F5::F5BIGIP::Component::VipSubsystem::VIP'], ]); } @@ -17,13 +18,6 @@ sub check { } $self->add_ok("have fun"); } elsif ($self->mode =~ /vip::connect/) { - eval { - require "Net::Ping"; - }; - if ($@) { - $self->add_unknown("perl module Net::Ping is missing"); - return; - } my $ping = Net::Ping->new("syn"); foreach (@{$self->{vips}}) { $ping->port_number($_->{ltmVirtualServPort}); @@ -158,7 +152,7 @@ sub reverse_resolve { return $name; } -package CheckNwcHealth::F5::F5BIGIP::Component::VipSubsystem::VIP; +package Classes::F5::F5BIGIP::Component::VipSubsystem::VIP; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); sub finish { diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCEOS.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCEOS.pm new file mode 100644 index 0000000..258e18d --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCEOS.pm @@ -0,0 +1,4 @@ +package Classes::FCEOS; +our @ISA = qw(Classes::Device); +use strict; + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FCEOS/Components/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCEOS/Components/EnvironmentalSubsystem.pm similarity index 84% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FCEOS/Components/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCEOS/Components/EnvironmentalSubsystem.pm index 663d737..efbfb51 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FCEOS/Components/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCEOS/Components/EnvironmentalSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::FCEOS::Component::EnvironmentalSubsystem; +package Classes::FCEOS::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -11,7 +11,7 @@ sub overall_init { sub init { my ($self) = @_; $self->{fru_subsystem} = - CheckNwcHealth::FCEOS::Component::FruSubsystem->new(); + Classes::FCEOS::Component::FruSubsystem->new(); } sub check { diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FCEOS/Components/FruSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCEOS/Components/FruSubsystem.pm similarity index 70% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FCEOS/Components/FruSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCEOS/Components/FruSubsystem.pm index f44c476..c163994 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FCEOS/Components/FruSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCEOS/Components/FruSubsystem.pm @@ -1,15 +1,15 @@ -package CheckNwcHealth::FCEOS::Component::FruSubsystem; +package Classes::FCEOS::Component::FruSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('FCEOS-MIB', [ - ['frus', 'fcEosFruTable', 'CheckNwcHealth::FCEOS::Component::FruSubsystem::Fcu'], + ['frus', 'fcEosFruTable', 'Classes::FCEOS::Component::FruSubsystem::Fcu'], ]); } -package CheckNwcHealth::FCEOS::Component::FruSubsystem::Fcu; +package Classes::FCEOS::Component::FruSubsystem::Fcu; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCMGMT.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCMGMT.pm new file mode 100644 index 0000000..9687a32 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCMGMT.pm @@ -0,0 +1,4 @@ +package Classes::FCMGMT; +our @ISA = qw(Classes::Device); +use strict; + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FabOS/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCMGMT/Component/EnvironmentalSubsystem.pm similarity index 73% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FabOS/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCMGMT/Component/EnvironmentalSubsystem.pm index 5fdba8f..3a2a599 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FabOS/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCMGMT/Component/EnvironmentalSubsystem.pm @@ -1,11 +1,11 @@ -package CheckNwcHealth::FabOS::Component::EnvironmentalSubsystem; +package Classes::FCMGMT::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->{sensor_subsystem} = - CheckNwcHealth::FabOS::Component::SensorSubsystem->new(); + Classes::FCMGMT::Component::SensorSubsystem->new(); } sub check { diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FCMGMT/Component/SensorSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCMGMT/Component/SensorSubsystem.pm similarity index 74% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FCMGMT/Component/SensorSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCMGMT/Component/SensorSubsystem.pm index e7009d0..801d03a 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FCMGMT/Component/SensorSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCMGMT/Component/SensorSubsystem.pm @@ -1,18 +1,18 @@ -package CheckNwcHealth::FCMGMT::Component::SensorSubsystem; +package Classes::FCMGMT::Component::SensorSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('FCMGMT-MIB', [ - ['sensors', 'fcConnUnitSensorTable', 'CheckNwcHealth::FCMGMT::Component::SensorSubsystem::Sensor'], + ['sensors', 'fcConnUnitSensorTable', 'Classes::FCMGMT::Component::SensorSubsystem::Sensor'], ]); foreach (@{$self->{sensors}}) { $_->{fcConnUnitSensorIndex} ||= $_->{flat_indices}; } } -package CheckNwcHealth::FCMGMT::Component::SensorSubsystem::Sensor; +package Classes::FCMGMT::Component::SensorSubsystem::Sensor; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS.pm new file mode 100644 index 0000000..e72eb76 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS.pm @@ -0,0 +1,20 @@ +package Classes::FabOS; +our @ISA = qw(Classes::Brocade); +use strict; + + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::FabOS::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::FabOS::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::FabOS::Component::MemSubsystem"); + } elsif ($self->mode =~ /device::interfaces/) { + $self->analyze_and_check_interface_subsystem("Classes::FabOS::Component::InterfaceSubsystem"); + } else { + $self->no_such_mode(); + } +} + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FabOS/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS/Component/CpuSubsystem.pm similarity index 96% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FabOS/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS/Component/CpuSubsystem.pm index 2218b4f..54ea4db 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FabOS/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS/Component/CpuSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::FabOS::Component::CpuSubsystem; +package Classes::FabOS::Component::CpuSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FCMGMT/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS/Component/EnvironmentalSubsystem.pm similarity index 73% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FCMGMT/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS/Component/EnvironmentalSubsystem.pm index 69dab7d..a48a15b 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FCMGMT/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS/Component/EnvironmentalSubsystem.pm @@ -1,11 +1,11 @@ -package CheckNwcHealth::FCMGMT::Component::EnvironmentalSubsystem; +package Classes::FabOS::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->{sensor_subsystem} = - CheckNwcHealth::FCMGMT::Component::SensorSubsystem->new(); + Classes::FabOS::Component::SensorSubsystem->new(); } sub check { diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS/Component/InterfaceSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS/Component/InterfaceSubsystem.pm new file mode 100644 index 0000000..6cb521b --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS/Component/InterfaceSubsystem.pm @@ -0,0 +1,64 @@ +package Classes::FabOS::Component::InterfaceSubsystem; +our @ISA = qw(Classes::IFMIB::Component::InterfaceSubsystem); +use strict; + +sub enrich_interface_cache { + my ($self) = @_; + $self->get_snmp_tables('SW-MIB', [ + ['fcinterfaces', 'swFCPortTable', 'Monitoring::GLPlugin::SNMP::TableItem', undef, ['swFCPortIndex', 'swFCPortName']], + ]); + foreach my $index (keys %{$self->{interface_cache}}) { + my $ifDescr = $self->{interface_cache}->{$index}->{ifDescr}; + if ($ifDescr =~ /FC port 0\/(\d+)/) { + my $label = $1; + foreach my $fcinterface (@{$self->{fcinterfaces}}) { + if ($fcinterface->{swFCPortName} && + $fcinterface->{swFCPortIndex} == $label + 1 && + $fcinterface->{swFCPortName} !~ /^port\d+$/) { + $self->{interface_cache}->{$index}->{swFCPortName} = + $fcinterface->{swFCPortName}; + $self->{interface_cache}->{$index}->{swFCPortIndex} = + $fcinterface->{swFCPortIndex}; + } + } + } + } +} + +sub get_interface_indices { + my ($self) = @_; + # --name3 swFCPortName + # wer sowas haben will: kostet 2880 Euro. + $self->SUPER::get_interface_indices(); +} + +sub enrich_interface_attributes { + my ($self, $interface) = @_; + foreach my $index (keys %{$self->{interface_cache}}) { + if ($index eq $interface->{flat_indices}) { + if (exists $self->{interface_cache}->{$index}->{swFCPortName}) { + $interface->{swFCPortName} = + $self->{interface_cache}->{$index}->{swFCPortName}; + $interface->{swFCPortIndex} = + $self->{interface_cache}->{$index}->{swFCPortIndex}; + if (! $interface->{ifAlias} || $interface->{ifAlias} eq '________') { + $interface->{ifAlias} = $interface->{swFCPortName}; + } + } + } + } +} + +# eigentlich unnoetig, aber Classes::IFMIB::Component::InterfaceSubsystem +# blesst ref($self)::Interface +# falls es mal doch nich noetig sein sollte, am interface-check() was zu drehen +# +package Classes::FabOS::Component::InterfaceSubsystem::Interface; +our @ISA = qw(Classes::IFMIB::Component::InterfaceSubsystem::Interface); +use strict; + +package Classes::FabOS::Component::InterfaceSubsystem::Interface::64bit; +our @ISA = qw(Classes::IFMIB::Component::InterfaceSubsystem::Interface::64bit); +use strict; + + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FabOS/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS/Component/MemSubsystem.pm similarity index 96% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FabOS/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS/Component/MemSubsystem.pm index 5c845a2..63ff11a 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FabOS/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS/Component/MemSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::FabOS::Component::MemSubsystem; +package Classes::FabOS::Component::MemSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FabOS/Component/SensorSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS/Component/SensorSubsystem.pm similarity index 82% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FabOS/Component/SensorSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS/Component/SensorSubsystem.pm index 55d4501..9eb5ce2 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/FabOS/Component/SensorSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS/Component/SensorSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::FabOS::Component::SensorSubsystem; +package Classes::FabOS::Component::SensorSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -6,11 +6,11 @@ sub init { my ($self) = @_; $self->bulk_is_baeh(); $self->get_snmp_tables('SW-MIB', [ - ['sensors', 'swSensorTable', 'CheckNwcHealth::FabOS::Component::SensorSubsystem::Sensor'], + ['sensors', 'swSensorTable', 'Classes::FabOS::Component::SensorSubsystem::Sensor'], ]); } -package CheckNwcHealth::FabOS::Component::SensorSubsystem::Sensor; +package Classes::FabOS::Component::SensorSubsystem::Sensor; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate.pm new file mode 100644 index 0000000..e61883e --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate.pm @@ -0,0 +1,19 @@ +package Classes::Fortigate; +our @ISA = qw(Classes::Device); +use strict; + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::Fortigate::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::Fortigate::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::Fortigate::Component::MemSubsystem"); + } elsif ($self->mode =~ /device::ha::/) { + $self->analyze_and_check_mem_subsystem("Classes::Fortigate::Component::HaSubsystem"); + } else { + $self->no_such_mode(); + } +} + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Fortigate/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/CpuSubsystem.pm similarity index 91% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Fortigate/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/CpuSubsystem.pm index 35ee107..04ad728 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Fortigate/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/CpuSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Fortigate::Component::CpuSubsystem; +package Classes::Fortigate::Component::CpuSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Fortigate/Component/DiskSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/DiskSubsystem.pm similarity index 92% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Fortigate/Component/DiskSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/DiskSubsystem.pm index ce1515c..bce7296 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Fortigate/Component/DiskSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/DiskSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Fortigate::Component::DiskSubsystem; +package Classes::Fortigate::Component::DiskSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Fortigate/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/EnvironmentalSubsystem.pm similarity index 69% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Fortigate/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/EnvironmentalSubsystem.pm index 1f4d8d7..71443f6 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Fortigate/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/EnvironmentalSubsystem.pm @@ -1,13 +1,13 @@ -package CheckNwcHealth::Fortigate::Component::EnvironmentalSubsystem; +package Classes::Fortigate::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->{sensor_subsystem} = - CheckNwcHealth::Fortigate::Component::SensorSubsystem->new(); + Classes::Fortigate::Component::SensorSubsystem->new(); $self->{disk_subsystem} = - CheckNwcHealth::Fortigate::Component::DiskSubsystem->new(); + Classes::Fortigate::Component::DiskSubsystem->new(); } sub check { diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Fortigate/Component/HaSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/HaSubsystem.pm similarity index 93% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Fortigate/Component/HaSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/HaSubsystem.pm index 5764139..2a1d8d2 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Fortigate/Component/HaSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/HaSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Fortigate::Component::HaSubsystem; +package Classes::Fortigate::Component::HaSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -12,7 +12,7 @@ sub init { fgHaGroupName fgFcSwSerial fgFcSwName ))); $self->get_snmp_tables('FORTINET-FORTIGATE-MIB', [ - ['fgHaStatsTable', 'fgHaStatsTable', 'CheckNwcHealth::Fortigate::Component::HaSubsystem::SyncStatus'], + ['fgHaStatsTable', 'fgHaStatsTable', 'Classes::Fortigate::Component::HaSubsystem::SyncStatus'], ['fgVdTable', 'fgVdTable', 'Monitoring::GLPlugin::SNMP::TableItem'], ]); if (! $self->opts->role()) { @@ -61,7 +61,7 @@ sub check { } -package CheckNwcHealth::Fortigate::Component::HaSubsystem::SyncStatus; +package Classes::Fortigate::Component::HaSubsystem::SyncStatus; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Fortigate/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/MemSubsystem.pm similarity index 92% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Fortigate/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/MemSubsystem.pm index 9e8d21a..d376d7f 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Fortigate/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/MemSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Fortigate::Component::MemSubsystem; +package Classes::Fortigate::Component::MemSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Fortigate/Component/SensorSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/SensorSubsystem.pm similarity index 76% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Fortigate/Component/SensorSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/SensorSubsystem.pm index cd123f7..277fc2a 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Fortigate/Component/SensorSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/SensorSubsystem.pm @@ -1,15 +1,15 @@ -package CheckNwcHealth::Fortigate::Component::SensorSubsystem; +package Classes::Fortigate::Component::SensorSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('FORTINET-FORTIGATE-MIB', [ - ['sensors', 'fgHwSensorTable', 'CheckNwcHealth::Fortigate::Component::SensorSubsystem::Sensor'], + ['sensors', 'fgHwSensorTable', 'Classes::Fortigate::Component::SensorSubsystem::Sensor'], ]); } -package CheckNwcHealth::Fortigate::Component::SensorSubsystem::Sensor; +package Classes::Fortigate::Component::SensorSubsystem::Sensor; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -17,19 +17,19 @@ sub finish { my ($self) = @_; $self->{fgHwSensorEntAlarmStatus} ||= "false"; $self->{fgHwSensorEntValue} = -1 if ! defined $self->{fgHwSensorEntValue}; - if ( $self->{fgHwSensorEntValue} =~ /^-1$/) { + if ($self->{fgHwSensorEntValue} == -1) { # empty, this case is handled in the default sensor class } elsif ($self->{fgHwSensorEntName} =~ /Fan/) { - bless $self, "CheckNwcHealth::Fortigate::Component::SensorSubsystem::Fan"; - } elsif ($self->{fgHwSensorEntName} =~ /PS.*Status|PSU .*|RPS/) { - bless $self, "CheckNwcHealth::Fortigate::Component::SensorSubsystem::Powersupply"; + bless $self, "Classes::Fortigate::Component::SensorSubsystem::Fan"; + } elsif ($self->{fgHwSensorEntName} =~ /PS.*Status/) { + bless $self, "Classes::Fortigate::Component::SensorSubsystem::Powersupply"; } elsif ($self->{fgHwSensorEntName} =~ /(LM75)|(Temp)|(^(TD|TR)\d+)|(DTS\d+)/) { # thermal diode/resistor, dingsbums thermal sensor - bless $self, "CheckNwcHealth::Fortigate::Component::SensorSubsystem::Temperature"; + bless $self, "Classes::Fortigate::Component::SensorSubsystem::Temperature"; } elsif ($self->{fgHwSensorEntName} =~ /(VOUT)|(VIN)|(VCC)|(P\d+V\d+)|(_\d+V\d+_)|(DDR)|(VCORE)|(DVDD)/) { # VPP_DDR, VTT_DDR sind irgendwelche voltage regulatory devices # DVDD irgendein Realtec digital voltage drecksdeil - bless $self, "CheckNwcHealth::Fortigate::Component::SensorSubsystem::Voltage"; + bless $self, "Classes::Fortigate::Component::SensorSubsystem::Voltage"; } else { $self->{UNKNOWN} = 1; } @@ -37,7 +37,7 @@ $self->{UNKNOWN} = 1; sub check { my ($self) = @_; - if ( $self->{fgHwSensorEntValue} =~ /^-1$/) { + if ($self->{fgHwSensorEntValue} == -1) { $self->add_info(sprintf '%s is not installed', $self->{fgHwSensorEntName}); return; @@ -56,7 +56,7 @@ sub check { } } -package CheckNwcHealth::Fortigate::Component::SensorSubsystem::Fan; +package Classes::Fortigate::Component::SensorSubsystem::Fan; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -77,7 +77,7 @@ sub check { } } -package CheckNwcHealth::Fortigate::Component::SensorSubsystem::Temperature; +package Classes::Fortigate::Component::SensorSubsystem::Temperature; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -98,7 +98,7 @@ sub check { } } -package CheckNwcHealth::Fortigate::Component::SensorSubsystem::Voltage; +package Classes::Fortigate::Component::SensorSubsystem::Voltage; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -118,7 +118,7 @@ sub check { } } -package CheckNwcHealth::Fortigate::Component::SensorSubsystem::Powersupply; +package Classes::Fortigate::Component::SensorSubsystem::Powersupply; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry.pm new file mode 100644 index 0000000..3c828d2 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry.pm @@ -0,0 +1,19 @@ +package Classes::Foundry; +our @ISA = qw(Classes::Device); +use strict; + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::Foundry::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::Foundry::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::Foundry::Component::MemSubsystem"); + } elsif ($self->mode =~ /device::lb/) { + $self->analyze_and_check_slb_subsystem("Classes::Foundry::Component::SLBSubsystem"); + } else { + $self->no_such_mode(); + } +} + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Foundry/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/CpuSubsystem.pm similarity index 91% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Foundry/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/CpuSubsystem.pm index 0e9871d..ee0215e 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Foundry/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/CpuSubsystem.pm @@ -1,11 +1,11 @@ -package CheckNwcHealth::Foundry::Component::CpuSubsystem; +package Classes::Foundry::Component::CpuSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('FOUNDRY-SN-AGENT-MIB', [ - ['cpus', 'snAgentCpuUtilTable', 'CheckNwcHealth::Foundry::Component::CpuSubsystem::Cpu'], + ['cpus', 'snAgentCpuUtilTable', 'Classes::Foundry::Component::CpuSubsystem::Cpu'], ]); $self->get_snmp_objects('FOUNDRY-SN-AGENT-MIB', (qw( snAgGblCpuUtil1SecAvg snAgGblCpuUtil5SecAvg snAgGblCpuUtil1MinAvg))); @@ -58,7 +58,7 @@ sub overall_dump { printf "\n"; } -package CheckNwcHealth::Foundry::Component::CpuSubsystem::Cpu; +package Classes::Foundry::Component::CpuSubsystem::Cpu; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Foundry/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/EnvironmentalSubsystem.pm similarity index 65% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Foundry/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/EnvironmentalSubsystem.pm index 42fb261..b721893 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Foundry/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/EnvironmentalSubsystem.pm @@ -1,17 +1,17 @@ -package CheckNwcHealth::Foundry::Component::EnvironmentalSubsystem; +package Classes::Foundry::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->{powersupply_subsystem} = - CheckNwcHealth::Foundry::Component::PowersupplySubsystem->new(); + Classes::Foundry::Component::PowersupplySubsystem->new(); $self->{fan_subsystem} = - CheckNwcHealth::Foundry::Component::FanSubsystem->new(); + Classes::Foundry::Component::FanSubsystem->new(); $self->{temperature_subsystem} = - CheckNwcHealth::Foundry::Component::TemperatureSubsystem->new(); + Classes::Foundry::Component::TemperatureSubsystem->new(); $self->{module_subsystem} = - CheckNwcHealth::Foundry::Component::ModuleSubsystem->new(); + Classes::Foundry::Component::ModuleSubsystem->new(); } sub check { diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Foundry/Component/FanSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/FanSubsystem.pm similarity index 72% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Foundry/Component/FanSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/FanSubsystem.pm index a7f7984..ddb1400 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Foundry/Component/FanSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/FanSubsystem.pm @@ -1,16 +1,16 @@ -package CheckNwcHealth::Foundry::Component::FanSubsystem; +package Classes::Foundry::Component::FanSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('FOUNDRY-SN-AGENT-MIB', [ - ['fans', 'snChasFanTable', 'CheckNwcHealth::Foundry::Component::FanSubsystem::Fan'], + ['fans', 'snChasFanTable', 'Classes::Foundry::Component::FanSubsystem::Fan'], ]); } -package CheckNwcHealth::Foundry::Component::FanSubsystem::Fan; +package Classes::Foundry::Component::FanSubsystem::Fan; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Foundry/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/MemSubsystem.pm similarity index 92% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Foundry/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/MemSubsystem.pm index 9161216..a4acbc8 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Foundry/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/MemSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Foundry::Component::MemSubsystem; +package Classes::Foundry::Component::MemSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Foundry/Component/ModuleSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/ModuleSubsystem.pm similarity index 64% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Foundry/Component/ModuleSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/ModuleSubsystem.pm index d80df2b..d15684d 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Foundry/Component/ModuleSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/ModuleSubsystem.pm @@ -1,16 +1,16 @@ -package CheckNwcHealth::Foundry::Component::ModuleSubsystem; +package Classes::Foundry::Component::ModuleSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('FOUNDRY-SN-AGENT-MIB', [ - ['boards', 'snAgentBrdTable', 'CheckNwcHealth::Foundry::Component::ModuleSubsystem::Module', undef, ['snAgentBrdMainBrdDescription', 'snAgentBrdMainBrdId', 'snAgentBrdExpBrdDescription', 'snAgentBrdModuleStatus', 'snAgentBrdRedundantStatus']], + ['boards', 'snAgentBrdTable', 'Classes::Foundry::Component::ModuleSubsystem::Module', undef, ['snAgentBrdMainBrdDescription', 'snAgentBrdMainBrdId', 'snAgentBrdExpBrdDescription', 'snAgentBrdModuleStatus', 'snAgentBrdRedundantStatus']], ]); } -package CheckNwcHealth::Foundry::Component::ModuleSubsystem::Module; +package Classes::Foundry::Component::ModuleSubsystem::Module; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Foundry/Component/PowersupplySubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/PowersupplySubsystem.pm similarity index 70% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Foundry/Component/PowersupplySubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/PowersupplySubsystem.pm index 21e7546..4cfea3a 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Foundry/Component/PowersupplySubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/PowersupplySubsystem.pm @@ -1,16 +1,16 @@ -package CheckNwcHealth::Foundry::Component::PowersupplySubsystem; +package Classes::Foundry::Component::PowersupplySubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('FOUNDRY-SN-AGENT-MIB', [ - ['powersupplies', 'snChasPwrSupplyTable', 'CheckNwcHealth::Foundry::Component::PowersupplySubsystem::Powersupply'], + ['powersupplies', 'snChasPwrSupplyTable', 'Classes::Foundry::Component::PowersupplySubsystem::Powersupply'], ]); } -package CheckNwcHealth::Foundry::Component::PowersupplySubsystem::Powersupply; +package Classes::Foundry::Component::PowersupplySubsystem::Powersupply; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Foundry/Component/SLBSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/SLBSubsystem.pm similarity index 94% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Foundry/Component/SLBSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/SLBSubsystem.pm index ee3eb62..9eb2e84 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Foundry/Component/SLBSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/SLBSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Foundry::Component::SLBSubsystem; +package Classes::Foundry::Component::SLBSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -114,7 +114,7 @@ sub init { $self->opts->override_opt('name', $original_name); $self->{virtualservers} = []; foreach my $vs (grep { $self->filter_name($_) } keys %{$self->{vsdict}}) { - $self->{vsdict}->{$vs} = CheckNwcHealth::Foundry::Component::SLBSubsystem::VirtualServer->new(%{$self->{vsdict}->{$vs}}); + $self->{vsdict}->{$vs} = Classes::Foundry::Component::SLBSubsystem::VirtualServer->new(%{$self->{vsdict}->{$vs}}); next if ! exists $self->{vspdict}->{$vs}; # # virtual server has ports @@ -124,7 +124,7 @@ sub init { # # virtual server port has bindings # - $self->{vspdict}->{$vs}->{$vspp} = CheckNwcHealth::Foundry::Component::SLBSubsystem::VirtualServerPort->new(%{$self->{vspdict}->{$vs}->{$vspp}}); + $self->{vspdict}->{$vs}->{$vspp} = Classes::Foundry::Component::SLBSubsystem::VirtualServerPort->new(%{$self->{vspdict}->{$vs}->{$vspp}}); # # merge virtual server port and virtual server port statistics # @@ -142,7 +142,7 @@ sub init { # # loop through real server / real server port # - $self->{rspstdict}->{$rs}->{$rsp} = CheckNwcHealth::Foundry::Component::SLBSubsystem::RealServerPort->new(%{$self->{rspstdict}->{$rs}->{$rsp}}) if ref($self->{rspstdict}->{$rs}->{$rsp}) eq 'HASH'; + $self->{rspstdict}->{$rs}->{$rsp} = Classes::Foundry::Component::SLBSubsystem::RealServerPort->new(%{$self->{rspstdict}->{$rs}->{$rsp}}) if ref($self->{rspstdict}->{$rs}->{$rsp}) eq 'HASH'; $self->{vspdict}->{$vs}->{$vspp}->add_port($self->{rspstdict}->{$rs}->{$rsp}); # add real port(s) to virtual port } } @@ -191,7 +191,7 @@ sub check { } -package CheckNwcHealth::Foundry::Component::SLBSubsystem::VirtualServer; +package Classes::Foundry::Component::SLBSubsystem::VirtualServer; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -231,7 +231,7 @@ sub add_port { } -package CheckNwcHealth::Foundry::Component::SLBSubsystem::VirtualServerPort; +package Classes::Foundry::Component::SLBSubsystem::VirtualServerPort; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -334,7 +334,7 @@ sub add_port { } -package CheckNwcHealth::Foundry::Component::SLBSubsystem::RealServer; +package Classes::Foundry::Component::SLBSubsystem::RealServer; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -353,7 +353,7 @@ sub check { } -package CheckNwcHealth::Foundry::Component::SLBSubsystem::RealServerPort; +package Classes::Foundry::Component::SLBSubsystem::RealServerPort; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; @@ -371,7 +371,7 @@ sub check { } -package CheckNwcHealth::Foundry::Component::SLBSubsystem::Binding; +package Classes::Foundry::Component::SLBSubsystem::Binding; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Foundry/Component/TemperatureSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/TemperatureSubsystem.pm similarity index 85% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Foundry/Component/TemperatureSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/TemperatureSubsystem.pm index f8947a1..6a7c6c6 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Foundry/Component/TemperatureSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/TemperatureSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Foundry::Component::TemperatureSubsystem; +package Classes::Foundry::Component::TemperatureSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -10,8 +10,8 @@ sub init { snChasShutdownTemperature ))); $self->get_snmp_tables('FOUNDRY-SN-AGENT-MIB', [ - ['temperatures', 'snAgentTempTable', 'CheckNwcHealth::Foundry::Component::TemperatureSubsystem::Temperature'], - ['tempthresholds', 'snAgentTempThresholdTable', 'CheckNwcHealth::Foundry::Component::TemperatureSubsystem::Temperature'], + ['temperatures', 'snAgentTempTable', 'Classes::Foundry::Component::TemperatureSubsystem::Temperature'], + ['tempthresholds', 'snAgentTempThresholdTable', 'Classes::Foundry::Component::TemperatureSubsystem::Temperature'], ]); } @@ -48,7 +48,7 @@ sub check { } } -package CheckNwcHealth::Foundry::Component::TemperatureSubsystem::Temperature; +package Classes::Foundry::Component::TemperatureSubsystem::Temperature; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HH3C.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HH3C.pm new file mode 100644 index 0000000..47334d0 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HH3C.pm @@ -0,0 +1,17 @@ +# HP Huawei 3Com +package Classes::HH3C; +our @ISA = qw(Classes::Device); +use strict; + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::HH3C::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::HH3C::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::HH3C::Component::MemSubsystem"); + } else { + $self->no_such_mode(); + } +} diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HH3C/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HH3C/Component/CpuSubsystem.pm similarity index 60% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HH3C/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HH3C/Component/CpuSubsystem.pm index 8728e1a..f317b90 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HH3C/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HH3C/Component/CpuSubsystem.pm @@ -1,14 +1,14 @@ -package CheckNwcHealth::HH3C::Component::CpuSubsystem; -our @ISA = qw(CheckNwcHealth::HH3C::Component::EntitySubsystem); +package Classes::HH3C::Component::CpuSubsystem; +our @ISA = qw(Classes::HH3C::Component::EntitySubsystem); use strict; sub init { my ($self) = @_; $self->get_snmp_tables("ENTITY-MIB", [ - ["entities", "entPhysicalTable", "CheckNwcHealth::HH3C::Component::CpuSubsystem::Entity", sub { my ($o) = @_; $o->{entPhysicalClass} eq 'module' and $o->{entPhysicalName} =~ /board/i; }, ["entPhysicalDescr", "entPhysicalName", "entPhysicalClass"]] + ["entities", "entPhysicalTable", "Classes::HH3C::Component::CpuSubsystem::Entity", sub { my ($o) = @_; $o->{entPhysicalClass} eq 'module' and $o->{entPhysicalName} =~ /board/i; }, ["entPhysicalDescr", "entPhysicalName", "entPhysicalClass"]] ]); $self->get_snmp_tables("HH3C-ENTITY-EXT-MIB", [ - ["entitystates", "hh3cEntityExtStateTable", "CheckNwcHealth::HH3C::Component::CpuSubsystem::EntityState", undef, ["hh3cEntityExtCpuAvgUsage"]] + ["entitystates", "hh3cEntityExtStateTable", "Classes::HH3C::Component::CpuSubsystem::EntityState", undef, ["hh3cEntityExtCpuAvgUsage"]] ]); $self->merge_tables("entities", "entitystates"); } @@ -26,11 +26,11 @@ sub check { } } -package CheckNwcHealth::HH3C::Component::CpuSubsystem::EntityState; +package Classes::HH3C::Component::CpuSubsystem::EntityState; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; -package CheckNwcHealth::HH3C::Component::CpuSubsystem::Entity; +package Classes::HH3C::Component::CpuSubsystem::Entity; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HH3C/Component/EntitySubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HH3C/Component/EntitySubsystem.pm similarity index 51% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HH3C/Component/EntitySubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HH3C/Component/EntitySubsystem.pm index cebaf69..4383cd4 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HH3C/Component/EntitySubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HH3C/Component/EntitySubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::HH3C::Component::EntitySubsystem; +package Classes::HH3C::Component::EntitySubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HH3C/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HH3C/Component/EnvironmentalSubsystem.pm similarity index 68% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HH3C/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HH3C/Component/EnvironmentalSubsystem.pm index a65d964..f94ae63 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HH3C/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HH3C/Component/EnvironmentalSubsystem.pm @@ -1,14 +1,14 @@ -package CheckNwcHealth::HH3C::Component::EnvironmentalSubsystem; -our @ISA = qw(CheckNwcHealth::HH3C::Component::EntitySubsystem); +package Classes::HH3C::Component::EnvironmentalSubsystem; +our @ISA = qw(Classes::HH3C::Component::EntitySubsystem); use strict; sub init { my ($self) = @_; $self->get_snmp_tables("ENTITY-MIB", [ - ["entities", "entPhysicalTable", "CheckNwcHealth::HH3C::Component::EnvironmentalSubsystem::Entity", undef, ["entPhysicalDescr", "entPhysicalName", "entPhysicalClass"]] + ["entities", "entPhysicalTable", "Classes::HH3C::Component::EnvironmentalSubsystem::Entity", undef, ["entPhysicalDescr", "entPhysicalName", "entPhysicalClass"]] ]); $self->get_snmp_tables("HH3C-ENTITY-EXT-MIB", [ - ["entitystates", "hh3cEntityExtStateTable", "CheckNwcHealth::HH3C::Component::EnvironmentalSubsystem::EntityState", undef, ["hh3cEntityExtErrorStatus"]] + ["entitystates", "hh3cEntityExtStateTable", "Classes::HH3C::Component::EnvironmentalSubsystem::EntityState", undef, ["hh3cEntityExtErrorStatus"]] ]); $self->merge_tables("entities", "entitystates"); } @@ -28,11 +28,11 @@ sub check { } } -package CheckNwcHealth::HH3C::Component::EnvironmentalSubsystem::EntityState; +package Classes::HH3C::Component::EnvironmentalSubsystem::EntityState; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; -package CheckNwcHealth::HH3C::Component::EnvironmentalSubsystem::Entity; +package Classes::HH3C::Component::EnvironmentalSubsystem::Entity; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HH3C/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HH3C/Component/MemSubsystem.pm similarity index 60% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HH3C/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HH3C/Component/MemSubsystem.pm index 723c2ab..c7ebde0 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HH3C/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HH3C/Component/MemSubsystem.pm @@ -1,14 +1,14 @@ -package CheckNwcHealth::HH3C::Component::MemSubsystem; -our @ISA = qw(CheckNwcHealth::HH3C::Component::EntitySubsystem); +package Classes::HH3C::Component::MemSubsystem; +our @ISA = qw(Classes::HH3C::Component::EntitySubsystem); use strict; sub init { my ($self) = @_; $self->get_snmp_tables("ENTITY-MIB", [ - ["entities", "entPhysicalTable", "CheckNwcHealth::HH3C::Component::MemSubsystem::Entity", sub { my ($o) = @_; $o->{entPhysicalClass} eq 'module' and $o->{entPhysicalName} =~ /board/i; }, ["entPhysicalDescr", "entPhysicalName", "entPhysicalClass"]] + ["entities", "entPhysicalTable", "Classes::HH3C::Component::MemSubsystem::Entity", sub { my ($o) = @_; $o->{entPhysicalClass} eq 'module' and $o->{entPhysicalName} =~ /board/i; }, ["entPhysicalDescr", "entPhysicalName", "entPhysicalClass"]] ]); $self->get_snmp_tables("HH3C-ENTITY-EXT-MIB", [ - ["entitystates", "hh3cEntityExtStateTable", "CheckNwcHealth::HH3C::Component::MemSubsystem::EntityState", undef, ["hh3cEntityExtMemAvgUsage"]] + ["entitystates", "hh3cEntityExtStateTable", "Classes::HH3C::Component::MemSubsystem::EntityState", undef, ["hh3cEntityExtMemAvgUsage"]] ]); $self->merge_tables("entities", "entitystates"); } @@ -26,11 +26,11 @@ sub check { } } -package CheckNwcHealth::HH3C::Component::MemSubsystem::EntityState; +package Classes::HH3C::Component::MemSubsystem::EntityState; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; -package CheckNwcHealth::HH3C::Component::MemSubsystem::Entity; +package Classes::HH3C::Component::MemSubsystem::Entity; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB.pm new file mode 100644 index 0000000..dc7ac91 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB.pm @@ -0,0 +1,21 @@ +package Classes::HOSTRESOURCESMIB; +our @ISA = qw(Classes::Device); +use strict; + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::HOSTRESOURCESMIB::Component::EnvironmentalSubsystem"); + $self->analyze_and_check_environmental_subsystem("Classes::LMSENSORSMIB::Component::EnvironmentalSubsystem"); + if (! $self->check_messages()) { + $self->reduce_messages("hardware working fine"); + } + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::HOSTRESOURCESMIB::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::HOSTRESOURCESMIB::Component::MemSubsystem"); + } else { + $self->no_such_mode(); + } +} + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HOSTRESOURCESMIB/Component/ClockSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/ClockSubsystem.pm similarity index 91% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HOSTRESOURCESMIB/Component/ClockSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/ClockSubsystem.pm index c84f1bc..05f126a 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HOSTRESOURCESMIB/Component/ClockSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/ClockSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::HOSTRESOURCESMIB::Component::ClockSubsystem; +package Classes::HOSTRESOURCESMIB::Component::ClockSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HOSTRESOURCESMIB/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/CpuSubsystem.pm similarity index 75% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HOSTRESOURCESMIB/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/CpuSubsystem.pm index 44b3d31..450eb2b 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HOSTRESOURCESMIB/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/CpuSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::HOSTRESOURCESMIB::Component::CpuSubsystem; +package Classes::HOSTRESOURCESMIB::Component::CpuSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -6,14 +6,14 @@ sub init { my ($self) = @_; my $idx = 0; $self->get_snmp_tables('HOST-RESOURCES-MIB', [ - ['cpus', 'hrProcessorTable', 'CheckNwcHealth::HOSTRESOURCESMIB::Component::CpuSubsystem::Cpu'], + ['cpus', 'hrProcessorTable', 'Classes::HOSTRESOURCESMIB::Component::CpuSubsystem::Cpu'], ]); foreach (@{$self->{cpus}}) { $_->{hrProcessorIndex} = $idx++; } } -package CheckNwcHealth::HOSTRESOURCESMIB::Component::CpuSubsystem::Cpu; +package Classes::HOSTRESOURCESMIB::Component::CpuSubsystem::Cpu; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HOSTRESOURCESMIB/Component/DeviceSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/DeviceSubsystem.pm similarity index 55% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HOSTRESOURCESMIB/Component/DeviceSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/DeviceSubsystem.pm index 9cb6738..94f9fe6 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HOSTRESOURCESMIB/Component/DeviceSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/DeviceSubsystem.pm @@ -1,17 +1,15 @@ -package CheckNwcHealth::HOSTRESOURCESMIB::Component::DeviceSubsystem; +package Classes::HOSTRESOURCESMIB::Component::DeviceSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; - $self->bulk_is_baeh(0); $self->get_snmp_tables('HOST-RESOURCES-MIB', [ - ['devices', 'hrDeviceTable', 'CheckNwcHealth::HOSTRESOURCESMIB::Component::DeviceSubsystem::Device'], + ['devices', 'hrDeviceTable', 'Classes::HOSTRESOURCESMIB::Component::DeviceSubsystem::Device'], ]); - $self->bulk_baeh_reset(); } -package CheckNwcHealth::HOSTRESOURCESMIB::Component::DeviceSubsystem::Device; +package Classes::HOSTRESOURCESMIB::Component::DeviceSubsystem::Device; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -60,25 +58,9 @@ sub check { # zum umounten zu bloed sind. $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'sysfs' || $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'sunrpc' || - $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'devtmpfs' || - $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'securityfs' || - $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'cgroup' || - $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'pstore' || - $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'configfs' || - $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'selinuxfs' || - $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'mqueue' || - $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'hugetlbfs' || - $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'systemd-1' || - $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'debugfs' || - $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'binfmt_misc' || - $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'overlay' || - $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'shm' || - $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'rootfs' || - $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'sysfs' || $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} =~ /CDROM/ || $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} =~ /:\// || - $self->{hrDeviceType} eq 'hrDeviceNetwork' && $self->{hrDeviceDescr} eq 'sit0' || - $self->{hrDeviceType} eq 'hrDeviceNetwork' && $self->{hrDeviceDescr} eq 'ip_vti0' + $self->{hrDeviceType} eq 'hrDeviceNetwork' && $self->{hrDeviceDescr} eq 'sit0' )) { $self->add_critical(); } elsif ($self->{hrDeviceStatus} =~ /unknown/) { diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HOSTRESOURCESMIB/Component/DiskSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/DiskSubsystem.pm similarity index 66% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HOSTRESOURCESMIB/Component/DiskSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/DiskSubsystem.pm index 01e14a3..644ae40 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HOSTRESOURCESMIB/Component/DiskSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/DiskSubsystem.pm @@ -1,23 +1,15 @@ -package CheckNwcHealth::HOSTRESOURCESMIB::Component::DiskSubsystem; +package Classes::HOSTRESOURCESMIB::Component::DiskSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; - # there was a linux system which timed out even after two minutes. - # as hrStorageTable usually has a rather small amount of lines (other than sensor tables) - # we don't need bulk here - $self->bulk_is_baeh(0); $self->get_snmp_tables('HOST-RESOURCES-MIB', [ - ['storages', 'hrStorageTable', 'CheckNwcHealth::HOSTRESOURCESMIB::Component::DiskSubsystem::Storage', sub { return shift->{hrStorageType} eq 'hrStorageFixedDisk' } ], + ['storages', 'hrStorageTable', 'Classes::HOSTRESOURCESMIB::Component::DiskSubsystem::Storage', sub { return shift->{hrStorageType} eq 'hrStorageFixedDisk' } ], ]); - $self->bulk_baeh_reset(); - @{$self->{storages}} = grep { - ! $_->{bindmount}; - } @{$self->{storages}}; } -package CheckNwcHealth::HOSTRESOURCESMIB::Component::DiskSubsystem::Storage; +package Classes::HOSTRESOURCESMIB::Component::DiskSubsystem::Storage; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -44,11 +36,6 @@ sub finish { } else { $self->{special} = 0; } - if ($self->{hrStorageDescr} =~ /^\/var\/lib\/kubelet\/pods\/.*\/volumes\/.*$/ || - $self->{hrStorageDescr} =~ /^\/var\/lib\/kubelet\/pods\/.*\/volume-subpaths\/.*$/ || - $self->{hrStorageDescr} =~ /^\/run\/k3s\/containerd\/.*\/sandboxes\/.*$/) { - $self->{bindmount} = 1; - } } sub check { diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HOSTRESOURCESMIB/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/EnvironmentalSubsystem.pm similarity index 79% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HOSTRESOURCESMIB/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/EnvironmentalSubsystem.pm index 51bd5af..a1d2bf9 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HOSTRESOURCESMIB/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/EnvironmentalSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::HOSTRESOURCESMIB::Component::EnvironmentalSubsystem; +package Classes::HOSTRESOURCESMIB::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -6,9 +6,9 @@ sub init { my ($self) = @_; $self->get_snmp_object('HOST-RESOURCES-MIB', 'hrSystemDate'); $self->{disk_subsystem} = - CheckNwcHealth::HOSTRESOURCESMIB::Component::DiskSubsystem->new(); + Classes::HOSTRESOURCESMIB::Component::DiskSubsystem->new(); $self->{device_subsystem} = - CheckNwcHealth::HOSTRESOURCESMIB::Component::DeviceSubsystem->new(); + Classes::HOSTRESOURCESMIB::Component::DeviceSubsystem->new(); } sub check { diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HOSTRESOURCESMIB/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/MemSubsystem.pm similarity index 83% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HOSTRESOURCESMIB/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/MemSubsystem.pm index ead9990..89eef94 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HOSTRESOURCESMIB/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/MemSubsystem.pm @@ -1,11 +1,11 @@ -package CheckNwcHealth::HOSTRESOURCESMIB::Component::MemSubsystem; +package Classes::HOSTRESOURCESMIB::Component::MemSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('HOST-RESOURCES-MIB', [ - ['storagesram', 'hrStorageTable', 'CheckNwcHealth::HOSTRESOURCESMIB::Component::MemSubsystem::Ram', sub { return shift->{hrStorageType} eq 'hrStorageRam' } ], + ['storagesram', 'hrStorageTable', 'Classes::HOSTRESOURCESMIB::Component::MemSubsystem::Ram', sub { return shift->{hrStorageType} eq 'hrStorageRam' } ], ]); } @@ -13,7 +13,7 @@ sub check { my ($self) = @_; my $ramsignature = join "_", sort map { $_->{hrStorageDescr} } @{$self->{storagesram}}; - if ($ramsignature =~ /RAM_.*RAM \(Buffers\)_.*RAM \(Cache\).*/) { + if ($ramsignature eq "RAM_RAM (Buffers)_RAM (Cache)") { # https://eos.arista.com/introduction-to-managing-eos-devices-memory-utilisation/ my ($total, $used, $buffers, $cached) = (0, 0, 0, 0); foreach (@{$self->{storagesram}}) { @@ -40,7 +40,7 @@ sub check { } -package CheckNwcHealth::HOSTRESOURCESMIB::Component::MemSubsystem::Ram; +package Classes::HOSTRESOURCESMIB::Component::MemSubsystem::Ram; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HOSTRESOURCESMIB/Component/UptimeSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/UptimeSubsystem.pm similarity index 91% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HOSTRESOURCESMIB/Component/UptimeSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/UptimeSubsystem.pm index c69e476..56c2cad 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HOSTRESOURCESMIB/Component/UptimeSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/UptimeSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::HOSTRESOURCESMIB::Component::UptimeSubsystem; +package Classes::HOSTRESOURCESMIB::Component::UptimeSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP.pm similarity index 70% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP.pm index fc09065..3a20d3e 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP.pm @@ -1,5 +1,5 @@ -package CheckNwcHealth::HP; -our @ISA = qw(CheckNwcHealth::Device); +package Classes::HP; +our @ISA = qw(Classes::Device); use strict; use constant trees => ( @@ -16,10 +16,10 @@ sub init { if ($self->{productname} =~ /Procurve/i || ($self->implements_mib('HP-ICF-CHASSIS') && $self->implements_mib('NETSWITCH-MIB'))) { - bless $self, 'CheckNwcHealth::HP::Procurve'; - $self->debug('using CheckNwcHealth::HP::Procurve'); + bless $self, 'Classes::HP::Procurve'; + $self->debug('using Classes::HP::Procurve'); } - if (ref($self) ne "CheckNwcHealth::HP") { + if (ref($self) ne "Classes::HP") { $self->init(); } } diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Procurve.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP/Procurve.pm similarity index 70% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Procurve.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP/Procurve.pm index 398c07c..c7452a2 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Procurve.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP/Procurve.pm @@ -1,13 +1,13 @@ -package CheckNwcHealth::HP::Procurve; -our @ISA = qw(CheckNwcHealth::HP); +package Classes::HP::Procurve; +our @ISA = qw(Classes::HP); use strict; sub init { my ($self) = @_; if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::HP::Procurve::Component::EnvironmentalSubsystem"); + $self->analyze_and_check_environmental_subsystem("Classes::HP::Procurve::Component::EnvironmentalSubsystem"); if ($self->implements_mib("ENTITY-SENSOR-MIB")) { - $self->{components}->{senvironmental_subsystem} = CheckNwcHealth::ENTITYSENSORMIB::Component::EnvironmentalSubsystem->new(); + $self->{components}->{senvironmental_subsystem} = Classes::ENTITYSENSORMIB::Component::EnvironmentalSubsystem->new(); @{$self->{components}->{senvironmental_subsystem}->{sensors}} = grep { # ENTITYSENSORMIB-sensoren fliegen raus, wenn sie vorher schon per HP-Mib gefunden wurden. my $sensor = $_; @@ -29,9 +29,9 @@ sub init { } $self->reduce_messages_short('environmental hardware working fine'); } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::HP::Procurve::Component::CpuSubsystem"); + $self->analyze_and_check_cpu_subsystem("Classes::HP::Procurve::Component::CpuSubsystem"); } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::HP::Procurve::Component::MemSubsystem"); + $self->analyze_and_check_mem_subsystem("Classes::HP::Procurve::Component::MemSubsystem"); } else { $self->no_such_mode(); } diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Procurve/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP/Procurve/Component/CpuSubsystem.pm similarity index 92% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Procurve/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP/Procurve/Component/CpuSubsystem.pm index 81bed89..0b35d97 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Procurve/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP/Procurve/Component/CpuSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::HP::Procurve::Component::CpuSubsystem; +package Classes::HP::Procurve::Component::CpuSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP/Procurve/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP/Procurve/Component/EnvironmentalSubsystem.pm new file mode 100644 index 0000000..99424dd --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP/Procurve/Component/EnvironmentalSubsystem.pm @@ -0,0 +1,17 @@ +package Classes::HP::Procurve::Component::EnvironmentalSubsystem; +our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); +use strict; + +sub init { + my ($self) = @_; + if ($self->implements_mib('HP-ICF-CHASSIS')) { + $self->analyze_and_check_sensor_subsystem('Classes::HP::Procurve::Component::SensorSubsystem'); + } else { + $self->analyze_and_check_environmental_subsystem("Classes::ENTITYSENSORMIB::Component::EnvironmentalSubsystem"); + } + if (! $self->check_messages()) { + $self->add_ok("environmental hardware working fine"); + } +} + + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Procurve/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP/Procurve/Component/MemSubsystem.pm similarity index 79% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Procurve/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP/Procurve/Component/MemSubsystem.pm index 12f0ad6..4781d71 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Procurve/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP/Procurve/Component/MemSubsystem.pm @@ -1,11 +1,11 @@ -package CheckNwcHealth::HP::Procurve::Component::MemSubsystem; +package Classes::HP::Procurve::Component::MemSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('NETSWITCH-MIB', [ - ['mem', 'hpLocalMemTable', 'CheckNwcHealth::HP::Procurve::Component::MemSubsystem::Memory'], + ['mem', 'hpLocalMemTable', 'Classes::HP::Procurve::Component::MemSubsystem::Memory'], ]); } @@ -21,7 +21,7 @@ sub check { } -package CheckNwcHealth::HP::Procurve::Component::MemSubsystem::Memory; +package Classes::HP::Procurve::Component::MemSubsystem::Memory; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Procurve/Component/SensorSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP/Procurve/Component/SensorSubsystem.pm similarity index 82% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Procurve/Component/SensorSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP/Procurve/Component/SensorSubsystem.pm index bf2698b..7cea772 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HP/Procurve/Component/SensorSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP/Procurve/Component/SensorSubsystem.pm @@ -1,12 +1,12 @@ -package CheckNwcHealth::HP::Procurve::Component::SensorSubsystem; +package Classes::HP::Procurve::Component::SensorSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('HP-ICF-CHASSIS', [ - ['sensors', 'hpicfSensorTable', 'CheckNwcHealth::HP::Procurve::Component::SensorSubsystem::Sensor'], - ['airtemps', 'hpSystemAirTempTable', 'CheckNwcHealth::HP::Procurve::Component::SensorSubsystem::AirTemp'], + ['sensors', 'hpicfSensorTable', 'Classes::HP::Procurve::Component::SensorSubsystem::Sensor'], + ['airtemps', 'hpSystemAirTempTable', 'Classes::HP::Procurve::Component::SensorSubsystem::AirTemp'], ]); push(@{$self->{sensors}}, @{$self->{airtemps}}); delete $self->{airtemps}; @@ -28,7 +28,7 @@ sub xcheck { } -package CheckNwcHealth::HP::Procurve::Component::SensorSubsystem::AirTemp; +package Classes::HP::Procurve::Component::SensorSubsystem::AirTemp; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -66,7 +66,7 @@ sub check { } -package CheckNwcHealth::HP::Procurve::Component::SensorSubsystem::Sensor; +package Classes::HP::Procurve::Component::SensorSubsystem::Sensor; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HSRP.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HSRP.pm new file mode 100644 index 0000000..6520036 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HSRP.pm @@ -0,0 +1,4 @@ +package Classes::HSRP; +our @ISA = qw(Classes::Device); +use strict; + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HSRP/Component/HSRPSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HSRP/Component/HSRPSubsystem.pm similarity index 93% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HSRP/Component/HSRPSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HSRP/Component/HSRPSubsystem.pm index 03644eb..88958bc 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/HSRP/Component/HSRPSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HSRP/Component/HSRPSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::HSRP::Component::HSRPSubsystem; +package Classes::HSRP::Component::HSRPSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -7,7 +7,7 @@ sub init { $self->{groups} = []; if ($self->mode =~ /device::hsrp/) { $self->get_snmp_tables('CISCO-HSRP-MIB', [ - ['groups', 'cHsrpGrpTable', 'CheckNwcHealth::HSRP::Component::HSRPSubsystem::Group', sub { my ($o) = @_; $self->filter_name($o->{name})}], + ['groups', 'cHsrpGrpTable', 'Classes::HSRP::Component::HSRPSubsystem::Group', sub { my ($o) = @_; $self->filter_name($o->{name})}], ]); } } @@ -31,7 +31,7 @@ sub check { } -package CheckNwcHealth::HSRP::Component::HSRPSubsystem::Group; +package Classes::HSRP::Component::HSRPSubsystem::Group; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Huawei.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Huawei.pm new file mode 100644 index 0000000..b4a782b --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Huawei.pm @@ -0,0 +1,26 @@ +package Classes::Huawei; +our @ISA = qw(Classes::Device); +use strict; + +sub init { + my ($self) = @_; + my $sysobj = $self->get_snmp_object('MIB-2-MIB', 'sysObjectID', 0); + if ($sysobj =~ /^\.*1\.3\.6\.1\.4\.1\.2011\.2\.239/) { + bless $self, 'Classes::Huawei::CloudEngine'; + $self->debug('using Classes::Huawei::CloudEngine'); + } + if (ref($self) ne "Classes::Huawei") { + $self->init(); + } else { + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::Huawei::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::Huawei::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::Huawei::Component::MemSubsystem"); + } else { + $self->no_such_mode(); + } + } +} + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Huawei/CloudEngine.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Huawei/CloudEngine.pm similarity index 68% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Huawei/CloudEngine.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Huawei/CloudEngine.pm index 823351e..f46ce28 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Huawei/CloudEngine.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Huawei/CloudEngine.pm @@ -1,16 +1,16 @@ -package CheckNwcHealth::Huawei::CloudEngine; -our @ISA = qw(CheckNwcHealth::Huawei); +package Classes::Huawei::CloudEngine; +our @ISA = qw(Classes::Huawei); use strict; sub init { my ($self) = @_; if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Huawei::Component::EnvironmentalSubsystem"); + $self->analyze_and_check_environmental_subsystem("Classes::Huawei::Component::EnvironmentalSubsystem"); } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::Huawei::Component::CpuSubsystem"); + $self->analyze_and_check_cpu_subsystem("Classes::Huawei::Component::CpuSubsystem"); } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::Huawei::Component::MemSubsystem"); + $self->analyze_and_check_mem_subsystem("Classes::Huawei::Component::MemSubsystem"); } else { $self->no_such_mode(); } diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Huawei/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Huawei/Component/CpuSubsystem.pm similarity index 83% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Huawei/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Huawei/Component/CpuSubsystem.pm index c77eb6d..be80325 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Huawei/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Huawei/Component/CpuSubsystem.pm @@ -1,13 +1,12 @@ -package CheckNwcHealth::Huawei::Component::CpuSubsystem; +package Classes::Huawei::Component::CpuSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; - $self->get_snmp_tables_cached('ENTITY-MIB', [ - ['entities', 'entPhysicalTable', 'CheckNwcHealth::Huawei::Component::CpuSubsystem::Cpu', sub { my ($o) = @_; $o->{entPhysicalClass} eq 'module' }, ['entPhysicalClass', 'entPhysicalDescr', 'entPhysicalName']], + $self->get_snmp_tables('ENTITY-MIB', [ + ['entities', 'entPhysicalTable', 'Classes::Huawei::Component::CpuSubsystem::Cpu', sub { my ($o) = @_; $o->{entPhysicalClass} eq 'module' }, ['entPhysicalClass', 'entPhysicalDescr', 'entPhysicalName']], ]); - $self->mult_snmp_max_msg_size(10); $self->get_snmp_tables('HUAWEI-ENTITY-EXTENT-MIB', [ ['entitystates', 'hwEntityStateTable', 'Monitoring::GLPlugin::SNMP::TableItem', undef, ['hwEntityCpuUsage', 'hwEntityCpuUsageThreshold']], ]); @@ -15,7 +14,7 @@ sub init { } -package CheckNwcHealth::Huawei::Component::CpuSubsystem::Cpu; +package Classes::Huawei::Component::CpuSubsystem::Cpu; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Huawei/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Huawei/Component/EnvironmentalSubsystem.pm new file mode 100644 index 0000000..9e2dfdf --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Huawei/Component/EnvironmentalSubsystem.pm @@ -0,0 +1,159 @@ +package Classes::Huawei::Component::EnvironmentalSubsystem; +our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); +use strict; + +sub init { + my ($self) = @_; + $self->get_snmp_tables('ENTITY-MIB', [ + ['modules', 'entPhysicalTable', + 'Classes::Huawei::Component::EnvironmentalSubsystem::Module', + sub { my ($o) = @_; $o->{entPhysicalClass} eq 'module' }, + ['entPhysicalClass', 'entPhysicalDescr', 'entPhysicalName']], + ['fans', 'entPhysicalTable', + 'Classes::Huawei::Component::EnvironmentalSubsystem::Fan', + sub { my ($o) = @_; $o->{entPhysicalClass} eq 'fan' }, + ['entPhysicalClass', 'entPhysicalDescr', 'entPhysicalName']], + ['powersupplies', 'entPhysicalTable', + 'Classes::Huawei::Component::EnvironmentalSubsystem::Powersupply', + sub { my ($o) = @_; $o->{entPhysicalClass} eq 'powerSupply' }, + ['entPhysicalClass', 'entPhysicalDescr', 'entPhysicalName']], + ]); + $self->get_snmp_tables('HUAWEI-ENTITY-EXTENT-MIB', [ + ['fanstates', 'hwFanStatusTable', 'Monitoring::GLPlugin::SNMP::TableItem'], + ]); + foreach (qw(modules fans powersupplies)) { + $self->get_snmp_tables('HUAWEI-ENTITY-EXTENT-MIB', [ + ['entitystates', 'hwEntityStateTable', + 'Monitoring::GLPlugin::SNMP::TableItem'], + ]); + $self->merge_tables($_, "entitystates"); + } + if (@{$self->{fanstates}} && ! @{$self->{fans}}) { + # gibts auch, d.h. retten, was zu retten ist + foreach (@{$self->{fanstates}}) { + bless $_, "Classes::Huawei::Component::EnvironmentalSubsystem::Fan"; + $_->{entPhysicalName} = $_->{flat_indices}; + $_->finish(); + } + } else { + $self->merge_tables_with_code("fans", "fanstates", sub { + my ($fan, $fanstate) = @_; + return ($fan->{entPhysicalName} eq sprintf("FAN %d/%d", + $fanstate->{hwEntityFanSlot}, $fanstate->{hwEntityFanSn})) ? 1 : 0; + }); + } +} + + +package Classes::Huawei::Component::EnvironmentalSubsystem::Fan; +our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); +use strict; + +sub finish { + my ($self) = @_; + # kommt auch vor, dass die nicht existieren. Im Zweifelsfall "up" + $self->{hwEntityAdminStatus} ||= "up"; + $self->{hwEntityOperStatus} ||= "up"; +} + +sub check { + my ($self) = @_; + $self->add_info(sprintf 'fan %s is %s, state is %s, admin status is %s, oper status is %s', + $self->{entPhysicalName}, $self->{hwEntityFanPresent}, + $self->{hwEntityFanState}, + $self->{hwEntityAdminStatus}, $self->{hwEntityOperStatus}); + if ($self->{hwEntityFanPresent} eq 'present') { + if ($self->{hwEntityFanState} ne 'normal') { + $self->add_warning(); + } + $self->add_perfdata( + label => 'rpm_'.$self->{entPhysicalName}, + value => $self->{hwEntityFanSpeed}, + uom => '%', + ); + } +} + +package Classes::Huawei::Component::EnvironmentalSubsystem::Powersupply; +our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); +use strict; + +sub check { + my ($self) = @_; + $self->add_info(sprintf 'powersupply %s has admin status is %s, oper status is %s', + $self->{entPhysicalName}, + $self->{hwEntityAdminStatus}, $self->{hwEntityOperStatus}); + if ($self->{hwEntityOperStatus} eq 'down' || + $self->{hwEntityOperStatus} eq 'offline') { + $self->add_warning(); + } +} + +package Classes::Huawei::Component::EnvironmentalSubsystem::Module; +our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); +use strict; + +sub finish { + my ($self) = @_; + $self->{name} = $self->{entPhysicalName}; +} + +sub check { + my ($self) = @_; + $self->add_info(sprintf 'module %s admin status is %s, oper status is %s', + $self->{name}, $self->{hwEntityAdminStatus}, $self->{hwEntityOperStatus}); + $self->add_info(sprintf 'module %s temperature is %.2f', + $self->{name}, $self->{hwEntityTemperature}); + $self->set_thresholds( + metric => 'temp_'.$self->{name}, + warning => $self->{hwEntityTemperatureLowThreshold}.':'.$self->{hwEntityTemperatureThreshold}, + critical => $self->{hwEntityTemperatureLowThreshold}.':'.$self->{hwEntityTemperatureThreshold}, + ); + $self->add_message( + $self->check_thresholds( + metric => 'temp_'.$self->{name}, + value => $self->{hwEntityTemperature} + )); + $self->add_perfdata( + label => 'temp_'.$self->{name}, + value => $self->{hwEntityTemperature}, + ); + $self->add_info(sprintf 'module %s fault light is %s', + $self->{name}, $self->{hwEntityFaultLight}); +} + + +__END__ +entPhysicalAlias: +entPhysicalAssetID: +entPhysicalClass: module +entPhysicalContainedIn: 16842752 +entPhysicalDescr: Assembling Components-CE5800-CE5850-48T4S2Q-EI-CE5850-48T4S2Q- +EI Switch(48-Port GE RJ45,4-Port 10GE SFP+,2-Port 40GE QSFP+,Without Fan and Pow +er Module) +entPhysicalFirmwareRev: 266 +entPhysicalHardwareRev: DE51SRU1B VER D +entPhysicalIsFRU: 1 +entPhysicalMfgName: Huawei +entPhysicalModelName: +entPhysicalName: CE5850-48T4S2Q-EI 1 +entPhysicalParentRelPos: 1 +entPhysicalSerialNum: 210235527210E2000218 +entPhysicalSoftwareRev: Version 8.80 V100R003C00SPC600 +entPhysicalVendorType: .1.3.6.1.4.1.2011.20021210.12.688138 +hwEntityAdminStatus: unlocked +hwEntityEnvironmentalUsage: 14 +hwEntityEnvironmentalUsageThreshold: 95 +hwEntityFaultLight: normal +hwEntityMemSizeMega: 1837 +hwEntityMemUsage: 43 +hwEntityMemUsageThreshold: 95 +hwEntityOperStatus: enabled +hwEntityPortType: notSupported +hwEntitySplitAttribute: +hwEntityStandbyStatus: providingService +hwEntityTemperature: 33 +hwEntityTemperatureLowThreshold: 0 +hwEntityTemperatureThreshold: 62 +hwEntityUpTime: 34295804 + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Huawei/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Huawei/Component/MemSubsystem.pm similarity index 80% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Huawei/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Huawei/Component/MemSubsystem.pm index 4a8cd78..1fe92e1 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Huawei/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Huawei/Component/MemSubsystem.pm @@ -1,13 +1,12 @@ -package CheckNwcHealth::Huawei::Component::MemSubsystem; +package Classes::Huawei::Component::MemSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; - $self->get_snmp_tables_cached('ENTITY-MIB', [ - ['entities', 'entPhysicalTable', 'CheckNwcHealth::Huawei::Component::MemSubsystem::Mem', sub { my ($o) = @_; $o->{entPhysicalClass} eq 'module' }, ['entPhysicalClass', 'entPhysicalDescr', 'entPhysicalName']], + $self->get_snmp_tables('ENTITY-MIB', [ + ['entities', 'entPhysicalTable', 'Classes::Huawei::Component::MemSubsystem::Mem', sub { my ($o) = @_; $o->{entPhysicalClass} eq 'module' }, ['entPhysicalClass', 'entPhysicalDescr', 'entPhysicalName']], ]); - $self->mult_snmp_max_msg_size(10); $self->get_snmp_tables('HUAWEI-ENTITY-EXTENT-MIB', [ ['entitystates', 'hwEntityStateTable', 'Monitoring::GLPlugin::SNMP::TableItem', undef, ['hwEntityMemUsage', 'hwEntityMemUsageThreshold', 'hwEntityMemSizeMega']], ]); @@ -15,7 +14,7 @@ sub init { } -package CheckNwcHealth::Huawei::Component::MemSubsystem::Mem; +package Classes::Huawei::Component::MemSubsystem::Mem; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -35,17 +34,17 @@ sub check { $self->{name}, $self->{hwEntityMemUsage}); } $self->set_thresholds( - metric => 'memory_usage_'.$self->{name}, + metric => 'cpu_'.$self->{name}, warning => $self->{hwEntityMemUsageThreshold}, critical => $self->{hwEntityMemUsageThreshold}, ); $self->add_message( $self->check_thresholds( - metric => 'memory_usage_'.$self->{name}, + metric => 'cpu_'.$self->{name}, value => $self->{hwEntityMemUsage} )); $self->add_perfdata( - label => 'memory_usage_'.$self->{name}, + label => 'cpu_'.$self->{name}, value => $self->{hwEntityMemUsage}, uom => '%', ); diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/IFMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IFMIB.pm similarity index 66% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/IFMIB.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IFMIB.pm index bef3f85..892d798 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/IFMIB.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IFMIB.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::IFMIB; +package Classes::IFMIB; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/IFMIB/Component/InterfaceSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IFMIB/Component/InterfaceSubsystem.pm similarity index 59% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/IFMIB/Component/InterfaceSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IFMIB/Component/InterfaceSubsystem.pm index 7744c0e..c0a8cbb 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/IFMIB/Component/InterfaceSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IFMIB/Component/InterfaceSubsystem.pm @@ -1,8 +1,6 @@ -package CheckNwcHealth::IFMIB::Component::InterfaceSubsystem; +package Classes::IFMIB::Component::InterfaceSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; -use JSON::XS; -use File::Slurp qw(read_file); sub init { my ($self) = @_; @@ -14,67 +12,65 @@ sub init { my @ethertablehc_columns = qw(); my @rmontable_columns = qw(); my @ipaddress_columns = qw(); - - my @iftable_traffic_columns = qw(ifInOctets ifOutOctets ifSpeed); - my @iftable_traffic_hc_columns = qw(ifHCInOctets ifHCOutOctets ifHighSpeed); - my @iftable_status_columns = qw(ifOperStatus ifAdminStatus); - my @iftable_packets_columns = qw(ifInUcastPkts ifOutUcastPkts - ifInMulticastPkts ifOutMulticastPkts - ifInBroadcastPkts ifOutBroadcastPkts); - my @iftable_packets_hc_columns = qw(ifHCInUcastPkts ifHCOutUcastPkts - ifHCInMulticastPkts ifHCOutMulticastPkts - ifHCInBroadcastPkts ifHCOutBroadcastPkts); - my @iftable_error_columns = qw(ifInErrors ifOutErrors); - my @iftable_discard_columns = qw(ifInDiscards ifOutDiscards); - $self->implements_mib('INET-ADDRESS-MIB'); if ($self->mode =~ /device::interfaces::list/) { } elsif ($self->mode =~ /device::interfaces::complete/) { - push(@iftable_columns, @iftable_status_columns); - push(@iftable_columns, @iftable_traffic_columns); - push(@iftable_columns, @iftable_packets_columns); - push(@iftable_columns, @iftable_traffic_hc_columns); - push(@iftable_columns, @iftable_packets_hc_columns); - push(@iftable_columns, @iftable_error_columns); - push(@iftable_columns, @iftable_discard_columns); + push(@iftable_columns, qw( + ifInOctets ifOutOctets ifSpeed ifOperStatus ifAdminStatus + ifHCInOctets ifHCOutOctets ifHighSpeed + ifInErrors ifOutErrors + ifInDiscards ifOutDiscards + ifInMulticastPkts ifOutMulticastPkts + ifInBroadcastPkts ifOutBroadcastPkts + ifInUcastPkts ifOutUcastPkts + ifHCInMulticastPkts ifHCOutMulticastPkts + ifHCInBroadcastPkts ifHCOutBroadcastPkts + ifHCInUcastPkts ifHCOutUcastPkts + )); # kostenpflichtiges feature # push(@ethertable_columns, qw( # dot3StatsDuplexStatus #)); } elsif ($self->mode =~ /device::interfaces::usage/) { - push(@iftable_columns, @iftable_status_columns); - push(@iftable_columns, @iftable_traffic_columns); - push(@iftable_columns, @iftable_traffic_hc_columns); + push(@iftable_columns, qw( + ifInOctets ifOutOctets ifSpeed ifOperStatus + ifHCInOctets ifHCOutOctets ifHighSpeed + )); } elsif ($self->mode =~ /device::interfaces::errors/) { - push(@iftable_columns, @iftable_status_columns); - push(@iftable_columns, @iftable_traffic_columns); - push(@iftable_columns, @iftable_packets_columns); - push(@iftable_columns, @iftable_traffic_hc_columns); - push(@iftable_columns, @iftable_packets_hc_columns); - push(@iftable_columns, @iftable_error_columns); + push(@iftable_columns, qw( + ifInErrors ifOutErrors + )); } elsif ($self->mode =~ /device::interfaces::discards/) { - push(@iftable_columns, @iftable_status_columns); - push(@iftable_columns, @iftable_traffic_columns); - push(@iftable_columns, @iftable_packets_columns); - push(@iftable_columns, @iftable_traffic_hc_columns); - push(@iftable_columns, @iftable_packets_hc_columns); - push(@iftable_columns, @iftable_discard_columns); + push(@iftable_columns, qw( + ifInDiscards ifOutDiscards + )); } elsif ($self->mode =~ /device::interfaces::broadcast/) { - push(@iftable_columns, @iftable_status_columns); - push(@iftable_columns, @iftable_traffic_columns); - push(@iftable_columns, @iftable_packets_columns); - push(@iftable_columns, @iftable_traffic_hc_columns); - push(@iftable_columns, @iftable_packets_hc_columns); + push(@iftable_columns, qw( + ifInMulticastPkts ifOutMulticastPkts + ifInBroadcastPkts ifOutBroadcastPkts + ifInUcastPkts ifOutUcastPkts + ifHCInMulticastPkts ifHCOutMulticastPkts + ifHCInBroadcastPkts ifHCOutBroadcastPkts + ifHCInUcastPkts ifHCOutUcastPkts + )); } elsif ($self->mode =~ /device::interfaces::operstatus/) { - push(@iftable_columns, @iftable_status_columns); + push(@iftable_columns, qw( + ifOperStatus ifAdminStatus + )); } elsif ($self->mode =~ /device::interfaces::availability/) { push(@iftable_columns, qw( ifType ifOperStatus ifAdminStatus ifLastChange ifHighSpeed ifSpeed )); } elsif ($self->mode =~ /device::interfaces::etherstats/) { - push(@iftable_columns, @iftable_status_columns); - push(@iftable_columns, @iftable_packets_columns); - push(@iftable_columns, @iftable_packets_hc_columns); + push(@iftable_columns, qw( + ifOperStatus ifAdminStatus + ifInMulticastPkts ifOutMulticastPkts + ifInBroadcastPkts ifOutBroadcastPkts + ifInUcastPkts ifOutUcastPkts + ifHCInMulticastPkts ifHCOutMulticastPkts + ifHCInBroadcastPkts ifHCOutBroadcastPkts + ifHCInUcastPkts ifHCOutUcastPkts + )); push(@ethertable_columns, qw( dot3StatsAlignmentErrors dot3StatsFCSErrors dot3StatsSingleCollisionFrames dot3StatsMultipleCollisionFrames @@ -182,27 +178,14 @@ sub init { @indices = (); $self->bulk_is_baeh(10); } - @iftable_columns = do { my %seen; grep { !$seen{$_}++ } @iftable_columns }; # uniq if ((! $self->opts->name && ! $self->opts->name3) || scalar(@indices) > 0) { my @save_indices = @indices; # die werden in get_snmp_table_objects geshiftet - if ($plus_admin_up || $plus_oper_up) { - # mit minimalen columns schnell vorfiltern -> @indices evt. reduzieren - # nicht fuer only_admin/oper_up, sonst wird aus @indices = () - # eine riesige liste, deren abarbeitung laenger dauert als - # ein get_table bei @indices = () - my @up_indices = (); - foreach ($self->get_snmp_table_objects( - 'IFMIB', 'ifTable+ifXTable', \@indices, \@iftable_status_columns)) { - next if $plus_admin_up && $_->{ifAdminStatus} ne 'up'; - next if $plus_oper_up && $_->{ifOperStatus} ne 'up'; - push(@up_indices, [$_->{indices}->[0]]); - } - @indices = @up_indices; - } foreach ($self->get_snmp_table_objects( 'IFMIB', 'ifTable+ifXTable', \@indices, \@iftable_columns)) { next if $only_admin_up && $_->{ifAdminStatus} ne 'up'; next if $only_oper_up && $_->{ifOperStatus} ne 'up'; + next if $plus_admin_up && $_->{ifAdminStatus} ne 'up'; + next if $plus_oper_up && $_->{ifOperStatus} ne 'up'; $self->make_ifdescr_unique($_); $self->enrich_interface_attributes($_); my $interface_class = ref($self)."::Interface"; @@ -255,38 +238,34 @@ sub init { if (@ethertable_columns) { # es gibt interfaces mit ifSpeed == 4294967295 # aber nix in dot3HCStatsTable. also dann dot3StatsTable fuer alle - if ($self->implements_mib('EtherLike-MIB', 'dot3StatsTable')) { - foreach my $etherstat ($self->get_snmp_table_objects( - 'EtherLike-MIB', 'dot3StatsTable', \@etherindices, \@ethertable_columns)) { - foreach my $interface (@{$self->{interfaces}}) { - if ($interface->{ifIndex} == $etherstat->{flat_indices}) { - foreach my $key (grep /^dot3/, keys %{$etherstat}) { - $interface->{$key} = $etherstat->{$key}; - push(@{$interface->{columns}}, $key); - } - last; + foreach my $etherstat ($self->get_snmp_table_objects( + 'EtherLike-MIB', 'dot3StatsTable', \@etherindices, \@ethertable_columns)) { + foreach my $interface (@{$self->{interfaces}}) { + if ($interface->{ifIndex} == $etherstat->{flat_indices}) { + foreach my $key (grep /^dot3/, keys %{$etherstat}) { + $interface->{$key} = $etherstat->{$key}; + push(@{$interface->{columns}}, $key); } + last; } } } } if (@ethertablehc_columns && scalar(@etherhcindices)) { - if ($self->implements_mib('EtherLike-MIB', 'dot3HCStatsTable')) { - foreach my $etherstat ($self->get_snmp_table_objects( - 'EtherLike-MIB', 'dot3HCStatsTable', \@etherhcindices, \@ethertablehc_columns)) { - foreach my $interface (@{$self->{interfaces}}) { - if ($interface->{ifIndex} == $etherstat->{flat_indices}) { - foreach my $key (grep /^dot3/, keys %{$etherstat}) { - $interface->{$key} = $etherstat->{$key}; - push(@{$interface->{columns}}, $key); - } - if (grep /^dot3HCStatsFCSErrors/, @{$interface->{columns}}) { - @{$interface->{columns}} = grep { - $_ if $_ ne 'dot3StatsFCSErrors'; - } @{$interface->{columns}}; - } - last; + foreach my $etherstat ($self->get_snmp_table_objects( + 'EtherLike-MIB', 'dot3HCStatsTable', \@etherhcindices, \@ethertablehc_columns)) { + foreach my $interface (@{$self->{interfaces}}) { + if ($interface->{ifIndex} == $etherstat->{flat_indices}) { + foreach my $key (grep /^dot3/, keys %{$etherstat}) { + $interface->{$key} = $etherstat->{$key}; + push(@{$interface->{columns}}, $key); } + if (grep /^dot3HCStatsFCSErrors/, @{$interface->{columns}}) { + @{$interface->{columns}} = grep { + $_ if $_ ne 'dot3StatsFCSErrors'; + } @{$interface->{columns}}; + } + last; } } } @@ -298,18 +277,16 @@ sub init { $self->override_opt('regexp', 1); } # Value von etherStatsDataSource entspricht ifIndex 1.3.6.1.2.1.2.2.1.1.idx - if ($self->implements_mib('RMON-MIB', 'etherStatsTable')) { - foreach my $etherstat ($self->get_snmp_table_objects_with_cache( - 'RMON-MIB', 'etherStatsTable', 'etherStatsDataSource', \@rmontable_columns, $if_has_changed ? 1 : -1)) { - $etherstat->{etherStatsDataSource} =~ s/^\.//g; - foreach my $interface (@{$self->{interfaces}}) { - if ('1.3.6.1.2.1.2.2.1.1.'.$interface->{ifIndex} eq $etherstat->{etherStatsDataSource}) { - foreach my $key (grep /^etherStats/, keys %{$etherstat}) { - $interface->{$key} = $etherstat->{$key}; - push(@{$interface->{columns}}, $key); - } - last; + foreach my $etherstat ($self->get_snmp_table_objects_with_cache( + 'RMON-MIB', 'etherStatsTable', 'etherStatsDataSource', \@rmontable_columns, $if_has_changed ? 1 : -1)) { + $etherstat->{etherStatsDataSource} =~ s/^\.//g; + foreach my $interface (@{$self->{interfaces}}) { + if ('1.3.6.1.2.1.2.2.1.1.'.$interface->{ifIndex} eq $etherstat->{etherStatsDataSource}) { + foreach my $key (grep /^etherStats/, keys %{$etherstat}) { + $interface->{$key} = $etherstat->{$key}; + push(@{$interface->{columns}}, $key); } + last; } } } @@ -341,14 +318,6 @@ sub init { } } } - # - # @{$self->{interfaces}} liegt jetzt vor, komplett oder gefiltert - # jetzt kann man noch weitere tables dazunehmen - # - if ($self->opts->report =~ /^(\w+)\+vlan/ or $self->mode =~ /device::interfaces::(list)/) { - $self->override_opt('report', $1); - $self->add_vlans_to_ifs(); - } if ($self->opts->report =~ /^(\w+)\+address/) { $self->override_opt('report', $1); # flat_indices, weil die Schluesselelemente ipAddressAddrType+ipAddressAddr @@ -381,7 +350,7 @@ sub init { # es gibt adressen zu den ausgewaehlten interfaces foreach ($self->get_snmp_table_objects_with_cache( 'IP-MIB', 'ipAddressTable', 'ipAddressIfIndex', ['ipAddressIfIndex'], 0)) { - my $address = CheckNwcHealth::IFMIB::Component::InterfaceSubsystem::Address->new(%{$_}); + my $address = Classes::IFMIB::Component::InterfaceSubsystem::Address->new(%{$_}); push(@{$self->{addresses}}, $address); if (exists $interfaces_by_index->{$address->{ipAddressIfIndex}}) { if (exists $interfaces_by_index->{$address->{ipAddressIfIndex}}->{ifAddresses}) { @@ -574,7 +543,7 @@ sub update_interface_cache { sub enrich_interface_cache { my ($self) = @_; - # a dummy method. it can be used in CheckNwcHealth::XY::Component::InterfaceSubsystem + # a dummy method. it can be used in Classes::XY::Component::InterfaceSubsystem # to add for example vendor-specific port names to the interface cache # which has been collected by get_snmp_tables(vendor-mib, tablexy, xyPortName } @@ -585,45 +554,46 @@ sub save_interface_cache { my $statefile = $self->create_interface_cache_file(); my $tmpfile = $self->statefilesdir().'/check_nwc_health_tmp_'.$$; my $fh = IO::File->new(); - if ($fh->open($tmpfile, "w")) { - my $coder = JSON::XS->new->ascii->pretty->allow_nonref; - my $jsonscalar = $coder->encode($self->{interface_cache}); - $fh->print($jsonscalar); - $fh->flush(); - $fh->close(); - } - rename $tmpfile, $statefile; + $fh->open(">$tmpfile"); + $fh->print(Data::Dumper::Dumper($self->{interface_cache})); + $fh->flush(); + $fh->close(); + my $ren = rename $tmpfile, $statefile; $self->debug(sprintf "saved %s to %s", Data::Dumper::Dumper($self->{interface_cache}), $statefile); + } sub load_interface_cache { my ($self) = @_; my $statefile = $self->create_interface_cache_file(); if ( -f $statefile) { - my $jsonscalar = read_file($statefile); our $VAR1; eval { - my $coder = JSON::XS->new->ascii->pretty->allow_nonref; - $VAR1 = $coder->decode($jsonscalar); + require $statefile; }; if($@) { - $self->debug(sprintf "json load from %s failed. fallback", $statefile); - delete $INC{$statefile} if exists $INC{$statefile}; # else unit tests fail - eval "$jsonscalar"; - if($@) { - printf "FATAL: Could not load interface cache in perl format!\n"; - $self->debug(sprintf "fallback perl load from %s failed", $statefile); - } + printf "FATAL: Could not load cache!\n"; } $self->debug(sprintf "load %s", Data::Dumper::Dumper($VAR1)); $self->{interface_cache} = $VAR1; + eval { + foreach (keys %{$self->{interface_cache}}) { + /^\d+$/ || die "newrelease"; + } + }; + if($@) { + $self->{interface_cache} = {}; + unlink $statefile; + delete $INC{$statefile}; + $self->update_interface_cache(1); + } } } sub make_ifdescr_unique { my ($self, $if) = @_; - $if->{ifDescr} = $if->{ifDescr}.' '.$if->{flat_indices} if defined $self->{duplicates}->{$if->{ifDescr}} && $self->{duplicates}->{$if->{ifDescr}} > 1; + $if->{ifDescr} = $if->{ifDescr}.' '.$if->{flat_indices} if $self->{duplicates}->{$if->{ifDescr}} > 1; } sub get_interface_indices { @@ -677,127 +647,8 @@ sub enrich_interface_attributes { # attributes } -sub add_vlans_to_ifs { - my ($self) = @_; - my @interface_indices = map { - $_->{ifIndex}; - } @{$self->{interfaces}}; - # https://supportportal.juniper.net/s/article/EX-How-to-retrieve-interface-names-mapped-to-a-specific-VLAN-using-SNMP-MIB?language=en_US - # https://www.trisul.org/devzone/doku.php/articles:portvlanid - # [TABLEITEM_40 in dot1dBasePortTable] - # dot1dBasePort: 40 (-> index in dot1qPortVlanTable, augmentet eh schon) - # dot1dBasePortCircuit: .0.0 - # dot1dBasePortIfIndex: 46 -> ifIndex in ifTable - # +augment+ - # [TABLEITEM_40 in dot1qPortVlanTable] - # dot1qPortAcceptableFrameTypes: admitAll - # dot1qPortGvrpFailedRegistrations: 0 - # dot1qPortGvrpLastPduOrigin: binaerschlonz - # dot1qPortGvrpStatus: 2 - # dot1qPortIngressFiltering: 1 - # dot1qPvid: 210 -> index in dot1qVlanStaticTable (hoffentlich) - # - # [TABLEITEM_210 in dot1qVlanStaticTable] - # dot1qVlanForbiddenEgressPorts: binaerschlonz - # dot1qVlanStaticEgressPorts: binaerschlonz - # dot1qVlanStaticName: vlan210 <------ VLAN!! - # dot1qVlanStaticRowStatus: 1 - # dot1qVlanStaticUntaggedPorts: binaerschlonz - # - # [64BIT_46] - # ifAdminStatus: up - # ifAlias: Digital Modulorsh - # ifDescr: GigabitEthernet0/0/40 <-- INTERFACE!! - # ifIndex: 46 - # BRIDGE-MIB::dot1dBasePortTable im cache - # alle dot1dBasePortEntry durchgehen und alle rausholen, - # deren dot1dBasePortIfIndex in @{$self->{interfaces}} vorkommen. - - $self->update_entry_cache(0, 'BRIDGE-MIB', 'dot1dBasePortTable', ["dot1dBasePortIfIndex"]); - # "46-//-40" : [ - # "40" - # ], - # ifIndex=dot1dBasePortIfIndex-//-dot1dBasePort - - # jetzt erstmal die in Frage kommenden (auf Basis der @interface_indices) - # Indices von dot1dBasePortTable holen. Die sind ggf. im Cachefile, das - # geht schnell. - my @dot1dbaseport_indices = $self->get_cache_indices_by_value('BRIDGE-MIB', 'dot1dBasePortTable', ["dot1dBasePortIfIndex"], "dot1dBasePortIfIndex", \@interface_indices); - if (@dot1dbaseport_indices) { # Gibt es ueberhaupt vlan-relevante Interfaces? - my $port_to_ifindex = {}; - - my @dot1qbasevport_ports = $self->get_cache_values_by_indices('BRIDGE-MIB', 'dot1dBasePortTable', ["dot1dBasePortIfIndex"], \@dot1dbaseport_indices); - # { - # 'dot1dBasePortIfIndex' => '46', - # 'flat_indices' => '40' # dot1dBasePort - # } - map { - $port_to_ifindex->{$_->{flat_indices}} = $_->{dot1dBasePortIfIndex}; - } @dot1qbasevport_ports; - - my $vlanindex_to_vlanname = {}; - $self->get_snmp_tables_cached("Q-BRIDGE-MIB", [ - ["svlans", "dot1qVlanStaticTable", "CheckNwcHealth::IFMIB::Component::InterfaceSubsystem::SVlan", undef, ["dot1qVlanStaticName"]], - ["cvlans", "dot1qVlanCurrentTable", "CheckNwcHealth::IFMIB::Component::InterfaceSubsystem::CVlan", undef, ["dot1qVlanCurrentEgressPorts", "dot1qVlanCurrentUntaggedPorts"]], - ], 3600); - # durch svlans gehen, $vlanindex_to_vlanname - foreach my $svlan (@{$self->{svlans}}) { - $vlanindex_to_vlanname->{$svlan->{dot1qVlanIndex}} = $svlan->{dot1qVlanStaticName}; - } - my $ifindex_to_names = {}; - # durch die cvlans gehen, Name setzen - foreach my $cvlan (@{$self->{cvlans}}) { - my $name = $vlanindex_to_vlanname->{$cvlan->{dot1qVlanIndex}}; - foreach my $port (@{$cvlan->{dot1qVlanPorts}}) { - if (exists $port_to_ifindex->{$port}) { - my $ifindex = $port_to_ifindex->{$port}; - if (exists $ifindex_to_names->{$ifindex}) { - push(@{$ifindex_to_names->{$ifindex}}, $name); - } else { - $ifindex_to_names->{$ifindex} = [$name]; - } - } - } - } - foreach my $interface (@{$self->{interfaces}}) { - $interface->{vlans} = []; - next if ! exists $ifindex_to_names->{$interface->{ifIndex}}; - $interface->{vlans} = $ifindex_to_names->{$interface->{ifIndex}}; - } - } -} - - -package CheckNwcHealth::IFMIB::Component::InterfaceSubsystem::Port; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -package CheckNwcHealth::IFMIB::Component::InterfaceSubsystem::SVlan; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub finish { - my ($self) = @_; - $self->{dot1qVlanIndex} = $self->{indices}->[0]; -} - -package CheckNwcHealth::IFMIB::Component::InterfaceSubsystem::CVlan; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -use strict; - -sub finish { - my ($self) = @_; - $self->{dot1qVlanTimeMark} = $self->{indices}->[0]; - $self->{dot1qVlanIndex} = $self->{indices}->[1]; - my @ports = (@{$self->{dot1qVlanCurrentEgressPorts}}, @{$self->{dot1qVlanCurrentUntaggedPorts}}); - @ports = do { my %seen; map { $seen{$_}++ ? () : $_ } @ports }; - $self->{dot1qVlanPortsList} = join("_", @ports); - $self->{dot1qVlanPorts} = \@ports; -} - - -package CheckNwcHealth::IFMIB::Component::InterfaceSubsystem::Interface; +package Classes::IFMIB::Component::InterfaceSubsystem::Interface; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; use Digest::MD5 qw(md5_hex); @@ -830,28 +681,9 @@ sub finish { $self->{ifName} = unpack("Z*", $self->{ifName}); $self->{ifAlias} = unpack("Z*", $self->{ifAlias}); $self->{ifAlias} =~ s/\|/!/g if $self->{ifAlias}; - bless $self, 'CheckNwcHealth::IFMIB::Component::InterfaceSubsystem::Interface::64bit'; + bless $self, 'Classes::IFMIB::Component::InterfaceSubsystem::Interface::64bit'; } - if ($self->mode =~ /device::interfaces::(broadcast|complete)/ && - ! exists $self->{ifInErrors} && ! exists $self->{ifOutErrors} && - ! exists $self->{ifInDiscards} && ! exists $self->{ifOutDiscards} && - $self->{ifDescr} =~ /.*Ethernet[\/\d]+\.\d+$/) { - # Urspruenglich wies sowas klar auf so Pseudo-bundle-channel-sonstwas hin. - # Aber dann tauchte im Schwaebischen ein TenGigabitEthernet auf, bei dem - # Errors und Discards fehlten. Erst dachte ich, die haetten sich gesagt: - # "Mir naehmet desch guenschtigere Modell ohne Counter", dann dachte ich, - # die haben billigen Chinaschrott gekauft, weil ifHighSpeed statt 10000 - # bei den drei in Frage kommenden Interfaces nur 275, 1000 und 25 anzeigt. - # Aber anscheinend hat das alles seine Richtigkeit in einem Szenario wie - # 1 Haupt-Interface mit 3 VRFs mit jeweils eigenen VLANs - # also TenGigabitEthernet0/0/0.10, TenGigabitEthernet0/0/0.20 und - # TenGigabitEthernet0/0/0.30 unter TenGigabitEthernet0/0/0, laut - # ifAlias so MPLS mit Vodafone. - $self->{ifInErrors} = 0; - $self->{ifOutErrors} = 0; - $self->{ifInDiscards} = 0; - $self->{ifOutDiscards} = 0; - } elsif ((! exists $self->{ifInOctets} && ! exists $self->{ifOutOctets} && + if ((! exists $self->{ifInOctets} && ! exists $self->{ifOutOctets} && $self->mode =~ /device::interfaces::(usage|complete)/) || (! exists $self->{ifInErrors} && ! exists $self->{ifOutErrors} && $self->mode =~ /device::interfaces::(errors|complete)/) || @@ -859,7 +691,7 @@ sub finish { $self->mode =~ /device::interfaces::(discards|complete)/) || (! exists $self->{ifInUcastPkts} && ! exists $self->{ifOutUcastPkts} && $self->mode =~ /device::interfaces::(broadcast|complete)/)) { - bless $self, 'CheckNwcHealth::IFMIB::Component::InterfaceSubsystem::Interface::StackSub'; + bless $self, 'Classes::IFMIB::Component::InterfaceSubsystem::Interface::StackSub'; } if ($self->{ifPhysAddress}) { $self->{ifPhysAddress} = join(':', unpack('(H2)*', $self->{ifPhysAddress})); @@ -868,74 +700,6 @@ sub finish { $self->init(); } -sub calc_usage { - my ($self) = @_; - $self->valdiff({name => $self->{ifIndex}.'#'.$self->{ifDescr}}, qw(ifInOctets ifOutOctets)); - $self->{delta_ifInBits} = $self->{delta_ifInOctets} * 8; - $self->{delta_ifOutBits} = $self->{delta_ifOutOctets} * 8; - if ($self->{ifSpeed} == 0) { - # vlan graffl - $self->{inputUtilization} = 0; - $self->{outputUtilization} = 0; - $self->{maxInputRate} = 0; - $self->{maxOutputRate} = 0; - } else { - $self->{inputUtilization} = 100 * $self->{delta_ifInBits} / - ($self->{delta_timestamp} * $self->{ifSpeed}); - $self->{outputUtilization} = 100 * $self->{delta_ifOutBits} / - ($self->{delta_timestamp} * $self->{ifSpeed}); - $self->{maxInputRate} = $self->{ifSpeed}; - $self->{maxOutputRate} = $self->{ifSpeed}; - } - if (defined $self->opts->ifspeed) { - $self->override_opt('ifspeedin', $self->opts->ifspeed); - $self->override_opt('ifspeedout', $self->opts->ifspeed); - } - if (defined $self->opts->ifspeedin) { - $self->{inputUtilization} = 100 * $self->{delta_ifInBits} / - ($self->{delta_timestamp} * $self->opts->ifspeedin); - $self->{maxInputRate} = $self->opts->ifspeedin; - } - if (defined $self->opts->ifspeedout) { - $self->{outputUtilization} = 100 * $self->{delta_ifOutBits} / - ($self->{delta_timestamp} * $self->opts->ifspeedout); - $self->{maxOutputRate} = $self->opts->ifspeedout; - } - $self->{inputRate} = $self->{delta_ifInBits} / $self->{delta_timestamp}; - $self->{outputRate} = $self->{delta_ifOutBits} / $self->{delta_timestamp}; - $self->override_opt("units", "bit") if ! $self->opts->units; - $self->{inputRate} /= $self->number_of_bits($self->opts->units); - $self->{outputRate} /= $self->number_of_bits($self->opts->units); - $self->{maxInputRate} /= $self->number_of_bits($self->opts->units); - $self->{maxOutputRate} /= $self->number_of_bits($self->opts->units); - if ($self->{ifOperStatus} eq 'down') { - $self->{inputUtilization} = 0; - $self->{outputUtilization} = 0; - $self->{inputRate} = 0; - $self->{outputRate} = 0; - $self->{maxInputRate} = 0; - $self->{maxOutputRate} = 0; - } -} - -sub get_mub_pkts { - my ($self) = @_; - foreach my $key (qw(ifInUcastPkts - ifInMulticastPkts ifInBroadcastPkts ifOutUcastPkts - ifOutMulticastPkts ifOutBroadcastPkts)) { - $self->{$key} = 0 if (! exists $self->{$key} || ! defined $self->{$key}); - } - $self->valdiff({name => 'mub_'.$self->{ifDescr}}, qw(ifInUcastPkts - ifInMulticastPkts ifInBroadcastPkts ifOutUcastPkts - ifOutMulticastPkts ifOutBroadcastPkts)); - $self->{delta_ifInPkts} = $self->{delta_ifInUcastPkts} + - $self->{delta_ifInMulticastPkts} + - $self->{delta_ifInBroadcastPkts}; - $self->{delta_ifOutPkts} = $self->{delta_ifOutUcastPkts} + - $self->{delta_ifOutMulticastPkts} + - $self->{delta_ifOutBroadcastPkts}; -} - sub init { my ($self) = @_; if ($self->mode =~ /device::interfaces::complete/) { @@ -952,42 +716,81 @@ sub init { } $Monitoring::GLPlugin::mode = "device::interfaces::complete"; } elsif ($self->mode =~ /device::interfaces::usage/) { - $self->calc_usage(); + $self->valdiff({name => $self->{ifIndex}.'#'.$self->{ifDescr}}, qw(ifInOctets ifOutOctets)); + $self->{delta_ifInBits} = $self->{delta_ifInOctets} * 8; + $self->{delta_ifOutBits} = $self->{delta_ifOutOctets} * 8; + if ($self->{ifSpeed} == 0) { + # vlan graffl + $self->{inputUtilization} = 0; + $self->{outputUtilization} = 0; + $self->{maxInputRate} = 0; + $self->{maxOutputRate} = 0; + } else { + $self->{inputUtilization} = 100 * $self->{delta_ifInBits} / + ($self->{delta_timestamp} * $self->{ifSpeed}); + $self->{outputUtilization} = 100 * $self->{delta_ifOutBits} / + ($self->{delta_timestamp} * $self->{ifSpeed}); + $self->{maxInputRate} = $self->{ifSpeed}; + $self->{maxOutputRate} = $self->{ifSpeed}; + } + if (defined $self->opts->ifspeed) { + $self->override_opt('ifspeedin', $self->opts->ifspeed); + $self->override_opt('ifspeedout', $self->opts->ifspeed); + } + if (defined $self->opts->ifspeedin) { + $self->{inputUtilization} = 100 * $self->{delta_ifInBits} / + ($self->{delta_timestamp} * $self->opts->ifspeedin); + $self->{maxInputRate} = $self->opts->ifspeedin; + } + if (defined $self->opts->ifspeedout) { + $self->{outputUtilization} = 100 * $self->{delta_ifOutBits} / + ($self->{delta_timestamp} * $self->opts->ifspeedout); + $self->{maxOutputRate} = $self->opts->ifspeedout; + } + $self->{inputRate} = $self->{delta_ifInBits} / $self->{delta_timestamp}; + $self->{outputRate} = $self->{delta_ifOutBits} / $self->{delta_timestamp}; + $self->override_opt("units", "bit") if ! $self->opts->units; + $self->{inputRate} /= $self->number_of_bits($self->opts->units); + $self->{outputRate} /= $self->number_of_bits($self->opts->units); + $self->{maxInputRate} /= $self->number_of_bits($self->opts->units); + $self->{maxOutputRate} /= $self->number_of_bits($self->opts->units); + if ($self->{ifOperStatus} eq 'down') { + $self->{inputUtilization} = 0; + $self->{outputUtilization} = 0; + $self->{inputRate} = 0; + $self->{outputRate} = 0; + $self->{maxInputRate} = 0; + $self->{maxOutputRate} = 0; + } } elsif ($self->mode =~ /device::interfaces::errors/) { - $self->calc_usage() if ! defined $self->{inputUtilization}; - $self->get_mub_pkts() if ! defined $self->{delta_ifOutPkts}; $self->valdiff({name => $self->{ifDescr}}, qw(ifInErrors ifOutErrors)); - $self->{inputErrorsPercent} = $self->{delta_ifInPkts} == 0 ? 0 : - 100 * $self->{delta_ifInErrors} / $self->{delta_ifInPkts}; - $self->{outputErrorsPercent} = $self->{delta_ifOutPkts} == 0 ? 0 : - 100 * $self->{delta_ifOutErrors} / $self->{delta_ifOutPkts}; $self->{inputErrorRate} = $self->{delta_ifInErrors} / $self->{delta_timestamp}; $self->{outputErrorRate} = $self->{delta_ifOutErrors} / $self->{delta_timestamp}; } elsif ($self->mode =~ /device::interfaces::discards/) { - $self->calc_usage() if ! defined $self->{inputUtilization}; - $self->get_mub_pkts() if ! defined $self->{delta_ifOutPkts}; $self->valdiff({name => $self->{ifDescr}}, qw(ifInDiscards ifOutDiscards)); - $self->{inputDiscardsPercent} = $self->{delta_ifInPkts} == 0 ? 0 : - 100 * $self->{delta_ifInDiscards} / $self->{delta_ifInPkts}; - $self->{outputDiscardsPercent} = $self->{delta_ifOutPkts} == 0 ? 0 : - 100 * $self->{delta_ifOutDiscards} / $self->{delta_ifOutPkts}; $self->{inputDiscardRate} = $self->{delta_ifInDiscards} / $self->{delta_timestamp}; $self->{outputDiscardRate} = $self->{delta_ifOutDiscards} / $self->{delta_timestamp}; } elsif ($self->mode =~ /device::interfaces::broadcasts/) { - $self->calc_usage() if ! defined $self->{inputUtilization}; - $self->get_mub_pkts() if ! defined $self->{delta_ifOutPkts}; - $self->{inputBroadcastPercent} = $self->{delta_ifInPkts} == 0 ? 0 : - 100 * $self->{delta_ifInBroadcastPkts} / $self->{delta_ifInPkts}; - $self->{outputBroadcastPercent} = $self->{delta_ifOutPkts} == 0 ? 0 : - 100 * $self->{delta_ifOutBroadcastPkts} / $self->{delta_ifOutPkts}; - $self->{inputBroadcastUtilizationPercent} = $self->{inputBroadcastPercent} - * $self->{inputUtilization} / 100; - $self->{outputBroadcastUtilizationPercent} = $self->{outputBroadcastPercent} - * $self->{outputUtilization} / 100; + foreach my $key (qw(ifInUcastPkts + ifInMulticastPkts ifInBroadcastPkts ifOutUcastPkts + ifOutMulticastPkts ifOutBroadcastPkts)) { + $self->{$key} = 0 if (! exists $self->{$key} || ! defined $self->{$key}); + } + $self->valdiff({name => $self->{ifDescr}}, qw(ifInUcastPkts + ifInMulticastPkts ifInBroadcastPkts ifOutUcastPkts + ifOutMulticastPkts ifOutBroadcastPkts)); + $self->{broadcastInPercent} = $self->{delta_ifInBroadcastPkts} == 0 ? 0 : + 100 * $self->{delta_ifInBroadcastPkts} / + ($self->{delta_ifInUcastPkts} + $self->{delta_ifInMulticastPkts} + + $self->{delta_ifInBroadcastPkts}); + $self->{broadcastOutPercent} = $self->{delta_ifOutBroadcastPkts} == 0 ? 0 : + 100 * $self->{delta_ifOutBroadcastPkts} / + ($self->{delta_ifOutUcastPkts} + $self->{delta_ifOutMulticastPkts} + + $self->{delta_ifOutBroadcastPkts}); } elsif ($self->mode =~ /device::interfaces::operstatus/) { } elsif ($self->mode =~ /device::interfaces::availability/) { $self->{ifStatusDuration} = @@ -1093,19 +896,11 @@ sub init_etherstats { sub check { my ($self) = @_; - my @details = (); - if ($self->{ifAlias} && $self->{ifAlias} ne $self->{ifDescr}) { - push(@details, "alias ".$self->{ifAlias}); - } - if ($self->{ifAddresses}) { - push(@details, "addresses ".$self->{ifAddresses}); - } - if (exists $self->{vlans} && @{$self->{vlans}}) { - push(@details, sprintf("vlan(s): %s", join(",", @{$self->{vlans}}))); - } - my $full_descr = sprintf "%s%s", + my $full_descr = sprintf "%s%s%s", $self->{ifDescr}, - @details ? sprintf(" (%s)", join(", ", @details)) : ""; + $self->{ifAlias} && $self->{ifAlias} ne $self->{ifDescr} ? + " (alias ".$self->{ifAlias}.")" : "", + $self->{ifAddresses} ? " (addresses ".$self->{ifAddresses}.")" : ""; if ($self->mode =~ /device::interfaces::complete/) { # uglatto, but $self->mode is an lvalue $Monitoring::GLPlugin::mode = "device::interfaces::operstatus"; @@ -1133,132 +928,20 @@ sub check { warning => 80, critical => 90 ); + my $in = $self->check_thresholds( + metric => $self->{ifDescr}.'_usage_in', + value => $self->{inputUtilization} + ); $self->set_thresholds( metric => $self->{ifDescr}.'_usage_out', warning => 80, critical => 90 ); - # In addition to the usage (default) thresholds we create - # traffic thresholds. These are at least used in the traffic perfdata. - # :-( after a rollout desaster, where --warning 80 --critical 90 was also - # applied to traffic metrics: - # !!!! --warning 80 --critical 90 should only mean usage thresholds - # traffic-thresholds should either be provided directly by writing - # .*_traffic_in/out or have a default which is calculated from the - # usage default. - my ($inwarning, $incritical) = $self->get_thresholds( - metric => $self->{ifDescr}.'_usage_in', - ); - my ($outwarning, $outcritical) = $self->get_thresholds( - metric => $self->{ifDescr}.'_usage_out', - ); - # mod_threshold is used to multiply the threshold or the upper - # and lower limits of a range. - # calculate traffic thresholds from usage thresholds - my $cinwarning = $self->mod_threshold($inwarning, sub { - my $val = shift; - return $self->{maxInputRate} / 100 * $val; - }); - my $cincritical = $self->mod_threshold($incritical, sub { - my $val = shift; - return $self->{maxInputRate} / 100 * $val; - }); - my $coutwarning = $self->mod_threshold($outwarning, sub { - my $val = shift; - return $self->{maxInputRate} / 100 * $val; - }); - my $coutcritical = $self->mod_threshold($outcritical, sub { - my $val = shift; - return $self->{maxInputRate} / 100 * $val; - }); - $self->set_thresholds( - # it there are --warning/critical on the command line - # (like 80/90, meaning the usage) - # then they have precedence over what we set here. - metric => $self->{ifDescr}.'_traffic_in', - warning => $cinwarning, - critical => $cincritical, - ); - $self->set_thresholds( - metric => $self->{ifDescr}.'_traffic_out', - warning => $coutwarning, - critical => $coutcritical, - ); - - # we must find out if there are warningx/criticalx for traffic. - # if not, we must avoid default warning/critical to be checked - # against traffic. - my ($tinwarning, $tincritical) = $self->get_thresholds( - metric => $self->{ifDescr}.'_traffic_in', - ); - my ($toutwarning, $toutcritical) = $self->get_thresholds( - metric => $self->{ifDescr}.'_traffic_out', - ); - # these are dummy defaults for a non existing metric. --warning/critical - # will overwrite the numbers - $self->set_thresholds( - metric => $self->{ifDescr}.'_des_gibts_doch_ned', - warning => "9999:9999", - critical => "9999:9999", - ); - my ($defwarning, $defcritical) = $self->get_thresholds( - metric => $self->{ifDescr}.'_des_gibts_doch_ned', - ); - if ($tinwarning eq $defwarning) { - # traffic_in warning is --warning, so it has not been set intentionally - # by --warningx ...traffic_in. in this case we use the calculated value - # (eq because we might use ranges.) - $tinwarning = $cinwarning; - } - if ($toutwarning eq $defwarning) { - $toutwarning = $coutwarning; - } - if ($tincritical eq $defcritical) { - $tincritical = $cincritical; - } - if ($toutcritical eq $defcritical) { - $toutcritical = $coutcritical; - } - # finally we force the traffic thresholds. it's like set_thresholds, but - # this time we ignore any --warning/critical - $self->force_thresholds( - # it there are --warning/critical on the command line - # (like 80/90, meaning the usage) - # then they have precedence over what we set here. - metric => $self->{ifDescr}.'_traffic_in', - warning => $tinwarning, - critical => $tincritical, - ); - $self->force_thresholds( - metric => $self->{ifDescr}.'_traffic_out', - warning => $toutwarning, - critical => $toutcritical, - ); - # Check both usage and traffic. The user could set thresholds like - # --warningx 'traffic_.*'=1:80 --criticalx 'traffic_.*'=1:90 --units Mbit - # in order to monitor a backup line. (which has some noise in standby) - my $u_in = $self->check_thresholds( - metric => $self->{ifDescr}.'_usage_in', - value => $self->{inputUtilization} - ); - my $u_out = $self->check_thresholds( + my $out = $self->check_thresholds( metric => $self->{ifDescr}.'_usage_out', value => $self->{outputUtilization} ); - my $t_in = $self->check_thresholds( - metric => $self->{ifDescr}.'_traffic_in', - value => $self->{inputRate} - ); - my $t_out = $self->check_thresholds( - metric => $self->{ifDescr}.'_traffic_out', - value => $self->{outputRate} - ); - my $u_level = ($u_in > $u_out) ? $u_in : ($u_out > $u_in) ? $u_out : $u_in; - my $t_level = ($t_in > $t_out) ? $t_in : ($t_out > $t_in) ? $t_out : $t_in; - my $level = ($t_level > $u_level) ? $t_level : ($u_level > $t_level) ? $u_level : $t_level; - if (! $u_level and $t_level) { - $self->annotate_info("traffic outside thresholds"); - } + my $level = ($in > $out) ? $in : ($out > $in) ? $out : $in; $self->add_message($level); $self->add_perfdata( label => $self->{ifDescr}.'_usage_in', @@ -1270,6 +953,14 @@ sub check { value => $self->{outputUtilization}, uom => '%', ); + my ($inwarning, $incritical) = $self->get_thresholds( + metric => $self->{ifDescr}.'_usage_in', + ); + $self->set_thresholds( + metric => $self->{ifDescr}.'_traffic_in', + warning => $self->{maxInputRate} / 100 * $inwarning, + critical => $self->{maxInputRate} / 100 * $incritical + ); $self->add_perfdata( label => $self->{ifDescr}.'_traffic_in', value => $self->{inputRate}, @@ -1278,6 +969,14 @@ sub check { min => 0, max => $self->{maxInputRate}, ); + my ($outwarning, $outcritical) = $self->get_thresholds( + metric => $self->{ifDescr}.'_usage_out', + ); + $self->set_thresholds( + metric => $self->{ifDescr}.'_traffic_out', + warning => $self->{maxOutputRate} / 100 * $outwarning, + critical => $self->{maxOutputRate} / 100 * $outcritical, + ); $self->add_perfdata( label => $self->{ifDescr}.'_traffic_out', value => $self->{outputRate}, @@ -1287,147 +986,103 @@ sub check { max => $self->{maxOutputRate}, ); } elsif ($self->mode =~ /device::interfaces::errors/) { - $self->add_info(sprintf 'interface %s errors in:%.2f%% out:%.2f%% ', + $self->add_info(sprintf 'interface %s errors in:%.2f/s out:%.2f/s ', $full_descr, - $self->{inputErrorsPercent} , $self->{outputErrorsPercent}); + $self->{inputErrorRate} , $self->{outputErrorRate}); $self->set_thresholds( metric => $self->{ifDescr}.'_errors_in', warning => 1, - critical => 10, + critical => 10 ); my $in = $self->check_thresholds( metric => $self->{ifDescr}.'_errors_in', - value => $self->{inputErrorsPercent} + value => $self->{inputErrorRate} ); $self->set_thresholds( metric => $self->{ifDescr}.'_errors_out', warning => 1, - critical => 10, + critical => 10 ); my $out = $self->check_thresholds( metric => $self->{ifDescr}.'_errors_out', - value => $self->{outputErrorsPercent} + value => $self->{outputErrorRate} ); my $level = ($in > $out) ? $in : ($out > $in) ? $out : $in; $self->add_message($level); $self->add_perfdata( label => $self->{ifDescr}.'_errors_in', - value => $self->{inputErrorsPercent}, - uom => '%', + value => $self->{inputErrorRate}, ); $self->add_perfdata( label => $self->{ifDescr}.'_errors_out', - value => $self->{outputErrorsPercent}, - uom => '%', + value => $self->{outputErrorRate}, ); } elsif ($self->mode =~ /device::interfaces::discards/) { - $self->add_info(sprintf 'interface %s discards in:%.2f%% out:%.2f%% ', + $self->add_info(sprintf 'interface %s discards in:%.2f/s out:%.2f/s ', $full_descr, - $self->{inputDiscardsPercent} , $self->{outputDiscardsPercent}); + $self->{inputDiscardRate} , $self->{outputDiscardRate}); $self->set_thresholds( metric => $self->{ifDescr}.'_discards_in', - warning => 5, - critical => 10, + warning => 1, + critical => 10 ); my $in = $self->check_thresholds( metric => $self->{ifDescr}.'_discards_in', - value => $self->{inputDiscardsPercent} + value => $self->{inputDiscardRate} ); $self->set_thresholds( metric => $self->{ifDescr}.'_discards_out', - warning => 5, - critical => 10, + warning => 1, + critical => 10 ); my $out = $self->check_thresholds( metric => $self->{ifDescr}.'_discards_out', - value => $self->{outputDiscardsPercent} + value => $self->{outputDiscardRate} ); my $level = ($in > $out) ? $in : ($out > $in) ? $out : $in; $self->add_message($level); $self->add_perfdata( label => $self->{ifDescr}.'_discards_in', - value => $self->{inputDiscardsPercent}, - uom => '%', + value => $self->{inputDiscardRate}, ); $self->add_perfdata( label => $self->{ifDescr}.'_discards_out', - value => $self->{outputDiscardsPercent}, - uom => '%', + value => $self->{outputDiscardRate}, ); } elsif ($self->mode =~ /device::interfaces::broadcast/) { - # BroadcastPercent - # -> TenGigabitEthernet0/0/0.10_broadcast_in - # wieviel % der ein/ausgehenden Pakete sind Broadcasts? - # das kann bei standby-Firewall-Interfaces sehr hoch sein, wenn regulaerer - # Traffic nicht stattfindet, aber viel Clustergeschwaetz. - # BroadcastUtilizationPercent = wieviel % der verfuegbaren Bandbreite - # -> TenGigabitEthernet0/0/0.10_broadcast_usage_in - # nehmen die Broadcasts ein? - # Der Schwellwert ist hoch eingestellt, wenn der gerissen wird, dann ist - # definitiv was faul. - $self->add_info(sprintf 'interface %s broadcast in:%.2f%% out:%.2f%% (%% of traffic) in:%.2f%% out:%.2f%% (%% of bandwidth)', + $self->add_info(sprintf 'interface %s broadcast in:%.2f%% out:%.2f%% ', $full_descr, - $self->{inputBroadcastPercent} , $self->{outputBroadcastPercent}, - $self->{inputBroadcastUtilizationPercent} , $self->{outputBroadcastUtilizationPercent}); + $self->{broadcastInPercent} , $self->{broadcastOutPercent}); $self->set_thresholds( metric => $self->{ifDescr}.'_broadcast_in', warning => 10, critical => 20 ); - my $uin = $self->check_thresholds( + my $in = $self->check_thresholds( metric => $self->{ifDescr}.'_broadcast_in', - value => $self->{inputBroadcastPercent} + value => $self->{broadcastInPercent} ); $self->set_thresholds( metric => $self->{ifDescr}.'_broadcast_out', warning => 10, critical => 20 ); - my $uout = $self->check_thresholds( + my $out = $self->check_thresholds( metric => $self->{ifDescr}.'_broadcast_out', - value => $self->{outputBroadcastPercent} + value => $self->{broadcastOutPercent} ); + my $level = ($in > $out) ? $in : ($out > $in) ? $out : $in; + $self->add_message($level); $self->add_perfdata( label => $self->{ifDescr}.'_broadcast_in', - value => $self->{inputBroadcastPercent}, + value => $self->{broadcastInPercent}, uom => '%', ); $self->add_perfdata( label => $self->{ifDescr}.'_broadcast_out', - value => $self->{outputBroadcastPercent}, + value => $self->{broadcastOutPercent}, uom => '%', ); - my $ulevel = ($uin > $uout) ? $uin : ($uout > $uin) ? $uout : $uin; - $self->set_thresholds( - metric => $self->{ifDescr}.'_broadcast_usage_in', - warning => 10, - critical => 20 - ); - my $bin = $self->check_thresholds( - metric => $self->{ifDescr}.'_broadcast_usage_in', - value => $self->{inputBroadcastUtilizationPercent} - ); - $self->set_thresholds( - metric => $self->{ifDescr}.'_broadcast_usage_out', - warning => 10, - critical => 20 - ); - my $bout = $self->check_thresholds( - metric => $self->{ifDescr}.'_broadcast_usage_out', - value => $self->{outputBroadcastUtilizationPercent} - ); - $self->add_perfdata( - label => $self->{ifDescr}.'_broadcast_usage_in', - value => $self->{inputBroadcastUtilizationPercent}, - uom => '%', - ); - $self->add_perfdata( - label => $self->{ifDescr}.'_broadcast_usage_out', - value => $self->{outputBroadcastUtilizationPercent}, - uom => '%', - ); - my $blevel = ($bin > $bout) ? $bin : ($bout > $bin) ? $bout : $bin; - $self->add_message(($blevel > $ulevel) ? $blevel : $ulevel); } elsif ($self->mode =~ /device::interfaces::operstatus/) { #rfc2863 #(1) if ifAdminStatus is not down and ifOperStatus is down then a @@ -1539,103 +1194,86 @@ sub list { } -package CheckNwcHealth::IFMIB::Component::InterfaceSubsystem::Interface::64bit; -our @ISA = qw(CheckNwcHealth::IFMIB::Component::InterfaceSubsystem::Interface); +package Classes::IFMIB::Component::InterfaceSubsystem::Interface::64bit; +our @ISA = qw(Classes::IFMIB::Component::InterfaceSubsystem::Interface); use strict; use Digest::MD5 qw(md5_hex); -sub calc_usage { - my ($self) = @_; - $self->valdiff({name => $self->{ifIndex}.'#'.$self->{ifDescr}}, qw(ifHCInOctets ifHCOutOctets)); - $self->{delta_ifInBits} = $self->{delta_ifHCInOctets} * 8; - $self->{delta_ifOutBits} = $self->{delta_ifHCOutOctets} * 8; - # ifSpeed = Bits/sec - # ifHighSpeed = 1000000Bits/sec - if ($self->{ifSpeed} == 0) { - # vlan graffl - $self->{inputUtilization} = 0; - $self->{outputUtilization} = 0; - $self->{maxInputRate} = 0; - $self->{maxOutputRate} = 0; - } elsif ($self->{ifSpeed} == 4294967295) { - $self->{maxInputRate} = $self->{ifHighSpeed} * 1000000; - $self->{maxOutputRate} = $self->{ifHighSpeed} * 1000000; - $self->{inputUtilization} = 100 * $self->{delta_ifInBits} / - ($self->{delta_timestamp} * $self->{maxInputRate}); - $self->{outputUtilization} = 100 * $self->{delta_ifOutBits} / - ($self->{delta_timestamp} * $self->{maxOutputRate}); - } else { - $self->{maxInputRate} = $self->{ifSpeed}; - $self->{maxOutputRate} = $self->{ifSpeed}; - $self->{inputUtilization} = 100 * $self->{delta_ifInBits} / - ($self->{delta_timestamp} * $self->{maxInputRate}); - $self->{outputUtilization} = 100 * $self->{delta_ifOutBits} / - ($self->{delta_timestamp} * $self->{maxOutputRate}); - } - if (defined $self->opts->ifspeed) { - $self->override_opt('ifspeedin', $self->opts->ifspeed); - $self->override_opt('ifspeedout', $self->opts->ifspeed); - } - if (defined $self->opts->ifspeedin) { - $self->{inputUtilization} = 100 * $self->{delta_ifInBits} / - ($self->{delta_timestamp} * $self->opts->ifspeedin); - $self->{maxInputRate} = $self->opts->ifspeedin; - } - if (defined $self->opts->ifspeedout) { - $self->{outputUtilization} = 100 * $self->{delta_ifOutBits} / - ($self->{delta_timestamp} * $self->opts->ifspeedout); - $self->{maxOutputRate} = $self->opts->ifspeedout; - } - $self->{inputRate} = $self->{delta_ifInBits} / $self->{delta_timestamp}; - $self->{outputRate} = $self->{delta_ifOutBits} / $self->{delta_timestamp}; - $self->override_opt("units", "bit") if ! $self->opts->units; - $self->{inputRate} /= $self->number_of_bits($self->opts->units); - $self->{outputRate} /= $self->number_of_bits($self->opts->units); - $self->{maxInputRate} /= $self->number_of_bits($self->opts->units); - $self->{maxOutputRate} /= $self->number_of_bits($self->opts->units); - if ($self->{ifOperStatus} eq 'down') { - $self->{inputUtilization} = 0; - $self->{outputUtilization} = 0; - $self->{inputRate} = 0; - $self->{outputRate} = 0; - $self->{maxInputRate} = 0; - $self->{maxOutputRate} = 0; - } -} - -sub get_mub_pkts { - my ($self) = @_; - foreach my $key (qw( - ifHCInUcastPkts ifHCInMulticastPkts ifHCInBroadcastPkts - ifHCOutUcastPkts ifHCOutMulticastPkts ifHCOutBroadcastPkts)) { - $self->{$key} = 0 if (! exists $self->{$key} || ! defined $self->{$key}); - } - $self->valdiff({name => 'mub_'.$self->{ifDescr}}, qw( - ifHCInUcastPkts ifHCInMulticastPkts ifHCInBroadcastPkts - ifHCOutUcastPkts ifHCOutMulticastPkts ifHCOutBroadcastPkts)); - $self->{delta_ifInPkts} = $self->{delta_ifHCInUcastPkts} + - $self->{delta_ifHCInMulticastPkts} + - $self->{delta_ifHCInBroadcastPkts}; - $self->{delta_ifOutPkts} = $self->{delta_ifHCOutUcastPkts} + - $self->{delta_ifHCOutMulticastPkts} + - $self->{delta_ifHCOutBroadcastPkts}; -} - sub init { my ($self) = @_; if ($self->mode =~ /device::interfaces::usage/) { - $self->calc_usage(); + $self->valdiff({name => $self->{ifIndex}.'#'.$self->{ifDescr}}, qw(ifHCInOctets ifHCOutOctets)); + $self->{delta_ifInBits} = $self->{delta_ifHCInOctets} * 8; + $self->{delta_ifOutBits} = $self->{delta_ifHCOutOctets} * 8; + # ifSpeed = Bits/sec + # ifHighSpeed = 1000000Bits/sec + if ($self->{ifSpeed} == 0) { + # vlan graffl + $self->{inputUtilization} = 0; + $self->{outputUtilization} = 0; + $self->{maxInputRate} = 0; + $self->{maxOutputRate} = 0; + } elsif ($self->{ifSpeed} == 4294967295) { + $self->{maxInputRate} = $self->{ifHighSpeed} * 1000000; + $self->{maxOutputRate} = $self->{ifHighSpeed} * 1000000; + $self->{inputUtilization} = 100 * $self->{delta_ifInBits} / + ($self->{delta_timestamp} * $self->{maxInputRate}); + $self->{outputUtilization} = 100 * $self->{delta_ifOutBits} / + ($self->{delta_timestamp} * $self->{maxOutputRate}); + } else { + $self->{maxInputRate} = $self->{ifSpeed}; + $self->{maxOutputRate} = $self->{ifSpeed}; + $self->{inputUtilization} = 100 * $self->{delta_ifInBits} / + ($self->{delta_timestamp} * $self->{maxInputRate}); + $self->{outputUtilization} = 100 * $self->{delta_ifOutBits} / + ($self->{delta_timestamp} * $self->{maxOutputRate}); + } + if (defined $self->opts->ifspeed) { + $self->override_opt('ifspeedin', $self->opts->ifspeed); + $self->override_opt('ifspeedout', $self->opts->ifspeed); + } + if (defined $self->opts->ifspeedin) { + $self->{inputUtilization} = 100 * $self->{delta_ifInBits} / + ($self->{delta_timestamp} * $self->opts->ifspeedin); + $self->{maxInputRate} = $self->opts->ifspeedin; + } + if (defined $self->opts->ifspeedout) { + $self->{outputUtilization} = 100 * $self->{delta_ifOutBits} / + ($self->{delta_timestamp} * $self->opts->ifspeedout); + $self->{maxOutputRate} = $self->opts->ifspeedout; + } + $self->{inputRate} = $self->{delta_ifInBits} / $self->{delta_timestamp}; + $self->{outputRate} = $self->{delta_ifOutBits} / $self->{delta_timestamp}; + $self->override_opt("units", "bit") if ! $self->opts->units; + $self->{inputRate} /= $self->number_of_bits($self->opts->units); + $self->{outputRate} /= $self->number_of_bits($self->opts->units); + $self->{maxInputRate} /= $self->number_of_bits($self->opts->units); + $self->{maxOutputRate} /= $self->number_of_bits($self->opts->units); + if ($self->{ifOperStatus} eq 'down') { + $self->{inputUtilization} = 0; + $self->{outputUtilization} = 0; + $self->{inputRate} = 0; + $self->{outputRate} = 0; + $self->{maxInputRate} = 0; + $self->{maxOutputRate} = 0; + } } elsif ($self->mode =~ /device::interfaces::broadcasts/) { - $self->calc_usage() if ! defined $self->{inputUtilization}; - $self->get_mub_pkts() if ! defined $self->{delta_ifOutPkts}; - $self->{inputBroadcastPercent} = $self->{delta_ifInPkts} == 0 ? 0 : - 100 * $self->{delta_ifHCInBroadcastPkts} / $self->{delta_ifInPkts}; - $self->{outputBroadcastPercent} = $self->{delta_ifOutPkts} == 0 ? 0 : - 100 * $self->{delta_ifHCOutBroadcastPkts} / $self->{delta_ifOutPkts}; - $self->{inputBroadcastUtilizationPercent} = $self->{inputBroadcastPercent} - * $self->{inputUtilization} / 100; - $self->{outputBroadcastUtilizationPercent} = $self->{outputBroadcastPercent} - * $self->{inputUtilization} / 100; + foreach my $key (qw( + ifHCInUcastPkts ifHCInMulticastPkts ifHCInBroadcastPkts + ifHCOutUcastPkts ifHCOutMulticastPkts ifHCOutBroadcastPkts)) { + $self->{$key} = 0 if (! exists $self->{$key} || ! defined $self->{$key}); + } + $self->valdiff({name => $self->{ifDescr}}, qw( + ifHCInUcastPkts ifHCInMulticastPkts ifHCInBroadcastPkts + ifHCOutUcastPkts ifHCOutMulticastPkts ifHCOutBroadcastPkts)); + $self->{broadcastInPercent} = $self->{delta_ifHCInBroadcastPkts} == 0 ? 0 : + 100 * $self->{delta_ifHCInBroadcastPkts} / + ($self->{delta_ifHCInUcastPkts} + $self->{delta_ifHCInMulticastPkts} + + $self->{delta_ifHCInBroadcastPkts}); + $self->{broadcastOutPercent} = $self->{delta_ifHCOutBroadcastPkts} == 0 ? 0 : + 100 * $self->{delta_ifHCOutBroadcastPkts} / + ($self->{delta_ifHCOutUcastPkts} + $self->{delta_ifHCOutMulticastPkts} + + $self->{delta_ifHCOutBroadcastPkts}); } else { $self->SUPER::init(); } @@ -1670,8 +1308,8 @@ sub init_etherstats { return $self; } -package CheckNwcHealth::IFMIB::Component::InterfaceSubsystem::Interface::StackSub; -our @ISA = qw(CheckNwcHealth::IFMIB::Component::InterfaceSubsystem::Interface); +package Classes::IFMIB::Component::InterfaceSubsystem::Interface::StackSub; +our @ISA = qw(Classes::IFMIB::Component::InterfaceSubsystem::Interface); use strict; sub init { @@ -1700,7 +1338,7 @@ sub check { } -package CheckNwcHealth::IFMIB::Component::InterfaceSubsystem::Address; +package Classes::IFMIB::Component::InterfaceSubsystem::Address; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/IFMIB/Component/LinkAggregation.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IFMIB/Component/LinkAggregation.pm similarity index 93% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/IFMIB/Component/LinkAggregation.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IFMIB/Component/LinkAggregation.pm index eedd48f..a760f43 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/IFMIB/Component/LinkAggregation.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IFMIB/Component/LinkAggregation.pm @@ -1,5 +1,5 @@ -package CheckNwcHealth::IFMIB::Component::LinkAggregation; -our @ISA = qw(CheckNwcHealth::IFMIB); +package Classes::IFMIB::Component::LinkAggregation; +our @ISA = qw(Classes::IFMIB); use strict; use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; @@ -17,7 +17,7 @@ sub init { $self->opts->override_opt('regexp', 1); } $self->{components}->{interface_subsystem} = - CheckNwcHealth::IFMIB::Component::InterfaceSubsystem->new(); + Classes::IFMIB::Component::InterfaceSubsystem->new(); } else { #error, must have a name } diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/IFMIB/Component/StackSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IFMIB/Component/StackSubsystem.pm similarity index 92% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/IFMIB/Component/StackSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IFMIB/Component/StackSubsystem.pm index 0c63310..b617f9e 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/IFMIB/Component/StackSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IFMIB/Component/StackSubsystem.pm @@ -1,5 +1,5 @@ -package CheckNwcHealth::IFMIB::Component::StackSubsystem; -our @ISA = qw(CheckNwcHealth::IFMIB::Component::InterfaceSubsystem); +package Classes::IFMIB::Component::StackSubsystem; +our @ISA = qw(Classes::IFMIB::Component::InterfaceSubsystem); use strict; @@ -14,13 +14,10 @@ sub init { } elsif (scalar(@selected_indices)) { @selected_indices = map { $_->[0] } @selected_indices; } else { - # none of the desired interfaces was found. we exit here, otherwise we - # might find crap resulting in "uninitialized value...." (which happened) @selected_indices = (); - return; } $self->get_snmp_tables("IFMIB", [ - ['stacks', 'ifStackTable', 'CheckNwcHealth::IFMIB::Component::StackSubsystem::Relationship'], + ['stacks', 'ifStackTable', 'Classes::IFMIB::Component::StackSubsystem::Relationship'], ]); my @higher_indices = (); my @lower_indices = (); @@ -49,7 +46,7 @@ sub init { if (! $self->opts->name || scalar(@higher_indices) > 0) { foreach ($self->get_snmp_table_objects( 'IFMIB', 'ifTable+ifXTable', @selected_indices ? \@indices : [], \@iftable_columns)) { - my $interface = CheckNwcHealth::IFMIB::Component::InterfaceSubsystem::Interface->new(%{$_}); + my $interface = Classes::IFMIB::Component::InterfaceSubsystem::Interface->new(%{$_}); $self->{interface_hash}->{$interface->{ifIndex}} = $interface; if (@selected_indices && grep { $interface->{ifIndex} == $_ } @selected_indices) { $interface->{lower_interfaces} = []; @@ -110,13 +107,7 @@ sub arista_schlamperei { sub check { my ($self) = @_; - if (! $self->{interfaces}) { - # see beginning of init(). For example --name channel --regex - # finds no interface of this name - $self->add_unknown('no interfaces'); - return; - } - my @selected_interfaces = sort { + my @selected_interfaces = sort { $a->{ifIndex} <=> $b->{ifIndex} } grep { exists $_->{lower_interfaces} @@ -240,7 +231,7 @@ sub check { } } -package CheckNwcHealth::IFMIB::Component::StackSubsystem::Relationship; +package Classes::IFMIB::Component::StackSubsystem::Relationship; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); sub finish { diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IPFORWARDMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IPFORWARDMIB.pm new file mode 100644 index 0000000..95e3e04 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IPFORWARDMIB.pm @@ -0,0 +1,4 @@ +package Classes::IPFORWARDMIB; +our @ISA = qw(Classes::Device); +use strict; + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/IPFORWARDMIB/Component/RoutingSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IPFORWARDMIB/Component/RoutingSubsystem.pm similarity index 88% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/IPFORWARDMIB/Component/RoutingSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IPFORWARDMIB/Component/RoutingSubsystem.pm index 2b265d5..b334bd6 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/IPFORWARDMIB/Component/RoutingSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IPFORWARDMIB/Component/RoutingSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::IPFORWARDMIB::Component::RoutingSubsystem; +package Classes::IPFORWARDMIB::Component::RoutingSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; # plugins-scripts/check_nwc_health --mode list-routes --snmpwalk walks/simon.snmpwalk @@ -14,7 +14,7 @@ sub init { my ($self) = @_; $self->implements_mib('INET-ADDRESS-MIB'); $self->get_snmp_tables('IP-FORWARD-MIB', [ - ['routes', 'ipCidrRouteTable', 'CheckNwcHealth::IPFORWARDMIB::Component::RoutingSubsystem::ipCidrRoute', + ['routes', 'ipCidrRouteTable', 'Classes::IPFORWARDMIB::Component::RoutingSubsystem::ipCidrRoute', sub { my ($o) = @_; if ($o->opts->name && $o->opts->name =~ /\//) { @@ -35,7 +35,7 @@ sub init { } } ], - ['routes', 'inetCidrRouteTable', 'CheckNwcHealth::IPFORWARDMIB::Component::RoutingSubsystem::inetCidrRoute', + ['routes', 'inetCidrRouteTable', 'Classes::IPFORWARDMIB::Component::RoutingSubsystem::inetCidrRoute', sub { my ($o) = @_; if ($o->opts->name && $o->opts->name =~ /\//) { @@ -56,10 +56,10 @@ sub init { ]); # deprecated #$self->get_snmp_tables('IP-FORWARD-MIB', [ - # ['routes', 'ipForwardTable', 'CheckNwcHealth::IPFORWARDMIB::Component::RoutingSubsystem::Route' ], + # ['routes', 'ipForwardTable', 'Classes::IPFORWARDMIB::Component::RoutingSubsystem::Route' ], #]); #$self->get_snmp_tables('IP-MIB', [ - # ['routes', 'ipRouteTable', 'CheckNwcHealth::IPFORWARDMIB::Component::RoutingSubsystem::Route' ], + # ['routes', 'ipRouteTable', 'Classes::IPFORWARDMIB::Component::RoutingSubsystem::Route' ], #]); # # Hundsglump varreckts!!!! @@ -118,14 +118,14 @@ sub check { } -package CheckNwcHealth::IPFORWARDMIB::Component::RoutingSubsystem::Route; +package Classes::IPFORWARDMIB::Component::RoutingSubsystem::Route; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -package CheckNwcHealth::IPFORWARDMIB::Component::RoutingSubsystem::ipRoute; -our @ISA = qw(CheckNwcHealth::IPFORWARDMIB::Component::RoutingSubsystem::Route); +package Classes::IPFORWARDMIB::Component::RoutingSubsystem::ipRoute; +our @ISA = qw(Classes::IPFORWARDMIB::Component::RoutingSubsystem::Route); -package CheckNwcHealth::IPFORWARDMIB::Component::RoutingSubsystem::ipCidrRoute; -our @ISA = qw(CheckNwcHealth::IPFORWARDMIB::Component::RoutingSubsystem::Route); +package Classes::IPFORWARDMIB::Component::RoutingSubsystem::ipCidrRoute; +our @ISA = qw(Classes::IPFORWARDMIB::Component::RoutingSubsystem::Route); sub finish { my ($self) = @_; @@ -155,8 +155,8 @@ sub id { $self->{ipCidrRouteNextHop}; } -package CheckNwcHealth::IPFORWARDMIB::Component::RoutingSubsystem::inetCidrRoute; -our @ISA = qw(CheckNwcHealth::IPFORWARDMIB::Component::RoutingSubsystem::Route); +package Classes::IPFORWARDMIB::Component::RoutingSubsystem::inetCidrRoute; +our @ISA = qw(Classes::IPFORWARDMIB::Component::RoutingSubsystem::Route); sub finish { my ($self) = @_; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IPMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IPMIB.pm new file mode 100644 index 0000000..c62922f --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IPMIB.pm @@ -0,0 +1,4 @@ +package Classes::IPMIB; +our @ISA = qw(Classes::Device); +use strict; + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/IPMIB/Component/RoutingSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IPMIB/Component/RoutingSubsystem.pm similarity index 86% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/IPMIB/Component/RoutingSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IPMIB/Component/RoutingSubsystem.pm index b844b7e..6dd5bbf 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/IPMIB/Component/RoutingSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IPMIB/Component/RoutingSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::IPMIB::Component::RoutingSubsystem; +package Classes::IPMIB::Component::RoutingSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -6,7 +6,7 @@ sub init { my ($self) = @_; $self->{interfaces} = []; $self->get_snmp_tables('IP-MIB', [ - ['routes', 'ipRouteTable', 'CheckNwcHealth::IPMIB::Component::RoutingSubsystem::Route' ], + ['routes', 'ipRouteTable', 'Classes::IPMIB::Component::RoutingSubsystem::Route' ], ]); } @@ -42,6 +42,6 @@ sub check { } -package CheckNwcHealth::IPMIB::Component::RoutingSubsystem::Route; +package Classes::IPMIB::Component::RoutingSubsystem::Route; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper.pm new file mode 100644 index 0000000..a2bedb3 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper.pm @@ -0,0 +1,27 @@ +package Classes::Juniper; +our @ISA = qw(Classes::Device); +use strict; + +use constant trees => ( + '1.3.6.1.4.1.4874.', + '1.3.6.1.4.1.3224.', +); + +sub init { + my ($self) = @_; + if ($self->{productname} =~ /NetScreen/i) { + bless $self, 'Classes::Juniper::NetScreen'; + $self->debug('using Classes::Juniper::NetScreen'); + } elsif ($self->{productname} =~ /JunOS/i) { + bless $self, 'Classes::Juniper::JunOS'; + $self->debug('using Classes::Juniper::JunOS'); + } elsif ($self->{productname} =~ /Juniper.*MAG\-\d+/i) { + # Juniper Networks,Inc,MAG-4610,7.2R10 + bless $self, 'Classes::Juniper::IVE'; + $self->debug('using Classes::Juniper::IVE'); + } + if (ref($self) ne "Classes::Juniper") { + $self->init(); + } +} + diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE.pm new file mode 100644 index 0000000..76b8929 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE.pm @@ -0,0 +1,24 @@ +package Classes::Juniper::IVE; +our @ISA = qw(Classes::Juniper); +use strict; + +use constant trees => ( + '1.3.6.1.2.1', # mib-2 + '1.3.6.1.2.1.105', +); + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::Juniper::IVE::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::Juniper::IVE::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::Juniper::IVE::Component::MemSubsystem"); + } elsif ($self->mode =~ /device::users/) { + $self->analyze_and_check_user_subsystem("Classes::Juniper::IVE::Component::UserSubsystem"); + } else { + $self->no_such_mode(); + } +} + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/IVE/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE/Component/CpuSubsystem.pm similarity index 91% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/IVE/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE/Component/CpuSubsystem.pm index 28abeb4..569adce 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/IVE/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE/Component/CpuSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Juniper::IVE::Component::CpuSubsystem; +package Classes::Juniper::IVE::Component::CpuSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/IVE/Component/DiskSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE/Component/DiskSubsystem.pm similarity index 89% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/IVE/Component/DiskSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE/Component/DiskSubsystem.pm index cf08405..0e4002f 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/IVE/Component/DiskSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE/Component/DiskSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Juniper::IVE::Component::DiskSubsystem; +package Classes::Juniper::IVE::Component::DiskSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/IVE/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE/Component/EnvironmentalSubsystem.pm similarity index 89% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/IVE/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE/Component/EnvironmentalSubsystem.pm index cb7922c..8d3c516 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/IVE/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE/Component/EnvironmentalSubsystem.pm @@ -1,11 +1,11 @@ -package CheckNwcHealth::Juniper::IVE::Component::EnvironmentalSubsystem; +package Classes::Juniper::IVE::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->{disk_subsystem} = - CheckNwcHealth::Juniper::IVE::Component::DiskSubsystem->new(); + Classes::Juniper::IVE::Component::DiskSubsystem->new(); $self->get_snmp_objects('JUNIPER-IVE-MIB', (qw( iveTemperature fanDescription psDescription raidDescription))); } diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/IVE/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE/Component/MemSubsystem.pm similarity index 93% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/IVE/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE/Component/MemSubsystem.pm index 58ffc74..bd03c76 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/IVE/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE/Component/MemSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Juniper::IVE::Component::MemSubsystem; +package Classes::Juniper::IVE::Component::MemSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/IVE/Component/UserSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE/Component/UserSubsystem.pm similarity index 95% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/IVE/Component/UserSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE/Component/UserSubsystem.pm index 132a609..3a405e8 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/IVE/Component/UserSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE/Component/UserSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Juniper::IVE::Component::UserSubsystem; +package Classes::Juniper::IVE::Component::UserSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/JunOS.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/JunOS.pm similarity index 53% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/JunOS.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/JunOS.pm index 53b6a1c..2325fc9 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/JunOS.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/JunOS.pm @@ -1,5 +1,5 @@ -package CheckNwcHealth::Juniper::JunOS; -our @ISA = qw(CheckNwcHealth::Juniper); +package Classes::Juniper::JunOS; +our @ISA = qw(Classes::Juniper); use strict; use constant trees => ( @@ -10,7 +10,7 @@ use constant trees => ( sub init { my ($self) = @_; if ($self->mode =~ /device::bgp/) { - $self->analyze_and_check_bgp_subsystem("CheckNwcHealth::Juniper::JunOS::Component::BgpSubsystem"); + $self->analyze_and_check_bgp_subsystem("Classes::Juniper::JunOS::Component::BgpSubsystem"); } else { $self->no_such_mode(); } diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/JunOS/Component/BgpSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/JunOS/Component/BgpSubsystem.pm similarity index 97% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/JunOS/Component/BgpSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/JunOS/Component/BgpSubsystem.pm index c0adcb9..481a056 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/JunOS/Component/BgpSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/JunOS/Component/BgpSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Juniper::JunOS::Component::BgpSubsystem; +package Classes::Juniper::JunOS::Component::BgpSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -33,7 +33,7 @@ sub init { { if ($self->filter_name($peers{$key}->{jnxBgpM2PeerRemoteAddr})) { my $peer = $peers{$key}; - push(@{$self->{peers}}, CheckNwcHealth::Juniper::JunOS::Component::BgpSubsystem::Peer->new(%$peer)); + push(@{$self->{peers}}, Classes::Juniper::JunOS::Component::BgpSubsystem::Peer->new(%$peer)); } } } @@ -182,8 +182,8 @@ sub check { } } -package CheckNwcHealth::Juniper::JunOS::Component::BgpSubsystem::Peer; -our @ISA = qw(CheckNwcHealth::Juniper::JunOS::Component::BgpSubsystem); +package Classes::Juniper::JunOS::Component::BgpSubsystem::Peer; +our @ISA = qw(Classes::Juniper::JunOS::Component::BgpSubsystem); use strict; use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/NetScreen.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/NetScreen.pm new file mode 100644 index 0000000..3719fe7 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/NetScreen.pm @@ -0,0 +1,24 @@ +package Classes::Juniper::NetScreen; +our @ISA = qw(Classes::Juniper); +use strict; + +use constant trees => ( + '1.3.6.1.2.1', # mib-2 + '1.3.6.1.2.1.105', +); + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::Juniper::NetScreen::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::Juniper::NetScreen::Component::MemSubsystem"); + } elsif ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::Juniper::NetScreen::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::ha::status/) { + $self->analyze_and_check_environmental_subsystem("Classes::Juniper::NetScreen::Component::VsdSubsystem"); + } else { + $self->no_such_mode(); + } +} + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/NetScreen/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/NetScreen/Component/CpuSubsystem.pm similarity index 88% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/NetScreen/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/NetScreen/Component/CpuSubsystem.pm index 49a825b..419a2fd 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/NetScreen/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/NetScreen/Component/CpuSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Juniper::NetScreen::Component::CpuSubsystem; +package Classes::Juniper::NetScreen::Component::CpuSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/NetScreen/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/NetScreen/Component/EnvironmentalSubsystem.pm similarity index 70% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/NetScreen/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/NetScreen/Component/EnvironmentalSubsystem.pm index efaea4a..91e20fb 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/NetScreen/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/NetScreen/Component/EnvironmentalSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Juniper::NetScreen::Component::EnvironmentalSubsystem; +package Classes::Juniper::NetScreen::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -7,10 +7,10 @@ sub init { $self->get_snmp_objects("NETSCREEN-CHASSIS-MIB", (qw( sysBatteryStatus))); $self->get_snmp_tables("NETSCREEN-CHASSIS-MIB", [ - ['fans', 'nsFanTable', 'CheckNwcHealth::Juniper::NetScreen::Component::EnvironmentalSubsystem::Fan'], - ['power', 'nsPowerTable', 'CheckNwcHealth::Juniper::NetScreen::Component::EnvironmentalSubsystem::Power'], - ['slots', 'nsSlotTable', 'CheckNwcHealth::Juniper::NetScreen::Component::EnvironmentalSubsystem::Slot'], - ['temperatures', 'nsTemperatureTable', 'CheckNwcHealth::Juniper::NetScreen::Component::EnvironmentalSubsystem::Temperature'], + ['fans', 'nsFanTable', 'Classes::Juniper::NetScreen::Component::EnvironmentalSubsystem::Fan'], + ['power', 'nsPowerTable', 'Classes::Juniper::NetScreen::Component::EnvironmentalSubsystem::Power'], + ['slots', 'nsSlotTable', 'Classes::Juniper::NetScreen::Component::EnvironmentalSubsystem::Slot'], + ['temperatures', 'nsTemperatureTable', 'Classes::Juniper::NetScreen::Component::EnvironmentalSubsystem::Temperature'], ]); } @@ -22,7 +22,7 @@ sub check { } -package CheckNwcHealth::Juniper::NetScreen::Component::EnvironmentalSubsystem::Fan; +package Classes::Juniper::NetScreen::Component::EnvironmentalSubsystem::Fan; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -39,7 +39,7 @@ sub check { } -package CheckNwcHealth::Juniper::NetScreen::Component::EnvironmentalSubsystem::Power; +package Classes::Juniper::NetScreen::Component::EnvironmentalSubsystem::Power; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -60,7 +60,7 @@ sub check { } -package CheckNwcHealth::Juniper::NetScreen::Component::EnvironmentalSubsystem::Slot; +package Classes::Juniper::NetScreen::Component::EnvironmentalSubsystem::Slot; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -81,7 +81,7 @@ sub check { } -package CheckNwcHealth::Juniper::NetScreen::Component::EnvironmentalSubsystem::Temperature; +package Classes::Juniper::NetScreen::Component::EnvironmentalSubsystem::Temperature; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/NetScreen/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/NetScreen/Component/MemSubsystem.pm similarity index 92% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/NetScreen/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/NetScreen/Component/MemSubsystem.pm index c1a8ca6..67aec65 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/NetScreen/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/NetScreen/Component/MemSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Juniper::NetScreen::Component::MemSubsystem; +package Classes::Juniper::NetScreen::Component::MemSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/NetScreen/Component/VsdSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/NetScreen/Component/VsdSubsystem.pm similarity index 59% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/NetScreen/Component/VsdSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/NetScreen/Component/VsdSubsystem.pm index 893e538..a72ca51 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/NetScreen/Component/VsdSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/NetScreen/Component/VsdSubsystem.pm @@ -1,17 +1,17 @@ -package CheckNwcHealth::Juniper::NetScreen::Component::VsdSubsystem; +package Classes::Juniper::NetScreen::Component::VsdSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('NETSCREEN-NSRP-MIB', [ - ['members', 'nsrpVsdMemberTable', 'CheckNwcHealth::Juniper::NetScreen::Component::VsdSubsystem::Member'], - ['clusters', 'nsrpClusterTable', 'CheckNwcHealth::Juniper::NetScreen::Component::VsdSubsystem::Cluster'], + ['members', 'nsrpVsdMemberTable', 'Classes::Juniper::NetScreen::Component::VsdSubsystem::Member'], + ['clusters', 'nsrpClusterTable', 'Classes::Juniper::NetScreen::Component::VsdSubsystem::Cluster'], ]); } -package CheckNwcHealth::Juniper::NetScreen::Component::VsdSubsystem::Member; +package Classes::Juniper::NetScreen::Component::VsdSubsystem::Member; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -27,7 +27,7 @@ sub check { } } -package CheckNwcHealth::Juniper::NetScreen::Component::VsdSubsystem::Cluster; +package Classes::Juniper::NetScreen::Component::VsdSubsystem::Cluster; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/SRX.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/SRX.pm similarity index 51% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/SRX.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/SRX.pm index 123a002..50a645b 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/SRX.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/SRX.pm @@ -1,16 +1,16 @@ -package CheckNwcHealth::Juniper::SRX; -our @ISA = qw(CheckNwcHealth::Juniper); +package Classes::Juniper::SRX; +our @ISA = qw(Classes::Juniper); use strict; sub init { my ($self) = @_; if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Juniper::SRX::Component::EnvironmentalSubsystem"); + $self->analyze_and_check_environmental_subsystem("Classes::Juniper::SRX::Component::EnvironmentalSubsystem"); $self->{components}->{hostresource_subsystem} = - CheckNwcHealth::HOSTRESOURCESMIB::Component::EnvironmentalSubsystem->new(); + Classes::HOSTRESOURCESMIB::Component::EnvironmentalSubsystem->new(); foreach (@{$self->{components}->{hostresource_subsystem}->{disk_subsystem}->{storages}}) { - if (exists $_->{device} && $_->{device} =~ /^(\/dev\/md|junosprocfs)/) { + if (exists $_->{device} && $_->{device} =~ /^\/dev\/md/) { $_->blacklist(); } } @@ -22,10 +22,10 @@ sub init { $self->add_ok("environmental hardware working fine"); } } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::Juniper::SRX::Component::CpuSubsystem"); - #$self->analyze_and_check_cpu_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::CpuSubsystem"); + $self->analyze_and_check_cpu_subsystem("Classes::Juniper::SRX::Component::CpuSubsystem"); + #$self->analyze_and_check_cpu_subsystem("Classes::HOSTRESOURCESMIB::Component::CpuSubsystem"); } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::Juniper::SRX::Component::MemSubsystem"); + $self->analyze_and_check_mem_subsystem("Classes::Juniper::SRX::Component::MemSubsystem"); } else { $self->no_such_mode(); } diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/SRX/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/SRX/Component/CpuSubsystem.pm similarity index 74% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/SRX/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/SRX/Component/CpuSubsystem.pm index 5e5a34a..5de517f 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/SRX/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/SRX/Component/CpuSubsystem.pm @@ -1,18 +1,18 @@ -package CheckNwcHealth::Juniper::SRX::Component::CpuSubsystem; +package Classes::Juniper::SRX::Component::CpuSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('JUNIPER-MIB', [ - ['operatins', 'jnxOperatingTable', 'CheckNwcHealth::Juniper::SRX::Component::CpuSubsystem::OperatingItem', sub { shift->{jnxOperatingDescr} =~ /engine/i; }], + ['operatins', 'jnxOperatingTable', 'Classes::Juniper::SRX::Component::CpuSubsystem::OperatingItem', sub { shift->{jnxOperatingDescr} =~ /engine/i; }], ]); $self->get_snmp_tables('JUNIPER-SRX5000-SPU-MONITORING-MIB', [ - ['monobjects', 'jnxJsSPUMonitoringObjectsTable', 'CheckNwcHealth::Juniper::SRX::Component::CpuSubsystem::OperatingItem2'], + ['monobjects', 'jnxJsSPUMonitoringObjectsTable', 'Classes::Juniper::SRX::Component::CpuSubsystem::OperatingItem2'], ]); } -package CheckNwcHealth::Juniper::SRX::Component::CpuSubsystem::OperatingItem; +package Classes::Juniper::SRX::Component::CpuSubsystem::OperatingItem; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); sub finish { @@ -36,7 +36,7 @@ sub check { ); } -package CheckNwcHealth::Juniper::SRX::Component::CpuSubsystem::OperatingItem2; +package Classes::Juniper::SRX::Component::CpuSubsystem::OperatingItem2; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); sub check { diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/SRX/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/SRX/Component/EnvironmentalSubsystem.pm similarity index 70% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/SRX/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/SRX/Component/EnvironmentalSubsystem.pm index 6fd906b..6483624 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/SRX/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/SRX/Component/EnvironmentalSubsystem.pm @@ -1,17 +1,17 @@ -package CheckNwcHealth::Juniper::SRX::Component::EnvironmentalSubsystem; +package Classes::Juniper::SRX::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('JUNIPER-MIB', [ - ['leds', 'jnxLEDTable', 'CheckNwcHealth::Juniper::SRX::Component::EnvironmentalSubsystem::Led'], - ['operatins', 'jnxOperatingTable', 'CheckNwcHealth::Juniper::SRX::Component::EnvironmentalSubsystem::Operating'], - ['containers', 'jnxContainersTable', 'CheckNwcHealth::Juniper::SRX::Component::EnvironmentalSubsystem::Container'], - ['fru', 'jnxFruTable', 'CheckNwcHealth::Juniper::SRX::Component::EnvironmentalSubsystem::Fru'], - ['redun', 'jnxRedundancyTable', 'CheckNwcHealth::Juniper::SRX::Component::EnvironmentalSubsystem::Redundancy'], - ['contents', 'jnxContentsTable', 'CheckNwcHealth::Juniper::SRX::Component::EnvironmentalSubsystem::Content'], - ['filled', 'jnxFilledTable', 'CheckNwcHealth::Juniper::SRX::Component::EnvironmentalSubsystem::Fille'], + ['leds', 'jnxLEDTable', 'Classes::Juniper::SRX::Component::EnvironmentalSubsystem::Led'], + ['operatins', 'jnxOperatingTable', 'Classes::Juniper::SRX::Component::EnvironmentalSubsystem::Operating'], + ['containers', 'jnxContainersTable', 'Classes::Juniper::SRX::Component::EnvironmentalSubsystem::Container'], + ['fru', 'jnxFruTable', 'Classes::Juniper::SRX::Component::EnvironmentalSubsystem::Fru'], + ['redun', 'jnxRedundancyTable', 'Classes::Juniper::SRX::Component::EnvironmentalSubsystem::Redundancy'], + ['contents', 'jnxContentsTable', 'Classes::Juniper::SRX::Component::EnvironmentalSubsystem::Content'], + ['filled', 'jnxFilledTable', 'Classes::Juniper::SRX::Component::EnvironmentalSubsystem::Fille'], ]); $self->get_snmp_tables('JUNIPER-RPS-MIB', [ ['versions', 'jnxRPSVersionTable', 'GLPlugin::SNMP::TableItem'], @@ -26,7 +26,7 @@ sub init { jnxRedAlarmCount jnxRedAlarmLastChange))); } -package CheckNwcHealth::Juniper::SRX::Component::EnvironmentalSubsystem::Led; +package Classes::Juniper::SRX::Component::EnvironmentalSubsystem::Led; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); sub check { @@ -46,36 +46,36 @@ sub check { } } -package CheckNwcHealth::Juniper::SRX::Component::EnvironmentalSubsystem::Container; +package Classes::Juniper::SRX::Component::EnvironmentalSubsystem::Container; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -package CheckNwcHealth::Juniper::SRX::Component::EnvironmentalSubsystem::Fru; +package Classes::Juniper::SRX::Component::EnvironmentalSubsystem::Fru; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -package CheckNwcHealth::Juniper::SRX::Component::EnvironmentalSubsystem::Redundancy; +package Classes::Juniper::SRX::Component::EnvironmentalSubsystem::Redundancy; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -package CheckNwcHealth::Juniper::SRX::Component::EnvironmentalSubsystem::Content; +package Classes::Juniper::SRX::Component::EnvironmentalSubsystem::Content; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -package CheckNwcHealth::Juniper::SRX::Component::EnvironmentalSubsystem::Fille; +package Classes::Juniper::SRX::Component::EnvironmentalSubsystem::Fille; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); -package CheckNwcHealth::Juniper::SRX::Component::EnvironmentalSubsystem::Operating; +package Classes::Juniper::SRX::Component::EnvironmentalSubsystem::Operating; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); sub finish { my ($self) = @_; if ($self->{jnxOperatingDescr} =~ /Routing Engine$/) { - bless $self, "CheckNwcHealth::Juniper::SRX::Component::EnvironmentalSubsystem::Engine"; + bless $self, "Classes::Juniper::SRX::Component::EnvironmentalSubsystem::Engine"; } $self->{jnxOperatingRestartTimeHuman} = scalar localtime($self->{jnxOperatingRestartTime}); } -package CheckNwcHealth::Juniper::SRX::Component::EnvironmentalSubsystem::Engine; +package Classes::Juniper::SRX::Component::EnvironmentalSubsystem::Engine; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); sub check { diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/SRX/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/SRX/Component/MemSubsystem.pm similarity index 81% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/SRX/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/SRX/Component/MemSubsystem.pm index d9d8933..e4d7a90 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Juniper/SRX/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/SRX/Component/MemSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Juniper::SRX::Component::MemSubsystem; +package Classes::Juniper::SRX::Component::MemSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -6,10 +6,10 @@ sub init { my ($self) = @_; $self->get_snmp_objects('JUNIPER-MIB', qw(jnxBoxKernelMemoryUsedPercent)); $self->get_snmp_tables('JUNIPER-MIB', [ - ['operatins', 'jnxOperatingTable', 'CheckNwcHealth::Juniper::SRX::Component::MemSubsystem::OperatingItem', sub { shift->{jnxOperatingDescr} =~ /engine/i; }], + ['operatins', 'jnxOperatingTable', 'Classes::Juniper::SRX::Component::MemSubsystem::OperatingItem', sub { shift->{jnxOperatingDescr} =~ /engine/i; }], ]); $self->get_snmp_tables('JUNIPER-SRX5000-SPU-MONITORING-MIB', [ - ['objects', 'jnxJsSPUMonitoringObjectsTable', 'CheckNwcHealth::Juniper::SRX::Component::MemSubsystem::OperatingItem2'], + ['objects', 'jnxJsSPUMonitoringObjectsTable', 'Classes::Juniper::SRX::Component::MemSubsystem::OperatingItem2'], ]); } @@ -32,7 +32,7 @@ sub check { } -package CheckNwcHealth::Juniper::SRX::Component::MemSubsystem::OperatingItem; +package Classes::Juniper::SRX::Component::MemSubsystem::OperatingItem; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); sub finish { @@ -56,7 +56,7 @@ sub check { ); } -package CheckNwcHealth::Juniper::SRX::Component::MemSubsystem::OperatingItem2; +package Classes::Juniper::SRX::Component::MemSubsystem::OperatingItem2; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); sub check { diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/LMSENSORSMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/LMSENSORSMIB.pm new file mode 100644 index 0000000..f9650c0 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/LMSENSORSMIB.pm @@ -0,0 +1,4 @@ +package Classes::LMSENSORSMIB; +our @ISA = qw(Classes::Device); +use strict; + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/LMSENSORSMIB/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/LMSENSORSMIB/Component/EnvironmentalSubsystem.pm similarity index 66% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/LMSENSORSMIB/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/LMSENSORSMIB/Component/EnvironmentalSubsystem.pm index 4a59c87..ae3c4b4 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/LMSENSORSMIB/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/LMSENSORSMIB/Component/EnvironmentalSubsystem.pm @@ -1,13 +1,13 @@ -package CheckNwcHealth::LMSENSORSMIB::Component::EnvironmentalSubsystem; +package Classes::LMSENSORSMIB::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->{fan_subsystem} = - CheckNwcHealth::LMSENSORSMIB::Component::FanSubsystem->new(); + Classes::LMSENSORSMIB::Component::FanSubsystem->new(); $self->{temperature_subsystem} = - CheckNwcHealth::LMSENSORSMIB::Component::TemperatureSubsystem->new(); + Classes::LMSENSORSMIB::Component::TemperatureSubsystem->new(); } sub check { diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/LMSENSORSMIB/Component/FanSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/LMSENSORSMIB/Component/FanSubsystem.pm similarity index 62% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/LMSENSORSMIB/Component/FanSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/LMSENSORSMIB/Component/FanSubsystem.pm index fd5ccfb..2986ce8 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/LMSENSORSMIB/Component/FanSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/LMSENSORSMIB/Component/FanSubsystem.pm @@ -1,15 +1,15 @@ -package CheckNwcHealth::LMSENSORSMIB::Component::FanSubsystem; +package Classes::LMSENSORSMIB::Component::FanSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('LM-SENSORS-MIB', [ - ['fans', 'lmFanSensorsTable', 'CheckNwcHealth::LMSENSORSMIB::Component::FanSubsystem::Fan'], + ['fans', 'lmFanSensorsTable', 'Classes::LMSENSORSMIB::Component::FanSubsystem::Fan'], ]); } -package CheckNwcHealth::LMSENSORSMIB::Component::FanSubsystem::Fan; +package Classes::LMSENSORSMIB::Component::FanSubsystem::Fan; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/LMSENSORSMIB/Component/TemperatureSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/LMSENSORSMIB/Component/TemperatureSubsystem.pm similarity index 68% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/LMSENSORSMIB/Component/TemperatureSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/LMSENSORSMIB/Component/TemperatureSubsystem.pm index aa4a0e5..1c61628 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/LMSENSORSMIB/Component/TemperatureSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/LMSENSORSMIB/Component/TemperatureSubsystem.pm @@ -1,15 +1,15 @@ -package CheckNwcHealth::LMSENSORSMIB::Component::TemperatureSubsystem; +package Classes::LMSENSORSMIB::Component::TemperatureSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('LM-SENSORS-MIB', [ - ['temperatures', 'lmTempSensorsTable', 'CheckNwcHealth::LMSENSORSMIB::Component::TemperatureSubsystem::Temperature'], + ['temperatures', 'lmTempSensorsTable', 'Classes::LMSENSORSMIB::Component::TemperatureSubsystem::Temperature'], ]); } -package CheckNwcHealth::LMSENSORSMIB::Component::TemperatureSubsystem::Temperature; +package Classes::LMSENSORSMIB::Component::TemperatureSubsystem::Temperature; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lancom.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lancom.pm new file mode 100644 index 0000000..fb489dc --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lancom.pm @@ -0,0 +1,18 @@ +package Classes::Lancom; +our @ISA = qw(Classes::Device); +use strict; + +sub init { + my ($self) = @_; + $self->bulk_is_baeh(); + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::Lancom::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::Lancom::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::Lancom::Component::MemSubsystem"); + } else { + $self->no_such_mode(); + } +} + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Lancom/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lancom/Component/CpuSubsystem.pm similarity index 92% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Lancom/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lancom/Component/CpuSubsystem.pm index 436cd5a..3606af5 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Lancom/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lancom/Component/CpuSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Lancom::Component::CpuSubsystem; +package Classes::Lancom::Component::CpuSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Lancom/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lancom/Component/EnvironmentalSubsystem.pm similarity index 91% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Lancom/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lancom/Component/EnvironmentalSubsystem.pm index 8dd2d2e..7f3c4cb 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Lancom/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lancom/Component/EnvironmentalSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Lancom::Component::EnvironmentalSubsystem; +package Classes::Lancom::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Lancom/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lancom/Component/MemSubsystem.pm similarity index 94% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Lancom/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lancom/Component/MemSubsystem.pm index a28c0b3..92f9825 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Lancom/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lancom/Component/MemSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Lancom::Component::MemSubsystem; +package Classes::Lancom::Component::MemSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lantronix.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lantronix.pm new file mode 100644 index 0000000..42aa3ba --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lantronix.pm @@ -0,0 +1,3 @@ +package Classes::Lantronix; +our @ISA = qw(Classes::Device); +use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Lantronix/SLS.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lantronix/SLS.pm similarity index 64% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Lantronix/SLS.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lantronix/SLS.pm index 2a87ad8..67609e9 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Lantronix/SLS.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lantronix/SLS.pm @@ -1,18 +1,18 @@ -package CheckNwcHealth::Lantronix::SLS; -our @ISA = qw(CheckNwcHealth::Lantronix); +package Classes::Lantronix::SLS; +our @ISA = qw(Classes::Lantronix); use strict; sub init { my ($self) = @_; if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::Lantronix::SLS::Component::EnvironmentalSubsystem"); + $self->analyze_and_check_environmental_subsystem("Classes::Lantronix::SLS::Component::EnvironmentalSubsystem"); } else { $self->no_such_mode(); } } -package CheckNwcHealth::Lantronix::SLS::Component::EnvironmentalSubsystem; +package Classes::Lantronix::SLS::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/MEOS.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/MEOS.pm similarity index 68% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/MEOS.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/MEOS.pm index 1c80000..28fa6de 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/MEOS.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/MEOS.pm @@ -1,5 +1,5 @@ -package CheckNwcHealth::MEOS; -our @ISA = qw(CheckNwcHealth::Brocade); +package Classes::MEOS; +our @ISA = qw(Classes::Brocade); use strict; sub init { @@ -7,9 +7,9 @@ sub init { if ($self->mode =~ /device::hardware::health/) { $self->analyze_and_check_and_check_environmental_subsystem(); } elsif ($self->mode =~ /device::hardware::load/) { - $self->analyze_and_check_and_check_cpu_subsystem("CheckNwcHealth::UCDMIB::Component::CpuSubsystem"); + $self->analyze_and_check_and_check_cpu_subsystem("Classes::UCDMIB::Component::CpuSubsystem"); } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_and_check_mem_subsystem("CheckNwcHealth::UCDMIB::Component::MemSubsystem"); + $self->analyze_and_check_and_check_mem_subsystem("Classes::UCDMIB::Component::MemSubsystem"); } else { $self->no_such_mode(); } @@ -18,9 +18,9 @@ sub init { sub analyze_environmental_subsystem { my ($self) = @_; $self->{components}->{environmental_subsystem1} = - CheckNwcHealth::FCMGMT::Component::EnvironmentalSubsystem->new(); + Classes::FCMGMT::Component::EnvironmentalSubsystem->new(); $self->{components}->{environmental_subsystem2} = - CheckNwcHealth::FCEOS::Component::EnvironmentalSubsystem->new(); + Classes::FCEOS::Component::EnvironmentalSubsystem->new(); } sub check_environmental_subsystem { diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Netgear.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Netgear.pm similarity index 76% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Netgear.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Netgear.pm index f660b97..5393adb 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Netgear.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Netgear.pm @@ -1,5 +1,5 @@ -package CheckNwcHealth::Netgear; -our @ISA = qw(CheckNwcHealth::Device); +package Classes::Netgear; +our @ISA = qw(Classes::Device); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Nortel.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Nortel.pm similarity index 61% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Nortel.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Nortel.pm index b27f587..27b2266 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Nortel.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Nortel.pm @@ -1,21 +1,21 @@ -package CheckNwcHealth::Nortel; -our @ISA = qw(CheckNwcHealth::Device); +package Classes::Nortel; +our @ISA = qw(Classes::Device); use strict; sub init { my ($self) = @_; if ($self->implements_mib('S5-CHASSIS-MIB')) { - bless $self, 'CheckNwcHealth::Nortel::S5'; - $self->debug('using CheckNwcHealth::Nortel::S5'); + bless $self, 'Classes::Nortel::S5'; + $self->debug('using Classes::Nortel::S5'); } elsif ($self->implements_mib('RAPID-CITY-MIB')) { # synoptics wird von bay networks gekauft # bay networks wird von nortel gekauft # und alles was ich da an testdaten habe, ist muell. lauter # dreck aus einer rcPortTable, aber nix fan, nix temp, nix cpu - bless $self, 'CheckNwcHealth::RAPIDCITYMIB'; - $self->debug('using CheckNwcHealth::RAPID-CITY-MIB'); + bless $self, 'Classes::RAPIDCITYMIB'; + $self->debug('using Classes::RAPID-CITY-MIB'); } - if (ref($self) ne "CheckNwcHealth::Nortel") { + if (ref($self) ne "Classes::Nortel") { $self->init(); } } diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Nortel/S5.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Nortel/S5.pm new file mode 100644 index 0000000..6f7f0fc --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Nortel/S5.pm @@ -0,0 +1,17 @@ +package Classes::Nortel::S5; +our @ISA = qw(Classes::Device); +use strict; + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::Nortel::S5::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::Nortel::S5::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::Nortel::S5::Component::MemSubsystem"); + } else { + $self->no_such_mode(); + } +} + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Nortel/S5/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Nortel/S5/Component/CpuSubsystem.pm similarity index 81% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Nortel/S5/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Nortel/S5/Component/CpuSubsystem.pm index 3fb92a6..fd14225 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Nortel/S5/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Nortel/S5/Component/CpuSubsystem.pm @@ -1,16 +1,16 @@ -package CheckNwcHealth::Nortel::S5::Component::CpuSubsystem; +package Classes::Nortel::S5::Component::CpuSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('S5-CHASSIS-MIB', [ - ['utils', 's5ChasUtilTable', 'CheckNwcHealth::Nortel::S5::Component::CpuSubsystem::Cpu' ], + ['utils', 's5ChasUtilTable', 'Classes::Nortel::S5::Component::CpuSubsystem::Cpu' ], ]); } -package CheckNwcHealth::Nortel::S5::Component::CpuSubsystem::Cpu; +package Classes::Nortel::S5::Component::CpuSubsystem::Cpu; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Nortel/S5/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Nortel/S5/Component/EnvironmentalSubsystem.pm similarity index 82% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Nortel/S5/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Nortel/S5/Component/EnvironmentalSubsystem.pm index 68afaaa..8e41ddc 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Nortel/S5/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Nortel/S5/Component/EnvironmentalSubsystem.pm @@ -1,11 +1,11 @@ -package CheckNwcHealth::Nortel::S5::Component::EnvironmentalSubsystem; +package Classes::Nortel::S5::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('S5-CHASSIS-MIB', [ - ['comps', 's5ChasComTable', 'CheckNwcHealth::Nortel::S5::Component::EnvironmentalSubsystem::Comp' ], + ['comps', 's5ChasComTable', 'Classes::Nortel::S5::Component::EnvironmentalSubsystem::Comp' ], ]); } @@ -18,7 +18,7 @@ sub check { } -package CheckNwcHealth::Nortel::S5::Component::EnvironmentalSubsystem::Comp; +package Classes::Nortel::S5::Component::EnvironmentalSubsystem::Comp; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Nortel/S5/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Nortel/S5/Component/MemSubsystem.pm similarity index 81% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Nortel/S5/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Nortel/S5/Component/MemSubsystem.pm index 2adcf45..871bd19 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Nortel/S5/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Nortel/S5/Component/MemSubsystem.pm @@ -1,16 +1,16 @@ -package CheckNwcHealth::Nortel::S5::Component::MemSubsystem; +package Classes::Nortel::S5::Component::MemSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('S5-CHASSIS-MIB', [ - ['utils', 's5ChasUtilTable', 'CheckNwcHealth::Nortel::S5::Component::MemSubsystem::Mem' ], + ['utils', 's5ChasUtilTable', 'Classes::Nortel::S5::Component::MemSubsystem::Mem' ], ]); } -package CheckNwcHealth::Nortel::S5::Component::MemSubsystem::Mem; +package Classes::Nortel::S5::Component::MemSubsystem::Mem; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/OSPF.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OSPF.pm similarity index 53% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/OSPF.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OSPF.pm index 6599b32..1c66d37 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/OSPF.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OSPF.pm @@ -1,32 +1,32 @@ -package CheckNwcHealth::OSPF; -our @ISA = qw(CheckNwcHealth::Device); +package Classes::OSPF; +our @ISA = qw(Classes::Device); use strict; sub init { my ($self) = @_; if ($self->mode =~ /device::ospf::neighbor/) { - $self->analyze_and_check_neighbor_subsystem("CheckNwcHealth::OSPF::Component::NeighborSubsystem"); + $self->analyze_and_check_neighbor_subsystem("Classes::OSPF::Component::NeighborSubsystem"); } else { $self->no_such_mode(); } } -package CheckNwcHealth::OSPF::Component::AreaSubsystem; +package Classes::OSPF::Component::AreaSubsystem; our @ISA = qw(Monitoring::GLPlugin::Item); use strict; -package CheckNwcHealth::OSPF::Component::AreaSubsystem::Area; +package Classes::OSPF::Component::AreaSubsystem::Area; our @ISA = qw(Monitoring::GLPlugin::TableItem); use strict; # Index: ospfAreaId -package CheckNwcHealth::OSPF::Component::HostSubsystem::Host; +package Classes::OSPF::Component::HostSubsystem::Host; our @ISA = qw(Monitoring::GLPlugin::TableItem); use strict; # Index: ospfHostIpAddress, ospfHostTOS -package CheckNwcHealth::OSPF::Component::InterfaceSubsystem::Interface; +package Classes::OSPF::Component::InterfaceSubsystem::Interface; our @ISA = qw(Monitoring::GLPlugin::TableItem); use strict; # Index: ospfIfIpAddress, ospfAddressLessIf diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/OSPF/Component/NeighborSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OSPF/Component/NeighborSubsystem.pm similarity index 89% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/OSPF/Component/NeighborSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OSPF/Component/NeighborSubsystem.pm index c3f0630..f220bd0 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/OSPF/Component/NeighborSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OSPF/Component/NeighborSubsystem.pm @@ -1,15 +1,15 @@ -package CheckNwcHealth::OSPF::Component::NeighborSubsystem; +package Classes::OSPF::Component::NeighborSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('OSPF-MIB', [ - ['nbr', 'ospfNbrTable', 'CheckNwcHealth::OSPF::Component::NeighborSubsystem::Neighbor', sub { my ($o) = @_; return $self->filter_name($o->{ospfNbrIpAddr}) && $self->filter_name2($o->{ospfNbrRtrId}) }], + ['nbr', 'ospfNbrTable', 'Classes::OSPF::Component::NeighborSubsystem::Neighbor', sub { my ($o) = @_; return $self->filter_name($o->{ospfNbrIpAddr}) && $self->filter_name2($o->{ospfNbrRtrId}) }], ]); eval { $self->get_snmp_tables('OSPFV3-MIB', [ - ['nbr3', 'ospfv3NbrTable', 'CheckNwcHealth::OSPF::Component::NeighborSubsystem::V3Neighbor', sub { + ['nbr3', 'ospfv3NbrTable', 'Classes::OSPF::Component::NeighborSubsystem::V3Neighbor', sub { my ($o) = @_; return ($self->filter_name($o->compact_v6($o->{ospfv3NbrAddress})) && $self->filter_name2($o->{ospfv3NbrRtrId}) || $self->filter_name($o->{ospfv3NbrAddress}) && $self->filter_name2($o->{ospfv3NbrRtrId})); @@ -20,10 +20,10 @@ eval { $self->clear_table_cache('OSPF-MIB', 'ospfNbrTable'); $self->clear_table_cache('OSPFV3-MIB', 'ospfv3NbrTable'); $self->get_snmp_tables('OSPF-MIB', [ - ['nbr', 'ospfNbrTable', 'CheckNwcHealth::OSPF::Component::NeighborSubsystem::Neighbor', sub { my ($o) = @_; return $self->filter_name($o->{ospfNbrIpAddr}) && $self->filter_name2($o->{ospfNbrRtrId}) }], + ['nbr', 'ospfNbrTable', 'Classes::OSPF::Component::NeighborSubsystem::Neighbor', sub { my ($o) = @_; return $self->filter_name($o->{ospfNbrIpAddr}) && $self->filter_name2($o->{ospfNbrRtrId}) }], ]); $self->get_snmp_tables('OSPFV3-MIB', [ - ['nbr3', 'ospfv3NbrTable', 'CheckNwcHealth::OSPF::Component::NeighborSubsystem::V3Neighbor', sub { + ['nbr3', 'ospfv3NbrTable', 'Classes::OSPF::Component::NeighborSubsystem::V3Neighbor', sub { my ($o) = @_; return ($self->filter_name($o->compact_v6($o->{ospfv3NbrAddress})) && $self->filter_name2($o->{ospfv3NbrRtrId}) || $self->filter_name($o->{ospfv3NbrAddress}) && $self->filter_name2($o->{ospfv3NbrRtrId})); @@ -138,7 +138,7 @@ sub check { } } -package CheckNwcHealth::OSPF::Component::NeighborSubsystem::Neighbor; +package Classes::OSPF::Component::NeighborSubsystem::Neighbor; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; # Index: ospfNbrIpAddr, ospfNbrAddressLessIndex @@ -159,7 +159,7 @@ sub check { } } -package CheckNwcHealth::OSPF::Component::NeighborSubsystem::V3Neighbor; +package Classes::OSPF::Component::NeighborSubsystem::V3Neighbor; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; # Index: ospfv3NbrIfIndex, ospfv3NbrIfInstId, ospfv3NbrRtrId diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OneOS.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OneOS.pm new file mode 100644 index 0000000..26c9be7 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OneOS.pm @@ -0,0 +1,17 @@ +package Classes::OneOS; +our @ISA = qw(Classes::Device); +use strict; + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::OneOS::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::OneOS::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::OneOS::Component::MemSubsystem"); + } else { + $self->no_such_mode(); + } +} + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/OneOS/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OneOS/Component/CpuSubsystem.pm similarity index 90% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/OneOS/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OneOS/Component/CpuSubsystem.pm index fe69b70..3e8d7e8 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/OneOS/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OneOS/Component/CpuSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::OneOS::Component::CpuSubsystem; +package Classes::OneOS::Component::CpuSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OneOS/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OneOS/Component/EnvironmentalSubsystem.pm new file mode 100644 index 0000000..6634d80 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OneOS/Component/EnvironmentalSubsystem.pm @@ -0,0 +1,28 @@ +package Classes::OneOS::Component::EnvironmentalSubsystem; +our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); +use strict; + +sub init { + my ($self) = @_; + $self->get_snmp_tables('ONEACCESS-SYS-MIB', [ + ['comps', 'oacExpIMSysHwComponentsTable', 'Classes::OneOS::Component::EnvironmentalSubsystem::Comp' ], + ]); +} + +sub check { + my ($self) = @_; + $self->add_ok("environmental hardware working fine, at least i hope so. this device did not implement any kind of hardware health status. use -vv to see a list of components"); +} + + +package Classes::OneOS::Component::EnvironmentalSubsystem::Comp; +our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); +use strict; + +sub check { + my ($self) = @_; + my $label = sprintf 'usage', $self->{flat_indices}; + $self->add_info(sprintf '%s %s %s', + $self->{flat_indices}, $self->{oacExpIMSysHwcTypeDefinition}, + $self->{oacExpIMSysHwcDescription}); +} diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/OneOS/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OneOS/Component/MemSubsystem.pm similarity index 91% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/OneOS/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OneOS/Component/MemSubsystem.pm index 83551c4..e875946 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/OneOS/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OneOS/Component/MemSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::OneOS::Component::MemSubsystem; +package Classes::OneOS::Component::MemSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PaloAlto.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto.pm similarity index 62% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PaloAlto.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto.pm index 27814ba..6fa1703 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PaloAlto.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto.pm @@ -1,12 +1,12 @@ -package CheckNwcHealth::PaloAlto; -our @ISA = qw(CheckNwcHealth::Device); +package Classes::PaloAlto; +our @ISA = qw(Classes::Device); use strict; sub init { my ($self) = @_; if ($self->mode =~ /device::hardware::health/) { - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::ENTITYSENSORMIB::Component::EnvironmentalSubsystem"); - $self->analyze_and_check_environmental_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::EnvironmentalSubsystem"); + $self->analyze_and_check_environmental_subsystem("Classes::ENTITYSENSORMIB::Component::EnvironmentalSubsystem"); + $self->analyze_and_check_environmental_subsystem("Classes::HOSTRESOURCESMIB::Component::EnvironmentalSubsystem"); # entity-state-mib gibts u.u. auch # The entStateTable will have entries for Line Cards, Fan Trays and Power supplies. Since these entities only apply to chassis systems, only PA-7000 series devices will support this MIB. # gibts aber erst, wenn einer die entwicklung zahlt. bis dahin ist es @@ -14,14 +14,14 @@ sub init { } elsif ($self->mode =~ /device::hardware::load/) { # CPU util on management plane # Utilization of CPUs on dataplane that are used for system functions - $self->analyze_and_check_cpu_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::CpuSubsystem"); + $self->analyze_and_check_cpu_subsystem("Classes::HOSTRESOURCESMIB::Component::CpuSubsystem"); } elsif ($self->mode =~ /device::hardware::memory/) { - $self->analyze_and_check_mem_subsystem("CheckNwcHealth::HOSTRESOURCESMIB::Component::MemSubsystem"); + $self->analyze_and_check_mem_subsystem("Classes::HOSTRESOURCESMIB::Component::MemSubsystem"); } elsif ($self->mode =~ /device::ha::/) { - $self->analyze_and_check_ha_subsystem("CheckNwcHealth::PaloAlto::Component::HaSubsystem"); + $self->analyze_and_check_ha_subsystem("Classes::PaloAlto::Component::HaSubsystem"); } elsif ($self->mode =~ /device::lb::session/) { # it's not a load balancer, but session-usage is the best mode here - $self->analyze_and_check_session_subsystem("CheckNwcHealth::PaloAlto::Component::SessionSubsystem"); + $self->analyze_and_check_session_subsystem("Classes::PaloAlto::Component::SessionSubsystem"); } else { $self->no_such_mode(); } diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PaloAlto/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto/Component/CpuSubsystem.pm similarity index 90% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PaloAlto/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto/Component/CpuSubsystem.pm index 7462e42..e20abe8 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PaloAlto/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto/Component/CpuSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::PaloALto::Component::CpuSubsystem; +package Classes::PaloALto::Component::CpuSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PaloAlto/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto/Component/EnvironmentalSubsystem.pm similarity index 71% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PaloAlto/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto/Component/EnvironmentalSubsystem.pm index 411c976..5f075ac 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PaloAlto/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto/Component/EnvironmentalSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::PaloAlto::Component::EnvironmentalSubsystem; +package Classes::PaloAlto::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -11,10 +11,10 @@ die; $self->get_snmp_objects("NETSCREEN-CHASSIS-MIB", (qw( sysBatteryStatus))); $self->get_snmp_tables("NETSCREEN-CHASSIS-MIB", [ - ['fans', 'nsFanTable', 'CheckNwcHealth::PaloAlto::Component::EnvironmentalSubsystem::Fan'], - ['power', 'nsPowerTable', 'CheckNwcHealth::PaloAlto::Component::EnvironmentalSubsystem::Power'], - ['slots', 'nsSlotTable', 'CheckNwcHealth::PaloAlto::Component::EnvironmentalSubsystem::Slot'], - ['temperatures', 'nsTemperatureTable', 'CheckNwcHealth::PaloAlto::Component::EnvironmentalSubsystem::Temperature'], + ['fans', 'nsFanTable', 'Classes::PaloAlto::Component::EnvironmentalSubsystem::Fan'], + ['power', 'nsPowerTable', 'Classes::PaloAlto::Component::EnvironmentalSubsystem::Power'], + ['slots', 'nsSlotTable', 'Classes::PaloAlto::Component::EnvironmentalSubsystem::Slot'], + ['temperatures', 'nsTemperatureTable', 'Classes::PaloAlto::Component::EnvironmentalSubsystem::Temperature'], ]); } @@ -26,7 +26,7 @@ sub check { } -package CheckNwcHealth::PaloAlto::Component::EnvironmentalSubsystem::Fan; +package Classes::PaloAlto::Component::EnvironmentalSubsystem::Fan; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -43,7 +43,7 @@ sub check { } -package CheckNwcHealth::PaloAlto::Component::EnvironmentalSubsystem::Power; +package Classes::PaloAlto::Component::EnvironmentalSubsystem::Power; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -59,7 +59,7 @@ sub check { } -package CheckNwcHealth::PaloAlto::Component::EnvironmentalSubsystem::Slot; +package Classes::PaloAlto::Component::EnvironmentalSubsystem::Slot; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -75,7 +75,7 @@ sub check { } -package CheckNwcHealth::PaloAlto::Component::EnvironmentalSubsystem::Temperature; +package Classes::PaloAlto::Component::EnvironmentalSubsystem::Temperature; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PaloAlto/Component/HaSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto/Component/HaSubsystem.pm similarity index 76% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PaloAlto/Component/HaSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto/Component/HaSubsystem.pm index e40b019..b8429f2 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PaloAlto/Component/HaSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto/Component/HaSubsystem.pm @@ -1,14 +1,16 @@ -package CheckNwcHealth::PaloAlto::Component::HaSubsystem; +package Classes::PaloAlto::Component::HaSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; sub init { my ($self) = @_; + if ($self->mode =~ /device::ha::role/) { $self->get_snmp_objects('PAN-COMMON-MIB', (qw( panSysHAMode panSysHAState panSysHAPeerState))); - if ($self->mode =~ /device::ha::role/ && ! $self->opts->role()) { - $self->opts->override_opt('role', 'active'); + if (! $self->opts->role()) { + $self->opts->override_opt('role', 'active'); + } } } @@ -25,9 +27,7 @@ sub check { defined $self->opts->mitigation() ? $self->opts->mitigation() : WARNING, 'ha was not started'); } else { - if ($self->{panSysHAState} eq "non-functional") { - $self->add_warning(); - } elsif ($self->{panSysHAState} ne $self->opts->role()) { + if ($self->{panSysHAState} ne $self->opts->role()) { $self->add_message( defined $self->opts->mitigation() ? $self->opts->mitigation() : WARNING, $self->{info}); diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PaloAlto/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto/Component/MemSubsystem.pm similarity index 93% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PaloAlto/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto/Component/MemSubsystem.pm index 51e3f01..8892273 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PaloAlto/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto/Component/MemSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::PaloALto::Component::MemSubsystem; +package Classes::PaloALto::Component::MemSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PaloAlto/Component/SessionSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto/Component/SessionSubsystem.pm similarity index 94% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PaloAlto/Component/SessionSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto/Component/SessionSubsystem.pm index d152e69..6bc54e6 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/PaloAlto/Component/SessionSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto/Component/SessionSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::PaloAlto::Component::SessionSubsystem; +package Classes::PaloAlto::Component::SessionSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/RAPIDCITYMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/RAPIDCITYMIB.pm new file mode 100644 index 0000000..6e19322 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/RAPIDCITYMIB.pm @@ -0,0 +1,4 @@ +package Classes::RAPIDCITYMIB; +our @ISA = qw(Classes::Device); +use strict; + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/RAPIDCITYMIB/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/RAPIDCITYMIB/Component/EnvironmentalSubsystem.pm similarity index 67% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/RAPIDCITYMIB/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/RAPIDCITYMIB/Component/EnvironmentalSubsystem.pm index d29d7ea..03e6f9f 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/RAPIDCITYMIB/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/RAPIDCITYMIB/Component/EnvironmentalSubsystem.pm @@ -1,15 +1,15 @@ -package CheckNwcHealth::RAPIDCITYMIB::Component::EnvironmentalSubsystem; +package Classes::RAPIDCITYMIB::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->{powersupply_subsystem} = - CheckNwcHealth::RAPIDCITYMIB::Component::PowersupplySubsystem->new(); + Classes::RAPIDCITYMIB::Component::PowersupplySubsystem->new(); $self->{fan_subsystem} = - CheckNwcHealth::RAPIDCITYMIB::Component::FanSubsystem->new(); + Classes::RAPIDCITYMIB::Component::FanSubsystem->new(); $self->{temperature_subsystem} = - CheckNwcHealth::RAPIDCITYMIB::Component::TemperatureSubsystem->new(); + Classes::RAPIDCITYMIB::Component::TemperatureSubsystem->new(); } sub check { diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/RAPIDCITYMIB/Component/FanSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/RAPIDCITYMIB/Component/FanSubsystem.pm similarity index 66% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/RAPIDCITYMIB/Component/FanSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/RAPIDCITYMIB/Component/FanSubsystem.pm index 692649d..e774291 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/RAPIDCITYMIB/Component/FanSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/RAPIDCITYMIB/Component/FanSubsystem.pm @@ -1,16 +1,16 @@ -package CheckNwcHealth::RAPIDCITYMIB::Component::FanSubsystem; +package Classes::RAPIDCITYMIB::Component::FanSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('FOUNDRY-SN-AGENT-MIB', [ - ['fans', 'snChasFanTable', 'CheckNwcHealth::RAPIDCITYMIB::Component::FanSubsystem::Fan'], + ['fans', 'snChasFanTable', 'Classes::RAPIDCITYMIB::Component::FanSubsystem::Fan'], ]); } -package CheckNwcHealth::RAPIDCITYMIB::Component::FanSubsystem::Fan; +package Classes::RAPIDCITYMIB::Component::FanSubsystem::Fan; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/RAPIDCITYMIB/Component/PowersupplySubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/RAPIDCITYMIB/Component/PowersupplySubsystem.pm similarity index 62% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/RAPIDCITYMIB/Component/PowersupplySubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/RAPIDCITYMIB/Component/PowersupplySubsystem.pm index 700a07d..73f58d5 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/RAPIDCITYMIB/Component/PowersupplySubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/RAPIDCITYMIB/Component/PowersupplySubsystem.pm @@ -1,16 +1,16 @@ -package CheckNwcHealth::RAPIDCITYMIB::Component::PowersupplySubsystem; +package Classes::RAPIDCITYMIB::Component::PowersupplySubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('FOUNDRY-SN-AGENT-MIB', [ - ['powersupplies', 'snChasPwrSupplyTable', 'CheckNwcHealth::RAPIDCITYMIB::Component::PowersupplySubsystem::Powersupply'], + ['powersupplies', 'snChasPwrSupplyTable', 'Classes::RAPIDCITYMIB::Component::PowersupplySubsystem::Powersupply'], ]); } -package CheckNwcHealth::RAPIDCITYMIB::Component::PowersupplySubsystem::Powersupply; +package Classes::RAPIDCITYMIB::Component::PowersupplySubsystem::Powersupply; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/RAPIDCITYMIB/Component/TemperatureSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/RAPIDCITYMIB/Component/TemperatureSubsystem.pm similarity index 74% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/RAPIDCITYMIB/Component/TemperatureSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/RAPIDCITYMIB/Component/TemperatureSubsystem.pm index b2a807f..a574735 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/RAPIDCITYMIB/Component/TemperatureSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/RAPIDCITYMIB/Component/TemperatureSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::RAPIDCITYMIB::Component::TemperatureSubsystem; +package Classes::RAPIDCITYMIB::Component::TemperatureSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -6,7 +6,7 @@ sub init { my ($self) = @_; my $temp = 0; $self->get_snmp_tables('FOUNDRY-SN-AGENT-MIB', [ - ['temperatures', 'snAgentTempTable', 'CheckNwcHealth::RAPIDCITYMIB::Component::TemperatureSubsystem::Temperature'], + ['temperatures', 'snAgentTempTable', 'Classes::RAPIDCITYMIB::Component::TemperatureSubsystem::Temperature'], ]); foreach(@{$self->{temperatures}}) { $_->{snAgentTempSlotNum} ||= $temp++; @@ -15,7 +15,7 @@ sub init { } -package CheckNwcHealth::RAPIDCITYMIB::Component::TemperatureSubsystem::Temperature; +package Classes::RAPIDCITYMIB::Component::TemperatureSubsystem::Temperature; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Riverbed.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Riverbed.pm new file mode 100644 index 0000000..4d49559 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Riverbed.pm @@ -0,0 +1,20 @@ +package Classes::Riverbed; +our @ISA = qw(Classes::Device); +use strict; + +sub init { + my ($self) = @_; + if ($self->implements_mib('STEELHEAD-MIB')) { + bless $self, 'Classes::Riverbed::Steelhead'; + $self->debug('using Classes::Riverbed::Steelhead'); + } elsif ($self->implements_mib('STEELHEAD-EX-MIB')) { + bless $self, 'Classes::Riverbed::SteelheadEX'; + $self->debug('using Classes::Riverbed::SteelheadEX'); + } + if (ref($self) ne "Classes::Riverbed") { + $self->init(); + } else { + $self->no_such_mode(); + } +} + diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Riverbed/Steelhead.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Riverbed/Steelhead.pm new file mode 100644 index 0000000..b6727c3 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Riverbed/Steelhead.pm @@ -0,0 +1,38 @@ +package Classes::Riverbed::Steelhead; +our @ISA = qw(Classes::Device); +use strict; + + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::Riverbed::Steelhead::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::Server::Linux::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::disk::usage/) { + $self->analyze_and_check_disk_subsystem("Classes::UCDMIB::Component::DiskSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::Server::Linux::Component::MemSubsystem"); + } elsif ($self->mode =~ /device::process::status/) { + $self->analyze_and_check_process_subsystem("Classes::UCDMIB::Component::ProcessSubsystem"); + } elsif ($self->mode =~ /device::uptime/) { + $self->analyze_and_check_uptime_subsystem("Classes::HOSTRESOURCESMIB::Component::UptimeSubsystem"); + } else { + $self->no_such_mode(); + } +} + + +package Classes::Riverbed::SteelheadEX; +our @ISA = qw(Classes::Riverbed::Steelhead); +use strict; + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::Riverbed::SteelheadEX::Component::EnvironmentalSubsystem"); + } else { + $self->SUPER::init(); + } +} + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Riverbed/Steelhead/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Riverbed/Steelhead/Component/EnvironmentalSubsystem.pm similarity index 91% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Riverbed/Steelhead/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Riverbed/Steelhead/Component/EnvironmentalSubsystem.pm index 2d03f26..ec75a56 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Riverbed/Steelhead/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Riverbed/Steelhead/Component/EnvironmentalSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::Riverbed::Steelhead::Component::EnvironmentalSubsystem; +package Classes::Riverbed::Steelhead::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Riverbed/SteelheadEX/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Riverbed/SteelheadEX/Component/EnvironmentalSubsystem.pm similarity index 58% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Riverbed/SteelheadEX/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Riverbed/SteelheadEX/Component/EnvironmentalSubsystem.pm index 045dae5..51d9700 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Riverbed/SteelheadEX/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Riverbed/SteelheadEX/Component/EnvironmentalSubsystem.pm @@ -1,5 +1,5 @@ -package CheckNwcHealth::Riverbed::SteelheadEX::Component::EnvironmentalSubsystem; -our @ISA = qw(CheckNwcHealth::Riverbed::Steelhead::Component::EnvironmentalSubsystem); +package Classes::Riverbed::SteelheadEX::Component::EnvironmentalSubsystem; +our @ISA = qw(Classes::Riverbed::Steelhead::Component::EnvironmentalSubsystem); use strict; sub init { diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS.pm new file mode 100644 index 0000000..024864c --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS.pm @@ -0,0 +1,21 @@ +package Classes::SGOS; +our @ISA = qw(Classes::Bluecoat); +use strict; + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::SGOS::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::SGOS::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::SGOS::Component::MemSubsystem"); + } elsif ($self->mode =~ /device::security/) { + $self->analyze_and_check_security_subsystem("Classes::SGOS::Component::SecuritySubsystem"); + } elsif ($self->mode =~ /device::(users|connections)::(count|check)/) { + $self->analyze_and_check_connection_subsystem("Classes::SGOS::Component::ConnectionSubsystem"); + } else { + $self->no_such_mode(); + } +} + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/SGOS/Component/ConnectionSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/ConnectionSubsystem.pm similarity index 97% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/SGOS/Component/ConnectionSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/ConnectionSubsystem.pm index 15c62b3..6b40f8a 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/SGOS/Component/ConnectionSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/ConnectionSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::SGOS::Component::ConnectionSubsystem; +package Classes::SGOS::Component::ConnectionSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/SGOS/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/CpuSubsystem.pm similarity index 79% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/SGOS/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/CpuSubsystem.pm index c8dceee..0240395 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/SGOS/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/CpuSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::SGOS::Component::CpuSubsystem; +package Classes::SGOS::Component::CpuSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -8,16 +8,16 @@ sub init { # The new OID is defined as a table 1.3.6.1.4.1.3417.2.11.2.4.1 in the BLUECOAT-SG-PROXY-MIB file with the following sub-OIDs. # https://kb.bluecoat.com/index?page=content&id=FAQ1244&actp=search&viewlocale=en_US&searchid=1360452047002 $self->get_snmp_tables('BLUECOAT-SG-PROXY-MIB', [ - ['cpus', 'sgProxyCpuCoreTable', 'CheckNwcHealth::SGOS::Component::CpuSubsystem::Cpu'], + ['cpus', 'sgProxyCpuCoreTable', 'Classes::SGOS::Component::CpuSubsystem::Cpu'], ]); if (scalar (@{$self->{cpus}}) == 0) { $self->get_snmp_tables('USAGE-MIB', [ - ['cpus', 'deviceUsageTable', 'CheckNwcHealth::SGOS::Component::CpuSubsystem::DevCpu', sub { return shift->{deviceUsageName} =~ /CPU/ }], + ['cpus', 'deviceUsageTable', 'Classes::SGOS::Component::CpuSubsystem::DevCpu', sub { return shift->{deviceUsageName} =~ /CPU/ }], ]); } } -package CheckNwcHealth::SGOS::Component::CpuSubsystem::Cpu; +package Classes::SGOS::Component::CpuSubsystem::Cpu; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -35,7 +35,7 @@ sub check { } -package CheckNwcHealth::SGOS::Component::CpuSubsystem::DevCpu; +package Classes::SGOS::Component::CpuSubsystem::DevCpu; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/SGOS/Component/DiskSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/DiskSubsystem.pm similarity index 76% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/SGOS/Component/DiskSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/DiskSubsystem.pm index 06420d5..9099314 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/SGOS/Component/DiskSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/DiskSubsystem.pm @@ -1,14 +1,14 @@ -package CheckNwcHealth::SGOS::Component::DiskSubsystem; +package Classes::SGOS::Component::DiskSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('DISK-MIB', [ - ['disks', 'deviceDiskValueTable', 'CheckNwcHealth::SGOS::Component::DiskSubsystem::Disk'], + ['disks', 'deviceDiskValueTable', 'Classes::SGOS::Component::DiskSubsystem::Disk'], ]); $self->get_snmp_tables('USAGE-MIB', [ - ['filesystems', 'deviceUsageTable', 'CheckNwcHealth::SGOS::Component::DiskSubsystem::FS', sub { return lc shift->{deviceUsageName} eq 'disk' }], + ['filesystems', 'deviceUsageTable', 'Classes::SGOS::Component::DiskSubsystem::FS', sub { return lc shift->{deviceUsageName} eq 'disk' }], ]); my $fs = 0; foreach (@{$self->{filesystems}}) { @@ -17,7 +17,7 @@ sub init { } -package CheckNwcHealth::SGOS::Component::DiskSubsystem::Disk; +package Classes::SGOS::Component::DiskSubsystem::Disk; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; @@ -34,7 +34,7 @@ sub check { } -package CheckNwcHealth::SGOS::Component::DiskSubsystem::FS; +package Classes::SGOS::Component::DiskSubsystem::FS; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/SGOS/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/EnvironmentalSubsystem.pm similarity index 71% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/SGOS/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/EnvironmentalSubsystem.pm index 9c5cb49..0c2543f 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/SGOS/Component/EnvironmentalSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/EnvironmentalSubsystem.pm @@ -1,13 +1,13 @@ -package CheckNwcHealth::SGOS::Component::EnvironmentalSubsystem; +package Classes::SGOS::Component::EnvironmentalSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->{sensor_subsystem} = - CheckNwcHealth::SGOS::Component::SensorSubsystem->new(); + Classes::SGOS::Component::SensorSubsystem->new(); $self->{disk_subsystem} = - CheckNwcHealth::SGOS::Component::DiskSubsystem->new(); + Classes::SGOS::Component::DiskSubsystem->new(); } sub check { diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/SGOS/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/MemSubsystem.pm similarity index 95% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/SGOS/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/MemSubsystem.pm index 6980aa4..92c7466 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/SGOS/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/MemSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::SGOS::Component::MemSubsystem; +package Classes::SGOS::Component::MemSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/SGOS/Component/SecuritySubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/SecuritySubsystem.pm similarity index 84% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/SGOS/Component/SecuritySubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/SecuritySubsystem.pm index cdb55f9..f3651e5 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/SGOS/Component/SecuritySubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/SecuritySubsystem.pm @@ -1,11 +1,11 @@ -package CheckNwcHealth::SGOS::Component::SecuritySubsystem; +package Classes::SGOS::Component::SecuritySubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('ATTACK-MIB', [ - ['attacks', 'deviceAttackTable', 'CheckNwcHealth::SGOS::Component::SecuritySubsystem::Attack' ], + ['attacks', 'deviceAttackTable', 'Classes::SGOS::Component::SecuritySubsystem::Attack' ], ]); } @@ -27,7 +27,7 @@ sub check { } -package CheckNwcHealth::SGOS::Component::SecuritySubsystem::Attack; +package Classes::SGOS::Component::SecuritySubsystem::Attack; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/SGOS/Component/SensorSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/SensorSubsystem.pm similarity index 93% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/SGOS/Component/SensorSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/SensorSubsystem.pm index adc3272..c7530c0 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/SGOS/Component/SensorSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/SensorSubsystem.pm @@ -1,11 +1,11 @@ -package CheckNwcHealth::SGOS::Component::SensorSubsystem; +package Classes::SGOS::Component::SensorSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('SENSOR-MIB', [ - ['sensors', 'deviceSensorValueTable', 'CheckNwcHealth::SGOS::Component::SensorSubsystem::Sensor'], + ['sensors', 'deviceSensorValueTable', 'Classes::SGOS::Component::SensorSubsystem::Sensor'], ]); } @@ -52,7 +52,7 @@ sub check { } -package CheckNwcHealth::SGOS::Component::SensorSubsystem::Sensor; +package Classes::SGOS::Component::SensorSubsystem::Sensor; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SecureOS.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SecureOS.pm new file mode 100644 index 0000000..1b482a7 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SecureOS.pm @@ -0,0 +1,23 @@ +package Classes::SecureOS; +our @ISA = qw(Classes::Device); +use strict; + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + # not sure if this works fa25239716cb74c672f8dd390430dc4056caffa7 + if ($self->implements_mib('FCMGMT-MIB')) { + $self->analyze_and_check_environmental_subsystem("Classes::FCMGMT::Component::EnvironmentalSubsystem"); + } + if ($self->implements_mib('HOST-RESOURCES-MIB')) { + $self->analyze_and_check_environmental_subsystem("Classes::HOSTRESOURCESMIB::Component::EnvironmentalSubsystem"); + } + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::UCDMIB::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::UCDMIB::Component::MemSubsystem"); + } else { + $self->no_such_mode(); + } +} + diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/Linux.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/Linux.pm new file mode 100644 index 0000000..a7b78df --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/Linux.pm @@ -0,0 +1,23 @@ +package Classes::Server::Linux; +our @ISA = qw(Classes::Device); +use strict; + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::Server::Linux::Component::EnvironmentalSubsystem") + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::Server::Linux::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::disk::usage/) { + $self->analyze_and_check_disk_subsystem("Classes::UCDMIB::Component::DiskSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::Server::Linux::Component::MemSubsystem"); + } elsif ($self->mode =~ /device::process::status/) { + $self->analyze_and_check_process_subsystem("Classes::UCDMIB::Component::ProcessSubsystem"); + } elsif ($self->mode =~ /device::uptime/ && $self->implements_mib("HOST-RESOURCES-MIB")) { + $self->analyze_and_check_uptime_subsystem("Classes::HOSTRESOURCESMIB::Component::UptimeSubsystem"); + } else { + $self->no_such_mode(); + } +} + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Server/Linux/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/Linux/Component/CpuSubsystem.pm similarity index 64% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Server/Linux/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/Linux/Component/CpuSubsystem.pm index bbd235d..9dd3d65 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Server/Linux/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/Linux/Component/CpuSubsystem.pm @@ -1,5 +1,5 @@ -package CheckNwcHealth::Server::Linux::Component::CpuSubsystem; -our @ISA = qw(CheckNwcHealth::Server::Linux); +package Classes::Server::Linux::Component::CpuSubsystem; +our @ISA = qw(Classes::Server::Linux); use strict; sub new { @@ -13,9 +13,9 @@ sub new { sub init { my ($self) = @_; $self->{cpu_subsystem} = - CheckNwcHealth::UCDMIB::Component::CpuSubsystem->new(); + Classes::UCDMIB::Component::CpuSubsystem->new(); $self->{load_subsystem} = - CheckNwcHealth::UCDMIB::Component::LoadSubsystem->new(); + Classes::UCDMIB::Component::LoadSubsystem->new(); } sub check { diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/Linux/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/Linux/Component/EnvironmentalSubsystem.pm new file mode 100644 index 0000000..d541bfe --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/Linux/Component/EnvironmentalSubsystem.pm @@ -0,0 +1,36 @@ +package Classes::Server::Linux::Component::EnvironmentalSubsystem; +our @ISA = qw(Classes::Server::Linux); +use strict; + +sub new { + my ($class) = @_; + my $self = {}; + bless $self, $class; + $self->init(); + return $self; +} + +sub init { + my ($self) = @_; + $self->{fan_subsystem} = + Classes::LMSENSORSMIB::Component::FanSubsystem->new(); + $self->{temperature_subsystem} = + Classes::LMSENSORSMIB::Component::TemperatureSubsystem->new(); +} + +sub check { + my ($self) = @_; + $self->{fan_subsystem}->check(); + $self->{temperature_subsystem}->check(); + if (! $self->check_messages()) { + $self->add_ok("environmental hardware working fine"); + } +} + +sub dump { + my ($self) = @_; + $self->{fan_subsystem}->dump(); + $self->{temperature_subsystem}->dump(); +} + +1; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Server/Linux/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/Linux/Component/MemSubsystem.pm similarity index 64% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Server/Linux/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/Linux/Component/MemSubsystem.pm index b07df14..8cdf0d3 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Server/Linux/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/Linux/Component/MemSubsystem.pm @@ -1,5 +1,5 @@ -package CheckNwcHealth::Server::Linux::Component::MemSubsystem; -our @ISA = qw(CheckNwcHealth::Server::Linux); +package Classes::Server::Linux::Component::MemSubsystem; +our @ISA = qw(Classes::Server::Linux); use strict; sub new { @@ -13,9 +13,9 @@ sub new { sub init { my ($self) = @_; $self->{mem_subsystem} = - CheckNwcHealth::UCDMIB::Component::MemSubsystem->new(); + Classes::UCDMIB::Component::MemSubsystem->new(); $self->{swap_subsystem} = - CheckNwcHealth::UCDMIB::Component::SwapSubsystem->new(); + Classes::UCDMIB::Component::SwapSubsystem->new(); } sub check { diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Server/LinuxLocal.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/LinuxLocal.pm similarity index 97% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Server/LinuxLocal.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/LinuxLocal.pm index 1e773bb..7e322c4 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Server/LinuxLocal.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/LinuxLocal.pm @@ -1,5 +1,5 @@ package Server::LinuxLocal; -our @ISA = qw(CheckNwcHealth::Device); +our @ISA = qw(Classes::Device); use strict; @@ -96,7 +96,7 @@ sub check { package Server::LinuxLocal::Component::InterfaceSubsystem::Interface; -our @ISA = qw(CheckNwcHealth::IFMIB::Component::InterfaceSubsystem::Interface); +our @ISA = qw(Classes::IFMIB::Component::InterfaceSubsystem::Interface); use strict; sub finish { diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Server/SolarisLocal.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/SolarisLocal.pm similarity index 99% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Server/SolarisLocal.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/SolarisLocal.pm index ee2ef9b..2b25047 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Server/SolarisLocal.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/SolarisLocal.pm @@ -1,5 +1,5 @@ package Server::SolarisLocal; -our @ISA = qw(CheckNwcHealth::Device); +our @ISA = qw(Classes::Device); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Server/WindowsLocal.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/WindowsLocal.pm similarity index 98% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Server/WindowsLocal.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/WindowsLocal.pm index 77564b8..f164533 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/Server/WindowsLocal.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/WindowsLocal.pm @@ -1,5 +1,5 @@ package Server::WindowsLocal; -our @ISA = qw(CheckNwcHealth::Device); +our @ISA = qw(Classes::Device); use strict; @@ -185,7 +185,7 @@ sub check { package Server::WindowsLocal::Component::InterfaceSubsystem::Interface; -our @ISA = qw(CheckNwcHealth::IFMIB::Component::InterfaceSubsystem::Interface); +our @ISA = qw(Classes::IFMIB::Component::InterfaceSubsystem::Interface); use strict; sub finish { diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB.pm new file mode 100644 index 0000000..7327862 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB.pm @@ -0,0 +1,24 @@ +package Classes::UCDMIB; +our @ISA = qw(Classes::Device); +use strict; + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::UCDMIB::Component::DiskSubsystem"); + $self->analyze_and_check_environmental_subsystem("Classes::LMSENSORSMIB::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::UCDMIB::Component::CpuSubsystem"); + $self->analyze_and_check_load_subsystem("Classes::UCDMIB::Component::LoadSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::UCDMIB::Component::MemSubsystem"); + $self->analyze_and_check_swap_subsystem("Classes::UCDMIB::Component::SwapSubsystem"); + } elsif ($self->mode =~ /device::process::status/) { + $self->analyze_and_check_process_subsystem("Classes::UCDMIB::Component::ProcessSubsystem"); + } elsif ($self->mode =~ /device::uptime/ && $self->implements_mib("HOST-RESOURCES-MIB")) { + $self->analyze_and_check_uptime_subsystem("Classes::HOSTRESOURCESMIB::Component::UptimeSubsystem"); + } else { + $self->no_such_mode(); + } +} + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UCDMIB/Components/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/CpuSubsystem.pm similarity index 94% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UCDMIB/Components/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/CpuSubsystem.pm index 4bc74d0..8d242f6 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UCDMIB/Components/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/CpuSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::UCDMIB::Component::CpuSubsystem; +package Classes::UCDMIB::Component::CpuSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -63,8 +63,8 @@ sub check { $self->{$key}); $self->set_thresholds( metric => $key, - warning => $_ eq "wait" ? 10 : 80, - critical => $_ eq "wait" ? 25 : 90); + warning => 50, + critical => 90); $self->add_message($self->check_thresholds( metric => $key, value => $self->{$key})); diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UCDMIB/Components/DiskSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/DiskSubsystem.pm similarity index 89% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UCDMIB/Components/DiskSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/DiskSubsystem.pm index eaf95e5..48fc91e 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UCDMIB/Components/DiskSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/DiskSubsystem.pm @@ -1,11 +1,11 @@ -package CheckNwcHealth::UCDMIB::Component::DiskSubsystem; +package Classes::UCDMIB::Component::DiskSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('UCD-SNMP-MIB', [ - ['disks', 'dskTable', 'CheckNwcHealth::UCDMIB::Component::DiskSubsystem::Disk', + ['disks', 'dskTable', 'Classes::UCDMIB::Component::DiskSubsystem::Disk', sub { my ($self) = @_; # limit disk checks to specific disks. could be improvied by @@ -19,11 +19,8 @@ sub init { split ',', $self->opts->name; } } else { - return $self->{dskTotal} && ( - $self->{dskDevice} !~ /^(sysfs|proc|udev|devpts|rpc_pipefs|nfsd|devfs)$/ and - $self->{dskDevice} !~ /^(\/run\/k3s\/containerd\/.*\/sandboxes\/.*)$/ and - $self->{dskDevice} !~ /^(\/var\/lib\/kubelet\/pods\/.*\/volumes\/.*)$/ - ); + return $self->{dskTotal} && + $self->{dskDevice} !~ /^(sysfs|proc|udev|devpts|rpc_pipefs|nfsd|devfs)$/; } } ], @@ -42,7 +39,7 @@ sub check { } } -package CheckNwcHealth::UCDMIB::Component::DiskSubsystem::Disk; +package Classes::UCDMIB::Component::DiskSubsystem::Disk; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UCDMIB/Components/LoadSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/LoadSubsystem.pm similarity index 64% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UCDMIB/Components/LoadSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/LoadSubsystem.pm index 6458f7a..324c6b2 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UCDMIB/Components/LoadSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/LoadSubsystem.pm @@ -1,19 +1,11 @@ -package CheckNwcHealth::UCDMIB::Component::LoadSubsystem; +package Classes::UCDMIB::Component::LoadSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; - $self->get_snmp_objects('UCD-SNMP-MIB', (qw( - ssCpuNumCpus))); - if (! $self->{ssCpuNumCpus}) { - $self->get_snmp_tables('HOST-RESOURCES-MIB', [ - ['cpus', 'hrProcessorTable', 'CheckNwcHealth::HOSTRESOURCESMIB::Component::CpuSubsystem::Cpu'], - ]); - $self->{ssCpuNumCpus} = scalar(@{$self->{cpus}}) if scalar(@{$self->{cpus}}); - } $self->get_snmp_tables('UCD-SNMP-MIB', [ - ['loads', 'laTable', 'CheckNwcHealth::UCDMIB::Component::LoadSubsystem::Load'], + ['loads', 'laTable', 'Classes::UCDMIB::Component::LoadSubsystem::Load'], ]); } @@ -21,7 +13,6 @@ sub check { my ($self) = @_; $self->add_info('checking loads'); foreach (@{$self->{loads}}) { - $_->{ssCpuNumCpus} = $self->{ssCpuNumCpus} if $self->{ssCpuNumCpus}; $_->check(); } } @@ -34,7 +25,7 @@ sub dump { } -package CheckNwcHealth::UCDMIB::Component::LoadSubsystem::Load; +package Classes::UCDMIB::Component::LoadSubsystem::Load; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; use Data::Dumper; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UCDMIB/Components/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/MemSubsystem.pm similarity index 74% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UCDMIB/Components/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/MemSubsystem.pm index 5f06550..45424e0 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UCDMIB/Components/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/MemSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::UCDMIB::Component::MemSubsystem; +package Classes::UCDMIB::Component::MemSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; @@ -7,15 +7,11 @@ sub init { $self->get_snmp_objects('UCD-SNMP-MIB', (qw( memTotalSwap memTotalReal memTotalFree memAvailReal memBuffer memCached memShared))); + # basically buffered memory can always be freed up (filesystem cache) # https://kc.mcafee.com/corporate/index?page=content&id=KB73175 - # 16.6.21 memShared fliegt raus, das zaehlt ab jetzt nicht mehr zu - # potentiell freizukriegendem Speicher. Mir scheissegal, ob das Ergebnis - # dann stimmt. Nach 10 Jahren Rumgefrickel habe ich es satt, ab jetzt wird - # das alles so hingebastelt, daß ich so wenige Tickets wie moeglich - # auf den Tisch bekomme. my $mem_available = $self->{memAvailReal}; - foreach (qw(memBuffer memCached)) { + foreach (qw(memBuffer memCached memShared)) { $mem_available += $self->{$_} if defined($self->{$_}); } diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UCDMIB/Components/ProcessSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/ProcessSubsystem.pm similarity index 89% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UCDMIB/Components/ProcessSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/ProcessSubsystem.pm index 67470eb..d9c8219 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UCDMIB/Components/ProcessSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/ProcessSubsystem.pm @@ -1,11 +1,11 @@ -package CheckNwcHealth::UCDMIB::Component::ProcessSubsystem; +package Classes::UCDMIB::Component::ProcessSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; sub init { my ($self) = @_; $self->get_snmp_tables('UCD-SNMP-MIB', [ - ['processes', 'prTable', 'CheckNwcHealth::UCDMIB::Component::ProcessSubsystem::Process', + ['processes', 'prTable', 'Classes::UCDMIB::Component::ProcessSubsystem::Process', sub { my ($self) = @_; # limit process checks to specific names. could be improvied by @@ -38,7 +38,7 @@ sub check { } } -package CheckNwcHealth::UCDMIB::Component::ProcessSubsystem::Process; +package Classes::UCDMIB::Component::ProcessSubsystem::Process; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UCDMIB/Components/SwapSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/SwapSubsystem.pm similarity index 96% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UCDMIB/Components/SwapSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/SwapSubsystem.pm index 953d0eb..3cf95e5 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UCDMIB/Components/SwapSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/SwapSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::UCDMIB::Component::SwapSubsystem; +package Classes::UCDMIB::Component::SwapSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use strict; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UPNP.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UPNP.pm new file mode 100644 index 0000000..eacc275 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UPNP.pm @@ -0,0 +1,4 @@ +package Classes::UPNP; +our @ISA = qw(Classes::Device); +use strict; + diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UPNP/AVM.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UPNP/AVM.pm new file mode 100644 index 0000000..b048b04 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UPNP/AVM.pm @@ -0,0 +1,16 @@ +package Classes::UPNP::AVM; +our @ISA = qw(Classes::UPNP); +use strict; + +sub init { + my ($self) = @_; + if ($self->{productname} =~ /(7390|7490|7580|7590|6490|7412)/) { + $self->rebless('Classes::UPNP::AVM::FritzBox7390'); + } else { + $self->no_such_model(); + } + if (ref($self) ne "Classes::UPNP::AVM") { + $self->init(); + } +} + diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UPNP/AVM/FritzBox7390.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UPNP/AVM/FritzBox7390.pm similarity index 93% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UPNP/AVM/FritzBox7390.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UPNP/AVM/FritzBox7390.pm index a5c7fd5..ffc1e1d 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UPNP/AVM/FritzBox7390.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UPNP/AVM/FritzBox7390.pm @@ -1,5 +1,5 @@ -package CheckNwcHealth::UPNP::AVM::FritzBox7390; -our @ISA = qw(CheckNwcHealth::UPNP::AVM); +package Classes::UPNP::AVM::FritzBox7390; +our @ISA = qw(Classes::UPNP::AVM); use strict; { @@ -8,7 +8,7 @@ use strict; sub sid : lvalue { my ($self) = @_; - $CheckNwcHealth::UPNP::AVM::FritzBox7390::sid; + $Classes::UPNP::AVM::FritzBox7390::sid; } sub init { @@ -32,10 +32,10 @@ sub init { $self->analyze_mem_subsystem(); $self->check_mem_subsystem(); } elsif ($self->mode =~ /device::interfaces/) { - $self->analyze_and_check_interface_subsystem("CheckNwcHealth::UPNP::AVM::FritzBox7390::Component::InterfaceSubsystem"); + $self->analyze_and_check_interface_subsystem("Classes::UPNP::AVM::FritzBox7390::Component::InterfaceSubsystem"); } elsif ($self->mode =~ /device::smarthome/) { $self->login(); - $self->analyze_and_check_smarthome_subsystem("CheckNwcHealth::UPNP::AVM::FritzBox7390::Component::SmartHomeSubsystem"); + $self->analyze_and_check_smarthome_subsystem("Classes::UPNP::AVM::FritzBox7390::Component::SmartHomeSubsystem"); } else { $self->no_such_mode(); } diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UPNP/AVM/FritzBox7390/Components/InterfaceSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UPNP/AVM/FritzBox7390/Components/InterfaceSubsystem.pm similarity index 97% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UPNP/AVM/FritzBox7390/Components/InterfaceSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UPNP/AVM/FritzBox7390/Components/InterfaceSubsystem.pm index d1f4068..88f04e9 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UPNP/AVM/FritzBox7390/Components/InterfaceSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UPNP/AVM/FritzBox7390/Components/InterfaceSubsystem.pm @@ -1,5 +1,5 @@ -package CheckNwcHealth::UPNP::AVM::FritzBox7390::Component::InterfaceSubsystem; -our @ISA = qw(CheckNwcHealth::IFMIB::Component::InterfaceSubsystem); +package Classes::UPNP::AVM::FritzBox7390::Component::InterfaceSubsystem; +our @ISA = qw(Classes::IFMIB::Component::InterfaceSubsystem); use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UPNP/AVM/FritzBox7390/Components/SmartHomeSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UPNP/AVM/FritzBox7390/Components/SmartHomeSubsystem.pm similarity index 84% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UPNP/AVM/FritzBox7390/Components/SmartHomeSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UPNP/AVM/FritzBox7390/Components/SmartHomeSubsystem.pm index 6c0087b..670d69a 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/UPNP/AVM/FritzBox7390/Components/SmartHomeSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UPNP/AVM/FritzBox7390/Components/SmartHomeSubsystem.pm @@ -1,8 +1,6 @@ -package CheckNwcHealth::UPNP::AVM::FritzBox7390::Component::SmartHomeSubsystem; -our @ISA = qw(Monitoring::GLPlugin::SNMP::Item CheckNwcHealth::UPNP::AVM::FritzBox7390); +package Classes::UPNP::AVM::FritzBox7390::Component::SmartHomeSubsystem; +our @ISA = qw(Monitoring::GLPlugin::SNMP::Item Classes::UPNP::AVM::FritzBox7390); use strict; -use JSON; -use File::Slurp qw(read_file); sub init { my ($self) = @_; @@ -22,7 +20,7 @@ sub init { functionbitmask => $self->{device_cache}->{$ain}->{functionbitmask}, ); push(@{$self->{smart_home_devices}}, - CheckNwcHealth::UPNP::AVM::FritzBox7390::Component::SmartHomeSubsystem::Device->new(%tmp_dev)); + Classes::UPNP::AVM::FritzBox7390::Component::SmartHomeSubsystem::Device->new(%tmp_dev)); } } } @@ -75,14 +73,11 @@ sub save_device_cache { my $statefile = $self->create_device_cache_file(); my $tmpfile = $self->statefilesdir().'/check_nwc_health_tmp_'.$$; my $fh = IO::File->new(); - if ($fh->open($tmpfile, "w")) { - my $coder = JSON::XS->new->ascii->pretty->allow_nonref; - my $jsonscalar = $coder->encode($self->{device_cache}); - $fh->print($jsonscalar); - $fh->flush(); - $fh->close(); - } - rename $tmpfile, $statefile; + $fh->open(">$tmpfile"); + $fh->print(Data::Dumper::Dumper($self->{device_cache})); + $fh->flush(); + $fh->close(); + my $ren = rename $tmpfile, $statefile; $self->debug(sprintf "saved %s to %s", Data::Dumper::Dumper($self->{device_cache}), $statefile); } @@ -91,23 +86,26 @@ sub load_device_cache { my ($self) = @_; my $statefile = $self->create_device_cache_file(); if ( -f $statefile) { - my $jsonscalar = read_file($statefile); our $VAR1; eval { - my $coder = JSON::XS->new->ascii->pretty->allow_nonref; - $VAR1 = $coder->decode($jsonscalar); + require $statefile; }; if($@) { - $self->debug(sprintf "json load from %s failed. fallback", $statefile); - delete $INC{$statefile} if exists $INC{$statefile}; # else unit tests fail - eval "$jsonscalar"; - if($@) { - printf "FATAL: Could not load cache in perl format!\n"; - $self->debug(sprintf "fallback perl load from %s failed", $statefile); - } + printf "FATAL: Could not load cache!\n"; } $self->debug(sprintf "load %s", Data::Dumper::Dumper($VAR1)); $self->{device_cache} = $VAR1; + eval { + foreach (keys %{$self->{device_cache}}) { + /^[\d\s]+$/ || die "newrelease"; + } + }; + if($@) { + $self->{device_cache} = {}; + unlink $statefile; + delete $INC{$statefile}; + $self->update_device_cache(1); + } } } @@ -141,8 +139,8 @@ sub get_device_indices { } -package CheckNwcHealth::UPNP::AVM::FritzBox7390::Component::SmartHomeSubsystem::Device; -our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem CheckNwcHealth::UPNP::AVM::FritzBox7390::Component::SmartHomeSubsystem); +package Classes::UPNP::AVM::FritzBox7390::Component::SmartHomeSubsystem::Device; +our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem Classes::UPNP::AVM::FritzBox7390::Component::SmartHomeSubsystem); use strict; sub finish { diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/VRRPMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/VRRPMIB.pm new file mode 100644 index 0000000..fa6f318 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/VRRPMIB.pm @@ -0,0 +1,3 @@ +package Classes::VRRPMIB; +our @ISA = qw(Classes::Device); +use strict; diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/VRRPMIB/Component/VRRPSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/VRRPMIB/Component/VRRPSubsystem.pm similarity index 94% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/VRRPMIB/Component/VRRPSubsystem.pm rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/VRRPMIB/Component/VRRPSubsystem.pm index 4ebdbf4..db677a4 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/CheckNwcHealth/VRRPMIB/Component/VRRPSubsystem.pm +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/VRRPMIB/Component/VRRPSubsystem.pm @@ -1,4 +1,4 @@ -package CheckNwcHealth::VRRPMIB::Component::VRRPSubsystem; +package Classes::VRRPMIB::Component::VRRPSubsystem; our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); use Data::Dumper; use strict; @@ -22,7 +22,7 @@ sub init { my $key = $entry{indices}->[0].".".$entry{indices}->[1]; $entry{'vrrpAssocIpAddr'} = defined $self->{assoc}{$key} ? $self->{assoc}{$key} : []; - my $group = CheckNwcHealth::VRRPMIB::Component::VRRPSubsystem::Group->new(%entry); + my $group = Classes::VRRPMIB::Component::VRRPSubsystem::Group->new(%entry); if ($self->filter_name($group->{name}) && $group->{'vrrpOperAdminState'} eq 'up') { push(@{$self->{groups}}, $group); @@ -50,7 +50,7 @@ sub check { } -package CheckNwcHealth::VRRPMIB::Component::VRRPSubsystem::Group; +package Classes::VRRPMIB::Component::VRRPSubsystem::Group; our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); use strict; use Data::Dumper; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Makefile.am b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Makefile.am new file mode 100644 index 0000000..f097b38 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Makefile.am @@ -0,0 +1,488 @@ +libexec_SCRIPTS=check_nwc_health +GL_MODULES=\ + ../GLPlugin/lib/Monitoring/GLPlugin/Commandline/Extraopts.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/Commandline/Getopt.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/Commandline.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/Item.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/TableItem.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MIB2MIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SNMPFRAMEWORKMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADSLLINEMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/AIRESPACESWITCHINGMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/AIRESPACEWIRELESSMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ALARMMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ALCATELIND1BASEMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARISTABGP4V2MIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARISTAENTITYSENSORMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBATCMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ASYNCOSMAILMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ATTACKMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BGP4MIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BIANCABRICKMIBRESMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BLUECOATAVMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BLUECOATSGPROXYMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CHECKPOINTMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOBGP4MIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOCCMMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOCONFIGMANMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOEIGRPMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENHANCEDMEMPOOLMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYALARMMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYFRUCONTROLMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYSENSORMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENVMONMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOETHERNETFABRICEXTENDERMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOFEATURECONTROLMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOFIREWALLMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOHSRPMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOIETFNATMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOIPSECFLOWMONITORMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOL2L3INTERFACECONFIGMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPAPMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPHAMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOMEMORYPOOLMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPORTCHANNELMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPORTSECURITYMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPROCESSMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOREMOTEACCESSMONITORMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBHWENVIROMENTMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBRNDMNGMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBSYSMNGMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBTUNINGMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSTACKMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSTACKWISEMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSYSTEMEXTMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOVTPMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CLAVISTERMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/DISKMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ELTEXMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYSENSORMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYSTATEMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ETHERLIKEMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPAPMMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPGLOBALMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPLOCALMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPSYSTEMMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FCEOSMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FCMGMTMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FIBRECHANNELFEMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FORTINETCOREMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FORTINETFORTIGATEMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FOUNDRYSNAGENTMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FOUNDRYSNSWL4SWITCHGROUPMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/GENUAMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HH3CENTITYEXTMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIENTITYEXTENTMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HOSTRESOURCESMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HPICFCHASSIS.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IANAIFTYPEMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IANARTPROTOMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IEEE8023LAGMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IFMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/INETADDRESSMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IPFORWARDMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IPMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERALARMMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERIVEMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERRPSMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERSRX5000SPUMONITORINGMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNOSBGP4V2MIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LARAMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LCOSMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LMSENSORSMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LOADBALSYSTEMMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MINIIFMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETGEARMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENCHASSISMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENNSRPMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENPRODUCTSMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENRESOURCEMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSWITCHMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDCISCOCPUMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDCISCOINTERFACESMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDNETSWITCHMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDSTATISTICSMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ONEACCESSSYSMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDCARPMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDMEMMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDPFMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDSENSORSMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OSPFMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OSPFV3MIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PANCOMMONMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PANPRODUCTSMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PHIONMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PROXYMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RAPIDCITYMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RESOURCEMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RMONMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/S5CHASSISMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SENSORMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SNMPV2TCV1MIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STATISTICSMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STEELHEADMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STEELHEADEXMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SWMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SYNOPTICSROOTMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SYSTEMRESOURCESMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UCDDISKIOMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UCDSNMPMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/USAGEMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VRRPMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/WLSXSYSTEMEXTMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/WLSXWLANMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/CSF.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/Item.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/TableItem.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/UPNP.pm +EXTRA_MODULES=\ + Classes/UPNP/AVM/FritzBox7390/Components/InterfaceSubsystem.pm \ + Classes/UPNP/AVM/FritzBox7390/Components/SmartHomeSubsystem.pm \ + Classes/UPNP/AVM/FritzBox7390.pm \ + Classes/UPNP/AVM.pm \ + Classes/UPNP.pm \ + Classes/Server/LinuxLocal.pm \ + Classes/Server/WindowsLocal.pm \ + Classes/Server/SolarisLocal.pm \ + Classes/Server/Linux.pm \ + Classes/Server/Linux/Component/CpuSubsystem.pm \ + Classes/Server/Linux/Component/EnvironmentalSubsystem.pm \ + Classes/Server/Linux/Component/MemSubsystem.pm \ + Classes/Bintec/Bibo/Components/EnvironmentalSubsystem.pm \ + Classes/Bintec/Bibo/Components/MemSubsystem.pm \ + Classes/Bintec/Bibo/Components/CpuSubsystem.pm \ + Classes/Bintec/Bibo.pm \ + Classes/Bintec.pm \ + Classes/Cisco/CISCOBGP4MIB/Components/PeerSubsystem.pm \ + Classes/Cisco/CISCOEIGRPMIB/Components/PeerSubsystem.pm \ + Classes/Cisco/CISCOPORTSECURITYMIB/Component/InterfaceSubsystem.pm \ + Classes/Cisco/OLDCISCOINTERFACESMIB/Component/InterfaceSubsystem.pm \ + Classes/Cisco/CISCOIPSECFLOWMONITOR/Component/VpnSubsystem.pm \ + Classes/Cisco/CISCOENHANCEDMEMPOOLMIB/Component/MemSubsystem.pm \ + Classes/Cisco/CISCOMEMORYPOOLMIB/Component/MemSubsystem.pm \ + Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/EnvironmentalSubsystem.pm \ + Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/FanSubsystem.pm \ + Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/ModuleSubsystem.pm \ + Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/PowersupplySubsystem.pm \ + Classes/Cisco/CISCOENTITYSENSORMIB/Component/SensorSubsystem.pm \ + Classes/Cisco/CISCOENTITYALARMMIB/Component/AlarmSubsystem.pm \ + Classes/Cisco/CISCOENVMONMIB/Component/TemperatureSubsystem.pm \ + Classes/Cisco/CISCOENVMONMIB/Component/PowersupplySubsystem.pm \ + Classes/Cisco/CISCOENVMONMIB/Component/VoltageSubsystem.pm \ + Classes/Cisco/CISCOENVMONMIB/Component/FanSubsystem.pm \ + Classes/Cisco/CISCOREMOTEACCESSMONITORMIB/Component/VpnSubsystem.pm \ + Classes/Cisco/CISCOSTACKMIB/Component/StackSubsystem.pm \ + Classes/Cisco/CISCOSTACKWISEMIB/Component/StackSubsystem.pm \ + Classes/Cisco/ASA.pm \ + Classes/Cisco/IOS/Component/HaSubsystem.pm \ + Classes/Cisco/IOS/Component/ConfigSubsystem.pm \ + Classes/Cisco/IOS/Component/CpuSubsystem.pm \ + Classes/Cisco/IOS/Component/MemSubsystem.pm \ + Classes/Cisco/IOS/Component/EnvironmentalSubsystem.pm \ + Classes/Cisco/IOS/Component/ConnectionSubsystem.pm \ + Classes/Cisco/IOS/Component/NatSubsystem.pm \ + Classes/Cisco/IOS/Component/BgpSubsystem.pm \ + Classes/Cisco/IOS.pm \ + Classes/Cisco/NXOS/Component/CpuSubsystem.pm \ + Classes/Cisco/NXOS/Component/MemSubsystem.pm \ + Classes/Cisco/NXOS/Component/EnvironmentalSubsystem.pm \ + Classes/Cisco/NXOS/Component/FexSubsystem.pm \ + Classes/Cisco/NXOS.pm \ + Classes/Cisco/WLC/Component/HaSubsystem.pm \ + Classes/Cisco/WLC/Component/MemSubsystem.pm \ + Classes/Cisco/WLC/Component/CpuSubsystem.pm \ + Classes/Cisco/WLC/Component/EnvironmentalSubsystem.pm \ + Classes/Cisco/WLC/Component/WlanSubsystem.pm \ + Classes/Cisco/WLC.pm \ + Classes/Cisco/PrimeNCS.pm \ + Classes/Cisco/UCOS.pm \ + Classes/Cisco/CCM/Component/PhoneSubsystem.pm \ + Classes/Cisco/CCM/Component/CmSubsystem.pm \ + Classes/Cisco/CCM.pm \ + Classes/Cisco/AsyncOS/Component/KeySubsystem.pm \ + Classes/Cisco/AsyncOS/Component/MemSubsystem.pm \ + Classes/Cisco/AsyncOS/Component/CpuSubsystem.pm \ + Classes/Cisco/AsyncOS/Component/TemperatureSubsystem.pm \ + Classes/Cisco/AsyncOS/Component/PowersupplySubsystem.pm \ + Classes/Cisco/AsyncOS/Component/FanSubsystem.pm \ + Classes/Cisco/AsyncOS/Component/RaidSubsystem.pm \ + Classes/Cisco/AsyncOS/Component/EnvironmentalSubsystem.pm \ + Classes/Cisco/AsyncOS.pm \ + Classes/Cisco/SB/Component/MemSubsystem.pm \ + Classes/Cisco/SB/Component/CpuSubsystem.pm \ + Classes/Cisco/SB/Component/EnvironmentalSubsystem.pm \ + Classes/Cisco/SB.pm \ + Classes/Cisco.pm \ + Classes/OneOS/Component/EnvironmentalSubsystem.pm \ + Classes/OneOS/Component/CpuSubsystem.pm \ + Classes/OneOS/Component/MemSubsystem.pm \ + Classes/OneOS.pm \ + Classes/Nortel/S5/Component/EnvironmentalSubsystem.pm \ + Classes/Nortel/S5/Component/CpuSubsystem.pm \ + Classes/Nortel/S5/Component/MemSubsystem.pm \ + Classes/Nortel/S5.pm \ + Classes/Nortel.pm \ + Classes/Juniper/JunOS/Component/BgpSubsystem.pm \ + Classes/Juniper/JunOS.pm \ + Classes/Juniper/NetScreen/Component/CpuSubsystem.pm \ + Classes/Juniper/NetScreen/Component/MemSubsystem.pm \ + Classes/Juniper/NetScreen/Component/EnvironmentalSubsystem.pm \ + Classes/Juniper/NetScreen/Component/VsdSubsystem.pm \ + Classes/Juniper/NetScreen.pm \ + Classes/Juniper/IVE/Component/MemSubsystem.pm \ + Classes/Juniper/IVE/Component/CpuSubsystem.pm \ + Classes/Juniper/IVE/Component/EnvironmentalSubsystem.pm \ + Classes/Juniper/IVE/Component/DiskSubsystem.pm \ + Classes/Juniper/IVE/Component/UserSubsystem.pm \ + Classes/Juniper/IVE.pm \ + Classes/Juniper/SRX/Component/EnvironmentalSubsystem.pm \ + Classes/Juniper/SRX/Component/CpuSubsystem.pm \ + Classes/Juniper/SRX/Component/MemSubsystem.pm \ + Classes/Juniper/SRX.pm \ + Classes/Juniper.pm \ + Classes/AlliedTelesyn.pm \ + Classes/Fortigate/Component/HaSubsystem.pm \ + Classes/Fortigate/Component/DiskSubsystem.pm \ + Classes/Fortigate/Component/MemSubsystem.pm \ + Classes/Fortigate/Component/CpuSubsystem.pm \ + Classes/Fortigate/Component/EnvironmentalSubsystem.pm \ + Classes/Fortigate/Component/SensorSubsystem.pm \ + Classes/Fortigate.pm \ + Classes/FabOS/Component/MemSubsystem.pm \ + Classes/FabOS/Component/CpuSubsystem.pm \ + Classes/FabOS/Component/EnvironmentalSubsystem.pm \ + Classes/FabOS/Component/SensorSubsystem.pm \ + Classes/FabOS/Component/InterfaceSubsystem.pm \ + Classes/FabOS.pm \ + Classes/HH3C/Component/EntitySubsystem.pm \ + Classes/HH3C/Component/EnvironmentalSubsystem.pm \ + Classes/HH3C/Component/MemSubsystem.pm \ + Classes/HH3C/Component/CpuSubsystem.pm \ + Classes/HH3C.pm \ + Classes/Huawei/Component/EnvironmentalSubsystem.pm \ + Classes/Huawei/Component/CpuSubsystem.pm \ + Classes/Huawei/Component/MemSubsystem.pm \ + Classes/Huawei/CloudEngine.pm \ + Classes/Huawei.pm \ + Classes/HP/Procurve/Component/MemSubsystem.pm \ + Classes/HP/Procurve/Component/CpuSubsystem.pm \ + Classes/HP/Procurve/Component/EnvironmentalSubsystem.pm \ + Classes/HP/Procurve/Component/SensorSubsystem.pm \ + Classes/HP/Procurve.pm \ + Classes/HP.pm \ + Classes/MEOS.pm \ + Classes/Brocade.pm \ + Classes/SecureOS.pm \ + Classes/HSRP/Component/HSRPSubsystem.pm \ + Classes/HSRP.pm \ + Classes/IFMIB/Component/LinkAggregation.pm \ + Classes/IFMIB/Component/InterfaceSubsystem.pm \ + Classes/IFMIB/Component/StackSubsystem.pm \ + Classes/IFMIB.pm \ + Classes/IPFORWARDMIB/Component/RoutingSubsystem.pm \ + Classes/IPFORWARDMIB.pm \ + Classes/IPMIB/Component/RoutingSubsystem.pm \ + Classes/IPMIB.pm \ + Classes/VRRPMIB/Component/VRRPSubsystem.pm \ + Classes/VRRPMIB.pm \ + Classes/HOSTRESOURCESMIB/Component/ClockSubsystem.pm \ + Classes/HOSTRESOURCESMIB/Component/DeviceSubsystem.pm \ + Classes/HOSTRESOURCESMIB/Component/DiskSubsystem.pm \ + Classes/HOSTRESOURCESMIB/Component/EnvironmentalSubsystem.pm \ + Classes/HOSTRESOURCESMIB/Component/CpuSubsystem.pm \ + Classes/HOSTRESOURCESMIB/Component/MemSubsystem.pm \ + Classes/HOSTRESOURCESMIB/Component/UptimeSubsystem.pm \ + Classes/HOSTRESOURCESMIB.pm \ + Classes/LMSENSORSMIB/Component/EnvironmentalSubsystem.pm \ + Classes/LMSENSORSMIB/Component/FanSubsystem.pm \ + Classes/LMSENSORSMIB/Component/TemperatureSubsystem.pm \ + Classes/LMSENSORSMIB.pm \ + Classes/ENTITYSENSORMIB.pm \ + Classes/ENTITYSENSORMIB/Component/EnvironmentalSubsystem.pm \ + Classes/OSPF/Component/NeighborSubsystem.pm \ + Classes/OSPF.pm \ + Classes/BGP/Component/PeerSubsystem.pm \ + Classes/BGP.pm \ + Classes/FCMGMT/Component/EnvironmentalSubsystem.pm \ + Classes/FCMGMT/Component/SensorSubsystem.pm \ + Classes/FCMGMT.pm \ + Classes/FCEOS/Components/EnvironmentalSubsystem.pm \ + Classes/FCEOS/Components/FruSubsystem.pm \ + Classes/FCEOS.pm \ + Classes/UCDMIB/Components/MemSubsystem.pm \ + Classes/UCDMIB/Components/SwapSubsystem.pm \ + Classes/UCDMIB/Components/CpuSubsystem.pm \ + Classes/UCDMIB/Components/LoadSubsystem.pm \ + Classes/UCDMIB/Components/DiskSubsystem.pm \ + Classes/UCDMIB/Components/ProcessSubsystem.pm \ + Classes/UCDMIB.pm \ + Classes/F5/F5BIGIP/Component/ConfigSubsystem.pm \ + Classes/F5/F5BIGIP/Component/ConnectionSubsystem.pm \ + Classes/F5/F5BIGIP/Component/CpuSubsystem.pm \ + Classes/F5/F5BIGIP/Component/DiskSubsystem.pm \ + Classes/F5/F5BIGIP/Component/EnvironmentalSubsystem.pm \ + Classes/F5/F5BIGIP/Component/FanSubsystem.pm \ + Classes/F5/F5BIGIP/Component/GTM.pm \ + Classes/F5/F5BIGIP/Component/HaSubsystem.pm \ + Classes/F5/F5BIGIP/Component/VipSubsystem.pm \ + Classes/F5/F5BIGIP/Component/LTM.pm \ + Classes/F5/F5BIGIP/Component/MemSubsystem.pm \ + Classes/F5/F5BIGIP/Component/PowersupplySubsystem.pm \ + Classes/F5/F5BIGIP/Component/TemperatureSubsystem.pm \ + Classes/F5/F5BIGIP.pm \ + Classes/F5.pm \ + Classes/CheckPoint/Firewall1/Component/EnvironmentalSubsystem.pm \ + Classes/CheckPoint/Firewall1/Component/TemperatureSubsystem.pm \ + Classes/CheckPoint/Firewall1/Component/FanSubsystem.pm \ + Classes/CheckPoint/Firewall1/Component/VoltageSubsystem.pm \ + Classes/CheckPoint/Firewall1/Component/PowersupplySubsystem.pm \ + Classes/CheckPoint/Firewall1/Component/DiskSubsystem.pm \ + Classes/CheckPoint/Firewall1/Component/MngmtSubsystem.pm \ + Classes/CheckPoint/Firewall1/Component/SvnSubsystem.pm \ + Classes/CheckPoint/Firewall1/Component/FwSubsystem.pm \ + Classes/CheckPoint/Firewall1/Component/HaSubsystem.pm \ + Classes/CheckPoint/Firewall1/Component/CpuSubsystem.pm \ + Classes/CheckPoint/Firewall1/Component/MemSubsystem.pm \ + Classes/CheckPoint/Firewall1/Component/VpnSubsystem.pm \ + Classes/CheckPoint/Firewall1.pm \ + Classes/CheckPoint/VSX/Component/FwSubsystem.pm \ + Classes/CheckPoint/VSX.pm \ + Classes/CheckPoint/Gaia.pm \ + Classes/CheckPoint.pm \ + Classes/Clavister/Firewall1/Component/EnvironmentalSubsystem.pm \ + Classes/Clavister/Firewall1/Component/CpuSubsystem.pm \ + Classes/Clavister/Firewall1/Component/MemSubsystem.pm \ + Classes/Clavister/Firewall1.pm \ + Classes/Clavister.pm \ + Classes/SGOS/Component/MemSubsystem.pm \ + Classes/SGOS/Component/CpuSubsystem.pm \ + Classes/SGOS/Component/EnvironmentalSubsystem.pm \ + Classes/SGOS/Component/SensorSubsystem.pm \ + Classes/SGOS/Component/DiskSubsystem.pm \ + Classes/SGOS/Component/SecuritySubsystem.pm \ + Classes/SGOS/Component/ConnectionSubsystem.pm \ + Classes/SGOS.pm \ + Classes/AVOS/Component/KeySubsystem.pm \ + Classes/AVOS/Component/SecuritySubsystem.pm \ + Classes/AVOS/Component/ConnectionSubsystem.pm \ + Classes/AVOS/Component/MemSubsystem.pm \ + Classes/AVOS/Component/CpuSubsystem.pm \ + Classes/AVOS.pm \ + Classes/Alcatel/OmniAccess/Component/HaSubsystem.pm \ + Classes/Alcatel/OmniAccess/Component/MemSubsystem.pm \ + Classes/Alcatel/OmniAccess/Component/CpuSubsystem.pm \ + Classes/Alcatel/OmniAccess/Component/PowersupplySubsystem.pm \ + Classes/Alcatel/OmniAccess/Component/FanSubsystem.pm \ + Classes/Alcatel/OmniAccess/Component/StorageSubsystem.pm \ + Classes/Alcatel/OmniAccess/Component/EnvironmentalSubsystem.pm \ + Classes/Alcatel/OmniAccess/Component/WlanSubsystem.pm \ + Classes/Alcatel/OmniAccess.pm \ + Classes/Alcatel.pm \ + Classes/ALARMMIB/Component/AlarmSubsystem.pm \ + Classes/Foundry/Component/SLBSubsystem.pm \ + Classes/Foundry/Component/MemSubsystem.pm \ + Classes/Foundry/Component/CpuSubsystem.pm \ + Classes/Foundry/Component/EnvironmentalSubsystem.pm \ + Classes/Foundry/Component/PowersupplySubsystem.pm \ + Classes/Foundry/Component/FanSubsystem.pm \ + Classes/Foundry/Component/TemperatureSubsystem.pm \ + Classes/Foundry/Component/ModuleSubsystem.pm \ + Classes/Foundry.pm \ + Classes/RAPIDCITYMIB/Component/EnvironmentalSubsystem.pm \ + Classes/RAPIDCITYMIB/Component/PowersupplySubsystem.pm \ + Classes/RAPIDCITYMIB/Component/FanSubsystem.pm \ + Classes/RAPIDCITYMIB/Component/TemperatureSubsystem.pm \ + Classes/RAPIDCITYMIB.pm \ + Classes/PaloAlto/Component/SessionSubsystem.pm \ + Classes/PaloAlto/Component/MemSubsystem.pm \ + Classes/PaloAlto/Component/CpuSubsystem.pm \ + Classes/PaloAlto/Component/EnvironmentalSubsystem.pm \ + Classes/PaloAlto/Component/HaSubsystem.pm \ + Classes/PaloAlto.pm \ + Classes/Bluecoat.pm \ + Classes/Cumulus.pm \ + Classes/Eltex/Access/Component/EnvironmentalSubsystem.pm \ + Classes/Eltex/Access.pm \ + Classes/Eltex/Aggregation/Component/EnvironmentalSubsystem.pm \ + Classes/Eltex/Aggregation.pm \ + Classes/Eltex/MES/Component/CpuSubsystem.pm \ + Classes/Eltex/MES/Component/HaSubsystem.pm \ + Classes/Eltex.pm \ + Classes/Netgear.pm \ + Classes/Lantronix.pm \ + Classes/Lantronix/SLS.pm \ + Classes/Arista/ARISTABGP4V2MIB/Components/PeerSubsystem.pm \ + Classes/Arista/Component/EnvironmentalSubsystem.pm \ + Classes/Arista.pm \ + Classes/Riverbed/SteelheadEX/Component/EnvironmentalSubsystem.pm \ + Classes/Riverbed/Steelhead/Component/EnvironmentalSubsystem.pm \ + Classes/Riverbed/Steelhead.pm \ + Classes/Riverbed.pm \ + Classes/Lancom/Component/CpuSubsystem.pm \ + Classes/Lancom/Component/EnvironmentalSubsystem.pm \ + Classes/Lancom/Component/MemSubsystem.pm \ + Classes/Lancom.pm \ + Classes/DrayTek/Vigor/Component/CpuSubsystem.pm \ + Classes/DrayTek/Vigor/Component/EnvironmentalSubsystem.pm \ + Classes/DrayTek/Vigor/Component/MemSubsystem.pm \ + Classes/DrayTek/Vigor.pm \ + Classes/DrayTek.pm \ + Classes/Barracuda/Component/EnvironmentalSubsystem.pm \ + Classes/Barracuda/Component/HaSubsystem.pm \ + Classes/Barracuda/Component/FwSubsystem.pm \ + Classes/Barracuda.pm \ + Classes/Device.pm + +SED=/bin/sed +GREP=/bin/grep +CAT=/bin/cat +ECHO=/bin/echo +if DISABLE_STANDALONE +STANDALONE = no +else +STANDALONE = yes +endif + +SUFFIXES = .pl .pm .sh + +VPATH=$(top_srcdir) $(top_srcdir)/plugins-scripts $(top_srcdir)/plugins-scripts/t + +EXTRA_DIST=$(libexec_SCRIPTS).pl $(EXTRA_MODULES) $(GL_MODULES) + +CLEANFILES=$(libexec_SCRIPTS) + +AM_INSTALL_PROGRAM_FLAGS=@INSTALL_OPTS@ + +.pm : + $(AWK) -f ./subst $< > $@ + chmod +x $@ + +.pl : + $(AWK) -f ./subst $< > $@ + chmod +x $@ + +.sh : + $(AWK) -f ./subst $< > $@ + chmod +x $@ + +$(libexec_SCRIPTS) : $(EXTRA_DIST) + $(ECHO) "#! #PERL# -w" | $(AWK) -f ./subst > $@ + $(ECHO) "# nagios: +epn" >> $@ + $(ECHO) >> $@ + if [ "${STANDALONE}" == "yes" ]; then \ + $(ECHO) i am standalone; \ + for m in ${GL_MODULES}; do \ + $(SED) -e 's/^1;//g' < $$m | $(SED) -e '/^__END__/,$$d' | $(SED) -e '/^__PACKAGE__/,$$d' | $(AWK) -f ./subst >> $@; \ + done \ + fi + for m in ${EXTRA_MODULES}; do \ + $(SED) -e 's/^1;//g' < $$m | $(SED) -e '/^__END__/,$$d' | $(AWK) -f ./subst >> $@; \ + done + $(ECHO) "package main;" >> $@ + $(CAT) $(libexec_SCRIPTS).pl | $(AWK) -f ./subst >> $@ + chmod +x $@ diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/Makefile.in b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Makefile.in similarity index 54% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/Makefile.in rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Makefile.in index 9869ade..c091d98 100644 --- a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/Makefile.in +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.5 from Makefile.am. +# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2021 Free Software Foundation, Inc. +# Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -156,14 +156,11 @@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -CSCOPE = @CSCOPE@ -CTAGS = @CTAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ -ETAGS = @ETAGS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_OPTS = @INSTALL_OPTS@ @@ -256,32 +253,19 @@ GL_MODULES = \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MIB2MIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SNMPFRAMEWORKMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADSLLINEMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADONISDNSMIBMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/AIRESPACESWITCHINGMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/AIRESPACEWIRELESSMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ALARMMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ALCATELIND1BASEMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARISTABGP4V2MIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARISTAENTITYSENSORMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARISTAIFMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBATCMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDCHASSISMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDFANTRAYMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDFANMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDPOWERSUPPLYMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDVSFMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBAWIREDTEMPSENSORMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ASYNCOSMAILMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ATTACKMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BAMSNMPMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDHCPV4MIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDNSMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNSYSTEMMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BGP4MIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BIANCABRICKMIBRESMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BLUECOATAVMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BLUECOATSGPROXYMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BRIDGEMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CHECKPOINTMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOBGP4MIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOCCMMIB.pm \ @@ -292,7 +276,6 @@ GL_MODULES = \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYFRUCONTROLMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYSENSORMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENVMONMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOERRDISABLEMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOETHERNETFABRICEXTENDERMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOFEATURECONTROLMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOFIREWALLMIB.pm \ @@ -300,31 +283,22 @@ GL_MODULES = \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOIETFNATMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOIPSECFLOWMONITORMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOL2L3INTERFACECONFIGMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLICENSEMGMTMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPAPMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPCDPMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPHAMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOMEMORYPOOLMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPORTCHANNELMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPORTSECURITYMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPROCESSMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOREMOTEACCESSMONITORMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCORTTMONMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCORTTMONTCMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBHWENVIROMENTMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBRNDMNGMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBSYSMNGMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBTUNINGMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSDWANOPERSYSTEMMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSDWANAPPROUTEMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSMARTLICMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSTACKMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSTACKWISEMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSYSTEMEXTMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOVTPMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CLAVISTERMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/DCBGPMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/DEVICEMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/DISKMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ELTEXMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYMIB.pm \ @@ -344,14 +318,7 @@ GL_MODULES = \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FOUNDRYSNSWL4SWITCHGROUPMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/GENUAMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HH3CENTITYEXTMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIBGPVPNMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIENTITYEXTENTMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIL2MAMMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIL2VLANMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIWLANAPMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIWLANAPRADIOMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIWLANCONFIGURATIONMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIWLANSTATIONMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HOSTRESOURCESMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HPICFCHASSIS.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IANAIFTYPEMIB.pm \ @@ -387,15 +354,12 @@ GL_MODULES = \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDMEMMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDPFMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDSENSORSMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ORGMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OSPFMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OSPFV3MIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PANCOMMONMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PANPRODUCTSMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PHIONMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PROXYMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PULSESECUREPSGMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/QBRIDGEMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RAPIDCITYMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RESOURCEMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RMONMIB.pm \ @@ -405,17 +369,12 @@ GL_MODULES = \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STATISTICSMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STEELHEADMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STEELHEADEXMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STORAGEMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SWMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SYNOPTICSROOTMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SYSTEMRESOURCESMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UCDDISKIOMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UCDSNMPMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/USAGEMIB.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VIPTELAHARDWARE.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VIPTELAOPERSYSTEM.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VIPTELASECURITY.pm \ - ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VORMETRICMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VRRPMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/WLSXSYSTEMEXTMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/WLSXWLANMIB.pm \ @@ -425,353 +384,302 @@ GL_MODULES = \ ../GLPlugin/lib/Monitoring/GLPlugin/UPNP.pm EXTRA_MODULES = \ - CheckNwcHealth/UPNP/AVM/FritzBox7390/Components/InterfaceSubsystem.pm \ - CheckNwcHealth/UPNP/AVM/FritzBox7390/Components/SmartHomeSubsystem.pm \ - CheckNwcHealth/UPNP/AVM/FritzBox7390.pm \ - CheckNwcHealth/UPNP/AVM.pm \ - CheckNwcHealth/UPNP.pm \ - CheckNwcHealth/Server/LinuxLocal.pm \ - CheckNwcHealth/Server/WindowsLocal.pm \ - CheckNwcHealth/Server/SolarisLocal.pm \ - CheckNwcHealth/Server/Linux.pm \ - CheckNwcHealth/Server/Linux/Component/CpuSubsystem.pm \ - CheckNwcHealth/Server/Linux/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Server/Linux/Component/MemSubsystem.pm \ - CheckNwcHealth/Bintec/Bibo/Components/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Bintec/Bibo/Components/MemSubsystem.pm \ - CheckNwcHealth/Bintec/Bibo/Components/CpuSubsystem.pm \ - CheckNwcHealth/Bintec/Bibo.pm \ - CheckNwcHealth/Bintec.pm \ - CheckNwcHealth/Bluecat/AddressManager/Component/MgmtSubsystem.pm \ - CheckNwcHealth/Bluecat/AddressManager/Component/MemSubsystem.pm \ - CheckNwcHealth/Bluecat/AddressManager/Component/HaSubsystem.pm \ - CheckNwcHealth/Bluecat/AddressManager.pm \ - CheckNwcHealth/Bluecat/DnsDhcpServer/Component/HaSubsystem.pm \ - CheckNwcHealth/Bluecat/DnsDhcpServer/Component/ProcessSubsystem.pm \ - CheckNwcHealth/Bluecat/DnsDhcpServer.pm \ - CheckNwcHealth/Bluecat.pm \ - CheckNwcHealth/Cisco/CISCOLICENSEMGMTMIB/Component/KeySubsystem.pm \ - CheckNwcHealth/Cisco/CISCOSMARTLICMIB/Component/KeySubsystem.pm \ - CheckNwcHealth/Cisco/CISCOBGP4MIB/Components/PeerSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOEIGRPMIB/Components/PeerSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOPORTSECURITYMIB/Component/InterfaceSubsystem.pm \ - CheckNwcHealth/Cisco/OLDCISCOINTERFACESMIB/Component/InterfaceSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOIPSECFLOWMONITOR/Component/VpnSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOENHANCEDMEMPOOLMIB/Component/MemSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOPROCESSMIB/Component/MemSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOMEMORYPOOLMIB/Component/MemSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOENTITYFRUCONTROLMIB/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOENTITYFRUCONTROLMIB/Component/FanSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOENTITYFRUCONTROLMIB/Component/ModuleSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOENTITYFRUCONTROLMIB/Component/PowersupplySubsystem.pm \ - CheckNwcHealth/Cisco/CISCOENTITYSENSORMIB/Component/SensorSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOENTITYALARMMIB/Component/AlarmSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOENVMONMIB/Component/TemperatureSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOENVMONMIB/Component/PowersupplySubsystem.pm \ - CheckNwcHealth/Cisco/CISCOENVMONMIB/Component/VoltageSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOENVMONMIB/Component/FanSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOREMOTEACCESSMONITORMIB/Component/VpnSubsystem.pm \ - CheckNwcHealth/Cisco/CISCORTTMONMIB/Component/RttSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOSDWANMIB/Component/SdwanSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOSTACKMIB/Component/StackSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOSTACKWISEMIB/Component/StackSubsystem.pm \ - CheckNwcHealth/Cisco/CISCOERRDISABLEMIB/Component/InterfaceSubsystem.pm \ - CheckNwcHealth/Cisco/ASA.pm \ - CheckNwcHealth/Cisco/IOS/Component/HaSubsystem.pm \ - CheckNwcHealth/Cisco/IOS/Component/ConfigSubsystem.pm \ - CheckNwcHealth/Cisco/IOS/Component/CpuSubsystem.pm \ - CheckNwcHealth/Cisco/IOS/Component/MemSubsystem.pm \ - CheckNwcHealth/Cisco/IOS/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Cisco/IOS/Component/ConnectionSubsystem.pm \ - CheckNwcHealth/Cisco/IOS/Component/NatSubsystem.pm \ - CheckNwcHealth/Cisco/IOS/Component/BgpSubsystem.pm \ - CheckNwcHealth/Cisco/IOS.pm \ - CheckNwcHealth/Cisco/NXOS/Component/CpuSubsystem.pm \ - CheckNwcHealth/Cisco/NXOS/Component/MemSubsystem.pm \ - CheckNwcHealth/Cisco/NXOS/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Cisco/NXOS/Component/FexSubsystem.pm \ - CheckNwcHealth/Cisco/NXOS.pm \ - CheckNwcHealth/Cisco/WLC/Component/HaSubsystem.pm \ - CheckNwcHealth/Cisco/WLC/Component/MemSubsystem.pm \ - CheckNwcHealth/Cisco/WLC/Component/CpuSubsystem.pm \ - CheckNwcHealth/Cisco/WLC/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Cisco/WLC/Component/WlanSubsystem.pm \ - CheckNwcHealth/Cisco/WLC.pm \ - CheckNwcHealth/Cisco/PrimeNCS.pm \ - CheckNwcHealth/Cisco/UCOS.pm \ - CheckNwcHealth/Cisco/CCM/Component/PhoneSubsystem.pm \ - CheckNwcHealth/Cisco/CCM/Component/CmSubsystem.pm \ - CheckNwcHealth/Cisco/CCM.pm \ - CheckNwcHealth/Cisco/AsyncOS/Component/KeySubsystem.pm \ - CheckNwcHealth/Cisco/AsyncOS/Component/MemSubsystem.pm \ - CheckNwcHealth/Cisco/AsyncOS/Component/CpuSubsystem.pm \ - CheckNwcHealth/Cisco/AsyncOS/Component/TemperatureSubsystem.pm \ - CheckNwcHealth/Cisco/AsyncOS/Component/PowersupplySubsystem.pm \ - CheckNwcHealth/Cisco/AsyncOS/Component/FanSubsystem.pm \ - CheckNwcHealth/Cisco/AsyncOS/Component/RaidSubsystem.pm \ - CheckNwcHealth/Cisco/AsyncOS/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Cisco/AsyncOS.pm \ - CheckNwcHealth/Cisco/SB/Component/MemSubsystem.pm \ - CheckNwcHealth/Cisco/SB/Component/CpuSubsystem.pm \ - CheckNwcHealth/Cisco/SB/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Cisco/SB.pm \ - CheckNwcHealth/Cisco/Viptela/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Cisco/Viptela/Component/DiskSubsystem.pm \ - CheckNwcHealth/Cisco/Viptela/Component/MemSubsystem.pm \ - CheckNwcHealth/Cisco/Viptela/Component/CpuSubsystem.pm \ - CheckNwcHealth/Cisco/Viptela/Component/SdwanSubsystem.pm \ - CheckNwcHealth/Cisco/Viptela.pm \ - CheckNwcHealth/Cisco.pm \ - CheckNwcHealth/OneOS/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/OneOS/Component/CpuSubsystem.pm \ - CheckNwcHealth/OneOS/Component/MemSubsystem.pm \ - CheckNwcHealth/OneOS.pm \ - CheckNwcHealth/Nortel/S5/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Nortel/S5/Component/CpuSubsystem.pm \ - CheckNwcHealth/Nortel/S5/Component/MemSubsystem.pm \ - CheckNwcHealth/Nortel/S5.pm \ - CheckNwcHealth/Nortel.pm \ - CheckNwcHealth/Juniper/JunOS/Component/BgpSubsystem.pm \ - CheckNwcHealth/Juniper/JunOS.pm \ - CheckNwcHealth/Juniper/NetScreen/Component/CpuSubsystem.pm \ - CheckNwcHealth/Juniper/NetScreen/Component/MemSubsystem.pm \ - CheckNwcHealth/Juniper/NetScreen/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Juniper/NetScreen/Component/VsdSubsystem.pm \ - CheckNwcHealth/Juniper/NetScreen.pm \ - CheckNwcHealth/Juniper/IVE/Component/MemSubsystem.pm \ - CheckNwcHealth/Juniper/IVE/Component/CpuSubsystem.pm \ - CheckNwcHealth/Juniper/IVE/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Juniper/IVE/Component/DiskSubsystem.pm \ - CheckNwcHealth/Juniper/IVE/Component/UserSubsystem.pm \ - CheckNwcHealth/Juniper/IVE.pm \ - CheckNwcHealth/Juniper/SRX/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Juniper/SRX/Component/CpuSubsystem.pm \ - CheckNwcHealth/Juniper/SRX/Component/MemSubsystem.pm \ - CheckNwcHealth/Juniper/SRX.pm \ - CheckNwcHealth/Juniper.pm \ - CheckNwcHealth/AlliedTelesyn.pm \ - CheckNwcHealth/Fortigate/Component/HaSubsystem.pm \ - CheckNwcHealth/Fortigate/Component/DiskSubsystem.pm \ - CheckNwcHealth/Fortigate/Component/MemSubsystem.pm \ - CheckNwcHealth/Fortigate/Component/CpuSubsystem.pm \ - CheckNwcHealth/Fortigate/Component/VpnSubsystem.pm \ - CheckNwcHealth/Fortigate/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Fortigate/Component/SensorSubsystem.pm \ - CheckNwcHealth/Fortigate.pm \ - CheckNwcHealth/FabOS/Component/MemSubsystem.pm \ - CheckNwcHealth/FabOS/Component/CpuSubsystem.pm \ - CheckNwcHealth/FabOS/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/FabOS/Component/SensorSubsystem.pm \ - CheckNwcHealth/FabOS/Component/InterfaceSubsystem.pm \ - CheckNwcHealth/FabOS.pm \ - CheckNwcHealth/HH3C/Component/EntitySubsystem.pm \ - CheckNwcHealth/HH3C/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/HH3C/Component/MemSubsystem.pm \ - CheckNwcHealth/HH3C/Component/CpuSubsystem.pm \ - CheckNwcHealth/HH3C.pm \ - CheckNwcHealth/Huawei/Component/WlanSubsystem.pm \ - CheckNwcHealth/Huawei/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Huawei/Component/CpuSubsystem.pm \ - CheckNwcHealth/Huawei/Component/MemSubsystem.pm \ - CheckNwcHealth/Huawei/Component/PeerSubsystem.pm \ - CheckNwcHealth/Huawei/HUAWEIL2VLANMIB/Component/VlanSubsystem.pm \ - CheckNwcHealth/Huawei/HUAWEIL2MAMMIB/Component/VlanSubsystem.pm \ - CheckNwcHealth/Huawei/CloudEngine.pm \ - CheckNwcHealth/Huawei.pm \ - CheckNwcHealth/HP/Procurve/Component/MemSubsystem.pm \ - CheckNwcHealth/HP/Procurve/Component/CpuSubsystem.pm \ - CheckNwcHealth/HP/Procurve/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/HP/Procurve/Component/SensorSubsystem.pm \ - CheckNwcHealth/HP/Procurve.pm \ - CheckNwcHealth/HP/Aruba/Component/MemSubsystem.pm \ - CheckNwcHealth/HP/Aruba/Component/CpuSubsystem.pm \ - CheckNwcHealth/HP/Aruba/Component/TemperatureSubsystem.pm \ - CheckNwcHealth/HP/Aruba/Component/FanSubsystem.pm \ - CheckNwcHealth/HP/Aruba/Component/PowersupplySubsystem.pm \ - CheckNwcHealth/HP/Aruba/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/HP/Aruba.pm \ - CheckNwcHealth/HP.pm \ - CheckNwcHealth/MEOS.pm \ - CheckNwcHealth/Brocade.pm \ - CheckNwcHealth/SecureOS.pm \ - CheckNwcHealth/HSRP/Component/HSRPSubsystem.pm \ - CheckNwcHealth/HSRP.pm \ - CheckNwcHealth/IFMIB/Component/LinkAggregation.pm \ - CheckNwcHealth/IFMIB/Component/InterfaceSubsystem.pm \ - CheckNwcHealth/IFMIB/Component/StackSubsystem.pm \ - CheckNwcHealth/IFMIB.pm \ - CheckNwcHealth/IPFORWARDMIB/Component/RoutingSubsystem.pm \ - CheckNwcHealth/IPFORWARDMIB.pm \ - CheckNwcHealth/IPMIB/Component/RoutingSubsystem.pm \ - CheckNwcHealth/IPMIB/Component/ArpSubsystem.pm \ - CheckNwcHealth/IPMIB.pm \ - CheckNwcHealth/VRRPMIB/Component/VRRPSubsystem.pm \ - CheckNwcHealth/VRRPMIB.pm \ - CheckNwcHealth/HOSTRESOURCESMIB/Component/ClockSubsystem.pm \ - CheckNwcHealth/HOSTRESOURCESMIB/Component/DeviceSubsystem.pm \ - CheckNwcHealth/HOSTRESOURCESMIB/Component/DiskSubsystem.pm \ - CheckNwcHealth/HOSTRESOURCESMIB/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/HOSTRESOURCESMIB/Component/CpuSubsystem.pm \ - CheckNwcHealth/HOSTRESOURCESMIB/Component/MemSubsystem.pm \ - CheckNwcHealth/HOSTRESOURCESMIB/Component/UptimeSubsystem.pm \ - CheckNwcHealth/HOSTRESOURCESMIB.pm \ - CheckNwcHealth/LMSENSORSMIB/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/LMSENSORSMIB/Component/FanSubsystem.pm \ - CheckNwcHealth/LMSENSORSMIB/Component/TemperatureSubsystem.pm \ - CheckNwcHealth/LMSENSORSMIB.pm \ - CheckNwcHealth/ENTITYSENSORMIB.pm \ - CheckNwcHealth/ENTITYSENSORMIB/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/OSPF/Component/NeighborSubsystem.pm \ - CheckNwcHealth/OSPF.pm \ - CheckNwcHealth/BGP/Component/PeerSubsystem.pm \ - CheckNwcHealth/BGP.pm \ - CheckNwcHealth/FCMGMT/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/FCMGMT/Component/SensorSubsystem.pm \ - CheckNwcHealth/FCMGMT.pm \ - CheckNwcHealth/FCEOS/Components/EnvironmentalSubsystem.pm \ - CheckNwcHealth/FCEOS/Components/FruSubsystem.pm \ - CheckNwcHealth/FCEOS.pm \ - CheckNwcHealth/UCDMIB/Components/MemSubsystem.pm \ - CheckNwcHealth/UCDMIB/Components/SwapSubsystem.pm \ - CheckNwcHealth/UCDMIB/Components/CpuSubsystem.pm \ - CheckNwcHealth/UCDMIB/Components/LoadSubsystem.pm \ - CheckNwcHealth/UCDMIB/Components/DiskSubsystem.pm \ - CheckNwcHealth/UCDMIB/Components/ProcessSubsystem.pm \ - CheckNwcHealth/UCDMIB.pm \ - CheckNwcHealth/F5/F5BIGIP/Component/ConfigSubsystem.pm \ - CheckNwcHealth/F5/F5BIGIP/Component/ConnectionSubsystem.pm \ - CheckNwcHealth/F5/F5BIGIP/Component/CpuSubsystem.pm \ - CheckNwcHealth/F5/F5BIGIP/Component/DiskSubsystem.pm \ - CheckNwcHealth/F5/F5BIGIP/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/F5/F5BIGIP/Component/FanSubsystem.pm \ - CheckNwcHealth/F5/F5BIGIP/Component/GTM.pm \ - CheckNwcHealth/F5/F5BIGIP/Component/HaSubsystem.pm \ - CheckNwcHealth/F5/F5BIGIP/Component/VipSubsystem.pm \ - CheckNwcHealth/F5/F5BIGIP/Component/LTM.pm \ - CheckNwcHealth/F5/F5BIGIP/Component/MemSubsystem.pm \ - CheckNwcHealth/F5/F5BIGIP/Component/PowersupplySubsystem.pm \ - CheckNwcHealth/F5/F5BIGIP/Component/TemperatureSubsystem.pm \ - CheckNwcHealth/F5/F5BIGIP.pm \ - CheckNwcHealth/F5.pm \ - CheckNwcHealth/CheckPoint/Firewall1/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/CheckPoint/Firewall1/Component/TemperatureSubsystem.pm \ - CheckNwcHealth/CheckPoint/Firewall1/Component/FanSubsystem.pm \ - CheckNwcHealth/CheckPoint/Firewall1/Component/VoltageSubsystem.pm \ - CheckNwcHealth/CheckPoint/Firewall1/Component/PowersupplySubsystem.pm \ - CheckNwcHealth/CheckPoint/Firewall1/Component/DiskSubsystem.pm \ - CheckNwcHealth/CheckPoint/Firewall1/Component/MngmtSubsystem.pm \ - CheckNwcHealth/CheckPoint/Firewall1/Component/SvnSubsystem.pm \ - CheckNwcHealth/CheckPoint/Firewall1/Component/FwSubsystem.pm \ - CheckNwcHealth/CheckPoint/Firewall1/Component/HaSubsystem.pm \ - CheckNwcHealth/CheckPoint/Firewall1/Component/CpuSubsystem.pm \ - CheckNwcHealth/CheckPoint/Firewall1/Component/MemSubsystem.pm \ - CheckNwcHealth/CheckPoint/Firewall1/Component/VpnSubsystem.pm \ - CheckNwcHealth/CheckPoint/Firewall1.pm \ - CheckNwcHealth/CheckPoint/VSX/Component/FwSubsystem.pm \ - CheckNwcHealth/CheckPoint/VSX.pm \ - CheckNwcHealth/CheckPoint/Gaia.pm \ - CheckNwcHealth/CheckPoint.pm \ - CheckNwcHealth/Clavister/Firewall1/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Clavister/Firewall1/Component/CpuSubsystem.pm \ - CheckNwcHealth/Clavister/Firewall1/Component/MemSubsystem.pm \ - CheckNwcHealth/Clavister/Firewall1.pm \ - CheckNwcHealth/Clavister.pm \ - CheckNwcHealth/SGOS/Component/MemSubsystem.pm \ - CheckNwcHealth/SGOS/Component/CpuSubsystem.pm \ - CheckNwcHealth/SGOS/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/SGOS/Component/SensorSubsystem.pm \ - CheckNwcHealth/SGOS/Component/DiskSubsystem.pm \ - CheckNwcHealth/SGOS/Component/SecuritySubsystem.pm \ - CheckNwcHealth/SGOS/Component/ConnectionSubsystem.pm \ - CheckNwcHealth/SGOS.pm \ - CheckNwcHealth/AVOS/Component/KeySubsystem.pm \ - CheckNwcHealth/AVOS/Component/SecuritySubsystem.pm \ - CheckNwcHealth/AVOS/Component/ConnectionSubsystem.pm \ - CheckNwcHealth/AVOS/Component/MemSubsystem.pm \ - CheckNwcHealth/AVOS/Component/CpuSubsystem.pm \ - CheckNwcHealth/AVOS.pm \ - CheckNwcHealth/Alcatel/OmniAccess/Component/HaSubsystem.pm \ - CheckNwcHealth/Alcatel/OmniAccess/Component/MemSubsystem.pm \ - CheckNwcHealth/Alcatel/OmniAccess/Component/CpuSubsystem.pm \ - CheckNwcHealth/Alcatel/OmniAccess/Component/PowersupplySubsystem.pm \ - CheckNwcHealth/Alcatel/OmniAccess/Component/FanSubsystem.pm \ - CheckNwcHealth/Alcatel/OmniAccess/Component/StorageSubsystem.pm \ - CheckNwcHealth/Alcatel/OmniAccess/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Alcatel/OmniAccess/Component/WlanSubsystem.pm \ - CheckNwcHealth/Alcatel/OmniAccess.pm \ - CheckNwcHealth/Alcatel.pm \ - CheckNwcHealth/ALARMMIB/Component/AlarmSubsystem.pm \ - CheckNwcHealth/Foundry/Component/SLBSubsystem.pm \ - CheckNwcHealth/Foundry/Component/MemSubsystem.pm \ - CheckNwcHealth/Foundry/Component/CpuSubsystem.pm \ - CheckNwcHealth/Foundry/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Foundry/Component/PowersupplySubsystem.pm \ - CheckNwcHealth/Foundry/Component/FanSubsystem.pm \ - CheckNwcHealth/Foundry/Component/TemperatureSubsystem.pm \ - CheckNwcHealth/Foundry/Component/ModuleSubsystem.pm \ - CheckNwcHealth/Foundry.pm \ - CheckNwcHealth/RAPIDCITYMIB/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/RAPIDCITYMIB/Component/PowersupplySubsystem.pm \ - CheckNwcHealth/RAPIDCITYMIB/Component/FanSubsystem.pm \ - CheckNwcHealth/RAPIDCITYMIB/Component/TemperatureSubsystem.pm \ - CheckNwcHealth/RAPIDCITYMIB.pm \ - CheckNwcHealth/PaloAlto/Component/SessionSubsystem.pm \ - CheckNwcHealth/PaloAlto/Component/MemSubsystem.pm \ - CheckNwcHealth/PaloAlto/Component/CpuSubsystem.pm \ - CheckNwcHealth/PaloAlto/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/PaloAlto/Component/HaSubsystem.pm \ - CheckNwcHealth/PaloAlto.pm \ - CheckNwcHealth/Bluecoat.pm \ - CheckNwcHealth/Cumulus.pm \ - CheckNwcHealth/Eltex/Access/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Eltex/Access.pm \ - CheckNwcHealth/Eltex/Aggregation/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Eltex/Aggregation.pm \ - CheckNwcHealth/Eltex/MES/Component/CpuSubsystem.pm \ - CheckNwcHealth/Eltex/MES/Component/HaSubsystem.pm \ - CheckNwcHealth/Eltex.pm \ - CheckNwcHealth/Netgear.pm \ - CheckNwcHealth/Lantronix.pm \ - CheckNwcHealth/Lantronix/SLS.pm \ - CheckNwcHealth/Arista/ARISTABGP4V2MIB/Components/PeerSubsystem.pm \ - CheckNwcHealth/Arista/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Arista/Component/DiskSubsystem.pm \ - CheckNwcHealth/Arista/ARISTAIFMIB/Component/InterfaceSubsystem.pm \ - CheckNwcHealth/Arista.pm \ - CheckNwcHealth/Riverbed/SteelheadEX/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Riverbed/Steelhead/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Riverbed/Steelhead.pm \ - CheckNwcHealth/Riverbed.pm \ - CheckNwcHealth/Vormetric/Component/CpuSubsystem.pm \ - CheckNwcHealth/Vormetric/Component/DiskSubsystem.pm \ - CheckNwcHealth/Vormetric/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Vormetric/Component/MemSubsystem.pm \ - CheckNwcHealth/Vormetric.pm \ - CheckNwcHealth/Lancom/Component/CpuSubsystem.pm \ - CheckNwcHealth/Lancom/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Lancom/Component/MemSubsystem.pm \ - CheckNwcHealth/Lancom.pm \ - CheckNwcHealth/DrayTek/Vigor/Component/CpuSubsystem.pm \ - CheckNwcHealth/DrayTek/Vigor/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/DrayTek/Vigor/Component/MemSubsystem.pm \ - CheckNwcHealth/DrayTek/Vigor.pm \ - CheckNwcHealth/DrayTek.pm \ - CheckNwcHealth/Barracuda/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Barracuda/Component/HaSubsystem.pm \ - CheckNwcHealth/Barracuda/Component/FwSubsystem.pm \ - CheckNwcHealth/Barracuda.pm \ - CheckNwcHealth/Versa/Component/CpuSubsystem.pm \ - CheckNwcHealth/Versa/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/Versa/Component/MemSubsystem.pm \ - CheckNwcHealth/Versa/Component/PeerSubsystem.pm \ - CheckNwcHealth/Versa.pm \ - CheckNwcHealth/PulseSecure/Gateway/Component/UserSubsystem.pm \ - CheckNwcHealth/PulseSecure/Gateway/Component/EnvironmentalSubsystem.pm \ - CheckNwcHealth/PulseSecure/Gateway/Component/CpuSubsystem.pm \ - CheckNwcHealth/PulseSecure/Gateway/Component/DiskSubsystem.pm \ - CheckNwcHealth/PulseSecure/Gateway/Component/MemSubsystem.pm \ - CheckNwcHealth/PulseSecure/Gateway.pm \ - CheckNwcHealth/Device.pm + Classes/UPNP/AVM/FritzBox7390/Components/InterfaceSubsystem.pm \ + Classes/UPNP/AVM/FritzBox7390/Components/SmartHomeSubsystem.pm \ + Classes/UPNP/AVM/FritzBox7390.pm \ + Classes/UPNP/AVM.pm \ + Classes/UPNP.pm \ + Classes/Server/LinuxLocal.pm \ + Classes/Server/WindowsLocal.pm \ + Classes/Server/SolarisLocal.pm \ + Classes/Server/Linux.pm \ + Classes/Server/Linux/Component/CpuSubsystem.pm \ + Classes/Server/Linux/Component/EnvironmentalSubsystem.pm \ + Classes/Server/Linux/Component/MemSubsystem.pm \ + Classes/Bintec/Bibo/Components/EnvironmentalSubsystem.pm \ + Classes/Bintec/Bibo/Components/MemSubsystem.pm \ + Classes/Bintec/Bibo/Components/CpuSubsystem.pm \ + Classes/Bintec/Bibo.pm \ + Classes/Bintec.pm \ + Classes/Cisco/CISCOBGP4MIB/Components/PeerSubsystem.pm \ + Classes/Cisco/CISCOEIGRPMIB/Components/PeerSubsystem.pm \ + Classes/Cisco/CISCOPORTSECURITYMIB/Component/InterfaceSubsystem.pm \ + Classes/Cisco/OLDCISCOINTERFACESMIB/Component/InterfaceSubsystem.pm \ + Classes/Cisco/CISCOIPSECFLOWMONITOR/Component/VpnSubsystem.pm \ + Classes/Cisco/CISCOENHANCEDMEMPOOLMIB/Component/MemSubsystem.pm \ + Classes/Cisco/CISCOMEMORYPOOLMIB/Component/MemSubsystem.pm \ + Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/EnvironmentalSubsystem.pm \ + Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/FanSubsystem.pm \ + Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/ModuleSubsystem.pm \ + Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/PowersupplySubsystem.pm \ + Classes/Cisco/CISCOENTITYSENSORMIB/Component/SensorSubsystem.pm \ + Classes/Cisco/CISCOENTITYALARMMIB/Component/AlarmSubsystem.pm \ + Classes/Cisco/CISCOENVMONMIB/Component/TemperatureSubsystem.pm \ + Classes/Cisco/CISCOENVMONMIB/Component/PowersupplySubsystem.pm \ + Classes/Cisco/CISCOENVMONMIB/Component/VoltageSubsystem.pm \ + Classes/Cisco/CISCOENVMONMIB/Component/FanSubsystem.pm \ + Classes/Cisco/CISCOREMOTEACCESSMONITORMIB/Component/VpnSubsystem.pm \ + Classes/Cisco/CISCOSTACKMIB/Component/StackSubsystem.pm \ + Classes/Cisco/CISCOSTACKWISEMIB/Component/StackSubsystem.pm \ + Classes/Cisco/ASA.pm \ + Classes/Cisco/IOS/Component/HaSubsystem.pm \ + Classes/Cisco/IOS/Component/ConfigSubsystem.pm \ + Classes/Cisco/IOS/Component/CpuSubsystem.pm \ + Classes/Cisco/IOS/Component/MemSubsystem.pm \ + Classes/Cisco/IOS/Component/EnvironmentalSubsystem.pm \ + Classes/Cisco/IOS/Component/ConnectionSubsystem.pm \ + Classes/Cisco/IOS/Component/NatSubsystem.pm \ + Classes/Cisco/IOS/Component/BgpSubsystem.pm \ + Classes/Cisco/IOS.pm \ + Classes/Cisco/NXOS/Component/CpuSubsystem.pm \ + Classes/Cisco/NXOS/Component/MemSubsystem.pm \ + Classes/Cisco/NXOS/Component/EnvironmentalSubsystem.pm \ + Classes/Cisco/NXOS/Component/FexSubsystem.pm \ + Classes/Cisco/NXOS.pm \ + Classes/Cisco/WLC/Component/HaSubsystem.pm \ + Classes/Cisco/WLC/Component/MemSubsystem.pm \ + Classes/Cisco/WLC/Component/CpuSubsystem.pm \ + Classes/Cisco/WLC/Component/EnvironmentalSubsystem.pm \ + Classes/Cisco/WLC/Component/WlanSubsystem.pm \ + Classes/Cisco/WLC.pm \ + Classes/Cisco/PrimeNCS.pm \ + Classes/Cisco/UCOS.pm \ + Classes/Cisco/CCM/Component/PhoneSubsystem.pm \ + Classes/Cisco/CCM/Component/CmSubsystem.pm \ + Classes/Cisco/CCM.pm \ + Classes/Cisco/AsyncOS/Component/KeySubsystem.pm \ + Classes/Cisco/AsyncOS/Component/MemSubsystem.pm \ + Classes/Cisco/AsyncOS/Component/CpuSubsystem.pm \ + Classes/Cisco/AsyncOS/Component/TemperatureSubsystem.pm \ + Classes/Cisco/AsyncOS/Component/PowersupplySubsystem.pm \ + Classes/Cisco/AsyncOS/Component/FanSubsystem.pm \ + Classes/Cisco/AsyncOS/Component/RaidSubsystem.pm \ + Classes/Cisco/AsyncOS/Component/EnvironmentalSubsystem.pm \ + Classes/Cisco/AsyncOS.pm \ + Classes/Cisco/SB/Component/MemSubsystem.pm \ + Classes/Cisco/SB/Component/CpuSubsystem.pm \ + Classes/Cisco/SB/Component/EnvironmentalSubsystem.pm \ + Classes/Cisco/SB.pm \ + Classes/Cisco.pm \ + Classes/OneOS/Component/EnvironmentalSubsystem.pm \ + Classes/OneOS/Component/CpuSubsystem.pm \ + Classes/OneOS/Component/MemSubsystem.pm \ + Classes/OneOS.pm \ + Classes/Nortel/S5/Component/EnvironmentalSubsystem.pm \ + Classes/Nortel/S5/Component/CpuSubsystem.pm \ + Classes/Nortel/S5/Component/MemSubsystem.pm \ + Classes/Nortel/S5.pm \ + Classes/Nortel.pm \ + Classes/Juniper/JunOS/Component/BgpSubsystem.pm \ + Classes/Juniper/JunOS.pm \ + Classes/Juniper/NetScreen/Component/CpuSubsystem.pm \ + Classes/Juniper/NetScreen/Component/MemSubsystem.pm \ + Classes/Juniper/NetScreen/Component/EnvironmentalSubsystem.pm \ + Classes/Juniper/NetScreen/Component/VsdSubsystem.pm \ + Classes/Juniper/NetScreen.pm \ + Classes/Juniper/IVE/Component/MemSubsystem.pm \ + Classes/Juniper/IVE/Component/CpuSubsystem.pm \ + Classes/Juniper/IVE/Component/EnvironmentalSubsystem.pm \ + Classes/Juniper/IVE/Component/DiskSubsystem.pm \ + Classes/Juniper/IVE/Component/UserSubsystem.pm \ + Classes/Juniper/IVE.pm \ + Classes/Juniper/SRX/Component/EnvironmentalSubsystem.pm \ + Classes/Juniper/SRX/Component/CpuSubsystem.pm \ + Classes/Juniper/SRX/Component/MemSubsystem.pm \ + Classes/Juniper/SRX.pm \ + Classes/Juniper.pm \ + Classes/AlliedTelesyn.pm \ + Classes/Fortigate/Component/HaSubsystem.pm \ + Classes/Fortigate/Component/DiskSubsystem.pm \ + Classes/Fortigate/Component/MemSubsystem.pm \ + Classes/Fortigate/Component/CpuSubsystem.pm \ + Classes/Fortigate/Component/EnvironmentalSubsystem.pm \ + Classes/Fortigate/Component/SensorSubsystem.pm \ + Classes/Fortigate.pm \ + Classes/FabOS/Component/MemSubsystem.pm \ + Classes/FabOS/Component/CpuSubsystem.pm \ + Classes/FabOS/Component/EnvironmentalSubsystem.pm \ + Classes/FabOS/Component/SensorSubsystem.pm \ + Classes/FabOS/Component/InterfaceSubsystem.pm \ + Classes/FabOS.pm \ + Classes/HH3C/Component/EntitySubsystem.pm \ + Classes/HH3C/Component/EnvironmentalSubsystem.pm \ + Classes/HH3C/Component/MemSubsystem.pm \ + Classes/HH3C/Component/CpuSubsystem.pm \ + Classes/HH3C.pm \ + Classes/Huawei/Component/EnvironmentalSubsystem.pm \ + Classes/Huawei/Component/CpuSubsystem.pm \ + Classes/Huawei/Component/MemSubsystem.pm \ + Classes/Huawei/CloudEngine.pm \ + Classes/Huawei.pm \ + Classes/HP/Procurve/Component/MemSubsystem.pm \ + Classes/HP/Procurve/Component/CpuSubsystem.pm \ + Classes/HP/Procurve/Component/EnvironmentalSubsystem.pm \ + Classes/HP/Procurve/Component/SensorSubsystem.pm \ + Classes/HP/Procurve.pm \ + Classes/HP.pm \ + Classes/MEOS.pm \ + Classes/Brocade.pm \ + Classes/SecureOS.pm \ + Classes/HSRP/Component/HSRPSubsystem.pm \ + Classes/HSRP.pm \ + Classes/IFMIB/Component/LinkAggregation.pm \ + Classes/IFMIB/Component/InterfaceSubsystem.pm \ + Classes/IFMIB/Component/StackSubsystem.pm \ + Classes/IFMIB.pm \ + Classes/IPFORWARDMIB/Component/RoutingSubsystem.pm \ + Classes/IPFORWARDMIB.pm \ + Classes/IPMIB/Component/RoutingSubsystem.pm \ + Classes/IPMIB.pm \ + Classes/VRRPMIB/Component/VRRPSubsystem.pm \ + Classes/VRRPMIB.pm \ + Classes/HOSTRESOURCESMIB/Component/ClockSubsystem.pm \ + Classes/HOSTRESOURCESMIB/Component/DeviceSubsystem.pm \ + Classes/HOSTRESOURCESMIB/Component/DiskSubsystem.pm \ + Classes/HOSTRESOURCESMIB/Component/EnvironmentalSubsystem.pm \ + Classes/HOSTRESOURCESMIB/Component/CpuSubsystem.pm \ + Classes/HOSTRESOURCESMIB/Component/MemSubsystem.pm \ + Classes/HOSTRESOURCESMIB/Component/UptimeSubsystem.pm \ + Classes/HOSTRESOURCESMIB.pm \ + Classes/LMSENSORSMIB/Component/EnvironmentalSubsystem.pm \ + Classes/LMSENSORSMIB/Component/FanSubsystem.pm \ + Classes/LMSENSORSMIB/Component/TemperatureSubsystem.pm \ + Classes/LMSENSORSMIB.pm \ + Classes/ENTITYSENSORMIB.pm \ + Classes/ENTITYSENSORMIB/Component/EnvironmentalSubsystem.pm \ + Classes/OSPF/Component/NeighborSubsystem.pm \ + Classes/OSPF.pm \ + Classes/BGP/Component/PeerSubsystem.pm \ + Classes/BGP.pm \ + Classes/FCMGMT/Component/EnvironmentalSubsystem.pm \ + Classes/FCMGMT/Component/SensorSubsystem.pm \ + Classes/FCMGMT.pm \ + Classes/FCEOS/Components/EnvironmentalSubsystem.pm \ + Classes/FCEOS/Components/FruSubsystem.pm \ + Classes/FCEOS.pm \ + Classes/UCDMIB/Components/MemSubsystem.pm \ + Classes/UCDMIB/Components/SwapSubsystem.pm \ + Classes/UCDMIB/Components/CpuSubsystem.pm \ + Classes/UCDMIB/Components/LoadSubsystem.pm \ + Classes/UCDMIB/Components/DiskSubsystem.pm \ + Classes/UCDMIB/Components/ProcessSubsystem.pm \ + Classes/UCDMIB.pm \ + Classes/F5/F5BIGIP/Component/ConfigSubsystem.pm \ + Classes/F5/F5BIGIP/Component/ConnectionSubsystem.pm \ + Classes/F5/F5BIGIP/Component/CpuSubsystem.pm \ + Classes/F5/F5BIGIP/Component/DiskSubsystem.pm \ + Classes/F5/F5BIGIP/Component/EnvironmentalSubsystem.pm \ + Classes/F5/F5BIGIP/Component/FanSubsystem.pm \ + Classes/F5/F5BIGIP/Component/GTM.pm \ + Classes/F5/F5BIGIP/Component/HaSubsystem.pm \ + Classes/F5/F5BIGIP/Component/VipSubsystem.pm \ + Classes/F5/F5BIGIP/Component/LTM.pm \ + Classes/F5/F5BIGIP/Component/MemSubsystem.pm \ + Classes/F5/F5BIGIP/Component/PowersupplySubsystem.pm \ + Classes/F5/F5BIGIP/Component/TemperatureSubsystem.pm \ + Classes/F5/F5BIGIP.pm \ + Classes/F5.pm \ + Classes/CheckPoint/Firewall1/Component/EnvironmentalSubsystem.pm \ + Classes/CheckPoint/Firewall1/Component/TemperatureSubsystem.pm \ + Classes/CheckPoint/Firewall1/Component/FanSubsystem.pm \ + Classes/CheckPoint/Firewall1/Component/VoltageSubsystem.pm \ + Classes/CheckPoint/Firewall1/Component/PowersupplySubsystem.pm \ + Classes/CheckPoint/Firewall1/Component/DiskSubsystem.pm \ + Classes/CheckPoint/Firewall1/Component/MngmtSubsystem.pm \ + Classes/CheckPoint/Firewall1/Component/SvnSubsystem.pm \ + Classes/CheckPoint/Firewall1/Component/FwSubsystem.pm \ + Classes/CheckPoint/Firewall1/Component/HaSubsystem.pm \ + Classes/CheckPoint/Firewall1/Component/CpuSubsystem.pm \ + Classes/CheckPoint/Firewall1/Component/MemSubsystem.pm \ + Classes/CheckPoint/Firewall1/Component/VpnSubsystem.pm \ + Classes/CheckPoint/Firewall1.pm \ + Classes/CheckPoint/VSX/Component/FwSubsystem.pm \ + Classes/CheckPoint/VSX.pm \ + Classes/CheckPoint/Gaia.pm \ + Classes/CheckPoint.pm \ + Classes/Clavister/Firewall1/Component/EnvironmentalSubsystem.pm \ + Classes/Clavister/Firewall1/Component/CpuSubsystem.pm \ + Classes/Clavister/Firewall1/Component/MemSubsystem.pm \ + Classes/Clavister/Firewall1.pm \ + Classes/Clavister.pm \ + Classes/SGOS/Component/MemSubsystem.pm \ + Classes/SGOS/Component/CpuSubsystem.pm \ + Classes/SGOS/Component/EnvironmentalSubsystem.pm \ + Classes/SGOS/Component/SensorSubsystem.pm \ + Classes/SGOS/Component/DiskSubsystem.pm \ + Classes/SGOS/Component/SecuritySubsystem.pm \ + Classes/SGOS/Component/ConnectionSubsystem.pm \ + Classes/SGOS.pm \ + Classes/AVOS/Component/KeySubsystem.pm \ + Classes/AVOS/Component/SecuritySubsystem.pm \ + Classes/AVOS/Component/ConnectionSubsystem.pm \ + Classes/AVOS/Component/MemSubsystem.pm \ + Classes/AVOS/Component/CpuSubsystem.pm \ + Classes/AVOS.pm \ + Classes/Alcatel/OmniAccess/Component/HaSubsystem.pm \ + Classes/Alcatel/OmniAccess/Component/MemSubsystem.pm \ + Classes/Alcatel/OmniAccess/Component/CpuSubsystem.pm \ + Classes/Alcatel/OmniAccess/Component/PowersupplySubsystem.pm \ + Classes/Alcatel/OmniAccess/Component/FanSubsystem.pm \ + Classes/Alcatel/OmniAccess/Component/StorageSubsystem.pm \ + Classes/Alcatel/OmniAccess/Component/EnvironmentalSubsystem.pm \ + Classes/Alcatel/OmniAccess/Component/WlanSubsystem.pm \ + Classes/Alcatel/OmniAccess.pm \ + Classes/Alcatel.pm \ + Classes/ALARMMIB/Component/AlarmSubsystem.pm \ + Classes/Foundry/Component/SLBSubsystem.pm \ + Classes/Foundry/Component/MemSubsystem.pm \ + Classes/Foundry/Component/CpuSubsystem.pm \ + Classes/Foundry/Component/EnvironmentalSubsystem.pm \ + Classes/Foundry/Component/PowersupplySubsystem.pm \ + Classes/Foundry/Component/FanSubsystem.pm \ + Classes/Foundry/Component/TemperatureSubsystem.pm \ + Classes/Foundry/Component/ModuleSubsystem.pm \ + Classes/Foundry.pm \ + Classes/RAPIDCITYMIB/Component/EnvironmentalSubsystem.pm \ + Classes/RAPIDCITYMIB/Component/PowersupplySubsystem.pm \ + Classes/RAPIDCITYMIB/Component/FanSubsystem.pm \ + Classes/RAPIDCITYMIB/Component/TemperatureSubsystem.pm \ + Classes/RAPIDCITYMIB.pm \ + Classes/PaloAlto/Component/SessionSubsystem.pm \ + Classes/PaloAlto/Component/MemSubsystem.pm \ + Classes/PaloAlto/Component/CpuSubsystem.pm \ + Classes/PaloAlto/Component/EnvironmentalSubsystem.pm \ + Classes/PaloAlto/Component/HaSubsystem.pm \ + Classes/PaloAlto.pm \ + Classes/Bluecoat.pm \ + Classes/Cumulus.pm \ + Classes/Eltex/Access/Component/EnvironmentalSubsystem.pm \ + Classes/Eltex/Access.pm \ + Classes/Eltex/Aggregation/Component/EnvironmentalSubsystem.pm \ + Classes/Eltex/Aggregation.pm \ + Classes/Eltex/MES/Component/CpuSubsystem.pm \ + Classes/Eltex/MES/Component/HaSubsystem.pm \ + Classes/Eltex.pm \ + Classes/Netgear.pm \ + Classes/Lantronix.pm \ + Classes/Lantronix/SLS.pm \ + Classes/Arista/ARISTABGP4V2MIB/Components/PeerSubsystem.pm \ + Classes/Arista/Component/EnvironmentalSubsystem.pm \ + Classes/Arista.pm \ + Classes/Riverbed/SteelheadEX/Component/EnvironmentalSubsystem.pm \ + Classes/Riverbed/Steelhead/Component/EnvironmentalSubsystem.pm \ + Classes/Riverbed/Steelhead.pm \ + Classes/Riverbed.pm \ + Classes/Lancom/Component/CpuSubsystem.pm \ + Classes/Lancom/Component/EnvironmentalSubsystem.pm \ + Classes/Lancom/Component/MemSubsystem.pm \ + Classes/Lancom.pm \ + Classes/DrayTek/Vigor/Component/CpuSubsystem.pm \ + Classes/DrayTek/Vigor/Component/EnvironmentalSubsystem.pm \ + Classes/DrayTek/Vigor/Component/MemSubsystem.pm \ + Classes/DrayTek/Vigor.pm \ + Classes/DrayTek.pm \ + Classes/Barracuda/Component/EnvironmentalSubsystem.pm \ + Classes/Barracuda/Component/HaSubsystem.pm \ + Classes/Barracuda/Component/FwSubsystem.pm \ + Classes/Barracuda.pm \ + Classes/Device.pm SED = /bin/sed GREP = /bin/grep @@ -804,8 +712,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) @@ -859,10 +767,8 @@ ctags CTAGS: cscope cscopelist: -distdir: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) distdir-am -distdir-am: $(DISTFILES) +distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ @@ -1038,7 +944,7 @@ $(libexec_SCRIPTS) : $(EXTRA_DIST) for m in ${EXTRA_MODULES}; do \ $(SED) -e 's/^1;//g' < $$m | $(SED) -e '/^__END__/,$$d' | $(AWK) -f ./subst >> $@; \ done - $(ECHO) >> $@ + $(ECHO) "package main;" >> $@ $(CAT) $(libexec_SCRIPTS).pl | $(AWK) -f ./subst >> $@ chmod +x $@ diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/check_nwc_health.pl b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/check_nwc_health.pl new file mode 100644 index 0000000..a1925c4 --- /dev/null +++ b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/check_nwc_health.pl @@ -0,0 +1,628 @@ +# /usr/bin/perl -w + +use strict; +no warnings qw(once); + +if ( ! grep /BEGIN/, keys %Monitoring::GLPlugin::) { + eval { + require Monitoring::GLPlugin; + require Monitoring::GLPlugin::SNMP; + require Monitoring::GLPlugin::UPNP; + }; + if ($@) { + printf "UNKNOWN - module Monitoring::GLPlugin was not found. Either build a standalone version of this plugin or set PERL5LIB\n"; + printf "%s\n", $@; + exit 3; + } +} + +my $plugin = Classes::Device->new( + shortname => '', + usage => 'Usage: %s [ -v|--verbose ] [ -t ] '. + '--mode '. + '--hostname --community '. + ' ...]', + version => '$Revision: #PACKAGE_VERSION# $', + blurb => 'This plugin checks various parameters of network components ', + url => 'http://labs.consol.de/nagios/check_nwc_health', + timeout => 60, + plugin => $Monitoring::GLPlugin::pluginname, +); +$plugin->add_mode( + internal => 'device::hardware::health', + spec => 'hardware-health', + alias => undef, + help => 'Check the status of environmental equipment (fans, temperatures, power)', +); +$plugin->add_mode( + internal => 'device::hardware::load', + spec => 'cpu-load', + alias => ['cpu-usage'], + help => 'Check the CPU load of the device', +); +$plugin->add_mode( + internal => 'device::hardware::memory', + spec => 'memory-usage', + alias => undef, + help => 'Check the memory usage of the device', +); +$plugin->add_mode( + internal => 'device::disk::usage', + spec => 'disk-usage', + alias => undef, + help => 'Check the disk usage of the device', +); +$plugin->add_mode( + internal => 'device::interfaces::usage', + spec => 'interface-usage', + alias => undef, + help => 'Check the utilization of interfaces', +); +$plugin->add_mode( + internal => 'device::interfaces::errors', + spec => 'interface-errors', + alias => undef, + help => 'Check the error-rate of interfaces (without discards)', +); +$plugin->add_mode( + internal => 'device::interfaces::discards', + spec => 'interface-discards', + alias => undef, + help => 'Check the discard-rate of interfaces', +); +$plugin->add_mode( + internal => 'device::interfaces::operstatus', + spec => 'interface-status', + alias => undef, + help => 'Check the status of interfaces (oper/admin)', +); +$plugin->add_mode( + internal => 'device::interfaces::duplex', + spec => 'interface-duplex', + alias => undef, + help => 'Check if interfaces operate in duplex mode', +); +$plugin->add_mode( + internal => 'device::interfaces::complete', + spec => 'interface-health', + alias => undef, + help => 'Check everything interface', +); +$plugin->add_mode( + internal => 'device::interfaces::nat::sessions::count', + spec => 'interface-nat-count-sessions', + alias => undef, + help => 'Count the number of nat sessions', +); +$plugin->add_mode( + internal => 'device::interfaces::nat::rejects', + spec => 'interface-nat-rejects', + alias => undef, + help => 'Count the number of nat sessions rejected due to lack of resources', +); +$plugin->add_mode( + internal => 'device::interfaces::list', + spec => 'list-interfaces', + alias => undef, + help => 'Show the interfaces of the device and update the name cache', +); +$plugin->add_mode( + internal => 'device::interfaces::listdetail', + spec => 'list-interfaces-detail', + alias => undef, + help => 'Show the interfaces of the device and some details', +); +$plugin->add_mode( + internal => 'device::interfaces::availability', + spec => 'interface-availability', + alias => undef, + help => 'Show the availability (oper != up) of interfaces', +); +$plugin->add_mode( + internal => 'device::interfaces::aggregation::availability', + spec => 'link-aggregation-availability', + alias => undef, + help => 'Check the percentage of up interfaces in a link aggregation', +); +$plugin->add_mode( + internal => 'device::interfaces::ifstack::status', + spec => 'interface-stack-status', + alias => undef, + help => 'Check the status of interface sublayers (mostly layer 2)', +); +$plugin->add_mode( + internal => 'device::interfaces::ifstack::availability', + spec => 'interface-stack-availability', + alias => undef, + help => 'Check the percentage of available sublayer interfaces', +); +$plugin->add_mode( + internal => 'device::interfaces::etherstats', + spec => 'interface-etherstats', + alias => undef, + help => 'Check the ethernet statistics of interfaces', +); +$plugin->add_mode( + internal => 'device::interfaces::uptime', + spec => 'interface-uptime', + alias => undef, + help => 'Check state changes of interfaces', +); +$plugin->add_mode( + internal => 'device::interfaces::portsecurity', + spec => 'interface-security', + alias => undef, + help => 'Check interfaces for security violations', +); +$plugin->add_mode( + internal => 'device::routes::list', + spec => 'list-routes', + alias => undef, + help => 'Show the configured routes', + help => 'Check the percentage of up interfaces in a link aggregation', +); +$plugin->add_mode( + internal => 'device::routes::exists', + spec => 'route-exists', + alias => undef, + help => 'Check if a route exists. (--name is the dest, --name2 check also the next hop)', +); +$plugin->add_mode( + internal => 'device::routes::count', + spec => 'count-routes', + alias => undef, + help => 'Count the routes. (--name is the dest, --name2 is the hop)', +); +$plugin->add_mode( + internal => 'device::vpn::status', + spec => 'vpn-status', + alias => undef, + help => 'Check the status of vpns (up/down)', +); +$plugin->add_mode( + internal => 'device::vpn::sessions', + spec => 'vpn-sessions', + alias => undef, + help => 'Check the number of vpn sessions (users, errors)', +); +$plugin->add_mode( + internal => 'device::fcinterfaces::usage', + spec => 'fc-interface-usage', + alias => undef, + help => 'Check the utilization of fibrechannel interfaces', +); +$plugin->add_mode( + internal => 'device::fcinterfaces::errors', + spec => 'fc-interface-errors', + alias => undef, + help => 'Check the error-rate of fibrechannel interfaces', +); +$plugin->add_mode( + internal => 'device::fcinterfaces::discards', + spec => 'fc-interface-discards', + alias => undef, + help => 'Check the discard-rate of interfaces', +); +$plugin->add_mode( + internal => 'device::fcinterfaces::operstatus', + spec => 'fc-interface-status', + alias => undef, + help => 'Check the status of interfaces (oper/admin)', +); +$plugin->add_mode( + internal => 'device::fcinterfaces::complete', + spec => 'fc-interface-health', + alias => undef, + help => 'Check everything interface', +); +$plugin->add_mode( + internal => 'device::fcinterfaces::list', + spec => 'fc-list-interfaces', + alias => undef, + help => 'Show the fcal interfaces of the device and update the name cache', +); +$plugin->add_mode( + internal => 'device::shinken::interface', + spec => 'create-shinken-service', + alias => undef, + help => 'Create a Shinken service definition', +); +$plugin->add_mode( + internal => 'device::hsrp::state', + spec => 'hsrp-state', + alias => undef, + help => 'Check the state in a HSRP group', +); +$plugin->add_mode( + internal => 'device::hsrp::failover', + spec => 'hsrp-failover', + alias => undef, + help => 'Check if a HSRP group\'s nodes have changed their roles', +); +$plugin->add_mode( + internal => 'device::hsrp::list', + spec => 'list-hsrp-groups', + alias => undef, + help => 'Show the HSRP groups configured on this device', +); +$plugin->add_mode( + internal => 'device::vrrp::state', + spec => 'vrrp-state', + alias => undef, + help => 'Check the state in a VRRP group', +); +$plugin->add_mode( + internal => 'device::vrrp::failover', + spec => 'vrrp-failover', + alias => undef, + help => 'Check if a VRRP group\'s nodes have changed their roles', +); +$plugin->add_mode( + internal => 'device::vrrp::list', + spec => 'list-vrrp-groups', + alias => undef, + help => 'Show the VRRP groups configured on this device', +); +$plugin->add_mode( + internal => 'device::bgp::peer::status', + spec => 'bgp-peer-status', + alias => undef, + help => 'Check status of BGP peers', +); +$plugin->add_mode( + internal => 'device::bgp::peer::count', + spec => 'count-bgp-peers', + alias => undef, + help => 'Count the number of BGP peers', +); +$plugin->add_mode( + internal => 'device::bgp::peer::watch', + spec => 'watch-bgp-peers', + alias => undef, + help => 'Watch BGP peers appear and disappear', +); +$plugin->add_mode( + internal => 'device::bgp::peer::list', + spec => 'list-bgp-peers', + alias => undef, + help => 'Show BGP peers known to this device', +); +$plugin->add_mode( + internal => 'device::bgp::prefix::count', + spec => 'count-bgp-prefixes', + alias => undef, + help => 'Count the number of BGP prefixes (for specific peer with --name)', +); +$plugin->add_mode( + internal => 'device::ospf::neighbor::status', + spec => 'ospf-neighbor-status', + alias => undef, + help => 'Check status of OSPF neighbors', +); +$plugin->add_mode( + internal => 'device::ospf::neighbor::watch', + spec => 'watch-ospf-neighbors', + alias => undef, + help => 'Watch OSPF neighbors appear and disappear', +); +$plugin->add_mode( + internal => 'device::ospf::neighbor::list', + spec => 'list-ospf-neighbors', + alias => undef, + help => 'Show OSPF neighbors', +); +$plugin->add_mode( + internal => 'device::eigrp::peer::count', + spec => 'count-eigrp-peers', + alias => undef, + help => 'Count the number of EIGRP peers', +); +$plugin->add_mode( + internal => 'device::eigrp::peer::status', + spec => 'eigrp-peer-status', + alias => undef, + help => 'Check status (existance) of EIGRP peers', +); +$plugin->add_mode( + internal => 'device::eigrp::peer::watch', + spec => 'watch-eigrp-peers', + alias => undef, + help => 'Watch EIGRP peers appear and disappear', +); +$plugin->add_mode( + internal => 'device::eigrp::peer::list', + spec => 'list-eigrp-peers', + alias => undef, + help => 'Show EIGRP peers', +); +$plugin->add_mode( + internal => 'device::ha::status', + spec => 'ha-status', + alias => undef, + help => 'Check the status of a clustered setup', +); +$plugin->add_mode( + internal => 'device::ha::role', + spec => 'ha-role', + alias => undef, + help => 'Check the role in a ha group', +); +$plugin->add_mode( + internal => 'device::svn::status', + spec => 'svn-status', + alias => undef, + help => 'Check the status of the svn subsystem', +); +$plugin->add_mode( + internal => 'device::mngmt::status', + spec => 'mngmt-status', + alias => undef, + help => 'Check the status of the management subsystem', +); +$plugin->add_mode( + internal => 'device::process::status', + spec => 'process-status', + alias => undef, + help => 'Check the status of the running processes' +); +$plugin->add_mode( + internal => 'device::fw::policy::installed', + spec => 'fw-policy', + alias => undef, + help => 'Check the installed firewall policy', +); +$plugin->add_mode( + internal => 'device::fw::policy::connections', + spec => 'fw-connections', + alias => undef, + help => 'Check the number of firewall policy connections', +); +$plugin->add_mode( + internal => 'device::lb::session::usage', + spec => 'session-usage', + alias => undef, + help => 'Check the session limits of a load balancer', +); +$plugin->add_mode( + internal => 'device::security', + spec => 'security-status', + alias => undef, + help => 'Check if there are security-relevant incidents', +); +$plugin->add_mode( + internal => 'device::lb::pool::completeness', + spec => 'pool-completeness', + alias => undef, + help => 'Check the members of a load balancer pool', +); +$plugin->add_mode( + internal => 'device::lb::pool::connections', + spec => 'pool-connections', + alias => undef, + help => 'Check the number of connections of a load balancer pool', +); +$plugin->add_mode( + internal => 'device::lb::pool::complections', + spec => 'pool-complections', + alias => undef, + help => 'Check the members and connections of a load balancer pool', +); +$plugin->add_mode( + internal => 'device::wideip::status', + spec => 'wideip-status', + alias => undef, + help => 'Check the status of F5 Wide IPs', +); +$plugin->add_mode( + internal => 'device::lb::pool::list', + spec => 'list-pools', + alias => undef, + help => 'List load balancer pools', +); +$plugin->add_mode( + internal => 'device::vip::list', + spec => 'list-vips', + alias => undef, + help => 'List load balancer vips', +); +$plugin->add_mode( + internal => 'device::vip::watch', + spec => 'watch-vips', + alias => undef, + help => 'Watch load balancer vips', +); +$plugin->add_mode( + internal => 'device::vip::watch', + spec => 'watch-vips', + alias => undef, + help => 'Watch load balancer vips', +); +$plugin->add_mode( + internal => 'device::vip::connect', + spec => 'connect-vips', + alias => ['connected-vips'], + help => 'Check connectivity with load balancer vips', +); +$plugin->add_mode( + internal => 'device::licenses::validate', + spec => 'check-licenses', + alias => undef, + help => 'Check the installed licences/keys', +); +$plugin->add_mode( + internal => 'device::users::count', + spec => 'count-users', + help => 'Count the (connected) users/sessions', +); +$plugin->add_mode( + internal => 'device::config::status', + spec => 'check-config', + alias => undef, + help => 'Check the status of configs (cisco, unsaved config changes)', +); +$plugin->add_mode( + internal => 'device::connections::check', + spec => 'check-connections', + alias => undef, + help => 'Check the quality of connections', +); +$plugin->add_mode( + internal => 'device::connections::count', + spec => 'count-connections', + alias => ['count-connections-client', 'count-connections-server', 'count-sessions'], + help => 'Check the number of connections/sessions (-client, -server is possible)', +); +$plugin->add_mode( + internal => 'device::cisco::fex::watch', + spec => 'watch-fexes', + alias => undef, + help => 'Check if FEXes appear and disappear (use --lookup)', +); +$plugin->add_mode( + internal => 'device::hardware::chassis::health', + spec => 'chassis-hardware-health', + alias => undef, + help => 'Check the status of stacked switches and chassis, count modules and ports', +); +$plugin->add_mode( + internal => 'device::wlan::aps::status', + spec => 'accesspoint-status', + alias => undef, + help => 'Check the status of access points', +); +$plugin->add_mode( + internal => 'device::wlan::aps::count', + spec => 'count-accesspoints', + alias => undef, + help => 'Check if the number of access points is within a certain range', +); +$plugin->add_mode( + internal => 'device::wlan::aps::watch', + spec => 'watch-accesspoints', + alias => undef, + help => 'Check if access points appear and disappear (use --lookup)', +); +$plugin->add_mode( + internal => 'device::wlan::aps::clients', + spec => 'count-accesspoint-clients', + alias => undef, + help => 'Check if the number of access point clients is within a certain range', +); +$plugin->add_mode( + internal => 'device::wlan::aps::list', + spec => 'list-accesspoints', + alias => undef, + help => 'List access points managed by this device', +); +$plugin->add_mode( + internal => 'device::phone::cmstatus', + spec => 'phone-cm-status', + alias => undef, + help => 'Check if the callmanager is up', +); +$plugin->add_mode( + internal => 'device::phone::status', + spec => 'phone-status', + alias => undef, + help => 'Check the number of registered/unregistered/rejected phones', +); +$plugin->add_mode( + internal => 'device::smarthome::device::list', + spec => 'list-smart-home-devices', + alias => undef, + help => 'List Fritz!DECT 200 plugs managed by this device', +); +$plugin->add_mode( + internal => 'device::smarthome::device::status', + spec => 'smart-home-device-status', + alias => undef, + help => 'Check if a Fritz!DECT 200 plug is on (or Comet DECT)', +); +$plugin->add_mode( + internal => 'device::smarthome::device::energy', + spec => 'smart-home-device-energy', + alias => undef, + help => 'Show the current power consumption of a Fritz!DECT 200 plug', +); +$plugin->add_mode( + internal => 'device::smarthome::device::consumption', + spec => 'smart-home-device-consumption', + alias => undef, + help => 'Show the cumulated power consumption of a Fritz!DECT 200 plug', +); +$plugin->add_mode( + internal => 'device::smarthome::device::temperature', + spec => 'smart-home-device-temperature', + alias => undef, + help => 'Show the temperature measured by a Fritz! compatible device', +); +$plugin->add_default_modes(); +$plugin->add_snmp_modes(); +$plugin->add_snmp_args(); +$plugin->add_default_args(); +$plugin->mod_arg("name", + help => "--name + The name of an interface (ifDescr) or pool or ...", +); +$plugin->add_arg( + spec => 'alias=s', + help => "--alias + The alias name of a 64bit-interface (ifAlias)", + required => 0, +); +$plugin->add_arg( + spec => 'ifspeedin=i', + help => "--ifspeedin + Override the ifspeed oid of an interface (only inbound)", + required => 0, +); +$plugin->add_arg( + spec => 'ifspeedout=i', + help => "--ifspeedout + Override the ifspeed oid of an interface (only outbound)", + required => 0, +); +$plugin->add_arg( + spec => 'ifspeed=i', + help => "--ifspeed + Override the ifspeed oid of an interface", + required => 0, +); +$plugin->add_arg( + spec => 'role=s', + help => "--role + The role of this device in a hsrp group (active/standby/listen)", + required => 0, +); +$plugin->add_arg( + spec => 'nosensors', + help => "--nosensors + Skip tables with voltage/current sensors (Nexus)", + required => 0, + hidden => 1, +); + +$plugin->getopts(); +$plugin->classify(); +$plugin->validate_args(); + +if (! $plugin->check_messages()) { + $plugin->init(); + if (! $plugin->check_messages()) { + $plugin->add_ok($plugin->get_summary()) + if $plugin->get_summary(); + $plugin->add_ok($plugin->get_extendedinfo(" ")) + if $plugin->get_extendedinfo(); + } +} elsif ($plugin->opts->snmpwalk && $plugin->opts->offline) { + ; +} else { + ; +} +my ($code, $message) = $plugin->opts->multiline ? + $plugin->check_messages(join => "\n", join_all => ', ') : + $plugin->check_messages(join => ', ', join_all => ', '); +$message .= sprintf "\n%s\n", $plugin->get_info("\n") + if $plugin->opts->verbose >= 1; + +$plugin->nagios_exit($code, $message); diff --git a/check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/subst.in b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/subst.in similarity index 100% rename from check_nwc_health/check_nwc_health-11.2.4/plugins-scripts/subst.in rename to check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/subst.in diff --git a/check_nwc_health/control b/check_nwc_health/control index 6ae2bd8..8e56581 100644 --- a/check_nwc_health/control +++ b/check_nwc_health/control @@ -1,8 +1,7 @@ Homepage: http://labs.consol.de/lang/en/nagios/check_nwc_health/ Watch: http://labs.consol.de/lang/en/nagios/check_nwc_health/ check_nwc_health-([0-9.]+)\.tar\.gz -Recommends: libjson-perl, libjson-xs-perl, libfile-slurp-perl Uploaders: Jan Wagner Description: This plugin checks the hardware health and interface metrics of network components like switches and routers. Build-Depends: autotools-dev -Version: 11.2.4 +Version: 7.12.1.3 diff --git a/check_nwc_health/src b/check_nwc_health/src index 855d3f9..aee6125 120000 --- a/check_nwc_health/src +++ b/check_nwc_health/src @@ -1 +1 @@ -check_nwc_health-11.2.4/ \ No newline at end of file +check_nwc_health-7.12.1.3 \ No newline at end of file diff --git a/check_oom/LICENSE b/check_oom/LICENSE deleted file mode 100644 index 94a9ed0..0000000 --- a/check_oom/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. 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 -them 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 prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. 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. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey 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; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If 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 convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU 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 that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - 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. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -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. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - 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 -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - 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, see . - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - Copyright (C) - This program 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, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -. - - The GNU 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. But first, please read -. diff --git a/check_oom/Makefile b/check_oom/Makefile deleted file mode 100644 index a4bce2e..0000000 --- a/check_oom/Makefile +++ /dev/null @@ -1,14 +0,0 @@ -PLUGIN := check_oom -CLEANFILES := check_oom -DOCFILES := README.md - -include ../common.mk - -check_oom: - cp $@.py $@ - chmod 755 $@ - -install:: - install -d $(DESTDIR)$(PLUGINDIR) - ln -s $(PLUGINDIR)/$(PLUGIN) $(DESTDIR)$(PLUGINDIR)/$(PLUGIN).py - diff --git a/check_oom/README.md b/check_oom/README.md deleted file mode 100644 index 8ad34f6..0000000 --- a/check_oom/README.md +++ /dev/null @@ -1,20 +0,0 @@ -# icinga2_check_oom -Icinga2/Nagios check for Out of memory problems. ATM it check all dmesg output. If you want after check make it green again, you need to run dmesg -c. - -```bash -usage: check_oom.py [-h] [-m {warning,critical,default}] [-v] - -Check for OOM killer events - -optional arguments: - -h, --help show this help message and exit - -m {warning,critical,default}, --mode {warning,critical,default} - Mode of results for this check: warning, critical, - default - -s, --short If this option is specified, check ignores dmesg OOM - problems older then 24 hours - -v, --verbose Show verbose output from demsg about OOM killer events - -check_oom.py: v.1.1 by Dmytro Prokhorenkov -``` - diff --git a/check_oom/check_oom.py b/check_oom/check_oom.py deleted file mode 100755 index fb65523..0000000 --- a/check_oom/check_oom.py +++ /dev/null @@ -1,68 +0,0 @@ -#!/usr/bin/env python3 - -__author__ = 'Dmytro Prokhorenkov' -__version__= 1.1 - -import subprocess, argparse, sys, time, datetime, re - -def oom_check(mode, short=False, verbose=False): - dmesg_results = subprocess.Popen("LC_ALL=C /bin/dmesg | /usr/bin/awk '/invoked oom-killer:/ || /Killed process/'", shell=True, stdout=subprocess.PIPE).stdout.read().decode("utf-8") - _dmesg_res=str.split(dmesg_results, '\n') - counter = 0 - - ### Hack to remove empty strings - while '' in _dmesg_res: - _dmesg_res.remove('') - - if (short): - for line in _dmesg_res: - last_error = float(re.sub('[\[\]]', '', line.split()[0])) - with open('/proc/uptime', 'r') as f: - uptime_seconds = float(f.readline().split()[0]) - if (uptime_seconds - last_error <= 86400): - counter += 1 - else: - counter = len(_dmesg_res) - - exitcode=0 - if counter > 2: - message = "CRITICAL: There are couple of OOM events. You can clear output with dmesg -c" - if verbose: - message = message + dmesg_results - exitcode = 2 - if mode == 'warning': - exitcode = 1 - elif counter == 2: - message = "WARNING: 1 process was killed by OOM. You can clear output with dmesg -c" - if verbose: - message = message + "\r\r" + dmesg_results - exitcode = 1 - if mode == 'critical': - exitcode = 2 - else: - message = "OK: No OOM killer activity found in dmesg output" - return exitcode, message - -def parse_args(): - argp = argparse.ArgumentParser(add_help=True, description='Check for OOM killer events', epilog='{0}: v.{1} by {2}'.format('check_oom.py', __version__, __author__)) - try: - argp.add_argument('-m', '--mode', help='Mode of results for this check: warning, critical, default', default="default", choices=["warning", "critical", "default"]) - except ArgumentError: - print(ArgumentError) - gtfo(4) - argp.add_argument('-s', '--short', action='store_true', help="If this option is specified, check ignores dmesg OOM problems older then 24 hours") - argp.add_argument('-v', '--verbose', action='store_true', help='Show verbose output from demsg about OOM killer events') - return argp.parse_args() - -def gtfo(exitcode, message=''): - if message: - print(message) - exit(exitcode) - -def main(): - args = parse_args() - exitcode, message = oom_check(args.mode, args.short, args.verbose) - gtfo(exitcode, message) - -if __name__ == '__main__': - main() diff --git a/check_oom/control b/check_oom/control deleted file mode 100644 index 53d03f0..0000000 --- a/check_oom/control +++ /dev/null @@ -1,6 +0,0 @@ -Uploaders: Jan Wagner -Recommends: python3-minimal -Version: 4f00775 -Homepage: https://github.com/l13t/icinga2_check_oom -Watch: https://github.com/l13t/icinga2_check_oom ]*>\s+([0-9a-f]+)\s+ -Description: Plugin script to check for Out of memory problems diff --git a/check_oom/copyright b/check_oom/copyright deleted file mode 100644 index 7a805af..0000000 --- a/check_oom/copyright +++ /dev/null @@ -1,13 +0,0 @@ -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -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, see . - diff --git a/check_qnap_health/check_qnap_health b/check_qnap_health/check_qnap_health index 0129fff..48baa64 100644 --- a/check_qnap_health/check_qnap_health +++ b/check_qnap_health/check_qnap_health @@ -6,7 +6,6 @@ ############################# finetuning by vitamin.b@mailbox.org ############################# with code by Tom Lesniak and Hugo Geijteman ############################# with code by Carsten Koebke -############################# with code by sgruber # # copyright (c) 2008 Shahid Iqbal # This program is free software; you can redistribute it and/or modify @@ -20,7 +19,7 @@ # # contact the author directly for more information at: matthias@xcontrol.de ########################################################################################## -plgVer=1.01 +plgVer=1.00 usage() { echo @@ -53,7 +52,7 @@ usage() { echo " -x|--privprotocol - privacy protocol (DES|AES)" echo " -X|--privpassphrase - privacy protocol pass phrase" echo - echo "Parts are: status, sysinfo, systemuptime, temp, cpu, cputemp, usedram, iops, latency, powerstatus, fans, diskused, hdstatus, hdtemp, lunstatus (for iSCSI luns), volstatus (Raid Volume Status)" + echo "Parts are: status, sysinfo, systemuptime, temp, cpu, cputemp, freeram, iops, latency, powerstatus, fans, diskused, hdstatus, hdtemp, lunstatus (for iSCSI luns), volstatus (Raid Volume Status)" echo echo "volstatus & lunstatus checks all vols/luns and vols/lun space; powerstatus checks power supply" echo "<#> is 1-8 for hd, 1-5 for vol" @@ -71,7 +70,7 @@ usage() { echo " * awk" echo " * snmpget" echo " * snmpwalk" - exit $EXIT_UNKNOWN + exit $EXIT_UNKOWN } # Default values @@ -117,12 +116,12 @@ fi PARSED_OPTIONS=$(getopt -n "$0" -o V:H:C:p:hw:c:t:l:u:a:A:x:X:P: --long "hostname:,community:,part:,warning:,critical:,timeout:,level:,user:,authprotocol:,authpassphrase:,privprotocol:,privpassphrase:,port:,help" -- "$@") if [ $? -ne 0 ]; then usage - exit $EXIT_UNKNOWN + exit $EXIT_UNKOWN fi if [ $# -eq 0 ]; then usage - exit $EXIT_UNKNOWN + exit $EXIT_UNKOWN fi eval set -- "$PARSED_OPTIONS" @@ -357,7 +356,7 @@ elif [ "$strPart" == "diskused" ]; then if [ $perc -ge $strCritical ]; then echo "CRITICAL: $OUTPUT" - exit $EXIT_CRITICAL + exit $EXIT_CRITICAL elif [ $perc -ge $strWarning ]; then echo "WARNING: $OUTPUT" exit $EXIT_WARNING @@ -400,7 +399,7 @@ elif [ "$strPart" == "cputemp" ]; then fi # Free RAM--------------------------------------------------------------------------------------------------------------------------------------- -elif [ "$strPart" == "usedram" ]; then +elif [ "$strPart" == "freeram" ]; then totalMemStr="$(_snmpgetval 1.3.6.1.4.1.24681.1.2.2.0)" freeMemStr="$(_snmpgetval 1.3.6.1.4.1.24681.1.2.3.0)" @@ -432,7 +431,7 @@ elif [ "$strPart" == "usedram" ]; then usedMemF="$usedMemH$freeMemUnit" fi - OUTPUT="Total:$totalMemF - Used:$usedMemF - Free:$freeMemF|Memory usage=$percMem%;$strWarning;$strCritical;0;100" + OUTPUT="Total:$totalMemF - Used:$usedMemF - Free:$freeMemF = $percMem%|Memory usage=$percMem%;$strWarning;$strCritical;0;100" if [ $percMem -ge $strCritical ]; then echo "CRITICAL: $OUTPUT" @@ -462,7 +461,7 @@ elif [ "$strPart" == "temp" ]; then fi # Disk IOPS ---------------------------------------------------------------------------------------------------------------------------------------------- -elif [ "$strPart" == "iops" ]; then +elif [ "$strpart" == "iops" ]; then IOPS=$(_snmpgetval 1.3.6.1.4.1.24681.1.4.1.11.5.6.2.1.3.1 | sed -E 's/"|\s%//g') OUTPUT="IOPS="$IOPS"|IOPS="$IOPS";$strWarning;$strCritical;0;100" @@ -479,7 +478,7 @@ elif [ "$strPart" == "iops" ]; then fi # Disk Latency ---------------------------------------------------------------------------------------------------------------------------------------------- -elif [ "$strPart" == "latency" ]; then +elif [ "$strpart" == "latency" ]; then LATENCY=$(_snmpgetval 1.3.6.1.4.1.24681.1.4.1.11.5.6.2.1.4.1 | sed -E 's/"|\s%//g') OUTPUT="Latency="$LATENCY"|Latency="$LATENCY";$strWarning;$strCritical;0;100" @@ -507,13 +506,13 @@ elif [[ "$strPart" == hdtemp ]]; then for (( c=1; c<=$hdnum; c++ )) do TEMPHD="$(_snmpgetval "1.3.6.1.4.1.24681.1.2.11.1.3.$c" | sed -E 's/"([0-9.]+) ?C.*/\1/')" - if [[ ! $TEMPHD =~ ^-?[0-9]+$ ]]; then - if [ -n "$UnknownStr" ]; then + + if [ "$(echo "$TEMPHD" | sed -E 's/[0-9.]+//g')" != "" ]; then + if [ -n "$UnknownStr"]; then UnknownStr="${UnknownStr},HDD${c}" else UnknownStr="UNKNOWN: HD${c}" fi - continue fi if [ $TEMPHD -ge $strCritical ]; then if [ -n "$CriticalStr" ]; then @@ -549,7 +548,7 @@ elif [[ "$strPart" == hdtemp ]]; then OUTPUT="$OUTPUT $WarningStr" fi if [ -n "$UnknownStr" ];then - if [ ! $EXIT -eq 1 -a ! $EXIT -eq 2 ];then + if [ ! $EXIT -eq 1 -o ! $EXIT -eq 2 ];then EXIT=$EXIT_UNKNOWN fi OUTPUT="$OUTPUT $UnknownStr" @@ -597,7 +596,6 @@ elif [ "$strPart" == "lunstatus" ]; then PERFOUTPUT="" WARNING=0 CRITICAL=0 - lunDISABLEDCOUNT=0 lun=1 lunCOUNT="$(_snmpwalk .1.3.6.1.4.1.24681.1.4.1.1.2.1.10.2.1.2 | wc -l)" @@ -611,7 +609,6 @@ elif [ "$strPart" == "lunstatus" ]; then lunSTAT="OK($lun_Status)" else lunSTAT="CRITICAL($lun_Status)" - lunDISABLEDCOUNT=$((lunDISABLEDCOUNT+1)) CRITICAL=1 fi @@ -648,11 +645,8 @@ elif [ "$strPart" == "lunstatus" ]; then unset lunUsedPctStr done - if [ -z "$ALLOUTPUT" ]; then - ALLOUTPUT="OK: All $lunCOUNT luns are fine." - if [ $lunDISABLEDCOUNT -ne 0 ]; then - ALLOUTPUT="CRITICAL: $lunDISABLEDCOUNT of $lunCOUNT luns are disabled." - fi + if [ -z $ALLOUTPUT ]; then + ALLOUTPUT="OK: All luns are fine." fi echo "$ALLOUTPUT| $PERFOUTPUT" @@ -678,68 +672,68 @@ elif [ "$strPart" == "volstatus" ]; then while [ "$VOL" -le "$VOLCOUNT" ]; do Vol_Status="$(_snmpgetval ".1.3.6.1.4.1.24681.1.2.17.1.6.$VOL" | sed 's/^"\(.*\).$/\1/')" - if [ "$Vol_Status" != "No Such Instance currently exists at this OID" ]; then - if [ "$Vol_Status" == "Ready" ]; then - VOLSTAT="OK: $Vol_Status" - elif [ "$Vol_Status" == "Rebuilding..." ]; then - VOLSTAT="WARNING: $Vol_Status" - WARNING=1 - else - VOLSTAT="CRITICAL: $Vol_Status" - CRITICAL=1 - fi - volCpctStr="$(_snmpget ".1.3.6.1.4.1.24681.1.2.17.1.4.$VOL")" - volFreeStr="$(_snmpget ".1.3.6.1.4.1.24681.1.2.17.1.5.$VOL")" - - volCpctSize="$(echo "$volCpctStr" | awk '{print $4}' | sed 's/.\(.*\)/\1/')" - volFreeSize="$(echo "$volFreeStr" | awk '{print $4}' | sed 's/.\(.*\)/\1/')" - volCpctUnit="$(echo "$volCpctStr" | awk '{print $5}' | sed 's/.*\(.B\).*/\1/')" - volFreeUnit="$(echo "$volFreeStr" | awk '{print $5}' | sed 's/.*\(.B\).*/\1/')" - - volCpctExp="$(_get_exp "$volCpctUnit")" - volFreeExp="$(_get_exp "$volFreeUnit")" - - volCpct="$(echo "scale=0; $volCpctSize*(2^$volCpctExp)" | bc -l)" - volFree="$(echo "scale=0; $volFreeSize*(2^$volFreeExp)" | bc -l)" - volUsed="$(echo "scale=0; $volCpct-$volFree" | bc -l)" - - volFreePct="$(echo "scale=0; $volFree*100/$volCpct" | bc -l)" - volUsedPct="$(echo "scale=0; $volUsed*100/$volCpct" | bc -l)" - - volCpctH="$(echo "scale=2; $volCpct/(2^$volCpctExp)" | bc -l)" - volFreeH="$(echo "scale=2; $volFree/(2^$volFreeExp)" | bc -l)" - volUsedH="$(echo "scale=2; $volUsed/(2^$volFreeExp)" | bc -l)" - - if [ "${inhuman:-0}" -eq 1 ]; then - volCpctF="$volCpct" - volFreeF="$volFree" - volUsedF="$volUsed" - else - volCpctF="$volCpctH $volCpctUnit" - volFreeF="$volFreeH $volFreeUnit" - volUsedF="$volUsedH $volFreeUnit" - fi - - if [ "$volFreePct" -le "$strCritical" ]; then - volFreePct="CRITICAL: $volFreePct" - CRITICAL=1 - elif [ "$volFreePct" -le "$strWarning" ]; then - volFreePct="WARNING: $volFreePct" - WARNING=1 - fi - - ALLOUTPUT="${ALLOUTPUT}Volume #$VOL: $VOLSTAT, Total Size (bytes): $volCpctF, Free: $volFreeF (${volFreePct}%)" - if [ "$VOL" -lt "$VOLCOUNT" ]; then - ALLOUTPUT="${ALLOUTPUT}, " - fi - - #Performance Data - if [ $VOL -gt 1 ]; then - PERFOUTPUT="$PERFOUTPUT " - fi - PERFOUTPUT="${PERFOUTPUT}FreeSize_Volume-$VOL=${volFreePct}%;$strWarning;$strCritical;0;100" + if [ "$Vol_Status" == "Ready" ]; then + VOLSTAT="OK: $Vol_Status" + elif [ "$Vol_Status" == "Rebuilding..." ]; then + VOLSTAT="WARNING: $Vol_Status" + WARNING=1 + else + VOLSTAT="CRITICAL: $Vol_Status" + CRITICAL=1 fi + + volCpctStr="$(_snmpget ".1.3.6.1.4.1.24681.1.2.17.1.4.$VOL")" + volFreeStr="$(_snmpget ".1.3.6.1.4.1.24681.1.2.17.1.5.$VOL")" + + volCpctSize="$(echo "$volCpctStr" | awk '{print $4}' | sed 's/.\(.*\)/\1/')" + volFreeSize="$(echo "$volFreeStr" | awk '{print $4}' | sed 's/.\(.*\)/\1/')" + volCpctUnit="$(echo "$volCpctStr" | awk '{print $5}' | sed 's/.*\(.B\).*/\1/')" + volFreeUnit="$(echo "$volFreeStr" | awk '{print $5}' | sed 's/.*\(.B\).*/\1/')" + + volCpctExp="$(_get_exp "$volCpctUnit")" + volFreeExp="$(_get_exp "$volFreeUnit")" + + volCpct="$(echo "scale=0; $volCpctSize*(2^$volCpctExp)" | bc -l)" + volFree="$(echo "scale=0; $volFreeSize*(2^$volFreeExp)" | bc -l)" + volUsed="$(echo "scale=0; $volCpct-$volFree" | bc -l)" + + volFreePct="$(echo "scale=0; $volFree*100/$volCpct" | bc -l)" + volUsedPct="$(echo "scale=0; $volUsed*100/$volCpct" | bc -l)" + + volCpctH="$(echo "scale=2; $volCpct/(2^$volCpctExp)" | bc -l)" + volFreeH="$(echo "scale=2; $volFree/(2^$volFreeExp)" | bc -l)" + volUsedH="$(echo "scale=2; $volUsed/(2^$volFreeExp)" | bc -l)" + + if [ "${inhuman:-0}" -eq 1 ]; then + volCpctF="$volCpct" + volFreeF="$volFree" + volUsedF="$volUsed" + else + volCpctF="$volCpctH $volCpctUnit" + volFreeF="$volFreeH $volFreeUnit" + volUsedF="$volUsedH $volFreeUnit" + fi + + if [ "$volFreePct" -le "$strCritical" ]; then + volFreePct="CRITICAL: $volFreePct" + CRITICAL=1 + elif [ "$volFreePct" -le "$strWarning" ]; then + volFreePct="WARNING: $volFreePct" + WARNING=1 + fi + + ALLOUTPUT="${ALLOUTPUT}Volume #$VOL: $VOLSTAT, Total Size (bytes): $volCpctF, Free: $volFreeF (${volFreePct}%)" + if [ "$VOL" -lt "$VOLCOUNT" ]; then + ALLOUTPUT="${ALLOUTPUT}, " + fi + + #Performance Data + if [ $VOL -gt 1 ]; then + PERFOUTPUT="$PERFOUTPUT " + fi + PERFOUTPUT="${PERFOUTPUT}FreeSize_Volume-$VOL=${volFreePct}%;$strWarning;$strCritical;0;100" + VOL="`expr $VOL + 1`" done @@ -851,7 +845,7 @@ elif [ "$strPart" == "systemuptime" ]; then if [ -z $sysuptime -o -z $netuptime ]; then OUTPUT="UNKOWN: Could not get uptime information!" - EXIT=$EXIT_UNKNOWN + EXIT=$EXIT_UNKOWN fi if [ "$sysuptime" -le "$strCritical" ]; then OUTPUT="CRITICAL: System up since $(date -d @$(( $(date +%s) - $sysuptime )))" diff --git a/check_qnap_health/control b/check_qnap_health/control index 8372bf0..f9823c3 100644 --- a/check_qnap_health/control +++ b/check_qnap_health/control @@ -3,4 +3,4 @@ Watch: https://raw.githubusercontent.com/Mikesch-mp/qnap_health/master/qnap_heal Uploaders: Jan Wagner Description: plugin to check NAS QNAP. Recommends: bc, gawk | mawk, snmp -Version: 1.01 +Version: 1.00 diff --git a/check_redis/control b/check_redis/control index 13410c0..a18d8ba 100644 --- a/check_redis/control +++ b/check_redis/control @@ -1,5 +1,5 @@ Homepage: http://william.leibzon.org/nagios/ -Watch: http://william.leibzon.org/nagios/plugins/check_redis.pl \$Version='([0-9.]+)' +Watch: http://william.leibzon.org/nagios/plugins/check_redis.pl Version : ([0-9.]+) Uploaders: Jan Wagner Description: plugin that verifies redis server is working. Recommends: libredis-perl, monitoring-plugins-common | nagios-plugins-common diff --git a/check_smart/check_smart b/check_smart/check_smart old mode 100755 new mode 100644 index a50abcc..65d2672 --- a/check_smart/check_smart +++ b/check_smart/check_smart @@ -1,889 +1,332 @@ #!/usr/bin/perl -w -# Check SMART status of ATA/SCSI/NVMe drives, returning any usable metrics as perfdata. +# Check SMART status of ATA/SCSI disks, returning any usable metrics as perfdata. # For usage information, run ./check_smart -h # -# This script was initially created under contract for the US Government and is therefore Public Domain -# -# Official documentation: https://www.claudiokuenzler.com/monitoring-plugins/check_smart.php +# This script was created under contract for the US Government and is therefore Public Domain # # Changes and Modifications # ========================= -# Feb 3, 2009: Kurt Yoder - initial version of script (rev 1.0) -# Jul 8, 2013: Claudio Kuenzler - support hardware raids like megaraid (rev 2.0) -# Jul 9, 2013: Claudio Kuenzler - update help output (rev 2.1) -# Oct 11, 2013: Claudio Kuenzler - making the plugin work on FreeBSD (rev 3.0) -# Oct 11, 2013: Claudio Kuenzler - allowing -i sat (SATA on FreeBSD) (rev 3.1) -# Nov 4, 2013: Claudio Kuenzler - works now with CCISS on FreeBSD (rev 3.2) -# Nov 4, 2013: Claudio Kuenzler - elements in grown defect list causes warning (rev 3.3) -# Nov 6, 2013: Claudio Kuenzler - add threshold option "bad" (-b) (rev 4.0) -# Nov 7, 2013: Claudio Kuenzler - modified help (rev 4.0) -# Nov 7, 2013: Claudio Kuenzler - bugfix in threshold logic (rev 4.1) -# Mar 19, 2014: Claudio Kuenzler - bugfix in defect list perfdata (rev 4.2) -# Apr 22, 2014: Jerome Lauret - implemented -g to do a global lookup (rev 5.0) -# Apr 25, 2014: Claudio Kuenzler - cleanup, merge Jeromes code, perfdata output fix (rev 5.1) -# May 5, 2014: Caspar Smit - Fixed output bug in global check / issue #3 (rev 5.2) -# Feb 4, 2015: Caspar Smit and cguadall - Allow detection of more than 26 devices / issue #5 (rev 5.3) -# Feb 5, 2015: Bastian de Groot - Different ATA vs. SCSI lookup (rev 5.4) -# Feb 11, 2015: Josh Behrends - Allow script to run outside of nagios plugins dir / wiki url update (rev 5.5) -# Feb 11, 2015: Claudio Kuenzler - Allow script to run outside of nagios plugins dir for FreeBSD too (rev 5.5) -# Mar 12, 2015: Claudio Kuenzler - Change syntax of -g parameter (glob is now awaited from input) (rev 5.6) -# Feb 6, 2017: Benedikt Heine - Fix Use of uninitialized value $device (rev 5.7) -# Oct 10, 2017: Bobby Jones - Allow multiple devices for interface type megaraid, e.g. "megaraid,[1-5]" (rev 5.8) -# Apr 28, 2018: Pavel Pulec (Inuits) - allow type "auto" (rev 5.9) -# May 5, 2018: Claudio Kuenzler - Check selftest log for errors using new parameter -s (rev 5.10) -# Dec 27, 2018: Claudio Kuenzler - Add exclude list (-e) to ignore certain attributes (5.11) -# Jan 8, 2019: Claudio Kuenzler - Fix 'Use of uninitialized value' warnings (5.11.1) -# Jun 4, 2019: Claudio Kuenzler - Add raw check list (-r) and warning thresholds (-w) (6.0) -# Jun 11, 2019: Claudio Kuenzler - Allow using pseudo bus device /dev/bus/N (6.1) -# Aug 19, 2019: Claudio Kuenzler - Add device model and serial number in output (6.2) -# Oct 1, 2019: Michael Krahe - Allow exclusion from perfdata as well (-E) and by attribute number (6.3) -# Oct 29, 2019: Jesse Becker - Remove dependency on utils.pm, add quiet parameter (6.4) -# Nov 22, 2019: Claudio Kuenzler - Add Reported_Uncorrect and Reallocated_Event_Count to default raw list (6.5) -# Nov 29, 2019: Claudio Kuenzler - Add 3ware and cciss devices for global (-g) check, adjust output (6.6) -# Dec 4, 2019: Ander Punnar - Fix 'deprecation warning on regex with curly brackets' (6.6.1) -# Mar 25, 2020: Claudio Kuenzler - Add support for NVMe devices (6.7.0) -# Jun 2, 2020: Claudio Kuenzler - Bugfix to make --warn work (6.7.1) -# Oct 14, 2020: Claudio Kuenzler - Allow skip self-assessment check (--skip-self-assessment) (6.8.0) -# Oct 14, 2020: Claudio Kuenzler - Add Command_Timeout to default raw list (6.8.0) -# Mar 3, 2021: Evan Felix - Allow use of colons in pathnames so /dev/disk/by-path/ device names work (6.9.0) -# Mar 4, 2021: Claudio Kuenzler - Add SSD attribute Percent_Lifetime_Remain check (-l|--ssd-lifetime) (6.9.0) -# Apr 8, 2021: Claudio Kuenzler - Fix regex for pseudo-devices (6.9.1) -# Jul 6, 2021: Bernhard Bittner - Add aacraid devices (6.10.0) -# Oct 4, 2021: Claudio Kuenzler + Peter Newman - Handle dots in NVMe attributes, prioritize (order) alerts (6.11.0) -# Dec 10, 2021: Claudio Kuenzler - Sec fix in path for pseudo-devices, add Erase_Fail_Count_Total, fix NVMe perfdata (6.12.0) -# Dec 10, 2021: Claudio Kuenzler - Bugfix in interface handling (6.12.1) -# Dec 16, 2021: Lorenz Kaestle - Bugfix when interface parameter was missing in combination with -g (6.12.2) -# Apr 27, 2022: Claudio Kuenzler - Allow skip temperature check (--skip-temp-check) (6.13.0) -# Apr 27, 2022: Peter Newman - Better handling of missing or non-executable smartctl command (6.13.0) -# Apr 29, 2023: Nick Bertrand - Show drive(s) causing UNKNOWN status using -g/--global check (6.14.0) -# Apr 29, 2023: Claudio Kuenzler - Add possibility to hide serial number (--hide-sn) (6.14.0) -# Apr 29, 2023: Claudio Kuenzler - Add default check on Load Cycle Count (ignore using --skip-load-cycles) (6.14.0) -# Sep 20, 2023: Yannick Martin - Fix default Percent_Lifetime_Remain threshold handling when -w is given (6.14.1) -# Sep 20, 2023: Claudio Kuenzler - Fix debug output for raw check list, fix --hide-serial in debug output (6.14.1) -# Mar 15, 2024: Yannick Martin - Fix nvme check when auto interface is given and device is nvme (6.14.2) +# Feb 3, 2009: Kurt Yoder - initial version of script +# Mar 3, 2010: Giles Westwood - add support for hardware raid interfaces use strict; use Getopt::Long; + use File::Basename qw(basename); - my $basename = basename($0); -my $revision = '6.14.2'; -# Standard Nagios return codes -my %ERRORS=('OK'=>0,'WARNING'=>1,'CRITICAL'=>2,'UNKNOWN'=>3,'DEPENDENT'=>4); +my $revision = '$Revision: 1.1 $'; +use lib '/usr/lib/nagios/plugins/'; +use utils qw(%ERRORS &print_revision &support &usage); -my @sys_path = qw(/usr/bin /bin /usr/sbin /sbin /usr/local/bin /usr/local/sbin); -$ENV{'BASH_ENV'}=''; +$ENV{'PATH'}='/bin:/usr/bin:/sbin:/usr/sbin'; +$ENV{'BASH_ENV'}=''; $ENV{'ENV'}=''; -use vars qw($opt_b $opt_d $opt_g $opt_debug $opt_h $opt_i $opt_e $opt_E $opt_r $opt_s $opt_v $opt_w $opt_q $opt_l $opt_skip_sa $opt_skip_temp $opt_skip_load_cycles $opt_hide_sn); +use vars qw($opt_d $opt_debug $opt_h $opt_i $opt_v $opt_m); Getopt::Long::Configure('bundling'); GetOptions( - "debug" => \$opt_debug, - "b=i" => \$opt_b, "bad=i" => \$opt_b, - "d=s" => \$opt_d, "device=s" => \$opt_d, - "g=s" => \$opt_g, "global=s" => \$opt_g, - "h" => \$opt_h, "help" => \$opt_h, - "i=s" => \$opt_i, "interface=s" => \$opt_i, - "e=s" => \$opt_e, "exclude=s" => \$opt_e, - "E=s" => \$opt_E, "exclude-all=s" => \$opt_E, - "q" => \$opt_q, "quiet" => \$opt_q, - "r=s" => \$opt_r, "raw=s" => \$opt_r, - "s" => \$opt_s, "selftest" => \$opt_s, - "v" => \$opt_v, "version" => \$opt_v, - "w=s" => \$opt_w, "warn=s" => \$opt_w, - "l" => \$opt_l, "ssd-lifetime" => \$opt_l, - "skip-self-assessment" => \$opt_skip_sa, - "skip-temp-check" => \$opt_skip_temp, - "skip-load-cycles" => \$opt_skip_load_cycles, - "hide-sn" => \$opt_hide_sn, + "debug" => \$opt_debug, + "d=s" => \$opt_d, "device=s" => \$opt_d, + "h" => \$opt_h, "help" => \$opt_h, + "i=s" => \$opt_i, "interface=s" => \$opt_i, + "m=s" => \$opt_m, "mode=s" => \$opt_m, + "v" => \$opt_v, "version" => \$opt_v, ); if ($opt_v) { - print_revision($basename, $revision); - exit $ERRORS{'OK'}; + print_revision($basename,$revision); + exit $ERRORS{'OK'}; } if ($opt_h) { - print_help(); - exit $ERRORS{'OK'}; + print_help(); + exit $ERRORS{'OK'}; } -my ($device, $interface) = qw// // ''; -if ($opt_d || $opt_g ) { - unless($opt_i){ - print "must specify an interface for $opt_d using -i/--interface!\n\n" if $opt_d; - print "must specify an interface for $opt_g using -i/--interface!\n\n" if $opt_g; - print_help(); - exit $ERRORS{'UNKNOWN'}; - } - - # list of devices for a loop - my(@dev); - - if ( $opt_d ){ - # normal mode - push opt_d on the list of devices - push(@dev,$opt_d); - } else { - # glob all devices - try '?' first - @dev =glob($opt_g); - } - - foreach my $opt_dl (@dev){ - warn "Found $opt_dl\n" if $opt_debug; - if (-b $opt_dl || -c $opt_dl || $opt_dl =~ m/^\/dev\/bus\/\d$/) { - $device .= $opt_dl."|"; - - } else { - warn "$opt_dl is not a valid block/character special device!\n\n" if $opt_debug; - } - } - - if (!defined($device) || $device eq "") { - print "Could not find any valid block/character special device for ". - ($opt_d?"device $opt_d ":"pattern $opt_g")." !\n\n"; - exit $ERRORS{'UNKNOWN'}; - } - - # Allow all device types currently supported by smartctl - # See http://www.smartmontools.org/wiki/Supported_RAID-Controllers - - if ($opt_i =~ m/^(ata|scsi|3ware|areca|hpt|aacraid|cciss|megaraid|sat|auto|nvme)/) { - $interface = $opt_i; - if($interface =~ m/megaraid,\[(\d{1,2})-(\d{1,2})\]/) { - $interface = ""; - for(my $k = $1; $k <= $2; $k++) { - $interface .= "megaraid," . $k . "|"; - } - } - elsif($interface =~ m/3ware,\[(\d{1,2})-(\d{1,2})\]/) { - $interface = ""; - for(my $k = $1; $k <= $2; $k++) { - $interface .= "3ware," . $k . "|"; - } - } - elsif($interface =~ m/cciss,\[(\d{1,2})-(\d{1,2})\]/) { - $interface = ""; - for(my $k = $1; $k <= $2; $k++) { - $interface .= "cciss," . $k . "|"; - } - } - elsif($interface =~ m/aacraid,\[(\d{1,2})-(\d{1,2})\]/) { - $interface = ""; - for(my $k = $1; $k <= $2; $k++) { - $interface .= "aacraid," . $k . "|"; - } - } - else { - $interface .= "|"; - } - } else { - print "invalid interface $opt_i for $opt_d!\n\n"; - print_help(); - exit $ERRORS{'UNKNOWN'}; - } -} - - -if ($device eq "") { - print "UNKNOWN - Must specify a device!\n\n"; - print_help(); - exit $ERRORS{'UNKNOWN'}; -} - -my $smart_command = undef; -foreach my $path (@sys_path) { - if (-x "$path/smartctl") { - $smart_command = "sudo $path/smartctl"; - last; +my ($device, $interface, $mode) = qw//; +if ($opt_d) { + unless($opt_i){ + print "must specify an interface for $opt_d using -i/--interface!\n\n"; + print_help(); + exit $ERRORS{'UNKNOWN'}; } -} + if (!$opt_i =~/3ware|cciss|areca/){ + if ( -b $opt_d){ + $device = $opt_d; + } + else{ + print "$opt_d is not a valid block device!\n\n"; + print_help(); + exit $ERRORS{'UNKNOWN'}; + } + } + else{ + $device = $opt_d; + } -if (!defined($smart_command)) { - print "UNKNOWN - Could not find executable smartctl in " . join(", ", @sys_path) . "\n"; + if($opt_i =~ + /ata|scsi|3ware|cciss|areca|sat|marvell|usbsunplus|hpt|usbcypress|usbsunplus/){ + $interface = $opt_i; + } + else{ + print "invalid interface $opt_i for $opt_d!\n\n"; + print_help(); + exit $ERRORS{'UNKNOWN'}; + } +} +else{ + print "must specify a device!\n\n"; + print_help(); exit $ERRORS{'UNKNOWN'}; } +if ($opt_m){ + if ($opt_m =~ /scsi/){ + $mode = 'scsi'; + } + if ($opt_m =~ /ata/){ + $mode = 'ata'; + } +} +else{ + $mode = 'unused'; +} +my $smart_command = '/usr/bin/sudo /usr/sbin/smartctl'; +my @error_messages = qw//; my $exit_status = 'OK'; -my $exit_status_local = 'OK'; -my $status_string = ''; -my $perf_string = ''; -my $Terminator = ' --- '; -my $vendor = ''; -my $model = ''; -my $product = ''; -my $serial = ''; -# exclude lists -my @exclude_checks = split /,/, $opt_e // '' ; -my @exclude_perfdata = split /,/, $opt_E // ''; -push(@exclude_checks, @exclude_perfdata); -# raw check list -my $raw_check_list = $opt_r // 'Current_Pending_Sector,Reallocated_Sector_Ct,Program_Fail_Cnt_Total,Uncorrectable_Error_Cnt,Offline_Uncorrectable,Runtime_Bad_Block,Reported_Uncorrect,Reallocated_Event_Count,Erase_Fail_Count_Total'; -my @raw_check_list = split /,/, $raw_check_list; -push @raw_check_list, 'Percent_Lifetime_Remain' if $opt_l; +warn "###########################################################\n" if $opt_debug; +warn "(debug) CHECK 1: getting overall SMART health status\n" if $opt_debug; +warn "###########################################################\n\n\n" if $opt_debug; -# raw check list for nvme -my $raw_check_list_nvme = $opt_r // 'Media_and_Data_Integrity_Errors'; -my @raw_check_list_nvme = split /,/, $raw_check_list_nvme; +my $full_command = "$smart_command -d $interface -H $device"; +warn "(debug) executing:\n$full_command\n\n" if $opt_debug; -# warning threshold list (for raw checks) -my $warn_list = $opt_w // ''; -my @warn_list = split /,/, $warn_list; -my %warn_list; -my $warn_key; -my $warn_value; -foreach my $warn_element (@warn_list) { - ($warn_key, $warn_value) = split /=/, $warn_element; - $warn_list{ $warn_key } = $warn_value; -} -if ($opt_l && ! exists $warn_list{'Percent_Lifetime_Remain'}) { - $warn_list{'Percent_Lifetime_Remain'} = 90; +my @output = `$full_command`; +warn "(debug) output:\n@output\n\n" if $opt_debug; + +# parse ata output, looking for "health status: passed" +my $found_status = 0; +my $line_str = 'SMART overall-health self-assessment test result: '; # ATA SMART line +my $ok_str = 'PASSED'; # ATA SMART OK string + +if ($interface eq 'scsi' || $mode eq 'scsi'){ + $line_str = 'SMART Health Status: '; # SCSI SMART line + $ok_str = 'OK'; #SCSI SMART OK string } -# For backward compatibility, add -b parameter to warning thresholds -if ($opt_b) { - $warn_list{ 'Current_Pending_Sector' } = $opt_b; -} - -my @drives_status_okay; -my @drives_status_not_okay; -my @drives_status_warning; -my @drives_status_critical; -my @drives_status_unknown; -my $drive_details; - -foreach $device ( split("\\|",$device) ){ - foreach $interface ( split("\\|",$interface) ){ - my @error_messages = qw//; - my @warning_messages = qw//; - my @notice_messages = qw//; - my($status_string_local)=''; - my($tag,$label); - $exit_status_local = 'OK'; - - if ($opt_g){ - # we had a pattern based on $opt_g - $tag = $device; - $tag =~ s/\Q$opt_g\E//; - if($interface =~ qr/(?:megaraid|3ware|aacraid|cciss)/){ - $label = "[$interface] - "; - } else { - $label = "[$device] - "; - } - } else { - # we had a device specified using $opt_d (traditional) - $label = ""; - $tag = $device; - } - - - warn "###########################################################\n" if $opt_debug; - warn "(debug) CHECK 1: getting overall SMART health status for $tag \n" if $opt_debug; - warn "###########################################################\n\n\n" if $opt_debug; - - my $full_command = "$smart_command -d $interface -Hi $device"; - $full_command = "$smart_command -d $interface -Hi $device -q noserial" if $opt_hide_sn; - warn "(debug) executing:\n$full_command\n\n" if $opt_debug; - - my @output = `$full_command`; - warn "(debug) output:\n@output\n\n" if $opt_debug; - - my $output_mode = ""; - # parse ata output, looking for "health status: passed" - my $found_status = 0; - - my $line_str_ata = 'SMART overall-health self-assessment test result: '; # ATA SMART line - my $ok_str_ata = 'PASSED'; # ATA SMART OK string - my $line_str_scsi = 'SMART Health Status: '; # SCSI and CCISS SMART line - my $ok_str_scsi = 'OK'; #SCSI and CCISS SMART OK string - - my $line_model_ata = 'Device Model: '; # ATA Model including vendor - my $line_model_nvme = 'Model Number: '; # NVMe Model including vendor - my $line_vendor_scsi = 'Vendor: '; # SCSI Vendor - my $line_model_scsi = 'Product: '; # SCSI Model - my $line_serial_ata = 'Serial Number: '; # ATA Drive Serial Number - my $line_serial_scsi = 'Serial number: '; # SCSI Drive Serial Number - - foreach my $line (@output){ - if($line =~ /$line_str_scsi(.+)/){ - $found_status = 1; - $output_mode = "scsi"; - warn "(debug) parsing line:\n$line\n" if $opt_debug; - if ($1 eq $ok_str_scsi) { - warn "(debug) found string '$ok_str_scsi'; status OK\n" if $opt_debug; - } - else { - warn "(debug) no '$ok_str_scsi' status; failing\n" if $opt_debug; - warn "(debug) no '$ok_str_scsi' status; failing but ignoring" if $opt_debug && $opt_skip_sa; - push(@error_messages, "Health status: $1") unless $opt_skip_sa; - escalate_status('CRITICAL') unless $opt_skip_sa; - } - } - elsif($line =~ /$line_str_ata(.+)/){ - $found_status = 1; - if ($interface eq 'nvme') { - $output_mode = "nvme"; - warn "(debug) setting output mode to nvme\n" if $opt_debug; - } else { - $output_mode = "ata" unless $output_mode; - } - warn "(debug) parsing line:\n$line\n" if $opt_debug; - if ($1 eq $ok_str_ata) { - warn "(debug) found string '$ok_str_ata'; status OK\n" if $opt_debug; - } - else { - warn "(debug) no '$ok_str_ata' status; failing\n" if $opt_debug; - warn "(debug) no '$ok_str_ata' status; failing but ignoring\n" if $opt_debug && $opt_skip_sa; - push(@error_messages, "Health status: $1") unless $opt_skip_sa; - escalate_status('CRITICAL') unless $opt_skip_sa; - } - } - if($line =~ /$line_model_ata(.+)/){ - warn "(debug) parsing line:\n$line\n\n" if $opt_debug; - $model = $1; - $model =~ s/\s{2,}/ /g; - warn "(debug) found model: $model\n\n" if $opt_debug; - } - if($line =~ /$line_model_nvme(.+)/){ - $output_mode = "nvme"; - warn "(debug) parsing line:\n$line\n\n" if $opt_debug; - $model = $1; - $model =~ s/\s{2,}/ /g; - warn "(debug) found model: $model\n\n" if $opt_debug; - } - if($line =~ /$line_vendor_scsi(.+)/){ - warn "(debug) parsing line:\n$line\n\n" if $opt_debug; - $vendor = $1; - warn "(debug) found vendor: $model\n\n" if $opt_debug; - } - if($line =~ /$line_model_scsi(.+)/){ - warn "(debug) parsing line:\n$line\n\n" if $opt_debug; - $product = $1; - $model = "$vendor $product"; - $model =~ s/\s{2,}/ /g; - warn "(debug) found model: $model\n\n" if $opt_debug; - } - if($line =~ /$line_serial_ata(.+)/){ - warn "(debug) parsing line:\n$line\n\n" if $opt_debug; - if($opt_hide_sn) { - $serial = ""; - warn "(debug) Hiding serial number\n\n" if $opt_debug; - } else { - $serial = $1; - $serial =~ s/^\s+|\s+$//g; - } - warn "(debug) found serial number $serial\n\n" if $opt_debug; - } - if($line =~ /$line_serial_scsi(.+)/){ - warn "(debug) parsing line:\n$line\n\n" if $opt_debug; - $serial = $1; - $serial =~ s/^\s+|\s+$//g; - warn "(debug) found serial number $serial\n\n" if $opt_debug; - } - - } - - unless ($found_status) { - push(@error_messages, 'No health status line found'); - escalate_status('UNKNOWN'); - } - - - warn "###########################################################\n" if $opt_debug; - warn "(debug) CHECK 2: getting silent SMART health check\n" if $opt_debug; - warn "###########################################################\n\n\n" if $opt_debug; - - $full_command = "$smart_command -d $interface -q silent -A $device"; - warn "(debug) executing:\n$full_command\n\n" if $opt_debug; - - system($full_command); - my $return_code = $?; - warn "(debug) exit code:\n$return_code\n\n" if $opt_debug; - - if ($return_code & 0x01) { - push(@error_messages, 'Commandline parse failure'); - escalate_status('UNKNOWN'); - } - if ($return_code & 0x02) { - push(@error_messages, 'Device could not be opened'); - escalate_status('UNKNOWN'); - } - if ($return_code & 0x04) { - push(@warning_messages, 'Checksum failure'); - escalate_status('WARNING'); - } - if ($return_code & 0x08) { - push(@error_messages, 'Disk is failing'); - escalate_status('CRITICAL'); - } - if ($return_code & 0x10) { - push(@warning_messages, 'Disk is in prefail'); - escalate_status('WARNING'); - } - if ($return_code & 0x20) { - push(@warning_messages, 'Disk may be close to failure'); - escalate_status('WARNING'); - } - if ($return_code & 0x40) { - push(@warning_messages, 'Error log contains errors'); - escalate_status('WARNING'); - } - if ($return_code & 0x80) { - push(@warning_messages, 'Self-test log contains errors'); - escalate_status('WARNING'); - } - if ($return_code && !$exit_status_local) { - push(@error_messages, 'Unknown return code'); - escalate_status('CRITICAL'); - } - - if ($return_code) { - warn "(debug) non-zero exit code, generating error condition\n\n" if $opt_debug; - } else { - warn "(debug) zero exit code, status OK\n\n" if $opt_debug; - } - - if ($opt_s) { - warn "(debug) selftest log check activated\n\n" if $opt_debug; - $full_command = "$smart_command -d $interface -q silent -l selftest $device"; - system($full_command); - my $return_code = $?; - warn "(debug) exit code:\n$return_code\n\n" if $opt_debug; - - if ($return_code > 0) { - push(@warning_messages, 'Self-test log contains errors'); - warn "(debug) Self-test log contains errors\n\n" if $opt_debug; - escalate_status('WARNING'); - } - - if ($return_code) { - warn "(debug) non-zero exit code, generating error condition\n\n" if $opt_debug; - } else { - warn "(debug) zero exit code, status OK\n\n" if $opt_debug; - } - } - - warn "###########################################################\n" if $opt_debug; - warn "(debug) CHECK 3: getting detailed statistics from attributes\n" if $opt_debug; - warn "(debug) information contains a few more potential trouble spots\n" if $opt_debug; - warn "(debug) plus, we can also use the information for perfdata/graphing\n" if $opt_debug; - warn "###########################################################\n\n\n" if $opt_debug; - - $full_command = "$smart_command -d $interface -A $device"; - warn "(debug) executing:\n$full_command\n\n" if $opt_debug; - @output = `$full_command`; - warn "(debug) output:\n@output\n\n" if $opt_debug; - my @perfdata = qw//; - warn "(debug) Raw Check List ATA: @raw_check_list\n" if $opt_debug; - warn "(debug) Raw Check List NVMe: $raw_check_list_nvme\n" if $opt_debug; - warn "(debug) Exclude List for Checks: ", join(",", @exclude_checks), "\n" if $opt_debug; - warn "(debug) Exclude List for Perfdata: ", join(",", @exclude_perfdata), "\n" if $opt_debug; - warn "(debug) Warning Thresholds:\n" if $opt_debug; - for my $warnpair ( sort keys %warn_list ) { warn "$warnpair=$warn_list{$warnpair}\n" if $opt_debug; } - warn "\n" if $opt_debug; - - # separate metric-gathering and output analysis for ATA vs SCSI SMART output - # Yeah - but megaraid is the same output as ata - if ($output_mode =~ "ata") { - foreach my $line(@output){ - # get lines that look like this: - # 9 Power_On_Minutes 0x0032 241 241 000 Old_age Always - 113h+12m - next unless $line =~ /^\s*(\d+)\s(\S+)\s+(?:\S+\s+){6}(\S+)\s+(\d+)/; - my ($attribute_number, $attribute_name, $when_failed, $raw_value) = ($1, $2, $3, $4); - if ($when_failed ne '-'){ - # Going through exclude list - if (grep {$_ eq $attribute_number || $_ eq $attribute_name || $_ eq $when_failed} @exclude_checks) { - warn "SMART Attribute $attribute_name failed at $when_failed but was set to be ignored\n" if $opt_debug; - } else { - push(@warning_messages, "Attribute $attribute_name failed at $when_failed"); - escalate_status('WARNING'); - warn "(debug) parsed SMART attribute $attribute_name with error condition:\n$when_failed\n\n" if $opt_debug; - } - } - # some attributes produce questionable data; no need to graph them - if (grep {$_ eq $attribute_name} ('Unknown_Attribute', 'Power_On_Minutes') ){ - next; - } - if (!grep {$_ eq $attribute_number || $_ eq $attribute_name} @exclude_perfdata) { - push (@perfdata, "$attribute_name=$raw_value") if $opt_d; - } - - # skip attribute if it was set to be ignored in exclude_checks - if (grep {$_ eq $attribute_number || $_ eq $attribute_name} @exclude_checks) { - warn "(debug) SMART Attribute $attribute_name was set to be ignored\n\n" if $opt_debug; - next; - } else { - # alert for high load cycles, generally up to 600K cycles are considered safe on HDDs - unless($opt_skip_load_cycles) { - if ($attribute_number == 193) { - if ($raw_value > 600000) { - warn "(debug) $attribute_name is above value considered safe (600K)\n\n" if $opt_debug; - push(@error_messages, "$attribute_name is above 600K load cycles ($raw_value) causing possible performance and durability impact"); - escalate_status('CRITICAL'); - } elsif ($raw_value < 600000 && $raw_value > 550000) { - warn "(debug) $attribute_name is nearing 600K load cycles\n\n" if $opt_debug; - push(@warning_messages, "$attribute_name is soon reaching 600K load cycles ($raw_value) causing possible performance and durability impact soon"); - } - } - } - # manual checks on raw values for certain attributes deemed significant - if (grep {$_ eq $attribute_name} @raw_check_list) { - if ($raw_value > 0) { - # Check for warning thresholds - if ( ($warn_list{$attribute_name}) && ($raw_value >= $warn_list{$attribute_name}) ) { - warn "(debug) $attribute_name is non-zero ($raw_value)\n\n" if $opt_debug; - push(@warning_messages, "$attribute_name is non-zero ($raw_value)"); - escalate_status('WARNING'); - } elsif ( ($warn_list{$attribute_name}) && ($raw_value < $warn_list{$attribute_name}) ) { - warn "(debug) $attribute_name is non-zero ($raw_value) but less than $warn_list{$attribute_name}\n\n" if $opt_debug; - push(@notice_messages, "$attribute_name is non-zero ($raw_value) (but less than threshold $warn_list{$attribute_name})"); - } - else { - warn "(debug) $attribute_name is non-zero ($raw_value)\n\n" if $opt_debug; - push(@warning_messages, "$attribute_name is non-zero ($raw_value)"); - escalate_status('WARNING'); - } - } else { - warn "(debug) $attribute_name is OK ($raw_value)\n\n" if $opt_debug; - } - } else { - warn "(debug) $attribute_name not in raw check list (raw value: $raw_value)\n\n" if $opt_debug; - } - - } - } - } elsif ($output_mode =~ "nvme") { - foreach my $line(@output){ - next unless $line =~ /(\w.+):\s+(?:(\dx\d(?:\d?\w?)|\d(?:(?:,?\s?\d+,?\s?)?)+))/; - my ($attribute_name, $raw_value) = ($1, $2); - $raw_value =~ s/\s|,//g; - $attribute_name =~ s/\s/_/g; - $attribute_name =~ s/\.//g; - - # some attributes produce irrelevant data; no need to graph them - if (grep {$_ eq $attribute_name} ('Critical_Warning') ){ - push (@exclude_perfdata, "$attribute_name"); - } - # create performance data unless defined in exclude_perfdata list - if (!grep {$_ eq $attribute_name} @exclude_perfdata) { - push (@perfdata, "$attribute_name=$raw_value") if $opt_d; - } - - # skip attribute if it was set to be ignored in exclude_checks - if (grep {$_ eq $attribute_name} @exclude_checks) { - warn "(debug) SMART Attribute $attribute_name was set to be ignored\n\n" if $opt_debug; - next; - } - - # Handle Critical_Warning values - if ($attribute_name eq 'Critical_Warning') { - if ($raw_value eq '0x01') { - push(@warning_messages, "Available spare below threshold"); - escalate_status('WARNING'); - } - elsif ($raw_value eq '0x02') { - push(@warning_messages, "Temperature is above or below thresholds"); - escalate_status('WARNING'); - } - elsif ($raw_value eq '0x03') { - push(@warning_messages, "Available spare below threshold and temperature is above or below thresholds"); - escalate_status('WARNING'); - } - elsif ($raw_value eq '0x04') { - push(@warning_messages, "NVM subsystem reliability degraded"); - escalate_status('WARNING'); - } - elsif ($raw_value eq '0x05') { - push(@warning_messages, "Available spare below threshold and NVM subsystem reliability degraded"); - escalate_status('WARNING'); - } - elsif ($raw_value eq '0x06') { - push(@warning_messages, "Temperature is above or below thresholds and NVM subsystem reliability degraded"); - escalate_status('WARNING'); - } - elsif ($raw_value eq '0x07') { - push(@warning_messages, "Available spare below threshold and Temperature is above or below thresholds and NVM subsystem reliability degraded"); - escalate_status('WARNING'); - } - elsif ($raw_value eq '0x08') { - push(@warning_messages, "Media in read only mode"); - escalate_status('WARNING'); - } - elsif ($raw_value eq '0x09') { - push(@warning_messages, "Media in read only mode and Available spare below threshold"); - escalate_status('WARNING'); - } - elsif ($raw_value eq '0x0A') { - push(@warning_messages, "Media in read only mode and Temperature is above or below thresholds"); - escalate_status('WARNING'); - } - elsif ($raw_value eq '0x0B') { - push(@warning_messages, "Media in read only mode and Temperature is above or below thresholds and Available spare below threshold"); - escalate_status('WARNING'); - } - elsif ($raw_value eq '0x0C') { - push(@warning_messages, "Media in read only mode and NVM subsystem reliability degraded"); - escalate_status('WARNING'); - } - elsif ($raw_value eq '0x0D') { - push(@warning_messages, "Media in read only mode and NVM subsystem reliability degraded and Available spare below threshold"); - escalate_status('WARNING'); - } - elsif ($raw_value eq '0x0E') { - push(@warning_messages, "Media in read only mode and NVM subsystem reliability degraded and Temperature is above or below thresholds"); - escalate_status('WARNING'); - } - elsif ($raw_value eq '0x0F') { - push(@warning_messages, "Media in read only mode and NVM subsystem reliability degraded and Temperature is above or below thresholds"); - escalate_status('WARNING'); - } - elsif ($raw_value eq '0x10') { - push(@warning_messages, "Volatile memory backup device failed"); - escalate_status('WARNING'); - } - } - - # manual checks on raw values for certain attributes deemed significan - if (grep {$_ eq $attribute_name} @raw_check_list_nvme) { - if ($raw_value > 0) { - # Check for warning thresholds - if ( ($warn_list{$attribute_name}) && ($raw_value >= $warn_list{$attribute_name}) ) { - warn "(debug) $attribute_name is non-zero ($raw_value)\n\n" if $opt_debug; - push(@warning_messages, "$attribute_name is non-zero ($raw_value)"); - escalate_status('WARNING'); - } elsif ( ($warn_list{$attribute_name}) && ($raw_value < $warn_list{$attribute_name}) ) { - warn "(debug) $attribute_name is non-zero ($raw_value) but less than $warn_list{$attribute_name}\n\n" if $opt_debug; - push(@notice_messages, "$attribute_name is non-zero ($raw_value) (but less than threshold $warn_list{$attribute_name})"); - } else { - warn "(debug) $attribute_name is non-zero ($raw_value)\n\n" if $opt_debug; - push(@warning_messages, "$attribute_name is non-zero ($raw_value)"); - escalate_status('WARNING'); - } - } else { - warn "(debug) $attribute_name is OK ($raw_value)\n\n" if $opt_debug; - } - } else { - warn "(debug) $attribute_name not in raw check list (raw value: $raw_value)\n\n" if $opt_debug; - } - } - } else { - my ($current_temperature, $max_temperature, $current_start_stop, $max_start_stop) = qw//; - foreach my $line(@output){ - if ($line =~ /Current Drive Temperature:\s+(\d+)/){ - $current_temperature = $1; - } - elsif ($line =~ /Drive Trip Temperature:\s+(\d+)/){ - $max_temperature = $1; - } - elsif ($line =~ /Current start stop count:\s+(\d+)/){ - $current_start_stop = $1; - } - elsif ($line =~ /Recommended maximum start stop count:\s+(\d+)/){ - $max_start_stop = $1; - } - elsif ($line =~ /Elements in grown defect list:\s+(\d+)/){ - my $defectlist = $1; - # check for elements in grown defect list - if ($opt_b) { - push (@perfdata, "defect_list=$defectlist;;$opt_b") if $opt_d; - if (($defectlist > 0) && ($defectlist >= $opt_b)) { - push(@warning_messages, "$defectlist Elements in grown defect list (threshold $opt_b)"); - escalate_status('WARNING'); - warn "(debug) Elements in grown defect list is non-zero ($defectlist)\n\n" if $opt_debug; - } - elsif (($defectlist > 0) && ($defectlist < $opt_b)) { - push(@warning_messages, "Note: $defectlist Elements in grown defect list"); - warn "(debug) Elements in grown defect list is non-zero ($defectlist) but less than $opt_b\n\n" if $opt_debug; - } - } - else { - if ($defectlist > 0) { - push (@perfdata, "defect_list=$defectlist") if $opt_d; - push(@warning_messages, "$defectlist Elements in grown defect list"); - escalate_status('WARNING'); - warn "(debug) Elements in grown defect list is non-zero ($defectlist)\n\n" if $opt_debug; - } - } - } - elsif ($line =~ /Blocks sent to initiator =\s+(\d+)/){ - push (@perfdata, "sent_blocks=$1") if $opt_d; - } - } - if($current_temperature){ - if($max_temperature){ - push (@perfdata, "temperature=$current_temperature;;$max_temperature") if $opt_d; - unless($opt_skip_temp) { - if($current_temperature > $max_temperature){ - warn "(debug) Disk temperature is greater than max ($current_temperature > $max_temperature)\n\n" if $opt_debug; - push(@error_messages, 'Disk temperature is higher than maximum'); - escalate_status('CRITICAL'); - } - } - } - else{ - push (@perfdata, "temperature=$current_temperature") if $opt_d; - } - } - if($current_start_stop){ - if($max_start_stop){ - push (@perfdata, "start_stop=$current_start_stop;$max_start_stop") if $opt_d; - if($current_start_stop > $max_start_stop){ - warn "(debug) Disk start_stop is greater than max ($current_start_stop > $max_start_stop)\n\n" if $opt_debug; - push(@warning_messages, 'Disk start_stop is higher than maximum'); - escalate_status('WARNING'); - } - } - else{ - push (@perfdata, "start_stop=$current_start_stop") if $opt_d; - } - } - } - warn "(debug) gathered perfdata:\n@perfdata\n\n" if $opt_debug; - $perf_string = join(' ', @perfdata); - - warn "###########################################################\n" if $opt_debug; - warn "(debug) LOCAL STATUS: $exit_status_local, FINAL STATUS: $exit_status\n" if $opt_debug; - warn "###########################################################\n\n\n" if $opt_debug; - - if($exit_status_local ne 'OK'){ - if ($opt_g) { - $status_string = $label.join(', ', @error_messages); - $status_string .= $label.join(', ', @warning_messages); - $status_string .= $label.join(', ', @notice_messages); - } - else { - $drive_details = "Drive $model S/N $serial: "; - $status_string = join(', ', @error_messages, ''); - $status_string .= join(', ', @warning_messages, ''); - $status_string .= join(', ', @notice_messages); - } - if ($exit_status_local eq 'WARNING') { - push @drives_status_warning, $status_string; - } elsif ($exit_status_local eq 'CRITICAL') { - push @drives_status_critical, $status_string; - } elsif ($exit_status_local eq 'UNKNOWN') { - push @drives_status_unknown, $status_string; - } +foreach my $line (@output){ + if($line =~ /$line_str(.+)/){ + $found_status = 1; + warn "(debug) parsing line:\n$line\n\n" if $opt_debug; + if ($1 eq $ok_str) { + warn "(debug) found string '$ok_str'; status OK\n\n" if $opt_debug; } else { - if ($opt_g) { - $status_string = $label."Device is clean"; - if (scalar(@error_messages) > 0) { - $status_string .= " ".$label.join(', ', @error_messages); - } - if (scalar(@warning_messages) > 0) { - $status_string .= " ".$label.join(', ', @warning_messages); - } - if (scalar(@notice_messages) > 0) { - $status_string .= " ".$label.join(', ', @notice_messages); - } - } - else { - $drive_details = "Drive $model S/N $serial: no SMART errors detected. "; - $status_string = join(', ', @error_messages); - $status_string .= join(', ', @warning_messages); - $status_string .= join(', ', @notice_messages); - } - push @drives_status_okay, $status_string; + warn "(debug) no '$ok_str' status; failing\n\n" if $opt_debug; + push(@error_messages, "Health status: $1"); + escalate_status('CRITICAL'); } } } -warn "(debug) final status/output: $exit_status\n" if $opt_debug; - -my @msg_list = ($drive_details) if $drive_details; - -if (scalar(@drives_status_critical) > 0) { - push @drives_status_not_okay, @drives_status_critical; -} - -if (scalar(@drives_status_warning) > 0) { - push @drives_status_not_okay, @drives_status_warning; -} - -if (scalar(@drives_status_unknown) > 0) { - push @drives_status_not_okay, @drives_status_unknown; -} - -if (@drives_status_not_okay) { - push @msg_list, grep { $_ } @drives_status_not_okay; -} - -if (@drives_status_not_okay and $opt_q and @drives_status_okay) { - push @msg_list, "Other drives OK"; -} else { - push @msg_list, grep { $_ } @drives_status_okay; +unless ($found_status) { + push(@error_messages, 'No health status line found'); + escalate_status('UNKNOWN'); } -if ($opt_debug) { - warn "(debug) drives ok: @drives_status_okay\n"; - warn "(debug) drives nok: @drives_status_not_okay\n"; - warn "(debug) msg_list: ".join('^', @msg_list)."\n\n"; +warn "###########################################################\n" if $opt_debug; +warn "(debug) CHECK 2: getting silent SMART health check\n" if $opt_debug; +warn "###########################################################\n\n\n" if $opt_debug; + +$full_command = "$smart_command -d $interface -q silent -A $device"; +warn "(debug) executing:\n$full_command\n\n" if $opt_debug; + +system($full_command); +my $return_code = $?; +warn "(debug) exit code:\n$return_code\n\n" if $opt_debug; + +if ($return_code & 0x01) { + push(@error_messages, 'Commandline parse failure'); + escalate_status('UNKNOWN'); +} +if ($return_code & 0x02) { + push(@error_messages, 'Device could not be opened'); + escalate_status('UNKNOWN'); +} +if ($return_code & 0x04) { + push(@error_messages, 'Checksum failure'); + escalate_status('WARNING'); +} +if ($return_code & 0x08) { + push(@error_messages, 'Disk is failing'); + escalate_status('CRITICAL'); +} +if ($return_code & 0x10) { + push(@error_messages, 'Disk is in prefail'); + escalate_status('WARNING'); +} +if ($return_code & 0x20) { + push(@error_messages, 'Disk may be close to failure'); + escalate_status('WARNING'); +} +if ($return_code & 0x40) { + push(@error_messages, 'Error log contains errors'); + escalate_status('WARNING'); +} +if ($return_code & 0x80) { + push(@error_messages, 'Self-test log contains errors'); + escalate_status('WARNING'); +} +if ($return_code && !$exit_status) { + push(@error_messages, 'Unknown return code'); + escalate_status('CRITICAL'); } -$status_string = join( ($opt_g ? $Terminator : ' '), @msg_list); +if ($return_code) { + warn "(debug) non-zero exit code, generating error condition\n\n" if $opt_debug; +} +else { + warn "(debug) zero exit code, status OK\n\n" if $opt_debug; +} -# Final output: Nagios data and exit code -print "$exit_status: $status_string|$perf_string\n"; + +warn "###########################################################\n" if $opt_debug; +warn "(debug) CHECK 3: getting detailed statistics\n" if $opt_debug; +warn "(debug) information contains a few more potential trouble spots\n" if $opt_debug; +warn "(debug) plus, we can also use the information for perfdata/graphing\n" if $opt_debug; +warn "###########################################################\n\n\n" if $opt_debug; + +$full_command = "$smart_command -d $interface -A $device"; +warn "(debug) executing:\n$full_command\n\n" if $opt_debug; +@output = `$full_command`; +warn "(debug) output:\n@output\n\n" if $opt_debug; +my @perfdata = qw//; + +# separate metric-gathering and output analysis for ATA vs SCSI SMART output +if ($interface eq 'ata' || $mode eq 'ata'){ + foreach my $line(@output){ + # get lines that look like this: + # 9 Power_On_Minutes 0x0032 241 241 000 Old_age Always - 113h+12m + next unless $line =~ /^\s*\d+\s(\S+)\s+(?:\S+\s+){6}(\S+)\s+(\d+)/; + my ($attribute_name, $when_failed, $raw_value) = ($1, $2, $3); + if ($when_failed ne '-'){ + push(@error_messages, "Attribute $attribute_name failed at $when_failed"); + escalate_status('WARNING'); + warn "(debug) parsed SMART attribute $attribute_name with error condition:\n$when_failed\n\n" if $opt_debug; + } + # some attributes produce questionable data; no need to graph them + if (grep {$_ eq $attribute_name} ('Unknown_Attribute', 'Power_On_Minutes') ){ + next; + } + push (@perfdata, "$attribute_name=$raw_value"); + + # do some manual checks + if ( ($attribute_name eq 'Current_Pending_Sector') && $raw_value ) { + push(@error_messages, "Sectors pending re-allocation"); + escalate_status('WARNING'); + warn "(debug) Current_Pending_Sector is non-zero ($raw_value)\n\n" if $opt_debug; + } + } +} +else{ + my ($current_temperature, $max_temperature, $current_start_stop, $max_start_stop) = qw//; + foreach my $line(@output){ + if ($line =~ /Current Drive Temperature:\s+(\d+)/){ + $current_temperature = $1; + } + elsif ($line =~ /Drive Trip Temperature:\s+(\d+)/){ + $max_temperature = $1; + } + elsif ($line =~ /Current start stop count:\s+(\d+)/){ + $current_start_stop = $1; + } + elsif ($line =~ /Recommended maximum start stop count:\s+(\d+)/){ + $max_start_stop = $1; + } + elsif ($line =~ /Elements in grown defect list:\s+(\d+)/){ + push (@perfdata, "defect_list=$1"); + } + elsif ($line =~ /Blocks sent to initiator =\s+(\d+)/){ + push (@perfdata, "sent_blocks=$1"); + } + } + if($current_temperature){ + if($max_temperature){ + push (@perfdata, "temperature=$current_temperature;;$max_temperature"); + if($current_temperature > $max_temperature){ + warn "(debug) Disk temperature is greater than max ($current_temperature > $max_temperature)\n\n" if $opt_debug; + push(@error_messages, 'Disk temperature is higher than maximum'); + escalate_status('CRITICAL'); + } + } + else{ + push (@perfdata, "temperature=$current_temperature"); + } + } + if($current_start_stop){ + if($max_start_stop){ + push (@perfdata, "start_stop=$current_start_stop;$max_start_stop"); + if($current_start_stop > $max_start_stop){ + warn "(debug) Disk start_stop is greater than max ($current_start_stop > $max_start_stop)\n\n" if $opt_debug; + push(@error_messages, 'Disk start_stop is higher than maximum'); + escalate_status('WARNING'); + } + } + else{ + push (@perfdata, "start_stop=$current_start_stop"); + } + } +} +warn "(debug) gathered perfdata:\n@perfdata\n\n" if $opt_debug; +my $perf_string = join(' ', @perfdata); + +warn "###########################################################\n" if $opt_debug; +warn "(debug) FINAL STATUS: $exit_status\n" if $opt_debug; +warn "###########################################################\n\n\n" if $opt_debug; + +warn "(debug) final status/output:\n" if $opt_debug; + +my $status_string = ''; + +if($exit_status ne 'OK'){ + $status_string = "$exit_status: ".join(', ', @error_messages); +} +else { + $status_string = "OK: no SMART errors detected"; +} + +print "$status_string|$perf_string\n"; exit $ERRORS{$exit_status}; -sub print_revision { - ($basename, $revision) = @_; - print "$basename v$revision\n"; - print "The monitoring plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\ncopies of the plugins under the terms of the GNU General Public License.\nFor more information about these matters, see the file named COPYING.\n"; - -} - - sub print_help { - print_revision($basename,$revision); - print "\nUsage: $basename {-d=|-g=} -i=(auto|ata|scsi|3ware,N|areca,N|hpt,L/M/N|aacraid,H,L,ID|cciss,N|megaraid,N) [-r list] [-w list] [-b N] [-e list] [-E list] [-s] [-l] [--debug]\n\n"; - print "At least one of the below. -d supersedes -g\n"; - print " -d/--device: a physical block device to be SMART monitored, eg /dev/sda. Pseudo-device /dev/bus/N is allowed.\n"; - print " -g/--global: a glob pattern name of physical devices to be SMART monitored\n"; - print " Example: '/dev/sd[a-z]' will search for all /dev/sda until /dev/sdz devices and report errors globally.\n"; - print " Example: '/dev/sd*[a-z]' will search for all /dev/sda until /dev/sdzzzz etc devices and report errors globally.\n"; - print " It is also possible to use -g in conjunction with megaraid devices. Example: -i 'megaraid,[0-3]'.\n"; - print " Does not output performance data for historical value graphing.\n"; - print "Note that -g only works with a fixed interface (e.g. scsi, ata) and megaraid,N.\n"; - print "\n"; - print "Other options\n"; - print " -i/--interface: device's interface type (auto|ata|scsi|nvme|3ware,N|areca,N|hpt,L/M/N|aacraid,H,L,ID|cciss,N|megaraid,N)\n"; - print " (See http://www.smartmontools.org/wiki/Supported_RAID-Controllers for interface convention)\n"; - print " -r/--raw Comma separated list of ATA or NVMe attributes to check\n"; - print " ATA default: Current_Pending_Sector,Reallocated_Sector_Ct,Program_Fail_Cnt_Total,Uncorrectable_Error_Cnt,Offline_Uncorrectable,Runtime_Bad_Block,Reported_Uncorrect,Reallocated_Event_Count\n"; - print " NVMe default: Media_and_Data_Integrity_Errors\n"; - print " -b/--bad: Threshold value for Current_Pending_Sector for ATA and 'grown defect list' for SCSI drives\n"; - print " -w/--warn Comma separated list of thresholds for ATA drives (e.g. Reallocated_Sector_Ct=10,Current_Pending_Sector=62)\n"; - print " -e/--exclude: Comma separated list of SMART attribute names or numbers which should be excluded (=ignored) with regard to checks\n"; - print " -E/--exclude-all: Comma separated list of SMART attribute names or numbers which should be completely ignored for checks as well as perfdata\n"; - print " -s/--selftest: Enable self-test log check\n"; - print " -l/--ssd-lifetime: Check attribute 'Percent_Lifetime_Remain' available on some SSD drives\n"; - print " --skip-self-assessment: Skip SMART self-assessment health status check\n"; - print " --skip-temp-check: Skip temperature comparison current vs. drive max temperature\n"; - print " --skip-load-cycles: Do not alert on high load/unload cycle count (600K considered safe on hard drives)\n"; - print " --hide-sn: Do not show drive serial number in output\n"; - print " -h/--help: this help\n"; - print " -q/--quiet: When faults detected, only show faulted drive(s) (only affects output when used with -g parameter)\n"; - print " --debug: show debugging information\n"; - print " -v/--version: Version number\n"; + print_revision($basename,$revision); + print "Usage: $basename (--device= --interface=(ata|scsi)|-h|-v) [--debug]\n"; + print " --debug: show debugging information\n"; + print " -d/--device: a device to be SMART monitored, eg /dev/sda /dev/twa0\n"; + print " -i/--interface: ata, scsi, sat,marvell,3ware,N,areca,N,\n"; + print " usbcypress, usbjmicron, usbsunplus, cciss,N, hpt,L/M (or hpt,L/M/N), and test\n"; + print " -m/--mode: Set mode to scsi,ata when drives are behind\n"; + print " hardware raid interface \n"; + print " -h/--help: this help\n"; + print " -v/--version: Version number\n"; + support(); } # escalate an exit status IFF it's more severe than the previous exit status sub escalate_status { - my $requested_status = shift; - # no test for 'CRITICAL'; automatically escalates upwards - if ($requested_status eq 'WARNING') { - return if ($exit_status|$exit_status_local) eq 'CRITICAL'; - } - if ($requested_status eq 'UNKNOWN') { - return if ($exit_status|$exit_status_local) eq 'WARNING'; - return if ($exit_status|$exit_status_local) eq 'CRITICAL'; - } - $exit_status = $requested_status; - $exit_status_local = $requested_status; + my $requested_status = shift; + # no test for 'CRITICAL'; automatically escalates upwards + if ($requested_status eq 'WARNING') { + return if $exit_status eq 'CRITICAL'; + } + if ($requested_status eq 'UNKNOWN') { + return if $exit_status eq 'WARNING'; + return if $exit_status eq 'CRITICAL'; + } + $exit_status = $requested_status; } diff --git a/check_smart/control b/check_smart/control index d4c5266..3704ff1 100644 --- a/check_smart/control +++ b/check_smart/control @@ -1,6 +1,4 @@ -Homepage: https://github.com/Napsty/check_smart +Homepage: https://exchange.icinga.org/exchange/check_smart+hwraid Uploaders: Jan Wagner -Watch: https://raw.githubusercontent.com/Napsty/check_smart/master/check_smart.pl \$revision\ =\ '([0-9.]+)' -Version: 6.14.2 -Description: plugin to check SMART status of ATA/SCSI/NVMe drives, returning any usable metrics as perfdata. +Description: plugin to check SMART status of ATA/SCSI disks Recommends: perl-modules, monitoring-plugins-common | nagios-plugins-common diff --git a/check_vgfree/LICENSE b/check_vgfree/LICENSE deleted file mode 100644 index 0e7d9ed..0000000 --- a/check_vgfree/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2017 Alvaro Figueiredo - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/check_vgfree/Makefile b/check_vgfree/Makefile deleted file mode 100644 index cf9673d..0000000 --- a/check_vgfree/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -#/usr/bin/make -f - -include ../common.mk diff --git a/check_vgfree/README.md b/check_vgfree/README.md deleted file mode 100644 index 26f515a..0000000 --- a/check_vgfree/README.md +++ /dev/null @@ -1,25 +0,0 @@ -# check_vgfree -Nagios plugin to check free space on LVM volume group - -```console -$ chmod +x check_vgfree -$ ./check_vgfree --help -Usage: check_vgfree [options] - try: check_vgfree --help - -Options: - -h, --help show this help message and exit - -c CRITICAL, --critical=CRITICAL - critical size limit - -C CP, --critical-percent=CP - % critical limit - -g VG, --volume-group=VG - volume group to check - -w WARNING, --warning=WARNING - warning size limit - -W WP, --warning-percent=WP - % warning limit - --units=UNIT size in these units: (b)ytes, (k)ilobytes, - (m)egabytes, *(g)igabytes (*DEFAULT), (t)erabytes, - (p)etabytes, (e)xabytes -``` diff --git a/check_vgfree/check_vgfree b/check_vgfree/check_vgfree deleted file mode 100644 index 94ed47e..0000000 --- a/check_vgfree/check_vgfree +++ /dev/null @@ -1,130 +0,0 @@ -#!/usr/bin/python3 -# check_vgfree - Nagios plugin to check free space on LVM volume group - - - -from __future__ import print_function, division -import optparse -import os -import subprocess -import sys - - - -# Subclass to return code 3 at error. -class OptionParser(optparse.OptionParser): - def error(self, msg=None): - self.print_usage(sys.stderr) - self.exit(3, "%s: error: %s\n" % (self.get_prog_name(), msg)) - - - -class NagiosStatus(Exception): - Label = ['OK', 'WARNING', 'CRITICAL', 'UNDEFINED'] - - def __init__(self, code, message): - self.code = code - self.message = message - - def __str__(self): - return "%s - %s" % (NagiosStatus.Label[self.code], self.message) - - def returnStatus(self): - print(self) - sys.exit(self.code) - - - -def parsecmdline(): - "Parse command line options." - usage = 'Usage: %prog [options]\n try: %prog --help' - optionparser = OptionParser(usage) - optionparser.add_option("-c", "--critical", type="float", default=0, - help="critical size limit") - optionparser.add_option("-C", "--critical-percent", type="float", dest="cp", - default=0, help="% critical limit") - optionparser.add_option("-g", "--volume-group", dest="vg", default="vg0", - help="volume group to check") - optionparser.add_option("-w", "--warning", type="float", default=0, - help="warning size limit") - optionparser.add_option("-W", "--warning-percent", type="float", dest="wp", - default=0, help="% warning limit") - optionparser.add_option("--units", type="choice", dest="unit", default="g", - choices=("b", "k", "m", "g", "t", "p", "e"), - help="size in these units: (b)ytes, (k)ilobytes, (m)egabytes, " - "*(g)igabytes (*DEFAULT), (t)erabytes, (p)etabytes, (e)xabytes") - options, args = optionparser.parse_args() - return options - - - -def pickvgscommand(): - "Pick vgs command path" - command = "/sbin/vgs" - if not os.path.isfile(command): - command = "/usr" + command - if not os.path.isfile(command): - msg = 'vgs command not found (is lvm2 package installed?)' - raise NagiosStatus(3, msg) - return command - - - -def pickvgspace(vg, unit): - "Pick free space on volume group." - command = pickvgscommand() - command = [command, "--noheadings", "--nosuffix", - "--options=vg_size,vg_free", "--units=%s" % unit, vg] - environment = {"LANG": "C"} - process = subprocess.Popen(command, stdout=subprocess.PIPE, - stderr=subprocess.PIPE, env=environment) - output, error = process.communicate() - if 0 < process.returncode: - error = error.split('\n')[0].strip() - raise NagiosStatus(3, error) - size, free = [float(x) for x in output.split()] - return size, free - - - -def checkstatus(free, percent, vg, critical, cp, warning, wp, unit): - "Check the limits." - result = "%g%sB (%g%%) free on volume group %s" % (free, unit.upper(), - percent, vg) - if 0 < critical and free <= critical or 0 < cp and percent <= cp: - return NagiosStatus(2, result) - elif 0 < warning and free <= warning or 0 < wp and percent <= wp: - return NagiosStatus(1, result) - else: - return NagiosStatus(0, result) - - - -def main(): - # Parse command line options. - options = parsecmdline() - - # Pick free space on volume group. - try: - size, free = pickvgspace(options.vg, options.unit) - except NagiosStatus as ns: - ns.returnStatus() - percent = 100 * free / size - - # Check the limits. - ns = checkstatus( - free, - percent, - options.vg, - options.critical, - options.cp, - options.warning, - options.wp, - options.unit - ) - ns.returnStatus() - - - -if __name__ == '__main__': - main() diff --git a/check_vgfree/control b/check_vgfree/control deleted file mode 100644 index 0f947c1..0000000 --- a/check_vgfree/control +++ /dev/null @@ -1,6 +0,0 @@ -Uploaders: Jan Wagner -Recommends: lvm2, python3-minimal -Version: 0.3 -Homepage: https://github.com/alvfig/check_vgfree -Watch: https://github.com/alvfig/check_vgfree/tags .*/v?(\d\S+)\.tar\.gz -Description: Plugin script free space on LVM volume group diff --git a/check_vgfree/copyright b/check_vgfree/copyright deleted file mode 120000 index 7a694c9..0000000 --- a/check_vgfree/copyright +++ /dev/null @@ -1 +0,0 @@ -LICENSE \ No newline at end of file diff --git a/check_wireguard/LICENSE b/check_wireguard/LICENSE deleted file mode 100644 index aed1fca..0000000 --- a/check_wireguard/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. 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 -them 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 prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. 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. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey 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; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If 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 convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU 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 that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - 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. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -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. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - 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 -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - nagios-plugin-check_wireguard - Copyright (C) 2018 Alasdair Keyes - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - 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, see . - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - nagios-plugin-check_wireguard Copyright (C) 2018 Alasdair Keyes - This program 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, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -. - - The GNU 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. But first, please read -. diff --git a/check_wireguard/Makefile b/check_wireguard/Makefile deleted file mode 100644 index cf9673d..0000000 --- a/check_wireguard/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -#/usr/bin/make -f - -include ../common.mk diff --git a/check_wireguard/README.md b/check_wireguard/README.md deleted file mode 100644 index 21da9ee..0000000 --- a/check_wireguard/README.md +++ /dev/null @@ -1,80 +0,0 @@ -# nagios-plugin-check_wireguard - -Nagios check for wireguard server - -This plugin uses the `wg show` output on a Wireguard server to show the interfaces and peers defined - -## Dependencies - -* Monitoring::Plugin::Functions Perl module -* Monitoring::Plugin::Getopt Perl module - -## Usage -``` -./check_wireguard -``` - -The output shows the following information -``` -WIREGUARD OK Interfaces: Online:2 Expected:2 wg0:1/2 wg1:0/2 -``` - -* `Interfaces: Online:X Expected:Y` The number of interfaces found with `wg show` and the number expected (provided by the `-i` argument) -* The available online interfaces are then listed in the format `wgX:/`. - * `` is the number of interfaces that have a "latest handshake" value listed - * `` is the total number of peers defined for that interface - -## Installation - -* Copy the `check_wireguard` to your nagios plugin folder and set executable. - -* Add the following to your `nrpe.cfg` file -``` -command[wireguard]=sudo /usr/lib/nagios/plugins/check_wireguard -``` - -* Set your nagios user to be able to run the plugin without a password -``` -nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_wireguard -``` - -## Examples - -* Run with the `-h` argument to see all options -``` -check_wireguard -h -``` - -* Specify the path to the `wg` binary. Default is `/usr/bin/wg` -``` -check_wireguard -b /usr/local/wireguard/bin/wg -``` - -* Specify after how many seconds since the last handshake, a peer should be considered disconnected. Default is `300` seconds. If set to 0, a peer will be considered connected after a single handshake no matter how long ago it was -``` -check_wireguard -s 600 -``` - -## Future Work - -* Compare config against current running config to determine interfaces that are offline - -## Changelog - -* 2021-11-15 :: 0.5.0 :: Update function seconds_since_handshake() to handle string 'Now' -* 2021-11-12 :: 0.4.0 :: Add extra output on error when failing to parse handshake value -* 2018-08-31 :: 0.3.0 :: Add -s switch for connection timeout calculation -* 2018-08-30 :: 0.2.0 :: Add -i switch for expected interfaces -* 2018-08-30 :: 0.1.0 :: First relase - -## Site - -https://gitlab.com/alasdairkeyes/nagios-plugin-check_wireguard - -## Author - -* Alasdair Keyes - https://akeyes.co.uk/ - -## License - -Released under GPL V3 - See included license file. diff --git a/check_wireguard/check_wireguard b/check_wireguard/check_wireguard deleted file mode 100644 index b470bb9..0000000 --- a/check_wireguard/check_wireguard +++ /dev/null @@ -1,129 +0,0 @@ -#!/usr/bin/env perl - -use strict; -use warnings; -use Monitoring::Plugin::Getopt; -use Monitoring::Plugin::Functions; - -my $VERSION = '0.5.0'; - -my $default_binary = '/usr/bin/wg'; -my $default_interfaces_expected = 1; -my $default_seconds_connected = 300; - - # Get Opts -my $go = Monitoring::Plugin::Getopt->new( - usage => "Usage: %s [ -b $default_binary ] [ -i $default_interfaces_expected ] [ -s $default_seconds_connected ]", - version => $VERSION, - url => 'https://gitlab.com/alasdairkeyes/nagios-plugin-check_wireguard', - blurb => "Check wireguard server.", -); - -$go->arg( - spec => 'binary|b=s', - help => "The full path to the wg executable. (default: $default_binary)", - required => 0, - default => $default_binary, -); - -$go->arg( - spec => 'interfaces|i=i', - help => "The number of interfaces expected to be found. (default: $default_interfaces_expected)", - required => 1, - default => $default_interfaces_expected, -); - -$go->arg( - spec => 'seconds_connected|s=i', - help => "A peer is considered connected if a handshake has been set within this many seconds. If set to 0 it will always be considered connected if at least one handshake has been sent. (default: $default_seconds_connected)", - required => 1, - default => $default_seconds_connected, -); - -$go->getopts; -my $binary = $go->binary; -my $interfaces_expected = $go->interfaces; -my $seconds_connected = $go->seconds_connected; - - # Check binary is usable -plugin_exit ( CRITICAL, "Path $binary is not executable") - unless (-x $binary); - - # Execute -my $output = `$binary show`; - - # Parse and process wg output -my $data = parse_output($output); -process_output($data); - - -sub parse_output { - my $output = shift; - my @lines = split(/\n/, $output); - my $data = {}; - my $interface; - foreach my $line (@lines) { - if ($line =~ /^interface:\s+(.*)$/) { - $interface = $1; - $data->{ $interface }{ peers } = 0; - $data->{ $interface }{ connected } = 0; - next; - } - # Increment peer and connected counters - if ($line =~ /^peer:\s+(.*)$/) { - $data->{ $interface }{ peers }++; - } elsif ($line =~ /^\s+latest handshake:\s+(.*)$/) { - $data->{ $interface }{ connected }++ - if (!$seconds_connected || (seconds_since_handshake($1) < $seconds_connected)); - } - } - return $data; -} - -sub seconds_since_handshake { - my $handshake_time_value = shift; - - my $seconds = 0; - foreach my $time_section (split (/,\s?/, $handshake_time_value)) { - if ($time_section eq "Now") { - $seconds += 1; - } elsif ($time_section =~ /^(\d+)\s+(\w+)\b/) { - my $time_value = $1; - my $time_denomination = $2; - - # Convert times into a single second value - if ($time_denomination =~ /^years?/) { - $seconds += $time_value * 60 * 60 * 24 * 365; - } elsif ($time_denomination =~ /^days?/) { - $seconds += $time_value * 60 * 60 * 24; - } elsif ($time_denomination =~ /^hours?/) { - $seconds += $time_value * 60 * 60; - } elsif ($time_denomination =~ /^minutes?/) { - $seconds += $time_value * 60; - } elsif ($time_denomination =~ /^seconds?/) { - $seconds += $time_value; - } - } else { - die "Unknown handshake value: $handshake_time_value"; - } - } - return $seconds; -} - -sub process_output { - my $data = shift; - - my $number_of_interfaces = scalar(keys(%$data)); - - my $result_string = "Interfaces: Online:$number_of_interfaces Expected:$interfaces_expected"; - - foreach my $interface (sort(keys(%$data))) { - $result_string .= " $interface:$data->{ $interface }{ connected }/$data->{ $interface }{ peers }"; - } - - my $status = OK; - $status = CRITICAL - if ($number_of_interfaces != $interfaces_expected); - - plugin_exit ( $status, $result_string); -} diff --git a/check_wireguard/control b/check_wireguard/control deleted file mode 100644 index a857fb2..0000000 --- a/check_wireguard/control +++ /dev/null @@ -1,7 +0,0 @@ -Homepage: https://gitlab.com/alasdairkeyes/nagios-plugin-check_wireguard -Watch: https://gitlab.com/alasdairkeyes/nagios-plugin-check_wireguard/-/raw/master/check_wireguard \$VERSION\ =\ '([0-9.]+)' -Recommends: wireguard-tools, libmonitoring-plugin-perl | libmonitoring-plugin-perl -Version: 0.5.0 -Uploaders: Jan Wagner -Description: plugin checking for a running Sieve daemon - Check SIEVE connections as per rfc 5804 for Nagios diff --git a/check_wireguard/copyright b/check_wireguard/copyright deleted file mode 100644 index cf1ce9f..0000000 --- a/check_wireguard/copyright +++ /dev/null @@ -1,7 +0,0 @@ -Copyright (c) 2012 Alasdair Keyes - -License: GPL v3 - - On Debian systems, the complete text of the GNU General - Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". - diff --git a/debian/README.Debian.plugins b/debian/README.Debian.plugins index a81edc5..155aca6 100644 --- a/debian/README.Debian.plugins +++ b/debian/README.Debian.plugins @@ -22,26 +22,17 @@ check_apache_balancer_members: check_bgp: Required Packages: libnet-snmp-perl, monitoring-plugins-common | nagios-plugins-common -check_es_system: - Required Packages: curl, jshon | jq - -check_esxi_hardware: - Required Packages: python3-minimal, python-pywbem - check_file: Required Packages: libtime-modules-perl -check_iftraffic64: - Required Packages: libsnmp-perl, libnet-dns-perl - check_iostat: Required Packages: sysstat, bc check_iostats: Required Packages: sysstat -check_keepalived: - Required Packages: procps +check_ipsec: + Required Packages: monitoring-plugins-common | nagios-plugins-common, fping, strongswan-starter | openswan check_mysql_slave: Required Packages: libdbd-mysql-perl @@ -52,21 +43,12 @@ check_nextcloud: check_nginx_status: Required Packages: libwww-perl, monitoring-plugins-common | nagios-plugins-common -check_nwc_health: - Required Packages: libjson-perl, libjson-xs-perl, libfile-slurp-perl - -check_oom: - Required Packages: python3-minimal - check_openvpn: Required Packages: libpython-stdlib check_phpfpm_status: Required Packages: libio-socket-ssl-perl, libwww-perl, monitoring-plugins-common | nagios-plugins-common -check_qnap_health: - Required Packages: bc, gawk | mawk, snmp - check_redis: Required Packages: libredis-perl, monitoring-plugins-common | nagios-plugins-common @@ -85,12 +67,3 @@ check_tftp: check_tomcat: Required Packages: libwww-perl, libxml-xpath-perl -check_vgfree: - Required Packages: lvm2, python3-minimal - -check_wireguard: - Required Packages: wireguard-tools, libmonitoring-plugin-perl | libmonitoring-plugin-perl - -ethMon: - Required Packages: python3-minimal - diff --git a/debian/changelog b/debian/changelog index f0f0f08..7f2cfd9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,136 +1,3 @@ -monitoring-plugins-cyconet (25.20240723) restricted; urgency=medium - - * [95224eb] check_nextcloud: Update to latest git version - * [839264b] check_smart: Update to 6.14.2 - - -- Jan Wagner Tue, 23 Jul 2024 08:14:41 +0200 - -monitoring-plugins-cyconet (24.20240318) restricted; urgency=medium - - * [8f0f5b4] Adding check_bond - * [7399873] Autoupdate d/copyright - * [67dd95c] Autoupdate d/control - - -- Jan Wagner Mon, 18 Mar 2024 13:09:29 +0000 - -monitoring-plugins-cyconet (23.20240308+1) restricted; urgency=medium - - * [eaaddfa] Revert to use dh-sequence-python3. - - -- Jan Wagner Fri, 08 Mar 2024 15:45:34 +0100 - -monitoring-plugins-cyconet (23.20240308) restricted; urgency=medium - - [ Jan Wagner ] - * [701ad11] check_nwc_health: Update to 10.3 - * [685fada] Updating build pipelines - - [ dependabot[bot] ] - * [cfd4901] build(deps): bump dawidd6/action-debian-package from 1.4.0 to 1.4.2 - * [98f3635] build(deps): bump dawidd6/action-debian-package from 1.4.2 to 1.4.4 - * [f9ed6fd] check_qnap_health: Update to latest version - * [9a8a43b] build(deps): bump dawidd6/action-debian-package from 1.4.4 to 1.5.0 - * [269c6a9] build(deps): bump dawidd6/action-debian-package from 1.4.0 to 1.4.2 - * [bc49084] build(deps): bump dawidd6/action-debian-package from 1.4.2 to 1.4.4 - - [ ssieber ] - * [d27b9f4] check_keepalived: Add 2nd stat file location - - [ dependabot[bot] ] - * [ab57752] build(deps): bump actions/checkout from 3 to 4 - * [bdcf8f3] build(deps): bump dawidd6/action-debian-package from 1.5.0 to 1.6.0 - - [ Jan Wagner ] - * [f9a67f8] d/rules: Disable override_dh_python3 - - [ Bas Couwenberg ] - * [47225a2] Use dh-sequence-python3. - - [ Jan Wagner ] - * [65f532c] check_es_system: Update to 1.12.1 - * [713d3fe] check_esxi_hardware: Update to 20221230 - * [cd031f5] check_nwc_health: Update to 11.2.4 - * [8753386] check_smart: Update to 6.14.1 - - -- Jan Wagner Fri, 08 Mar 2024 14:20:53 +0000 - -monitoring-plugins-cyconet (22.20220502) restricted; urgency=medium - - * [7c99781] check_nextcloud: Update to 2.0 - * [bd8a94b] check_nextcloud: adjust d/p/check_nextcloud/shebang - * [2e59122] check_nextcloud: Update watch and version information in control - file - * [caf760b] check_smart: Update to 6.13.0 - * [f20f327] Auto update of debian/cobtrol - - -- Jan Wagner Mon, 02 May 2022 14:06:57 +0200 - -monitoring-plugins-cyconet (21.20220322) restricted; urgency=medium - - [ Jan Wagner ] - * [b8eb749] check_sieve: disable epn - * [12e3504] check_nwc_health: Adding libjson-perl and libfile-slurp-perl as recommend - * [ed62d58] check_nwc_health: Also add libjson-xs-perl as new recommend - * [07aecaf] build(deps): bump actions/checkout from 2 to 3 - * [c8ae2e0] Adding ethMon plugin - * [cd2b375] check_nwc_health: Update to 10.1.0.1 - * [23dc31c] Auto update of debian/control - * [577b314] Auto update of debian/copyright - * [a1fcd78] Auto update of debian/README.Debian.plugins - - -- Jan Wagner Tue, 22 Mar 2022 19:52:37 +0100 - -monitoring-plugins-cyconet (20.20220220) restricted; urgency=medium - - * [56d37b5] build(deps): bump skx/github-action-publish-binaries - * [b487452] Adding automated issue branches - * [f476a6f] Switching to auto mode and close issues with PR - * [66b38cf] use dedicated version for create-issue-branch - * [bbf8984] Better not to autoclose PR - * [c175581] Adding check_oom - * [721aa2c] Fix version - * [8aaac36] check_smart: Update to new upstream - * [c874d99] check_ipsec: Remove from package - * [46c6a10] Version v1.5 is way to old - * [147a2a6] check_wireguard: Adding new plugin - * [1effd24] check_vgfree: Adding new plugin - * [a2422eb] check_es_system: Adding new plugin - * [8e5d8ec] Trim trailing whitespace. - * [91b1867] Change priority extra to priority optional. - * [8ce5619] Update renamed lintian tag names in lintian overrides. - * [6ac31e1] Use secure URI in Vcs control headers: Vcs-Browser, Vcs-Git. - * [023a659] Use canonical URL in Vcs-Git. - * [fe5636a] Trim trailing whitespace. - * [7661b7b] check_esxi_hardware: USe a more exact watch URL - * [9dc4113] check_esxi_hardware: Update to 20210809 - * [5e1abd1] check_nwc_health: Update to 10.1 - * [6bebf05] check_redis: Fix regular expression for watch - * [b5bb786] check_vgfree: Fix watch configuration and version in d/control - * [bdb03d8] Auto update of debian/copyright - * [6b2b9a3] Auto update of debian/cobtrol - * [c25f3f2] Auto update of debian/README.Debian.plugins - - -- Jan Wagner Sun, 20 Feb 2022 12:46:23 +0100 - -monitoring-plugins-cyconet (19.20210721) restricted; urgency=medium - - * [92f8650] d/control: Bump Standards-Version to 4.5.1, no changes needed - * [6660a85] d/source/options: Adding .github to diff ignore - * [9df31e7] Adding check_keepalived - * [088dc0d] Auto update of debian/control - * [ab5f0b8] check_qnap_health: Update to 1.01 - * [bfd168f] Drop d/patches/check_qnap_health/fix_strPart - * [0ac7e5c] check_nwc_health: Update to 8.4 - * [3c03495] Auto update of debian/control - - -- Jan Wagner Wed, 21 Jul 2021 16:01:21 +0200 - -monitoring-plugins-cyconet (18.20201029+1) restricted; urgency=medium - - * [c912af1] Adding initial version of packaging test - - -- Jan Wagner Fri, 06 Nov 2020 00:20:26 +0100 - monitoring-plugins-cyconet (18.20201028) restricted; urgency=medium * [51da819] check_qnap3: remove in favout of check_qnap_health diff --git a/debian/control b/debian/control index a5c5a96..8613551 100644 --- a/debian/control +++ b/debian/control @@ -1,6 +1,6 @@ Source: monitoring-plugins-cyconet Section: net -Priority: optional +Priority: extra Maintainer: Jan Wagner Uploaders: Jan Wagner Build-Depends: autotools-dev, @@ -11,13 +11,13 @@ Build-Depends: autotools-dev, quilt (>= 0.46-7), autotools-dev Standards-Version: 3.9.6 -Vcs-Git: https://github.com/waja/monitoring-plugins-cyconet.git -Vcs-Browser: https://github.com/waja/monitoring-plugins-cyconet +Vcs-Git: git://github.com/waja/monitoring-plugins-cyconet +Vcs-Browser: http://github.com/waja/monitoring-plugins-cyconet Package: monitoring-plugins-cyconet Architecture: any Depends: ${misc:Depends} -Recommends: libdata-dump-perl, libweb-scraper-perl, libmonitoring-plugin-perl | libnagios-plugin-perl, libnet-snmp-perl, monitoring-plugins-common | nagios-plugins-common, gawk, curl, jshon | jq, python3-minimal, python-pywbem, libtime-modules-perl, libsnmp-perl, libnet-dns-perl, sysstat, bc, procps, libdbd-mysql-perl, libwww-perl, libjson-perl, libjson-xs-perl, libfile-slurp-perl, libpython-stdlib, libio-socket-ssl-perl, gawk | mawk, snmp, libredis-perl, ruby-redis, libio-socket-inet6-perl, libmonitoring-plugin-perl | libmonitoring-plugin-perl, perl-modules, libnet-tftp-perl, libxml-xpath-perl, lvm2, wireguard-tools, +Recommends: libdata-dump-perl, libweb-scraper-perl, libmonitoring-plugin-perl | libnagios-plugin-perl, libnet-snmp-perl, monitoring-plugins-common | nagios-plugins-common, python3-minimal, python-pywbem, libtime-modules-perl, libsnmp-perl, libnet-dns-perl, sysstat, bc, fping, strongswan-starter | openswan, libdbd-mysql-perl, libwww-perl, libpython-stdlib, libio-socket-ssl-perl, gawk | mawk, snmp, libredis-perl, ruby-redis, libio-socket-inet6-perl, libmonitoring-plugin-perl | libmonitoring-plugin-perl, perl-modules, libnet-tftp-perl, libxml-xpath-perl, ${perl:Depends}, ${python:Depends}, ${shlibs:Depends} @@ -30,36 +30,29 @@ Description: Plugins for nagios compatible monitoring systems . * check_apache_balancer_members (8e1ad17): plugin to monitor Apache2 balancer_manager * check_bgp (0.4): plugin to check BGP peer status via SNMP. - * check_bond: plugin that checks for the status of bonding interfaces. - * check_es_system (1.12.1): Plugin script to check the status of an ElasticSearch cluster node. - * check_esxi_hardware (20221230): Plugin for checking global health of VMware ESX/ESXi host + * check_esxi_hardware (20200710): Plugin for checking global health of VMware ESX/ESXi host * check_file: plugin to check file count, size and ages * check_iftraffic64 (.77): plugin for checking network traffic by snmp. * check_iostat (0.0.9): plugin shows the I/O usage of the specified disk. * check_iostats (0.1): plugin shows the I/O usage of the specified disk, perl implementation. - * check_keepalived (0.0.1): plugin checking keepalived status + * check_ipsec (2.0): plugin checking ipsec connections from open- or stongswan * check_mysql_slave (0.1.1): plugin that connects to a mysql replication slave and checks its status - * check_nextcloud (2.0): Plugin script to monitor your nextcloud serverinfo API + * check_nextcloud (b7e5755): Plugin script to monitor your nextcloud serverinfo API * check_nginx_status (0.20): plugin checking the nginx_status page report from nginx Tracking Active connections processes, request per second, connections per seconds, Connections status. - * check_nwc_health (11.2.4): This plugin checks the hardware health and interface metrics + * check_nwc_health (7.12.1.3): This plugin checks the hardware health and interface metrics of network components like switches and routers. - * check_oom (4f00775): Plugin script to check for Out of memory problems * check_openvpn (20160803): plugin to check if an OpenVPN server runs on a given port * check_phpfpm_status (1.1): plugin to check the fpm-status page report from php-fpm - * check_qnap_health (1.01): plugin to check NAS QNAP. + * check_qnap_health (1.00): plugin to check NAS QNAP. * check_redis (0.72): plugin that verifies redis server is working. * check_sentinel (0b8e0e3): plugin to monitor Redis sentinel * check_sieve (1.02): plugin checking for a running Sieve daemon Check SIEVE connections as per rfc 5804 for Nagios - * check_smart (6.14.1): plugin to check SMART status of ATA/SCSI/NVMe drives, returning any usable metrics as perfdata. + * check_smart: plugin to check SMART status of ATA/SCSI disks * check_tftp (0.11): plugin that verifies TFTP server is working. * check_tomcat (1.4): plugin to check the tomcat status page. - * check_vgfree (0.3): Plugin script free space on LVM volume group - * check_wireguard (0.5.0): plugin checking for a running Sieve daemon - Check SIEVE connections as per rfc 5804 for Nagios - * ethMon (1.1.0): Plugin for network traffic monitoring on a specific interface . Some scripts and binaries need more packages installed to work, which is implemented as recommends. diff --git a/debian/control.in b/debian/control.in index 3f2eae2..206e6e9 100644 --- a/debian/control.in +++ b/debian/control.in @@ -1,6 +1,6 @@ Source: monitoring-plugins-cyconet Section: net -Priority: optional +Priority: extra Maintainer: Jan Wagner Uploaders: #AUTO_UPDATE_Uploaders# Build-Depends: autotools-dev, @@ -11,8 +11,8 @@ Build-Depends: autotools-dev, quilt (>= 0.46-7), #AUTO_UPDATE_Build-Depends# Standards-Version: 3.9.6 -Vcs-Git: https://github.com/waja/monitoring-plugins-cyconet.git -Vcs-Browser: https://github.com/waja/monitoring-plugins-cyconet +Vcs-Git: git://github.com/waja/monitoring-plugins-cyconet +Vcs-Browser: http://github.com/waja/monitoring-plugins-cyconet Package: monitoring-plugins-cyconet Architecture: any diff --git a/debian/copyright b/debian/copyright index 49c2135..b470941 100644 --- a/debian/copyright +++ b/debian/copyright @@ -93,48 +93,6 @@ https://exchange.icinga.org/exchange/check_bgp ------------------------------------------------------------------------------- - -check_bond: - -The plugin was downloaded from: -https://raw.githubusercontent.com/aswen/nagios-plugins/master/check_bond - - Copyright (c) 2010 L.Gill - Copyright (c) 2011 Alexander Swen - - License: ISC license - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY - SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER - RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF - CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - - - ------------------------------------------------------------------------------- - -check_es_system: - -The plugin was downloaded from: -https://github.com/Napsty/check_es_system/ - - Copyright (c) Claudio Kuenzler - - License: GPL v2 - - On Debian systems, the complete text of the GNU General - Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". - - - ------------------------------------------------------------------------------ check_esxi_hardware: @@ -206,14 +164,17 @@ https://github.com/dnsmichi/icinga-plugins/blob/master/scripts/check_iostats ------------------------------------------------------------------------------ -check_keepalived: +check_ipsec: - Copyright (C) 2021 Stella Sieber / TMT GmbH & Co. KG +The plugin was downloaded from: +https://raw.githubusercontent.com/Inuits/monitoring-plugins/master/check_ipsec + + Copyright (c) 2008 ml@nicole-haehnel.de - License: GPL+ + License: N/A On Debian systems, the complete text of the GNU General - Public License can be found in "/usr/share/common-licenses/GPL". + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". @@ -299,28 +260,6 @@ http://labs.consol.de/lang/en/nagios/check_nwc_health/ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". ------------------------------------------------------------------------------- - -check_oom: - -The plugin was downloaded from: -https://github.com/l13t/icinga2_check_oom - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - 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, see . - - - ------------------------------------------------------------------------------ check_openvpn: @@ -455,7 +394,7 @@ https://raw.githubusercontent.com/alan-hicks/check_sieve/master/check_sieve.pl check_smart: The plugin was downloaded from: -https://github.com/Napsty/check_smart +https://exchange.icinga.org/exchange/check_smart+hwraid Copyright (c) Kurt Yoder, Giles Westwood @@ -493,63 +432,3 @@ https://www.monitoringexchange.org/inventory/Check-Plugins/Software/Java/check_t Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". - ------------------------------------------------------------------------------- - -check_vgfree: - -The plugin was downloaded from: -https://github.com/alvfig/check_vgfree - - MIT License - - Copyright (c) 2017 Alvaro Figueiredo - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE. - - ------------------------------------------------------------------------------- - -check_wireguard: - -The plugin was downloaded from: -https://gitlab.com/alasdairkeyes/nagios-plugin-check_wireguard - - Copyright (c) 2012 Alasdair Keyes - - License: GPL v3 - - On Debian systems, the complete text of the GNU General - Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". - - - ------------------------------------------------------------------------------- - -ethMon: - -The plugin was downloaded from: -https://github.com/githubDante/ethMon - - Copyright: (c) github@dante.tk - License: Apache License 2.0 - - On Debian systems, a copy of the Apache License 2.0 can be found in - /usr/share/common-licenses/Apache-2.0 - diff --git a/debian/monitoring-plugins-cyconet.lintian-overrides b/debian/monitoring-plugins-cyconet.lintian-overrides index dd9a1c2..f06bbfe 100644 --- a/debian/monitoring-plugins-cyconet.lintian-overrides +++ b/debian/monitoring-plugins-cyconet.lintian-overrides @@ -1,3 +1,3 @@ # as mentioned in the description people need to # install whats mentioned in recommends. -monitoring-plugins-cyconet: undeclared-elf-prerequisites +monitoring-plugins-cyconet: missing-depends-line diff --git a/debian/packaging-helper.py b/debian/packaging-helper.py index b84482b..bd01094 100755 --- a/debian/packaging-helper.py +++ b/debian/packaging-helper.py @@ -24,7 +24,7 @@ ALLOWED_TESTS_FIELDS = ('Depends', # find all plugins __basedir__ = os.path.realpath(os.path.dirname(sys.argv[0]) + os.path.sep + '..') __plugins__ = [p for p in os.listdir(__basedir__) - if (os.path.isdir(__basedir__ + os.path.sep + p) and p!='debian' and p!='.git' and p!='.github' and p!='.pc' and p!='redhat')] + if (os.path.isdir(__basedir__ + os.path.sep + p) and p!='debian' and p!='.git' and p!='.pc' and p!='redhat')] __plugins__.sort() diff --git a/debian/patches/check_ipsec/10_pathes b/debian/patches/check_ipsec/10_pathes new file mode 100644 index 0000000..5f169ee --- /dev/null +++ b/debian/patches/check_ipsec/10_pathes @@ -0,0 +1,27 @@ +Author: Jan Wagner +Description: + Patches check_ipsec to use debian specific paths. + +diff --git a/check_ipsec/check_ipsec b/check_ipsec/check_ipsec +index 29834df..084e6ee 100644 +--- a/check_ipsec/check_ipsec ++++ b/check_ipsec/check_ipsec +@@ -20,15 +20,15 @@ REVISION=`echo '$Revision: 2.0 $' | sed -e 's/[^0-9.]//g'` + #STRONG=`$IPSECBIN --version |grep strongSwan | wc -l` + DOWN="" + # ---------- Change to your needs ---------- +-PLUGINPATH="/usr/lib64/nagios/plugins" ++PLUGINPATH="/usr/lib/nagios/plugins" + GATEWAYLIST="gateways.txt" + IPSECBIN="/usr/sbin/ipsec" +-FPINGBIN="/usr/sbin/fping" ++FPINGBIN="/usr/bin/fping" + # ping server in network on the other side of the tunnel + PINGIP=1 # ping yes or no (1/0) + # ------------------------------------------ + +-. $PROGPATH/utils.sh ++. $PLUGINPATH/utils.sh + + + # Testing availability of $IPSECBIN, $FPINGBIN and $GATEWAYLIST diff --git a/debian/patches/check_ipsec/15_fix_syntax b/debian/patches/check_ipsec/15_fix_syntax new file mode 100644 index 0000000..c1d2c8f --- /dev/null +++ b/debian/patches/check_ipsec/15_fix_syntax @@ -0,0 +1,71 @@ +Author: Jan Wagner +Description: + Patches check_ipsec to fix syntax issues + +diff --git a/check_ipsec/check_ipsec b/check_ipsec/check_ipsec +index 29834df..084e6ee 100644 +--- a/check_ipsec/check_ipsec ++++ b/check_ipsec/check_ipsec +@@ -96,7 +96,7 @@ print_help() { + + check_tunnel() { + +- if [[ "$STRONG" -eq "1" ]] ++ if [ "$STRONG" -eq "1" ] + then + eroutes=`$IPSECBIN status | grep -e "IPsec SA established" | grep -e "newest IPSEC" | wc -l` + else +@@ -104,21 +104,21 @@ check_tunnel() { + fi + + +- if [[ "$eroutes" -eq "$2" ]] ++ if [ "$eroutes" -eq "$2" ] + then + echo "OK - All $2 tunnels are up an running" + exit $STATE_OK +- elif [[ "$eroutes" -gt "$2" ]] ++ elif [ "$eroutes" -gt "$2" ] + then + echo "WARNING - More than $2 ($eroutes) tunnels are up an running" + exit $STATE_WARNING + else + echo "CRITICAL - Only $eroutes tunnels from $2 are up an running - $(location)" ++ location + exit $STATE_CRITICAL + fi + } + +- + location() { + + count=0 +@@ -129,24 +129,24 @@ while read line; do + CONN=`echo $line| awk '{print $1}'` + IP=`echo $line| awk '{print $2}'` + +- if [[ "$STRONG" -eq "1" ]] ++ if [ "$STRONG" -eq "1" ] + then + tunneltest=`$IPSECBIN status | grep -e "IPsec SA established" | grep -e "newest IPSEC" |grep -e $CONN | wc -l` + else + tunneltest=`$IPSECBIN whack --status | grep -e "IPsec SA established" | grep -e "newest IPSEC" |grep -e "$CONN" | wc -l` + fi + +- if [[ "$tunneltest" -eq "0" ]] ++ if [ "$tunneltest" -eq "0" ] + then + count=$[$count+1] + DOWN="$DOWN $CONN" + fi + +- if [[ "$PINGIP" -eq "1" && "$tunneltest" -eq "1" ]] ++ if [ "$PINGIP" -eq "1" && "$tunneltest" -eq "1" ] + then + alive=`$FPINGBIN $IP -r 1 | grep alive | wc -l` + +- if [[ "$alive" -eq "0" ]] ++ if [ "$alive" -eq "0" ] + then + count=$[$count+1] + DOWN="$DOWN $CONN (no ping)" diff --git a/debian/patches/check_ipsec/20_remove_gateway b/debian/patches/check_ipsec/20_remove_gateway new file mode 100644 index 0000000..17f938a --- /dev/null +++ b/debian/patches/check_ipsec/20_remove_gateway @@ -0,0 +1,27 @@ +--- a/check_ipsec/check_ipsec ++++ b/check_ipsec/check_ipsec +@@ -61,8 +61,7 @@ + test -e $PROGPATH/$GATEWAYLIST + if [ $? -ne 0 ]; + then +- echo CRITICAL - $GATEWAYLIST not exist +- exit $STATE_CRITICAL ++ USEGATEWAYS="0" + fi + + print_usage() { +@@ -113,8 +112,12 @@ + echo "WARNING - More than $2 ($eroutes) tunnels are up an running" + exit $STATE_WARNING + else +- echo "CRITICAL - Only $eroutes tunnels from $2 are up an running - $(location)" +- location ++ if [ "$USEGATEWAYS" -eq "0" ] ++ then ++ echo "CRITICAL - Only $eroutes tunnels from $2 are up an running" ++ else ++ echo "CRITICAL - Only $eroutes tunnels from $2 are up an running - $(location)" ++ fi + exit $STATE_CRITICAL + fi + } diff --git a/debian/patches/check_nextcloud/shebang b/debian/patches/check_nextcloud/shebang index aaec1f6..20f681c 100644 --- a/debian/patches/check_nextcloud/shebang +++ b/debian/patches/check_nextcloud/shebang @@ -5,4 +5,4 @@ +#!/usr/bin/python3 ############################################################################################################### - # Language : Python 3 + # Language : Python (3.*) diff --git a/debian/patches/check_qnap_health/fix_strPart b/debian/patches/check_qnap_health/fix_strPart new file mode 100644 index 0000000..eb937ca --- /dev/null +++ b/debian/patches/check_qnap_health/fix_strPart @@ -0,0 +1,20 @@ +--- a/check_qnap_health/check_qnap_health ++++ b/check_qnap_health/check_qnap_health +@@ -461,7 +461,7 @@ + fi + + # Disk IOPS ---------------------------------------------------------------------------------------------------------------------------------------------- +-elif [ "$strpart" == "iops" ]; then ++elif [ "$strPart" == "iops" ]; then + IOPS=$(_snmpgetval 1.3.6.1.4.1.24681.1.4.1.11.5.6.2.1.3.1 | sed -E 's/"|\s%//g') + + OUTPUT="IOPS="$IOPS"|IOPS="$IOPS";$strWarning;$strCritical;0;100" +@@ -478,7 +478,7 @@ + fi + + # Disk Latency ---------------------------------------------------------------------------------------------------------------------------------------------- +-elif [ "$strpart" == "latency" ]; then ++elif [ "$strPart" == "latency" ]; then + LATENCY=$(_snmpgetval 1.3.6.1.4.1.24681.1.4.1.11.5.6.2.1.4.1 | sed -E 's/"|\s%//g') + + OUTPUT="Latency="$LATENCY"|Latency="$LATENCY";$strWarning;$strCritical;0;100" diff --git a/debian/patches/check_sieve/10_pathes b/debian/patches/check_sieve/10_pathes index 8bf526d..0eb3327 100644 --- a/debian/patches/check_sieve/10_pathes +++ b/debian/patches/check_sieve/10_pathes @@ -9,6 +9,6 @@ index 2bb21f0..7405671 100644 @@ -1,4 +1,4 @@ -#!/usr/local/bin/perl +#!/usr/bin/perl - # nagios: -epn + # nagios: +epn ########################################################################### diff --git a/debian/patches/check_sieve/epn b/debian/patches/check_sieve/epn index bb12b38..6e0e6af 100644 --- a/debian/patches/check_sieve/epn +++ b/debian/patches/check_sieve/epn @@ -4,7 +4,7 @@ index 2bb21f0..284cd31 100644 +++ b/check_sieve/check_sieve @@ -1,4 +1,5 @@ #!/usr/local/bin/perl -+# nagios: -epn ++# nagios: +epn ########################################################################### # $Id: check_sieve.pl 214 2014-01-08 09:37:22Z alan $ diff --git a/debian/patches/series b/debian/patches/series index b98d2e9..b3899da 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,5 +1,8 @@ check_apache_balancer_members/NagiosPlugins check_apache_balancer_members/epn +check_ipsec/10_pathes +check_ipsec/15_fix_syntax +check_ipsec/20_remove_gateway check_mysql_slave//epn check_nextcloud/shebang check_sieve/epn @@ -8,4 +11,5 @@ check_sieve/MonitoringPlugin check_sieve/BareWord check_tftp/epn check_tomcat/epn +check_qnap_health/fix_strPart check_iftraffic64/fix_traffic_file diff --git a/debian/rules b/debian/rules index ea9ffbc..89fc165 100755 --- a/debian/rules +++ b/debian/rules @@ -4,7 +4,7 @@ # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 -PLUGINS := $(shell find $(CURDIR) -mindepth 1 -maxdepth 1 -name .git* -prune -o -name .pc -prune -o -name debian -prune -o -type d -printf '%f\n' | sort) +PLUGINS := $(shell find $(CURDIR) -mindepth 1 -maxdepth 1 -name .git -prune -o -name .pc -prune -o -name debian -prune -o -type d -printf '%f\n' | sort) PKGNAME = monitoring-plugins-cyconet %: @@ -88,12 +88,12 @@ override_dh_auto_install: $(PLUGINS:%=dh_auto_install-%) $(PACKAGING_HELPER) --generate-readme #override_dh_auto_test: $(PLUGINS:%=dh_auto_test-%) -override_dh_auto_test: +override_dh_auto_test: # nothign to do right now. -#override_dh_python3: -# dh_python3 -# dh_python3 usr/lib/nagios/plugins usr/lib/nagios/cronjobs +override_dh_python3: + dh_python3 + dh_python3 usr/lib/nagios/plugins usr/lib/nagios/cronjobs CONTROL_FILES := $(shell for p in $(PLUGINS); do echo $$p/control; done) COPYRIGHT_FILES := $(shell for p in $(PLUGINS); do echo $$p/copyright; done) diff --git a/debian/source/options b/debian/source/options index b746363..b5bc9e7 100644 --- a/debian/source/options +++ b/debian/source/options @@ -1 +1 @@ -extend-diff-ignore = '(^|/)(\.travis\.yml|\.git|\.github|\.gitgnore|config\.sub|config\.guess)' +extend-diff-ignore = '(^|/)(\.travis\.yml|\.git|\.gitgnore|config\.sub|config\.guess)' diff --git a/ethMon/LICENSE b/ethMon/LICENSE deleted file mode 100644 index e47c4af..0000000 --- a/ethMon/LICENSE +++ /dev/null @@ -1,208 +0,0 @@ -Apache License - -Version 2.0, January 2004 - -http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, -AND DISTRIBUTION - - 1. Definitions. - - - -"License" shall mean the terms and conditions for use, reproduction, and distribution -as defined by Sections 1 through 9 of this document. - - - -"Licensor" shall mean the copyright owner or entity authorized by the copyright -owner that is granting the License. - - - -"Legal Entity" shall mean the union of the acting entity and all other entities -that control, are controlled by, or are under common control with that entity. -For the purposes of this definition, "control" means (i) the power, direct -or indirect, to cause the direction or management of such entity, whether -by contract or otherwise, or (ii) ownership of fifty percent (50%) or more -of the outstanding shares, or (iii) beneficial ownership of such entity. - - - -"You" (or "Your") shall mean an individual or Legal Entity exercising permissions -granted by this License. - - - -"Source" form shall mean the preferred form for making modifications, including -but not limited to software source code, documentation source, and configuration -files. - - - -"Object" form shall mean any form resulting from mechanical transformation -or translation of a Source form, including but not limited to compiled object -code, generated documentation, and conversions to other media types. - - - -"Work" shall mean the work of authorship, whether in Source or Object form, -made available under the License, as indicated by a copyright notice that -is included in or attached to the work (an example is provided in the Appendix -below). - - - -"Derivative Works" shall mean any work, whether in Source or Object form, -that is based on (or derived from) the Work and for which the editorial revisions, -annotations, elaborations, or other modifications represent, as a whole, an -original work of authorship. For the purposes of this License, Derivative -Works shall not include works that remain separable from, or merely link (or -bind by name) to the interfaces of, the Work and Derivative Works thereof. - - - -"Contribution" shall mean any work of authorship, including the original version -of the Work and any modifications or additions to that Work or Derivative -Works thereof, that is intentionally submitted to Licensor for inclusion in -the Work by the copyright owner or by an individual or Legal Entity authorized -to submit on behalf of the copyright owner. For the purposes of this definition, -"submitted" means any form of electronic, verbal, or written communication -sent to the Licensor or its representatives, including but not limited to -communication on electronic mailing lists, source code control systems, and -issue tracking systems that are managed by, or on behalf of, the Licensor -for the purpose of discussing and improving the Work, but excluding communication -that is conspicuously marked or otherwise designated in writing by the copyright -owner as "Not a Contribution." - - - -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf -of whom a Contribution has been received by Licensor and subsequently incorporated -within the Work. - -2. Grant of Copyright License. Subject to the terms and conditions of this -License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, -no-charge, royalty-free, irrevocable copyright license to reproduce, prepare -Derivative Works of, publicly display, publicly perform, sublicense, and distribute -the Work and such Derivative Works in Source or Object form. - -3. Grant of Patent License. Subject to the terms and conditions of this License, -each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, -no-charge, royalty-free, irrevocable (except as stated in this section) patent -license to make, have made, use, offer to sell, sell, import, and otherwise -transfer the Work, where such license applies only to those patent claims -licensable by such Contributor that are necessarily infringed by their Contribution(s) -alone or by combination of their Contribution(s) with the Work to which such -Contribution(s) was submitted. If You institute patent litigation against -any entity (including a cross-claim or counterclaim in a lawsuit) alleging -that the Work or a Contribution incorporated within the Work constitutes direct -or contributory patent infringement, then any patent licenses granted to You -under this License for that Work shall terminate as of the date such litigation -is filed. - -4. Redistribution. You may reproduce and distribute copies of the Work or -Derivative Works thereof in any medium, with or without modifications, and -in Source or Object form, provided that You meet the following conditions: - -(a) You must give any other recipients of the Work or Derivative Works a copy -of this License; and - -(b) You must cause any modified files to carry prominent notices stating that -You changed the files; and - -(c) You must retain, in the Source form of any Derivative Works that You distribute, -all copyright, patent, trademark, and attribution notices from the Source -form of the Work, excluding those notices that do not pertain to any part -of the Derivative Works; and - -(d) If the Work includes a "NOTICE" text file as part of its distribution, -then any Derivative Works that You distribute must include a readable copy -of the attribution notices contained within such NOTICE file, excluding those -notices that do not pertain to any part of the Derivative Works, in at least -one of the following places: within a NOTICE text file distributed as part -of the Derivative Works; within the Source form or documentation, if provided -along with the Derivative Works; or, within a display generated by the Derivative -Works, if and wherever such third-party notices normally appear. The contents -of the NOTICE file are for informational purposes only and do not modify the -License. You may add Your own attribution notices within Derivative Works -that You distribute, alongside or as an addendum to the NOTICE text from the -Work, provided that such additional attribution notices cannot be construed -as modifying the License. - -You may add Your own copyright statement to Your modifications and may provide -additional or different license terms and conditions for use, reproduction, -or distribution of Your modifications, or for any such Derivative Works as -a whole, provided Your use, reproduction, and distribution of the Work otherwise -complies with the conditions stated in this License. - -5. Submission of Contributions. Unless You explicitly state otherwise, any -Contribution intentionally submitted for inclusion in the Work by You to the -Licensor shall be under the terms and conditions of this License, without -any additional terms or conditions. Notwithstanding the above, nothing herein -shall supersede or modify the terms of any separate license agreement you -may have executed with Licensor regarding such Contributions. - -6. Trademarks. This License does not grant permission to use the trade names, -trademarks, service marks, or product names of the Licensor, except as required -for reasonable and customary use in describing the origin of the Work and -reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. Unless required by applicable law or agreed to -in writing, Licensor provides the Work (and each Contributor provides its -Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied, including, without limitation, any warranties -or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR -A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness -of using or redistributing the Work and assume any risks associated with Your -exercise of permissions under this License. - -8. Limitation of Liability. In no event and under no legal theory, whether -in tort (including negligence), contract, or otherwise, unless required by -applicable law (such as deliberate and grossly negligent acts) or agreed to -in writing, shall any Contributor be liable to You for damages, including -any direct, indirect, special, incidental, or consequential damages of any -character arising as a result of this License or out of the use or inability -to use the Work (including but not limited to damages for loss of goodwill, -work stoppage, computer failure or malfunction, or any and all other commercial -damages or losses), even if such Contributor has been advised of the possibility -of such damages. - -9. Accepting Warranty or Additional Liability. While redistributing the Work -or Derivative Works thereof, You may choose to offer, and charge a fee for, -acceptance of support, warranty, indemnity, or other liability obligations -and/or rights consistent with this License. However, in accepting such obligations, -You may act only on Your own behalf and on Your sole responsibility, not on -behalf of any other Contributor, and only if You agree to indemnify, defend, -and hold each Contributor harmless for any liability incurred by, or claims -asserted against, such Contributor by reason of your accepting any such warranty -or additional liability. END OF TERMS AND CONDITIONS - -APPENDIX: How to apply the Apache License to your work. - -To apply the Apache License to your work, attach the following boilerplate -notice, with the fields enclosed by brackets "[]" replaced with your own identifying -information. (Don't include the brackets!) The text should be enclosed in -the appropriate comment syntax for the file format. We also recommend that -a file or class name and description of purpose be included on the same "printed -page" as the copyright notice for easier identification within third-party -archives. - -Copyright 2020 githubDante - - -Licensed under the Apache License, Version 2.0 (the "License"); - -you may not use this file except in compliance with the License. - -You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software - -distributed under the License is distributed on an "AS IS" BASIS, - -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - -See the License for the specific language governing permissions and - -limitations under the License. diff --git a/ethMon/Makefile b/ethMon/Makefile deleted file mode 100644 index 307e59d..0000000 --- a/ethMon/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -DOCFILES := README.rst - -include ../common.mk diff --git a/ethMon/README.rst b/ethMon/README.rst deleted file mode 100644 index a8526fb..0000000 --- a/ethMon/README.rst +++ /dev/null @@ -1,96 +0,0 @@ -*********** -**ethMon** -*********** - -ethMon is an Icinga2/Nagios compatible Python plugin for network traffic monitoring on a specific interface. -Currently the carbon/graphite data is always in *bytes*. - -Graph drawn from a collected data - -.. image:: images/plugin_graph.png - -In order to calculate the speed the plugin keeps the data from previous runs in ~/.ethMonCache.db - -**Installation** -================= -* Download ethMon to the Icinga/Nagios plugin directory (`/usr/lib/nagios/plugins/` on Debian 10) - * `Link `_ -* Ensure that the executable bit of *ethMon* is set - - -**Configuration** -================= - -* In order to use the plugin with Icinga the following configuration is needed: - * in */usr/share/icinga2/include/command-plugins.conf* add the following - - .. code-block:: console - - template CheckCommand "ethMon-common" { - command = [ PluginDir + "/ethMon" ] - arguments = { - "-i" = { - value = "$interface$" - description = "Interface which will be monitored" - } - "-w" = { - value = "$speed_warn$" - description = "Warning threshold" - } - "-c" = { - value = "$speed_crit$" - description = "Critical threshold" - } - "-s" = { - value = "$speed_scale$" - description = "Speed scaling" - } - "--interval" = { - value = "$chk_interval$" - description = "Interval between the checks (in seconds)" - } - } - vars.speed_warn = 60 - vars.speed_crit = 100 - vars.speed_scale = "Mb" - vars.chk_interval = 30 - } - object CheckCommand "ethMon" { - import "ethMon-common" - } - .. - - * then per host (or zone if the interface name match everywhere): - - .. code-block:: console - - apply Service "Traffic-enp3s5" { - check_command = "ethMon" - check_interval = 30 - vars.interface = "enp3s5" - command_endpoint = host.vars.client_endpoint // Check executed on client node - assign where host.vars.client_endpoint == "TheMonitoredHost" // The service is applied only to this node - } - .. - - * **NOTE**: The same value must be used for *check_interval & vars.chk_interval* - -**Support for threshold ranges** - -* `Icinga threshold ranges documentation `_ - - -The plugin has partial support for the ranges described in the Icinga documentation. If used the ranges must be specified for both (warning & critical) parameters. - Implemented are the following specifications: - * min:max - The value must be outside the range in order the alert to be triggered - * @min:max - The value must be inside the range in order the alert to be triggered - * min: - The value must be below *min* or above 10*10^256 in order the alert to be triggered - * @min: - The value must be between *min* and 10*10^256 in order the alert to be triggered - * :max - The value must be below 0 and *max* in order the alert to be triggered - * @:max - The value must be between 0 and *max* in order the alert to be triggered - - -**Motivation** -================ - -The plugin has been created as *check_eth* from Nagios Exchange refused to work in my current setup. diff --git a/ethMon/control b/ethMon/control deleted file mode 100644 index 5425ee8..0000000 --- a/ethMon/control +++ /dev/null @@ -1,6 +0,0 @@ -Uploaders: Jan Wagner -Recommends: python3-minimal -Version: 1.1.0 -Homepage: https://github.com/githubDante/ethMon -Watch: https://github.com/githubDante/ethMon/tags .*/v?(\d\S+)\.tar\.gz -Description: Plugin for network traffic monitoring on a specific interface diff --git a/ethMon/copyright b/ethMon/copyright deleted file mode 100644 index 02226cf..0000000 --- a/ethMon/copyright +++ /dev/null @@ -1,5 +0,0 @@ -Copyright: (c) github@dante.tk -License: Apache License 2.0 - -On Debian systems, a copy of the Apache License 2.0 can be found in -/usr/share/common-licenses/Apache-2.0 diff --git a/ethMon/ethMon b/ethMon/ethMon deleted file mode 100644 index 7fc3af3..0000000 --- a/ethMon/ethMon +++ /dev/null @@ -1,288 +0,0 @@ -#!/usr/bin/env python3 - -from argparse import ArgumentParser, Namespace -import re -from typing import Any, List, Dict, Tuple, Optional -import shelve -import sys -from pathlib import Path - -__PREV_DATA__ = '{}/.ethMonCache'.format(Path.home().as_posix()) -__total__ = 'tot_{}' -__old__ = 'old_{}' - -__scale__ = { - 'KB': lambda x: x / 1000, - 'Kb': lambda x: (x*8) / 1000, - 'MB': lambda x: x / 1000**2, - 'Mb': lambda x: (x*8) / 1000**2, - 'GB': lambda x: x / 1000**3, - 'Gb': lambda x: (x*8) / 1000**3 -} - -__to_bytes__ = { - 'KB': lambda x: x * 1000, - 'Kb': lambda x: (x * 1000) / 8, - 'MB': lambda x: x * 1000**2, - 'Mb': lambda x: (x * 1000**2) / 8, - 'GB': lambda x: x * 1000**3, - 'Gb': lambda x: (x * 1000**3) / 8 -} - - -def options_parser() -> Namespace: - _scalers = [i for i in __scale__.keys()] - parser = ArgumentParser('ethMon') - parser.add_argument('-i', '--interface', required=True, type=str, help='Network interface') - parser.add_argument('-w', '--warning', type=str, required=True, help='Warning threshold') - parser.add_argument('-c', '--critical', type=str, required=True, help='Critical threshold') - parser.add_argument('-s', '--scale', choices=_scalers, help='Scaled results {}'.format(_scalers)) - parser.add_argument('--interval', type=int, help='Interval between the checks (in seconds)') - - return parser.parse_args() - - -def threshold_spec(threshold: str) -> bool: - """ - Check for ranges specified in the warning/critical options - """ - try: - x, y = threshold.split(':') - return True - except ValueError: - return False - -def to_int(x: str) -> int: - """ - Try to convert a value to integer. Always returns zero on unsuccessfull conversion - - :param x: Any - """ - try: - return int(x) - except: - return 0 - -def threshold_extract(threshold: str) -> Tuple[int, int, bool]: - """ - Extract the range and the inner/outer parameter - - - :return: upper (int), lower (int), inner (bool) - """ - lower, upper = threshold.split(':') - if lower == '': - lower = 0 - if upper == '': - """ Set the upper limit to a very large number if not specified """ - upper = 10*10**256 - if lower.startswith('@'): - lower = lower.lstrip('@') - inner = True - else: - inner = False - - if to_int(lower) > to_int(upper): - raise ValueError('Invalid value in threshold specification. lower > upper') - return to_int(lower), to_int(upper), inner - - -def get_old_data(iface: str) -> Tuple[int, int, int, int]: - """ - Get the old interface data from the storage (if available) - - :param iface: The name of the interface - :return: RX bytes, TX bytes, RX Total, TX Total values from the previous run - """ - storage = shelve.open(__PREV_DATA__) - rx, tx = storage.get(__old__.format(iface), (0, 0)) - rx_total, tx_total = storage.get(__total__.format(iface), (0, 0)) - storage.close() - return rx, tx, rx_total, tx_total - - -def update_stats(iface: str, rx_bytes: int, tx_bytes: int) -> None: - """ - Store the data from the current run - - :param iface: The name of the interface - :param rx_bytes: RX bytes as read from the net/dev file - :param tx_bytes: TX bytes values as read from the net/dev file - :return: - """ - storage = shelve.open(__PREV_DATA__) - rx_total, tx_total = storage.get(__total__.format(iface), (0, 0)) - storage[__total__.format(iface)] = (rx_total + rx_bytes, tx_total + tx_bytes) - storage[__old__.format(iface)] = (rx_bytes, tx_bytes) - storage.close() - return - - -def get_iface_stats(iface: str) -> Tuple[int, int]: - """ - Extract the interface statistics - - :param iface: - :return: - """ - """ - RX/TX slots - bytes packets errs drop fifo frame compressed multicast - """ - _rx_bytes = 0 - _tx_bytes = 0 - slots = [] - with open('/proc/net/dev', 'r') as stat: - for line in stat: - if iface not in line: - continue - line = line.rstrip() - line = re.sub(r'\s\s+', ' ', line) - line = line.lstrip(' ') - slots = line.split(' ') - if len(slots) > 10: - _rx_bytes = int(slots[1]) - _tx_bytes = int(slots[9]) - return _rx_bytes, _tx_bytes - - -def speed_calc(old_data: tuple, current_data: tuple) -> Tuple[int, int]: - """ - Calculate the changes between the old and new data - - :param data: - :param current_data: - :return: - """ - old_rx, old_tx = old_data[:2] - cur_rx, cur_tx = current_data - - return cur_rx - old_rx, cur_tx - old_tx - - -def speed_scaler(val: int, scaler: str) -> str: - """ - available ['KB', 'Kb', 'MB', 'Mb', 'GB', 'Gb'] - """ - if scaler not in __scale__.keys(): - raise - return str(round(__scale__[scaler](val), 3)) - - -def speed_normalizer(val: int, scaler: str) -> int: - """ - available ['KB', 'Kb', 'MB', 'Mb', 'GB', 'Gb'] - """ - if scaler not in __to_bytes__.keys(): - raise - return int(__to_bytes__[scaler](val)) - - -def final_string(rx_s: int, tx_s: int, warning_s: int, crit_s: int, code: int): - status = 'OK' - if code == 2: - status = 'CRITICAL' - elif code == 1: - status = 'WARNING' - - return '{} bandwidth utilization | rx={}B;{}B;{}B tx={}B;{}B;{}B'.format( - status, rx_s, warning_s, crit_s, tx_s, warning_s, crit_s - ) - - -if __name__ == '__main__': - options = options_parser() - old = get_old_data(options.interface) - exit_c = 0 - if threshold_spec(options.warning) or threshold_spec(options.critical): - use_thresholds = True - try: - warn_lower, warn_upper, warn_inner = threshold_extract(options.warning) - crit_lower, crit_upper, crit_inner = threshold_extract(options.critical) - except ValueError: - print('Invalid range specification.') - sys.exit(100) - else: - use_thresholds = False - - current = get_iface_stats(options.interface) - rx_speed, tx_speed = speed_calc(old, current) - - if options.interval: - interval_scaler = lambda x: int(x / options.interval) - rx_speed = interval_scaler(rx_speed) - tx_speed = interval_scaler(tx_speed) - - update_stats(options.interface, *current) - - if options.scale: - _suffix = ' {}'.format(options.scale) - c_0 = speed_scaler(current[0], options.scale) + _suffix - c_1 = speed_scaler(current[1], options.scale) + _suffix - rx_s = speed_scaler(rx_speed, options.scale) + _suffix - tx_s = speed_scaler(tx_speed, options.scale) + _suffix - - if use_thresholds is False: - warning_s = speed_normalizer(to_int(options.warning), options.scale) - if warning_s < rx_speed or warning_s < tx_speed: - exit_c = 1 - critical_s = speed_normalizer(to_int(options.critical), options.scale) - if critical_s < rx_speed or critical_s < tx_speed: - exit_c = 2 - else: - warn_s_low = speed_normalizer(warn_lower, options.scale) - warn_s_up = speed_normalizer(warn_upper, options.scale) - crit_s_low = speed_normalizer(crit_lower, options.scale) - crit_s_up = speed_normalizer(crit_upper, options.scale) - - if warn_inner is True: - if (warn_s_low <= rx_speed <= warn_s_up) or (warn_s_low <= tx_speed <= warn_s_up): - exit_c = 1 - else: - if (warn_s_low >= rx_speed or warn_s_up <= rx_speed) or (warn_s_low >= tx_speed or warn_s_up <= tx_speed): - exit_c = 1 - if crit_inner is True: - if (crit_s_low <= rx_speed <= crit_s_up) or (crit_s_low <= tx_speed <= crit_s_up): - exit_c = 2 - else: - if (crit_s_low >= rx_speed or crit_s_up <= rx_speed) or (crit_s_low >= tx_speed or crit_s_up <= tx_speed): - exit_c = 2 - warning_s = warn_s_low - critical_s = crit_s_low - - - print('RX {}: {}, TX {}: {}; RX speed: {} TX speed: {}'.format( - options.scale, c_0, options.scale, c_1, rx_s, tx_s - ), end='; ') - print(final_string(rx_speed, tx_speed, warning_s, critical_s, exit_c)) - - else: - print('RX bytes: {}, TX bytes: {}; RX speed: {}, TX speed {}'.format( - current[0], rx_speed, current[1], tx_speed - ), end='; ') - if use_thresholds is False: - warning_s = to_int(options.warning) - if warning_s < rx_speed or warning_s < tx_speed: - exit_c = 1 - critical_s = to_int(options.critical) - if critical_s < rx_speed or critical_s <= tx_speed: - exit_c = 2 - else: - if crit_inner is True: - if (warn_lower <= rx_speed <= warn_upper) or (warn_lower <= tx_speed <= warn_upper): - exit_c = 1 - else: - if (warn_lower >= rx_speed or warn_upper <= rx_speed) or (warn_lower >= tx_speed or warn_upper <= rx_speed): - exit_c = 1 - if crit_inner is True: - if (crit_lower <= rx_speed <= crit_upper) or (crit_lower <= tx_speed <= crit_upper): - exit_c = 2 - else: - if (crit_lower >= rx_speed or crit_upper <= rx_speed) or (crit_lower >= tx_speed or crit_upper <= tx_speed): - exit_c = 2 - warning_s = warn_lower - critical_s = crit_lower - - print(final_string(rx_speed, tx_speed, warning_s, critical_s, exit_c)) - - sys.exit(exit_c)