Update check_nwc_health to 7.12.1.3

This commit is contained in:
Jan Wagner 2020-09-16 12:01:57 +02:00
parent 7d410af3f1
commit f2db6c2265
470 changed files with 5641 additions and 2036 deletions

View file

@ -1,3 +1,92 @@
* 2020-09-08 7.12.1.3
fix a bug in mode count-routes, update glplugin
* 2020-07-13 7.12.1.2
improve output for connect-vips
* 2020-07-13 7.12.1.1
bugfix in UCD-MIB swap
* 2020-07-10 7.12.1
try to fallback to ucd if neither sysUptime nor sysDescr exist
* 2020-06-04 7.12
add mode watch-vips and connect-vips for F5
* 2020-06-02 7.11.1
check the number of nodes in a Fortigate cluster
* 2020-05-21 7.11
add bgp4 modes for arista, use 2nd context for cisco bgp4
* 2020-05-19 7.10.4.1
fix a typo
* 2020-05-05 7.10.4
check increase of sessions for Cisco
(detect freeze with --mode vpn-sessions --criticalx sessions_per_sec=0.001:)
add AVM 7580
* 2020-03-20 7.10.3
add mode vpn-sessions (IOS and ASA)
* 2020-03-16 7.10.2.1
blacklist nfs-mounts in hrDeviceDiskStorage
* 2020-03-10 7.10.2
fix HP Aruba checks, add nore from ENTITY-SENSOR-MIB
* 2020-02-20 7.10.1.9
fix a bug in interface-etherstats for OLD-CISCO-INTERFACES-MIB
* 2020-01-21 7.10.1.8
fix a bug in Cisco memory, for Cisco emulation mode of Bel VPN Gate
* 2020-01-18 7.10.1.7
issue #229 fix redundant argument in sprintf
issue #228 fix operstatus in linuxlocal
* 2020-01-16 7.10.1.6
fix a bug in verbose mode if --nosensors is used
* 2019-12-06 7.10.1.5
update GLPlugin, reduce default maxrepetitions to 20
* 2019-12-05 7.10.1.4
reduce maxrepetitions for f5 sysCpuTable and ifTables
* 2019-12-04 7.10.1.3
add --nosensors which skips endless entSensor[Threshold]Table for Nexuses
* 2019-11-25 7.10.1.2
fix a division by 0 for cisco reserved memory
* 2019-10-07 7.10.1.1
fix a bug in cisco wlan accesspoint-modes (InetAddrType)
* 2019-10-04 7.10.1
add session-usage for palo alto
* 2019-08-30 7.10.0.7
update glplugin, more nexus hardware-health improvements
* 2019-08-29 7.10.0.6
reduce runtime for nexus hardware-health
* 2019-08-20 7.10.0.5
fix EIGRP filtering
* 2019-07-29 7.10.0.4.1
fix a bug in fortigate ha-role
* 2019-07-22 7.10.0.4
fix a bug in interface-uptime
* 2019-07-19 7.10.0.3
fix a bug in interface-uptime
* 2019-07-07 7.10.0.2
fix a bug in mode ha-role for Fortigate
* 2019-06-25 7.10.0.1
fix a bug in bgp/route modes for the non-standalone version (InetAddressMaker)
* 2019-06-21 7.10
remove duplicate routes (ip-table + inet-table)
--report long+address shows ip addresses for interfaces
* 2019-06-14 7.9.0.4
finish barracuda ha-role mode
* 2019-06-14 7.9.0.3
detect f5 firmware versions 14+
* 2019-06-12 7.9.0.2
fix routes. inetCidrRouteTable does not really replace ipCidrRouteTable
* 2019-06-12 7.9.0.1
fallback to BGP4-MIB if CISCO-BGP4-MIB is incomplete
* 2019-06-11 7.9
add EIGRP
fix ASA user/connection/session-count
* 2019-06-05 7.8
GLPLugin with better ip4/ip6 handling
fix huawei subclasses
interfaces --name filter expression can contain _adminup_ as a secondary
filter
route modes can handle v6
use OSPFV3-MIB, support v6
add CISCO-BGP4-MIB, support v6
* 2019-04-12 7.7
add Barracuda
* 2019-04-12 7.6.1
add mode count-connections for F5
* 2019-03-20 7.6
add mode watch-ospf-neighbors
* 2019-02-19 7.5.0.1

View file

@ -20,7 +20,7 @@ eval {
$Data::Dumper::Sparseseen = 1;
};
our $AUTOLOAD;
*VERSION = \'3.2.5';
*VERSION = \'3.2.26.2';
use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 };
@ -1453,7 +1453,8 @@ sub protect_value {
# if the device gives us an clearly wrong value, simply use the last value.
my $laststate = $self->load_state(name => 'protect_'.$ident.'_'.$key);
$self->debug(sprintf "self->{%s} is %s and invalid for the %dth time",
$key, $self->{$key}, $laststate->{exception} + 1);
$key, defined $self->{$key} ? $self->{$key} : "<undef>",
$laststate->{exception} + 1);
if ($laststate->{exception} <= 5) {
# but only 5 times.
# if the error persists, somebody has to check the device.

View file

@ -417,6 +417,7 @@ sub nagios_exit {
$output;
}
if (! exists $self->{suppress_messages}) {
$output =~ s/[^[:ascii:]]//g;
print $output;
}
exit $code;

View file

@ -170,8 +170,9 @@ sub getopts {
$_->{spec} =~ /^([\w\-]+)/;
my $aliasfield = $1;
next if $self->{opts}->{$field};
$self->{opts}->{$field} = $self->{opts}->{$aliasfield};
*{"$field"} = sub {
return $self->{opts}->{$aliasfield};
return $self->{opts}->{$field};
};
}
foreach (grep { exists $_->{decode} } @{$self->{_args}}) {

View file

@ -0,0 +1,70 @@
package Monitoring::GLPlugin::Item;
our @ISA = qw(Monitoring::GLPlugin);
use strict;
sub new {
my ($class, %params) = @_;
my $self = {
blacklisted => 0,
info => undef,
extendedinfo => undef,
};
bless $self, $class;
$self->init(%params);
return $self;
}
sub check {
my ($self, $lists) = @_;
my @lists = $lists ? @{$lists} : grep { ref($self->{$_}) eq "ARRAY" } keys %{$self};
foreach my $list (@lists) {
$self->add_info('checking '.$list);
foreach my $element (@{$self->{$list}}) {
$element->blacklist() if $self->is_blacklisted();
$element->check();
}
}
}
sub init_subsystems {
my ($self, $subsysref) = @_;
foreach (@{$subsysref}) {
my ($subsys, $class) = @{$_};
$self->{$subsys} = $class->new()
if (! $self->opts->subsystem || grep {
$_ eq $subsys;
} map {
s/^\s+|\s+$//g;
$_;
} split /,/, $self->opts->subsystem);
}
}
sub check_subsystems {
my ($self) = @_;
my @subsystems = grep { $_ =~ /.*_subsystem$/ } keys %{$self};
foreach (@subsystems) {
$self->{$_}->check();
}
$self->reduce_messages_short(join(", ",
map {
sprintf "%s working fine", $_;
} map {
s/^\s+|\s+$//g;
$_;
} split /,/, $self->opts->subsystem
)) if $self->opts->subsystem;
}
sub dump_subsystems {
my ($self) = @_;
my @subsystems = grep { $_ =~ /.*_subsystem$/ } keys %{$self};
foreach (@subsystems) {
$self->{$_}->dump();
}
}
1;
__END__

View file

@ -223,6 +223,15 @@ sub add_snmp_args {
required => 0,
decode => "rfc3986",
);
$self->add_arg(
spec => '--join-communities',
help => '--join-communities
It --community2 is used, run the query with community, then community2
and add up both results. The default is to use community for the initial
handshake and community2 for querying (bgp and ospf)',
required => 0,
default => 0,
);
$self->add_arg(
spec => 'snmpwalk=s',
help => '--snmpwalk
@ -824,7 +833,8 @@ sub init {
my $confirmed = {};
foreach my $mib (keys %{$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids}) {
foreach my $sym (keys %{$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{$mib}}) {
if (my $obj = $self->get_snmp_object($mib, $sym)) {
my $obj = $self->get_snmp_object($mib, $sym);
if (defined $obj) {
my $oid = $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{$mib}->{$sym};
if (exists $unknowns->{$oid}) {
$confirmed->{$oid} = sprintf '%s::%s = %s', $mib, $sym, $obj;
@ -1028,7 +1038,7 @@ sub check_snmp_and_model {
scalar localtime (time - $self->{uptime}));
$Monitoring::GLPlugin::SNMP::uptime = $self->{uptime};
$self->debug('whoami: '.$self->{productname});
last;
return;
}
}
if (! $mein_lieber_freund_und_kupferstecher) {
@ -1147,6 +1157,11 @@ sub establish_snmp_session {
} else {
my $max_msg_size = $session->max_msg_size();
#$session->max_msg_size(4 * $max_msg_size);
if ($self->opts->protocol eq "1") {
$Monitoring::GLPlugin::SNMP::maxrepetitions = 0;
} else {
$Monitoring::GLPlugin::SNMP::maxrepetitions = 20;
}
$Monitoring::GLPlugin::SNMP::max_msg_size = $max_msg_size;
$Monitoring::GLPlugin::SNMP::session = $session;
}
@ -1234,6 +1249,24 @@ sub mult_snmp_max_msg_size {
$Monitoring::GLPlugin::SNMP::session->max_msg_size($factor * $Monitoring::GLPlugin::SNMP::session->max_msg_size()) if $Monitoring::GLPlugin::SNMP::session;
}
sub bulk_baeh_reset {
my ($self, $maxrepetitions) = @_;
$self->reset_snmp_max_msg_size();
$Monitoring::GLPlugin::SNMP::maxrepetitions =
$Monitoring::GLPlugin::SNMP::session->max_msg_size() * 0.017;
}
sub bulk_is_baeh {
my ($self, $maxrepetitions) = @_;
$maxrepetitions ||= 1;
$Monitoring::GLPlugin::SNMP::maxrepetitions = int($maxrepetitions);
}
sub get_max_repetitions {
my ($self) = @_;
return $Monitoring::GLPlugin::SNMP::maxrepetitions;
}
sub no_such_model {
my ($self) = @_;
printf "Model %s is not implemented\n", $self->{productname};
@ -1278,9 +1311,10 @@ sub ago_sysuptime {
my ($self, $eventtime) = @_;
# if there is an oid containing the value of sysUptime at the time of
# a certain event (e.g. cipSecFailTime), this method returns the
# time that has passed since the event.
# time in seconds that has passed since the event.
# sysUptime overflows at 2**32, so it is possible that the eventtime is
# bigger than sysUptime
# the eventtime value must come as 1/100s, do not normalize it before.
#
# 0-----------------|---------------X
# event=2Mio sysUptime=5.5Mio
@ -1292,11 +1326,10 @@ sub ago_sysuptime {
# event happened (100k + (2**32 - 2Mio)) seconds ago
#
my $sysUptime = $self->get_snmp_object('MIB-2-MIB', 'sysUpTime', 0);
$sysUptime /= 100;
if ($eventtime > $sysUptime) {
return $sysUptime + (2**32 - $eventtime);
return ($sysUptime + (2**32 - $eventtime)) / 100;
} else {
return $sysUptime - $eventtime;
return ($sysUptime - $eventtime) / 100;
}
}
@ -1358,58 +1391,67 @@ sub require_mib {
}
sub implements_mib {
my ($self, $mib) = @_;
my ($self, $mib, $table) = @_;
$self->require_mib($mib);
if (! exists $Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{$mib}) {
return 0;
}
my $sysobj = $self->get_snmp_object('MIB-2-MIB', 'sysObjectID', 0);
$sysobj =~ s/^\.// if $sysobj;
if ($sysobj && $sysobj eq $Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{$mib}) {
$self->debug(sprintf "implements %s (sysobj exact)", $mib);
return 1;
}
if ($sysobj && $Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{$mib} eq
substr $sysobj, 0, length $Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{$mib}) {
$self->debug(sprintf "implements %s (sysobj)", $mib);
return 1;
if (! $table) {
my $sysobj = $self->get_snmp_object('MIB-2-MIB', 'sysObjectID', 0);
$sysobj =~ s/^\.// if $sysobj;
if ($sysobj && $sysobj eq $Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{$mib}) {
$self->debug(sprintf "implements %s (sysobj exact)", $mib);
return 1;
}
if ($sysobj && $Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{$mib} eq
substr $sysobj, 0, length $Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{$mib}) {
$self->debug(sprintf "implements %s (sysobj)", $mib);
return 1;
}
}
my $check_oid = $table ?
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{$mib}->{$table} :
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{$mib};
# some mibs are only composed of tables
my $traces;
if ($self->opts->snmpwalk) {
my @matches;
my @matches;
# exact match
push(@matches, @{[map {
$_, $self->rawdata->{$_}
} grep {
$_ eq $Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{$mib}
} keys %{$self->rawdata}]});
# partial match (add trailing dot)
my $check = $Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{$mib};
$check =~ s/\.?$/./;
push(@matches, @{[map {
$_, $self->rawdata->{$_}
push(@matches, @{[map {
$_, $self->rawdata->{$_}
} grep {
substr($_, 0, length($check)) eq $check
} keys %{$self->rawdata}]});
$traces = {@matches};
$_ eq $check_oid
} keys %{$self->rawdata}]});
# partial match (add trailing dot)
$check_oid =~ s/\.?$/./;
push(@matches, @{[map {
$_, $self->rawdata->{$_}
} grep {
substr($_, 0, length($check_oid)) eq $check_oid
} keys %{$self->rawdata}]});
$traces = {@matches};
} else {
my %params = (
-varbindlist => [
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{$mib}
$check_oid
]
);
if ($Monitoring::GLPlugin::SNMP::session->version() == 3) {
$params{-contextengineid} = $self->opts->contextengineid if $self->opts->contextengineid;
$params{-contextname} = $self->opts->contextname if $self->opts->contextname;
}
my $timeout = $Monitoring::GLPlugin::SNMP::session->timeout();
$Monitoring::GLPlugin::SNMP::session->timeout(10);
$traces = $Monitoring::GLPlugin::SNMP::session->get_next_request(%params);
$Monitoring::GLPlugin::SNMP::session->timeout($timeout);
}
if ($traces && # must find oids following to the ident-oid
! exists $traces->{$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{$mib}} && # must not be the ident-oid
grep { # following oid is inside this tree
substr($_, 0, length($Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{$mib})) eq $Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{$mib};
substr($_, 0, length($check_oid)) eq $check_oid
} keys %{$traces}) {
$self->debug(sprintf "implements %s (found traces)", $mib);
return 1;
@ -1501,8 +1543,15 @@ sub create_entry_cache_file {
}
sub update_entry_cache {
my ($self, $force, $mib, $table, $key_attrs) = @_;
my ($self, $force, $mib, $table, $key_attrs, $last_change) = @_;
$self->debug(sprintf "last change of %s::%s was %s",
$mib, $table, scalar localtime $last_change) if $last_change;
my $update_deadline = time - 3600;
if ($last_change) {
# epoch timestamp, which is a hint when some table was last updated
$update_deadline = ($last_change + 60)
if $last_change > $update_deadline;
}
my $must_update = 0;
if (ref($key_attrs) ne "ARRAY") {
if ($key_attrs eq 'flat_indices') {
@ -1792,12 +1841,13 @@ sub get_snmp_table_objects {
$rows ||= [];
$self->require_mib($mib);
my @entries = ();
my $augmenting_table;
my @augmenting = ();
my @augmenting_tables = ();
my $sym_lookup = {};
$self->debug(sprintf "get_snmp_table_objects %s %s", $mib, $table);
if ($table =~ /^(.*?)\+(.*)/) {
$table = $1;
$augmenting_table = $2;
@augmenting_tables = split(/\+/, $2);
}
my $entry = $table;
$entry =~ s/Table/Entry/g;
@ -1818,7 +1868,7 @@ sub get_snmp_table_objects {
my $augmenting_tableoid = undef;
my @columns = $self->get_table_row_oids($mib, $entry, $rows, $sym_lookup);
my @augmenting_columns = ();
if($augmenting_table) {
foreach my $augmenting_table (@augmenting_tables) {
my $augmenting_entry = $augmenting_table;
$augmenting_entry =~ s/Table/Entry/g;
if (! exists $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{$mib}->{$augmenting_entry}) {
@ -1826,12 +1876,14 @@ sub get_snmp_table_objects {
$augmenting_entry = $augmenting_table;
$augmenting_entry =~ s/Table/TableEntry/g;
if (! exists $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{$mib}->{$augmenting_entry}) {
$augmenting_table = undef;
$augmenting_entry = undef;
}
}
if ($augmenting_table) {
if ($augmenting_entry) {
$self->debug(sprintf "get_snmp_table_objects augment %s %s with %s", $mib, $table, $augmenting_table);
@augmenting_columns = $self->get_table_row_oids($mib, $augmenting_entry, $rows, $sym_lookup);
$augmenting_tableoid = $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{$mib}->{$augmenting_table};
push(@augmenting, [$augmenting_tableoid, \@augmenting_columns]);
}
}
if (scalar(@{$indices}) == 1 && $indices->[0] == -1) {
@ -1839,7 +1891,8 @@ sub get_snmp_table_objects {
my $result = $self->get_entries(
-columns => \@columns,
);
if ($augmenting_table) {
foreach (@augmenting) {
my($augmenting_tableoid, @augmenting_columns) = ($_->[0], @{$_->[1]});
my $augmenting_result = $self->get_entries(
-columns => \@augmenting_columns,
);
@ -1851,8 +1904,9 @@ sub get_snmp_table_objects {
$self->get_indices(
-baseoid => $entryoid,
-oids => [keys %{$result}]);
@entries = $self->make_symbolic($mib, $result, \@indices, $sym_lookup);
@entries = map { $_->{indices} = shift @indices; $_ } @entries;
@entries = map {
$_->{indices} = shift @indices; $_
} @entries = $self->make_symbolic($mib, $result, \@indices, $sym_lookup);
$self->debug(sprintf "get_snmp_table_objects mini returns %d entries",
scalar(@entries));
} elsif (scalar(@{$indices}) == 1) {
@ -1862,7 +1916,8 @@ sub get_snmp_table_objects {
-endindex => $index,
-columns => \@columns,
);
if ($augmenting_table) {
foreach (@augmenting) {
my($augmenting_tableoid, @augmenting_columns) = ($_->[0], @{$_->[1]});
my $augmenting_result = $self->get_entries(
-startindex => $index,
-endindex => $index,
@ -1872,8 +1927,9 @@ sub get_snmp_table_objects {
$result->{$key} = $value;
}
}
@entries = $self->make_symbolic($mib, $result, $indices, $sym_lookup);
@entries = map { $_->{indices} = shift @{$indices}; $_ } @entries;
@entries = map {
$_->{indices} = shift @{$indices}; $_
} $self->make_symbolic($mib, $result, $indices, $sym_lookup);
$self->debug(sprintf "get_snmp_table_objects single returns %d entries",
scalar(@entries));
} elsif (scalar(@{$indices}) > 1) {
@ -1885,11 +1941,36 @@ sub get_snmp_table_objects {
# holzweg. dicke ciscos liefern unvollstaendiges resultat, d.h.
# bei 138,19,157 kommt nur 138..144, dann ist schluss.
# maxrepetitions bringt nichts.
$result = $self->get_entries(
-startindex => $startindex,
-endindex => $endindex,
-columns => \@columns,
);
#$result = $self->get_entries(
# -startindex => $startindex,
# -endindex => $endindex,
# -columns => \@columns,
#);
# anderer ansatz. zusammenhaengende sequenzen suchen und dann
# mehrere bulkwalks absetzen. bringt aber nichts, wenn die indices
# wild verstreut sind
my @sequences = ();
my $sequence;
foreach my $idx (0..scalar(@sortedindices)-1) {
if ($idx != 0 && $sortedindices[$idx] == $sortedindices[$idx-1]+1) {
push(@{$sequence}, $sortedindices[$idx]);
} else {
$sequence = [$sortedindices[$idx]];
push(@sequences, $sequence);
}
}
foreach my $sequence (@sequences) {
my $startindex = $sequence->[0];
my $endindex = $sequence->[-1];
my $tmp_result = $self->get_entries(
-startindex => $startindex,
-endindex => $endindex,
-columns => \@columns,
);
while (my ($key, $value) = each %{$tmp_result}) {
$result->{$key} = $value;
}
}
} else {
foreach my $idx (@sortedindices) {
my $tmp_result = $self->get_entries(
@ -1902,7 +1983,8 @@ sub get_snmp_table_objects {
}
}
}
if ($augmenting_table) {
foreach (@augmenting) {
my($augmenting_tableoid, @augmenting_columns) = ($_->[0], @{$_->[1]});
foreach my $idx (@sortedindices) {
my $tmp_result = $self->get_entries(
-startindex => $idx,
@ -1916,15 +1998,17 @@ sub get_snmp_table_objects {
}
# now we have numerical_oid+index => value
# needs to become symboic_oid => value
@entries = $self->make_symbolic($mib, $result, $indices, $sym_lookup);
@entries = map { $_->{indices} = shift @{$indices}; $_ } @entries;
@entries = map {
$_->{indices} = shift @{$indices}; $_
} $self->make_symbolic($mib, $result, $indices, $sym_lookup);
$self->debug(sprintf "get_snmp_table_objects single returns %d entries",
scalar(@entries));
} elsif (scalar(@{$rows})) {
my $result = $self->get_entries(
-columns => \@columns,
);
if ($augmenting_table) {
foreach (@augmenting) {
my($augmenting_tableoid, @augmenting_columns) = ($_->[0], @{$_->[1]});
my $augmenting_result = $self->get_entries(
-columns => \@augmenting_columns,
);
@ -1936,18 +2020,17 @@ sub get_snmp_table_objects {
$self->get_indices(
-baseoid => $entryoid,
-oids => [keys %{$result}]);
@entries = $self->make_symbolic($mib, $result, \@indices, $sym_lookup);
@entries = map { $_->{indices} = shift @indices; $_ } @entries;
@entries = map {
$_->{indices} = shift @indices; $_
} $self->make_symbolic($mib, $result, \@indices, $sym_lookup);
$self->debug(sprintf "get_snmp_table_objects rows returns %d entries",
scalar(@entries));
} else {
my $result = $self->get_table(
-baseoid => $tableoid,
);
if ($augmenting_table) {
#my $augmenting_result = $self->get_entries(
# -columns => \@augmenting_columns,
#);
foreach (@augmenting) {
my($augmenting_tableoid, @augmenting_columns) = ($_->[0], @{$_->[1]});
my $augmenting_result = $self->get_table(
-baseoid => $augmenting_tableoid,
);
@ -1961,8 +2044,9 @@ sub get_snmp_table_objects {
$self->get_indices(
-baseoid => $entryoid,
-oids => [keys %{$result}]);
@entries = $self->make_symbolic($mib, $result, \@indices, $sym_lookup);
@entries = map { $_->{indices} = shift @indices; $_ } @entries;
@entries = map {
$_->{indices} = shift @indices; $_
} $self->make_symbolic($mib, $result, \@indices, $sym_lookup);
$self->debug(sprintf "get_snmp_table_objects default returns %d entries",
scalar(@entries));
}
@ -1970,12 +2054,6 @@ sub get_snmp_table_objects {
return @entries;
}
sub bulk_is_baeh {
my ($self, $maxrepetitions) = @_;
$maxrepetitions ||= 1;
$Monitoring::GLPlugin::SNMP::maxrepetitions = $maxrepetitions;
}
################################################################
# 3rd level functions. calling net::snmp-functions
#
@ -2033,14 +2111,18 @@ sub get_request {
sub get_entries_get_bulk {
my ($self, %params) = @_;
my $result = {};
$self->debug(sprintf "get_entries_get_bulk %s", Data::Dumper::Dumper(\%params));
my %newparams = ();
$newparams{'-maxrepetitions'} = 3;
$newparams{'-startindex'} = $params{'-startindex'}
if defined $params{'-startindex'};
$newparams{'-endindex'} = $params{'-endindex'}
if defined $params{'-endindex'};
$newparams{'-columns'} = $params{'-columns'};
if ($Monitoring::GLPlugin::SNMP::maxrepetitions) {
$newparams{'-maxrepetitions'} = $Monitoring::GLPlugin::SNMP::maxrepetitions;
} else {
$newparams{'-maxrepetitions'} = 3;
}
$self->debug(sprintf "get_entries_get_bulk %s", Data::Dumper::Dumper(\%newparams));
if ($Monitoring::GLPlugin::SNMP::session->version() == 3) {
$newparams{-contextengineid} = $self->opts->contextengineid if $self->opts->contextengineid;
$newparams{-contextname} = $self->opts->contextname if $self->opts->contextname;
@ -2052,7 +2134,6 @@ sub get_entries_get_bulk {
sub get_entries_get_next {
my ($self, %params) = @_;
my $result = {};
$self->debug(sprintf "get_entries_get_next %s", Data::Dumper::Dumper(\%params));
my %newparams = ();
$newparams{'-maxrepetitions'} = 0;
$newparams{'-startindex'} = $params{'-startindex'}
@ -2060,6 +2141,7 @@ sub get_entries_get_next {
$newparams{'-endindex'} = $params{'-endindex'}
if defined $params{'-endindex'};
$newparams{'-columns'} = $params{'-columns'};
$self->debug(sprintf "get_entries_get_next %s", Data::Dumper::Dumper(\%newparams));
if ($Monitoring::GLPlugin::SNMP::session->version() == 3) {
$newparams{-contextengineid} = $self->opts->contextengineid if $self->opts->contextengineid;
$newparams{-contextname} = $self->opts->contextname if $self->opts->contextname;
@ -2071,13 +2153,13 @@ sub get_entries_get_next {
sub get_entries_get_next_1index {
my ($self, %params) = @_;
my $result = {};
$self->debug(sprintf "get_entries_get_next_1index %s", Data::Dumper::Dumper(\%params));
my %newparams = ();
$newparams{'-startindex'} = $params{'-startindex'}
if defined $params{'-startindex'};
$newparams{'-endindex'} = $params{'-endindex'}
if defined $params{'-endindex'};
$newparams{'-columns'} = $params{'-columns'};
$self->debug(sprintf "get_entries_get_next_1index %s", Data::Dumper::Dumper(\%newparams));
my %singleparams = ();
$singleparams{'-maxrepetitions'} = 0;
if ($Monitoring::GLPlugin::SNMP::session->version() == 3) {
@ -2101,13 +2183,13 @@ sub get_entries_get_next_1index {
sub get_entries_get_simple {
my ($self, %params) = @_;
my $result = {};
$self->debug(sprintf "get_entries_get_simple %s", Data::Dumper::Dumper(\%params));
my %newparams = ();
$newparams{'-startindex'} = $params{'-startindex'}
if defined $params{'-startindex'};
$newparams{'-endindex'} = $params{'-endindex'}
if defined $params{'-endindex'};
$newparams{'-columns'} = $params{'-columns'};
$self->debug(sprintf "get_entries_get_simple %s", Data::Dumper::Dumper(\%newparams));
my %singleparams = ();
if ($Monitoring::GLPlugin::SNMP::session->version() == 3) {
$singleparams{-contextengineid} = $self->opts->contextengineid if $self->opts->contextengineid;
@ -2149,12 +2231,23 @@ sub get_entries {
# The message size exceeded the buffer maxMsgSize of (\d+)
# Message size exceeded buffer maxMsgSize
if ($Monitoring::GLPlugin::SNMP::session->error() =~ /message size exceeded.*buffer maxMsgSize/i) {
$self->debug(sprintf "buffer exceeded. raise *5 for next try");
# old methos. might be no good idea for wan
#$self->debug(sprintf "buffer exceeded. raise *5 for next try");
#$self->mult_snmp_max_msg_size(5);
$self->debug(sprintf "buffer exceeded. lower repetitions for next try");
$self->bulk_is_baeh($self->get_max_repetitions() * 0.75);
} elsif ($Monitoring::GLPlugin::SNMP::session->error() =~ /Authentication failure/ && $Monitoring::GLPlugin::SNMP::session->max_msg_size() > 10) {
$self->debug("A so a Rimbfiech, so a saudumms. Aaf oamol kennda me nimmer");
# australische Nexus. Bulkwalk mit hochgedrehten max_repetitions (*128)
# fuehrt so so einem fake Authentication failure
$self->mult_snmp_max_msg_size(5);
$result = $self->get_entries(%params);
} else {
$self->debug($Monitoring::GLPlugin::SNMP::session->error());
}
if (defined $params{'-endindex'} && defined $params{'-startindex'}) {
if ($result) {
# Rimbfiech fallback was successful
} elsif (defined $params{'-endindex'} && defined $params{'-startindex'}) {
$result = $self->get_entries_get_simple(%params);
} else {
$result = $self->get_entries_get_next(%params);
@ -2294,6 +2387,8 @@ sub get_entries_by_walk {
sub get_table {
my ($self, %params) = @_;
my $tic;
my $tac;
$self->add_oidtrace($params{'-baseoid'});
if (! $self->opts->snmpwalk) {
my @notcached = ();
@ -2307,7 +2402,9 @@ sub get_table {
$params{'-maxrepetitions'} = $Monitoring::GLPlugin::SNMP::maxrepetitions;
}
$self->debug(sprintf "get_table %s", Data::Dumper::Dumper(\%params));
$tic = time;
my $result = $Monitoring::GLPlugin::SNMP::session->get_table(%params);
$tac = time;
if (! defined $result || (defined $result && ! %{$result})) {
$self->debug(sprintf "get_table error: %s",
$Monitoring::GLPlugin::SNMP::session->error());
@ -2326,7 +2423,8 @@ sub get_table {
$self->debug("get_table error: try fallback");
$self->debug(sprintf "get_table %s", Data::Dumper::Dumper(\%params));
$result = $Monitoring::GLPlugin::SNMP::session->get_table(%params);
$self->debug(sprintf "get_table returned %d oids", scalar(keys %{$result}));
$tac = time;
$self->debug(sprintf "get_table returned %d oids in %ds", scalar(keys %{$result}), $tac - $tic);
if (! defined $result || ! %{$result}) {
$self->debug(sprintf "get_table error: %s",
$Monitoring::GLPlugin::SNMP::session->error());
@ -2335,7 +2433,8 @@ sub get_table {
$self->debug("get_table error: try getnext fallback");
$self->debug(sprintf "get_table %s", Data::Dumper::Dumper(\%params));
$result = $Monitoring::GLPlugin::SNMP::session->get_table(%params);
$self->debug(sprintf "get_table returned %d oids", scalar(keys %{$result}));
$tac = time;
$self->debug(sprintf "get_table returned %d oids in %ds", scalar(keys %{$result}), $tac - $tic);
}
if (! defined $result || ! %{$result}) {
$self->debug("get_table error: no more fallbacks. Try --protocol 1");
@ -2356,7 +2455,7 @@ sub get_table {
$self->add_rawdata($key, $value);
}
}
$self->debug(sprintf "get_table returned %d oids", $num_rows);
$self->debug(sprintf "get_table returned %d oids in %ds", $num_rows, $tac - $tic);
foreach my $key (@blank_keys) {
my $value = $result->{$key};
delete $result->{$key};
@ -2413,6 +2512,7 @@ sub get_symbol {
# LgpEnvTemperatureMeasurementDegC = '1.3.6.1.4.1.476.1.42.3.4.1.1.4'
# der name des temp. sensor wird ueber die oid mitgeteilt
$self->require_mib($mib);
$oid =~ s/^\.//g;
foreach my $symoid
(keys %{$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{$mib}}) {
if ($oid eq $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{$mib}->{$symoid}) {
@ -2605,8 +2705,13 @@ sub make_symbolic {
}
if (@{$indices} and scalar(@{$indices}) == 1 and !defined $indices->[0]->[0]) {
my $mo = {};
foreach my $symoid
(keys %{$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{$mib}}) {
my @lookup_keys = ();
if (! $sym_lookup) {
@lookup_keys = keys %{$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{$mib}};
} else {
@lookup_keys = values %{$sym_lookup};
}
foreach my $symoid (@lookup_keys) {
my $oid = $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{$mib}->{$symoid};
if (ref($oid) ne 'HASH') {
if (exists $result->{$oid}) {
@ -2649,6 +2754,8 @@ sub make_symbolic {
$mo->{$symoid} = 'unknown_'.$result->{$oid};
# oder $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{$mib}->{$symoid.'Definition'}?
}
} else {
$mo->{$symoid} = $result->{$oid};
}
}
}

View file

@ -0,0 +1,159 @@
package Monitoring::GLPlugin::SNMP::MibsAndOids::ARISTABGP4V2MIB;
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'ARISTA-BGP4V2-MIB'} = {
url => '',
name => 'ARISTA-BGP4V2-MIB',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'ARISTA-BGP4V2-MIB'} =
'1.3.6.1.4.1.30065.4.1';
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'ARISTA-BGP4V2-MIB'} = {
aristaBgp4V2 => '1.3.6.1.4.1.30065.4.1',
aristaBgp4V2Notifications => '1.3.6.1.4.1.30065.4.1.0',
aristaBgp4V2Objects => '1.3.6.1.4.1.30065.4.1.1',
aristaBgp4V2DiscontinuityTable => '1.3.6.1.4.1.30065.4.1.1.1',
aristaBgp4V2DiscontinuityEntry => '1.3.6.1.4.1.30065.4.1.1.1.1',
aristaBgp4V2DiscontinuityTime => '1.3.6.1.4.1.30065.4.1.1.1.1.1',
aristaBgp4V2PeerTable => '1.3.6.1.4.1.30065.4.1.1.2',
aristaBgp4V2PeerEntry => '1.3.6.1.4.1.30065.4.1.1.2.1',
aristaBgp4V2PeerInstance => '1.3.6.1.4.1.30065.4.1.1.2.1.1',
aristaBgp4V2PeerLocalAddrType => '1.3.6.1.4.1.30065.4.1.1.2.1.2',
aristaBgp4V2PeerLocalAddrTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
aristaBgp4V2PeerLocalAddr => '1.3.6.1.4.1.30065.4.1.1.2.1.3',
aristaBgp4V2PeerLocalAddrDefinition => 'INET-ADDRESS-MIB::InetAddress(aristaBgp4V2PeerLocalAddrType)',
aristaBgp4V2PeerRemoteAddrType => '1.3.6.1.4.1.30065.4.1.1.2.1.4',
aristaBgp4V2PeerRemoteAddrTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
aristaBgp4V2PeerRemoteAddr => '1.3.6.1.4.1.30065.4.1.1.2.1.5',
aristaBgp4V2PeerRemoteAddrDefinition => 'INET-ADDRESS-MIB::InetAddress(aristaBgp4V2PeerRemoteAddrType)',
aristaBgp4V2PeerLocalPort => '1.3.6.1.4.1.30065.4.1.1.2.1.6',
aristaBgp4V2PeerLocalAs => '1.3.6.1.4.1.30065.4.1.1.2.1.7',
aristaBgp4V2PeerLocalIdentifier => '1.3.6.1.4.1.30065.4.1.1.2.1.8',
aristaBgp4V2PeerLocalIdentifierDefinition => 'ARISTA-BGP4V2-TC-MIB::AristaBgp4V2IdentifierTC',
aristaBgp4V2PeerRemotePort => '1.3.6.1.4.1.30065.4.1.1.2.1.9',
aristaBgp4V2PeerRemoteAs => '1.3.6.1.4.1.30065.4.1.1.2.1.10',
aristaBgp4V2PeerRemoteIdentifier => '1.3.6.1.4.1.30065.4.1.1.2.1.11',
aristaBgp4V2PeerRemoteIdentifierDefinition => 'ARISTA-BGP4V2-TC-MIB::AristaBgp4V2IdentifierTC',
aristaBgp4V2PeerAdminStatus => '1.3.6.1.4.1.30065.4.1.1.2.1.12',
aristaBgp4V2PeerAdminStatusDefinition => 'ARISTA-BGP4V2-MIB::aristaBgp4V2PeerAdminStatus',
aristaBgp4V2PeerState => '1.3.6.1.4.1.30065.4.1.1.2.1.13',
aristaBgp4V2PeerStateDefinition => 'ARISTA-BGP4V2-MIB::aristaBgp4V2PeerState',
aristaBgp4V2PeerDescription => '1.3.6.1.4.1.30065.4.1.1.2.1.14',
aristaBgp4V2PeerErrorsTable => '1.3.6.1.4.1.30065.4.1.1.3',
aristaBgp4V2PeerErrorsEntry => '1.3.6.1.4.1.30065.4.1.1.3.1',
aristaBgp4V2PeerLastErrorCodeReceived => '1.3.6.1.4.1.30065.4.1.1.3.1.1',
aristaBgp4V2PeerLastErrorSubCodeReceived => '1.3.6.1.4.1.30065.4.1.1.3.1.2',
aristaBgp4V2PeerLastErrorReceivedTime => '1.3.6.1.4.1.30065.4.1.1.3.1.3',
aristaBgp4V2PeerLastErrorReceivedText => '1.3.6.1.4.1.30065.4.1.1.3.1.4',
aristaBgp4V2PeerLastErrorReceivedData => '1.3.6.1.4.1.30065.4.1.1.3.1.5',
aristaBgp4V2PeerLastErrorCodeSent => '1.3.6.1.4.1.30065.4.1.1.3.1.6',
aristaBgp4V2PeerLastErrorSubCodeSent => '1.3.6.1.4.1.30065.4.1.1.3.1.7',
aristaBgp4V2PeerLastErrorSentTime => '1.3.6.1.4.1.30065.4.1.1.3.1.8',
aristaBgp4V2PeerLastErrorSentText => '1.3.6.1.4.1.30065.4.1.1.3.1.9',
aristaBgp4V2PeerLastErrorSentData => '1.3.6.1.4.1.30065.4.1.1.3.1.10',
aristaBgp4V2PeerEventTimesTable => '1.3.6.1.4.1.30065.4.1.1.4',
aristaBgp4V2PeerEventTimesEntry => '1.3.6.1.4.1.30065.4.1.1.4.1',
aristaBgp4V2PeerFsmEstablishedTime => '1.3.6.1.4.1.30065.4.1.1.4.1.1',
aristaBgp4V2PeerInUpdatesElapsedTime => '1.3.6.1.4.1.30065.4.1.1.4.1.2',
aristaBgp4V2PeerConfiguredTimersTable => '1.3.6.1.4.1.30065.4.1.1.5',
aristaBgp4V2PeerConfiguredTimersEntry => '1.3.6.1.4.1.30065.4.1.1.5.1',
aristaBgp4V2PeerConnectRetryInterval => '1.3.6.1.4.1.30065.4.1.1.5.1.1',
aristaBgp4V2PeerHoldTimeConfigured => '1.3.6.1.4.1.30065.4.1.1.5.1.2',
aristaBgp4V2PeerKeepAliveConfigured => '1.3.6.1.4.1.30065.4.1.1.5.1.3',
aristaBgp4V2PeerMinASOrigInterval => '1.3.6.1.4.1.30065.4.1.1.5.1.4',
aristaBgp4V2PeerMinRouteAdverInterval => '1.3.6.1.4.1.30065.4.1.1.5.1.5',
aristaBgp4V2PeerNegotiatedTimersTable => '1.3.6.1.4.1.30065.4.1.1.6',
aristaBgp4V2PeerNegotiatedTimersEntry => '1.3.6.1.4.1.30065.4.1.1.6.1',
aristaBgp4V2PeerHoldTime => '1.3.6.1.4.1.30065.4.1.1.6.1.1',
aristaBgp4V2PeerKeepAlive => '1.3.6.1.4.1.30065.4.1.1.6.1.2',
aristaBgp4V2PeerCountersTable => '1.3.6.1.4.1.30065.4.1.1.7',
aristaBgp4V2PeerCountersEntry => '1.3.6.1.4.1.30065.4.1.1.7.1',
aristaBgp4V2PeerInUpdates => '1.3.6.1.4.1.30065.4.1.1.7.1.1',
aristaBgp4V2PeerOutUpdates => '1.3.6.1.4.1.30065.4.1.1.7.1.2',
aristaBgp4V2PeerInTotalMessages => '1.3.6.1.4.1.30065.4.1.1.7.1.3',
aristaBgp4V2PeerOutTotalMessages => '1.3.6.1.4.1.30065.4.1.1.7.1.4',
aristaBgp4V2PeerFsmEstablishedTransitions => '1.3.6.1.4.1.30065.4.1.1.7.1.5',
aristaBgp4V2PrefixGaugesTable => '1.3.6.1.4.1.30065.4.1.1.8',
aristaBgp4V2PrefixGaugesEntry => '1.3.6.1.4.1.30065.4.1.1.8.1',
aristaBgp4V2PrefixGaugesAfi => '1.3.6.1.4.1.30065.4.1.1.8.1.1',
aristaBgp4V2PrefixGaugesAfiDefinition => 'ARISTA-BGP4V2-TC-MIB::AristaBgp4V2AddressFamilyIdentifierTC',
aristaBgp4V2PrefixGaugesSafi => '1.3.6.1.4.1.30065.4.1.1.8.1.2',
aristaBgp4V2PrefixGaugesSafiDefinition => 'ARISTA-BGP4V2-TC-MIB::AristaBgp4V2SubsequentAddressFamilyIdentifierTC',
aristaBgp4V2PrefixInPrefixes => '1.3.6.1.4.1.30065.4.1.1.8.1.3',
aristaBgp4V2PrefixInPrefixesAccepted => '1.3.6.1.4.1.30065.4.1.1.8.1.4',
aristaBgp4V2PrefixOutPrefixes => '1.3.6.1.4.1.30065.4.1.1.8.1.5',
aristaBgp4V2NlriTable => '1.3.6.1.4.1.30065.4.1.1.9',
aristaBgp4V2NlriEntry => '1.3.6.1.4.1.30065.4.1.1.9.1',
aristaBgp4V2NlriIndex => '1.3.6.1.4.1.30065.4.1.1.9.1.1',
aristaBgp4V2NlriAfi => '1.3.6.1.4.1.30065.4.1.1.9.1.2',
aristaBgp4V2NlriAfiDefinition => 'ARISTA-BGP4V2-TC-MIB::AristaBgp4V2AddressFamilyIdentifierTC',
aristaBgp4V2NlriSafi => '1.3.6.1.4.1.30065.4.1.1.9.1.3',
aristaBgp4V2NlriSafiDefinition => 'ARISTA-BGP4V2-TC-MIB::AristaBgp4V2SubsequentAddressFamilyIdentifierTC',
aristaBgp4V2NlriPrefixType => '1.3.6.1.4.1.30065.4.1.1.9.1.4',
aristaBgp4V2NlriPrefix => '1.3.6.1.4.1.30065.4.1.1.9.1.5',
aristaBgp4V2NlriPrefixLen => '1.3.6.1.4.1.30065.4.1.1.9.1.6',
aristaBgp4V2NlriBest => '1.3.6.1.4.1.30065.4.1.1.9.1.7',
aristaBgp4V2NlriCalcLocalPref => '1.3.6.1.4.1.30065.4.1.1.9.1.8',
aristaBgp4V2NlriOrigin => '1.3.6.1.4.1.30065.4.1.1.9.1.9',
aristaBgp4V2NlriOriginDefinition => 'ARISTA-BGP4V2-MIB::aristaBgp4V2NlriOrigin',
aristaBgp4V2NlriNextHopAddrType => '1.3.6.1.4.1.30065.4.1.1.9.1.10',
aristaBgp4V2NlriNextHopAddr => '1.3.6.1.4.1.30065.4.1.1.9.1.11',
aristaBgp4V2NlriLinkLocalNextHopAddrType => '1.3.6.1.4.1.30065.4.1.1.9.1.12',
aristaBgp4V2NlriLinkLocalNextHopAddr => '1.3.6.1.4.1.30065.4.1.1.9.1.13',
aristaBgp4V2NlriLocalPrefPresent => '1.3.6.1.4.1.30065.4.1.1.9.1.14',
aristaBgp4V2NlriLocalPref => '1.3.6.1.4.1.30065.4.1.1.9.1.15',
aristaBgp4V2NlriMedPresent => '1.3.6.1.4.1.30065.4.1.1.9.1.16',
aristaBgp4V2NlriMed => '1.3.6.1.4.1.30065.4.1.1.9.1.17',
aristaBgp4V2NlriAtomicAggregate => '1.3.6.1.4.1.30065.4.1.1.9.1.18',
aristaBgp4V2NlriAggregatorPresent => '1.3.6.1.4.1.30065.4.1.1.9.1.19',
aristaBgp4V2NlriAggregatorAS => '1.3.6.1.4.1.30065.4.1.1.9.1.20',
aristaBgp4V2NlriAggregatorAddr => '1.3.6.1.4.1.30065.4.1.1.9.1.21',
aristaBgp4V2NlriAsPathCalcLength => '1.3.6.1.4.1.30065.4.1.1.9.1.22',
aristaBgp4V2NlriAsPathString => '1.3.6.1.4.1.30065.4.1.1.9.1.23',
aristaBgp4V2NlriAsPath => '1.3.6.1.4.1.30065.4.1.1.9.1.24',
aristaBgp4V2NlriPathAttrUnknown => '1.3.6.1.4.1.30065.4.1.1.9.1.25',
aristaBgp4V2AdjRibsOutTable => '1.3.6.1.4.1.30065.4.1.1.10',
aristaBgp4V2AdjRibsOutEntry => '1.3.6.1.4.1.30065.4.1.1.10.1',
aristaBgp4V2AdjRibsOutIndex => '1.3.6.1.4.1.30065.4.1.1.10.1.1',
aristaBgp4V2AdjRibsOutRoute => '1.3.6.1.4.1.30065.4.1.1.10.1.2',
aristaBgp4V2Conformance => '1.3.6.1.4.1.30065.4.1.2',
aristaBgp4V2Compliances => '1.3.6.1.4.1.30065.4.1.2.1',
aristaBgp4V2Groups => '1.3.6.1.4.1.30065.4.1.2.2',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'ARISTA-BGP4V2-MIB'} = {
aristaBgp4V2NlriOrigin => {
'1' => 'igp',
'2' => 'egp',
'3' => 'incomplete',
},
aristaBgp4V2PeerAdminStatus => {
'1' => 'halted',
'2' => 'running',
},
aristaBgp4V2PeerState => {
'1' => 'idle',
'2' => 'connect',
'3' => 'active',
'4' => 'opensent',
'5' => 'openconfirm',
'6' => 'established',
},
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'ARISTA-BGP4V2-TC-MIB'} = {
AristaBgp4V2IdentifierTC => sub {
my ($addr) = @_;
return Monitoring::GLPlugin::SNMP::TableItem->new()->unhex_ip($addr);
},
AristaBgp4V2AddressFamilyIdentifierTC => {
1 => 'ipv4',
2 => 'ipv6',
},
AristaBgp4V2SubsequentAddressFamilyIdentifierTC => {
1 => 'unicast',
2 => 'multicast',
4 => 'mpls',
},
};

View file

@ -0,0 +1,153 @@
package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOEIGRPMIB;
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'CISCO-EIGRP-MIB'} = {
url => '',
name => 'CISCO-EIGRP-MIB',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'CISCO-EIGRP-MIB'} =
'1.3.6.1.4.1.9.9.449';
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-EIGRP-MIB'} = {
ciscoEigrpMIB => '1.3.6.1.4.1.9.9.449',
cEigrpMIBNotifications => '1.3.6.1.4.1.9.9.449.0',
cEigrpMIBObjects => '1.3.6.1.4.1.9.9.449.1',
cEigrpVpnInfo => '1.3.6.1.4.1.9.9.449.1.1',
cEigrpVpnTable => '1.3.6.1.4.1.9.9.449.1.1.1',
cEigrpVpnEntry => '1.3.6.1.4.1.9.9.449.1.1.1.1',
cEigrpVpnId => '1.3.6.1.4.1.9.9.449.1.1.1.1.1',
cEigrpVpnName => '1.3.6.1.4.1.9.9.449.1.1.1.1.2',
cEigrpAsInfo => '1.3.6.1.4.1.9.9.449.1.2',
cEigrpTraffStatsTable => '1.3.6.1.4.1.9.9.449.1.2.1',
cEigrpTraffStatsEntry => '1.3.6.1.4.1.9.9.449.1.2.1.1',
cEigrpAsNumber => '1.3.6.1.4.1.9.9.449.1.2.1.1.1',
cEigrpNbrCount => '1.3.6.1.4.1.9.9.449.1.2.1.1.2',
cEigrpHellosSent => '1.3.6.1.4.1.9.9.449.1.2.1.1.3',
cEigrpHellosRcvd => '1.3.6.1.4.1.9.9.449.1.2.1.1.4',
cEigrpUpdatesSent => '1.3.6.1.4.1.9.9.449.1.2.1.1.5',
cEigrpUpdatesRcvd => '1.3.6.1.4.1.9.9.449.1.2.1.1.6',
cEigrpQueriesSent => '1.3.6.1.4.1.9.9.449.1.2.1.1.7',
cEigrpQueriesRcvd => '1.3.6.1.4.1.9.9.449.1.2.1.1.8',
cEigrpRepliesSent => '1.3.6.1.4.1.9.9.449.1.2.1.1.9',
cEigrpRepliesRcvd => '1.3.6.1.4.1.9.9.449.1.2.1.1.10',
cEigrpAcksSent => '1.3.6.1.4.1.9.9.449.1.2.1.1.11',
cEigrpAcksRcvd => '1.3.6.1.4.1.9.9.449.1.2.1.1.12',
cEigrpInputQHighMark => '1.3.6.1.4.1.9.9.449.1.2.1.1.13',
cEigrpInputQDrops => '1.3.6.1.4.1.9.9.449.1.2.1.1.14',
cEigrpSiaQueriesSent => '1.3.6.1.4.1.9.9.449.1.2.1.1.15',
cEigrpSiaQueriesRcvd => '1.3.6.1.4.1.9.9.449.1.2.1.1.16',
cEigrpAsRouterIdType => '1.3.6.1.4.1.9.9.449.1.2.1.1.17',
cEigrpAsRouterIdTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
cEigrpAsRouterId => '1.3.6.1.4.1.9.9.449.1.2.1.1.18',
cEigrpAsRouterIdDefinition => 'INET-ADDRESS-MIB::InetAddress(cEigrpAsRouterIdType)',
cEigrpTopoRoutes => '1.3.6.1.4.1.9.9.449.1.2.1.1.19',
cEigrpHeadSerial => '1.3.6.1.4.1.9.9.449.1.2.1.1.20',
cEigrpNextSerial => '1.3.6.1.4.1.9.9.449.1.2.1.1.21',
cEigrpXmitPendReplies => '1.3.6.1.4.1.9.9.449.1.2.1.1.22',
cEigrpXmitDummies => '1.3.6.1.4.1.9.9.449.1.2.1.1.23',
cEigrpTopologyInfo => '1.3.6.1.4.1.9.9.449.1.3',
cEigrpTopoTable => '1.3.6.1.4.1.9.9.449.1.3.1',
cEigrpTopoEntry => '1.3.6.1.4.1.9.9.449.1.3.1.1',
cEigrpDestNetType => '1.3.6.1.4.1.9.9.449.1.3.1.1.1',
cEigrpDestNetTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
cEigrpDestNet => '1.3.6.1.4.1.9.9.449.1.3.1.1.2',
cEigrpDestNetDefinition => 'INET-ADDRESS-MIB::InetAddress(cEigrpDestNetType)',
cEigrpDestNetPrefixLen => '1.3.6.1.4.1.9.9.449.1.3.1.1.4',
cEigrpActive => '1.3.6.1.4.1.9.9.449.1.3.1.1.5',
cEigrpStuckInActive => '1.3.6.1.4.1.9.9.449.1.3.1.1.6',
cEigrpDestSuccessors => '1.3.6.1.4.1.9.9.449.1.3.1.1.7',
cEigrpFdistance => '1.3.6.1.4.1.9.9.449.1.3.1.1.8',
cEigrpRouteOriginType => '1.3.6.1.4.1.9.9.449.1.3.1.1.9',
cEigrpRouteOriginAddrType => '1.3.6.1.4.1.9.9.449.1.3.1.1.10',
cEigrpRouteOriginAddrTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
cEigrpRouteOriginAddr => '1.3.6.1.4.1.9.9.449.1.3.1.1.11',
cEigrpRouteOriginAddrDefinition => 'INET-ADDRESS-MIB::InetAddress(cEigrpRouteOriginAddrType)',
cEigrpNextHopAddressType => '1.3.6.1.4.1.9.9.449.1.3.1.1.12',
cEigrpNextHopAddressTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
cEigrpNextHopAddress => '1.3.6.1.4.1.9.9.449.1.3.1.1.13',
cEigrpNextHopAddressDefinition => 'INET-ADDRESS-MIB::InetAddress(cEigrpNextHopAddressType)',
cEigrpNextHopInterface => '1.3.6.1.4.1.9.9.449.1.3.1.1.14',
cEigrpDistance => '1.3.6.1.4.1.9.9.449.1.3.1.1.15',
cEigrpReportDistance => '1.3.6.1.4.1.9.9.449.1.3.1.1.16',
cEigrpFdistanceWide => '1.3.6.1.4.1.9.9.449.1.3.1.1.17',
cEigrpDistanceWide => '1.3.6.1.4.1.9.9.449.1.3.1.1.18',
cEigrpReportDistanceWide => '1.3.6.1.4.1.9.9.449.1.3.1.1.19',
cEigrpPeerInfo => '1.3.6.1.4.1.9.9.449.1.4',
cEigrpPeerTable => '1.3.6.1.4.1.9.9.449.1.4.1',
cEigrpPeerEntry => '1.3.6.1.4.1.9.9.449.1.4.1.1',
cEigrpHandle => '1.3.6.1.4.1.9.9.449.1.4.1.1.1',
cEigrpPeerAddrType => '1.3.6.1.4.1.9.9.449.1.4.1.1.2',
cEigrpPeerAddrTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
cEigrpPeerAddr => '1.3.6.1.4.1.9.9.449.1.4.1.1.3',
cEigrpPeerAddrDefinition => 'INET-ADDRESS-MIB::InetAddress(cEigrpPeerAddrType)',
cEigrpPeerIfIndex => '1.3.6.1.4.1.9.9.449.1.4.1.1.4',
cEigrpHoldTime => '1.3.6.1.4.1.9.9.449.1.4.1.1.5',
cEigrpUpTime => '1.3.6.1.4.1.9.9.449.1.4.1.1.6',
cEigrpUpTimeDefinition => 'CISCO-EIGRP-MIB::cEigrpUpTime',
cEigrpSrtt => '1.3.6.1.4.1.9.9.449.1.4.1.1.7',
cEigrpRto => '1.3.6.1.4.1.9.9.449.1.4.1.1.8',
cEigrpPktsEnqueued => '1.3.6.1.4.1.9.9.449.1.4.1.1.9',
cEigrpLastSeq => '1.3.6.1.4.1.9.9.449.1.4.1.1.10',
cEigrpVersion => '1.3.6.1.4.1.9.9.449.1.4.1.1.11',
cEigrpRetrans => '1.3.6.1.4.1.9.9.449.1.4.1.1.12',
cEigrpRetries => '1.3.6.1.4.1.9.9.449.1.4.1.1.13',
cEigrpInterfaceInfo => '1.3.6.1.4.1.9.9.449.1.5',
cEigrpInterfaceTable => '1.3.6.1.4.1.9.9.449.1.5.1',
cEigrpInterfaceEntry => '1.3.6.1.4.1.9.9.449.1.5.1.1',
cEigrpPeerCount => '1.3.6.1.4.1.9.9.449.1.5.1.1.3',
cEigrpXmitReliableQ => '1.3.6.1.4.1.9.9.449.1.5.1.1.4',
cEigrpXmitUnreliableQ => '1.3.6.1.4.1.9.9.449.1.5.1.1.5',
cEigrpMeanSrtt => '1.3.6.1.4.1.9.9.449.1.5.1.1.6',
cEigrpPacingReliable => '1.3.6.1.4.1.9.9.449.1.5.1.1.7',
cEigrpPacingUnreliable => '1.3.6.1.4.1.9.9.449.1.5.1.1.8',
cEigrpMFlowTimer => '1.3.6.1.4.1.9.9.449.1.5.1.1.9',
cEigrpPendingRoutes => '1.3.6.1.4.1.9.9.449.1.5.1.1.10',
cEigrpHelloInterval => '1.3.6.1.4.1.9.9.449.1.5.1.1.11',
cEigrpXmitNextSerial => '1.3.6.1.4.1.9.9.449.1.5.1.1.12',
cEigrpUMcasts => '1.3.6.1.4.1.9.9.449.1.5.1.1.13',
cEigrpRMcasts => '1.3.6.1.4.1.9.9.449.1.5.1.1.14',
cEigrpUUcasts => '1.3.6.1.4.1.9.9.449.1.5.1.1.15',
cEigrpRUcasts => '1.3.6.1.4.1.9.9.449.1.5.1.1.16',
cEigrpMcastExcepts => '1.3.6.1.4.1.9.9.449.1.5.1.1.17',
cEigrpCRpkts => '1.3.6.1.4.1.9.9.449.1.5.1.1.18',
cEigrpAcksSuppressed => '1.3.6.1.4.1.9.9.449.1.5.1.1.19',
cEigrpRetransSent => '1.3.6.1.4.1.9.9.449.1.5.1.1.20',
cEigrpOOSrvcd => '1.3.6.1.4.1.9.9.449.1.5.1.1.21',
cEigrpAuthMode => '1.3.6.1.4.1.9.9.449.1.5.1.1.22',
cEigrpAuthModeDefinition => 'CISCO-EIGRP-MIB::cEigrpAuthMode',
cEigrpAuthKeyChain => '1.3.6.1.4.1.9.9.449.1.5.1.1.23',
cEigrpMIBConformance => '1.3.6.1.4.1.9.9.449.2',
cEigrpMIBCompliances => '1.3.6.1.4.1.9.9.449.2.1',
cEigrpMIBGroups => '1.3.6.1.4.1.9.9.449.2.2',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCO-EIGRP-MIB'} = {
cEigrpAuthMode => {
'1' => 'none',
'2' => 'md5',
},
cEigrpUpTime => sub {
my ($uptime) = @_;
# If the up time is less than 24 hours, the number
# of days will not be reflected and the string will
# be formatted like this: 'hh:mm:ss', reflecting
# hours, minutes, and seconds.
#
# If the up time is greater than 24 hours, EIGRP is
# less precise and the minutes and seconds are not
# reflected. Instead only the days and hours are shown
# and the string will be formatted like this: 'xxxdxxh'."
#
# Aha, und wie erklaerst du dir das hier????
# 17w3d 6w5d 1y4w
if ($uptime =~ /(\d+)y(\d+)w/) {
return $1 * 365*24*3600 + $2 * 7*24*3600;
} elsif ($uptime =~ /(\d+)w(\d+)d/) {
return $1 * 7*24*3600 + $2 * 24*3600;
} elsif ($uptime =~ /(\d+)d(\d+)h/) {
return $1 * 24*3600 + $2 * 3600;
} elsif ($uptime =~ /(\d+):(\d+):(\d+)/) {
return $1 * 3600 + $2 * 60 + $3;
}
},
};

View file

@ -0,0 +1,281 @@
package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOLWAPPHAMIB;
# -- CISCO-LWAPP-HA-MIB.my :
# -- Jan 2012, Gayathri
# --
# -- Copyright (c) 2007, 2014-2015 by Cisco Systems, Inc.
# LAST-UPDATED "201201051150Z"
# ...
# REVISION "201201241150Z"
# DESCRIPTION
# "Initial version of this MIB module. "
# ::= { ciscoMgmt 198888 }
#
# ...und irgendwann taucht dann das hier auf. Einfach so.
# Sowas kommt zufällig ans Tageslicht, weil ein check_nwc_health-Anwender
# seinen WLC von 8.5.135.0 auf Version 8.10.121.0 updatet und dadurch
# 1.3.6.1.4.1.9.9.198888 durch 1.3.6.1.4.1.9.9.843 ersetzt wurde.
#
# -- CISCO-LWAPP-HA-MIB.my :
# -- Jan 2012, Gayathri <--- Pappnase
# --
# -- Copyright (c) 2017-2018 by Cisco Systems, Inc.
# LAST-UPDATED "201703140000Z"
# ...
# REVISION "201703140000Z"
# DESCRIPTION
# "Initial version of this MIB module."
# ::= { ciscoMgmt 843 }
#
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'CISCO-LWAPP-HA-MIB'} = {
url => '',
name => 'CISCO-LWAPP-HA-MIB',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'CISCO-LWAPP-HA-MIB::2012'} =
'1.3.6.1.4.1.9.9.198888';
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-LWAPP-HA-MIB::2012'} = {
ciscoLwappHaMIB => '1.3.6.1.4.1.9.9.198888',
ciscoLwappHaMIBObjects => '1.3.6.1.4.1.9.9.198888.0',
ciscoLwappHaGlobalConfig => '1.3.6.1.4.1.9.9.198888.0.1',
cLHaApSsoConfig => '1.3.6.1.4.1.9.9.198888.0.1.1',
cLHaPeerIpAddressType => '1.3.6.1.4.1.9.9.198888.0.1.2',
cLHaPeerIpAddressTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
cLHaPeerIpAddress => '1.3.6.1.4.1.9.9.198888.0.1.3',
cLHaPeerIpAddressDefinition => 'INET-ADDRESS-MIB::InetAddress(cLHaPeerIpAddressType)',
cLHaServicePortPeerIpAddressType => '1.3.6.1.4.1.9.9.198888.0.1.4',
cLHaServicePortPeerIpAddressTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
cLHaServicePortPeerIpAddress => '1.3.6.1.4.1.9.9.198888.0.1.5',
cLHaServicePortPeerIpAddressDefinition => 'INET-ADDRESS-MIB::InetAddress(cLHaServicePortPeerIpAddressType)',
cLHaServicePortPeerIpNetMaskType => '1.3.6.1.4.1.9.9.198888.0.1.6',
cLHaServicePortPeerIpNetMaskTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
cLHaServicePortPeerIpNetMask => '1.3.6.1.4.1.9.9.198888.0.1.7',
cLHaServicePortPeerIpNetMaskDefinition => 'INET-ADDRESS-MIB::InetAddress(cLHaServicePortPeerIpNetMaskType)',
cLHaRedundancyIpAddressType => '1.3.6.1.4.1.9.9.198888.0.1.8',
cLHaRedundancyIpAddressTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
cLHaRedundancyIpAddress => '1.3.6.1.4.1.9.9.198888.0.1.9',
cLHaRedundancyIpAddressDefinition => 'INET-ADDRESS-MIB::InetAddress(cLHaRedundancyIpAddressType)',
cLHaPeerMacAddress => '1.3.6.1.4.1.9.9.198888.0.1.10',
cLHaVirtualMacAddress => '1.3.6.1.4.1.9.9.198888.0.1.11',
cLHaPrimaryUnit => '1.3.6.1.4.1.9.9.198888.0.1.12',
cLHaPrimaryUnitDefinition => 'SNMPv2-TC-v1-MIB::TruthValue',
cLHaLinkEncryption => '1.3.6.1.4.1.9.9.198888.0.1.13',
cLHaNetworkFailOver => '1.3.6.1.4.1.9.9.198888.0.1.14',
cLHaNetworkFailOverDefinition => 'SNMPv2-TC-v1-MIB::TruthValue',
cLHaRFStatusUnitIp => '1.3.6.1.4.1.9.9.198888.0.1.15',
cLHaKATimeout => '1.3.6.1.4.1.9.9.198888.0.1.16',
cLHaKARetryCount => '1.3.6.1.4.1.9.9.198888.0.1.17',
cLHaGwRetryCount => '1.3.6.1.4.1.9.9.198888.0.1.18',
cLHaPeerSearchTimeout => '1.3.6.1.4.1.9.9.198888.0.1.19',
ciscoLwappHaNetworkConfig => '1.3.6.1.4.1.9.9.198888.0.2',
cLHaNetworkRoutePeerConfigTable => '1.3.6.1.4.1.9.9.198888.0.2.1',
cLHaNetworkRoutePeerConfigEntry => '1.3.6.1.4.1.9.9.198888.0.2.1.1',
cLHaNetworkRoutePeerIPAddressType => '1.3.6.1.4.1.9.9.198888.0.2.1.1.1',
cLHaNetworkRoutePeerIPAddressTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
cLHaNetworkRoutePeerIPAddress => '1.3.6.1.4.1.9.9.198888.0.2.1.1.2',
cLHaNetworkRoutePeerIPAddressDefinition => 'INET-ADDRESS-MIB::InetAddress(cLHaNetworkRoutePeerIPAddressType)',
cLHaNetworkRoutePeerIPNetmaskType => '1.3.6.1.4.1.9.9.198888.0.2.1.1.3',
cLHaNetworkRoutePeerIPNetmaskTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
cLHaNetworkRoutePeerIPNetmask => '1.3.6.1.4.1.9.9.198888.0.2.1.1.4',
cLHaNetworkRoutePeerIPNetmaskDefinition => 'INET-ADDRESS-MIB::InetAddress(cLHaNetworkRoutePeerIPNetmaskType)',
cLHaNetworkRoutePeerGatewayType => '1.3.6.1.4.1.9.9.198888.0.2.1.1.5',
cLHaNetworkRoutePeerGatewayTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
cLHaNetworkRoutePeerGateway => '1.3.6.1.4.1.9.9.198888.0.2.1.1.6',
cLHaNetworkRoutePeerGatewayDefinition => 'INET-ADDRESS-MIB::InetAddress(cLHaNetworkRoutePeerGatewayType)',
cLHaNetworkRoutePeerTransferStatus => '1.3.6.1.4.1.9.9.198888.0.2.1.1.7',
cLHaNetworkRoutePeerTransferStatusDefinition => 'CISCO-LWAPP-HA-MIB::cLHaNetworkRoutePeerTransferStatus',
cLHaNetworkRoutePeerRowStatus => '1.3.6.1.4.1.9.9.198888.0.2.1.1.8',
ciscoLwappHaMIBNotifs => '1.3.6.1.4.1.9.9.198888.0.3',
ciscoLwappHaNotificationVariable => '1.3.6.1.4.1.9.9.198888.0.4',
cLHaSecondaryControllerUsageTrapType => '1.3.6.1.4.1.9.9.198888.0.4.1',
cLHaSecondaryControllerUsageTrapTypeDefinition => 'CISCO-LWAPP-HA-MIB::cLHaSecondaryControllerUsageTrapType',
cLHaSecondaryControllerUsageDayCounter => '1.3.6.1.4.1.9.9.198888.0.4.2',
cLHaBulkSyncCompleteEventStr => '1.3.6.1.4.1.9.9.198888.0.4.3',
cLHaPeerHotStandbyEventStr => '1.3.6.1.4.1.9.9.198888.0.4.4',
ciscoLwappHaPeerStatisticsVariable => '1.3.6.1.4.1.9.9.198888.0.5',
cLHaSystemStatistics => '1.3.6.1.4.1.9.9.198888.0.5.1',
cLHaCpuStatistics => '1.3.6.1.4.1.9.9.198888.0.5.1.1',
cLHaAllCpuUsage => '1.3.6.1.4.1.9.9.198888.0.5.1.1.1',
cLHaPowerSupplyStatistics => '1.3.6.1.4.1.9.9.198888.0.5.1.2',
cLHaPowerSupply1Present => '1.3.6.1.4.1.9.9.198888.0.5.1.2.1',
cLHaPowerSupply1PresentDefinition => 'CISCO-LWAPP-HA-MIB::cLHaPowerSupply1Present',
cLHaPowerSupply1Operational => '1.3.6.1.4.1.9.9.198888.0.5.1.2.2',
cLHaPowerSupply1OperationalDefinition => 'CISCO-LWAPP-HA-MIB::cLHaPowerSupply1Operational',
cLHaPowerSupply2Present => '1.3.6.1.4.1.9.9.198888.0.5.1.2.3',
cLHaPowerSupply2PresentDefinition => 'CISCO-LWAPP-HA-MIB::cLHaPowerSupply2Present',
cLHaPowerSupply2Operational => '1.3.6.1.4.1.9.9.198888.0.5.1.2.4',
cLHaPowerSupply2OperationalDefinition => 'CISCO-LWAPP-HA-MIB::cLHaPowerSupply2Operational',
cLHaMemoryStatistics => '1.3.6.1.4.1.9.9.198888.0.5.1.3',
cLHaTotalSystemMemory => '1.3.6.1.4.1.9.9.198888.0.5.1.3.1',
cLHaFreeSystemMemory => '1.3.6.1.4.1.9.9.198888.0.5.1.3.2',
cLHaUsedSystemMemory => '1.3.6.1.4.1.9.9.198888.0.5.1.3.3',
cLHaAllocatedFromRtos => '1.3.6.1.4.1.9.9.198888.0.5.1.3.4',
cLHaChunksFree => '1.3.6.1.4.1.9.9.198888.0.5.1.3.5',
cLHaMmappedRegions => '1.3.6.1.4.1.9.9.198888.0.5.1.3.6',
cLHaSpaceInMmappedRegions => '1.3.6.1.4.1.9.9.198888.0.5.1.3.7',
cLHaTotalAllocatedSpace => '1.3.6.1.4.1.9.9.198888.0.5.1.3.8',
cLHaTotalNotInUseSpace => '1.3.6.1.4.1.9.9.198888.0.5.1.3.9',
cLHaTopMostReleasableSpace => '1.3.6.1.4.1.9.9.198888.0.5.1.3.10',
cLHaTotalAllocatedInclMmap => '1.3.6.1.4.1.9.9.198888.0.5.1.3.11',
cLHaTotalUsedInclMmap => '1.3.6.1.4.1.9.9.198888.0.5.1.3.12',
cLHaTotalFreeInclMmap => '1.3.6.1.4.1.9.9.198888.0.5.1.3.13',
ciscoLwappHaStatisticsVariable => '1.3.6.1.4.1.9.9.198888.0.6',
cLHaAvgPeerReachLatency => '1.3.6.1.4.1.9.9.198888.0.6.1',
cLHaAvgGwReachLatency => '1.3.6.1.4.1.9.9.198888.0.6.2',
cLHaBulkSyncStatus => '1.3.6.1.4.1.9.9.198888.0.6.3',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCO-LWAPP-HA-MIB::2012'} = {
cLHaSecondaryControllerUsageTrapType => {
'1' => 'usageStart',
'2' => 'usageComplete',
'3' => 'overUsage',
},
cLHaPowerSupply1Present => {
'0' => 'false',
'1' => 'true',
},
cLHaPowerSupply1Operational => {
'0' => 'false',
'1' => 'true',
},
cLHaPowerSupply2Present => {
'0' => 'false',
'1' => 'true',
},
cLHaPowerSupply2Operational => {
'0' => 'false',
'1' => 'true',
},
cLHaNetworkRoutePeerTransferStatus => {
'1' => 'initiate',
'2' => 'inProgress',
'3' => 'success',
'4' => 'failure',
'5' => 'timeout',
},
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'CISCO-LWAPP-HA-MIB::2017'} =
'1.3.6.1.4.1.9.9.843';
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-LWAPP-HA-MIB::2017'} = {
ciscoLwappHaMIB => '1.3.6.1.4.1.9.9.843',
ciscoLwappHaMIBNotifs => '1.3.6.1.4.1.9.9.843.0',
ciscoLwappHaMIBObjects => '1.3.6.1.4.1.9.9.843.1',
ciscoLwappHaGlobalConfig => '1.3.6.1.4.1.9.9.843.1.1',
cLHaApSsoConfig => '1.3.6.1.4.1.9.9.843.1.1.1',
cLHaPeerIpAddressType => '1.3.6.1.4.1.9.9.843.1.1.2',
cLHaPeerIpAddressTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
cLHaPeerIpAddress => '1.3.6.1.4.1.9.9.843.1.1.3',
cLHaPeerIpAddressDefinition => 'INET-ADDRESS-MIB::InetAddress(cLHaPeerIpAddressType)',
cLHaServicePortPeerIpAddressType => '1.3.6.1.4.1.9.9.843.1.1.4',
cLHaServicePortPeerIpAddressTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
cLHaServicePortPeerIpAddress => '1.3.6.1.4.1.9.9.843.1.1.5',
cLHaServicePortPeerIpAddressDefinition => 'INET-ADDRESS-MIB::InetAddress(cLHaServicePortPeerIpAddressType)',
cLHaServicePortPeerIpNetMaskType => '1.3.6.1.4.1.9.9.843.1.1.6',
cLHaServicePortPeerIpNetMaskTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
cLHaServicePortPeerIpNetMask => '1.3.6.1.4.1.9.9.843.1.1.7',
cLHaServicePortPeerIpNetMaskDefinition => 'INET-ADDRESS-MIB::InetAddress(cLHaServicePortPeerIpNetMaskType)',
cLHaRedundancyIpAddressType => '1.3.6.1.4.1.9.9.843.1.1.8',
cLHaRedundancyIpAddressTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
cLHaRedundancyIpAddress => '1.3.6.1.4.1.9.9.843.1.1.9',
cLHaRedundancyIpAddressDefinition => 'INET-ADDRESS-MIB::InetAddress(cLHaRedundancyIpAddressType)',
cLHaPeerMacAddress => '1.3.6.1.4.1.9.9.843.1.1.10',
cLHaVirtualMacAddress => '1.3.6.1.4.1.9.9.843.1.1.11',
cLHaPrimaryUnit => '1.3.6.1.4.1.9.9.843.1.1.12',
cLHaPrimaryUnitDefinition => 'SNMPv2-TC-v1-MIB::TruthValue',
cLHaLinkEncryption => '1.3.6.1.4.1.9.9.843.1.1.13',
cLHaNetworkFailOver => '1.3.6.1.4.1.9.9.843.1.1.14',
cLHaNetworkFailOverDefinition => 'SNMPv2-TC-v1-MIB::TruthValue',
cLHaRFStatusUnitIp => '1.3.6.1.4.1.9.9.843.1.1.15',
cLHaKATimeout => '1.3.6.1.4.1.9.9.843.1.1.16',
cLHaKARetryCount => '1.3.6.1.4.1.9.9.843.1.1.17',
cLHaGwRetryCount => '1.3.6.1.4.1.9.9.843.1.1.18',
cLHaPeerSearchTimeout => '1.3.6.1.4.1.9.9.843.1.1.19',
cLHaRFStatusUnitIpType => '1.3.6.1.4.1.9.9.843.1.1.20',
ciscoLwappHaNetworkConfig => '1.3.6.1.4.1.9.9.843.1.2',
cLHaNetworkRoutePeerConfigTable => '1.3.6.1.4.1.9.9.843.1.2.1',
cLHaNetworkRoutePeerConfigEntry => '1.3.6.1.4.1.9.9.843.1.2.1.1',
cLHaNetworkRoutePeerIPAddressType => '1.3.6.1.4.1.9.9.843.1.2.1.1.1',
cLHaNetworkRoutePeerIPAddressTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
cLHaNetworkRoutePeerIPAddress => '1.3.6.1.4.1.9.9.843.1.2.1.1.2',
cLHaNetworkRoutePeerIPAddressDefinition => 'INET-ADDRESS-MIB::InetAddress(cLHaNetworkRoutePeerIPAddressType)',
cLHaNetworkRoutePeerIPNetmaskType => '1.3.6.1.4.1.9.9.843.1.2.1.1.3',
cLHaNetworkRoutePeerIPNetmaskTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
cLHaNetworkRoutePeerIPNetmask => '1.3.6.1.4.1.9.9.843.1.2.1.1.4',
cLHaNetworkRoutePeerIPNetmaskDefinition => 'INET-ADDRESS-MIB::InetAddress(cLHaNetworkRoutePeerIPNetmaskType)',
cLHaNetworkRoutePeerGatewayType => '1.3.6.1.4.1.9.9.843.1.2.1.1.5',
cLHaNetworkRoutePeerGatewayTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
cLHaNetworkRoutePeerGateway => '1.3.6.1.4.1.9.9.843.1.2.1.1.6',
cLHaNetworkRoutePeerGatewayDefinition => 'INET-ADDRESS-MIB::InetAddress(cLHaNetworkRoutePeerGatewayType)',
cLHaNetworkRoutePeerTransferStatus => '1.3.6.1.4.1.9.9.843.1.2.1.1.7',
cLHaNetworkRoutePeerTransferStatusDefinition => 'CISCO-LWAPP-HA-MIB::cLHaNetworkRoutePeerTransferStatus',
cLHaNetworkRoutePeerRowStatus => '1.3.6.1.4.1.9.9.843.1.2.1.1.8',
ciscoLwappHaNotificationVariable => '1.3.6.1.4.1.9.9.843.1.3',
cLHaSecondaryControllerUsageTrapType => '1.3.6.1.4.1.9.9.843.1.3.1',
cLHaSecondaryControllerUsageTrapTypeDefinition => 'CISCO-LWAPP-HA-MIB::cLHaSecondaryControllerUsageTrapType',
cLHaSecondaryControllerUsageDayCounter => '1.3.6.1.4.1.9.9.843.1.3.2',
cLHaBulkSyncCompleteEvent => '1.3.6.1.4.1.9.9.843.1.3.3',
cLHaBulkSyncCompleteEventDefinition => 'CISCO-LWAPP-HA-MIB::cLHaBulkSyncCompleteEvent',
cLHaPeerHotStandbyEvent => '1.3.6.1.4.1.9.9.843.1.3.4',
cLHaPeerHotStandbyEventDefinition => 'CISCO-LWAPP-HA-MIB::cLHaPeerHotStandbyEvent',
ciscoLwappHaPeerStatisticsVariable => '1.3.6.1.4.1.9.9.843.1.4',
ciscoLwappHaSystemStatistics => '1.3.6.1.4.1.9.9.843.1.4.1',
ciscoLwappHaCpuStatistics => '1.3.6.1.4.1.9.9.843.1.4.1.1',
cLHaAllCpuUsage => '1.3.6.1.4.1.9.9.843.1.4.1.1.1',
ciscoLwappHaPowerSupplyStatistics => '1.3.6.1.4.1.9.9.843.1.4.1.2',
cLHaPowerSupply1Present => '1.3.6.1.4.1.9.9.843.1.4.1.2.1',
cLHaPowerSupply1PresentDefinition => 'CISCO-LWAPP-HA-MIB::cLHaPowerSupply1Present',
cLHaPowerSupply1Operational => '1.3.6.1.4.1.9.9.843.1.4.1.2.2',
cLHaPowerSupply1OperationalDefinition => 'CISCO-LWAPP-HA-MIB::cLHaPowerSupply1Operational',
cLHaPowerSupply2Present => '1.3.6.1.4.1.9.9.843.1.4.1.2.3',
cLHaPowerSupply2PresentDefinition => 'CISCO-LWAPP-HA-MIB::cLHaPowerSupply2Present',
cLHaPowerSupply2Operational => '1.3.6.1.4.1.9.9.843.1.4.1.2.4',
cLHaPowerSupply2OperationalDefinition => 'CISCO-LWAPP-HA-MIB::cLHaPowerSupply2Operational',
ciscoLwappHaMemoryStatistics => '1.3.6.1.4.1.9.9.843.1.4.1.3',
cLHaTotalSystemMemory => '1.3.6.1.4.1.9.9.843.1.4.1.3.1',
cLHaFreeSystemMemory => '1.3.6.1.4.1.9.9.843.1.4.1.3.2',
cLHaUsedSystemMemory => '1.3.6.1.4.1.9.9.843.1.4.1.3.3',
cLHaAllocatedFromRtos => '1.3.6.1.4.1.9.9.843.1.4.1.3.4',
cLHaChunksFree => '1.3.6.1.4.1.9.9.843.1.4.1.3.5',
cLHaMmappedRegions => '1.3.6.1.4.1.9.9.843.1.4.1.3.6',
cLHaSpaceInMmappedRegions => '1.3.6.1.4.1.9.9.843.1.4.1.3.7',
cLHaTotalAllocatedSpace => '1.3.6.1.4.1.9.9.843.1.4.1.3.8',
cLHaTotalNotInUseSpace => '1.3.6.1.4.1.9.9.843.1.4.1.3.9',
cLHaTopMostReleasableSpace => '1.3.6.1.4.1.9.9.843.1.4.1.3.10',
cLHaTotalAllocatedInclMmap => '1.3.6.1.4.1.9.9.843.1.4.1.3.11',
cLHaTotalUsedMmap => '1.3.6.1.4.1.9.9.843.1.4.1.3.12',
cLHaTotalFreeInclMmap => '1.3.6.1.4.1.9.9.843.1.4.1.3.13',
ciscoLwappHaStatisticsVariable => '1.3.6.1.4.1.9.9.843.1.5',
cLHaAvgPeerReachLatency => '1.3.6.1.4.1.9.9.843.1.5.1',
cLHaAvgGwReachLatency => '1.3.6.1.4.1.9.9.843.1.5.2',
cLHaBulkSyncStatus => '1.3.6.1.4.1.9.9.843.1.5.3',
ciscoLwappHaMIBConform => '1.3.6.1.4.1.9.9.843.2',
ciscoLwappHaMIBCompliances => '1.3.6.1.4.1.9.9.843.2.1',
ciscoLwappHaMIBGroups => '1.3.6.1.4.1.9.9.843.2.2',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCO-LWAPP-HA-MIB::2017'} = {
cLHaNetworkRoutePeerTransferStatus => {
'1' => 'initiate',
'2' => 'inProgress',
'3' => 'success',
'4' => 'failure',
'5' => 'timeout',
},
cLHaPeerHotStandbyEvent => {
'1' => 'haPeerHotstandby',
},
cLHaBulkSyncCompleteEvent => {
'1' => 'bulkSyncComplete',
},
cLHaSecondaryControllerUsageTrapType => {
'1' => 'usageStart',
'2' => 'usageComplete',
'3' => 'overUsage',
},
};

View file

@ -0,0 +1,230 @@
package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOREMOTEACCESSMONITORMIB;
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'CISCO-REMOTE-ACCESS-MONITOR-MIB'} = {
url => '',
name => 'CISCO-REMOTE-ACCESS-MONITOR-MIB',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'CISCO-REMOTE-ACCESS-MONITOR-MIB'} =
'1.3.6.1.4.1.9.9.392';
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-REMOTE-ACCESS-MONITOR-MIB'} = {
ciscoRemoteAccessMonitorMIB => '1.3.6.1.4.1.9.9.392',
ciscoRasMonitorMIBNotifs => '1.3.6.1.4.1.9.9.392.0',
ciscoRasMonitorMIBObjects => '1.3.6.1.4.1.9.9.392.1',
crasCapacity => '1.3.6.1.4.1.9.9.392.1.1',
crasMaxSessionsSupportable => '1.3.6.1.4.1.9.9.392.1.1.1',
crasMaxUsersSupportable => '1.3.6.1.4.1.9.9.392.1.1.2',
crasMaxGroupsSupportable => '1.3.6.1.4.1.9.9.392.1.1.3',
crasNumCryptoAccelerators => '1.3.6.1.4.1.9.9.392.1.1.4',
crasResourceUsage => '1.3.6.1.4.1.9.9.392.1.2',
crasGlobalBwUsage => '1.3.6.1.4.1.9.9.392.1.2.1',
crasActivity => '1.3.6.1.4.1.9.9.392.1.3',
crasNumSessions => '1.3.6.1.4.1.9.9.392.1.3.1',
crasNumPrevSessions => '1.3.6.1.4.1.9.9.392.1.3.2',
crasNumUsers => '1.3.6.1.4.1.9.9.392.1.3.3',
crasNumGroups => '1.3.6.1.4.1.9.9.392.1.3.4',
crasGlobalInPkts => '1.3.6.1.4.1.9.9.392.1.3.5',
crasGlobalOutPkts => '1.3.6.1.4.1.9.9.392.1.3.6',
crasGlobalInOctets => '1.3.6.1.4.1.9.9.392.1.3.7',
crasGlobalInDecompOctets => '1.3.6.1.4.1.9.9.392.1.3.8',
crasGlobalOutOctets => '1.3.6.1.4.1.9.9.392.1.3.9',
crasGlobalOutUncompOctets => '1.3.6.1.4.1.9.9.392.1.3.10',
crasGlobalInDropPkts => '1.3.6.1.4.1.9.9.392.1.3.11',
crasGlobalOutDropPkts => '1.3.6.1.4.1.9.9.392.1.3.12',
crasSessionTable => '1.3.6.1.4.1.9.9.392.1.3.21',
crasSessionEntry => '1.3.6.1.4.1.9.9.392.1.3.21.1',
crasUsername => '1.3.6.1.4.1.9.9.392.1.3.21.1.1',
crasGroup => '1.3.6.1.4.1.9.9.392.1.3.21.1.2',
crasSessionIndex => '1.3.6.1.4.1.9.9.392.1.3.21.1.3',
crasAuthenMethod => '1.3.6.1.4.1.9.9.392.1.3.21.1.4',
crasAuthenMethodDefinition => 'CISCO-REMOTE-ACCESS-MONITOR-MIB::UserAuthenMethod',
crasAuthorMethod => '1.3.6.1.4.1.9.9.392.1.3.21.1.5',
crasAuthorMethodDefinition => 'CISCO-REMOTE-ACCESS-MONITOR-MIB::UserAuthorMethod',
crasSessionDuration => '1.3.6.1.4.1.9.9.392.1.3.21.1.6',
crasLocalAddressType => '1.3.6.1.4.1.9.9.392.1.3.21.1.7',
crasLocalAddress => '1.3.6.1.4.1.9.9.392.1.3.21.1.8',
crasISPAddressType => '1.3.6.1.4.1.9.9.392.1.3.21.1.9',
crasISPAddress => '1.3.6.1.4.1.9.9.392.1.3.21.1.10',
crasSessionProtocol => '1.3.6.1.4.1.9.9.392.1.3.21.1.11',
crasSessionProtocolDefinition => 'CISCO-REMOTE-ACCESS-MONITOR-MIB::RasProtocol',
crasProtocolElement => '1.3.6.1.4.1.9.9.392.1.3.21.1.12',
crasSessionEncryptionAlgo => '1.3.6.1.4.1.9.9.392.1.3.21.1.13',
crasSessionEncryptionAlgoDefinition => 'CISCO-REMOTE-ACCESS-MONITOR-MIB::SessionEncrAlgo',
crasSessionPktAuthenAlgo => '1.3.6.1.4.1.9.9.392.1.3.21.1.14',
crasSessionPktAuthenAlgoDefinition => 'CISCO-REMOTE-ACCESS-MONITOR-MIB::SessionAuthAlgo',
crasSessionCompressionAlgo => '1.3.6.1.4.1.9.9.392.1.3.21.1.15',
crasSessionCompressionAlgoDefinition => 'CISCO-REMOTE-ACCESS-MONITOR-MIB::SessionCompressionAlgo',
crasHeartbeatInterval => '1.3.6.1.4.1.9.9.392.1.3.21.1.16',
crasClientVendorString => '1.3.6.1.4.1.9.9.392.1.3.21.1.17',
crasClientVersionString => '1.3.6.1.4.1.9.9.392.1.3.21.1.18',
crasClientOSVendorString => '1.3.6.1.4.1.9.9.392.1.3.21.1.19',
crasClientOSVersionString => '1.3.6.1.4.1.9.9.392.1.3.21.1.20',
crasPrimWINSServerAddrType => '1.3.6.1.4.1.9.9.392.1.3.21.1.21',
crasPrimWINSServer => '1.3.6.1.4.1.9.9.392.1.3.21.1.22',
crasSecWINSServerAddrType => '1.3.6.1.4.1.9.9.392.1.3.21.1.23',
crasSecWINSServer => '1.3.6.1.4.1.9.9.392.1.3.21.1.24',
crasPrimDNSServerAddrType => '1.3.6.1.4.1.9.9.392.1.3.21.1.25',
crasPrimDNSServer => '1.3.6.1.4.1.9.9.392.1.3.21.1.26',
crasSecDNSServerAddrType => '1.3.6.1.4.1.9.9.392.1.3.21.1.27',
crasSecDNSServer => '1.3.6.1.4.1.9.9.392.1.3.21.1.28',
crasDHCPServerAddrType => '1.3.6.1.4.1.9.9.392.1.3.21.1.29',
crasDHCPServer => '1.3.6.1.4.1.9.9.392.1.3.21.1.30',
crasSessionInPkts => '1.3.6.1.4.1.9.9.392.1.3.21.1.31',
crasSessionOutPkts => '1.3.6.1.4.1.9.9.392.1.3.21.1.32',
crasSessionInDropPkts => '1.3.6.1.4.1.9.9.392.1.3.21.1.33',
crasSessionOutDropPkts => '1.3.6.1.4.1.9.9.392.1.3.21.1.34',
crasSessionInOctets => '1.3.6.1.4.1.9.9.392.1.3.21.1.35',
crasSessionOutOctets => '1.3.6.1.4.1.9.9.392.1.3.21.1.36',
crasSessionState => '1.3.6.1.4.1.9.9.392.1.3.21.1.37',
crasSessionStateDefinition => 'CISCO-REMOTE-ACCESS-MONITOR-MIB::SessionStatus',
crasActGroupTable => '1.3.6.1.4.1.9.9.392.1.3.22',
crasActGroupEntry => '1.3.6.1.4.1.9.9.392.1.3.22.1',
crasActGrpName => '1.3.6.1.4.1.9.9.392.1.3.22.1.1',
crasActGrNumUsers => '1.3.6.1.4.1.9.9.392.1.3.22.1.2',
crasActGrpInPkts => '1.3.6.1.4.1.9.9.392.1.3.22.1.3',
crasActGrpOutPkts => '1.3.6.1.4.1.9.9.392.1.3.22.1.4',
crasActGrpInDropPkts => '1.3.6.1.4.1.9.9.392.1.3.22.1.5',
crasActGrpOutDropPkts => '1.3.6.1.4.1.9.9.392.1.3.22.1.6',
crasActGrpInOctets => '1.3.6.1.4.1.9.9.392.1.3.22.1.7',
crasActGrpOutOctets => '1.3.6.1.4.1.9.9.392.1.3.22.1.8',
crasEmailNumSessions => '1.3.6.1.4.1.9.9.392.1.3.23',
crasEmailCumulateSessions => '1.3.6.1.4.1.9.9.392.1.3.24',
crasEmailPeakConcurrentSessions => '1.3.6.1.4.1.9.9.392.1.3.25',
crasIPSecNumSessions => '1.3.6.1.4.1.9.9.392.1.3.26',
crasIPSecCumulateSessions => '1.3.6.1.4.1.9.9.392.1.3.27',
crasIPSecPeakConcurrentSessions => '1.3.6.1.4.1.9.9.392.1.3.28',
crasL2LNumSessions => '1.3.6.1.4.1.9.9.392.1.3.29',
crasL2LCumulateSessions => '1.3.6.1.4.1.9.9.392.1.3.30',
crasL2LPeakConcurrentSessions => '1.3.6.1.4.1.9.9.392.1.3.31',
crasLBNumSessions => '1.3.6.1.4.1.9.9.392.1.3.32',
crasLBCumulateSessions => '1.3.6.1.4.1.9.9.392.1.3.33',
crasLBPeakConcurrentSessions => '1.3.6.1.4.1.9.9.392.1.3.34',
crasSVCNumSessions => '1.3.6.1.4.1.9.9.392.1.3.35',
crasSVCCumulateSessions => '1.3.6.1.4.1.9.9.392.1.3.36',
crasSVCPeakConcurrentSessions => '1.3.6.1.4.1.9.9.392.1.3.37',
crasWebvpnNumSessions => '1.3.6.1.4.1.9.9.392.1.3.38',
crasWebvpnCumulateSessions => '1.3.6.1.4.1.9.9.392.1.3.39',
crasWebvpnPeakConcurrentSessions => '1.3.6.1.4.1.9.9.392.1.3.40',
crasFailures => '1.3.6.1.4.1.9.9.392.1.4',
crasFailuresGlobals => '1.3.6.1.4.1.9.9.392.1.4.1',
crasNumTotalFailures => '1.3.6.1.4.1.9.9.392.1.4.1.1',
crasNumDeclinedSessions => '1.3.6.1.4.1.9.9.392.1.4.1.2',
crasNumSetupFailInsufResources => '1.3.6.1.4.1.9.9.392.1.4.1.3',
crasNumAbortedSessions => '1.3.6.1.4.1.9.9.392.1.4.1.4',
crasFailGlobalCntl => '1.3.6.1.4.1.9.9.392.1.4.2',
crasFailTableSize => '1.3.6.1.4.1.9.9.392.1.4.2.1',
crasSessFailures => '1.3.6.1.4.1.9.9.392.1.4.3',
crasSessFailTable => '1.3.6.1.4.1.9.9.392.1.4.3.1',
crasSessFailEntry => '1.3.6.1.4.1.9.9.392.1.4.3.1.1',
crasSessFailIndex => '1.3.6.1.4.1.9.9.392.1.4.3.1.1.1',
crasSessFailUsername => '1.3.6.1.4.1.9.9.392.1.4.3.1.1.2',
crasSessFailGroupname => '1.3.6.1.4.1.9.9.392.1.4.3.1.1.3',
crasSessFailType => '1.3.6.1.4.1.9.9.392.1.4.3.1.1.4',
crasSessFailTypeDefinition => 'CISCO-REMOTE-ACCESS-MONITOR-MIB::crasSessFailType',
crasSessFailReason => '1.3.6.1.4.1.9.9.392.1.4.3.1.1.5',
crasSessFailReasonDefinition => 'CISCO-REMOTE-ACCESS-MONITOR-MIB::crasSessFailReason',
crasSessFailTime => '1.3.6.1.4.1.9.9.392.1.4.3.1.1.6',
crasSessFailSessionIndex => '1.3.6.1.4.1.9.9.392.1.4.3.1.1.7',
crasSessFailISPAddrType => '1.3.6.1.4.1.9.9.392.1.4.3.1.1.8',
crasSessFailISPAddr => '1.3.6.1.4.1.9.9.392.1.4.3.1.1.9',
crasSessFailLocalAddrType => '1.3.6.1.4.1.9.9.392.1.4.3.1.1.10',
crasSessFailLocalAddr => '1.3.6.1.4.1.9.9.392.1.4.3.1.1.11',
crasFailLastFailIndex => '1.3.6.1.4.1.9.9.392.1.4.3.2',
crasGroupFailures => '1.3.6.1.4.1.9.9.392.1.4.4',
crasGrpFailTable => '1.3.6.1.4.1.9.9.392.1.4.4.1',
crasGrpFailEntry => '1.3.6.1.4.1.9.9.392.1.4.4.1.1',
crasGrpFailGroupname => '1.3.6.1.4.1.9.9.392.1.4.4.1.1.1',
crasGrpFailNumFailAuths => '1.3.6.1.4.1.9.9.392.1.4.4.1.1.2',
crasGrpFailNumResourceFailures => '1.3.6.1.4.1.9.9.392.1.4.4.1.1.3',
crasGrpFailNumDeclined => '1.3.6.1.4.1.9.9.392.1.4.4.1.1.4',
crasGrpFailNumTerminatedMgmt => '1.3.6.1.4.1.9.9.392.1.4.4.1.1.5',
crasGrpFailNumTerminatedOther => '1.3.6.1.4.1.9.9.392.1.4.4.1.1.6',
crasSecurity => '1.3.6.1.4.1.9.9.392.1.5',
crasSecurityGlobals => '1.3.6.1.4.1.9.9.392.1.5.1',
crasNumDisabledAccounts => '1.3.6.1.4.1.9.9.392.1.5.1.1',
crasThresholds => '1.3.6.1.4.1.9.9.392.1.6',
crasThrMaxSessions => '1.3.6.1.4.1.9.9.392.1.6.1',
crasThrMaxFailedAuths => '1.3.6.1.4.1.9.9.392.1.6.2',
crasThrMaxThroughput => '1.3.6.1.4.1.9.9.392.1.6.3',
crasNotifCntl => '1.3.6.1.4.1.9.9.392.1.7',
crasCntlTooManySessions => '1.3.6.1.4.1.9.9.392.1.7.1',
crasCntlTooManyFailedAuths => '1.3.6.1.4.1.9.9.392.1.7.2',
crasCntlTooHighThroughput => '1.3.6.1.4.1.9.9.392.1.7.3',
ciscoRasMonitorMIBConform => '1.3.6.1.4.1.9.9.392.2',
ciscoRasMonitorMIBCompliances => '1.3.6.1.4.1.9.9.392.2.1',
ciscoRasMonitorMIBGroups => '1.3.6.1.4.1.9.9.392.2.2',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCO-REMOTE-ACCESS-MONITOR-MIB'} = {
SessionEncrAlgo => {
'1' => 'none',
'2' => 'des',
'3' => 'des3',
'4' => 'rc4',
'5' => 'rc5',
'6' => 'idea',
'7' => 'cast',
'8' => 'blowfish',
'9' => 'aes',
},
crasSessFailType => {
'1' => 'setupFailure',
'2' => 'operationalFailure',
},
RasProtocol => {
'1' => 'other',
'2' => 'ipsec',
'3' => 'l2tp',
'4' => 'l2tpoveripsec',
'5' => 'pptp',
'6' => 'l2f',
'7' => 'ssl',
},
SessionStatus => {
'1' => 'initializing',
'2' => 'established',
'3' => 'terminating',
},
UserAuthenMethod => {
'1' => 'none',
'2' => 'other',
'3' => 'radius',
'4' => 'tacacsplus',
'5' => 'kerberos',
'6' => 'local',
'7' => 'ldap',
'8' => 'ntlm',
'9' => 'sdi',
},
SessionCompressionAlgo => {
'1' => 'none',
'2' => 'other',
'3' => 'lzs',
},
SessionAuthAlgo => {
'1' => 'none',
'2' => 'other',
'3' => 'hmacMd5',
'4' => 'hmacSha',
},
UserAuthorMethod => {
'1' => 'none',
'2' => 'other',
'3' => 'radius',
'4' => 'tacacsplus',
'5' => 'kerberos',
'6' => 'local',
'7' => 'ldap',
},
crasSessFailReason => {
'1' => 'other',
'2' => 'internalError',
'3' => 'authenticationFailure',
'4' => 'authorizationFailure',
'5' => 'sysCapExceeded',
'6' => 'peerAbortRequest',
'7' => 'peerLost',
'8' => 'operRequest',
},
};

View file

@ -0,0 +1,71 @@
package Monitoring::GLPlugin::SNMP::MibsAndOids::ENTITYSENSORMIB;
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'ENTITY-SENSOR-MIB'} = {
url => '',
name => 'ENTITY-SENSOR-MIB',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'ENTITY-SENSOR-MIB'} =
'1.3.6.1.2.1.99';
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'ENTITY-SENSOR-MIB'} = {
entitySensorMIB => '1.3.6.1.2.1.99',
entitySensorObjects => '1.3.6.1.2.1.99.1',
entPhySensorTable => '1.3.6.1.2.1.99.1.1',
entPhySensorEntry => '1.3.6.1.2.1.99.1.1.1',
entPhySensorType => '1.3.6.1.2.1.99.1.1.1.1',
entPhySensorTypeDefinition => 'ENTITY-SENSOR-MIB::EntitySensorDataType',
entPhySensorScale => '1.3.6.1.2.1.99.1.1.1.2',
entPhySensorScaleDefinition => 'ENTITY-SENSOR-MIB::EntitySensorDataScale',
entPhySensorPrecision => '1.3.6.1.2.1.99.1.1.1.3',
entPhySensorValue => '1.3.6.1.2.1.99.1.1.1.4',
entPhySensorOperStatus => '1.3.6.1.2.1.99.1.1.1.5',
entPhySensorOperStatusDefinition => 'ENTITY-SENSOR-MIB::EntitySensorStatus',
entPhySensorUnitsDisplay => '1.3.6.1.2.1.99.1.1.1.6',
entPhySensorValueTimeStamp => '1.3.6.1.2.1.99.1.1.1.7',
entPhySensorValueUpdateRate => '1.3.6.1.2.1.99.1.1.1.8',
entitySensorConformance => '1.3.6.1.2.1.99.3',
entitySensorCompliances => '1.3.6.1.2.1.99.3.1',
entitySensorGroups => '1.3.6.1.2.1.99.3.2',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'ENTITY-SENSOR-MIB'} = {
EntitySensorDataType => {
'1' => 'other',
'2' => 'unknown',
'3' => 'voltsAC',
'4' => 'voltsDC',
'5' => 'amperes',
'6' => 'watts',
'7' => 'hertz',
'8' => 'celsius',
'9' => 'percentRH',
'10' => 'rpm',
'11' => 'cmm',
'12' => 'truthvalue',
},
EntitySensorDataScale => {
'1' => 'yocto',
'2' => 'zepto',
'3' => 'atto',
'4' => 'femto',
'5' => 'pico',
'6' => 'nano',
'7' => 'micro',
'8' => 'milli',
'9' => 'units',
'10' => 'kilo',
'11' => 'mega',
'12' => 'giga',
'13' => 'tera',
'14' => 'exa',
'15' => 'peta',
'16' => 'zetta',
'17' => 'yotta',
},
EntitySensorStatus => {
'1' => 'ok',
'2' => 'unavailable',
'3' => 'nonoperational',
},
};

View file

@ -0,0 +1,395 @@
package Monitoring::GLPlugin::SNMP::MibsAndOids::F5BIGIPAPMMIB;
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'F5-BIGIP-APM-MIB'} = {
url => '',
name => 'F5-BIGIP-APM-MIB',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'F5-BIGIP-APM-MIB'} =
'1.3.6.1.4.1.3375.2.6';
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'F5-BIGIP-APM-MIB'} = {
bigipApm => '1.3.6.1.4.1.3375.2.6',
apmProfiles => '1.3.6.1.4.1.3375.2.6.1',
apmProfileAccessStat => '1.3.6.1.4.1.3375.2.6.1.1',
apmPaStatResetStats => '1.3.6.1.4.1.3375.2.6.1.1.1',
apmPaStatNumber => '1.3.6.1.4.1.3375.2.6.1.1.2',
apmPaStatTable => '1.3.6.1.4.1.3375.2.6.1.1.3',
apmPaStatEntry => '1.3.6.1.4.1.3375.2.6.1.1.3.1',
apmPaStatName => '1.3.6.1.4.1.3375.2.6.1.1.3.1.1',
apmPaStatConfigSyncState => '1.3.6.1.4.1.3375.2.6.1.1.3.1.2',
apmPaStatTotalSessions => '1.3.6.1.4.1.3375.2.6.1.1.3.1.3',
apmPaStatTotalEstablishedStateSessions => '1.3.6.1.4.1.3375.2.6.1.1.3.1.4',
apmPaStatCurrentActiveSessions => '1.3.6.1.4.1.3375.2.6.1.1.3.1.5',
apmPaStatCurrentPendingSessions => '1.3.6.1.4.1.3375.2.6.1.1.3.1.6',
apmPaStatCurrentCompletedSessions => '1.3.6.1.4.1.3375.2.6.1.1.3.1.7',
apmPaStatUserLoggedoutSessions => '1.3.6.1.4.1.3375.2.6.1.1.3.1.8',
apmPaStatAdminTerminatedSessions => '1.3.6.1.4.1.3375.2.6.1.1.3.1.9',
apmPaStatMiscTerminatedSessions => '1.3.6.1.4.1.3375.2.6.1.1.3.1.10',
apmPaStatAccessPolicyResultAllow => '1.3.6.1.4.1.3375.2.6.1.1.3.1.11',
apmPaStatAccessPolicyResultDeny => '1.3.6.1.4.1.3375.2.6.1.1.3.1.12',
apmPaStatAccessPolicyResultRedirect => '1.3.6.1.4.1.3375.2.6.1.1.3.1.13',
apmPaStatAccessPolicyResultRedirectWithSession => '1.3.6.1.4.1.3375.2.6.1.1.3.1.14',
apmPaStatEndingDenyAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.15',
apmPaStatEndingDenyAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.16',
apmPaStatEndingDenyAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.17',
apmPaStatEndingDenyAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.18',
apmPaStatEndingDenyAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.19',
apmPaStatEndingDenyAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.20',
apmPaStatEndingRedirectAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.21',
apmPaStatEndingRedirectAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.22',
apmPaStatEndingRedirectAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.23',
apmPaStatEndingRedirectAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.24',
apmPaStatEndingRedirectAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.25',
apmPaStatEndingRedirectAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.26',
apmPaStatEndingAllowAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.27',
apmPaStatEndingAllowAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.28',
apmPaStatEndingAllowAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.29',
apmPaStatEndingAllowAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.30',
apmPaStatEndingAllowAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.31',
apmPaStatEndingAllowAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.32',
apmPaStatAdAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.33',
apmPaStatAdAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.34',
apmPaStatAdAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.35',
apmPaStatAdAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.36',
apmPaStatAdAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.37',
apmPaStatAdAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.38',
apmPaStatClientCertAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.39',
apmPaStatClientCertAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.40',
apmPaStatClientCertAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.41',
apmPaStatClientCertAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.42',
apmPaStatClientCertAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.43',
apmPaStatClientCertAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.44',
apmPaStatHttpAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.45',
apmPaStatHttpAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.46',
apmPaStatHttpAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.47',
apmPaStatHttpAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.48',
apmPaStatHttpAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.49',
apmPaStatHttpAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.50',
apmPaStatLdapAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.51',
apmPaStatLdapAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.52',
apmPaStatLdapAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.53',
apmPaStatLdapAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.54',
apmPaStatLdapAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.55',
apmPaStatLdapAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.56',
apmPaStatRadiusAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.57',
apmPaStatRadiusAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.58',
apmPaStatRadiusAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.59',
apmPaStatRadiusAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.60',
apmPaStatRadiusAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.61',
apmPaStatRadiusAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.62',
apmPaStatSecuridAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.63',
apmPaStatSecuridAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.64',
apmPaStatSecuridAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.65',
apmPaStatSecuridAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.66',
apmPaStatSecuridAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.67',
apmPaStatSecuridAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.68',
apmPaStatRadiusAcctAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.69',
apmPaStatRadiusAcctAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.70',
apmPaStatRadiusAcctAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.71',
apmPaStatRadiusAcctAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.72',
apmPaStatRadiusAcctAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.73',
apmPaStatRadiusAcctAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.74',
apmPaStatEpsLinuxFcAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.75',
apmPaStatEpsLinuxFcAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.76',
apmPaStatEpsLinuxFcAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.77',
apmPaStatEpsLinuxFcAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.78',
apmPaStatEpsLinuxFcAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.79',
apmPaStatEpsLinuxFcAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.80',
apmPaStatEpsLinuxPcAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.81',
apmPaStatEpsLinuxPcAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.82',
apmPaStatEpsLinuxPcAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.83',
apmPaStatEpsLinuxPcAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.84',
apmPaStatEpsLinuxPcAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.85',
apmPaStatEpsLinuxPcAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.86',
apmPaStatEpsMacFcAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.87',
apmPaStatEpsMacFcAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.88',
apmPaStatEpsMacFcAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.89',
apmPaStatEpsMacFcAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.90',
apmPaStatEpsMacFcAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.91',
apmPaStatEpsMacFcAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.92',
apmPaStatEpsMacPcAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.93',
apmPaStatEpsMacPcAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.94',
apmPaStatEpsMacPcAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.95',
apmPaStatEpsMacPcAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.96',
apmPaStatEpsMacPcAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.97',
apmPaStatEpsMacPcAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.98',
apmPaStatEpsWinCcAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.99',
apmPaStatEpsWinCcAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.100',
apmPaStatEpsWinCcAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.101',
apmPaStatEpsWinCcAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.102',
apmPaStatEpsWinCcAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.103',
apmPaStatEpsWinCcAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.104',
apmPaStatEpsAvAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.105',
apmPaStatEpsAvAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.106',
apmPaStatEpsAvAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.107',
apmPaStatEpsAvAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.108',
apmPaStatEpsAvAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.109',
apmPaStatEpsAvAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.110',
apmPaStatEpsWinOsInfoAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.111',
apmPaStatEpsWinOsInfoAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.112',
apmPaStatEpsWinOsInfoAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.113',
apmPaStatEpsWinOsInfoAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.114',
apmPaStatEpsWinOsInfoAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.115',
apmPaStatEpsWinOsInfoAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.116',
apmPaStatEpsWinFcAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.117',
apmPaStatEpsWinFcAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.118',
apmPaStatEpsWinFcAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.119',
apmPaStatEpsWinFcAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.120',
apmPaStatEpsWinFcAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.121',
apmPaStatEpsWinFcAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.122',
apmPaStatEpsWinMcAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.123',
apmPaStatEpsWinMcAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.124',
apmPaStatEpsWinMcAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.125',
apmPaStatEpsWinMcAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.126',
apmPaStatEpsWinMcAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.127',
apmPaStatEpsWinMcAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.128',
apmPaStatEpsFwcAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.129',
apmPaStatEpsFwcAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.130',
apmPaStatEpsFwcAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.131',
apmPaStatEpsFwcAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.132',
apmPaStatEpsFwcAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.133',
apmPaStatEpsFwcAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.134',
apmPaStatEpsWinPcTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.135',
apmPaStatEpsWinPcTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.136',
apmPaStatEpsWinPcTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.137',
apmPaStatEpsWinPcTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.138',
apmPaStatEpsWinPcTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.139',
apmPaStatEpsWinPcTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.140',
apmPaStatEpsWinPwTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.141',
apmPaStatEpsWinPwTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.142',
apmPaStatEpsWinPwTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.143',
apmPaStatEpsWinPwTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.144',
apmPaStatEpsWinPwTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.145',
apmPaStatEpsWinPwTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.146',
apmPaStatEpsWinRcAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.147',
apmPaStatEpsWinRcAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.148',
apmPaStatEpsWinRcAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.149',
apmPaStatEpsWinRcAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.150',
apmPaStatEpsWinRcAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.151',
apmPaStatEpsWinRcAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.152',
apmPaStatEpsWinGpAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.153',
apmPaStatEpsWinGpAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.154',
apmPaStatEpsWinGpAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.155',
apmPaStatEpsWinGpAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.156',
apmPaStatEpsWinGpAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.157',
apmPaStatEpsWinGpAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.158',
apmPaStatExternalLogonAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.159',
apmPaStatExternalLogonAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.160',
apmPaStatExternalLogonAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.161',
apmPaStatExternalLogonAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.162',
apmPaStatExternalLogonAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.163',
apmPaStatExternalLogonAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.164',
apmPaStatLogonAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.165',
apmPaStatLogonAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.166',
apmPaStatLogonAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.167',
apmPaStatLogonAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.168',
apmPaStatLogonAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.169',
apmPaStatLogonAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.170',
apmPaStatRaAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.171',
apmPaStatRaAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.172',
apmPaStatRaAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.173',
apmPaStatRaAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.174',
apmPaStatRaAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.175',
apmPaStatRaAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.176',
apmPaStatRdsAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.177',
apmPaStatRdsAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.178',
apmPaStatRdsAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.179',
apmPaStatRdsAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.180',
apmPaStatRdsAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.181',
apmPaStatRdsAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.182',
apmPaStatVaAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.183',
apmPaStatVaAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.184',
apmPaStatVaAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.185',
apmPaStatVaAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.186',
apmPaStatVaAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.187',
apmPaStatVaAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.188',
apmPaStatIeAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.189',
apmPaStatIeAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.190',
apmPaStatIeAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.191',
apmPaStatIeAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.192',
apmPaStatIeAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.193',
apmPaStatIeAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.194',
apmPaStatLoggingAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.195',
apmPaStatLoggingAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.196',
apmPaStatLoggingAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.197',
apmPaStatLoggingAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.198',
apmPaStatLoggingAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.199',
apmPaStatLoggingAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.200',
apmPaStatDecnBoxAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.201',
apmPaStatDecnBoxAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.202',
apmPaStatDecnBoxAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.203',
apmPaStatDecnBoxAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.204',
apmPaStatDecnBoxAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.205',
apmPaStatDecnBoxAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.206',
apmPaStatMesgBoxAgentTotalInstances => '1.3.6.1.4.1.3375.2.6.1.1.3.1.207',
apmPaStatMesgBoxAgentTotalUsages => '1.3.6.1.4.1.3375.2.6.1.1.3.1.208',
apmPaStatMesgBoxAgentTotalSuccesses => '1.3.6.1.4.1.3375.2.6.1.1.3.1.209',
apmPaStatMesgBoxAgentTotalFailures => '1.3.6.1.4.1.3375.2.6.1.1.3.1.210',
apmPaStatMesgBoxAgentTotalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.211',
apmPaStatMesgBoxAgentTotalSessVars => '1.3.6.1.4.1.3375.2.6.1.1.3.1.212',
apmPaStatApdNoResultErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.213',
apmPaStatApdNoSessionErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.214',
apmPaStatApdNoDeviceInfoErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.215',
apmPaStatApdNoTokenErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.216',
apmPaStatApdNoSigErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.217',
apmPaStatApdTotalMismatchErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.218',
apmPaStatApdInvalidSigErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.219',
apmPaStatApdMcPipelineInitErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.220',
apmPaStatApdMcSetSessVarErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.221',
apmPaStatApdMcPipelineCloseErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.222',
apmPaStatApdApResultErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.223',
apmPaStatApdApInternalErrors => '1.3.6.1.4.1.3375.2.6.1.1.3.1.224',
apmPaStatAllowedRequests => '1.3.6.1.4.1.3375.2.6.1.1.3.1.225',
apmPaStatDeniedRequests => '1.3.6.1.4.1.3375.2.6.1.1.3.1.226',
apmPaStatVsName => '1.3.6.1.4.1.3375.2.6.1.1.3.1.227',
apmPaStatSessionsEvalTimedOut => '1.3.6.1.4.1.3375.2.6.1.1.3.1.228',
apmPaStatSessionsEstabTimedOut => '1.3.6.1.4.1.3375.2.6.1.1.3.1.229',
apmProfileConnectivityStat => '1.3.6.1.4.1.3375.2.6.1.2',
apmPcStatResetStats => '1.3.6.1.4.1.3375.2.6.1.2.1',
apmPcStatNumber => '1.3.6.1.4.1.3375.2.6.1.2.2',
apmPcStatTable => '1.3.6.1.4.1.3375.2.6.1.2.3',
apmPcStatEntry => '1.3.6.1.4.1.3375.2.6.1.2.3.1',
apmPcStatName => '1.3.6.1.4.1.3375.2.6.1.2.3.1.1',
apmPcStatTotConns => '1.3.6.1.4.1.3375.2.6.1.2.3.1.2',
apmPcStatCurConns => '1.3.6.1.4.1.3375.2.6.1.2.3.1.3',
apmPcStatMaxConns => '1.3.6.1.4.1.3375.2.6.1.2.3.1.4',
apmPcStatIngressRaw => '1.3.6.1.4.1.3375.2.6.1.2.3.1.5',
apmPcStatEgressRaw => '1.3.6.1.4.1.3375.2.6.1.2.3.1.6',
apmPcStatIngressCompressed => '1.3.6.1.4.1.3375.2.6.1.2.3.1.7',
apmPcStatEgressCompressed => '1.3.6.1.4.1.3375.2.6.1.2.3.1.8',
apmProfileRewriteStat => '1.3.6.1.4.1.3375.2.6.1.3',
apmPrStatResetStats => '1.3.6.1.4.1.3375.2.6.1.3.1',
apmPrStatNumber => '1.3.6.1.4.1.3375.2.6.1.3.2',
apmPrStatTable => '1.3.6.1.4.1.3375.2.6.1.3.3',
apmPrStatEntry => '1.3.6.1.4.1.3375.2.6.1.3.3.1',
apmPrStatName => '1.3.6.1.4.1.3375.2.6.1.3.3.1.1',
apmPrStatClientReqBytes => '1.3.6.1.4.1.3375.2.6.1.3.3.1.2',
apmPrStatClientRespBytes => '1.3.6.1.4.1.3375.2.6.1.3.3.1.3',
apmPrStatServerReqBytes => '1.3.6.1.4.1.3375.2.6.1.3.3.1.4',
apmPrStatServerRespBytes => '1.3.6.1.4.1.3375.2.6.1.3.3.1.5',
apmPrStatClientReqs => '1.3.6.1.4.1.3375.2.6.1.3.3.1.6',
apmPrStatClientResps => '1.3.6.1.4.1.3375.2.6.1.3.3.1.7',
apmPrStatServerReqs => '1.3.6.1.4.1.3375.2.6.1.3.3.1.8',
apmPrStatServerResps => '1.3.6.1.4.1.3375.2.6.1.3.3.1.9',
apmAccessStat => '1.3.6.1.4.1.3375.2.6.1.4',
apmAccessStatResetStats => '1.3.6.1.4.1.3375.2.6.1.4.1',
apmAccessStatTotalSessions => '1.3.6.1.4.1.3375.2.6.1.4.2',
apmAccessStatCurrentActiveSessions => '1.3.6.1.4.1.3375.2.6.1.4.3',
apmAccessStatCurrentPendingSessions => '1.3.6.1.4.1.3375.2.6.1.4.4',
apmAccessStatCurrentEndedSessions => '1.3.6.1.4.1.3375.2.6.1.4.5',
apmAccessStatUserLoggedoutSessions => '1.3.6.1.4.1.3375.2.6.1.4.6',
apmAccessStatAdminTerminatedSessions => '1.3.6.1.4.1.3375.2.6.1.4.7',
apmAccessStatMiscTerminatedSessions => '1.3.6.1.4.1.3375.2.6.1.4.8',
apmAccessStatResultAllow => '1.3.6.1.4.1.3375.2.6.1.4.9',
apmAccessStatResultDeny => '1.3.6.1.4.1.3375.2.6.1.4.10',
apmAccessStatResultRedirect => '1.3.6.1.4.1.3375.2.6.1.4.11',
apmAccessStatResultRedirectWithSession => '1.3.6.1.4.1.3375.2.6.1.4.12',
apmAccessStatSessionsEvalTimedOut => '1.3.6.1.4.1.3375.2.6.1.4.13',
apmAccessStatSessionsEstabTimedOut => '1.3.6.1.4.1.3375.2.6.1.4.14',
apmGlobalConnectivityStat => '1.3.6.1.4.1.3375.2.6.1.5',
apmGlobalConnectivityStatResetStats => '1.3.6.1.4.1.3375.2.6.1.5.1',
apmGlobalConnectivityStatTotConns => '1.3.6.1.4.1.3375.2.6.1.5.2',
apmGlobalConnectivityStatCurConns => '1.3.6.1.4.1.3375.2.6.1.5.3',
apmGlobalConnectivityStatMaxConns => '1.3.6.1.4.1.3375.2.6.1.5.4',
apmGlobalConnectivityStatIngressRaw => '1.3.6.1.4.1.3375.2.6.1.5.5',
apmGlobalConnectivityStatEgressRaw => '1.3.6.1.4.1.3375.2.6.1.5.6',
apmGlobalConnectivityStatIngressCompressed => '1.3.6.1.4.1.3375.2.6.1.5.7',
apmGlobalConnectivityStatEgressCompressed => '1.3.6.1.4.1.3375.2.6.1.5.8',
apmGlobalRewriteStat => '1.3.6.1.4.1.3375.2.6.1.6',
apmGlobalRewriteStatResetStats => '1.3.6.1.4.1.3375.2.6.1.6.1',
apmGlobalRewriteStatClientReqBytes => '1.3.6.1.4.1.3375.2.6.1.6.2',
apmGlobalRewriteStatClientRespBytes => '1.3.6.1.4.1.3375.2.6.1.6.3',
apmGlobalRewriteStatServerReqBytes => '1.3.6.1.4.1.3375.2.6.1.6.4',
apmGlobalRewriteStatServerRespBytes => '1.3.6.1.4.1.3375.2.6.1.6.5',
apmGlobalRewriteStatClientReqs => '1.3.6.1.4.1.3375.2.6.1.6.6',
apmGlobalRewriteStatClientResps => '1.3.6.1.4.1.3375.2.6.1.6.7',
apmGlobalRewriteStatServerReqs => '1.3.6.1.4.1.3375.2.6.1.6.8',
apmGlobalRewriteStatServerResps => '1.3.6.1.4.1.3375.2.6.1.6.9',
apmProfileAccessAgentStat => '1.3.6.1.4.1.3375.2.6.1.7',
apmPgStatResetStats => '1.3.6.1.4.1.3375.2.6.1.7.1',
apmPgStatNumber => '1.3.6.1.4.1.3375.2.6.1.7.2',
apmPgStatTable => '1.3.6.1.4.1.3375.2.6.1.7.3',
apmPgStatEntry => '1.3.6.1.4.1.3375.2.6.1.7.3.1',
apmPgStatName => '1.3.6.1.4.1.3375.2.6.1.7.3.1.1',
apmPgStatAgentName => '1.3.6.1.4.1.3375.2.6.1.7.3.1.2',
apmPgStatInstances => '1.3.6.1.4.1.3375.2.6.1.7.3.1.3',
apmPgStatUsages => '1.3.6.1.4.1.3375.2.6.1.7.3.1.4',
apmPgStatSuccesses => '1.3.6.1.4.1.3375.2.6.1.7.3.1.5',
apmPgStatFailures => '1.3.6.1.4.1.3375.2.6.1.7.3.1.6',
apmPgStatErrors => '1.3.6.1.4.1.3375.2.6.1.7.3.1.7',
apmPgStatSessionVars => '1.3.6.1.4.1.3375.2.6.1.7.3.1.8',
apmProfileAccessMiscStat => '1.3.6.1.4.1.3375.2.6.1.8',
apmPmStatResetStats => '1.3.6.1.4.1.3375.2.6.1.8.1',
apmPmStatNumber => '1.3.6.1.4.1.3375.2.6.1.8.2',
apmPmStatTable => '1.3.6.1.4.1.3375.2.6.1.8.3',
apmPmStatEntry => '1.3.6.1.4.1.3375.2.6.1.8.3.1',
apmPmStatName => '1.3.6.1.4.1.3375.2.6.1.8.3.1.1',
apmPmStatConfigSyncState => '1.3.6.1.4.1.3375.2.6.1.8.3.1.2',
apmPmStatInspResultError => '1.3.6.1.4.1.3375.2.6.1.8.3.1.3',
apmPmStatInspSessionError => '1.3.6.1.4.1.3375.2.6.1.8.3.1.4',
apmPmStatInspDeviceInfoError => '1.3.6.1.4.1.3375.2.6.1.8.3.1.5',
apmPmStatInspTokenError => '1.3.6.1.4.1.3375.2.6.1.8.3.1.6',
apmPmStatInspSignatureError => '1.3.6.1.4.1.3375.2.6.1.8.3.1.7',
apmPmStatInspDataMsmtchError => '1.3.6.1.4.1.3375.2.6.1.8.3.1.8',
apmPmStatInspClientSignError => '1.3.6.1.4.1.3375.2.6.1.8.3.1.9',
apmPmStatMemInitError => '1.3.6.1.4.1.3375.2.6.1.8.3.1.10',
apmPmStatMemSessionVarError => '1.3.6.1.4.1.3375.2.6.1.8.3.1.11',
apmPmStatMemCloseError => '1.3.6.1.4.1.3375.2.6.1.8.3.1.12',
apmPmStatResultError => '1.3.6.1.4.1.3375.2.6.1.8.3.1.13',
apmPmStatInternalError => '1.3.6.1.4.1.3375.2.6.1.8.3.1.14',
apmGlobalLicenseStat => '1.3.6.1.4.1.3375.2.6.1.9',
apmGlobalLicenseStatResetStats => '1.3.6.1.4.1.3375.2.6.1.9.1',
apmGlobalLicenseStatTotalAccessSessions => '1.3.6.1.4.1.3375.2.6.1.9.2',
apmGlobalLicenseStatTotalConnectivitySessions => '1.3.6.1.4.1.3375.2.6.1.9.3',
apmGlobalLicenseStatTotalSwgSessions => '1.3.6.1.4.1.3375.2.6.1.9.4',
apmGlobalLicenseStatTotalSwgLimitedSessions => '1.3.6.1.4.1.3375.2.6.1.9.5',
apmLeasepool => '1.3.6.1.4.1.3375.2.6.2',
apmLeasepoolStat => '1.3.6.1.4.1.3375.2.6.2.1',
apmLeasepoolStatResetStats => '1.3.6.1.4.1.3375.2.6.2.1.1',
apmLeasepoolStatNumber => '1.3.6.1.4.1.3375.2.6.2.1.2',
apmLeasepoolStatTable => '1.3.6.1.4.1.3375.2.6.2.1.3',
apmLeasepoolStatEntry => '1.3.6.1.4.1.3375.2.6.2.1.3.1',
apmLeasepoolStatName => '1.3.6.1.4.1.3375.2.6.2.1.3.1.1',
apmLeasepoolStatCurMembers => '1.3.6.1.4.1.3375.2.6.2.1.3.1.2',
apmLeasepoolStatCurAssigned => '1.3.6.1.4.1.3375.2.6.2.1.3.1.3',
apmLeasepoolStatCurFree => '1.3.6.1.4.1.3375.2.6.2.1.3.1.4',
apmLeasepoolStatMaxAssigned => '1.3.6.1.4.1.3375.2.6.2.1.3.1.5',
apmLeasepoolStatTotPickRequests => '1.3.6.1.4.1.3375.2.6.2.1.3.1.6',
apmLeasepoolStatTotPickFailure => '1.3.6.1.4.1.3375.2.6.2.1.3.1.7',
apmLeasepoolStatTotReserveRequests => '1.3.6.1.4.1.3375.2.6.2.1.3.1.8',
apmLeasepoolStatTotReserveFailure => '1.3.6.1.4.1.3375.2.6.2.1.3.1.9',
apmLeasepoolStatTotReleaseRequests => '1.3.6.1.4.1.3375.2.6.2.1.3.1.10',
apmLeasepoolStatTotReleaseFailure => '1.3.6.1.4.1.3375.2.6.2.1.3.1.11',
apmAcl => '1.3.6.1.4.1.3375.2.6.3',
apmAclStat => '1.3.6.1.4.1.3375.2.6.3.1',
apmAclStatResetStats => '1.3.6.1.4.1.3375.2.6.3.1.1',
apmAclStatNumber => '1.3.6.1.4.1.3375.2.6.3.1.2',
apmAclStatTable => '1.3.6.1.4.1.3375.2.6.3.1.3',
apmAclStatEntry => '1.3.6.1.4.1.3375.2.6.3.1.3.1',
apmAclStatName => '1.3.6.1.4.1.3375.2.6.3.1.3.1.1',
apmAclStatActionAllow => '1.3.6.1.4.1.3375.2.6.3.1.3.1.2',
apmAclStatActionContinue => '1.3.6.1.4.1.3375.2.6.3.1.3.1.3',
apmAclStatActionDiscard => '1.3.6.1.4.1.3375.2.6.3.1.3.1.4',
apmAclStatActionReject => '1.3.6.1.4.1.3375.2.6.3.1.3.1.5',
apmIpv6Leasepool => '1.3.6.1.4.1.3375.2.6.4',
apmIpv6LeasepoolStat => '1.3.6.1.4.1.3375.2.6.4.1',
apmIpv6LeasepoolStatResetStats => '1.3.6.1.4.1.3375.2.6.4.1.1',
apmIpv6LeasepoolStatNumber => '1.3.6.1.4.1.3375.2.6.4.1.2',
apmIpv6LeasepoolStatTable => '1.3.6.1.4.1.3375.2.6.4.1.3',
apmIpv6LeasepoolStatEntry => '1.3.6.1.4.1.3375.2.6.4.1.3.1',
apmIpv6LeasepoolStatName => '1.3.6.1.4.1.3375.2.6.4.1.3.1.1',
apmIpv6LeasepoolStatCurMembers => '1.3.6.1.4.1.3375.2.6.4.1.3.1.2',
apmIpv6LeasepoolStatCurAssigned => '1.3.6.1.4.1.3375.2.6.4.1.3.1.3',
apmIpv6LeasepoolStatCurFree => '1.3.6.1.4.1.3375.2.6.4.1.3.1.4',
apmIpv6LeasepoolStatMaxAssigned => '1.3.6.1.4.1.3375.2.6.4.1.3.1.5',
apmIpv6LeasepoolStatTotPickRequests => '1.3.6.1.4.1.3375.2.6.4.1.3.1.6',
apmIpv6LeasepoolStatTotPickFailure => '1.3.6.1.4.1.3375.2.6.4.1.3.1.7',
apmIpv6LeasepoolStatTotReserveRequests => '1.3.6.1.4.1.3375.2.6.4.1.3.1.8',
apmIpv6LeasepoolStatTotReserveFailure => '1.3.6.1.4.1.3375.2.6.4.1.3.1.9',
apmIpv6LeasepoolStatTotReleaseRequests => '1.3.6.1.4.1.3375.2.6.4.1.3.1.10',
apmIpv6LeasepoolStatTotReleaseFailure => '1.3.6.1.4.1.3375.2.6.4.1.3.1.11',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'F5-BIGIP-APM-MIB'} = {
};

View file

@ -0,0 +1,93 @@
package Monitoring::GLPlugin::SNMP::MibsAndOids::HPICFCHASSIS;
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'HP-ICF-CHASSIS'} = {
url => '',
name => 'HP-ICF-CHASSIS',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'HP-ICF-CHASSIS'} =
'1.3.6.1.4.1.11.2.14.11.1.2.6';
# sensor-table, because lots of oids will be superseeded by std. entity-mib
# However, the hpicfSensorTable will still be valid.
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'HP-ICF-CHASSIS'} = {
hpicfChassisMib => '1.3.6.1.4.1.11.2.14.10.2.3',
hpicfChassisConformance => '1.3.6.1.4.1.11.2.14.10.2.3.1',
hpicfChassisCompliances => '1.3.6.1.4.1.11.2.14.10.2.3.1.1',
hpicfChassisGroups => '1.3.6.1.4.1.11.2.14.10.2.3.1.2',
hpicfChassis => '1.3.6.1.4.1.11.2.14.11.1.2',
hpicfChassisId => '1.3.6.1.4.1.11.2.14.11.1.2.1',
hpicfChassisNumSlots => '1.3.6.1.4.1.11.2.14.11.1.2.2',
hpicfSlotTable => '1.3.6.1.4.1.11.2.14.11.1.2.3',
hpicfSlotEntry => '1.3.6.1.4.1.11.2.14.11.1.2.3.1',
hpicfSlotIndex => '1.3.6.1.4.1.11.2.14.11.1.2.3.1.1',
hpicfSlotObjectId => '1.3.6.1.4.1.11.2.14.11.1.2.3.1.2',
hpicfSlotLastChange => '1.3.6.1.4.1.11.2.14.11.1.2.3.1.3',
hpicfSlotDescr => '1.3.6.1.4.1.11.2.14.11.1.2.3.1.4',
hpicfEntityTable => '1.3.6.1.4.1.11.2.14.11.1.2.4',
hpicfEntityEntry => '1.3.6.1.4.1.11.2.14.11.1.2.4.1',
hpicfEntityIndex => '1.3.6.1.4.1.11.2.14.11.1.2.4.1.1',
hpicfEntityFunction => '1.3.6.1.4.1.11.2.14.11.1.2.4.1.2',
hpicfEntityObjectId => '1.3.6.1.4.1.11.2.14.11.1.2.4.1.3',
hpicfEntityDescr => '1.3.6.1.4.1.11.2.14.11.1.2.4.1.4',
hpicfEntityTimestamp => '1.3.6.1.4.1.11.2.14.11.1.2.4.1.5',
hpicfSlotMapTable => '1.3.6.1.4.1.11.2.14.11.1.2.5',
hpicfSlotMapEntry => '1.3.6.1.4.1.11.2.14.11.1.2.5.1',
hpicfSlotMapSlot => '1.3.6.1.4.1.11.2.14.11.1.2.5.1.1',
hpicfSlotMapEntity => '1.3.6.1.4.1.11.2.14.11.1.2.5.1.2',
hpicfSensorTable => '1.3.6.1.4.1.11.2.14.11.1.2.6',
hpicfSensorEntry => '1.3.6.1.4.1.11.2.14.11.1.2.6.1',
hpicfSensorIndex => '1.3.6.1.4.1.11.2.14.11.1.2.6.1.1',
hpicfSensorObjectId => '1.3.6.1.4.1.11.2.14.11.1.2.6.1.2',
hpicfSensorNumber => '1.3.6.1.4.1.11.2.14.11.1.2.6.1.3',
hpicfSensorStatus => '1.3.6.1.4.1.11.2.14.11.1.2.6.1.4',
hpicfSensorStatusDefinition => 'HP-ICF-CHASSIS::hpicfSensorStatus',
hpicfSensorWarnings => '1.3.6.1.4.1.11.2.14.11.1.2.6.1.5',
hpicfSensorFailures => '1.3.6.1.4.1.11.2.14.11.1.2.6.1.6',
hpicfSensorDescr => '1.3.6.1.4.1.11.2.14.11.1.2.6.1.7',
hpicfChassisAddrTable => '1.3.6.1.4.1.11.2.14.11.1.2.7',
hpicfChassisAddrEntry => '1.3.6.1.4.1.11.2.14.11.1.2.7.1',
hpicfChasAddrType => '1.3.6.1.4.1.11.2.14.11.1.2.7.1.1',
hpicfChasAddrTypeDefinition => 'HP-ICF-CHASSIS::hpicfChasAddrType',
hpicfChasAddrAddress => '1.3.6.1.4.1.11.2.14.11.1.2.7.1.2',
hpicfChasAddrEntity => '1.3.6.1.4.1.11.2.14.11.1.2.7.1.3',
hpChassisTemperature => '1.3.6.1.4.1.11.2.14.11.1.2.8',
hpSystemAirTempTable => '1.3.6.1.4.1.11.2.14.11.1.2.8.1',
hpSystemAirTempEntry => '1.3.6.1.4.1.11.2.14.11.1.2.8.1.1',
hpSystemAirSensor => '1.3.6.1.4.1.11.2.14.11.1.2.8.1.1.1',
hpSystemAirName => '1.3.6.1.4.1.11.2.14.11.1.2.8.1.1.2',
hpSystemAirCurrentTemp => '1.3.6.1.4.1.11.2.14.11.1.2.8.1.1.3',
hpSystemAirMaxTemp => '1.3.6.1.4.1.11.2.14.11.1.2.8.1.1.4',
hpSystemAirMinTemp => '1.3.6.1.4.1.11.2.14.11.1.2.8.1.1.5',
hpSystemAirOverTemp => '1.3.6.1.4.1.11.2.14.11.1.2.8.1.1.6',
hpSystemAirOverTempDefinition => 'HP-ICF-CHASSIS::hpSystemAirOverTemp',
hpSystemAirThresholdTemp => '1.3.6.1.4.1.11.2.14.11.1.2.8.1.1.7',
hpSystemAirAvgTemp => '1.3.6.1.4.1.11.2.14.11.1.2.8.1.1.8',
hpSystemAirEntPhysicalIndex => '1.3.6.1.4.1.11.2.14.11.1.2.8.1.1.9',
hpicfFanTrayType => '1.3.6.1.4.1.11.2.14.11.1.2.9',
hpicfFanTrayTypeDefinition => 'HP-ICF-CHASSIS::hpicfFanTrayType',
hpicfOpacityShieldInstalled => '1.3.6.1.4.1.11.2.14.11.1.2.10',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'HP-ICF-CHASSIS'} = {
hpicfFanTrayType => {
'1' => 'standard',
'2' => 'highPerformance',
},
hpicfSensorStatus => {
'1' => 'unknown',
'2' => 'bad',
'3' => 'warning',
'4' => 'good',
'5' => 'notPresent',
},
hpicfChasAddrType => {
'1' => 'ipAddr',
'2' => 'ipxAddr',
'3' => 'macAddr',
},
hpSystemAirOverTemp => {
'1' => 'yes',
'2' => 'no',
},
};

View file

@ -0,0 +1,51 @@
package Monitoring::GLPlugin::SNMP::MibsAndOids::IANARTPROTOMIB;
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'IANA-RTPROTO-MIB'} = {
url => '',
name => 'IANA-RTPROTO-MIB',
};
#$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'IANA-RTPROTO-MIB'} =
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'IANA-RTPROTO-MIB'} = {
ianaRtProtoMIB => '0.84',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'IANA-RTPROTO-MIB'} = {
IANAipRouteProtocol => {
'1' => 'other',
'2' => 'local',
'3' => 'netmgmt',
'4' => 'icmp',
'5' => 'egp',
'6' => 'ggp',
'7' => 'hello',
'8' => 'rip',
'9' => 'isIs',
'10' => 'esIs',
'11' => 'ciscoIgrp',
'12' => 'bbnSpfIgp',
'13' => 'ospf',
'14' => 'bgp',
'15' => 'idpr',
'16' => 'ciscoEigrp',
'17' => 'dvmrp',
'18' => 'rpl',
'19' => 'dhcp',
'20' => 'ttdp',
},
IANAipMRouteProtocol => {
'1' => 'other',
'2' => 'local',
'3' => 'netmgmt',
'4' => 'dvmrp',
'5' => 'mospf',
'6' => 'pimSparseDense',
'7' => 'cbt',
'8' => 'pimSparseMode',
'9' => 'pimDenseMode',
'10' => 'igmpOnly',
'11' => 'bgmp',
'12' => 'msdp',
},
};

View file

@ -20,6 +20,30 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'INET-ADDRESS-MIB'} = {
4 => 'ipv6z',
16 => 'dns',
},
InetAddressMaker => sub {
# wenn die Adresse in den Indizes steckt, dann ruft man das hier
# mit den Einzelteilen als Array auf
my ($addrtype, $addrlen, @addroctets) = @_;
if ($addrtype && $addrtype eq "ipv6") {
my $maxidx = $addrlen / 2 - 1;
return join(":",
map {
my $idx = 2*$_;
sprintf("%02x", $addroctets[$idx]).
sprintf("%02x", $addroctets[$idx+1])
} (0..$maxidx)
);
return join(":", map { sprintf "%02x", $_ } @addroctets[0..$addrlen-1]);
} elsif ($addrtype && $addrtype eq "ipv4") {
return join(".", @addroctets[0..$addrlen-1]);
} else {
#use Data::Dumper;
#printf STDERR "------------------------------------------------\n";
#printf STDERR "%s\n", Data::Dumper::Dumper([$addr, $addrtype]);
#printf STDERR "..------------------------------------------------\n";
return sprintf "type=%s, len=%s", $addrtype, $addrlen;
}
},
InetAddress => sub {
my ($addr, $addrtype) = @_;
if ($addrtype && $addrtype eq "ipv6") {
@ -27,11 +51,7 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'INET-ADDRESS-MIB'} = {
} elsif ($addrtype && $addrtype eq "ipv4") {
return Monitoring::GLPlugin::SNMP::TableItem->new()->unhex_ip($addr);
} else {
#use Data::Dumper;
#printf STDERR "------------------------------------------------\n";
#printf STDERR "%s\n", Data::Dumper::Dumper([$addr, $addrtype]);
#printf STDERR "..------------------------------------------------\n";
return "xxx";
return "unsupported_address_format: ".$addrtype;
}
}
};

View file

@ -67,6 +67,7 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'IP-FORWARD-MIB'} = {
inetCidrRouteType => '1.3.6.1.2.1.4.24.7.1.8',
inetCidrRouteTypeDefinition => 'IP-FORWARD-MIB::inetCidrRouteType',
inetCidrRouteProto => '1.3.6.1.2.1.4.24.7.1.9',
inetCidrRouteProtoDefinition => 'IANA-RTPROTO-MIB::IANAipRouteProtocol',
inetCidrRouteAge => '1.3.6.1.2.1.4.24.7.1.10',
inetCidrRouteNextHopAS => '1.3.6.1.2.1.4.24.7.1.11',
inetCidrRouteMetric1 => '1.3.6.1.2.1.4.24.7.1.12',
@ -75,6 +76,7 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'IP-FORWARD-MIB'} = {
inetCidrRouteMetric4 => '1.3.6.1.2.1.4.24.7.1.15',
inetCidrRouteMetric5 => '1.3.6.1.2.1.4.24.7.1.16',
inetCidrRouteStatus => '1.3.6.1.2.1.4.24.7.1.17',
inetCidrRouteStatusDefinition => 'SNMPv2-TC-v1-MIB::RowStatus',
inetCidrRouteDiscards => '1.3.6.1.2.1.4.24.8',
};
@ -120,6 +122,10 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'IP-FORWARD-MIB'} = {
'14' => 'bgp',
'15' => 'idpr',
'16' => 'ciscoEigrp',
'17' => 'dvmrp',
'18' => 'rpl',
'19' => 'dhcp',
'20' => 'ttdp',
},
ipCidrRouteType => {
'1' => 'other',

View file

@ -65,21 +65,26 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'MIB-2-MIB'} = {
$value =~ /^0x((\w{2} ){7,}(\w{2}){1,})/ ||
$value =~ /^((\w{2}){8,})/ ||
$value =~ /^((\w{2} ){8,})/ ||
$value =~ /^((\w{2} ){7,}(\w{2}){1,})/
$value =~ /^((\w{2} ){7,}(\w{2}){1,})/ ||
$value =~ /^(([0-9a-fA-F][0-9a-fA-F]){6,})$/
)) {
$value = $1;
$value =~ s/ //g;
$year = hex substr($value, 0, 4);
$value = substr($value, 4);
if (length($value) > 6) {
if (length($value) > 12) {
($month, $day, $hour, $minute, $second, $dseconds,
$dirutc, $hoursutc, $minutesutc) = unpack "C*", pack "H*", $value;
$minutesutc ||= 0;
$dirutc = ($dirutc == 43) ? "+" : ($dirutc == 45) ? "-" : "+";
} else {
($month, $day, $hour, $minute, $second, $dseconds) = unpack "C*", pack "H*", $value;
($dirutc, $hoursutc, $minutesutc) = ("+", 0, 0);
$second ||= 0;
$dseconds ||= 0;
my @t = localtime(time);
my $gmt_offset_in_hours = (timegm(@t) - timelocal(@t)) / 3600;
($dirutc, $hoursutc, $minutesutc) = ("+", $gmt_offset_in_hours, 0);
}
$dirutc = ($dirutc == 43) ? "+" : ($dirutc == 45) ? "-" : "+";
} elsif ($value && $value =~ /(\d+)-(\d+)-(\d+),(\d+):(\d+):(\d+)\.(\d+),([\+\-]*)(\d+):(\d+)/) {
($year, $month, $day, $hour, $minute, $second, $dseconds,
$dirutc, $hoursutc, $minutesutc) = ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10);
@ -92,11 +97,6 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'MIB-2-MIB'} = {
$year -= 1900;
$month += 1;
}
if ($year == 0 && $month == 0) {
$year = 1970;
$month = 1;
$day = 1;
}
my $epoch = timegm($second, $minute, $hour, $day, $month-1, $year-1900);
# 1992-5-26,13:30:15.0,-4:0 = Tuesday May 26, 1992 at 1:30:15 PM EDT
# Eastern Daylight Time (EDT) is 4 hours behind Coordinated Universal Time (UTC)

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