Compare commits
4 commits
master
...
add_check_
Author | SHA1 | Date | |
---|---|---|---|
|
3503b7a1c2 | ||
|
5c7d0029b2 | ||
|
08024408fb | ||
|
803d4b93cd |
12
.github/dependabot.yml
vendored
12
.github/dependabot.yml
vendored
|
@ -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
|
20
.github/issue-branch.yml
vendored
20
.github/issue-branch.yml
vendored
|
@ -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
|
25
.github/workflows/automate-issue-branch.yml
vendored
25
.github/workflows/automate-issue-branch.yml
vendored
|
@ -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 }}
|
35
.github/workflows/packaging_test.yml
vendored
35
.github/workflows/packaging_test.yml
vendored
|
@ -1,35 +0,0 @@
|
|||
name: Packaging Test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- $default-branch
|
||||
- development
|
||||
- master
|
||||
# Run tests for any PRs
|
||||
pull_request:
|
||||
|
||||
env:
|
||||
SOURCE_DIR: ./
|
||||
ARTIFACTS_DIR: debian/build/release/
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
env:
|
||||
DEBIAN_FRONTEND: "noninteractive"
|
||||
- name: Remove github artefacts
|
||||
run: |
|
||||
rm -rf .git*
|
||||
- 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.4.0
|
||||
with:
|
||||
artifacts_directory: debian/build/release/
|
||||
- name: Debug
|
||||
run: |
|
||||
ls -la
|
70
.github/workflows/release.yml
vendored
70
.github/workflows/release.yml
vendored
|
@ -1,70 +0,0 @@
|
|||
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: Release Process
|
||||
|
||||
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@v3
|
||||
- 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@v3
|
||||
env:
|
||||
DEBIAN_FRONTEND: "noninteractive"
|
||||
- name: Remove github artefacts
|
||||
run: |
|
||||
rm -rf .git*
|
||||
- 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.4.0
|
||||
with:
|
||||
artifacts_directory: debian/build/release/
|
||||
# - name: Build Debian package
|
||||
# uses: pi-top/action-debian-package@v0.2.0
|
||||
# with:
|
||||
# artifacts_directory: debian/build/release/
|
||||
# target_architectures: "amd64,i386"
|
||||
- name: Upload the artifacts
|
||||
uses: skx/github-action-publish-binaries@release-2.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
releaseId: ${{ needs.create-release.outputs.release-id }}
|
||||
args: debian/build/release/*
|
|
@ -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 $< $@
|
|
@ -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
|
||||
|
||||
|
|
@ -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]
|
|
@ -1,761 +0,0 @@
|
|||
#!/bin/bash
|
||||
################################################################################
|
||||
# Script: check_es_system.sh #
|
||||
# Author: Claudio Kuenzler www.claudiokuenzler.com #
|
||||
# Purpose: Monitor ElasticSearch Store (Disk) Usage #
|
||||
# Official doc: 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 <https://www.gnu.org/licenses/>. #
|
||||
# #
|
||||
# Copyright 2016,2018-2021 Claudio Kuenzler #
|
||||
# Copyright 2018 Tomas Barton #
|
||||
# Copyright 2020 NotAProfessionalDeveloper #
|
||||
# Copyright 2020 tatref #
|
||||
# Copyright 2020 fbomj #
|
||||
# Copyright 2021 chicco27 #
|
||||
# #
|
||||
# History: #
|
||||
# 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 #
|
||||
################################################################################
|
||||
#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.0
|
||||
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
|
||||
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 $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
|
||||
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
|
|
@ -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
|
|
@ -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
|
|
@ -1,6 +0,0 @@
|
|||
Uploaders: Jan Wagner <waja@cyconet.org>
|
||||
Recommends: curl, jshon | jq
|
||||
Version: 1.12.0
|
||||
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.
|
|
@ -1 +0,0 @@
|
|||
check_es_system-1.12.0/
|
|
@ -1,14 +0,0 @@
|
|||
PLUGIN := check_esxi_hardware
|
||||
CLEANFILES := check_esxi_hardware
|
||||
DOCFILES := README.md
|
||||
|
||||
include ../common.mk
|
||||
|
||||
check_esxi_hardware:
|
||||
cp $@.py $@
|
||||
chmod 755 $@
|
||||
|
||||
install::
|
||||
install -d $(DESTDIR)$(PLUGINDIR)
|
||||
ln -s $(PLUGINDIR)/$(PLUGIN) $(DESTDIR)$(PLUGINDIR)/$(PLUGIN).py
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
check_esxi_hardware
|
||||
=========
|
||||
|
||||
Monitoring plugin to check the hardware on VMware ESX/ESXi servers.
|
||||
|
||||
This is the public git repository for development of the plugin.
|
||||
|
||||
|
||||
Documentation + Production Ready Plugin
|
||||
-------------
|
||||
Please refer to https://www.claudiokuenzler.com/monitoring-plugins/check_esxi_hardware.php
|
File diff suppressed because it is too large
Load diff
|
@ -1,6 +0,0 @@
|
|||
Uploaders: Jan Wagner <waja@cyconet.org>
|
||||
Recommends: python3-minimal, python-pywbem
|
||||
Version: 20210809
|
||||
Homepage: https://github.com/Napsty/check_esxi_hardware
|
||||
Watch: https://github.com/Napsty/check_esxi_hardware/tags .*/v?(\d\S+)\.tar\.gz
|
||||
Description: Plugin for checking global health of VMware ESX/ESXi host
|
|
@ -1,12 +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 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 <https://www.gnu.org/licenses/>
|
16
check_interfaces/Makefile
Normal file
16
check_interfaces/Makefile
Normal file
|
@ -0,0 +1,16 @@
|
|||
PLUGIN := check_interfaces
|
||||
CLEANFILES := check_interfaces
|
||||
|
||||
include ../common.mk
|
||||
|
||||
check_interfaces:
|
||||
#set -e; for i in guess sub; do if [ ! -e src/config.$$i.bak ]; then cp src/config.$$i src/config.$$i.bak; fi; done
|
||||
cp /usr/share/misc/config.* src
|
||||
cd src && ./configure --disable-maintainer-mode --prefix=/usr --with-nagios-user=nagios --with-nagios-group=nagios
|
||||
make -C src
|
||||
#sed 's,^# nagios: +epn,# nagios: -epn\n,' src/plugins-scripts/check_interfaces > $@
|
||||
cp src/check_interfaces $@
|
||||
|
||||
clean::
|
||||
[ ! -f src/Makefile ] || make -C src distclean
|
||||
set -e; for i in guess sub; do if [ -e src/config.$$i.bak ]; then mv src/config.$$i.bak src/config.$$i; fi; done
|
|
@ -1,7 +1,7 @@
|
|||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/>
|
||||
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.
|
||||
|
@ -290,8 +290,8 @@ 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}
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -329,7 +329,7 @@ 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
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
39
check_interfaces/check_interfaces-1.4/Makefile.in
Normal file
39
check_interfaces/check_interfaces-1.4/Makefile.in
Normal file
|
@ -0,0 +1,39 @@
|
|||
CC=@CC@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
INSTALL=@INSTALL@
|
||||
DESTDIR=@libexecdir@
|
||||
OBJS=snmp_bulkget.o utils.o
|
||||
TARGET=check_interfaces
|
||||
|
||||
|
||||
CPPFLAGS=@CPPFLAGS@
|
||||
LDFLAGS=@LDFLAGS@ -lrt
|
||||
CFLAGS=@CFLAGS@ @DEFS@
|
||||
# shared library flags (assumes gcc)
|
||||
# DLFLAGS=-fPIC -shared
|
||||
BUILDLIBS=@SNMP_LIBS@ @LIBS@
|
||||
|
||||
.PHONY: debug clean all install
|
||||
all: build strip
|
||||
build: $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJS)
|
||||
$(CC) -o $(TARGET) $(OBJS) $(LDFLAGS) $(BUILDLIBS)
|
||||
|
||||
strip:
|
||||
strip $(TARGET)
|
||||
|
||||
debug: CFLAGS += -DDEBUG -g -O0
|
||||
debug: LDFLAGS += -g -O0
|
||||
debug: build
|
||||
|
||||
|
||||
clean:
|
||||
rm $(OBJS) $(TARGET)
|
||||
|
||||
|
||||
install: all
|
||||
$(INSTALL) -t $(DESTDIR) $(TARGET)
|
||||
|
||||
|
115
check_interfaces/check_interfaces-1.4/README.md
Normal file
115
check_interfaces/check_interfaces-1.4/README.md
Normal file
|
@ -0,0 +1,115 @@
|
|||
check_interfaces
|
||||
================
|
||||
|
||||
This plugin uses the bulk-get mode of SNMPv2 by default - pass it the option -m NONBULK to work with SNMPv1. Support for SNMPv3 with and without privacy is included.
|
||||
|
||||
64 bit counters will be used if they are supported by the device.
|
||||
|
||||
|
||||
### Installation
|
||||
|
||||
In order to compile this plugin you will need the `NET SNMP Development` package
|
||||
(libsnmp-dev under Debian) as well as `autoconf` and the standard compilation tools.
|
||||
|
||||
Download and extract the tarball from https://www.netways.org/projects/check-interfaces/files
|
||||
|
||||
autoconf (only needed if the configure script has not been created)
|
||||
./configure
|
||||
|
||||
Running "make" should successfully compile the plugin, and "make install" will install them under
|
||||
the configured path.
|
||||
|
||||
make
|
||||
make install
|
||||
|
||||
|
||||
### Usage
|
||||
|
||||
|
||||
(see also check_interface --help)
|
||||
|
||||
check_interface -c public -h 192.168.0.1 -r 'FastEth' -p '$SERVICEPERFDATA$' -t $LASTSERVICECHECK$ -a
|
||||
|
||||
Options;
|
||||
-h address of device
|
||||
|
||||
-c|--community community (default public)
|
||||
-r|--regex interface list regexp
|
||||
Regex to match interfaces (important, this is a Regular Expression
|
||||
not a simple wildcard string, see below)
|
||||
-e|--errors number of in errors (CRC errors for cisco) to consider a warning (default 50)
|
||||
Only warn if errors increase by more than this amount between checks
|
||||
-f|--out-errors number of out errors (collisions for cisco) to consider a warning
|
||||
Defaults to the same value as for errors
|
||||
-p|--perfdata last check perfdata
|
||||
Performance data from previous check (used to calculate traffic)
|
||||
-P|--prefix prefix interface names with this label
|
||||
-t|--lastcheck last checktime (unixtime)
|
||||
Last service check time in unixtime (also used to calculate traffic)
|
||||
-b|--bandwidth bandwidth warn level in %
|
||||
-s|--speed override speed detection with this value (bits per sec)
|
||||
-x|--trim cut this number of characters from the start of interface descriptions
|
||||
Useful for nortel switches
|
||||
-j|--auth-proto SNMPv3 Auth Protocol (SHA|MD5)
|
||||
-J|--auth-phrase SNMPv3 Auth Phrase
|
||||
-k|--priv-proto SNMPv3 Privacy Protocol (AES|DES) (optional)
|
||||
-K|--priv-phrase SNMPv3 Privacy Phrase
|
||||
-u|--user SNMPv3 User
|
||||
-d|--down-is-ok disables critical alerts for down interfaces
|
||||
i.e do not consider a down interface to be critical
|
||||
-a|--aliases retrieves the interface description
|
||||
This alias does not always deliver useful information
|
||||
-A|--match-aliases also test the Alias against the Regexes
|
||||
-D|--debug-print list administrative down interfaces in perfdata
|
||||
-N|--if-names use ifName instead of ifDescr
|
||||
--timeout sets the SNMP timeout (in ms)
|
||||
-m|--mode special operating mode (default,cisco,nonbulk,bintec)
|
||||
Workarounds for various hardware
|
||||
|
||||
|
||||
### Modes
|
||||
|
||||
default use SNMPv2 bulk-gets to retrieve the interface list (recommended for devices with many interfaces)
|
||||
cisco retrieve CRC errors and collisions instead of in errors and out errors
|
||||
bintec work with non-RFC Bintec devices
|
||||
nonbulk use a traditional tree-walk and SNMPv1 instead of bulk-gets (less efficient, but works with most devices)
|
||||
|
||||
|
||||
### Counter Overflows
|
||||
|
||||
The plugin will query the uptime of the device and compensate for counter overflows.
|
||||
Note however that a 1Gbit interface with a 32 bit counter will overflow every 34 seconds
|
||||
if the interface is operating at full capacity - in this case you will need to query the
|
||||
device at least once a minute. With 64 bit counters these problems go away.
|
||||
|
||||
Also be aware that the counter values themselves are passed unaltered in the performance
|
||||
data field - if you graph the data then the grapher also needs to be overflow aware.
|
||||
|
||||
|
||||
### Large Plugin Output
|
||||
|
||||
|
||||
Be aware that this plugin may generate large outputs. Your version of Nagios / Icinga may cut off the output and cause you problems with various graphing tools; for best results restrict the list of interfaces using the -r option
|
||||
|
||||
### Regular Expressions
|
||||
|
||||
The following patterns can be used to match strings
|
||||
|
||||
. anything
|
||||
^ beginning of string
|
||||
$ end of string (WARNING: you need to use $$ in a Nagios configuration file!)
|
||||
(abc|def) either abc or def
|
||||
[0-9a-z] a range
|
||||
* the previous pattern multiple times
|
||||
|
||||
|
||||
Examples;
|
||||
|
||||
Eth match any strings containing "Eth"
|
||||
^FastEth match any strings beginning with "FastEth"
|
||||
Eth(0|2)$ match Eth0 or Eth2
|
||||
Eth(0|2) as above but would also match Eth20, Eth21, Eth22 etc
|
||||
|
||||
If unsure of a pattern, you should test it on the command line thus;
|
||||
|
||||
check_interface -c public -h 192.168.0.1 -r 'Eth(0|2)$'
|
4759
check_interfaces/check_interfaces-1.4/autom4te.cache/output.0
Normal file
4759
check_interfaces/check_interfaces-1.4/autom4te.cache/output.0
Normal file
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,77 @@
|
|||
# This file was generated.
|
||||
# It contains the lists of macros which have been traced.
|
||||
# It can be safely removed.
|
||||
|
||||
@request = (
|
||||
bless( [
|
||||
'0',
|
||||
1,
|
||||
[
|
||||
'/usr/share/autoconf'
|
||||
],
|
||||
[
|
||||
'/usr/share/autoconf/autoconf/autoconf.m4f',
|
||||
'configure.ac'
|
||||
],
|
||||
{
|
||||
'_AM_COND_ELSE' => 1,
|
||||
'_LT_AC_TAGCONFIG' => 1,
|
||||
'AC_CANONICAL_SYSTEM' => 1,
|
||||
'AC_CONFIG_SUBDIRS' => 1,
|
||||
'AC_CONFIG_AUX_DIR' => 1,
|
||||
'_AM_SUBST_NOTMAKE' => 1,
|
||||
'sinclude' => 1,
|
||||
'_AM_COND_IF' => 1,
|
||||
'AM_MAINTAINER_MODE' => 1,
|
||||
'AC_FC_FREEFORM' => 1,
|
||||
'AC_CONFIG_LIBOBJ_DIR' => 1,
|
||||
'AM_ENABLE_MULTILIB' => 1,
|
||||
'LT_INIT' => 1,
|
||||
'AC_CANONICAL_TARGET' => 1,
|
||||
'AM_PROG_CC_C_O' => 1,
|
||||
'AM_PROG_MOC' => 1,
|
||||
'AC_CONFIG_FILES' => 1,
|
||||
'AC_CONFIG_LINKS' => 1,
|
||||
'AC_SUBST' => 1,
|
||||
'AM_NLS' => 1,
|
||||
'AC_REQUIRE_AUX_FILE' => 1,
|
||||
'AM_INIT_AUTOMAKE' => 1,
|
||||
'LT_SUPPORTED_TAG' => 1,
|
||||
'AC_INIT' => 1,
|
||||
'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
|
||||
'AC_FC_PP_SRCEXT' => 1,
|
||||
'AM_AUTOMAKE_VERSION' => 1,
|
||||
'_m4_warn' => 1,
|
||||
'm4_pattern_forbid' => 1,
|
||||
'AM_GNU_GETTEXT' => 1,
|
||||
'AC_CANONICAL_HOST' => 1,
|
||||
'AM_PROG_FC_C_O' => 1,
|
||||
'AC_LIBSOURCE' => 1,
|
||||
'_AM_MAKEFILE_INCLUDE' => 1,
|
||||
'AM_XGETTEXT_OPTION' => 1,
|
||||
'AM_PROG_CXX_C_O' => 1,
|
||||
'AM_POT_TOOLS' => 1,
|
||||
'm4_pattern_allow' => 1,
|
||||
'm4_sinclude' => 1,
|
||||
'LT_CONFIG_LTDL_DIR' => 1,
|
||||
'_AM_COND_ENDIF' => 1,
|
||||
'AC_CANONICAL_BUILD' => 1,
|
||||
'm4_include' => 1,
|
||||
'AM_PROG_AR' => 1,
|
||||
'AM_PATH_GUILE' => 1,
|
||||
'AC_PROG_LIBTOOL' => 1,
|
||||
'include' => 1,
|
||||
'AC_DEFINE_TRACE_LITERAL' => 1,
|
||||
'AM_PROG_F77_C_O' => 1,
|
||||
'AC_FC_SRCEXT' => 1,
|
||||
'AM_SILENT_RULES' => 1,
|
||||
'AM_MAKEFILE_INCLUDE' => 1,
|
||||
'AH_OUTPUT' => 1,
|
||||
'AC_FC_PP_DEFINE' => 1,
|
||||
'AM_CONDITIONAL' => 1,
|
||||
'AC_CONFIG_HEADERS' => 1,
|
||||
'AC_SUBST_TRACE' => 1
|
||||
}
|
||||
], 'Autom4te::Request' )
|
||||
);
|
||||
|
266
check_interfaces/check_interfaces-1.4/autom4te.cache/traces.0
Normal file
266
check_interfaces/check_interfaces-1.4/autom4te.cache/traces.0
Normal file
|
@ -0,0 +1,266 @@
|
|||
m4trace:configure.ac:1: -1- AC_INIT([check_interfaces], [1.4])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?A[CHUM]_])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_forbid([_AC_])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^AS_FLAGS$])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?m4_])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_forbid([^dnl$])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?AS_])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([SHELL])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([SHELL])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^SHELL$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([PATH_SEPARATOR])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^PATH_SEPARATOR$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([PACKAGE_NAME])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_NAME$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_VERSION$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([PACKAGE_STRING])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_STRING$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([PACKAGE_URL])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_URL$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([exec_prefix], [NONE])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([exec_prefix])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^exec_prefix$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([prefix], [NONE])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([prefix])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^prefix$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([program_transform_name], [s,x,x,])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([program_transform_name])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^program_transform_name$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([bindir])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^bindir$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([sbindir])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^sbindir$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([libexecdir])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^libexecdir$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([datarootdir])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^datarootdir$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([datadir], ['${datarootdir}'])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([datadir])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^datadir$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([sysconfdir])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^sysconfdir$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([sharedstatedir])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^sharedstatedir$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([localstatedir])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^localstatedir$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([includedir], ['${prefix}/include'])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([includedir])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^includedir$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([oldincludedir], ['/usr/include'])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([oldincludedir])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^oldincludedir$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
|
||||
['${datarootdir}/doc/${PACKAGE_TARNAME}'],
|
||||
['${datarootdir}/doc/${PACKAGE}'])])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([docdir])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^docdir$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([infodir])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^infodir$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([htmldir], ['${docdir}'])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([htmldir])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^htmldir$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([dvidir], ['${docdir}'])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([dvidir])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^dvidir$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([pdfdir], ['${docdir}'])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([pdfdir])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^pdfdir$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([psdir], ['${docdir}'])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([psdir])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^psdir$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([libdir])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^libdir$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([localedir])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^localedir$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([mandir])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^mandir$])
|
||||
m4trace:configure.ac:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_NAME$])
|
||||
m4trace:configure.ac:1: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
|
||||
@%:@undef PACKAGE_NAME])
|
||||
m4trace:configure.ac:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
|
||||
m4trace:configure.ac:1: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
|
||||
@%:@undef PACKAGE_TARNAME])
|
||||
m4trace:configure.ac:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_VERSION$])
|
||||
m4trace:configure.ac:1: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
|
||||
@%:@undef PACKAGE_VERSION])
|
||||
m4trace:configure.ac:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_STRING$])
|
||||
m4trace:configure.ac:1: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
|
||||
@%:@undef PACKAGE_STRING])
|
||||
m4trace:configure.ac:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
|
||||
m4trace:configure.ac:1: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
|
||||
@%:@undef PACKAGE_BUGREPORT])
|
||||
m4trace:configure.ac:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_URL$])
|
||||
m4trace:configure.ac:1: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
|
||||
@%:@undef PACKAGE_URL])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([DEFS])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([DEFS])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^DEFS$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([ECHO_C])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([ECHO_C])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^ECHO_C$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([ECHO_N])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([ECHO_N])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^ECHO_N$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([ECHO_T])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([ECHO_T])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^ECHO_T$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([LIBS])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([LIBS])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^LIBS$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([build_alias])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([build_alias])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^build_alias$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([host_alias])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([host_alias])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^host_alias$])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST([target_alias])
|
||||
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([target_alias])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_allow([^target_alias$])
|
||||
m4trace:configure.ac:3: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:3: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:3: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:3: -1- AC_SUBST([CFLAGS])
|
||||
m4trace:configure.ac:3: -1- AC_SUBST_TRACE([CFLAGS])
|
||||
m4trace:configure.ac:3: -1- m4_pattern_allow([^CFLAGS$])
|
||||
m4trace:configure.ac:3: -1- AC_SUBST([LDFLAGS])
|
||||
m4trace:configure.ac:3: -1- AC_SUBST_TRACE([LDFLAGS])
|
||||
m4trace:configure.ac:3: -1- m4_pattern_allow([^LDFLAGS$])
|
||||
m4trace:configure.ac:3: -1- AC_SUBST([LIBS])
|
||||
m4trace:configure.ac:3: -1- AC_SUBST_TRACE([LIBS])
|
||||
m4trace:configure.ac:3: -1- m4_pattern_allow([^LIBS$])
|
||||
m4trace:configure.ac:3: -1- AC_SUBST([CPPFLAGS])
|
||||
m4trace:configure.ac:3: -1- AC_SUBST_TRACE([CPPFLAGS])
|
||||
m4trace:configure.ac:3: -1- m4_pattern_allow([^CPPFLAGS$])
|
||||
m4trace:configure.ac:3: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:3: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:3: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:3: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:3: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:3: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:3: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:3: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:3: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:3: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:3: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:3: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:3: -1- AC_SUBST([ac_ct_CC])
|
||||
m4trace:configure.ac:3: -1- AC_SUBST_TRACE([ac_ct_CC])
|
||||
m4trace:configure.ac:3: -1- m4_pattern_allow([^ac_ct_CC$])
|
||||
m4trace:configure.ac:3: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
|
||||
m4trace:configure.ac:3: -1- AC_SUBST_TRACE([EXEEXT])
|
||||
m4trace:configure.ac:3: -1- m4_pattern_allow([^EXEEXT$])
|
||||
m4trace:configure.ac:3: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
|
||||
m4trace:configure.ac:3: -1- AC_SUBST_TRACE([OBJEXT])
|
||||
m4trace:configure.ac:3: -1- m4_pattern_allow([^OBJEXT$])
|
||||
m4trace:configure.ac:4: -1- AC_REQUIRE_AUX_FILE([install-sh])
|
||||
m4trace:configure.ac:4: -1- AC_SUBST([INSTALL_PROGRAM])
|
||||
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
|
||||
m4trace:configure.ac:4: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
|
||||
m4trace:configure.ac:4: -1- AC_SUBST([INSTALL_SCRIPT])
|
||||
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
|
||||
m4trace:configure.ac:4: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
|
||||
m4trace:configure.ac:4: -1- AC_SUBST([INSTALL_DATA])
|
||||
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([INSTALL_DATA])
|
||||
m4trace:configure.ac:4: -1- m4_pattern_allow([^INSTALL_DATA$])
|
||||
m4trace:configure.ac:10: -1- AC_SUBST([NETSNMPCONFIG])
|
||||
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([NETSNMPCONFIG])
|
||||
m4trace:configure.ac:10: -1- m4_pattern_allow([^NETSNMPCONFIG$])
|
||||
m4trace:configure.ac:34: -1- AH_OUTPUT([HAVE_NET_SNMP_NET_SNMP_CONFIG_H], [/* Define to 1 if you have the <net-snmp/net-snmp-config.h> header file. */
|
||||
@%:@undef HAVE_NET_SNMP_NET_SNMP_CONFIG_H])
|
||||
m4trace:configure.ac:34: -1- AC_SUBST([CPP])
|
||||
m4trace:configure.ac:34: -1- AC_SUBST_TRACE([CPP])
|
||||
m4trace:configure.ac:34: -1- m4_pattern_allow([^CPP$])
|
||||
m4trace:configure.ac:34: -1- AC_SUBST([CPPFLAGS])
|
||||
m4trace:configure.ac:34: -1- AC_SUBST_TRACE([CPPFLAGS])
|
||||
m4trace:configure.ac:34: -1- m4_pattern_allow([^CPPFLAGS$])
|
||||
m4trace:configure.ac:34: -1- AC_SUBST([CPP])
|
||||
m4trace:configure.ac:34: -1- AC_SUBST_TRACE([CPP])
|
||||
m4trace:configure.ac:34: -1- m4_pattern_allow([^CPP$])
|
||||
m4trace:configure.ac:34: -1- AC_SUBST([GREP])
|
||||
m4trace:configure.ac:34: -1- AC_SUBST_TRACE([GREP])
|
||||
m4trace:configure.ac:34: -1- m4_pattern_allow([^GREP$])
|
||||
m4trace:configure.ac:34: -1- AC_SUBST([EGREP])
|
||||
m4trace:configure.ac:34: -1- AC_SUBST_TRACE([EGREP])
|
||||
m4trace:configure.ac:34: -1- m4_pattern_allow([^EGREP$])
|
||||
m4trace:configure.ac:34: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
|
||||
m4trace:configure.ac:34: -1- m4_pattern_allow([^STDC_HEADERS$])
|
||||
m4trace:configure.ac:34: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
|
||||
@%:@undef STDC_HEADERS])
|
||||
m4trace:configure.ac:34: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
@%:@undef HAVE_SYS_TYPES_H])
|
||||
m4trace:configure.ac:34: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
@%:@undef HAVE_SYS_STAT_H])
|
||||
m4trace:configure.ac:34: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
@%:@undef HAVE_STDLIB_H])
|
||||
m4trace:configure.ac:34: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
|
||||
@%:@undef HAVE_STRING_H])
|
||||
m4trace:configure.ac:34: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
|
||||
@%:@undef HAVE_MEMORY_H])
|
||||
m4trace:configure.ac:34: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
|
||||
@%:@undef HAVE_STRINGS_H])
|
||||
m4trace:configure.ac:34: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
@%:@undef HAVE_INTTYPES_H])
|
||||
m4trace:configure.ac:34: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
|
||||
@%:@undef HAVE_STDINT_H])
|
||||
m4trace:configure.ac:34: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
|
||||
@%:@undef HAVE_UNISTD_H])
|
||||
m4trace:configure.ac:34: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NET_SNMP_NET_SNMP_CONFIG_H])
|
||||
m4trace:configure.ac:34: -1- m4_pattern_allow([^HAVE_NET_SNMP_NET_SNMP_CONFIG_H$])
|
||||
m4trace:configure.ac:36: -1- AH_OUTPUT([HAVE_LIBNETSNMP], [/* Define to 1 if you have the `netsnmp\' library (-lnetsnmp). */
|
||||
@%:@undef HAVE_LIBNETSNMP])
|
||||
m4trace:configure.ac:36: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBNETSNMP])
|
||||
m4trace:configure.ac:36: -1- m4_pattern_allow([^HAVE_LIBNETSNMP$])
|
||||
m4trace:configure.ac:50: -2- AC_DEFINE_TRACE_LITERAL([HAVE_POW])
|
||||
m4trace:configure.ac:50: -2- m4_pattern_allow([^HAVE_POW$])
|
||||
m4trace:configure.ac:53: -2- AC_DEFINE_TRACE_LITERAL([HAVE_GETADDRINFO])
|
||||
m4trace:configure.ac:53: -2- m4_pattern_allow([^HAVE_GETADDRINFO$])
|
||||
m4trace:configure.ac:56: -1- AC_SUBST([SNMP_LIBS])
|
||||
m4trace:configure.ac:56: -1- AC_SUBST_TRACE([SNMP_LIBS])
|
||||
m4trace:configure.ac:56: -1- m4_pattern_allow([^SNMP_LIBS$])
|
||||
m4trace:configure.ac:57: -1- AC_CONFIG_FILES([Makefile])
|
||||
m4trace:configure.ac:58: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
|
||||
m4trace:configure.ac:58: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
|
||||
m4trace:configure.ac:58: -1- m4_pattern_allow([^LIB@&t@OBJS$])
|
||||
m4trace:configure.ac:58: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
|
||||
m4trace:configure.ac:58: -1- AC_SUBST_TRACE([LTLIBOBJS])
|
||||
m4trace:configure.ac:58: -1- m4_pattern_allow([^LTLIBOBJS$])
|
||||
m4trace:configure.ac:58: -1- AC_SUBST_TRACE([top_builddir])
|
||||
m4trace:configure.ac:58: -1- AC_SUBST_TRACE([top_build_prefix])
|
||||
m4trace:configure.ac:58: -1- AC_SUBST_TRACE([srcdir])
|
||||
m4trace:configure.ac:58: -1- AC_SUBST_TRACE([abs_srcdir])
|
||||
m4trace:configure.ac:58: -1- AC_SUBST_TRACE([top_srcdir])
|
||||
m4trace:configure.ac:58: -1- AC_SUBST_TRACE([abs_top_srcdir])
|
||||
m4trace:configure.ac:58: -1- AC_SUBST_TRACE([builddir])
|
||||
m4trace:configure.ac:58: -1- AC_SUBST_TRACE([abs_builddir])
|
||||
m4trace:configure.ac:58: -1- AC_SUBST_TRACE([abs_top_builddir])
|
||||
m4trace:configure.ac:58: -1- AC_SUBST_TRACE([INSTALL])
|
4759
check_interfaces/check_interfaces-1.4/configure
vendored
Executable file
4759
check_interfaces/check_interfaces-1.4/configure
vendored
Executable file
File diff suppressed because it is too large
Load diff
58
check_interfaces/check_interfaces-1.4/configure.ac
Normal file
58
check_interfaces/check_interfaces-1.4/configure.ac
Normal file
|
@ -0,0 +1,58 @@
|
|||
AC_INIT(check_interfaces, 1.4)
|
||||
AC_PREFIX_DEFAULT(/usr/local/nagios)
|
||||
AC_PROG_CC
|
||||
AC_PROG_INSTALL
|
||||
|
||||
|
||||
if test "$cross_compiling" != "yes";
|
||||
then
|
||||
dnl look for net-snmp-config
|
||||
AC_PATH_PROG(NETSNMPCONFIG, net-snmp-config)
|
||||
|
||||
if test "$ac_cv_path_netsnmpconfig" == "no";
|
||||
then
|
||||
AC_MSG_WARN([could not find net-snmp-config - did you install the development package for net-snmp? ])
|
||||
else
|
||||
SNMP_CFLAGS=`$NETSNMPCONFIG --cflags`
|
||||
SNMP_LIBS=`$NETSNMPCONFIG --libs`
|
||||
CFLAGS="$CFLAGS $SNMP_CFLAGS"
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_ARG_WITH(snmp-headers,
|
||||
AS_HELP_STRING([--with-snmp-headers=DIR], [Net-SNMP Include files location]),
|
||||
[SNMP_HDR_DIR="$withval"]
|
||||
[CPPFLAGS="$CPPFLAGS -I$withval"])
|
||||
|
||||
dnl if specified override SNMP_LIBS
|
||||
AC_ARG_WITH(snmp-libs,
|
||||
AS_HELP_STRING([--with-snmp-libs=DIR], [Net-SNMP Shared Library files location]),
|
||||
[SNMP_LIBS="-lnetsnmp"]
|
||||
[CFLAGS="$CFLAGS -L$withval"])
|
||||
|
||||
|
||||
AC_CHECK_HEADERS([net-snmp/net-snmp-config.h])
|
||||
|
||||
AC_CHECK_LIB(netsnmp, snmp_open)
|
||||
|
||||
if test "$ac_cv_header_net_snmp_net_snmp_config_h" != "yes";
|
||||
then
|
||||
AC_MSG_ERROR([Net-SNMP Headers Missing])
|
||||
fi
|
||||
|
||||
if test "$ac_cv_lib_netsnmp_snmp_open" != "yes";
|
||||
then
|
||||
AC_MSG_ERROR([Net-SNMP library unusable - either it is missing or there are unfulfilled dependencies (e.g. libcrypto)])
|
||||
fi
|
||||
|
||||
|
||||
dnl look for the pow() function
|
||||
AC_SEARCH_LIBS(pow, [c m], AC_DEFINE([HAVE_POW]))
|
||||
|
||||
dnl look for the getaddrinfo() function
|
||||
AC_SEARCH_LIBS(getaddrinfo, [c], AC_DEFINE([HAVE_GETADDRINFO]))
|
||||
|
||||
|
||||
AC_SUBST([SNMP_LIBS])
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
AC_OUTPUT
|
507
check_interfaces/check_interfaces-1.4/install-sh
Executable file
507
check_interfaces/check_interfaces-1.4/install-sh
Executable file
|
@ -0,0 +1,507 @@
|
|||
#!/bin/sh
|
||||
# install - install a program, script, or datafile
|
||||
|
||||
scriptversion=2006-10-14.15
|
||||
|
||||
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
||||
# later released in X11R6 (xc/config/util/install.sh) with the
|
||||
# following copyright and license.
|
||||
#
|
||||
# Copyright (C) 1994 X Consortium
|
||||
#
|
||||
# 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
|
||||
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
||||
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
|
||||
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#
|
||||
# Except as contained in this notice, the name of the X Consortium shall not
|
||||
# be used in advertising or otherwise to promote the sale, use or other deal-
|
||||
# ings in this Software without prior written authorization from the X Consor-
|
||||
# tium.
|
||||
#
|
||||
#
|
||||
# FSF changes to this file are in the public domain.
|
||||
#
|
||||
# Calling this script install-sh is preferred over install.sh, to prevent
|
||||
# `make' implicit rules from creating a file called install from it
|
||||
# when there is no Makefile.
|
||||
#
|
||||
# This script is compatible with the BSD install script, but was written
|
||||
# from scratch.
|
||||
|
||||
nl='
|
||||
'
|
||||
IFS=" "" $nl"
|
||||
|
||||
# set DOITPROG to echo to test this script
|
||||
|
||||
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
||||
doit="${DOITPROG-}"
|
||||
if test -z "$doit"; then
|
||||
doit_exec=exec
|
||||
else
|
||||
doit_exec=$doit
|
||||
fi
|
||||
|
||||
# Put in absolute file names if you don't have them in your path;
|
||||
# or use environment vars.
|
||||
|
||||
mvprog="${MVPROG-mv}"
|
||||
cpprog="${CPPROG-cp}"
|
||||
chmodprog="${CHMODPROG-chmod}"
|
||||
chownprog="${CHOWNPROG-chown}"
|
||||
chgrpprog="${CHGRPPROG-chgrp}"
|
||||
stripprog="${STRIPPROG-strip}"
|
||||
rmprog="${RMPROG-rm}"
|
||||
mkdirprog="${MKDIRPROG-mkdir}"
|
||||
|
||||
posix_glob=
|
||||
posix_mkdir=
|
||||
|
||||
# Desired mode of installed file.
|
||||
mode=0755
|
||||
|
||||
chmodcmd=$chmodprog
|
||||
chowncmd=
|
||||
chgrpcmd=
|
||||
stripcmd=
|
||||
rmcmd="$rmprog -f"
|
||||
mvcmd="$mvprog"
|
||||
src=
|
||||
dst=
|
||||
dir_arg=
|
||||
dstarg=
|
||||
no_target_directory=
|
||||
|
||||
usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
|
||||
or: $0 [OPTION]... SRCFILES... DIRECTORY
|
||||
or: $0 [OPTION]... -t DIRECTORY SRCFILES...
|
||||
or: $0 [OPTION]... -d DIRECTORIES...
|
||||
|
||||
In the 1st form, copy SRCFILE to DSTFILE.
|
||||
In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
|
||||
In the 4th, create DIRECTORIES.
|
||||
|
||||
Options:
|
||||
-c (ignored)
|
||||
-d create directories instead of installing files.
|
||||
-g GROUP $chgrpprog installed files to GROUP.
|
||||
-m MODE $chmodprog installed files to MODE.
|
||||
-o USER $chownprog installed files to USER.
|
||||
-s $stripprog installed files.
|
||||
-t DIRECTORY install into DIRECTORY.
|
||||
-T report an error if DSTFILE is a directory.
|
||||
--help display this help and exit.
|
||||
--version display version info and exit.
|
||||
|
||||
Environment variables override the default commands:
|
||||
CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
|
||||
"
|
||||
|
||||
while test $# -ne 0; do
|
||||
case $1 in
|
||||
-c) shift
|
||||
continue;;
|
||||
|
||||
-d) dir_arg=true
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-g) chgrpcmd="$chgrpprog $2"
|
||||
shift
|
||||
shift
|
||||
continue;;
|
||||
|
||||
--help) echo "$usage"; exit $?;;
|
||||
|
||||
-m) mode=$2
|
||||
shift
|
||||
shift
|
||||
case $mode in
|
||||
*' '* | *' '* | *'
|
||||
'* | *'*'* | *'?'* | *'['*)
|
||||
echo "$0: invalid mode: $mode" >&2
|
||||
exit 1;;
|
||||
esac
|
||||
continue;;
|
||||
|
||||
-o) chowncmd="$chownprog $2"
|
||||
shift
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-s) stripcmd=$stripprog
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-t) dstarg=$2
|
||||
shift
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-T) no_target_directory=true
|
||||
shift
|
||||
continue;;
|
||||
|
||||
--version) echo "$0 $scriptversion"; exit $?;;
|
||||
|
||||
--) shift
|
||||
break;;
|
||||
|
||||
-*) echo "$0: invalid option: $1" >&2
|
||||
exit 1;;
|
||||
|
||||
*) break;;
|
||||
esac
|
||||
done
|
||||
|
||||
if test $# -ne 0 && test -z "$dir_arg$dstarg"; then
|
||||
# When -d is used, all remaining arguments are directories to create.
|
||||
# When -t is used, the destination is already specified.
|
||||
# Otherwise, the last argument is the destination. Remove it from $@.
|
||||
for arg
|
||||
do
|
||||
if test -n "$dstarg"; then
|
||||
# $@ is not empty: it contains at least $arg.
|
||||
set fnord "$@" "$dstarg"
|
||||
shift # fnord
|
||||
fi
|
||||
shift # arg
|
||||
dstarg=$arg
|
||||
done
|
||||
fi
|
||||
|
||||
if test $# -eq 0; then
|
||||
if test -z "$dir_arg"; then
|
||||
echo "$0: no input file specified." >&2
|
||||
exit 1
|
||||
fi
|
||||
# It's OK to call `install-sh -d' without argument.
|
||||
# This can happen when creating conditional directories.
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if test -z "$dir_arg"; then
|
||||
trap '(exit $?); exit' 1 2 13 15
|
||||
|
||||
# Set umask so as not to create temps with too-generous modes.
|
||||
# However, 'strip' requires both read and write access to temps.
|
||||
case $mode in
|
||||
# Optimize common cases.
|
||||
*644) cp_umask=133;;
|
||||
*755) cp_umask=22;;
|
||||
|
||||
*[0-7])
|
||||
if test -z "$stripcmd"; then
|
||||
u_plus_rw=
|
||||
else
|
||||
u_plus_rw='% 200'
|
||||
fi
|
||||
cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
|
||||
*)
|
||||
if test -z "$stripcmd"; then
|
||||
u_plus_rw=
|
||||
else
|
||||
u_plus_rw=,u+rw
|
||||
fi
|
||||
cp_umask=$mode$u_plus_rw;;
|
||||
esac
|
||||
fi
|
||||
|
||||
for src
|
||||
do
|
||||
# Protect names starting with `-'.
|
||||
case $src in
|
||||
-*) src=./$src ;;
|
||||
esac
|
||||
|
||||
if test -n "$dir_arg"; then
|
||||
dst=$src
|
||||
dstdir=$dst
|
||||
test -d "$dstdir"
|
||||
dstdir_status=$?
|
||||
else
|
||||
|
||||
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
||||
# might cause directories to be created, which would be especially bad
|
||||
# if $src (and thus $dsttmp) contains '*'.
|
||||
if test ! -f "$src" && test ! -d "$src"; then
|
||||
echo "$0: $src does not exist." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if test -z "$dstarg"; then
|
||||
echo "$0: no destination specified." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
dst=$dstarg
|
||||
# Protect names starting with `-'.
|
||||
case $dst in
|
||||
-*) dst=./$dst ;;
|
||||
esac
|
||||
|
||||
# If destination is a directory, append the input filename; won't work
|
||||
# if double slashes aren't ignored.
|
||||
if test -d "$dst"; then
|
||||
if test -n "$no_target_directory"; then
|
||||
echo "$0: $dstarg: Is a directory" >&2
|
||||
exit 1
|
||||
fi
|
||||
dstdir=$dst
|
||||
dst=$dstdir/`basename "$src"`
|
||||
dstdir_status=0
|
||||
else
|
||||
# Prefer dirname, but fall back on a substitute if dirname fails.
|
||||
dstdir=`
|
||||
(dirname "$dst") 2>/dev/null ||
|
||||
expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
||||
X"$dst" : 'X\(//\)[^/]' \| \
|
||||
X"$dst" : 'X\(//\)$' \| \
|
||||
X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
|
||||
echo X"$dst" |
|
||||
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
/^X\(\/\/\)[^/].*/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
/^X\(\/\/\)$/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
/^X\(\/\).*/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
s/.*/./; q'
|
||||
`
|
||||
|
||||
test -d "$dstdir"
|
||||
dstdir_status=$?
|
||||
fi
|
||||
fi
|
||||
|
||||
obsolete_mkdir_used=false
|
||||
|
||||
if test $dstdir_status != 0; then
|
||||
case $posix_mkdir in
|
||||
'')
|
||||
# Create intermediate dirs using mode 755 as modified by the umask.
|
||||
# This is like FreeBSD 'install' as of 1997-10-28.
|
||||
umask=`umask`
|
||||
case $stripcmd.$umask in
|
||||
# Optimize common cases.
|
||||
*[2367][2367]) mkdir_umask=$umask;;
|
||||
.*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
|
||||
|
||||
*[0-7])
|
||||
mkdir_umask=`expr $umask + 22 \
|
||||
- $umask % 100 % 40 + $umask % 20 \
|
||||
- $umask % 10 % 4 + $umask % 2
|
||||
`;;
|
||||
*) mkdir_umask=$umask,go-w;;
|
||||
esac
|
||||
|
||||
# With -d, create the new directory with the user-specified mode.
|
||||
# Otherwise, rely on $mkdir_umask.
|
||||
if test -n "$dir_arg"; then
|
||||
mkdir_mode=-m$mode
|
||||
else
|
||||
mkdir_mode=
|
||||
fi
|
||||
|
||||
posix_mkdir=false
|
||||
case $umask in
|
||||
*[123567][0-7][0-7])
|
||||
# POSIX mkdir -p sets u+wx bits regardless of umask, which
|
||||
# is incompatible with FreeBSD 'install' when (umask & 300) != 0.
|
||||
;;
|
||||
*)
|
||||
tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
|
||||
trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
|
||||
|
||||
if (umask $mkdir_umask &&
|
||||
exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
|
||||
then
|
||||
if test -z "$dir_arg" || {
|
||||
# Check for POSIX incompatibilities with -m.
|
||||
# HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
|
||||
# other-writeable bit of parent directory when it shouldn't.
|
||||
# FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
|
||||
ls_ld_tmpdir=`ls -ld "$tmpdir"`
|
||||
case $ls_ld_tmpdir in
|
||||
d????-?r-*) different_mode=700;;
|
||||
d????-?--*) different_mode=755;;
|
||||
*) false;;
|
||||
esac &&
|
||||
$mkdirprog -m$different_mode -p -- "$tmpdir" && {
|
||||
ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
|
||||
test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
|
||||
}
|
||||
}
|
||||
then posix_mkdir=:
|
||||
fi
|
||||
rmdir "$tmpdir/d" "$tmpdir"
|
||||
else
|
||||
# Remove any dirs left behind by ancient mkdir implementations.
|
||||
rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
|
||||
fi
|
||||
trap '' 0;;
|
||||
esac;;
|
||||
esac
|
||||
|
||||
if
|
||||
$posix_mkdir && (
|
||||
umask $mkdir_umask &&
|
||||
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
|
||||
)
|
||||
then :
|
||||
else
|
||||
|
||||
# The umask is ridiculous, or mkdir does not conform to POSIX,
|
||||
# or it failed possibly due to a race condition. Create the
|
||||
# directory the slow way, step by step, checking for races as we go.
|
||||
|
||||
case $dstdir in
|
||||
/*) prefix=/ ;;
|
||||
-*) prefix=./ ;;
|
||||
*) prefix= ;;
|
||||
esac
|
||||
|
||||
case $posix_glob in
|
||||
'')
|
||||
if (set -f) 2>/dev/null; then
|
||||
posix_glob=true
|
||||
else
|
||||
posix_glob=false
|
||||
fi ;;
|
||||
esac
|
||||
|
||||
oIFS=$IFS
|
||||
IFS=/
|
||||
$posix_glob && set -f
|
||||
set fnord $dstdir
|
||||
shift
|
||||
$posix_glob && set +f
|
||||
IFS=$oIFS
|
||||
|
||||
prefixes=
|
||||
|
||||
for d
|
||||
do
|
||||
test -z "$d" && continue
|
||||
|
||||
prefix=$prefix$d
|
||||
if test -d "$prefix"; then
|
||||
prefixes=
|
||||
else
|
||||
if $posix_mkdir; then
|
||||
(umask=$mkdir_umask &&
|
||||
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
|
||||
# Don't fail if two instances are running concurrently.
|
||||
test -d "$prefix" || exit 1
|
||||
else
|
||||
case $prefix in
|
||||
*\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
|
||||
*) qprefix=$prefix;;
|
||||
esac
|
||||
prefixes="$prefixes '$qprefix'"
|
||||
fi
|
||||
fi
|
||||
prefix=$prefix/
|
||||
done
|
||||
|
||||
if test -n "$prefixes"; then
|
||||
# Don't fail if two instances are running concurrently.
|
||||
(umask $mkdir_umask &&
|
||||
eval "\$doit_exec \$mkdirprog $prefixes") ||
|
||||
test -d "$dstdir" || exit 1
|
||||
obsolete_mkdir_used=true
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if test -n "$dir_arg"; then
|
||||
{ test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
|
||||
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
|
||||
{ test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
|
||||
test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
|
||||
else
|
||||
|
||||
# Make a couple of temp file names in the proper directory.
|
||||
dsttmp=$dstdir/_inst.$$_
|
||||
rmtmp=$dstdir/_rm.$$_
|
||||
|
||||
# Trap to clean up those temp files at exit.
|
||||
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
||||
|
||||
# Copy the file name to the temp name.
|
||||
(umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
|
||||
|
||||
# and set any options; do chmod last to preserve setuid bits.
|
||||
#
|
||||
# If any of these fail, we abort the whole thing. If we want to
|
||||
# ignore errors from any of these, just make sure not to ignore
|
||||
# errors from the above "$doit $cpprog $src $dsttmp" command.
|
||||
#
|
||||
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
|
||||
&& { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
|
||||
&& { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
|
||||
&& { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
|
||||
|
||||
# Now rename the file to the real destination.
|
||||
{ $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null \
|
||||
|| {
|
||||
# The rename failed, perhaps because mv can't rename something else
|
||||
# to itself, or perhaps because mv is so ancient that it does not
|
||||
# support -f.
|
||||
|
||||
# Now remove or move aside any old file at destination location.
|
||||
# We try this two ways since rm can't unlink itself on some
|
||||
# systems and the destination file might be busy for other
|
||||
# reasons. In this case, the final cleanup might fail but the new
|
||||
# file should still install successfully.
|
||||
{
|
||||
if test -f "$dst"; then
|
||||
$doit $rmcmd -f "$dst" 2>/dev/null \
|
||||
|| { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null \
|
||||
&& { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }; }\
|
||||
|| {
|
||||
echo "$0: cannot unlink or rename $dst" >&2
|
||||
(exit 1); exit 1
|
||||
}
|
||||
else
|
||||
:
|
||||
fi
|
||||
} &&
|
||||
|
||||
# Now rename the file to the real destination.
|
||||
$doit $mvcmd "$dsttmp" "$dst"
|
||||
}
|
||||
} || exit 1
|
||||
|
||||
trap '' 0
|
||||
fi
|
||||
done
|
||||
|
||||
# Local variables:
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-end: "$"
|
||||
# End:
|
1588
check_interfaces/check_interfaces-1.4/snmp_bulkget.c
Normal file
1588
check_interfaces/check_interfaces-1.4/snmp_bulkget.c
Normal file
File diff suppressed because it is too large
Load diff
182
check_interfaces/check_interfaces-1.4/snmp_bulkget.h
Normal file
182
check_interfaces/check_interfaces-1.4/snmp_bulkget.h
Normal file
|
@ -0,0 +1,182 @@
|
|||
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#ifdef HAVE_GETADDRINFO
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netdb.h>
|
||||
#endif /* HAVE_GETADDRINFO */
|
||||
|
||||
#include <net-snmp/net-snmp-config.h>
|
||||
#include <net-snmp/net-snmp-includes.h>
|
||||
|
||||
/*
|
||||
* defines
|
||||
* MAX_STRING = allocate memory for this length of output string
|
||||
*/
|
||||
#define MAX_STRING 65536
|
||||
#define MAX_DESCR_LEN 60
|
||||
#define UPTIME_TOLERANCE_IN_SECS 30
|
||||
#define OFLO32 4294967295ULL
|
||||
#define OFLO64 18446744073709551615ULL
|
||||
|
||||
/* default timeout is 30s */
|
||||
#define DFLT_TIMEOUT 30000000UL
|
||||
|
||||
/* should a timeout return critical(2) or unknown(3)? */
|
||||
#define EXITCODE_TIMEOUT 3
|
||||
|
||||
#define MEMCPY(a, b, c) memcpy(a, b, (sizeof(a)>c)?c:sizeof(a))
|
||||
#define TERMSTR(a, b) a[(((sizeof(a)-1)<b)?(sizeof(a)-1):b)] = '\0'
|
||||
|
||||
#ifndef U64
|
||||
#define U64
|
||||
typedef unsigned long long u64;
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* structs
|
||||
*/
|
||||
|
||||
struct ifStruct {
|
||||
int ignore;
|
||||
int admin_down;
|
||||
int print_all_flag;
|
||||
int index;
|
||||
int status;
|
||||
int err_disable;
|
||||
char descr[MAX_DESCR_LEN];
|
||||
char alias[MAX_DESCR_LEN];
|
||||
char name[MAX_DESCR_LEN];
|
||||
u64 inOctets;
|
||||
u64 outOctets;
|
||||
unsigned long inDiscards;
|
||||
unsigned long outDiscards;
|
||||
unsigned long inErrors;
|
||||
unsigned long outErrors;
|
||||
unsigned long inUcast;
|
||||
unsigned long outUcast;
|
||||
u64 speed;
|
||||
};
|
||||
|
||||
struct OIDStruct {
|
||||
oid name[MAX_OID_LEN];
|
||||
size_t name_len;
|
||||
};
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* text strings to output in the perfdata
|
||||
*/
|
||||
|
||||
static char *if_vars_default[] = {
|
||||
"inOctets",
|
||||
"outOctets",
|
||||
"inDiscards",
|
||||
"outDiscards",
|
||||
"inErrors",
|
||||
"outErrors",
|
||||
"inUcast",
|
||||
"outUcast",
|
||||
"speed" };
|
||||
|
||||
static char *if_vars_cisco[] = {
|
||||
"inOctets",
|
||||
"outOctets",
|
||||
"inDiscards",
|
||||
"outDiscards",
|
||||
"inCRCs",
|
||||
"outCollisions",
|
||||
"inUcast",
|
||||
"outUcast",
|
||||
"speed" };
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* OIDs, hardcoded to remove the dependency on MIBs
|
||||
*/
|
||||
static char *oid_if_bulkget[] = {".1.3.6.1.2.1.1.3", ".1.3.6.1.2.1.2.1", ".1.3.6.1.2.1.2.2.1.2", 0}; /* "uptime", "ifNumber", "ifDescr" */
|
||||
static char *oid_if_get[] = {".1.3.6.1.2.1.1.3.0", ".1.3.6.1.2.1.2.1.0", ".1.3.6.1.2.1.2.2.1.2.1", 0}; /* "uptime", "ifNumber", "ifDescr" */
|
||||
static char *oid_if_bintec[] = {".1.3.6.1.2.1.1.3.0", ".1.3.6.1.2.1.2.1.0", ".1.3.6.1.2.1.2.2.1.2.0", 0}; /* "uptime", "ifNumber", "ifDescr" */
|
||||
static char *oid_alias_bulkget[] = {".1.3.6.1.2.1.31.1.1.1.18", 0}; /* "alias" */
|
||||
static char *oid_alias_get[] = {".1.3.6.1.2.1.31.1.1.1.18.1", 0}; /* "alias" */
|
||||
static char *oid_alias_bintec[] = {".1.3.6.1.2.1.31.1.1.1.18.0", 0}; /* "alias" */
|
||||
|
||||
static char *oid_vals_default[] = {
|
||||
".1.3.6.1.2.1.2.2.1.7", /* ifAdminStatus */
|
||||
".1.3.6.1.2.1.2.2.1.8", /* ifOperStatus */
|
||||
".1.3.6.1.2.1.2.2.1.10", /* ifInOctets */
|
||||
".1.3.6.1.2.1.2.2.1.13", /* ifInDiscards */
|
||||
".1.3.6.1.2.1.2.2.1.14", /* ifInErrors */
|
||||
".1.3.6.1.2.1.2.2.1.16", /* ifOutOctets */
|
||||
".1.3.6.1.2.1.2.2.1.19", /* ifOutDiscards */
|
||||
".1.3.6.1.2.1.2.2.1.20", /* ifOutErrors */
|
||||
0
|
||||
};
|
||||
|
||||
static char *oid_vals_cisco[] = {
|
||||
".1.3.6.1.2.1.2.2.1.7", /* ifAdminStatus */
|
||||
".1.3.6.1.2.1.2.2.1.8", /* ifOperStatus */
|
||||
".1.3.6.1.2.1.2.2.1.10", /* ifInOctets */
|
||||
".1.3.6.1.2.1.2.2.1.13", /* ifInDiscards */
|
||||
".1.3.6.1.4.1.9.2.2.1.1.12", /* locIfInCRC */
|
||||
".1.3.6.1.2.1.2.2.1.16", /* ifOutOctets */
|
||||
".1.3.6.1.2.1.2.2.1.19", /* ifOutDiscards */
|
||||
".1.3.6.1.4.1.9.2.2.1.1.25", /* locIfCollisions */
|
||||
0
|
||||
};
|
||||
|
||||
static char *oid_extended[] = {
|
||||
".1.3.6.1.2.1.31.1.1.1.6", /* ifHCInOctets */
|
||||
".1.3.6.1.2.1.31.1.1.1.10",/* ifHCOutOctets */
|
||||
".1.3.6.1.2.1.2.2.1.11", /* ifInUcastPkts */
|
||||
".1.3.6.1.2.1.2.2.1.17", /* ifOutUcastPkts */
|
||||
".1.3.6.1.2.1.2.2.1.5", /* ifSpeed */
|
||||
".1.3.6.1.2.1.31.1.1.1.15",/* ifHighSpeed */
|
||||
".1.3.6.1.2.1.31.1.1.1.18",/* alias */
|
||||
".1.3.6.1.2.1.31.1.1.1.1", /* name */
|
||||
0
|
||||
};
|
||||
|
||||
static char *oid_extended_cisco[] = {
|
||||
".1.3.6.1.4.1.9.5.1.4.1.1.23", /* portAdditionalOperStatus */
|
||||
0
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
static char default_community[] = "public";
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* operating modes
|
||||
*/
|
||||
|
||||
|
||||
const char *modes[] = { "default", "cisco", "nonbulk", "bintec", NULL };
|
||||
enum mode_enum { DEFAULT, CISCO, NONBULK, BINTEC };
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* prototypes
|
||||
*/
|
||||
|
||||
void print64(struct counter64*, unsigned long*);
|
||||
u64 convertto64(struct counter64 *, unsigned long *);
|
||||
u64 subtract64(u64, u64);
|
||||
netsnmp_session *start_session(netsnmp_session *, char *, char *);
|
||||
netsnmp_session *start_session_v3(netsnmp_session *, char *, char *, char *, char *, char *, char *);
|
||||
int usage(char *);
|
||||
int parse_perfdata(char *, struct ifStruct *, char *);
|
||||
void set_value(struct ifStruct *, char *, char *, u64, char *);
|
||||
int parseoids(int, char *, struct OIDStruct *);
|
||||
int create_request(netsnmp_session *, struct OIDStruct **, char **, int, netsnmp_pdu **);
|
202
check_interfaces/check_interfaces-1.4/utils.c
Normal file
202
check_interfaces/check_interfaces-1.4/utils.c
Normal file
|
@ -0,0 +1,202 @@
|
|||
#include <stdarg.h>
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
#include "utils.h"
|
||||
|
||||
/*
|
||||
* Add a string
|
||||
*/
|
||||
|
||||
int addstrold(char **strp, size_t *strs, const char *format, ...)
|
||||
{
|
||||
va_list val;
|
||||
size_t written;
|
||||
|
||||
|
||||
va_start(val, format);
|
||||
|
||||
written = vsnprintf(*strp, *strs, format, val);
|
||||
va_end(val);
|
||||
|
||||
if (written >= *strs)
|
||||
{
|
||||
// buffer full
|
||||
*strs = 0;
|
||||
return(1);
|
||||
}
|
||||
|
||||
*strs = (*strs - written);
|
||||
*strp = (*strp + written);
|
||||
return(0);
|
||||
}
|
||||
|
||||
int addstr(String *str, const char *format, ...)
|
||||
{
|
||||
va_list val;
|
||||
size_t written;
|
||||
size_t available;
|
||||
char *pos;
|
||||
|
||||
available = str->max - str->len;
|
||||
pos = str->text + str->len;
|
||||
|
||||
|
||||
va_start(val, format);
|
||||
|
||||
written = vsnprintf(pos, available, format, val);
|
||||
va_end(val);
|
||||
|
||||
if (written >= available)
|
||||
{
|
||||
/* buffer full */
|
||||
str->text[(str->max)] = 0;
|
||||
str->len = str->max;
|
||||
return(1);
|
||||
}
|
||||
|
||||
str->len = str->len + written;
|
||||
return(0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Replace troublesome characters in a string with underscores
|
||||
* - only use for strings we already know the size of */
|
||||
|
||||
void strcpy_nospaces(char *dest, char *src)
|
||||
{
|
||||
static unsigned char allowed[256] = "_________________________________!_#_%__()*+,-.-0123456789_____?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[_]^__abcdefghijklmnopqrstuvwxyz{_}__________________________________________________________________________________________________________________________________";
|
||||
|
||||
|
||||
|
||||
while(*src)
|
||||
{
|
||||
*(dest++) = allowed[(unsigned char) *(src++)];
|
||||
}
|
||||
*dest = 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* convert a (possibly large) integer to a string with unit suffix
|
||||
*
|
||||
* add the following check to configure.ac
|
||||
* AC_SEARCH_LIBS(pow, [c m], AC_DEFINE([HAVE_POW]))
|
||||
*/
|
||||
|
||||
int gauge_to_si(u64 bignum, char **str)
|
||||
{
|
||||
int i = 0;
|
||||
u64 tmpll;
|
||||
static char units[] = "kMGTPE";
|
||||
|
||||
tmpll = bignum;
|
||||
|
||||
while ((tmpll /= 1000ULL) && (i < (sizeof(units) - 1)))
|
||||
{
|
||||
i++;
|
||||
}
|
||||
|
||||
#ifdef HAVE_POW
|
||||
if (i)
|
||||
{
|
||||
return asprintf(str, "%0.2f%c", ((double)bignum / pow(1000, i)), units[i-1]);
|
||||
}
|
||||
else
|
||||
{
|
||||
return asprintf(str, "%Ld", bignum);
|
||||
}
|
||||
#else
|
||||
return asprintf(str, "%Ld", bignum);
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
static
|
||||
struct timespec benchmark_start_time;
|
||||
|
||||
static
|
||||
char *benchmark_task;
|
||||
|
||||
void benchmark_start(char const *format, ...)
|
||||
{
|
||||
{
|
||||
va_list args;
|
||||
va_start(args, format);
|
||||
int benchmark_task_length = vsnprintf(NULL, 0u, format, args);
|
||||
va_end(args);
|
||||
benchmark_task = (char*)malloc(benchmark_task_length + 1);
|
||||
benchmark_task[benchmark_task_length] = 0;
|
||||
}
|
||||
{
|
||||
va_list args;
|
||||
va_start(args, format);
|
||||
vsprintf(benchmark_task, format, args);
|
||||
va_end(args);
|
||||
}
|
||||
fprintf(stderr, "[Starting benchmark] %s\n", benchmark_task);
|
||||
clock_gettime(CLOCK_MONOTONIC, &benchmark_start_time);
|
||||
}
|
||||
|
||||
void benchmark_end(void)
|
||||
{
|
||||
{
|
||||
struct timespec benchmark_end_time;
|
||||
clock_gettime(CLOCK_MONOTONIC, &benchmark_end_time);
|
||||
fprintf(
|
||||
stderr,
|
||||
"[Finished benchmark after %f ms] %s\n",
|
||||
((double)benchmark_end_time.tv_sec * 1000.0 + (double)benchmark_end_time.tv_nsec / 1000000.0)
|
||||
- ((double)benchmark_start_time.tv_sec * 1000.0 + (double)benchmark_start_time.tv_nsec / 1000000.0),
|
||||
benchmark_task
|
||||
);
|
||||
}
|
||||
free(benchmark_task);
|
||||
}
|
||||
|
||||
char *implode(char const *glue, char **pieces)
|
||||
{
|
||||
size_t total_len = 0u;
|
||||
char **walk_pieces = pieces;
|
||||
while (*walk_pieces != NULL) {
|
||||
total_len += strlen(*walk_pieces++);
|
||||
}
|
||||
|
||||
ptrdiff_t walk_pieces_diff = walk_pieces - pieces;
|
||||
if (walk_pieces_diff >= 2) {
|
||||
total_len += strlen(glue) * (size_t)(walk_pieces_diff - 1);
|
||||
}
|
||||
|
||||
char *result = (char*)malloc(total_len + 1u);
|
||||
|
||||
if (walk_pieces_diff > 0) {
|
||||
strcpy(result, *pieces);
|
||||
if (walk_pieces_diff >= 2) {
|
||||
char *walk_result = result;
|
||||
walk_pieces = pieces + 1;
|
||||
while (*walk_pieces != NULL) {
|
||||
while (*walk_result) {
|
||||
++walk_result;
|
||||
}
|
||||
strcpy(walk_result, glue);
|
||||
|
||||
while (*walk_result) {
|
||||
++walk_result;
|
||||
}
|
||||
strcpy(walk_result, *walk_pieces++);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
*result = 0;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
33
check_interfaces/check_interfaces-1.4/utils.h
Normal file
33
check_interfaces/check_interfaces-1.4/utils.h
Normal file
|
@ -0,0 +1,33 @@
|
|||
|
||||
/* asprintf */
|
||||
#ifndef _GNU_SOURCE
|
||||
#define _GNU_SOURCE
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#ifdef HAVE_POW
|
||||
#include <math.h>
|
||||
#endif
|
||||
|
||||
#ifndef U64
|
||||
#define U64
|
||||
typedef unsigned long long u64;
|
||||
#endif
|
||||
|
||||
struct stringStruct {
|
||||
size_t max;
|
||||
size_t len;
|
||||
char * text; /* pointer to an allocation of max + 1 */
|
||||
};
|
||||
|
||||
typedef struct stringStruct String;
|
||||
|
||||
int addstrold(char **, size_t *, const char *, ...);
|
||||
int addstr(String *, const char *, ...);
|
||||
void strcpy_nospaces(char *, char *);
|
||||
int gauge_to_si(u64, char **);
|
||||
void benchmark_start(char const *, ...);
|
||||
void benchmark_end(void);
|
||||
char *implode(char const *, char **);
|
5
check_interfaces/control
Normal file
5
check_interfaces/control
Normal file
|
@ -0,0 +1,5 @@
|
|||
Homepage: https://github.com/NETWAYS/check_interfaces
|
||||
Uploaders: Jan Wagner <waja@cyconet.org>
|
||||
Description: This plugin uses the bulk-get mode of SNMPv2 by default
|
||||
Build-Depends: autotools-dev, libsnmp-dev
|
||||
Version: 1.4
|
19
check_interfaces/copyright
Normal file
19
check_interfaces/copyright
Normal file
|
@ -0,0 +1,19 @@
|
|||
AUTHOR: NETWAYS GmbH, William Preston <support@netways.de>
|
||||
License: GPL v2
|
||||
|
||||
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.
|
||||
|
||||
On Debian systems, the complete text of the GNU General
|
||||
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
|
1
check_interfaces/src
Symbolic link
1
check_interfaces/src
Symbolic link
|
@ -0,0 +1 @@
|
|||
check_interfaces-1.4/
|
194
check_ipsec/check_ipsec
Normal file
194
check_ipsec/check_ipsec
Normal file
|
@ -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 <n>
|
||||
#
|
||||
# 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 <number of configured 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 <number of configured tunnels>"
|
||||
echo " -T <number of configured tunnels>"
|
||||
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
|
||||
|
6
check_ipsec/control
Normal file
6
check_ipsec/control
Normal file
|
@ -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 <waja@cyconet.org>
|
||||
Description: plugin checking ipsec connections from open- or stongswan
|
|
@ -1,6 +1,6 @@
|
|||
Copyright (c) Claudio Kuenzler <ck@claudiokuenzler.com>
|
||||
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".
|
|
@ -1,254 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Monitoring plugin to check the keepalived status
|
||||
usage(){
|
||||
echo "Check: Is the keepalived service operate as it should.
|
||||
--status | -s <state> ) Target state of the system (MASTER, BACKUP)
|
||||
--interface | -i <interface> ) Interface for vrrp instance
|
||||
--ha-ip | -ip <ip> ) Vrrp-ip
|
||||
--interface2 | -i2 <interface> ) Interface for 2nd vrrp instance
|
||||
--ha-ip2 | -ip2 <ip> ) 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='/tmp/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
|
||||
echo "CRITICAL: Generated status file is missing. State could not be determined."
|
||||
exit "${CRITICAL}"
|
||||
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
|
|
@ -1,4 +0,0 @@
|
|||
Uploaders: Jan Wagner <waja@cyconet.org>
|
||||
Description: plugin checking keepalived status
|
||||
Recommends: procps
|
||||
Version: 0.0.1
|
|
@ -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".
|
||||
|
|
@ -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('--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:
|
||||
|
@ -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,14 +139,7 @@ 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')
|
||||
|
||||
|
@ -186,8 +148,16 @@ if options.check == 'system':
|
|||
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,7 +224,7 @@ 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':
|
||||
|
@ -277,21 +242,3 @@ if options.check == 'uploadFilesize':
|
|||
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')
|
||||
|
||||
xml_apps_num_updates_available = int(xml_apps.find('num_updates_available').text)
|
||||
|
||||
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)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Uploaders: Jan Wagner <waja@cyconet.org>
|
||||
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 <a class="commit-tease-sha"[^>]*>\s+([0-9a-f]+)\s+</a>
|
||||
Description: Plugin script to monitor your nextcloud serverinfo API
|
||||
|
|
|
@ -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',
|
||||
},
|
||||
};
|
|
@ -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'} = {
|
||||
};
|
|
@ -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'} = {
|
||||
};
|
|
@ -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'} = {
|
||||
};
|
|
@ -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'} = {
|
||||
};
|
|
@ -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'} = {
|
||||
};
|
|
@ -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',
|
||||
},
|
||||
};
|
|
@ -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',
|
||||
}
|
||||
};
|
|
@ -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',
|
||||
},
|
||||
};
|
|
@ -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',
|
||||
},
|
||||
};
|
|
@ -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',
|
||||
},
|
||||
};
|
|
@ -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',
|
||||
},
|
||||
};
|
|
@ -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',
|
||||
},
|
||||
};
|
|
@ -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',
|
||||
},
|
||||
};
|
||||
|
|
@ -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',
|
||||
},
|
||||
};
|
||||
|
|
@ -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',
|
||||
},
|
||||
};
|
File diff suppressed because it is too large
Load diff
|
@ -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'} = {
|
||||
};
|
||||
|
|
@ -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',
|
||||
},
|
||||
};
|
|
@ -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'} = {
|
||||
};
|
||||
|
|
@ -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'} = {
|
||||
};
|
|
@ -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'} = {
|
||||
};
|
||||
|
|
@ -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'} = {
|
||||
};
|
||||
|
|
@ -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;
|
|
@ -1,12 +0,0 @@
|
|||
package Classes::Arista::Component::DiskSubsystem;
|
||||
our @ISA = qw(Classes::HOSTRESOURCESMIB::Component::DiskSubsystem);
|
||||
use strict;
|
||||
|
||||
sub init {
|
||||
my ($self) = @_;
|
||||
$self->get_snmp_tables('HOST-RESOURCES-MIB', [
|
||||
['storages', 'hrStorageTable', 'Classes::HOSTRESOURCESMIB::Component::DiskSubsystem::Storage', sub { my $o = shift; return ($o->{hrStorageDescr} =~ /^(Log|Core)$/ or $o->{hrStorageType} eq 'hrStorageFixedDisk') } ],
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
@ -1,110 +0,0 @@
|
|||
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();
|
||||
$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 Classes::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).
|
|
@ -1,18 +0,0 @@
|
|||
package Classes::Bluecat;
|
||||
our @ISA = qw(Classes::Device);
|
||||
use strict;
|
||||
|
||||
sub init {
|
||||
my ($self) = @_;
|
||||
if ($self->{productname} =~ /Bluecat Address Manager/) {
|
||||
$self->rebless('Classes::Bluecat::AddressManager');
|
||||
} elsif ($self->{productname} =~ /Bluecat DNS\/DHCP Server/) {
|
||||
$self->rebless('Classes::Bluecat::DnsDhcpServer');
|
||||
}
|
||||
if (ref($self) ne "Classes::Bluecat") {
|
||||
$self->init();
|
||||
} else {
|
||||
$self->no_such_mode();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
package Classes::Bluecat::AddressManager;
|
||||
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");
|
||||
} 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");
|
||||
$self->analyze_and_check_jvm_subsystem("Classes::Bluecat::AddressManager::Component::MemSubsystem");
|
||||
} elsif ($self->mode =~ /device::ha::/) {
|
||||
$self->analyze_and_check_ha_subsystem("Classes::Bluecat::AddressManager::Component::HaSubsystem");
|
||||
} elsif ($self->mode =~ /device::mngmt::/) {
|
||||
$self->analyze_and_check_mgmt_subsystem("Classes::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;
|
||||
}
|
||||
|
|
@ -1,132 +0,0 @@
|
|||
package Classes::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", 'Classes::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 Classes::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}
|
||||
);
|
||||
}
|
||||
|
||||
__END__
|
||||
sdeb-bam-p03.sys.schwarz
|
||||
root@sdeb-bam-p03:~# snmpwalk -v2c -c "communitypw" 10.201.135.240 .1.3.6.1.4.1.13315.100.210.1.8.2
|
||||
BAM-SNMP-MIB::replicationNodeStatus.0 = INTEGER: primary(1)
|
||||
-> hier soll nur das Ergebnis angezeigt werden
|
||||
|
||||
root@sdeb-bam-p03:~# snmpwalk -v2c -c "communitypw" 10.201.135.240 .1.3.6.1.4.1.13315.100.210.1.1.1
|
||||
BAM-SNMP-MIB::version.0 = STRING: 9.0.0
|
||||
-> hier soll nur das Ergebnis angezeigt werden
|
||||
|
||||
#root@sdeb-bam-p03:~# snmpwalk -v2c -c "communitypw" 10.201.135.240 .1.3.6.1.4.1.13315.100.210.1.1.2
|
||||
#BAM-SNMP-MIB::startTime.0 = STRING: 2020-5-16,2:4:43.216
|
||||
# uptime -> hier soll nur das Ergebnis angezeigt werden
|
||||
|
||||
root@sdeb-bam-p03:~# snmpwalk -v2c -c "communitypw" 10.201.135.240 .1.3.6.1.4.1.13315.100.210.1.8.8.1.4.10.201.135.240
|
||||
BAM-SNMP-MIB::replicationHealth.10.201.135.240 = INTEGER: Replicating(2)
|
||||
-> bei Ausgabe 0 und 1 soll Nagios alarm schlagen, 2 bedeutet alles iO
|
||||
|
||||
root@sdeb-bam-p03:~# snmpwalk -v2c -c "communitypw" 10.201.135.240 .1.3.6.1.4.1.13315.100.210.1.10.1.0
|
||||
BAM-SNMP-MIB::lastSuccessfulBackupTime.0 = STRING: 2020-11-11,3:10:35.0
|
||||
-> hier soll nur das Ergebnis angezeigt werden
|
||||
|
||||
|
||||
KCZ_DDI
|
||||
root@b0ac987f7n:~# snmpwalk -v2c -c "communitypw" 127.0.0.1 .1.3.6.1.4.1.13315.3.1.1.2.1.1
|
||||
BCN-DHCPV4-MIB::bcnDhcpv4SerOperState.0 = INTEGER: running(1)
|
||||
1Running ist alles iO, bei 2,3,4,5 soll Nagios alarm schlagen
|
||||
|
||||
root@b0ac987f7n:~# snmpwalk -v2c -c "communitypw" 127.0.0.1 .1.3.6.1.4.1.13315.3.1.2.2.1.1
|
||||
BCN-DNS-MIB::bcnDnsSerOperState.0 = INTEGER: running(1)
|
||||
1Running ist alles iO, bei 2,3,4,5 soll Nagios alarm schlagen
|
||||
|
||||
Hallo Gerhard,
|
||||
für Bluecat devices brauchen wir einen ha-status in check_nwc_health.
|
||||
Die MIBs hängen schon am Ticket dran.
|
||||
|
||||
Wichtige informationen wären:
|
||||
- BAM-SNMP-MIB::replicationNodeStatus.0
|
||||
- BAM-SNMP-MIB::startTime.0
|
||||
- BAM-SNMP-MIB::replicationHealth.10.201.135.240
|
||||
- BAM-SNMP-MIB::lastSuccessfulBackupTime.0
|
||||
|
||||
/omd/sites/mon/local/lib/monitoring-plugins/mon/mon_check_snmp -H 10.201.135.240 -P 2c -o .1.3.6.1.4.1.13315.100.210.1.10.1.0 backup
|
||||
|
||||
/omd/sites/mon/local/lib/monitoring-plugins/mon/mon_check_snmp -H 10.201.135.240 -P 2c -o .1.3.6.1.4.1.13315.100.210.1.8.8.1.4.10.201.135.240 -C "***" -w 2:2 -c 2:2 replication 240 replicationHealth
|
||||
|
||||
/omd/sites/mon/local/lib/monitoring-plugins/mon/mon_check_snmp -H 10.201.135.240 -P 2c -o .1.3.6.1.4.1.13315.100.210.1.8.2.0 -C "***" -w 1:1 -c 1:1 replicatiuon node replicationNodeStatus
|
||||
/omd/sites/mon/local/lib/monitoring-plugins/mon/mon_check_snmp -H 10.201.135.240 -P 2c -o .1.3.6.1.4.1.13315.100.210.1.1.2.0 -C "***" -s OK
|
||||
start time
|
||||
|
||||
/omd/sites/mon/local/lib/monitoring-plugins/mon/mon_check_snmp -H 10.201.135.240 -P 2c -o .1.3.6.1.4.1.13315.100.210.1.1.1.0 -C "***" -s OK
|
||||
version
|
||||
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
package Classes::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 => '%',
|
||||
);
|
||||
}
|
||||
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
package Classes::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}));
|
||||
}
|
|
@ -1,27 +0,0 @@
|
|||
package Classes::Bluecat::DnsDhcpServer;
|
||||
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");
|
||||
} 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::ha::/) {
|
||||
$self->analyze_and_check_ha_subsystem("Classes::Bluecat::DnsDhcpServer::Component::HaSubsystem");
|
||||
} elsif ($self->mode =~ /device::process::/) {
|
||||
$self->analyze_and_check_process_subsystem("Classes::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;
|
||||
}
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
package Classes::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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
package Classes::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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,37 +0,0 @@
|
|||
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%%',
|
||||
$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 => '%',
|
||||
);
|
||||
}
|
||||
|
|
@ -1,65 +0,0 @@
|
|||
package Classes::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', 'Classes::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 Classes::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.
|
|
@ -1,139 +0,0 @@
|
|||
package Classes::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', 'Classes::Cisco::CISCOPROCESSMIB::Component::MemSubsystem::Mem', sub { my $o = shift; return exists $o->{cpmCPUMemoryUsed} ? 1 : 0 } ],
|
||||
]);
|
||||
}
|
||||
|
||||
package Classes::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.
|
|
@ -1,331 +0,0 @@
|
|||
package Classes::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', 'Classes::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 Classes::Cisco::CISCORTTMONMIB::Component::RttSubsystem::LatestJitter;
|
||||
our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem);
|
||||
|
||||
sub finish {
|
||||
my ($self) = @_;
|
||||
}
|
||||
|
||||
sub check {
|
||||
my ($self) = @_;
|
||||
}
|
||||
|
||||
|
||||
package Classes::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},
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,150 +0,0 @@
|
|||
package Classes::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', 'Classes::Cisco::CISCOSMARTLICMIB::Component::KeySubsystem::Entitlement'],
|
||||
['keys', 'ciscoSlaRegistrationStatusInfoTable', 'Classes::Cisco::CISCOSMARTLICMIB::Component::KeySubsystem::RegStatusInfo', sub { shift->{valid} }],
|
||||
['keys', 'ciscoSlaAuthorizationInfoTable', 'Classes::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 Classes::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 Classes::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 Classes::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});
|
||||
}
|
||||
}
|
||||
|
|
@ -1,42 +0,0 @@
|
|||
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");
|
||||
}
|
||||
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', 'Classes::Cisco::CISCOSTACKWISEMIB::Component::StackSubsystem::Switch', undef, ["cswSwitchNumCurrent"]],
|
||||
]);
|
||||
if (scalar(@{$self->{switches}}) > 1) {
|
||||
$self->analyze_and_check_mem_subsystem("Classes::Cisco::CISCOPROCESSMIB::Component::MemSubsystem");
|
||||
}
|
||||
delete $self->{switches};
|
||||
}
|
||||
}
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
package Classes::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},
|
||||
);
|
||||
}
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
package Classes::HP::Aruba;
|
||||
our @ISA = qw(Classes::HP);
|
||||
use strict;
|
||||
|
||||
sub init {
|
||||
my ($self) = @_;
|
||||
if ($self->mode =~ /device::hardware::health/) {
|
||||
$self->analyze_and_check_environmental_subsystem("Classes::HP::Aruba::Component::EnvironmentalSubsystem");
|
||||
if ($self->implements_mib("iiENTITY-SENSOR-MIB")) {
|
||||
$self->analyze_and_check_environmental_subsystem("Classes::ENTITYSENSORMIB::Component::EnvironmentalSubsystem");
|
||||
}
|
||||
$self->analyze_and_check_disk_subsystem("Classes::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("Classes::HP::Aruba::Component::CpuSubsystem");
|
||||
} else {
|
||||
$self->analyze_and_check_cpu_subsystem("Classes::HOSTRESOURCESMIB::Component::CpuSubsystem");
|
||||
}
|
||||
} elsif ($self->mode =~ /device::hardware::memory/) {
|
||||
if ($self->implements_mib("ARUBAWIRED-VSF-MIB")) {
|
||||
$self->analyze_and_check_cpu_subsystem("Classes::HP::Aruba::Component::CpuSubsystem");
|
||||
} else {
|
||||
$self->analyze_and_check_mem_subsystem("Classes::HOSTRESOURCESMIB::Component::MemSubsystem");
|
||||
}
|
||||
} else {
|
||||
$self->no_such_mode();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,40 +0,0 @@
|
|||
package Classes::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', 'Classes::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 Classes::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 => '%',
|
||||
);
|
||||
}
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
package Classes::HP::Aruba::Component::EnvironmentalSubsystem;
|
||||
our @ISA = qw(Monitoring::GLPlugin::SNMP::Item);
|
||||
use strict;
|
||||
|
||||
sub init {
|
||||
my ($self) = @_;
|
||||
$self->{powersupply_subsystem} =
|
||||
Classes::HP::Aruba::Component::PowersupplySubsystem->new();
|
||||
$self->{fan_subsystem} =
|
||||
Classes::HP::Aruba::Component::FanSubsystem->new();
|
||||
$self->{temperature_subsystem} =
|
||||
Classes::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();
|
||||
}
|
||||
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
package Classes::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', 'Classes::HP::Aruba::Component::FanSubsystem::Fan'],
|
||||
]);
|
||||
}
|
||||
|
||||
package Classes::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},
|
||||
);
|
||||
}
|
|
@ -1,42 +0,0 @@
|
|||
package Classes::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', 'Classes::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 Classes::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 => '%',
|
||||
);
|
||||
}
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
package Classes::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', 'Classes::HP::Aruba::Component::PowersupplySubsystem::Powersupply'],
|
||||
]);
|
||||
$self->get_snmp_tables('ENTITY-MIBx', [
|
||||
['powersupplies2', 'entPhysicalTable', 'Monitoring::GLPlugin::SNMP::TableItem'],
|
||||
]);
|
||||
}
|
||||
|
||||
package Classes::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}
|
||||
);
|
||||
}
|
|
@ -1,41 +0,0 @@
|
|||
package Classes::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', 'Classes::HP::Aruba::Component::TemperatureSubsystem::Tempsensor'],
|
||||
]);
|
||||
}
|
||||
|
||||
package Classes::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},
|
||||
);
|
||||
}
|
|
@ -1,318 +0,0 @@
|
|||
package Classes::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', 'Classes::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;
|
||||
}
|
||||
}],
|
||||
['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 Classes::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} = $Classes::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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
package Classes::PulseSecure::Gateway;
|
||||
our @ISA = qw(Classes::Juniper);
|
||||
use strict;
|
||||
|
||||
sub init {
|
||||
my ($self) = @_;
|
||||
# irgendwo ausgegraben, nicht offiziell dokumentiert
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'PULSESECURE-PSG-MIB'}->{'maxLicensedUsers'} = '1.3.6.1.4.1.12532.55';
|
||||
if ($self->mode =~ /device::hardware::health/) {
|
||||
$self->analyze_and_check_environmental_subsystem("Classes::PulseSecure::Gateway::Component::EnvironmentalSubsystem");
|
||||
} elsif ($self->mode =~ /device::hardware::load/) {
|
||||
$self->analyze_and_check_cpu_subsystem("Classes::PulseSecure::Gateway::Component::CpuSubsystem");
|
||||
} elsif ($self->mode =~ /device::hardware::memory/) {
|
||||
$self->analyze_and_check_mem_subsystem("Classes::PulseSecure::Gateway::Component::MemSubsystem");
|
||||
} elsif ($self->mode =~ /device::users/) {
|
||||
$self->analyze_and_check_user_subsystem("Classes::PulseSecure::Gateway::Component::UserSubsystem");
|
||||
} else {
|
||||
$self->no_such_mode();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
package Classes::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 => '%',
|
||||
);
|
||||
}
|
||||
|
|
@ -1,40 +0,0 @@
|
|||
package Classes::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 => '%',
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,40 +0,0 @@
|
|||
package Classes::PulseSecure::Gateway::Component::EnvironmentalSubsystem;
|
||||
our @ISA = qw(Monitoring::GLPlugin::SNMP::Item);
|
||||
use strict;
|
||||
|
||||
sub init {
|
||||
my ($self) = @_;
|
||||
$self->{disk_subsystem} =
|
||||
Classes::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();
|
||||
}
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
package Classes::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 => '%',
|
||||
);
|
||||
}
|
||||
|
|
@ -1,114 +0,0 @@
|
|||
package Classes::PulseSecure::Gateway::Component::UserSubsystem;
|
||||
our @ISA = qw(Monitoring::GLPlugin::SNMP::Item);
|
||||
use strict;
|
||||
|
||||
sub init {
|
||||
my ($self) = @_;
|
||||
# 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"
|
|
@ -1,46 +0,0 @@
|
|||
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) = @_;
|
||||
if ($self->implements_mib("LM-SENSORS-MIB")) {
|
||||
$self->{fan_subsystem} =
|
||||
Classes::LMSENSORSMIB::Component::FanSubsystem->new();
|
||||
$self->{temperature_subsystem} =
|
||||
Classes::LMSENSORSMIB::Component::TemperatureSubsystem->new();
|
||||
}
|
||||
$self->{env_subsystem} =
|
||||
Classes::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;
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue