check_nwc_health: Update to 5.10.0.2

This commit is contained in:
Jan Wagner 2016-12-24 00:35:39 +01:00
parent f5da8826e2
commit 7b229a851b
377 changed files with 2472 additions and 201 deletions

View file

@ -1,3 +1,24 @@
* 2016-11-23 5.10.0.2
reverse usage/free in hostresourcemib memory-usage, so the same thresholds can be use for every kind of device
* 2016-11-09 5.10.0.1
fix nexus sensor perfdata, metrics without thresh. were not shown (Thanks Dennis Knecht)
* 2016-10-29 5.10
add smart-home-device-temperature, add Comet DECT
* 2016-10-19 5.9.0.1
fix memory-usage for Catalyst L3 (which have empty CISCO-ENHANCED-MEMPOOL-MIB)
* 2016-10-10 5.9
add arista
add cisco small business
* 2016-09-30 5.8.1
add mode count-accesspoint-clients for cisco wlc
* 2016-09-20 5.8.0.2
don't use | in interface-availability ascii output for notifications
* 2016-09-19 5.8.0.1
fix pull request #107 (this was the last pull request i will accept for this plugin. sorry, if you are not able to test your contributions, go away)
* 2016-09-19 5.8
update ucd-diskio, cumulus
* 2016-08-12 5.7.1.4
update GLPlugin/Extraopts
* 2016-07-07 5.7.1.3
remove trailing Nul from Bintec memories
* 2016-07-07 5.7.1.2

View file

@ -13,7 +13,7 @@ use Digest::MD5 qw(md5_hex);
use Errno;
use Data::Dumper;
our $AUTOLOAD;
*VERSION = \'2.1.3';
*VERSION = \'2.3.6';
use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 };
@ -26,6 +26,7 @@ use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 };
our $extendedinfo = [];
our $summary = [];
our $variables = {};
our $survive_sudo_env = ["LD_LIBRARY_PATH", "SHLIB_PATH"];
}
sub new {
@ -130,6 +131,12 @@ sub add_default_args {
The tertiary name of a component",
required => 0,
);
$self->add_arg(
spec => 'extra-opts=s',
help => "--extra-opts
read command line arguments from an external file",
required => 0,
);
$self->add_arg(
spec => 'blacklist|b=s',
help => '--blacklist
@ -223,7 +230,20 @@ sub add_default_args {
spec => 'reset',
help => "--reset
remove the state file",
aliasfor => "name",
required => 0,
hidden => 1,
);
$self->add_arg(
spec => 'runas=s',
help => "--runas
run as a different user",
required => 0,
hidden => 1,
);
$self->add_arg(
spec => 'shell',
help => "--shell
forget what you see",
required => 0,
hidden => 1,
);
@ -752,6 +772,8 @@ sub opts { # die beiden _nicht_ in AUTOLOAD schieben, das kracht!
sub getopts {
my ($self, $envparams) = @_;
$envparams ||= [];
my $needs_restart = 0;
my @restart_opts = ();
$Monitoring::GLPlugin::plugin->getopts();
# es kann sein, dass beim aufraeumen zum schluss als erstes objekt
# das $Monitoring::GLPlugin::plugin geloescht wird. in anderen destruktoren
@ -772,8 +794,83 @@ sub getopts {
exit 3;
}
}
if ($self->opts->environment) {
# wenn die gewuenschten Environmentvariablen sich von den derzeit
# gesetzten unterscheiden, dann restart. Denn $ENV aendert
# _nicht_ das Environment des laufenden Prozesses.
# $ENV{ZEUGS} = 1 bedeutet lediglich, dass $ENV{ZEUGS} bei weiterer
# Verwendung 1 ist, bedeutet aber _nicht_, dass diese Variable
# im Environment des laufenden Prozesses existiert.
foreach (keys %{$self->opts->environment}) {
if ((! $ENV{$_}) || ($ENV{$_} ne $self->opts->environment->{$_})) {
$needs_restart = 1;
$ENV{$_} = $self->opts->environment->{$_};
$self->debug(sprintf "new %s=%s forces restart\n", $_, $ENV{$_});
}
}
}
if ($self->opts->runas) {
# exec sudo $0 ... und dann ohne --runas
$needs_restart = 1;
# wenn wir environmentvariablen haben, die laut survive_sudo_env als
# wichtig erachtet werden, dann muessen wir die ueber einen moeglichen
# sudo-aufruf rueberretten, also in zusaetzliche --environment umwandenln.
# sudo putzt das Environment naemlich aus.
foreach my $survive_env (@{$Monitoring::GLPlugin::survive_sudo_env}) {
if ($ENV{$survive_env} && ! scalar(grep { /^$survive_env=/ }
keys %{$self->opts->environment})) {
$self->opts->environment->{$survive_env} = $ENV{$survive_env};
printf STDERR "add important --environment %s=%s\n",
$survive_env, $ENV{$survive_env} if $self->opts->verbose >= 2;
push(@restart_opts, '--environment');
push(@restart_opts, sprintf '%s=%s',
$survive_env, $ENV{$survive_env});
}
}
}
if ($needs_restart) {
foreach my $option (keys %{$self->opts->all_my_opts}) {
# der fliegt raus, sonst gehts gleich wieder in needs_restart rein
next if $option eq "runas";
foreach my $spec (map { $_->{spec} } @{$Monitoring::GLPlugin::plugin->opts->{_args}}) {
if ($spec =~ /^(\w+)=(.*)/) {
if ($1 eq $option && $2 =~ /s%/) {
foreach (keys %{$self->opts->$option()}) {
push(@restart_opts, sprintf "--%s", $option);
push(@restart_opts, sprintf "%s=%s", $_, $self->opts->$option()->{$_});
}
} elsif ($1 eq $option) {
push(@restart_opts, sprintf "--%s", $option);
push(@restart_opts, sprintf "%s", $self->opts->$option());
}
} elsif ($spec eq $option) {
push(@restart_opts, sprintf "--%s", $option);
}
}
}
if ($self->opts->runas && ($> == 0)) {
# Ja, es gibt so Narrische, die gehen mit check_by_ssh als root
# auf Datenbankmaschinen drauf und lassen dann dort check_oracle_health
# laufen. Damit OPS$-Anmeldung dann funktioniert, wird mit --runas
# auf eine andere Kennung umgeschwenkt. Diese Kennung gleich fuer
# ssh zu verwenden geht aus Sicherheitsgruenden nicht. Narrische halt.
exec "su", "-c", sprintf("%s %s", $0, join(" ", @restart_opts)), "-", $self->opts->runas;
} elsif ($self->opts->runas) {
exec "sudo", "-S", "-u", $self->opts->runas, $0, @restart_opts;
} else {
exec $0, @restart_opts;
# dadurch werden SHLIB oder LD_LIBRARY_PATH sauber gesetzt, damit beim
# erneuten Start libclntsh.so etc. gefunden werden.
}
exit;
}
if ($self->opts->shell) {
# So komme ich bei den Narrischen zu einer root-Shell.
system("/bin/sh");
}
}
sub add_ok {
my ($self, $message) = @_;
$message ||= $self->{info};
@ -1101,12 +1198,13 @@ sub valdiff {
if ($date >= ($now - $self->opts->lookback)) {
$last_values->{$_} = $last_values->{lookback_history}->{$_}->{$date};
$last_values->{timestamp} = $date;
$self->{'delta_timestamp'} = $now - $last_values->{timestamp};
if (ref($last_values->{$_}) eq "ARRAY") {
$self->debug(sprintf "oldest value of %s within lookback is size %s (age %d)",
$_, scalar(@{$last_values->{$_}}), time - $date);
$_, scalar(@{$last_values->{$_}}), $now - $date);
} else {
$self->debug(sprintf "oldest value of %s within lookback is %s (age %d)",
$_, $last_values->{$_}, time - $date);
$_, $last_values->{$_}, $now - $date);
}
last;
} else {

View file

@ -0,0 +1,104 @@
package Monitoring::GLPlugin::Commandline::Extraopts;
use strict;
use File::Basename;
use strict;
sub new {
my $class = shift;
my %params = @_;
my $self = {
file => $params{file},
commandline => $params{commandline},
config => {},
section => 'default_no_section',
};
bless $self, $class;
$self->prepare_file_and_section();
$self->init();
return $self;
}
sub prepare_file_and_section {
my $self = shift;
if (! defined $self->{file}) {
# ./check_stuff --extra-opts
$self->{section} = basename($0);
$self->{file} = $self->get_default_file();
} elsif ($self->{file} =~ /^[^@]+$/) {
# ./check_stuff --extra-opts=special_opts
$self->{section} = $self->{file};
$self->{file} = $self->get_default_file();
} elsif ($self->{file} =~ /^@(.*)/) {
# ./check_stuff --extra-opts=@/etc/myconfig.ini
$self->{section} = basename($0);
$self->{file} = $1;
} elsif ($self->{file} =~ /^(.*?)@(.*)/) {
# ./check_stuff --extra-opts=special_opts@/etc/myconfig.ini
$self->{section} = $1;
$self->{file} = $2;
}
}
sub get_default_file {
my $self = shift;
foreach my $default (qw(/etc/nagios/plugins.ini
/usr/local/nagios/etc/plugins.ini
/usr/local/etc/nagios/plugins.ini
/etc/opt/nagios/plugins.ini
/etc/nagios-plugins.ini
/usr/local/etc/nagios-plugins.ini
/etc/opt/nagios-plugins.ini)) {
if (-f $default) {
return $default;
}
}
return undef;
}
sub init {
my $self = shift;
if (! defined $self->{file}) {
$self->{errors} = sprintf 'no extra-opts file specified and no default file found';
} elsif (! -f $self->{file}) {
$self->{errors} = sprintf 'could not open %s', $self->{file};
} else {
my $data = do { local (@ARGV, $/) = $self->{file}; <> };
my $in_section = 'default_no_section';
foreach my $line (split(/\n/, $data)) {
if ($line =~ /\[(.*)\]/) {
$in_section = $1;
} elsif ($line =~ /(.*?)\s*=\s*(.*)/) {
$self->{config}->{$in_section}->{$1} = $2;
}
}
}
}
sub is_valid {
my $self = shift;
return ! exists $self->{errors};
}
sub overwrite {
my $self = shift;
if (scalar(keys %{$self->{config}->{default_no_section}}) > 0) {
foreach (keys %{$self->{config}->{default_no_section}}) {
$self->{commandline}->{$_} = $self->{config}->{default_no_section}->{$_};
}
}
if (exists $self->{config}->{$self->{section}}) {
foreach (keys %{$self->{config}->{$self->{section}}}) {
$self->{commandline}->{$_} = $self->{config}->{$self->{section}}->{$_};
}
}
}
sub errors {
my $self = shift;
return $self->{errors} || "";
}
1;
__END__

View file

@ -76,6 +76,8 @@ sub _init {
sub new {
my ($class, @params) = @_;
require Monitoring::GLPlugin::Commandline::Extraopts
if ! grep /BEGIN/, keys %Monitoring::GLPlugin::Commandline::Extraopts::;
my $self = bless {}, $class;
$self->_init(@params);
}
@ -98,13 +100,27 @@ sub mod_arg {
sub getopts {
my ($self) = @_;
my %commandline = ();
$self->{opts}->{all_my_opts} = {};
my @params = map { $_->{spec} } @{$self->{_args}};
if (! GetOptions(\%commandline, @params)) {
$self->print_help();
exit 0;
exit 3;
} else {
no strict 'refs';
no warnings 'redefine';
if (exists $commandline{'extra-opts'}) {
# read the extra file and overwrite other parameters
my $extras = Monitoring::GLPlugin::Commandline::Extraopts->new(
file => $commandline{'extra-opts'},
commandline => \%commandline
);
if (! $extras->is_valid()) {
printf "UNKNOWN - extra-opts are not valid: %s\n", $extras->errors();
exit 3;
} else {
$extras->overwrite();
}
}
do { $self->print_help(); exit 0; } if $commandline{help};
do { $self->print_version(); exit 0 } if $commandline{version};
do { $self->print_usage(); exit 3 } if $commandline{usage};
@ -114,9 +130,12 @@ sub getopts {
return $self->{opts}->{$field};
};
}
*{"all_my_opts"} = sub {
return $self->{opts}->{all_my_opts};
};
foreach (map { $_->{spec} =~ /^([\w\-]+)/; $1; }
grep { exists $_->{required} && $_->{required} } @{$self->{_args}}) {
do { $self->print_usage(); exit 0 } if ! exists $commandline{$_};
do { $self->print_usage(); exit 3 } if ! exists $commandline{$_};
}
foreach (grep { exists $_->{default} } @{$self->{_args}}) {
$_->{spec} =~ /^([\w\-]+)/;
@ -125,6 +144,7 @@ sub getopts {
}
foreach (keys %commandline) {
$self->{opts}->{$_} = $commandline{$_};
$self->{opts}->{all_my_opts}->{$_} = $commandline{$_};
}
foreach (grep { exists $_->{env} } @{$self->{_args}}) {
$_->{spec} =~ /^([\w\-]+)/;
@ -177,7 +197,6 @@ sub print_help {
} @{$self->{_args}}) {
printf " %s\n", $_->{help};
}
exit 0;
}
sub print_usage {

View file

@ -85,6 +85,13 @@ sub add_snmp_modes {
alias => undef,
help => 'Show snmpwalk command with the oids necessary for a simulation',
);
$self->add_mode(
internal => 'device::walkbulk',
spec => 'bulkwalk',
alias => undef,
help => 'Show snmpbulkwalk command with the oids necessary for a simulation',
hidden => 1,
);
$self->add_mode(
internal => 'device::supportedmibs',
spec => 'supportedmibs',
@ -213,7 +220,7 @@ sub add_snmp_args {
sub validate_args {
my ($self) = @_;
$self->SUPER::validate_args();
if ($self->opts->mode eq 'walk') {
if ($self->opts->mode =~ /^walk/) {
if ($self->opts->snmpwalk && $self->opts->hostname) {
if ($self->check_messages == CRITICAL) {
# gemecker vom super-validierer, der sicherstellt, dass die datei
@ -291,7 +298,8 @@ sub init {
while (! $timedout && @trees) {
my $tree = shift @trees;
$SIG{CHLD} = 'IGNORE';
my $cmd = sprintf "snmpwalk -ObentU -v%s -c %s %s %s >> %s",
my $cmd = sprintf "%s -ObentU -v%s -c %s %s %s >> %s",
($self->mode =~ /bulk/) ? "snmpbulkwalk" : "snmpwalk",
$self->opts->protocol,
$self->opts->community,
$self->opts->hostname,
@ -315,7 +323,8 @@ sub init {
} else {
printf "rm -f %s\n", $name;
foreach (@trees) {
printf "snmpwalk -ObentU -v%s -c %s %s %s >> %s\n",
printf "%s -ObentU -v%s -c %s %s %s >> %s\n",
($self->mode =~ /bulk/) ? "snmpbulkwalk -t 15 -r 20" : "snmpwalk",
$self->opts->protocol,
$self->opts->community,
$self->opts->hostname,
@ -463,7 +472,7 @@ sub init {
push(@{$mibdepot}, ['1.3.6.1.2.1.107', 'ietf', 'v2', 'HC-PerfHist-TC-MIB']);
push(@{$mibdepot}, ['1.3.6.1.2.1.16.20.5', 'ietf', 'v2', 'HC-RMON-MIB']);
push(@{$mibdepot}, ['1.3.6.1.2.1.25.1', 'ietf', 'v1', 'HOST-RESOURCES-MIB']);
push(@{$mibdepot}, ['1.3.6.1.2.1.25.7.1', 'ietf', 'v2', 'HOST-RESOURCES-MIB']);
push(@{$mibdepot}, ['1.3.6.1.2.1.25.1', 'ietf', 'v2', 'HOST-RESOURCES-MIB']);
push(@{$mibdepot}, ['1.3.6.1.2.1.34.6.1.5', 'ietf', 'v2', 'HPR-IP-MIB']);
push(@{$mibdepot}, ['1.3.6.1.2.1.34.6', 'ietf', 'v2', 'HPR-MIB']);
push(@{$mibdepot}, ['1.3.6.1.2.1.106', 'ietf', 'v2', 'IANA-CHARSET-MIB']);
@ -731,6 +740,7 @@ sub init {
push(@{$mibdepot}, ['1.3.6.1.2.1.129', 'ietf', 'v2', 'VPN-TC-STD-MIB']);
push(@{$mibdepot}, ['1.3.6.1.2.1.68', 'ietf', 'v2', 'VRRP-MIB']);
push(@{$mibdepot}, ['1.3.6.1.2.1.65', 'ietf', 'v2', 'WWW-MIB']);
push(@{$mibdepot}, ['1.3.6.1.4.1.8072', 'net-snmp', 'v2', 'NET-SNMP-MIB']);
my $oids = $self->get_entries_by_walk(-varbindlist => [
'1.3.6.1.2.1', '1.3.6.1.4.1',
]);
@ -1697,7 +1707,15 @@ sub get_request {
# und beim abschliessenden map wirds natuerlich nicht mehr gefunden
# also leeres return. <<kraftausdruck>>
foreach my $key (%{$result}) {
$self->add_rawdata($key, $result->{$key});
# so, und zwei jahre spaeter kommt man drauf, dass es viele sorten
# von stinkstiefeln gibt. die fragt man nach 1.3.6.1.4.1.13885.120.1.3.1
# und kriegt als antwort 1.3.6.1.4.1.13885.120.1.3.1.0=[noSuchInstance]
# bis zum 11.10.16 wurde das in den cache geschrieben. eine etage hoeher
# wird aber dann nach 1.3.6.1.4.1.13885.120.1.3.1.0 gefallbacked, was
# dann prompt aus dem cache gefischt wird, anstatt den agenten zu fragen,
# der in diesem fall eine saubere antwort liefern wuerde.
# ergo: keine fehlermeldungen in den chache
$self->add_rawdata($key, $result->{$key}) if defined $result->{$key} && $result->{$key} ne 'noSuchInstance';
}
}
my $result = {};

View file

@ -0,0 +1,29 @@
package Monitoring::GLPlugin::SNMP::MibsAndOids::ARISTAENTITYSENSORMIB;
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'ARISTA-ENTITY-SENSOR-MIB'} = {
url => '',
name => 'ARISTA-ENTITY-SENSOR-MIB',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'ARISTA-ENTITY-SENSOR-MIB'} =
'1.3.6.1.4.1.30065.3.12';
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'ARISTA-ENTITY-SENSOR-MIB'} = {
aristaEntSensorMIB => '1.3.6.1.4.1.30065.3.12',
aristaEntSensorMibNotifications => '1.3.6.1.4.1.30065.3.12.0',
aristaEntSensorMibObjects => '1.3.6.1.4.1.30065.3.12.1',
aristaEntSensorThresholdTable => '1.3.6.1.4.1.30065.3.12.1.1',
aristaEntSensorThresholdEntry => '1.3.6.1.4.1.30065.3.12.1.1.1',
aristaEntSensorThresholdLowWarning => '1.3.6.1.4.1.30065.3.12.1.1.1.1',
aristaEntSensorThresholdLowCritical => '1.3.6.1.4.1.30065.3.12.1.1.1.2',
aristaEntSensorThresholdHighWarning => '1.3.6.1.4.1.30065.3.12.1.1.1.3',
aristaEntSensorThresholdHighCritical => '1.3.6.1.4.1.30065.3.12.1.1.1.4',
aristaEntSensorStatusDescr => '1.3.6.1.4.1.30065.3.12.1.1.1.5',
aristaEntSensorMibConformance => '1.3.6.1.4.1.30065.3.12.2',
aristaEntSensorMibCompliances => '1.3.6.1.4.1.30065.3.12.2.1',
aristaEntSensorMibGroups => '1.3.6.1.4.1.30065.3.12.2.2',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'ARISTA-ENTITY-SENSOR-MIB'} = {
};

View file

@ -0,0 +1,68 @@
package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSBHWENVIROMENT;
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'CISCOSB-HWENVIROMENT'} = {
url => '',
name => 'CISCOSB-HWENVIROMENT',
};
#$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'CISCOSB-HWENVIROMENT'} =
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCOSB-HWENVIROMENT'} = {
rlEnv => '1.3.6.1.4.1.9.6.1.101.83',
rlEnvPhysicalDescription => '1.3.6.1.4.1.9.6.1.101.83.1',
rlEnvMonFanStatusTable => '1.3.6.1.4.1.9.6.1.101.83.1.1',
rlEnvMonFanStatusEntry => '1.3.6.1.4.1.9.6.1.101.83.1.1.1',
rlEnvMonFanStatusIndex => '1.3.6.1.4.1.9.6.1.101.83.1.1.1.1',
rlEnvMonFanStatusDescr => '1.3.6.1.4.1.9.6.1.101.83.1.1.1.2',
rlEnvMonFanState => '1.3.6.1.4.1.9.6.1.101.83.1.1.1.3',
rlEnvMonFanStateDefinition => 'CISCOSB-HWENVIROMENT::RlEnvMonState',
rlEnvMonSupplyStatusTable => '1.3.6.1.4.1.9.6.1.101.83.1.2',
rlEnvMonSupplyStatusEntry => '1.3.6.1.4.1.9.6.1.101.83.1.2.1',
rlEnvMonSupplyStatusIndex => '1.3.6.1.4.1.9.6.1.101.83.1.2.1.1',
rlEnvMonSupplyStatusDescr => '1.3.6.1.4.1.9.6.1.101.83.1.2.1.2',
rlEnvMonSupplyState => '1.3.6.1.4.1.9.6.1.101.83.1.2.1.3',
rlEnvMonSupplyStateDefinition => 'CISCOSB-HWENVIROMENT::RlEnvMonState',
rlEnvMonSupplySource => '1.3.6.1.4.1.9.6.1.101.83.1.2.1.4',
rlEnvMonSupplySourceDefinition => 'CISCOSB-HWENVIROMENT::rlEnvMonSupplySource',
rlEnvMonSupplyFanDirection => '1.3.6.1.4.1.9.6.1.101.83.1.2.1.5',
rlEnvMonSupplyFanDirectionDefinition => 'CISCOSB-HWENVIROMENT::RlEnvMonDirection',
rlEnvFanData => '1.3.6.1.4.1.9.6.1.101.83.5',
rlEnvFanDataTable => '1.3.6.1.4.1.9.6.1.101.83.5.1',
rlEnvFanDataEntry => '1.3.6.1.4.1.9.6.1.101.83.5.1.1',
rlEnvFanDataStackUnit => '1.3.6.1.4.1.9.6.1.101.83.5.1.1.1',
rlEnvFanDataTemp => '1.3.6.1.4.1.9.6.1.101.83.5.1.1.2',
rlEnvFanDataSpeed => '1.3.6.1.4.1.9.6.1.101.83.5.1.1.3',
rlEnvFanDataOperLevel => '1.3.6.1.4.1.9.6.1.101.83.5.1.1.4',
rlEnvFanDataAdminLevel => '1.3.6.1.4.1.9.6.1.101.83.5.1.1.5',
rlEnvFanDataDirection => '1.3.6.1.4.1.9.6.1.101.83.5.1.1.6',
rlEnvFanDataDirectionDefinition => 'CISCOSB-HWENVIROMENT::RlEnvMonDirection',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCOSB-HWENVIROMENT'} = {
rlEnvMonSupplySource => {
'1' => 'unknown',
'2' => 'ac',
'3' => 'dc',
'4' => 'externalPowerSupply',
'5' => 'internalRedundant',
},
RlEnvMonDirection => {
'1' => 'unKnown',
'2' => 'frontToBack',
'3' => 'backToFront',
'4' => 'clockwise',
'5' => 'unClockwise',
'6' => 'insideOut',
'7' => 'outsideIn',
'8' => 'rightToLeft',
'9' => 'leftToRight',
},
RlEnvMonState => {
'1' => 'normal',
'2' => 'warning',
'3' => 'critical',
'4' => 'shutdown',
'5' => 'notPresent',
'6' => 'notFunctioning',
},
};

View file

@ -0,0 +1,94 @@
package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSBRNDMNG;
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'CISCOSB-RNDMNG'} = {
url => '',
name => 'CISCOSB-RNDMNG',
};
#$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'CISCOSB-RNDMNG'} =
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCOSB-RNDMNG'} = {
rndMng => '1.3.6.1.4.1.9.6.1.101.1',
rndSysId => '1.3.6.1.4.1.9.6.1.101.1.1',
rndAction => '1.3.6.1.4.1.9.6.1.101.1.2',
rndActionDefinition => 'CISCOSB-rndMng::rndAction',
rndFileName => '1.3.6.1.4.1.9.6.1.101.1.3',
rlSnmpVersionSupported => '1.3.6.1.4.1.9.6.1.101.1.4',
rlSnmpMibVersion => '1.3.6.1.4.1.9.6.1.101.1.5',
rlCpuUtilEnable => '1.3.6.1.4.1.9.6.1.101.1.6',
rlCpuUtilDuringLastSecond => '1.3.6.1.4.1.9.6.1.101.1.7',
rlCpuUtilDuringLastMinute => '1.3.6.1.4.1.9.6.1.101.1.8',
rlCpuUtilDuringLast5Minutes => '1.3.6.1.4.1.9.6.1.101.1.9',
rlRebootDelay => '1.3.6.1.4.1.9.6.1.101.1.10',
rlGroupManagement => '1.3.6.1.4.1.9.6.1.101.1.11',
rlGroupMngQuery => '1.3.6.1.4.1.9.6.1.101.1.11.1',
rlGroupMngQueryDefinition => 'CISCOSB-rndMng::rlGroupMngQuery',
rlGroupMngQueryPeriod => '1.3.6.1.4.1.9.6.1.101.1.11.2',
rlGroupMngLastUpdate => '1.3.6.1.4.1.9.6.1.101.1.11.3',
rlGroupMngDevicesTable => '1.3.6.1.4.1.9.6.1.101.1.11.4',
rlGroupMngDeviceEntry => '1.3.6.1.4.1.9.6.1.101.1.11.4.1',
rlGroupMngDeviceIdType => '1.3.6.1.4.1.9.6.1.101.1.11.4.1.1',
rlGroupMngDeviceId => '1.3.6.1.4.1.9.6.1.101.1.11.4.1.2',
rlGroupMngSubdevice => '1.3.6.1.4.1.9.6.1.101.1.11.4.1.3',
rlGroupMngDeviceDescription => '1.3.6.1.4.1.9.6.1.101.1.11.4.1.4',
rlGroupMngGroupMngEnabled => '1.3.6.1.4.1.9.6.1.101.1.11.4.1.5',
rlGroupMngGroupLLDPDeviceId => '1.3.6.1.4.1.9.6.1.101.1.11.4.1.6',
rlGroupMngDeviceVendor => '1.3.6.1.4.1.9.6.1.101.1.11.4.1.7',
rlGroupMngDeviceAdvertisedCachingTime => '1.3.6.1.4.1.9.6.1.101.1.11.4.1.8',
rlGroupMngDeviceLocationURL => '1.3.6.1.4.1.9.6.1.101.1.11.4.1.9',
rlGroupMngDeviceLastSeen => '1.3.6.1.4.1.9.6.1.101.1.11.4.1.10',
rlRunningCDBequalToStartupCDB => '1.3.6.1.4.1.9.6.1.101.1.13',
rlClearMib => '1.3.6.1.4.1.9.6.1.101.1.14',
rlScheduledReload => '1.3.6.1.4.1.9.6.1.101.1.15',
rlScheduledReloadPendingDate => '1.3.6.1.4.1.9.6.1.101.1.16',
rlScheduledReloadApprovedDate => '1.3.6.1.4.1.9.6.1.101.1.17',
rlScheduledReloadCommit => '1.3.6.1.4.1.9.6.1.101.1.18',
rlSysNameTable => '1.3.6.1.4.1.9.6.1.101.1.19',
rlSysNameEntry => '1.3.6.1.4.1.9.6.1.101.1.19.1',
rlSysNameSource => '1.3.6.1.4.1.9.6.1.101.1.19.1.1',
rlSysNameSourceDefinition => 'CISCOSB-rndMng::rlSysNameSource',
rlSysNameIfIndex => '1.3.6.1.4.1.9.6.1.101.1.19.1.2',
rlSysNameName => '1.3.6.1.4.1.9.6.1.101.1.19.1.3',
rlSysNameRowStatus => '1.3.6.1.4.1.9.6.1.101.1.19.1.4',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCOSB-RNDMNG'} = {
rlSysNameSource => {
'1' => 'dhcpv6',
'2' => 'dhcpv4',
'3' => 'static',
},
rlGroupMngQuery => {
'1' => 'query',
'2' => 'idle',
},
rndAction => {
'1' => 'reset',
'2' => 'sendNetworkTab',
'3' => 'deleteNetworkTab',
'4' => 'sendRoutingTab',
'5' => 'deleteRoutingTab',
'6' => 'sendLanTab',
'7' => 'deleteLanTab',
'8' => 'deleteArpTab',
'9' => 'sendArpTab',
'10' => 'deleteRouteTab',
'11' => 'sendRouteTab',
'12' => 'backupSPFRoutingTab',
'13' => 'backupIPRoutingTab',
'14' => 'backupNetworkTab',
'15' => 'backupLanTab',
'16' => 'backupArpTab',
'17' => 'backupIPXRipTab',
'18' => 'backupIPXSAPTab',
'19' => 'resetStartupCDB',
'20' => 'eraseStartupCDB',
'21' => 'deleteZeroHopRoutingAllocTab',
'22' => 'slipDisconnect',
'23' => 'deleteDynamicLanTab',
'24' => 'eraseRunningCDB',
'25' => 'copyStartupToRunning',
'26' => 'none',
'27' => 'resetToFactoryDefaults',
},
};

View file

@ -0,0 +1,89 @@
package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSBSYSMNGMIB;
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'CISCOSB-SYSMNG-MIB'} = {
url => '',
name => 'CISCOSB-SYSMNG-MIB',
};
#$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'CISCOSB-SYSMNG-MIB'} =
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCOSB-SYSMNG-MIB'} = {
rlSysmngMib => '1.3.6.1.4.1.9.6.1.101.204',
rlSysmngTcamAllocations => '1.3.6.1.4.1.9.6.1.101.204.1',
rlSysmngTcamAllocationsTable => '1.3.6.1.4.1.9.6.1.101.204.1.1',
rlSysmngTcamAllocationsEntry => '1.3.6.1.4.1.9.6.1.101.204.1.1.1',
rlSysmngTcamAllocProfileName => '1.3.6.1.4.1.9.6.1.101.204.1.1.1.1',
rlSysmngTcamAllocPoolType => '1.3.6.1.4.1.9.6.1.101.204.1.1.1.2',
rlSysmngTcamAllocPoolTypeDefinition => 'CISCOSB-SYSMNG-MIB::SysmngPoolType',
rlSysmngTcamAllocMinRequiredEntries => '1.3.6.1.4.1.9.6.1.101.204.1.1.1.3',
rlSysmngTcamAllocStaticConfigEntries => '1.3.6.1.4.1.9.6.1.101.204.1.1.1.4',
rlSysmngTcamAllocInUseEntries => '1.3.6.1.4.1.9.6.1.101.204.1.1.1.5',
rlSysmngTcamAllocPoolSize => '1.3.6.1.4.1.9.6.1.101.204.1.1.1.6',
rlSysmngResource => '1.3.6.1.4.1.9.6.1.101.204.2',
rlSysmngResourceTable => '1.3.6.1.4.1.9.6.1.101.204.2.1',
rlSysmngResourceEntry => '1.3.6.1.4.1.9.6.1.101.204.2.1.1',
rlSysmngResourceRouteType => '1.3.6.1.4.1.9.6.1.101.204.2.1.1.1',
rlSysmngResourceRouteTypeDefinition => 'CISCOSB-SYSMNG-MIB::SysmngResourceRouteType',
rlSysmngResourceCurrentUse => '1.3.6.1.4.1.9.6.1.101.204.2.1.1.2',
rlSysmngResourceCurrentUseHw => '1.3.6.1.4.1.9.6.1.101.204.2.1.1.3',
rlSysmngResourceCurrentMax => '1.3.6.1.4.1.9.6.1.101.204.2.1.1.4',
rlSysmngResourceCurrentMaxHw => '1.3.6.1.4.1.9.6.1.101.204.2.1.1.5',
rlSysmngResourceTemporaryMax => '1.3.6.1.4.1.9.6.1.101.204.2.1.1.6',
rlSysmngResourceTemporaryMaxHw => '1.3.6.1.4.1.9.6.1.101.204.2.1.1.7',
rlSysmngResourceCurrentNexthopMax => '1.3.6.1.4.1.9.6.1.101.204.2.1.1.8',
rlSysmngResourceCurrentNexthopMaxHw => '1.3.6.1.4.1.9.6.1.101.204.2.1.1.9',
rlSysmngResourceCurrentNexthopUse => '1.3.6.1.4.1.9.6.1.101.204.2.1.1.10',
rlSysmngResourceCurrentNexthopUseHw => '1.3.6.1.4.1.9.6.1.101.204.2.1.1.11',
rlSysmngRouterResourceAction => '1.3.6.1.4.1.9.6.1.101.204.3',
rlSysmngResourceUsage => '1.3.6.1.4.1.9.6.1.101.204.4',
rlSysmngResourceUsageTable => '1.3.6.1.4.1.9.6.1.101.204.4.1',
rlSysmngResourceUsageEntry => '1.3.6.1.4.1.9.6.1.101.204.4.1.1',
rlSysmngResourceUsageType => '1.3.6.1.4.1.9.6.1.101.204.4.1.1.1',
rlSysmngResourceUsageTypeDefinition => 'CISCOSB-SYSMNG-MIB::SysmngResourceRouteUsageType',
rlSysmngResourceUsageNum => '1.3.6.1.4.1.9.6.1.101.204.4.1.1.2',
rlSysmngResourcePerUnit => '1.3.6.1.4.1.9.6.1.101.204.5',
rlSysmngResourcePerUnitTable => '1.3.6.1.4.1.9.6.1.101.204.5.1',
rlSysmngResourcePerUnitEntry => '1.3.6.1.4.1.9.6.1.101.204.5.1.1',
rlSysmngResourcePerUnitRouteType => '1.3.6.1.4.1.9.6.1.101.204.5.1.1.1',
rlSysmngResourcePerUnitRouteTypeDefinition => 'CISCOSB-SYSMNG-MIB::SysmngResourceRouteType',
rlSysmngResourcePerUnitUnitId => '1.3.6.1.4.1.9.6.1.101.204.5.1.1.2',
rlSysmngResourcePerUnitCurrentUse => '1.3.6.1.4.1.9.6.1.101.204.5.1.1.3',
rlSysmngResourcePerUnitCurrentUseHw => '1.3.6.1.4.1.9.6.1.101.204.5.1.1.4',
rlSysmngResourcePerUnitCurrentMax => '1.3.6.1.4.1.9.6.1.101.204.5.1.1.5',
rlSysmngResourcePerUnitCurrentMaxHw => '1.3.6.1.4.1.9.6.1.101.204.5.1.1.6',
rlSysmngResourcePerUnitTemporaryMax => '1.3.6.1.4.1.9.6.1.101.204.5.1.1.7',
rlSysmngResourcePerUnitTemporaryMaxHw => '1.3.6.1.4.1.9.6.1.101.204.5.1.1.8',
rlSysmngResourcePerUnitCurrentNexthopMax => '1.3.6.1.4.1.9.6.1.101.204.5.1.1.9',
rlSysmngResourcePerUnitCurrentNexthopMaxHw => '1.3.6.1.4.1.9.6.1.101.204.5.1.1.10',
rlSysmngResourcePerUnitCurrentNexthopUse => '1.3.6.1.4.1.9.6.1.101.204.5.1.1.11',
rlSysmngResourcePerUnitCurrentNexthopUseHw => '1.3.6.1.4.1.9.6.1.101.204.5.1.1.12',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCOSB-SYSMNG-MIB'} = {
SysmngPoolType => {
'1' => 'router',
'2' => 'iscsi',
'3' => 'voip',
'4' => 'misc',
},
SysmngResourceRouteUsageType => {
'1' => 'ipv4Neighbor',
'2' => 'ipv4Address',
'3' => 'ipv4Route',
'4' => 'ipv6Neighbor',
'5' => 'ipv6Address',
'6' => 'ipv6OnlinkPrefix',
'7' => 'ipv6Route',
'8' => 'ipmv4Route',
'9' => 'ipmv4RouteStarG',
'10' => 'ipmv6Route',
'11' => 'ipmv6RouteStarG',
},
SysmngResourceRouteType => {
'1' => 'ipv4',
'2' => 'ipv6',
'3' => 'ipmv4',
'4' => 'ipmv6',
'5' => 'nonIp',
},
};

View file

@ -0,0 +1,326 @@
package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSBTUNING;
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'CISCOSB-TUNING'} = {
url => '',
name => 'CISCOSB-TUNING',
};
#$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'CISCOSB-TUNING'} =
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCOSB-TUNING'} = {
rsTunning => '1.3.6.1.4.1.9.6.1.101.29',
rsHighPriority => '1.3.6.1.4.1.9.6.1.101.29.1',
rsLowPriority => '1.3.6.1.4.1.9.6.1.101.29.2',
rsDbgLevel => '1.3.6.1.4.1.9.6.1.101.29.3',
rsDiagnosticsTable => '1.3.6.1.4.1.9.6.1.101.29.4',
rsDiagnosticsEntry => '1.3.6.1.4.1.9.6.1.101.29.4.1',
rsDiagnosticsRequestId => '1.3.6.1.4.1.9.6.1.101.29.4.1.1',
rsDiagnosticsCode => '1.3.6.1.4.1.9.6.1.101.29.4.1.2',
rsDiagnosticsLocation => '1.3.6.1.4.1.9.6.1.101.29.4.1.3',
rsDiagnosticsText => '1.3.6.1.4.1.9.6.1.101.29.4.1.4',
rsConfirmMessagTab => '1.3.6.1.4.1.9.6.1.101.29.5',
eventMessageTable => '1.3.6.1.4.1.9.6.1.101.29.6',
eventMessageEntry => '1.3.6.1.4.1.9.6.1.101.29.6.1',
eventNum => '1.3.6.1.4.1.9.6.1.101.29.6.1.1',
eventDesc => '1.3.6.1.4.1.9.6.1.101.29.6.1.2',
reaTunning => '1.3.6.1.4.1.9.6.1.101.29.7',
reaIpForwardEnable => '1.3.6.1.4.1.9.6.1.101.29.7.4',
reaIpForwardEnableDefinition => 'CISCOSB-Tuning::reaIpForwardEnable',
reaIpxForwardEnable => '1.3.6.1.4.1.9.6.1.101.29.7.5',
reaIpxForwardEnableDefinition => 'CISCOSB-Tuning::reaIpxForwardEnable',
rsMaxEntriesTuning => '1.3.6.1.4.1.9.6.1.101.29.8',
rsMaxBridgeForwardingEntriesTuning => '1.3.6.1.4.1.9.6.1.101.29.8.1',
rsMaxBrgFrwEntries => '1.3.6.1.4.1.9.6.1.101.29.8.1.1',
rsMaxBrgFrwEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.1.2',
rsMaxIpForwardingEntriesTuning => '1.3.6.1.4.1.9.6.1.101.29.8.2',
rsMaxIpFrwEntries => '1.3.6.1.4.1.9.6.1.101.29.8.2.1',
rsMaxIpFrwEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.2.2',
rsMaxArpEntriesTuning => '1.3.6.1.4.1.9.6.1.101.29.8.3',
rsMaxArpEntries => '1.3.6.1.4.1.9.6.1.101.29.8.3.1',
rsMaxArpEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.3.2',
rsMaxIpxForwardingEntriesTuning => '1.3.6.1.4.1.9.6.1.101.29.8.4',
rsMaxIpxFrwEntries => '1.3.6.1.4.1.9.6.1.101.29.8.4.1',
rsMaxIpxFrwEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.4.2',
rsMaxIpxSapEntriesTuning => '1.3.6.1.4.1.9.6.1.101.29.8.5',
rsMaxIpxSapEntries => '1.3.6.1.4.1.9.6.1.101.29.8.5.1',
rsMaxIpxSapEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.5.2',
rsMaxDspClntEntriesTuning => '1.3.6.1.4.1.9.6.1.101.29.8.6',
rsMaxDspClntEntries => '1.3.6.1.4.1.9.6.1.101.29.8.6.1',
rsMaxDspClntEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.6.2',
rsMaxIpFftEntriesTuning => '1.3.6.1.4.1.9.6.1.101.29.8.9',
rsMaxIpSFftEntries => '1.3.6.1.4.1.9.6.1.101.29.8.9.1',
rsMaxIpSFftEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.9.2',
rsMaxIpNFftEntries => '1.3.6.1.4.1.9.6.1.101.29.8.9.3',
rsMaxIpNFftEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.9.4',
rsMaxIpSFftSysEntries => '1.3.6.1.4.1.9.6.1.101.29.8.9.5',
rsMaxIpSFftSysEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.9.6',
rsMaxIpNFftSysEntries => '1.3.6.1.4.1.9.6.1.101.29.8.9.7',
rsMaxIpNFftSysEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.9.8',
rsMaxIpNextHopEntries => '1.3.6.1.4.1.9.6.1.101.29.8.9.9',
rsMaxIpNextHopEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.9.10',
rsMaxIpxFftEntriesTuning => '1.3.6.1.4.1.9.6.1.101.29.8.10',
rsMaxIpxSFftEntries => '1.3.6.1.4.1.9.6.1.101.29.8.10.1',
rsMaxIpxSFftEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.10.2',
rsMaxIpxNFftEntries => '1.3.6.1.4.1.9.6.1.101.29.8.10.3',
rsMaxIpxNFftEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.10.4',
rsMaxIpxSFftSysEntries => '1.3.6.1.4.1.9.6.1.101.29.8.10.5',
rsMaxIpxSFftSysEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.10.6',
rsMaxIpxNFftSysEntries => '1.3.6.1.4.1.9.6.1.101.29.8.10.7',
rsMaxIpxNFftSysEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.10.8',
rsMaxDhcpTuning => '1.3.6.1.4.1.9.6.1.101.29.8.11',
rsMaxDhcpConns => '1.3.6.1.4.1.9.6.1.101.29.8.11.1',
rsMaxDhcpConnsAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.11.2',
rsMaxIpmTuning => '1.3.6.1.4.1.9.6.1.101.29.8.12',
rsMaxIpmFftEntriesTuning => '1.3.6.1.4.1.9.6.1.101.29.8.12.1',
rsMaxIpmFftEntries => '1.3.6.1.4.1.9.6.1.101.29.8.12.1.1',
rsMaxIpmFftEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.12.1.2',
rsIpmFftAging => '1.3.6.1.4.1.9.6.1.101.29.8.12.1.3',
rsMaxIgmpTuning => '1.3.6.1.4.1.9.6.1.101.29.8.12.2',
rsMaxIgmpInterfaceEntries => '1.3.6.1.4.1.9.6.1.101.29.8.12.2.1',
rsMaxIgmpInterfaceEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.12.2.2',
rsMaxIgmpCacheEntries => '1.3.6.1.4.1.9.6.1.101.29.8.12.2.3',
rsMaxIgmpCacheEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.12.2.4',
rsMaxPimTuning => '1.3.6.1.4.1.9.6.1.101.29.8.12.3',
rsMaxPimNeighborEntries => '1.3.6.1.4.1.9.6.1.101.29.8.12.3.1',
rsMaxPimNeighborEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.12.3.2',
rsMaxPimRouteEntries => '1.3.6.1.4.1.9.6.1.101.29.8.12.3.3',
rsMaxPimRouteEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.12.3.4',
rsMaxPimRouteNextHopEntries => '1.3.6.1.4.1.9.6.1.101.29.8.12.3.5',
rsMaxPimRouteNextHopEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.12.3.6',
rsMaxPimInterfaceEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.12.3.7',
rsMaxPimInterfaceEntries => '1.3.6.1.4.1.9.6.1.101.29.8.12.3.8',
rsMaxDvmrpTuning => '1.3.6.1.4.1.9.6.1.101.29.8.12.4',
rsMaxDvmrpNeighborEntries => '1.3.6.1.4.1.9.6.1.101.29.8.12.4.1',
rsMaxDvmrpNeighborEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.12.4.2',
rsMaxDvmrpRouteEntries => '1.3.6.1.4.1.9.6.1.101.29.8.12.4.3',
rsMaxDvmrpRouteEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.12.4.4',
rsMaxDvmrpMRouteEntries => '1.3.6.1.4.1.9.6.1.101.29.8.12.4.5',
rsMaxDvmrpMRouteEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.12.4.6',
rsMaxDvmrpInterfaceEntries => '1.3.6.1.4.1.9.6.1.101.29.8.12.4.7',
rsMaxDvmrpInterfaceEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.12.4.8',
rsMaxPigmpTuning => '1.3.6.1.4.1.9.6.1.101.29.8.12.5',
rsMaxPigmpRouteEntries => '1.3.6.1.4.1.9.6.1.101.29.8.12.5.1',
rsMaxPigmpRouteEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.12.5.2',
rsMaxPimSmTuning => '1.3.6.1.4.1.9.6.1.101.29.8.12.6',
rsMaxPimSmNeighborEntries => '1.3.6.1.4.1.9.6.1.101.29.8.12.6.1',
rsMaxPimSmNeighborEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.12.6.2',
rsMaxPimSmRouteEntries => '1.3.6.1.4.1.9.6.1.101.29.8.12.6.3',
rsMaxPimSmRouteEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.12.6.4',
rsMaxPimSmInterfaceEntries => '1.3.6.1.4.1.9.6.1.101.29.8.12.6.5',
rsMaxPimSmInterfaceEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.12.6.6',
rsMaxPimSmRPSetEntries => '1.3.6.1.4.1.9.6.1.101.29.8.12.6.7',
rsMaxPimSmRPSetEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.12.6.8',
rsMaxPimSmCRPEntries => '1.3.6.1.4.1.9.6.1.101.29.8.12.6.9',
rsMaxPimSmCRPEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.12.6.10',
rsMaxNumberRpAddresesInGroupRange => '1.3.6.1.4.1.9.6.1.101.29.8.12.6.11',
rsMaxNumberRpAddresesInGroupRangeAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.12.6.12',
rsMaxRmonTuning => '1.3.6.1.4.1.9.6.1.101.29.8.13',
rsMaxRmonLogEntries => '1.3.6.1.4.1.9.6.1.101.29.8.13.1',
rsMaxRmonLogEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.13.2',
rsMaxRmonEtherHistoryEntries => '1.3.6.1.4.1.9.6.1.101.29.8.13.3',
rsMaxRmonEtherHistoryEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.13.4',
rsMaxIgmpSnoopTuning => '1.3.6.1.4.1.9.6.1.101.29.8.14',
rsMaxIgmpSnoopGroupEntries => '1.3.6.1.4.1.9.6.1.101.29.8.14.1',
rsMaxIgmpSnoopGroupEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.14.2',
rsMaxVlansTuning => '1.3.6.1.4.1.9.6.1.101.29.8.15',
rsMaxVlansEntries => '1.3.6.1.4.1.9.6.1.101.29.8.15.1',
rsMaxVlansEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.15.2',
rsMaxPolicyTuning => '1.3.6.1.4.1.9.6.1.101.29.8.16',
rsMaxPolicyMaxRulesEntries => '1.3.6.1.4.1.9.6.1.101.29.8.16.1',
rsMaxPolicyMaxRulesEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.16.2',
rsMaxPolicySimpleMibMaxRulesEntries => '1.3.6.1.4.1.9.6.1.101.29.8.16.3',
rsMaxPolicySimpleMibMaxRulesEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.16.4',
rsMaxPolicySimpleMibMaxProfilesEntries => '1.3.6.1.4.1.9.6.1.101.29.8.16.5',
rsMaxPolicySimpleMibMaxProfilesEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.16.6',
rsMaxGvrpVlansTuning => '1.3.6.1.4.1.9.6.1.101.29.8.17',
rsMaxGvrpVlans => '1.3.6.1.4.1.9.6.1.101.29.8.17.1',
rsMaxGvrpVlansAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.17.2',
rsMaxTraceRouteTuning => '1.3.6.1.4.1.9.6.1.101.29.8.18',
rsMaxTraceRouteControlEntries => '1.3.6.1.4.1.9.6.1.101.29.8.18.1',
rsMaxTraceRouteControlEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.18.2',
rsMaxTraceRouteProbeHistoryEntries => '1.3.6.1.4.1.9.6.1.101.29.8.18.3',
rsMaxTraceRouteProbeHistoryEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.18.4',
rsMaxSnmpTuning => '1.3.6.1.4.1.9.6.1.101.29.8.19',
rsMaxSnmpCommunityEntries => '1.3.6.1.4.1.9.6.1.101.29.8.19.1',
rsMaxSnmpCommunityEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.19.2',
rsMaxSocketTuning => '1.3.6.1.4.1.9.6.1.101.29.8.20',
rsMaxNumberOfSockets => '1.3.6.1.4.1.9.6.1.101.29.8.20.1',
rsMaxNumberOfSocketsAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.20.2',
rsMaxSizeOfSocketDataPool => '1.3.6.1.4.1.9.6.1.101.29.8.20.3',
rsMaxSizeOfSocketDataPoolAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.20.4',
rsMaxIpRouteTuning => '1.3.6.1.4.1.9.6.1.101.29.8.21',
rsMaxIpPrefixes => '1.3.6.1.4.1.9.6.1.101.29.8.21.1',
rsMaxIpPrefixesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.21.2',
rsMaxIpNextHopSetTuning => '1.3.6.1.4.1.9.6.1.101.29.8.22',
rsMaxIpNextHopSetEntries => '1.3.6.1.4.1.9.6.1.101.29.8.22.1',
rsMaxIpNextHopSetEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.22.2',
rsMaxIpEcmpTuning => '1.3.6.1.4.1.9.6.1.101.29.8.23',
rsMaxIpEcmpEntrySize => '1.3.6.1.4.1.9.6.1.101.29.8.23.1',
rsMaxIpEcmpEntrySizeAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.23.2',
rsMaxdot1xEapRequestTuning => '1.3.6.1.4.1.9.6.1.101.29.8.24',
rsMaxdot1xEapRequestEntries => '1.3.6.1.4.1.9.6.1.101.29.8.24.1',
rsMaxdot1xEapRequestEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.24.2',
rsMaxIpInterfaceTuning => '1.3.6.1.4.1.9.6.1.101.29.8.25',
rsMaxIpInterfaces => '1.3.6.1.4.1.9.6.1.101.29.8.25.1',
rsMaxIpInterfacesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.25.2',
rsMaxIpv6FftEntriesTuning => '1.3.6.1.4.1.9.6.1.101.29.8.26',
rsMaxIpv6SFftEntries => '1.3.6.1.4.1.9.6.1.101.29.8.26.1',
rsMaxIpv6SFftEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.26.2',
rsMaxIpv6SFftSysEntries => '1.3.6.1.4.1.9.6.1.101.29.8.26.3',
rsMaxIpv6SFftSysEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.26.4',
rsMaxIpv6Prefixes => '1.3.6.1.4.1.9.6.1.101.29.8.26.5',
rsMaxIpv6PrefixesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.26.6',
rsMaxIpv6NextHopEntries => '1.3.6.1.4.1.9.6.1.101.29.8.26.7',
rsMaxIpv6NextHopEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.26.8',
rsMaxIpv6NextHopSetEntries => '1.3.6.1.4.1.9.6.1.101.29.8.26.9',
rsMaxIpv6NextHopSetEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.26.10',
rsMaxIpv6GlobalAddresses => '1.3.6.1.4.1.9.6.1.101.29.8.26.11',
rsMaxIpv6GlobalAddressesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.26.12',
rsMaxArpTunnelStartEntries => '1.3.6.1.4.1.9.6.1.101.29.8.26.13',
rsMaxArpTunnelStartEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.26.14',
rsMaxIpv6InterfaceTuning => '1.3.6.1.4.1.9.6.1.101.29.8.27',
rsMaxIpv6Interfaces => '1.3.6.1.4.1.9.6.1.101.29.8.27.1',
rsMaxIpv6InterfacesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.27.2',
rsMaxIpv6AddrPerInterfaces => '1.3.6.1.4.1.9.6.1.101.29.8.27.3',
rsMaxIpv6AddrPerInterfacesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.27.4',
rsMaxIpRoutesTuning => '1.3.6.1.4.1.9.6.1.101.29.8.28',
rsMaxIpv4Routes => '1.3.6.1.4.1.9.6.1.101.29.8.28.1',
rsMaxIpv4RoutesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.28.2',
rsMaxIpv6Routes => '1.3.6.1.4.1.9.6.1.101.29.8.28.3',
rsMaxIpv6RoutesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.28.4',
rsMaxIpmv4Routes => '1.3.6.1.4.1.9.6.1.101.29.8.28.5',
rsMaxIpmv4RoutesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.28.6',
rsMaxIpmv6Routes => '1.3.6.1.4.1.9.6.1.101.29.8.28.7',
rsMaxIpmv6RoutesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.8.28.8',
rsTcpTuning => '1.3.6.1.4.1.9.6.1.101.29.11',
rsTcpMemoryPoolSizeAfterReset => '1.3.6.1.4.1.9.6.1.101.29.11.1',
rsTcpMemoryPoolSize => '1.3.6.1.4.1.9.6.1.101.29.11.2',
rsRadiusTuning => '1.3.6.1.4.1.9.6.1.101.29.12',
rsRadiusMemoryPoolSizeAfterReset => '1.3.6.1.4.1.9.6.1.101.29.12.1',
rsRadiusMemoryPoolSize => '1.3.6.1.4.1.9.6.1.101.29.12.2',
rlSyslogTuning => '1.3.6.1.4.1.9.6.1.101.29.13',
rlSyslogFilePercentToDeleteWhenCompacting => '1.3.6.1.4.1.9.6.1.101.29.13.3',
rlSyslogFilePercentToDeleteWhenCompactingAfterReset => '1.3.6.1.4.1.9.6.1.101.29.13.4',
rlSyslogCacheSize => '1.3.6.1.4.1.9.6.1.101.29.13.5',
rlSyslogCacheSizeAfterReset => '1.3.6.1.4.1.9.6.1.101.29.13.6',
rlMngInfTuning => '1.3.6.1.4.1.9.6.1.101.29.14',
rlMaxNumberOfAccessRules => '1.3.6.1.4.1.9.6.1.101.29.14.1',
rlMaxNumberOfAccessRulesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.14.2',
rsDiagnosticTextSource => '1.3.6.1.4.1.9.6.1.101.29.16',
rsDiagnosticTextSourceDefinition => 'CISCOSB-Tuning::rsDiagnosticTextSource',
rsMultiSession => '1.3.6.1.4.1.9.6.1.101.29.17',
rsMultiSessionMaxSessionsAfterReset => '1.3.6.1.4.1.9.6.1.101.29.17.1',
rsMultiSessionMaxSessions => '1.3.6.1.4.1.9.6.1.101.29.17.2',
rlDnsClTuning => '1.3.6.1.4.1.9.6.1.101.29.18',
rlMaxDnsClCacheRREntries => '1.3.6.1.4.1.9.6.1.101.29.18.1',
rlMaxDnsClCacheRREntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.18.2',
rlMaxDnsClNCacheErrEntries => '1.3.6.1.4.1.9.6.1.101.29.18.3',
rlMaxDnsClNCacheErrEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.18.4',
rlMaxDnsClNamesEntries => '1.3.6.1.4.1.9.6.1.101.29.18.5',
rlMaxDnsClNamesEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.18.6',
rlTuningParamsTable => '1.3.6.1.4.1.9.6.1.101.29.19',
rlTuningParamsEntry => '1.3.6.1.4.1.9.6.1.101.29.19.1',
rlTuningParamsName => '1.3.6.1.4.1.9.6.1.101.29.19.1.1',
rlTuningParamsCurrentValue => '1.3.6.1.4.1.9.6.1.101.29.19.1.2',
rlTuningParamsAfterResetValue => '1.3.6.1.4.1.9.6.1.101.29.19.1.3',
rlTuningParamsDefaultValue => '1.3.6.1.4.1.9.6.1.101.29.19.1.4',
rlTuningParamsMinimalValue => '1.3.6.1.4.1.9.6.1.101.29.19.1.5',
rlTuningParamsMaximalValue => '1.3.6.1.4.1.9.6.1.101.29.19.1.6',
rlHostParamTable => '1.3.6.1.4.1.9.6.1.101.29.20',
rlHostParamEntry => '1.3.6.1.4.1.9.6.1.101.29.20.1',
rlHostParamName => '1.3.6.1.4.1.9.6.1.101.29.20.1.1',
rlHostParamValue => '1.3.6.1.4.1.9.6.1.101.29.20.1.2',
rlHostParamType => '1.3.6.1.4.1.9.6.1.101.29.20.1.3',
rlHostParamTypeDefinition => 'CISCOSB-Tuning::rlHostParamType',
rlHostParamUINT => '1.3.6.1.4.1.9.6.1.101.29.20.1.4',
rlHostParamOctetString => '1.3.6.1.4.1.9.6.1.101.29.20.1.5',
rlHostParamIpAddress => '1.3.6.1.4.1.9.6.1.101.29.20.1.6',
rlHostParamObjectId => '1.3.6.1.4.1.9.6.1.101.29.20.1.7',
rlOspfTuning => '1.3.6.1.4.1.9.6.1.101.29.21',
rlMaxOspfInterfaces => '1.3.6.1.4.1.9.6.1.101.29.21.1',
rlMaxOspfInterfacesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.21.2',
rlMaxOspfAreas => '1.3.6.1.4.1.9.6.1.101.29.21.3',
rlMaxOspfAreasAfterReset => '1.3.6.1.4.1.9.6.1.101.29.21.4',
rlMaxOspfNeighbors => '1.3.6.1.4.1.9.6.1.101.29.21.5',
rlMaxOspfNeighborsAfterReset => '1.3.6.1.4.1.9.6.1.101.29.21.6',
rlMaxOspfAbrPerArea => '1.3.6.1.4.1.9.6.1.101.29.21.7',
rlMaxOspfAbrPerAreaAfterReset => '1.3.6.1.4.1.9.6.1.101.29.21.8',
rlMaxOspfNetsInAs => '1.3.6.1.4.1.9.6.1.101.29.21.9',
rlMaxOspfNetsInAsAfterReset => '1.3.6.1.4.1.9.6.1.101.29.21.10',
rlVlanTuning => '1.3.6.1.4.1.9.6.1.101.29.22',
rlVlanDefaultVID => '1.3.6.1.4.1.9.6.1.101.29.22.1',
rlVlanDefaultVIDAfterReset => '1.3.6.1.4.1.9.6.1.101.29.22.2',
rlVlanUsageForbiddenListTable => '1.3.6.1.4.1.9.6.1.101.29.22.3',
rlVlanUsageForbiddenListEntry => '1.3.6.1.4.1.9.6.1.101.29.22.3.1',
rlVlanUsageForbiddenListIndex => '1.3.6.1.4.1.9.6.1.101.29.22.3.1.1',
rlVlanUsageForbiddenList1to1024 => '1.3.6.1.4.1.9.6.1.101.29.22.3.1.2',
rlVlanUsageForbiddenList1025to2048 => '1.3.6.1.4.1.9.6.1.101.29.22.3.1.3',
rlVlanUsageForbiddenList2049to3072 => '1.3.6.1.4.1.9.6.1.101.29.22.3.1.4',
rlVlanUsageForbiddenList3073to4094 => '1.3.6.1.4.1.9.6.1.101.29.22.3.1.5',
rlVlanUsageForbiddenListAfterResetTable => '1.3.6.1.4.1.9.6.1.101.29.22.4',
rlVlanUsageForbiddenListAfterResetEntry => '1.3.6.1.4.1.9.6.1.101.29.22.4.1',
rlVlanUsageForbiddenListAfterResetIndex => '1.3.6.1.4.1.9.6.1.101.29.22.4.1.1',
rlVlanUsageForbiddenListAfterReset1to1024 => '1.3.6.1.4.1.9.6.1.101.29.22.4.1.2',
rlVlanUsageForbiddenListAfterReset1025to2048 => '1.3.6.1.4.1.9.6.1.101.29.22.4.1.3',
rlVlanUsageForbiddenListAfterReset2049to3072 => '1.3.6.1.4.1.9.6.1.101.29.22.4.1.4',
rlVlanUsageForbiddenListAfterReset3073to4094 => '1.3.6.1.4.1.9.6.1.101.29.22.4.1.5',
rlDependendFeaturesEnableTuning => '1.3.6.1.4.1.9.6.1.101.29.23',
rlDependendFeaturesEnabled => '1.3.6.1.4.1.9.6.1.101.29.23.1',
rlDependendFeaturesEnabledAfterReset => '1.3.6.1.4.1.9.6.1.101.29.23.2',
rlIpDhcpSnoopingTuning => '1.3.6.1.4.1.9.6.1.101.29.24',
rlMaxIpDhcpSnoopingEntries => '1.3.6.1.4.1.9.6.1.101.29.24.1',
rlMaxIpDhcpSnoopingEntriesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.24.2',
rlIscsiSnoopTuning => '1.3.6.1.4.1.9.6.1.101.29.25',
rlIscsiSnoopMaxNumOfConnections => '1.3.6.1.4.1.9.6.1.101.29.25.1',
rlIscsiSnoopMaxNumOfConnectionsAfterReset => '1.3.6.1.4.1.9.6.1.101.29.25.2',
rlDhcpServerTuning => '1.3.6.1.4.1.9.6.1.101.29.26',
rlDhcpSrvMaxAllocatedAddresses => '1.3.6.1.4.1.9.6.1.101.29.26.1',
rlDhcpSrvMaxAllocatedAddressesAfterReset => '1.3.6.1.4.1.9.6.1.101.29.26.2',
rlBrgMacHashChainLen => '1.3.6.1.4.1.9.6.1.101.29.27',
rlBrgMacHashChainLenAfterReset => '1.3.6.1.4.1.9.6.1.101.29.28',
rlBrgMacHashFunction => '1.3.6.1.4.1.9.6.1.101.29.29',
rlBrgMacHashFunctionDefinition => 'CISCOSB-Tuning::rlBrgMacHashFunction',
rlBrgMacHashFunctionAfterReset => '1.3.6.1.4.1.9.6.1.101.29.30',
rlBrgMacHashFunctionAfterResetDefinition => 'CISCOSB-Tuning::rlBrgMacHashFunctionAfterReset',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCOSB-TUNING'} = {
rlBrgMacHashFunctionAfterReset => {
'0' => 'macSqnVlanSqn',
'1' => 'macRndVlanSqn',
'2' => 'macSqnVlanRnd',
'3' => 'macRndVlanRnd',
},
rlBrgMacHashFunction => {
'0' => 'macSqnVlanSqn',
'1' => 'macRndVlanSqn',
'2' => 'macSqnVlanRnd',
'3' => 'macRndVlanRnd',
},
reaIpxForwardEnable => {
'1' => 'enable',
'2' => 'disable',
},
rlHostParamType => {
'1' => 'int',
'2' => 'uint',
'3' => 'octetString',
'4' => 'ipV4address',
'5' => 'ipV6address',
'6' => 'ipV6zAddress',
'7' => 'inetAddress',
'8' => 'macAddress',
'9' => 'objectIdentifier',
'10' => 'displayString',
'11' => 'truthValue',
'12' => 'portlist',
},
rsDiagnosticTextSource => {
'1' => 'fromCLI',
'2' => 'fromDiagnosticsTable',
},
reaIpForwardEnable => {
'1' => 'enable',
'2' => 'disable',
},
};

View file

@ -0,0 +1,74 @@
package Monitoring::GLPlugin::SNMP::MibsAndOids::ENTITYSTATEMIB;
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'ENTITY-STATE-MIB'} = {
url => '',
name => 'ENTITY-STATE-MIB',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'ENTITY-STATE-MIB'} =
'1.3.6.1.2.1.131';
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'ENTITY-STATE-MIB'} =
{
entityStateMIB => '1.3.6.1.2.1.131',
entStateNotifications => '1.3.6.1.2.1.131.0',
entStateObjects => '1.3.6.1.2.1.131.1',
entStateTable => '1.3.6.1.2.1.131.1.1',
entStateEntry => '1.3.6.1.2.1.131.1.1.1',
entStateLastChanged => '1.3.6.1.2.1.131.1.1.1.1',
entStateAdmin => '1.3.6.1.2.1.131.1.1.1.2',
entStateAdminDefinition => 'ENTITY-STATE-TC-MIB::EntityAdminState',
entStateOper => '1.3.6.1.2.1.131.1.1.1.3',
entStateOperDefinition => 'ENTITY-STATE-TC-MIB::EntityOperState',
entStateUsage => '1.3.6.1.2.1.131.1.1.1.4',
entStateUsageDefinition => 'ENTITY-STATE-TC-MIB::EntityUsageState',
entStateAlarm => '1.3.6.1.2.1.131.1.1.1.5',
entStateAlarmDefinition => 'ENTITY-STATE-TC-MIB::EntityAlarmStatus',
entStateStandby => '1.3.6.1.2.1.131.1.1.1.6',
entStateStandbyDefinition => 'ENTITY-STATE-TC-MIB::EntityStandbyStatus',
entStateConformance => '1.3.6.1.2.1.131.2',
entStateCompliances => '1.3.6.1.2.1.131.2.1',
entStateGroups => '1.3.6.1.2.1.131.2.2',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'ENTITY-STATE-TC-MIB'} = {
EntityAdminState => {
1 => 'unknown',
2 => 'locked',
3 => 'shuttingDown',
4 => 'unlocked',
},
EntityOperState => {
1 => 'unknown',
2 => 'disabled',
3 => 'enabled',
4 => 'testing',
},
EntityUsageState => {
1 => 'unknown',
2 => 'idle',
3 => 'active',
4 => 'busy',
},
EntityAlarmStatus => sub {
my $val = shift;
# einstweilen wurscht, muss noch genauer angeschaut werden
my $dec = unpack("B*", $val);
return {
0 => 'unknown',
1 => 'underRepair',
2 => 'critical',
3 => 'major',
4 => 'minor',
5 => 'warning',
6 => 'indeterminate',
}->{$dec};
},
EntityStandbyStatus => {
1 => 'unknown',
2 => 'hotStandby',
3 => 'coldStandby',
4 => 'providingService',
},
};

View file

@ -0,0 +1,303 @@
package Monitoring::GLPlugin::SNMP::MibsAndOids::RMONMIB;
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'RMON-MIB'} = {
url => 'https://www.ietf.org/rfc/rfc1271.txt',
name => 'RMON-MIB',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'RMON-MIB'} =
'1.3.6.1.2.1.16';
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'RMON-MIB'} = {
rmon => '1.3.6.1.2.1.16',
rmonEventsV2 => '1.3.6.1.2.1.16.0',
statistics => '1.3.6.1.2.1.16.1',
etherStatsTable => '1.3.6.1.2.1.16.1.1',
etherStatsEntry => '1.3.6.1.2.1.16.1.1.1',
etherStatsIndex => '1.3.6.1.2.1.16.1.1.1.1',
etherStatsDataSource => '1.3.6.1.2.1.16.1.1.1.2',
etherStatsDropEvents => '1.3.6.1.2.1.16.1.1.1.3',
etherStatsOctets => '1.3.6.1.2.1.16.1.1.1.4',
etherStatsPkts => '1.3.6.1.2.1.16.1.1.1.5',
etherStatsBroadcastPkts => '1.3.6.1.2.1.16.1.1.1.6',
etherStatsMulticastPkts => '1.3.6.1.2.1.16.1.1.1.7',
etherStatsCRCAlignErrors => '1.3.6.1.2.1.16.1.1.1.8',
etherStatsUndersizePkts => '1.3.6.1.2.1.16.1.1.1.9',
etherStatsOversizePkts => '1.3.6.1.2.1.16.1.1.1.10',
etherStatsFragments => '1.3.6.1.2.1.16.1.1.1.11',
etherStatsJabbers => '1.3.6.1.2.1.16.1.1.1.12',
etherStatsCollisions => '1.3.6.1.2.1.16.1.1.1.13',
etherStatsPkts64Octets => '1.3.6.1.2.1.16.1.1.1.14',
etherStatsPkts65to127Octets => '1.3.6.1.2.1.16.1.1.1.15',
etherStatsPkts128to255Octets => '1.3.6.1.2.1.16.1.1.1.16',
etherStatsPkts256to511Octets => '1.3.6.1.2.1.16.1.1.1.17',
etherStatsPkts512to1023Octets => '1.3.6.1.2.1.16.1.1.1.18',
etherStatsPkts1024to1518Octets => '1.3.6.1.2.1.16.1.1.1.19',
etherStatsOwner => '1.3.6.1.2.1.16.1.1.1.20',
etherStatsStatus => '1.3.6.1.2.1.16.1.1.1.21',
etherStatsStatusDefinition => 'RMON-MIB::EntryStatus',
history => '1.3.6.1.2.1.16.2',
historyControlTable => '1.3.6.1.2.1.16.2.1',
historyControlEntry => '1.3.6.1.2.1.16.2.1.1',
historyControlIndex => '1.3.6.1.2.1.16.2.1.1.1',
historyControlDataSource => '1.3.6.1.2.1.16.2.1.1.2',
historyControlBucketsRequested => '1.3.6.1.2.1.16.2.1.1.3',
historyControlBucketsGranted => '1.3.6.1.2.1.16.2.1.1.4',
historyControlInterval => '1.3.6.1.2.1.16.2.1.1.5',
historyControlOwner => '1.3.6.1.2.1.16.2.1.1.6',
historyControlStatus => '1.3.6.1.2.1.16.2.1.1.7',
historyControlStatusDefinition => 'RMON-MIB::EntryStatus',
etherHistoryTable => '1.3.6.1.2.1.16.2.2',
etherHistoryEntry => '1.3.6.1.2.1.16.2.2.1',
etherHistoryIndex => '1.3.6.1.2.1.16.2.2.1.1',
etherHistorySampleIndex => '1.3.6.1.2.1.16.2.2.1.2',
etherHistoryIntervalStart => '1.3.6.1.2.1.16.2.2.1.3',
etherHistoryDropEvents => '1.3.6.1.2.1.16.2.2.1.4',
etherHistoryOctets => '1.3.6.1.2.1.16.2.2.1.5',
etherHistoryPkts => '1.3.6.1.2.1.16.2.2.1.6',
etherHistoryBroadcastPkts => '1.3.6.1.2.1.16.2.2.1.7',
etherHistoryMulticastPkts => '1.3.6.1.2.1.16.2.2.1.8',
etherHistoryCRCAlignErrors => '1.3.6.1.2.1.16.2.2.1.9',
etherHistoryUndersizePkts => '1.3.6.1.2.1.16.2.2.1.10',
etherHistoryOversizePkts => '1.3.6.1.2.1.16.2.2.1.11',
etherHistoryFragments => '1.3.6.1.2.1.16.2.2.1.12',
etherHistoryJabbers => '1.3.6.1.2.1.16.2.2.1.13',
etherHistoryCollisions => '1.3.6.1.2.1.16.2.2.1.14',
etherHistoryUtilization => '1.3.6.1.2.1.16.2.2.1.15',
alarm => '1.3.6.1.2.1.16.3',
alarmTable => '1.3.6.1.2.1.16.3.1',
alarmEntry => '1.3.6.1.2.1.16.3.1.1',
alarmIndex => '1.3.6.1.2.1.16.3.1.1.1',
alarmInterval => '1.3.6.1.2.1.16.3.1.1.2',
alarmVariable => '1.3.6.1.2.1.16.3.1.1.3',
alarmSampleType => '1.3.6.1.2.1.16.3.1.1.4',
alarmSampleTypeDefinition => 'RMON-MIB::alarmSampleType',
alarmValue => '1.3.6.1.2.1.16.3.1.1.5',
alarmStartupAlarm => '1.3.6.1.2.1.16.3.1.1.6',
alarmStartupAlarmDefinition => 'RMON-MIB::alarmStartupAlarm',
alarmRisingThreshold => '1.3.6.1.2.1.16.3.1.1.7',
alarmFallingThreshold => '1.3.6.1.2.1.16.3.1.1.8',
alarmRisingEventIndex => '1.3.6.1.2.1.16.3.1.1.9',
alarmFallingEventIndex => '1.3.6.1.2.1.16.3.1.1.10',
alarmOwner => '1.3.6.1.2.1.16.3.1.1.11',
alarmStatus => '1.3.6.1.2.1.16.3.1.1.12',
alarmStatusDefinition => 'RMON-MIB::EntryStatus',
hosts => '1.3.6.1.2.1.16.4',
hostControlTable => '1.3.6.1.2.1.16.4.1',
hostControlEntry => '1.3.6.1.2.1.16.4.1.1',
hostControlIndex => '1.3.6.1.2.1.16.4.1.1.1',
hostControlDataSource => '1.3.6.1.2.1.16.4.1.1.2',
hostControlTableSize => '1.3.6.1.2.1.16.4.1.1.3',
hostControlLastDeleteTime => '1.3.6.1.2.1.16.4.1.1.4',
hostControlOwner => '1.3.6.1.2.1.16.4.1.1.5',
hostControlStatus => '1.3.6.1.2.1.16.4.1.1.6',
hostControlStatusDefinition => 'RMON-MIB::EntryStatus',
hostTable => '1.3.6.1.2.1.16.4.2',
hostEntry => '1.3.6.1.2.1.16.4.2.1',
hostAddress => '1.3.6.1.2.1.16.4.2.1.1',
hostCreationOrder => '1.3.6.1.2.1.16.4.2.1.2',
hostIndex => '1.3.6.1.2.1.16.4.2.1.3',
hostInPkts => '1.3.6.1.2.1.16.4.2.1.4',
hostOutPkts => '1.3.6.1.2.1.16.4.2.1.5',
hostInOctets => '1.3.6.1.2.1.16.4.2.1.6',
hostOutOctets => '1.3.6.1.2.1.16.4.2.1.7',
hostOutErrors => '1.3.6.1.2.1.16.4.2.1.8',
hostOutBroadcastPkts => '1.3.6.1.2.1.16.4.2.1.9',
hostOutMulticastPkts => '1.3.6.1.2.1.16.4.2.1.10',
hostTimeTable => '1.3.6.1.2.1.16.4.3',
hostTimeEntry => '1.3.6.1.2.1.16.4.3.1',
hostTimeAddress => '1.3.6.1.2.1.16.4.3.1.1',
hostTimeCreationOrder => '1.3.6.1.2.1.16.4.3.1.2',
hostTimeIndex => '1.3.6.1.2.1.16.4.3.1.3',
hostTimeInPkts => '1.3.6.1.2.1.16.4.3.1.4',
hostTimeOutPkts => '1.3.6.1.2.1.16.4.3.1.5',
hostTimeInOctets => '1.3.6.1.2.1.16.4.3.1.6',
hostTimeOutOctets => '1.3.6.1.2.1.16.4.3.1.7',
hostTimeOutErrors => '1.3.6.1.2.1.16.4.3.1.8',
hostTimeOutBroadcastPkts => '1.3.6.1.2.1.16.4.3.1.9',
hostTimeOutMulticastPkts => '1.3.6.1.2.1.16.4.3.1.10',
hostTopN => '1.3.6.1.2.1.16.5',
hostTopNControlTable => '1.3.6.1.2.1.16.5.1',
hostTopNControlEntry => '1.3.6.1.2.1.16.5.1.1',
hostTopNControlIndex => '1.3.6.1.2.1.16.5.1.1.1',
hostTopNHostIndex => '1.3.6.1.2.1.16.5.1.1.2',
hostTopNRateBase => '1.3.6.1.2.1.16.5.1.1.3',
hostTopNRateBaseDefinition => 'RMON-MIB::hostTopNRateBase',
hostTopNTimeRemaining => '1.3.6.1.2.1.16.5.1.1.4',
hostTopNDuration => '1.3.6.1.2.1.16.5.1.1.5',
hostTopNRequestedSize => '1.3.6.1.2.1.16.5.1.1.6',
hostTopNGrantedSize => '1.3.6.1.2.1.16.5.1.1.7',
hostTopNStartTime => '1.3.6.1.2.1.16.5.1.1.8',
hostTopNOwner => '1.3.6.1.2.1.16.5.1.1.9',
hostTopNStatus => '1.3.6.1.2.1.16.5.1.1.10',
hostTopNStatusDefinition => 'RMON-MIB::EntryStatus',
hostTopNTable => '1.3.6.1.2.1.16.5.2',
hostTopNEntry => '1.3.6.1.2.1.16.5.2.1',
hostTopNReport => '1.3.6.1.2.1.16.5.2.1.1',
hostTopNIndex => '1.3.6.1.2.1.16.5.2.1.2',
hostTopNAddress => '1.3.6.1.2.1.16.5.2.1.3',
hostTopNRate => '1.3.6.1.2.1.16.5.2.1.4',
matrix => '1.3.6.1.2.1.16.6',
matrixControlTable => '1.3.6.1.2.1.16.6.1',
matrixControlEntry => '1.3.6.1.2.1.16.6.1.1',
matrixControlIndex => '1.3.6.1.2.1.16.6.1.1.1',
matrixControlDataSource => '1.3.6.1.2.1.16.6.1.1.2',
matrixControlTableSize => '1.3.6.1.2.1.16.6.1.1.3',
matrixControlLastDeleteTime => '1.3.6.1.2.1.16.6.1.1.4',
matrixControlOwner => '1.3.6.1.2.1.16.6.1.1.5',
matrixControlStatus => '1.3.6.1.2.1.16.6.1.1.6',
matrixControlStatusDefinition => 'RMON-MIB::EntryStatus',
matrixSDTable => '1.3.6.1.2.1.16.6.2',
matrixSDEntry => '1.3.6.1.2.1.16.6.2.1',
matrixSDSourceAddress => '1.3.6.1.2.1.16.6.2.1.1',
matrixSDDestAddress => '1.3.6.1.2.1.16.6.2.1.2',
matrixSDIndex => '1.3.6.1.2.1.16.6.2.1.3',
matrixSDPkts => '1.3.6.1.2.1.16.6.2.1.4',
matrixSDOctets => '1.3.6.1.2.1.16.6.2.1.5',
matrixSDErrors => '1.3.6.1.2.1.16.6.2.1.6',
matrixDSTable => '1.3.6.1.2.1.16.6.3',
matrixDSEntry => '1.3.6.1.2.1.16.6.3.1',
matrixDSSourceAddress => '1.3.6.1.2.1.16.6.3.1.1',
matrixDSDestAddress => '1.3.6.1.2.1.16.6.3.1.2',
matrixDSIndex => '1.3.6.1.2.1.16.6.3.1.3',
matrixDSPkts => '1.3.6.1.2.1.16.6.3.1.4',
matrixDSOctets => '1.3.6.1.2.1.16.6.3.1.5',
matrixDSErrors => '1.3.6.1.2.1.16.6.3.1.6',
filter => '1.3.6.1.2.1.16.7',
filterTable => '1.3.6.1.2.1.16.7.1',
filterEntry => '1.3.6.1.2.1.16.7.1.1',
filterIndex => '1.3.6.1.2.1.16.7.1.1.1',
filterChannelIndex => '1.3.6.1.2.1.16.7.1.1.2',
filterPktDataOffset => '1.3.6.1.2.1.16.7.1.1.3',
filterPktData => '1.3.6.1.2.1.16.7.1.1.4',
filterPktDataMask => '1.3.6.1.2.1.16.7.1.1.5',
filterPktDataNotMask => '1.3.6.1.2.1.16.7.1.1.6',
filterPktStatus => '1.3.6.1.2.1.16.7.1.1.7',
filterPktStatusMask => '1.3.6.1.2.1.16.7.1.1.8',
filterPktStatusNotMask => '1.3.6.1.2.1.16.7.1.1.9',
filterOwner => '1.3.6.1.2.1.16.7.1.1.10',
filterStatus => '1.3.6.1.2.1.16.7.1.1.11',
filterStatusDefinition => 'RMON-MIB::EntryStatus',
channelTable => '1.3.6.1.2.1.16.7.2',
channelEntry => '1.3.6.1.2.1.16.7.2.1',
channelIndex => '1.3.6.1.2.1.16.7.2.1.1',
channelIfIndex => '1.3.6.1.2.1.16.7.2.1.2',
channelAcceptType => '1.3.6.1.2.1.16.7.2.1.3',
channelAcceptTypeDefinition => 'RMON-MIB::channelAcceptType',
channelDataControl => '1.3.6.1.2.1.16.7.2.1.4',
channelDataControlDefinition => 'RMON-MIB::channelDataControl',
channelTurnOnEventIndex => '1.3.6.1.2.1.16.7.2.1.5',
channelTurnOffEventIndex => '1.3.6.1.2.1.16.7.2.1.6',
channelEventIndex => '1.3.6.1.2.1.16.7.2.1.7',
channelEventStatus => '1.3.6.1.2.1.16.7.2.1.8',
channelEventStatusDefinition => 'RMON-MIB::channelEventStatus',
channelMatches => '1.3.6.1.2.1.16.7.2.1.9',
channelDescription => '1.3.6.1.2.1.16.7.2.1.10',
channelOwner => '1.3.6.1.2.1.16.7.2.1.11',
channelStatus => '1.3.6.1.2.1.16.7.2.1.12',
channelStatusDefinition => 'RMON-MIB::EntryStatus',
capture => '1.3.6.1.2.1.16.8',
bufferControlTable => '1.3.6.1.2.1.16.8.1',
bufferControlEntry => '1.3.6.1.2.1.16.8.1.1',
bufferControlIndex => '1.3.6.1.2.1.16.8.1.1.1',
bufferControlChannelIndex => '1.3.6.1.2.1.16.8.1.1.2',
bufferControlFullStatus => '1.3.6.1.2.1.16.8.1.1.3',
bufferControlFullStatusDefinition => 'RMON-MIB::bufferControlFullStatus',
bufferControlFullAction => '1.3.6.1.2.1.16.8.1.1.4',
bufferControlFullActionDefinition => 'RMON-MIB::bufferControlFullAction',
bufferControlCaptureSliceSize => '1.3.6.1.2.1.16.8.1.1.5',
bufferControlDownloadSliceSize => '1.3.6.1.2.1.16.8.1.1.6',
bufferControlDownloadOffset => '1.3.6.1.2.1.16.8.1.1.7',
bufferControlMaxOctetsRequested => '1.3.6.1.2.1.16.8.1.1.8',
bufferControlMaxOctetsGranted => '1.3.6.1.2.1.16.8.1.1.9',
bufferControlCapturedPackets => '1.3.6.1.2.1.16.8.1.1.10',
bufferControlTurnOnTime => '1.3.6.1.2.1.16.8.1.1.11',
bufferControlOwner => '1.3.6.1.2.1.16.8.1.1.12',
bufferControlStatus => '1.3.6.1.2.1.16.8.1.1.13',
bufferControlStatusDefinition => 'RMON-MIB::EntryStatus',
captureBufferTable => '1.3.6.1.2.1.16.8.2',
captureBufferEntry => '1.3.6.1.2.1.16.8.2.1',
captureBufferControlIndex => '1.3.6.1.2.1.16.8.2.1.1',
captureBufferIndex => '1.3.6.1.2.1.16.8.2.1.2',
captureBufferPacketID => '1.3.6.1.2.1.16.8.2.1.3',
captureBufferPacketData => '1.3.6.1.2.1.16.8.2.1.4',
captureBufferPacketLength => '1.3.6.1.2.1.16.8.2.1.5',
captureBufferPacketTime => '1.3.6.1.2.1.16.8.2.1.6',
captureBufferPacketStatus => '1.3.6.1.2.1.16.8.2.1.7',
event => '1.3.6.1.2.1.16.9',
eventTable => '1.3.6.1.2.1.16.9.1',
eventEntry => '1.3.6.1.2.1.16.9.1.1',
eventIndex => '1.3.6.1.2.1.16.9.1.1.1',
eventDescription => '1.3.6.1.2.1.16.9.1.1.2',
eventType => '1.3.6.1.2.1.16.9.1.1.3',
eventTypeDefinition => 'RMON-MIB::eventType',
eventCommunity => '1.3.6.1.2.1.16.9.1.1.4',
eventLastTimeSent => '1.3.6.1.2.1.16.9.1.1.5',
eventOwner => '1.3.6.1.2.1.16.9.1.1.6',
eventStatus => '1.3.6.1.2.1.16.9.1.1.7',
eventStatusDefinition => 'RMON-MIB::EntryStatus',
logTable => '1.3.6.1.2.1.16.9.2',
logEntry => '1.3.6.1.2.1.16.9.2.1',
logEventIndex => '1.3.6.1.2.1.16.9.2.1.1',
logIndex => '1.3.6.1.2.1.16.9.2.1.2',
logTime => '1.3.6.1.2.1.16.9.2.1.3',
logDescription => '1.3.6.1.2.1.16.9.2.1.4',
rmonConformance => '1.3.6.1.2.1.16.20',
rmonMibModule => '1.3.6.1.2.1.16.20.8',
rmonCompliances => '1.3.6.1.2.1.16.20.9',
rmonGroups => '1.3.6.1.2.1.16.20.10',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'RMON-MIB'} = {
channelDataControl => {
'1' => 'on',
'2' => 'off',
},
alarmSampleType => {
'1' => 'absoluteValue',
'2' => 'deltaValue',
},
hostTopNRateBase => {
'1' => 'hostTopNInPkts',
'2' => 'hostTopNOutPkts',
'3' => 'hostTopNInOctets',
'4' => 'hostTopNOutOctets',
'5' => 'hostTopNOutErrors',
'6' => 'hostTopNOutBroadcastPkts',
'7' => 'hostTopNOutMulticastPkts',
},
channelEventStatus => {
'1' => 'eventReady',
'2' => 'eventFired',
'3' => 'eventAlwaysReady',
},
bufferControlFullAction => {
'1' => 'lockWhenFull',
'2' => 'wrapWhenFull',
},
bufferControlFullStatus => {
'1' => 'spaceAvailable',
'2' => 'full',
},
eventType => {
'1' => 'none',
'2' => 'log',
'3' => 'snmptrap',
'4' => 'logandtrap',
},
channelAcceptType => {
'1' => 'acceptMatched',
'2' => 'acceptFailed',
},
alarmStartupAlarm => {
'1' => 'risingAlarm',
'2' => 'fallingAlarm',
'3' => 'risingOrFallingAlarm',
},
EntryStatus => {
'1' => 'valid',
'2' => 'createRequest',
'3' => 'underCreation',
'4' => 'invalid',
},
};

View file

@ -0,0 +1,22 @@
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'UCD-DISKIO-MIB'} = {
url => 'http://www.circitor.fr/Mibs/Files/UCD-DISKIO-MIB.mib',
name => 'UCD-DISKIO-MIB',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'UCD-DISKIO-MIB'} =
'1.3.6.1.4.1.2021.13.15';
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'UCD-DISKIO-MIB'} = {
ucdDiskIOMIB => '1.3.6.1.4.1.2021.13.15',
diskIOTable => '1.3.6.1.4.1.2021.13.15.1',
diskIOEntry => '1.3.6.1.4.1.2021.13.15.1.1',
diskIOIndex => '1.3.6.1.4.1.2021.13.15.1.1.1',
diskIODevice => '1.3.6.1.4.1.2021.13.15.1.1.2',
diskIONRead => '1.3.6.1.4.1.2021.13.15.1.1.3',
diskIONWritten => '1.3.6.1.4.1.2021.13.15.1.1.4',
diskIOReads => '1.3.6.1.4.1.2021.13.15.1.1.5',
diskIOWrites => '1.3.6.1.4.1.2021.13.15.1.1.6',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'UCD-DISKIO-MIB'} = {
};

View file

@ -189,12 +189,12 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'UCD-SNMP-MIB'} = {
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'UCD-SNMP-MIB'} = {
UCDErrorFix => {
'0' => 'noError',
'1' => 'runFix',
},
UCDErrorFlag => {
'0' => 'noError',
'1' => 'error',
},
UCDErrorFix => {
'0' => 'noError',
'1' => 'runFix',
},
};

Some files were not shown because too many files have changed in this diff Show more