check_nwc_health: Update to 8.4
This commit is contained in:
parent
bfd168f5cd
commit
0ac7e5c757
|
@ -1,27 +0,0 @@
|
|||
package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOPROCESSMIB;
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'CISCO-PROCESS-MIB'} = {
|
||||
url => '',
|
||||
name => 'CISCO-PROCESS-MIB',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-PROCESS-MIB'} = {
|
||||
'cpmCPUTotalTable' => '1.3.6.1.4.1.9.9.109.1.1.1',
|
||||
'cpmCPUTotalEntry' => '1.3.6.1.4.1.9.9.109.1.1.1.1',
|
||||
'cpmCPUTotalIndex' => '1.3.6.1.4.1.9.9.109.1.1.1.1.1',
|
||||
'cpmCPUTotalPhysicalIndex' => '1.3.6.1.4.1.9.9.109.1.1.1.1.2',
|
||||
'cpmCPUTotal5sec' => '1.3.6.1.4.1.9.9.109.1.1.1.1.3',
|
||||
'cpmCPUTotal1min' => '1.3.6.1.4.1.9.9.109.1.1.1.1.4',
|
||||
'cpmCPUTotal5min' => '1.3.6.1.4.1.9.9.109.1.1.1.1.5',
|
||||
'cpmCPUTotal5secRev' => '1.3.6.1.4.1.9.9.109.1.1.1.1.6',
|
||||
'cpmCPUTotal1minRev' => '1.3.6.1.4.1.9.9.109.1.1.1.1.7',
|
||||
'cpmCPUTotal5minRev' => '1.3.6.1.4.1.9.9.109.1.1.1.1.8',
|
||||
'cpmCPUMonInterval' => '1.3.6.1.4.1.9.9.109.1.1.1.1.9',
|
||||
'cpmCPUTotalMonIntervalDefinition' => '1.3.6.1.4.1.9.9.109.1.1.1.1.10',
|
||||
'cpmCPUInterruptMonIntervalDefinition' => '1.3.6.1.4.1.9.9.109.1.1.1.1.11',
|
||||
};
|
||||
|
||||
|
||||
1;
|
||||
|
||||
__END__
|
|
@ -1,106 +0,0 @@
|
|||
package Monitoring::GLPlugin::SNMP::MibsAndOids::VRRPMIB;
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'VRRP-MIB'} = {
|
||||
url => 'ftp://ftp.cisco.com/pub/mibs/v2/VRRP-MIB.my',
|
||||
name => 'VRRP-MIB'
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::requirements->{'VRRP-MIB'} = [
|
||||
'SNMPv2-TC-v1-MIB',
|
||||
];
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'VRRP-MIB'} = {
|
||||
vrrpMIB => '.1.3.6.1.2.1.68',
|
||||
vrrpNotifications => '.1.3.6.1.2.1.68.0',
|
||||
vrrpTrapNewMaster => '.1.3.6.1.2.1.68.0.1',
|
||||
vrrpTrapAuthFailure => '.1.3.6.1.2.1.68.0.2',
|
||||
vrrpOperations => '.1.3.6.1.2.1.68.1',
|
||||
vrrpNodeVersion => '.1.3.6.1.2.1.68.1.1',
|
||||
vrrpNotificationCntl => '.1.3.6.1.2.1.68.1.2',
|
||||
vrrpOperTable => '.1.3.6.1.2.1.68.1.3',
|
||||
vrrpOperEntry => '.1.3.6.1.2.1.68.1.3.1',
|
||||
vrrpOperVrId => '.1.3.6.1.2.1.68.1.3.1.1',
|
||||
vrrpOperAuthKey => '.1.3.6.1.2.1.68.1.3.1.10',
|
||||
vrrpOperAdvertisementInterval => '.1.3.6.1.2.1.68.1.3.1.11',
|
||||
vrrpOperPreemptMode => '.1.3.6.1.2.1.68.1.3.1.12',
|
||||
vrrpOperVirtualRouterUpTime => '.1.3.6.1.2.1.68.1.3.1.13',
|
||||
vrrpOperProtocol => '.1.3.6.1.2.1.68.1.3.1.14',
|
||||
vrrpOperProtocolDefinition => 'VRRP-MIB::vrrpOperProtocol',
|
||||
vrrpOperRowStatus => '.1.3.6.1.2.1.68.1.3.1.15',
|
||||
vrrpOperRowStatusDefinition => 'SNMPv2-TC-v1-MIB::RowStatus',
|
||||
vrrpOperVirtualMacAddr => '.1.3.6.1.2.1.68.1.3.1.2',
|
||||
vrrpOperState => '.1.3.6.1.2.1.68.1.3.1.3',
|
||||
vrrpOperStateDefinition => 'VRRP-MIB::vrrpOperState',
|
||||
vrrpOperAdminState => '.1.3.6.1.2.1.68.1.3.1.4',
|
||||
vrrpOperAdminStateDefinition => 'VRRP-MIB::vrrpOperAdminState',
|
||||
vrrpOperPriority => '.1.3.6.1.2.1.68.1.3.1.5',
|
||||
vrrpOperIpAddrCount => '.1.3.6.1.2.1.68.1.3.1.6',
|
||||
vrrpOperMasterIpAddr => '.1.3.6.1.2.1.68.1.3.1.7',
|
||||
vrrpOperPrimaryIpAddr => '.1.3.6.1.2.1.68.1.3.1.8',
|
||||
vrrpOperAuthType => '.1.3.6.1.2.1.68.1.3.1.9',
|
||||
vrrpOperAuthTypeDefinition => 'VRRP-MIB::vrrpOperAuthType',
|
||||
vrrpAssoIpAddrTable => '.1.3.6.1.2.1.68.1.4',
|
||||
vrrpAssoIpAddrEntry => '.1.3.6.1.2.1.68.1.4.1',
|
||||
vrrpAssoIpAddr => '.1.3.6.1.2.1.68.1.4.1.1',
|
||||
vrrpAssoIpAddrRowStatus => '.1.3.6.1.2.1.68.1.4.1.2',
|
||||
vrrpAssoIpAddrRowStatusDefinition => 'SNMPv2-TC-v1-MIB::RowStatus',
|
||||
vrrpTrapPacketSrc => '.1.3.6.1.2.1.68.1.5',
|
||||
vrrpTrapAuthErrorType => '.1.3.6.1.2.1.68.1.6',
|
||||
vrrpTrapAuthErrorTypeDefinition => 'VRRP-MIB::vrrpTrapAuthErrorType',
|
||||
vrrpStatistics => '.1.3.6.1.2.1.68.2',
|
||||
vrrpRouterChecksumErrors => '.1.3.6.1.2.1.68.2.1',
|
||||
vrrpRouterVersionErrors => '.1.3.6.1.2.1.68.2.2',
|
||||
vrrpRouterVrIdErrors => '.1.3.6.1.2.1.68.2.3',
|
||||
vrrpRouterStatsTable => '.1.3.6.1.2.1.68.2.4',
|
||||
vrrpRouterStatsEntry => '.1.3.6.1.2.1.68.2.4.1',
|
||||
vrrpStatsBecomeMaster => '.1.3.6.1.2.1.68.2.4.1.1',
|
||||
vrrpStatsInvalidAuthType => '.1.3.6.1.2.1.68.2.4.1.10',
|
||||
vrrpStatsAuthTypeMismatch => '.1.3.6.1.2.1.68.2.4.1.11',
|
||||
vrrpStatsPacketLengthErrors => '.1.3.6.1.2.1.68.2.4.1.12',
|
||||
vrrpStatsAdvertiseRcvd => '.1.3.6.1.2.1.68.2.4.1.2',
|
||||
vrrpStatsAdvertiseIntervalErrors => '.1.3.6.1.2.1.68.2.4.1.3',
|
||||
vrrpStatsAuthFailures => '.1.3.6.1.2.1.68.2.4.1.4',
|
||||
vrrpStatsIpTtlErrors => '.1.3.6.1.2.1.68.2.4.1.5',
|
||||
vrrpStatsPriorityZeroPktsRcvd => '.1.3.6.1.2.1.68.2.4.1.6',
|
||||
vrrpStatsPriorityZeroPktsSent => '.1.3.6.1.2.1.68.2.4.1.7',
|
||||
vrrpStatsInvalidTypePktsRcvd => '.1.3.6.1.2.1.68.2.4.1.8',
|
||||
vrrpStatsAddressListErrors => '.1.3.6.1.2.1.68.2.4.1.9',
|
||||
vrrpConformance => '.1.3.6.1.2.1.68.3',
|
||||
vrrpMIBCompliances => '.1.3.6.1.2.1.68.3.1',
|
||||
vrrpMIBCompliance => '.1.3.6.1.2.1.68.3.1.1',
|
||||
vrrpMIBGroups => '.1.3.6.1.2.1.68.3.2',
|
||||
vrrpOperGroup => '.1.3.6.1.2.1.68.3.2.1',
|
||||
vrrpStatsGroup => '.1.3.6.1.2.1.68.3.2.2',
|
||||
vrrpTrapGroup => '.1.3.6.1.2.1.68.3.2.3',
|
||||
vrrpNotificationGroup => '.1.3.6.1.2.1.68.3.2.4'
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'VRRP-MIB'} = {
|
||||
vrrpOperAdminState => {
|
||||
'1' => 'up',
|
||||
'2' => 'down'
|
||||
},
|
||||
vrrpOperAuthType => {
|
||||
'1' => 'noAuthentication',
|
||||
'2' => 'simpleTextPassword',
|
||||
'3' => 'ipAuthenticationHeader'
|
||||
},
|
||||
vrrpOperProtocol => {
|
||||
'1' => 'ip',
|
||||
'2' => 'bridge',
|
||||
'3' => 'decnet',
|
||||
'4' => 'other'
|
||||
},
|
||||
vrrpOperState => {
|
||||
'1' => 'initialize',
|
||||
'2' => 'backup',
|
||||
'3' => 'master'
|
||||
},
|
||||
vrrpTrapAuthErrorType => {
|
||||
'1' => 'invalidAuthType',
|
||||
'2' => 'authTypeMismatch',
|
||||
'3' => 'authFailure'
|
||||
}
|
||||
};
|
||||
|
||||
1;
|
|
@ -1,34 +0,0 @@
|
|||
package Classes::Cisco::AsyncOS::Component::MemSubsystem;
|
||||
our @ISA = qw(Monitoring::GLPlugin::SNMP::Item);
|
||||
use strict;
|
||||
|
||||
sub init {
|
||||
my ($self) = @_;
|
||||
$self->get_snmp_objects('ASYNCOS-MAIL-MIB', (qw(
|
||||
perCentMemoryUtilization memoryAvailabilityStatus)));
|
||||
}
|
||||
|
||||
sub check {
|
||||
my ($self) = @_;
|
||||
$self->add_info('checking memory');
|
||||
$self->add_info(sprintf 'memory usage is %.2f%% (%s)',
|
||||
$self->{perCentMemoryUtilization}, $self->{memoryAvailabilityStatus});
|
||||
$self->set_thresholds(warning => 80, critical => 90);
|
||||
if ($self->check_thresholds($self->{perCentMemoryUtilization})) {
|
||||
$self->add_message($self->check_thresholds($self->{perCentMemoryUtilization}));
|
||||
} elsif ($self->{memoryAvailabilityStatus} eq 'memoryShortage') {
|
||||
$self->add_warning();
|
||||
$self->set_thresholds(warning => $self->{perCentMemoryUtilization}, critical => 90);
|
||||
} elsif ($self->{memoryAvailabilityStatus} eq 'memoryFull') {
|
||||
$self->add_critical();
|
||||
$self->set_thresholds(warning => 80, critical => $self->{perCentMemoryUtilization});
|
||||
} else {
|
||||
$self->add_ok();
|
||||
}
|
||||
$self->add_perfdata(
|
||||
label => 'memory_usage',
|
||||
value => $self->{perCentMemoryUtilization},
|
||||
uom => '%',
|
||||
);
|
||||
}
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
package Classes::Cisco::IOS::Component::MemSubsystem;
|
||||
our @ISA = qw(Monitoring::GLPlugin::SNMP::Item);
|
||||
use strict;
|
||||
|
||||
sub init {
|
||||
my ($self) = @_;
|
||||
if ($self->implements_mib('CISCO-ENHANCED-MEMPOOL-MIB')) {
|
||||
$self->analyze_and_check_mem_subsystem("Classes::Cisco::CISCOENHANCEDMEMPOOLMIB::Component::MemSubsystem");
|
||||
if (! exists $self->{components}->{mem_subsystem} ||
|
||||
scalar(@{$self->{components}->{mem_subsystem}->{mems}}) == 0) {
|
||||
# satz mix x....
|
||||
# der hier: Cisco IOS Software, IOS-XE Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 03.03.02SE RELEASE SOFTWARE (fc2)
|
||||
# hat nicht mehr zu bieten als eine einzige oid
|
||||
# cempMemBufferNotifyEnabled .1.3.6.1.4.1.9.9.221.1.2.1.0 = INTEGER: 2
|
||||
# deshalb:
|
||||
$self->analyze_and_check_mem_subsystem("Classes::Cisco::CISCOMEMORYPOOLMIB::Component::MemSubsystem");
|
||||
}
|
||||
} else {
|
||||
$self->analyze_and_check_mem_subsystem("Classes::Cisco::CISCOMEMORYPOOLMIB::Component::MemSubsystem");
|
||||
}
|
||||
}
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
package Classes::Server::Linux::Component::EnvironmentalSubsystem;
|
||||
our @ISA = qw(Classes::Server::Linux);
|
||||
use strict;
|
||||
|
||||
sub new {
|
||||
my ($class) = @_;
|
||||
my $self = {};
|
||||
bless $self, $class;
|
||||
$self->init();
|
||||
return $self;
|
||||
}
|
||||
|
||||
sub init {
|
||||
my ($self) = @_;
|
||||
$self->{fan_subsystem} =
|
||||
Classes::LMSENSORSMIB::Component::FanSubsystem->new();
|
||||
$self->{temperature_subsystem} =
|
||||
Classes::LMSENSORSMIB::Component::TemperatureSubsystem->new();
|
||||
}
|
||||
|
||||
sub check {
|
||||
my ($self) = @_;
|
||||
$self->{fan_subsystem}->check();
|
||||
$self->{temperature_subsystem}->check();
|
||||
if (! $self->check_messages()) {
|
||||
$self->add_ok("environmental hardware working fine");
|
||||
}
|
||||
}
|
||||
|
||||
sub dump {
|
||||
my ($self) = @_;
|
||||
$self->{fan_subsystem}->dump();
|
||||
$self->{temperature_subsystem}->dump();
|
||||
}
|
||||
|
||||
1;
|
|
@ -1,3 +1,54 @@
|
|||
* 2021-06-30 8.4
|
||||
add bgp for huawei
|
||||
* 2021-06-16 8.3.3.3
|
||||
bugfix in UCD-MIB memory
|
||||
* 2021-05-31 8.3.3.2
|
||||
bugfix in IOS cpu-load for very old models without CISCO-PROCESS-MIB
|
||||
* 2021-05-31 8.3.3.1
|
||||
bugfix in f5 memory-usage, correct negative values
|
||||
* 2021-05-20 8.3.3
|
||||
Add vpn sessions for Fortigate PR #279
|
||||
* 2021-05-18 8.3.2.4
|
||||
optimize etherlike and rmon walks
|
||||
* 2021-05-12 8.3.2.3
|
||||
save bgp peer local addresses and show them in the error case
|
||||
* 2021-04-29 8.3.2.2
|
||||
Blacklist storage device "junosprocfs" on JunOS (Juniper) devices PR #278
|
||||
* 2021-04-15 8.3.2.1
|
||||
bugfix in f5 cpu-load, correct negative values
|
||||
* 2021-03-23 8.3.2
|
||||
query LM-SENSORS-MIB only if it exists on Linux (it may hang even if not existing)
|
||||
* 2021-03-19 8.3.1.2
|
||||
bugfix in CISCO-ENTITY-SENSOR-MIB. Scale values correctly.
|
||||
* 2021-03-02 8.3.1.1
|
||||
bugfix in interface-stack-status (triggered when --name did not match)
|
||||
* 2021-02-12 8.3.1
|
||||
add mode license-status for cisco
|
||||
* 2021-02-08 8.3
|
||||
split Bluecat in AddressManager and DnsDhcpServer
|
||||
* 2021-01-28 8.2.0.2
|
||||
do not use cpmCPUMemoryHCCommitted, except if you want mem usage > 100%
|
||||
* 2021-01-27 8.2.0.1
|
||||
check the memory of all members in a cisco stack only if there are > 1 members
|
||||
* 2021-01-22 8.2
|
||||
check the memory of all members in a cisco stack
|
||||
* 2021-01-18 8.1.0.1
|
||||
bugfix in Bluecat jvm
|
||||
* 2021-01-18 8.1
|
||||
add Bluecat Address Manager
|
||||
* 2021-01-13 8.0.0.2
|
||||
bugfix in HOST-RESOURCE-MIB memory (Arista triggered)
|
||||
bugfix in CISCO-ENVMON-MIB, temperatures > 200
|
||||
* 2021-01-13 8.0.0.1
|
||||
bugfix in arista bgp, mitigate admin down
|
||||
* 2020-10-22 8.0
|
||||
broadcast traffic is now shown as percentage of the overall traffic (...broadcast_in) and percentage of the available bandwitdth (..._broadcast_usage_in).
|
||||
errors and discards are now calculated as percentage of all received/sent packets.
|
||||
TenGig-VRF-MPLS-Dingsbums without errors and discard metrics are no longer treated as StackSubs.
|
||||
* 2020-10-12 7.13
|
||||
add Vormetric Appliance
|
||||
* 2020-09-18 7.12.2
|
||||
add some exceptions to hrDeviceDiskStorage and hrDeviceNetwork
|
||||
* 2020-09-08 7.12.1.3
|
||||
fix a bug in mode count-routes, update glplugin
|
||||
* 2020-07-13 7.12.1.2
|
|
@ -20,7 +20,7 @@ eval {
|
|||
$Data::Dumper::Sparseseen = 1;
|
||||
};
|
||||
our $AUTOLOAD;
|
||||
*VERSION = \'3.2.26.2';
|
||||
*VERSION = \'3.4.1';
|
||||
|
||||
use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 };
|
||||
|
||||
|
@ -77,8 +77,10 @@ sub dumper {
|
|||
|
||||
sub no_such_mode {
|
||||
my ($self) = @_;
|
||||
printf "Mode %s is not implemented for this type of device\n",
|
||||
$self->opts->mode;
|
||||
$self->nagios_exit(3,
|
||||
sprintf "Mode %s is not implemented for this type of device",
|
||||
$self->opts->mode
|
||||
);
|
||||
exit 3;
|
||||
}
|
||||
|
||||
|
@ -1451,7 +1453,9 @@ sub protect_value {
|
|||
});
|
||||
} else {
|
||||
# if the device gives us an clearly wrong value, simply use the last value.
|
||||
my $laststate = $self->load_state(name => 'protect_'.$ident.'_'.$key);
|
||||
my $laststate = $self->load_state(name => 'protect_'.$ident.'_'.$key) || {
|
||||
exception => 0,
|
||||
};
|
||||
$self->debug(sprintf "self->{%s} is %s and invalid for the %dth time",
|
||||
$key, defined $self->{$key} ? $self->{$key} : "<undef>",
|
||||
$laststate->{exception} + 1);
|
|
@ -531,12 +531,14 @@ sub check_thresholds {
|
|||
$value = $params{value};
|
||||
my $metric = $params{metric};
|
||||
if ($metric ne 'default') {
|
||||
$warningrange = exists $self->{thresholds}->{$metric}->{warning} ?
|
||||
$self->{thresholds}->{$metric}->{warning} :
|
||||
$self->{thresholds}->{default}->{warning};
|
||||
$criticalrange = exists $self->{thresholds}->{$metric}->{critical} ?
|
||||
$self->{thresholds}->{$metric}->{critical} :
|
||||
$self->{thresholds}->{default}->{critical};
|
||||
$warningrange = defined $params{warning} ? $params{warning} :
|
||||
(exists $self->{thresholds}->{$metric}->{warning} ?
|
||||
$self->{thresholds}->{$metric}->{warning} :
|
||||
$self->{thresholds}->{default}->{warning});
|
||||
$criticalrange = defined $params{critical} ? $params{critical} :
|
||||
(exists $self->{thresholds}->{$metric}->{critical} ?
|
||||
$self->{thresholds}->{$metric}->{critical} :
|
||||
$self->{thresholds}->{default}->{critical});
|
||||
} else {
|
||||
$warningrange = (defined $params{warning}) ?
|
||||
$params{warning} : $self->{thresholds}->{default}->{warning};
|
|
@ -142,6 +142,27 @@ sub getopts {
|
|||
*{"all_my_opts"} = sub {
|
||||
return $self->{opts}->{all_my_opts};
|
||||
};
|
||||
foreach (@{$self->{_args}}) {
|
||||
$_->{spec} =~ /^([\w\-]+)/;
|
||||
my $spec = $1;
|
||||
my $envname = uc $spec;
|
||||
$envname =~ s/\-/_/g;
|
||||
if (! exists $commandline{$spec}) {
|
||||
# Kommandozeile hat oberste Prioritaet
|
||||
# Also: --option ueberschreibt NAGIOS__HOSTOPTION
|
||||
# Aaaaber: extra-opts haben immer noch Vorrang vor allem anderen.
|
||||
# https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html
|
||||
# beschreibt das anders, Posix-Tools verhalten sich auch entsprechend.
|
||||
# Irgendwann wird das hier daher umgeschrieben, so dass extra-opts
|
||||
# die niedrigste Prioritaet erhalten.
|
||||
if (exists $ENV{'NAGIOS__SERVICE'.$envname}) {
|
||||
$commandline{$spec} = $ENV{'NAGIOS__SERVICE'.$envname};
|
||||
} elsif (exists $ENV{'NAGIOS__HOST'.$envname}) {
|
||||
$commandline{$spec} = $ENV{'NAGIOS__HOST'.$envname};
|
||||
}
|
||||
}
|
||||
$self->{opts}->{$spec} = $_->{default};
|
||||
}
|
||||
foreach (map { $_->{spec} =~ /^([\w\-]+)/; $1; }
|
||||
grep { exists $_->{required} && $_->{required} } @{$self->{_args}}) {
|
||||
do { $self->print_usage(); exit 3 } if ! exists $commandline{$_};
|
|
@ -368,12 +368,39 @@ sub init {
|
|||
printf "OK - all requested oids are in %s\n", $name;
|
||||
}
|
||||
} else {
|
||||
my @credentials = ();
|
||||
my $credmapping = {
|
||||
"-community" => "-c",
|
||||
"-privpassword" => "-X",
|
||||
"-privprotocol" => "-x",
|
||||
"-authpassword" => "-A",
|
||||
"-authprotocol" => "-a",
|
||||
"-username" => "-u",
|
||||
"-context" => "-n",
|
||||
"-version" => "-v",
|
||||
};
|
||||
foreach (keys %{$Monitoring::GLPlugin::SNMP::session_params}) {
|
||||
if (exists $credmapping->{$_}) {
|
||||
push(@credentials, sprintf "%s '%s'",
|
||||
$credmapping->{$_},
|
||||
$Monitoring::GLPlugin::SNMP::session_params->{$_}
|
||||
);
|
||||
}
|
||||
}
|
||||
if (grep(/-X/, @credentials) and grep(/-A/, @credentials)) {
|
||||
push(@credentials, "-l authPriv");
|
||||
} elsif (grep(/-A/, @credentials)) {
|
||||
push(@credentials, "-l authNoPriv");
|
||||
} else {
|
||||
push(@credentials, "-l noAuthNoPriv");
|
||||
}
|
||||
my $credentials = join(" ", @credentials);
|
||||
$credentials =~ s/-v2 /-v2c /g;
|
||||
printf "rm -f %s\n", $name;
|
||||
foreach (@trees) {
|
||||
printf "%s -ObentU -v%s -c %s %s %s >> %s\n",
|
||||
printf "%s -ObentU %s %s %s >> %s\n",
|
||||
($self->mode =~ /bulk/) ? "snmpbulkwalk -t 15 -r 20" : "snmpwalk",
|
||||
$self->opts->protocol,
|
||||
$self->opts->community,
|
||||
$credentials,
|
||||
$self->opts->hostname,
|
||||
$_, $name;
|
||||
}
|
||||
|
@ -908,6 +935,8 @@ sub check_snmp_and_model {
|
|||
}
|
||||
}
|
||||
$self->opts->override_opt('hostname', 'walkhost') if $self->opts->mode ne 'walk';
|
||||
my $current_oid = undef;
|
||||
my @multiline_string = ();
|
||||
open(MESS, $self->opts->snmpwalk);
|
||||
while(<MESS>) {
|
||||
# SNMPv2-SMI::enterprises.232.6.2.6.7.1.3.1.4 = INTEGER: 6
|
||||
|
@ -919,6 +948,9 @@ sub check_snmp_and_model {
|
|||
$response->{$1} = $2;
|
||||
} elsif (/^([\d\.]+) = STRING:\s*$/) {
|
||||
$response->{$1} = "";
|
||||
} elsif (/^([\.\d]+) = STRING: "([^"]*)$/) {
|
||||
$current_oid = $1;
|
||||
push(@multiline_string, $2);
|
||||
} elsif (/^([\d\.]+) = Network Address: (.*)/) {
|
||||
$response->{$1} = $2;
|
||||
} elsif (/^([\d\.]+) = Hex-STRING: (.*)/) {
|
||||
|
@ -939,6 +971,17 @@ sub check_snmp_and_model {
|
|||
} elsif (/^([\d\.]+) = "(.*?)"/) {
|
||||
$response->{$1} = $2;
|
||||
$response->{$1} =~ s/\s+$//;
|
||||
} elsif (/^([^"]*)"$/ && @multiline_string && $current_oid) {
|
||||
push(@multiline_string, $1);
|
||||
$response->{$current_oid} = join("\n", @multiline_string);
|
||||
$current_oid = undef;
|
||||
@multiline_string = ();
|
||||
} elsif (/^"$/ && @multiline_string && $current_oid) {
|
||||
$response->{$current_oid} = join("\n", @multiline_string);
|
||||
$current_oid = undef;
|
||||
@multiline_string = ();
|
||||
} elsif (/(.*)/ && @multiline_string && $current_oid) {
|
||||
push(@multiline_string, $1);
|
||||
}
|
||||
}
|
||||
close MESS;
|
||||
|
@ -1164,6 +1207,7 @@ sub establish_snmp_session {
|
|||
}
|
||||
$Monitoring::GLPlugin::SNMP::max_msg_size = $max_msg_size;
|
||||
$Monitoring::GLPlugin::SNMP::session = $session;
|
||||
$Monitoring::GLPlugin::SNMP::session_params = \%params;
|
||||
}
|
||||
} else {
|
||||
$self->add_message(CRITICAL,
|
||||
|
@ -1253,7 +1297,7 @@ 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;
|
||||
int($Monitoring::GLPlugin::SNMP::session->max_msg_size() * 0.017);
|
||||
}
|
||||
|
||||
sub bulk_is_baeh {
|
||||
|
@ -1296,8 +1340,10 @@ sub no_such_mode {
|
|||
}
|
||||
}
|
||||
if (ref($self) eq "Monitoring::GLPlugin::SNMP") {
|
||||
printf "Mode %s is not implemented for this type of device\n",
|
||||
$self->opts->mode;
|
||||
$self->nagios_exit(3,
|
||||
sprintf "Mode %s is not implemented for this type of device",
|
||||
$self->opts->mode
|
||||
);
|
||||
exit 3;
|
||||
}
|
||||
}
|
||||
|
@ -1453,6 +1499,10 @@ sub implements_mib {
|
|||
grep { # following oid is inside this tree
|
||||
substr($_, 0, length($check_oid)) eq $check_oid
|
||||
} keys %{$traces}) {
|
||||
if (exists $traces->{$check_oid} &&
|
||||
$traces->{$check_oid} eq "endOfMibView") {
|
||||
return 0;
|
||||
}
|
||||
$self->debug(sprintf "implements %s (found traces)", $mib);
|
||||
return 1;
|
||||
}
|
||||
|
@ -1830,7 +1880,7 @@ sub get_table_row_oids {
|
|||
} map {
|
||||
[$_, $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{$mib}->{$_}]
|
||||
} keys %{$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{$mib}};
|
||||
return @columns;
|
||||
return $self->sort_oids(\@columns);
|
||||
}
|
||||
|
||||
# get_snmp_table_objects('MIB-Name', 'Table-Name', 'Table-Entry', [indices])
|
||||
|
@ -2127,6 +2177,7 @@ sub get_entries_get_bulk {
|
|||
$newparams{-contextengineid} = $self->opts->contextengineid if $self->opts->contextengineid;
|
||||
$newparams{-contextname} = $self->opts->contextname if $self->opts->contextname;
|
||||
}
|
||||
delete $newparams{'-maxrepetitions'}; # bulk howe gsagt!!
|
||||
$result = $Monitoring::GLPlugin::SNMP::session->get_entries(%newparams);
|
||||
return $result;
|
||||
}
|
||||
|
@ -2593,19 +2644,23 @@ sub make_symbolic {
|
|||
exists $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition} &&
|
||||
ref($Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition}) eq 'CODE') {
|
||||
if ($parameters) {
|
||||
if (! exists $mo->{$parameters}) {
|
||||
# this happens if there are two isolated get_snmp_object calls, one for
|
||||
# cLHaPeerIpAddressType and one for cLHaPeerIpAddress where the latter needs
|
||||
# the symbolized value of the first. we are inside this index-loop because
|
||||
# both have this usual extra .0 although this is not a table row.
|
||||
# if this were a table row, $mo would know cLHaPeerIpAddressType.
|
||||
# there's a chance that $self got cLHaPeerIpAddressType in a previous call
|
||||
# to make_symbolic
|
||||
if (@{$indices} and scalar(@{$indices}) == 1 and ! $indices->[0]->[0]) {
|
||||
$mo->{$parameters} = $self->{$parameters};
|
||||
my @args = ($result->{$fulloid});
|
||||
foreach my $parameter (split(",", $parameters)) {
|
||||
if (! exists $mo->{$parameter}) {
|
||||
# this happens if there are two isolated get_snmp_object calls, one for
|
||||
# cLHaPeerIpAddressType and one for cLHaPeerIpAddress where the latter needs
|
||||
# the symbolized value of the first. we are inside this index-loop because
|
||||
# both have this usual extra .0 although this is not a table row.
|
||||
# if this were a table row, $mo would know cLHaPeerIpAddressType.
|
||||
# there's a chance that $self got cLHaPeerIpAddressType in a previous call
|
||||
# to make_symbolic
|
||||
if (@{$indices} and scalar(@{$indices}) == 1 and ! $indices->[0]->[0]) {
|
||||
$mo->{$parameter} = $self->{$parameter};
|
||||
}
|
||||
}
|
||||
push(@args, $mo->{$parameter});
|
||||
}
|
||||
$mo->{$symoid} = $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition}->($result->{$fulloid}, $mo->{$parameters});
|
||||
$mo->{$symoid} = $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition}->(@args);
|
||||
} else {
|
||||
$mo->{$symoid} = $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition}->($result->{$fulloid});
|
||||
}
|
||||
|
@ -2673,12 +2728,16 @@ sub make_symbolic {
|
|||
exists $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition} &&
|
||||
ref($Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition}) eq 'CODE') {
|
||||
if ($parameters) {
|
||||
if (! exists $mo->{$parameters}) {
|
||||
if (@{$indices} and scalar(@{$indices}) == 1 and ! $indices->[0]->[0]) {
|
||||
$mo->{$parameters} = $self->{$parameters};
|
||||
my @args = ($result->{$fulloid});
|
||||
foreach my $parameter (split(",", $parameters)) {
|
||||
if (! exists $mo->{$parameter}) {
|
||||
if (@{$indices} and scalar(@{$indices}) == 1 and ! $indices->[0]->[0]) {
|
||||
$mo->{$parameter} = $self->{$parameter};
|
||||
}
|
||||
}
|
||||
push(@args, $mo->{$parameter});
|
||||
}
|
||||
$mo->{$symoid} = $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition}->($result->{$fulloid}, $mo->{$parameters});
|
||||
$mo->{$symoid} = $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition}->(@args);
|
||||
} else {
|
||||
$mo->{$symoid} = $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition}->($result->{$fulloid});
|
||||
}
|
|
@ -0,0 +1,101 @@
|
|||
package Monitoring::GLPlugin::SNMP::MibsAndOids::ADONISDNSMIB;
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'ADONIS-DNS-MIB'} = {
|
||||
url => '',
|
||||
name => 'ADONIS-DNS-MIB',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'ADONIS-DNS-MIB'} =
|
||||
'1.3.6.1.4.1.13315.100.101';
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'ADONIS-DNS-MIB'} = {
|
||||
'adonis' => '1.3.6.1.4.1.13315.100.101',
|
||||
'adonisObjects' => '1.3.6.1.4.1.13315.100.101.1',
|
||||
'dns' => '1.3.6.1.4.1.13315.100.101.1.1',
|
||||
'dnsDaemon' => '1.3.6.1.4.1.13315.100.101.1.1.1',
|
||||
'dnsDaemonRunning' => '1.3.6.1.4.1.13315.100.101.1.1.1.1',
|
||||
'dnsDaemonNumberOfZones' => '1.3.6.1.4.1.13315.100.101.1.1.1.2',
|
||||
'dnsDaemonDebugLevel' => '1.3.6.1.4.1.13315.100.101.1.1.1.3',
|
||||
'dnsDaemonZoneTransfersInProgress' => '1.3.6.1.4.1.13315.100.101.1.1.1.4',
|
||||
'dnsDaemonZoneTransfersDeferred' => '1.3.6.1.4.1.13315.100.101.1.1.1.5',
|
||||
'dnsDaemonSOAQueriesInProgress' => '1.3.6.1.4.1.13315.100.101.1.1.1.6',
|
||||
'dnsDaemonQueryLoggingState' => '1.3.6.1.4.1.13315.100.101.1.1.1.7',
|
||||
'dnsDaemonZoneTransferFailure' => '1.3.6.1.4.1.13315.100.101.1.1.1.8',
|
||||
'dnsStats' => '1.3.6.1.4.1.13315.100.101.1.1.2',
|
||||
'dnsStatsSuccess' => '1.3.6.1.4.1.13315.100.101.1.1.2.1',
|
||||
'dnsStatsReferral' => '1.3.6.1.4.1.13315.100.101.1.1.2.2',
|
||||
'dnsStatsNXRRSet' => '1.3.6.1.4.1.13315.100.101.1.1.2.3',
|
||||
'dnsStatsNXDomain' => '1.3.6.1.4.1.13315.100.101.1.1.2.4',
|
||||
'dnsStatsRecursion' => '1.3.6.1.4.1.13315.100.101.1.1.2.5',
|
||||
'dnsStatsFailure' => '1.3.6.1.4.1.13315.100.101.1.1.2.6',
|
||||
'dhcp' => '1.3.6.1.4.1.13315.100.101.1.2',
|
||||
'dhcpDaemon' => '1.3.6.1.4.1.13315.100.101.1.2.1',
|
||||
'dhcpDaemonRunning' => '1.3.6.1.4.1.13315.100.101.1.2.1.1',
|
||||
'dhcpDaemonSubnetAlert' => '1.3.6.1.4.1.13315.100.101.1.2.1.2',
|
||||
'dhcpDaemonLeaseStatsSuccess' => '1.3.6.1.4.1.13315.100.101.1.2.1.3',
|
||||
'dhcpFailOverState' => '1.3.6.1.4.1.13315.100.101.1.2.1.4',
|
||||
'dhcpStats' => '1.3.6.1.4.1.13315.100.101.1.2.2',
|
||||
'dhcpLeaseTable' => '1.3.6.1.4.1.13315.100.101.1.2.2.1',
|
||||
'dhcpLeaseEntry' => '1.3.6.1.4.1.13315.100.101.1.2.2.1.1',
|
||||
'dhcpIP' => '1.3.6.1.4.1.13315.100.101.1.2.2.1.1.1',
|
||||
'dhcpLeaseStartTime' => '1.3.6.1.4.1.13315.100.101.1.2.2.1.1.2',
|
||||
'dhcpLeaseEndTime' => '1.3.6.1.4.1.13315.100.101.1.2.2.1.1.3',
|
||||
'dhcpLeaseTimeStamp' => '1.3.6.1.4.1.13315.100.101.1.2.2.1.1.4',
|
||||
'dhcpLeaseBindState' => '1.3.6.1.4.1.13315.100.101.1.2.2.1.1.5',
|
||||
'dhcpLeaseBindStateDefinition' => 'ADONIS-DNS-MIB::dhcpLeaseBindState',
|
||||
'dhcpLeaseHardwareAddress' => '1.3.6.1.4.1.13315.100.101.1.2.2.1.1.6',
|
||||
'dhcpLeaseHostname' => '1.3.6.1.4.1.13315.100.101.1.2.2.1.1.7',
|
||||
'dhcpSubnetTable' => '1.3.6.1.4.1.13315.100.101.1.2.2.2',
|
||||
'dhcpSubnetEntry' => '1.3.6.1.4.1.13315.100.101.1.2.2.2.1',
|
||||
'dhcpSubnetIP' => '1.3.6.1.4.1.13315.100.101.1.2.2.2.1.1',
|
||||
'dhcpSubnetMask' => '1.3.6.1.4.1.13315.100.101.1.2.2.2.1.2',
|
||||
'dhcpSubnetSize' => '1.3.6.1.4.1.13315.100.101.1.2.2.2.1.3',
|
||||
'dhcpSubnetUsed' => '1.3.6.1.4.1.13315.100.101.1.2.2.2.1.4',
|
||||
'dhcpSubnetAlert' => '1.3.6.1.4.1.13315.100.101.1.2.2.2.1.5',
|
||||
'dhcpPoolTable' => '1.3.6.1.4.1.13315.100.101.1.2.2.3',
|
||||
'dhcpPoolEntry' => '1.3.6.1.4.1.13315.100.101.1.2.2.3.1',
|
||||
'dhcpPoolSubnetIP' => '1.3.6.1.4.1.13315.100.101.1.2.2.3.1.1',
|
||||
'dhcpPoolStartIP' => '1.3.6.1.4.1.13315.100.101.1.2.2.3.1.2',
|
||||
'dhcpPoolEndIP' => '1.3.6.1.4.1.13315.100.101.1.2.2.3.1.3',
|
||||
'dhcpPoolSize' => '1.3.6.1.4.1.13315.100.101.1.2.2.3.1.4',
|
||||
'dhcpPoolUsed' => '1.3.6.1.4.1.13315.100.101.1.2.2.3.1.5',
|
||||
'dhcpPoolAlert' => '1.3.6.1.4.1.13315.100.101.1.2.2.3.1.6',
|
||||
'dhcpConfig' => '1.3.6.1.4.1.13315.100.101.1.2.3',
|
||||
'dhcpFixedIPTable' => '1.3.6.1.4.1.13315.100.101.1.2.3.1',
|
||||
'dhcpFixedIPEntry' => '1.3.6.1.4.1.13315.100.101.1.2.3.1.1',
|
||||
'dhcpFixedIP' => '1.3.6.1.4.1.13315.100.101.1.2.3.1.1.1',
|
||||
'ha' => '1.3.6.1.4.1.13315.100.101.1.3',
|
||||
'haService' => '1.3.6.1.4.1.13315.100.101.1.3.1',
|
||||
'haServiceRunning' => '1.3.6.1.4.1.13315.100.101.1.3.1.1',
|
||||
'haServiceNodeType' => '1.3.6.1.4.1.13315.100.101.1.3.1.2',
|
||||
'haReplicationBinding' => '1.3.6.1.4.1.13315.100.101.1.3.1.3',
|
||||
'commandServer' => '1.3.6.1.4.1.13315.100.101.1.4',
|
||||
'commandServerDaemon' => '1.3.6.1.4.1.13315.100.101.1.4.1',
|
||||
'commandServerDaemonRunning' => '1.3.6.1.4.1.13315.100.101.1.4.1.1',
|
||||
'lcd' => '1.3.6.1.4.1.13315.100.101.1.5',
|
||||
'lcdDaemon' => '1.3.6.1.4.1.13315.100.101.1.5.1',
|
||||
'licenseValid' => '1.3.6.1.4.1.13315.100.101.1.5.1.1',
|
||||
'licenseExpiry' => '1.3.6.1.4.1.13315.100.101.1.5.1.2',
|
||||
'tftp' => '1.3.6.1.4.1.13315.100.101.1.6',
|
||||
'tftpDaemon' => '1.3.6.1.4.1.13315.100.101.1.6.1',
|
||||
'tftpDaemonRunning' => '1.3.6.1.4.1.13315.100.101.1.6.1.1',
|
||||
'system' => '1.3.6.1.4.1.13315.100.101.1.7',
|
||||
'systemDaemon' => '1.3.6.1.4.1.13315.100.101.1.7.1',
|
||||
'systemState' => '1.3.6.1.4.1.13315.100.101.1.7.1.1',
|
||||
'adonisTraps' => '1.3.6.1.4.1.13315.100.101.2',
|
||||
'trapDNS' => '1.3.6.1.4.1.13315.100.101.2.1',
|
||||
'trapHA' => '1.3.6.1.4.1.13315.100.101.2.2',
|
||||
'trapCommandServer' => '1.3.6.1.4.1.13315.100.101.2.3',
|
||||
'trapDHCP' => '1.3.6.1.4.1.13315.100.101.2.4',
|
||||
'trapReplication' => '1.3.6.1.4.1.13315.100.101.2.5',
|
||||
'trapTFTP' => '1.3.6.1.4.1.13315.100.101.2.6',
|
||||
'trapSystem' => '1.3.6.1.4.1.13315.100.101.2.7',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'ADONIS-DNS-MIB'} = {
|
||||
'dhcpLeaseBindState' => {
|
||||
'0' => 'free',
|
||||
'1' => 'active',
|
||||
'2' => 'fixed',
|
||||
},
|
||||
};
|
|
@ -0,0 +1,82 @@
|
|||
package Monitoring::GLPlugin::SNMP::MibsAndOids::BAMSNMPMIB;
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'BAM-SNMP-MIB'} = {
|
||||
url => '',
|
||||
name => 'BAM-SNMP-MIB',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'BAM-SNMP-MIB'} =
|
||||
'1.3.6.1.4.1.13315.100.210';
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'BAM-SNMP-MIB'} = {
|
||||
'bam' => '1.3.6.1.4.1.13315.100.210',
|
||||
'app' => '1.3.6.1.4.1.13315.100.210.1',
|
||||
'common' => '1.3.6.1.4.1.13315.100.210.1.1',
|
||||
'version' => '1.3.6.1.4.1.13315.100.210.1.1.1',
|
||||
'startTime' => '1.3.6.1.4.1.13315.100.210.1.1.2',
|
||||
'startTimeDefinition' => 'MIB-2-MIB::DateAndTime',
|
||||
'notificationMessage' => '1.3.6.1.4.1.13315.100.210.1.1.3',
|
||||
'database' => '1.3.6.1.4.1.13315.100.210.1.2',
|
||||
'maxPoolSize' => '1.3.6.1.4.1.13315.100.210.1.2.1',
|
||||
'numConnections' => '1.3.6.1.4.1.13315.100.210.1.2.2',
|
||||
'deployer' => '1.3.6.1.4.1.13315.100.210.1.3',
|
||||
'serverCountInQueue' => '1.3.6.1.4.1.13315.100.210.1.3.1',
|
||||
'executingServerCount' => '1.3.6.1.4.1.13315.100.210.1.3.2',
|
||||
'numberOfTasks' => '1.3.6.1.4.1.13315.100.210.1.3.3',
|
||||
'eventNotification' => '1.3.6.1.4.1.13315.100.210.1.4',
|
||||
'queueCount' => '1.3.6.1.4.1.13315.100.210.1.4.1',
|
||||
'reconciliation' => '1.3.6.1.4.1.13315.100.210.1.5',
|
||||
'poolSize' => '1.3.6.1.4.1.13315.100.210.1.5.1',
|
||||
'scheduledDeployer' => '1.3.6.1.4.1.13315.100.210.1.6',
|
||||
'numOfTimers' => '1.3.6.1.4.1.13315.100.210.1.6.1',
|
||||
'running' => '1.3.6.1.4.1.13315.100.210.1.6.2',
|
||||
'scheduledTaskService' => '1.3.6.1.4.1.13315.100.210.1.7',
|
||||
'queueSize' => '1.3.6.1.4.1.13315.100.210.1.7.1',
|
||||
'replication' => '1.3.6.1.4.1.13315.100.210.1.8',
|
||||
'walFilesTotalSize' => '1.3.6.1.4.1.13315.100.210.1.8.1',
|
||||
'replicationNodeStatus' => '1.3.6.1.4.1.13315.100.210.1.8.2',
|
||||
'replicationNodeStatusDefinition' => 'BAM-SNMP-MIB::replicationNodeStatus',
|
||||
'replicationAverageLatency' => '1.3.6.1.4.1.13315.100.210.1.8.3',
|
||||
'replicationWarningThreshold' => '1.3.6.1.4.1.13315.100.210.1.8.4',
|
||||
'replicationBreakThreshold' => '1.3.6.1.4.1.13315.100.210.1.8.5',
|
||||
'replicationLatencyWarningThreshold' => '1.3.6.1.4.1.13315.100.210.1.8.6',
|
||||
'replicationLatencyCriticalThreshold' => '1.3.6.1.4.1.13315.100.210.1.8.7',
|
||||
'replicationStatusTable' => '1.3.6.1.4.1.13315.100.210.1.8.8',
|
||||
'replicationStatusEntry' => '1.3.6.1.4.1.13315.100.210.1.8.8.1',
|
||||
'hostname' => '1.3.6.1.4.1.13315.100.210.1.8.8.1.1',
|
||||
'ipv4Address' => '1.3.6.1.4.1.13315.100.210.1.8.8.1.2',
|
||||
'currentLatency' => '1.3.6.1.4.1.13315.100.210.1.8.8.1.3',
|
||||
'replicationHealth' => '1.3.6.1.4.1.13315.100.210.1.8.8.1.4',
|
||||
'replicationHealthDefinition' => 'BAM-SNMP-MIB::replicationHealth',
|
||||
'replicationRole' => '1.3.6.1.4.1.13315.100.210.1.8.8.1.5',
|
||||
'notification' => '1.3.6.1.4.1.13315.100.210.1.9',
|
||||
'messagesReceived' => '1.3.6.1.4.1.13315.100.210.1.9.1',
|
||||
'messagesAccepted' => '1.3.6.1.4.1.13315.100.210.1.9.2',
|
||||
'ackSent' => '1.3.6.1.4.1.13315.100.210.1.9.3',
|
||||
'messagesProcessed' => '1.3.6.1.4.1.13315.100.210.1.9.4',
|
||||
'dbBackup' => '1.3.6.1.4.1.13315.100.210.1.10',
|
||||
'lastSuccessfulBackupTime' => '1.3.6.1.4.1.13315.100.210.1.10.1',
|
||||
'lastSuccessfulBackupTimeDefinition' => 'MIB-2-MIB::DateAndTime',
|
||||
'lastSuccessfulRemoteBackupTime' => '1.3.6.1.4.1.13315.100.210.1.10.2',
|
||||
'lastSuccessfulRemoteBackupTimeDefinition' => 'MIB-2-MIB::DateAndTime',
|
||||
'jvm' => '1.3.6.1.4.1.13315.100.210.3',
|
||||
'freeMemory' => '1.3.6.1.4.1.13315.100.210.3.1',
|
||||
'maxMemory' => '1.3.6.1.4.1.13315.100.210.3.2',
|
||||
'gcTime' => '1.3.6.1.4.1.13315.100.210.3.3',
|
||||
'usageThresholdExceeded' => '1.3.6.1.4.1.13315.100.210.3.4',
|
||||
'activeThreadCount' => '1.3.6.1.4.1.13315.100.210.3.5',
|
||||
'traps' => '1.3.6.1.4.1.13315.100.210.255',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'BAM-SNMP-MIB'} = {
|
||||
'replicationNodeStatus' => {
|
||||
'0' => 'standalone',
|
||||
'1' => 'primary',
|
||||
'2' => 'standby',
|
||||
},
|
||||
'replicationHealth' => {
|
||||
'0' => 'Not Replicating',
|
||||
'1' => 'Initializing',
|
||||
'2' => 'Replicating',
|
||||
}
|
||||
};
|
|
@ -0,0 +1,80 @@
|
|||
package Monitoring::GLPlugin::SNMP::MibsAndOids::BCNDHCPV4MIB;
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'BCN-DHCPV4-MIB'} = {
|
||||
url => '',
|
||||
name => 'BCN-DHCPV4-MIB',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'BCN-DHCPV4-MIB'} =
|
||||
'bcnDhcpv4MIB';
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'BCN-DHCPV4-MIB'} = {
|
||||
'bcnDhcpv4' => '1.3.6.1.4.1.13315.3.1.1',
|
||||
'bcnDhcpv4MIB' => '1.3.6.1.4.1.13315.3.1.1.1',
|
||||
'bcnDhcpv4Objects' => '1.3.6.1.4.1.13315.3.1.1.2',
|
||||
'bcnDhcpv4ServiceStatus' => '1.3.6.1.4.1.13315.3.1.1.2.1',
|
||||
'bcnDhcpv4SerOperState' => '1.3.6.1.4.1.13315.3.1.1.2.1.1',
|
||||
'bcnDhcpv4SerOperStateDefinition' => 'BCN-DHCPV4-MIB::bcnDhcpv4SerOperState',
|
||||
'bcnDhcpv4FirstAlertIpAddr' => '1.3.6.1.4.1.13315.3.1.1.2.1.2',
|
||||
'bcnDhcpv4LeaseStatsSuccess' => '1.3.6.1.4.1.13315.3.1.1.2.1.3',
|
||||
'bcnDhcpv4ServiceStatistics' => '1.3.6.1.4.1.13315.3.1.1.2.2',
|
||||
'bcnDhcpv4LeaseTable' => '1.3.6.1.4.1.13315.3.1.1.2.2.1',
|
||||
'bcnDhcpv4LeaseEntry' => '1.3.6.1.4.1.13315.3.1.1.2.2.1.1',
|
||||
'bcnDhcpv4LeaseIP' => '1.3.6.1.4.1.13315.3.1.1.2.2.1.1.1',
|
||||
'bcnDhcpv4LeaseStartTime' => '1.3.6.1.4.1.13315.3.1.1.2.2.1.1.2',
|
||||
'bcnDhcpv4LeaseEndTime' => '1.3.6.1.4.1.13315.3.1.1.2.2.1.1.3',
|
||||
'bcnDhcpv4LeaseTimeStamp' => '1.3.6.1.4.1.13315.3.1.1.2.2.1.1.4',
|
||||
'bcnDhcpv4LeaseMacAddress' => '1.3.6.1.4.1.13315.3.1.1.2.2.1.1.5',
|
||||
'bcnDhcpv4LeaseHostname' => '1.3.6.1.4.1.13315.3.1.1.2.2.1.1.6',
|
||||
'bcnDhcpv4SubnetTable' => '1.3.6.1.4.1.13315.3.1.1.2.2.2',
|
||||
'bcnDhcpv4SubnetEntry' => '1.3.6.1.4.1.13315.3.1.1.2.2.2.1',
|
||||
'bcnDhcpv4SubnetIP' => '1.3.6.1.4.1.13315.3.1.1.2.2.2.1.1',
|
||||
'bcnDhcpv4SubnetMask' => '1.3.6.1.4.1.13315.3.1.1.2.2.2.1.2',
|
||||
'bcnDhcpv4SubnetSize' => '1.3.6.1.4.1.13315.3.1.1.2.2.2.1.3',
|
||||
'bcnDhcpv4SubnetFreeAddresses' => '1.3.6.1.4.1.13315.3.1.1.2.2.2.1.4',
|
||||
'bcnDhcpv4SubnetLowThreshold' => '1.3.6.1.4.1.13315.3.1.1.2.2.2.1.5',
|
||||
'bcnDhcpv4SubnetHighThreshold' => '1.3.6.1.4.1.13315.3.1.1.2.2.2.1.6',
|
||||
'bcnDhcpv4PoolTable' => '1.3.6.1.4.1.13315.3.1.1.2.2.3',
|
||||
'bcnDhcpv4PoolEntry' => '1.3.6.1.4.1.13315.3.1.1.2.2.3.1',
|
||||
'bcnDhcpv4PoolStartIP' => '1.3.6.1.4.1.13315.3.1.1.2.2.3.1.1',
|
||||
'bcnDhcpv4PoolEndIP' => '1.3.6.1.4.1.13315.3.1.1.2.2.3.1.2',
|
||||
'bcnDhcpv4PoolSubnetIP' => '1.3.6.1.4.1.13315.3.1.1.2.2.3.1.3',
|
||||
'bcnDhcpv4PoolSize' => '1.3.6.1.4.1.13315.3.1.1.2.2.3.1.4',
|
||||
'bcnDhcpv4PoolFreeAddresses' => '1.3.6.1.4.1.13315.3.1.1.2.2.3.1.5',
|
||||
'bcnDhcpv4FixedIPTable' => '1.3.6.1.4.1.13315.3.1.1.2.2.4',
|
||||
'bcnDhcpv4FixedIPEntry' => '1.3.6.1.4.1.13315.3.1.1.2.2.4.1',
|
||||
'bcnDhcpv4FixedIP' => '1.3.6.1.4.1.13315.3.1.1.2.2.4.1.1',
|
||||
'bcnDhcpv4Notification' => '1.3.6.1.4.1.13315.3.1.1.3',
|
||||
'bcnDhcpv4NotificationEvents' => '1.3.6.1.4.1.13315.3.1.1.3.0',
|
||||
'bcnDhcpv4NotificationData' => '1.3.6.1.4.1.13315.3.1.1.3.1',
|
||||
'bcnDhcpv4AlarmSeverity' => '1.3.6.1.4.1.13315.3.1.1.3.1.1',
|
||||
'bcnDhcpv4AlarmInfo' => '1.3.6.1.4.1.13315.3.1.1.3.1.2',
|
||||
'bcnDhcpv4FailOverState' => '1.3.6.1.4.1.13315.3.1.1.3.1.3',
|
||||
'bcnDhcpv4FailOverStateDefinition' => 'BCN-DHCPV4-MIB::bcnDhcpv4FailOverState',
|
||||
'bcnDhcpv4SubnetAlertIpAddr' => '1.3.6.1.4.1.13315.3.1.1.3.1.4',
|
||||
'bcnDhcpv4Conformance' => '1.3.6.1.4.1.13315.3.1.1.4',
|
||||
'bcnDhcpv4ServiceCompliances' => '1.3.6.1.4.1.13315.3.1.1.4.1',
|
||||
'bcnDhcpv4ServiceGroups' => '1.3.6.1.4.1.13315.3.1.1.4.2',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'BCN-DHCPV4-MIB'} = {
|
||||
'bcnDhcpv4FailOverState' => {
|
||||
'1' => 'startup',
|
||||
'2' => 'normal',
|
||||
'3' => 'communicationsInterrupted',
|
||||
'4' => 'partnerDown',
|
||||
'5' => 'potentialConflict',
|
||||
'6' => 'recover',
|
||||
'7' => 'paused',
|
||||
'8' => 'shutdown',
|
||||
'9' => 'recoverDone',
|
||||
'254' => 'recoverWait',
|
||||
},
|
||||
'bcnDhcpv4SerOperState' => {
|
||||
'1' => 'running',
|
||||
'2' => 'notRunning',
|
||||
'3' => 'starting',
|
||||
'4' => 'stopping',
|
||||
'5' => 'fault',
|
||||
},
|
||||
};
|
|
@ -0,0 +1,55 @@
|
|||
package Monitoring::GLPlugin::SNMP::MibsAndOids::BCNDNSMIB;
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'BCN-DNS-MIB'} = {
|
||||
url => '',
|
||||
name => 'BCN-DNS-MIB',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'BCN-DNS-MIB'} =
|
||||
'1.3.6.1.4.1.13315.3.1.2.1';
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'BCN-DNS-MIB'} = {
|
||||
'bcnDns' => '1.3.6.1.4.1.13315.3.1.2',
|
||||
'bcnDnsMIB' => '1.3.6.1.4.1.13315.3.1.2.1',
|
||||
'bcnDnsObjects' => '1.3.6.1.4.1.13315.3.1.2.2',
|
||||
'bcnDnsServiceStatus' => '1.3.6.1.4.1.13315.3.1.2.2.1',
|
||||
'bcnDnsSerOperState' => '1.3.6.1.4.1.13315.3.1.2.2.1.1',
|
||||
'bcnDnsSerOperStateDefinition' => 'BCN-DNS-MIB::bcnDnsSerOperState',
|
||||
'bcnDnsSerNumberOfZones' => '1.3.6.1.4.1.13315.3.1.2.2.1.2',
|
||||
'bcnDnsSerTransfersRunning' => '1.3.6.1.4.1.13315.3.1.2.2.1.3',
|
||||
'bcnDnsSerTransfersDeferred' => '1.3.6.1.4.1.13315.3.1.2.2.1.4',
|
||||
'bcnDnsSerSOAQueriesInProgress' => '1.3.6.1.4.1.13315.3.1.2.2.1.5',
|
||||
'bcnDnsSerQueryLogging' => '1.3.6.1.4.1.13315.3.1.2.2.1.6',
|
||||
'bcnDnsSerQueryLoggingDefinition' => 'BCN-DNS-MIB::bcnDnsSerQueryLogging',
|
||||
'bcnDnsSerDebugLevel' => '1.3.6.1.4.1.13315.3.1.2.2.1.7',
|
||||
'bcnDnsServiceStatistics' => '1.3.6.1.4.1.13315.3.1.2.2.2',
|
||||
'bcnDnsStatServer' => '1.3.6.1.4.1.13315.3.1.2.2.2.1',
|
||||
'bcnDnsStatSrvQrySuccess' => '1.3.6.1.4.1.13315.3.1.2.2.2.1.1',
|
||||
'bcnDnsStatSrvQryReferral' => '1.3.6.1.4.1.13315.3.1.2.2.2.1.2',
|
||||
'bcnDnsStatSrvQryNXRRSet' => '1.3.6.1.4.1.13315.3.1.2.2.2.1.3',
|
||||
'bcnDnsStatSrvQryNXDomain' => '1.3.6.1.4.1.13315.3.1.2.2.2.1.4',
|
||||
'bcnDnsStatSrvQryRecursion' => '1.3.6.1.4.1.13315.3.1.2.2.2.1.5',
|
||||
'bcnDnsStatSrvQryFailure' => '1.3.6.1.4.1.13315.3.1.2.2.2.1.6',
|
||||
'bcnDnsNotification' => '1.3.6.1.4.1.13315.3.1.2.3',
|
||||
'bcnDnsNotificationEvents' => '1.3.6.1.4.1.13315.3.1.2.3.0',
|
||||
'bcnDnsNotificationData' => '1.3.6.1.4.1.13315.3.1.2.3.1',
|
||||
'bcnDnsAlarmSeverity' => '1.3.6.1.4.1.13315.3.1.2.3.1.1',
|
||||
'bcnDnsAlarmInfo' => '1.3.6.1.4.1.13315.3.1.2.3.1.2',
|
||||
'bcnDnsConformance' => '1.3.6.1.4.1.13315.3.1.2.4',
|
||||
'bcnDnsServiceCompliances' => '1.3.6.1.4.1.13315.3.1.2.4.1',
|
||||
'bcnDnsServiceGroups' => '1.3.6.1.4.1.13315.3.1.2.4.2',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'BCN-DNS-MIB'} = {
|
||||
'bcnDnsSerOperState' => {
|
||||
'1' => 'running',
|
||||
'2' => 'notRunning',
|
||||
'3' => 'starting',
|
||||
'4' => 'stopping',
|
||||
'5' => 'fault',
|
||||
},
|
||||
'bcnDnsSerQueryLogging' => {
|
||||
'1' => 'on',
|
||||
'2' => 'off',
|
||||
},
|
||||
};
|
|
@ -0,0 +1,57 @@
|
|||
package Monitoring::GLPlugin::SNMP::MibsAndOids::BCNSYSTEMMIB;
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'BCN-SYSTEM-MIB'} = {
|
||||
url => '',
|
||||
name => 'BCN-SYSTEM-MIB',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'BCN-SYSTEM-MIB'} =
|
||||
'1.3.6.1.4.1.13315.3.2.1';
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'BCN-SYSTEM-MIB'} = {
|
||||
'bcnSystem' => '1.3.6.1.4.1.13315.3.2',
|
||||
'bcnSystemMIB' => '1.3.6.1.4.1.13315.3.2.1',
|
||||
'bcnSystemObjects' => '1.3.6.1.4.1.13315.3.2.2',
|
||||
'bcnSysIdentification' => '1.3.6.1.4.1.13315.3.2.2.1',
|
||||
'bcnSysIdProduct' => '1.3.6.1.4.1.13315.3.2.2.1.1',
|
||||
'bcnSysIdOSRelease' => '1.3.6.1.4.1.13315.3.2.2.1.2',
|
||||
'bcnSysIdSerial' => '1.3.6.1.4.1.13315.3.2.2.1.3',
|
||||
'bcnSysIdServiceTag' => '1.3.6.1.4.1.13315.3.2.2.1.4',
|
||||
'bcnSysIdPlatform' => '1.3.6.1.4.1.13315.3.2.2.1.5',
|
||||
'bcnSysIdVendorPlatform' => '1.3.6.1.4.1.13315.3.2.2.1.6',
|
||||
'bcnSysIdServicesTable' => '1.3.6.1.4.1.13315.3.2.2.1.7',
|
||||
'bcnSysIdServicesEntry' => '1.3.6.1.4.1.13315.3.2.2.1.7.1',
|
||||
'bcnSysIdServicesIndex' => '1.3.6.1.4.1.13315.3.2.2.1.7.1.1',
|
||||
'bcnSysIdServicesOID' => '1.3.6.1.4.1.13315.3.2.2.1.7.1.2',
|
||||
'bcnSysIdServicesStateTS' => '1.3.6.1.4.1.13315.3.2.2.1.7.1.3',
|
||||
'bcnSysServices' => '1.3.6.1.4.1.13315.3.2.2.2',
|
||||
'bcnSysServDNSService' => '1.3.6.1.4.1.13315.3.2.2.2.1',
|
||||
'bcnSysServDHCPService' => '1.3.6.1.4.1.13315.3.2.2.2.2',
|
||||
'bcnSysServTFTPService' => '1.3.6.1.4.1.13315.3.2.2.2.3',
|
||||
'bcnSysServLicensing' => '1.3.6.1.4.1.13315.3.2.2.2.4',
|
||||
'bcnSysServTFTP' => '1.3.6.1.4.1.13315.3.2.2.2.5',
|
||||
'bcnSysServNTP' => '1.3.6.1.4.1.13315.3.2.2.2.6',
|
||||
'bcnSysServPowerSupply' => '1.3.6.1.4.1.13315.3.2.2.2.7',
|
||||
'bcnSysServNetworkInterface' => '1.3.6.1.4.1.13315.3.2.2.2.8',
|
||||
'bcnSysServHighAvailability' => '1.3.6.1.4.1.13315.3.2.2.2.9',
|
||||
'bcnSysServReplication' => '1.3.6.1.4.1.13315.3.2.2.2.10',
|
||||
'bcnSysServSystem' => '1.3.6.1.4.1.13315.3.2.2.2.11',
|
||||
'bcnSystemNotification' => '1.3.6.1.4.1.13315.3.2.3',
|
||||
'bcnSysNotificationEvents' => '1.3.6.1.4.1.13315.3.2.3.0',
|
||||
'bcnSysNotificationData' => '1.3.6.1.4.1.13315.3.2.3.1',
|
||||
'bcnSysSerOperState' => '1.3.6.1.4.1.13315.3.2.3.1.1',
|
||||
'bcnSysSerOperStateDefinition' => 'BCN-SYSTEM-MIB::bcnSysSerOperState',
|
||||
'bcnSysAlarmSeverity' => '1.3.6.1.4.1.13315.3.2.3.1.2',
|
||||
'bcnSysAlarmInfo' => '1.3.6.1.4.1.13315.3.2.3.1.3',
|
||||
'bcnSystemConformance' => '1.3.6.1.4.1.13315.3.2.4',
|
||||
'bcnSysServliances' => '1.3.6.1.4.1.13315.3.2.4.1',
|
||||
'bcnSysGroups' => '1.3.6.1.4.1.13315.3.2.4.2',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'BCN-SYSTEM-MIB'} = {
|
||||
'bcnSysSerOperState' => {
|
||||
'1' => 'start',
|
||||
'2' => 'reboot',
|
||||
'3' => 'shutdown',
|
||||
},
|
||||
};
|
|
@ -21,6 +21,7 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-ENTITY-SENSOR-M
|
|||
'entSensorScaleDefinition' => 'CISCO-ENTITY-SENSOR-MIB::SensorDataScale',
|
||||
'entSensorPrecision' => '1.3.6.1.4.1.9.9.91.1.1.1.1.3',
|
||||
'entSensorValue' => '1.3.6.1.4.1.9.9.91.1.1.1.1.4',
|
||||
'entSensorValueDefinition' => 'CISCO-ENTITY-SENSOR-MIB::entSensorValue(entSensorScale,entSensorType)',
|
||||
'entSensorStatus' => '1.3.6.1.4.1.9.9.91.1.1.1.1.5',
|
||||
'entSensorStatusDefinition' => 'CISCO-ENTITY-SENSOR-MIB::SensorStatus',
|
||||
'entSensorValueTimeStamp' => '1.3.6.1.4.1.9.9.91.1.1.1.1.6',
|
||||
|
@ -95,6 +96,35 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCO-ENTITY-SENSOR-MIB
|
|||
'16' => 'zetta',
|
||||
'17' => 'yotta',
|
||||
},
|
||||
'entSensorValue' => sub {
|
||||
my($value, $scale, $type) = @_;
|
||||
if ($type eq "truthvalue") {
|
||||
return $value ? "true" : "false";
|
||||
} elsif ($type eq "specialEnum") {
|
||||
return $value;
|
||||
} else {
|
||||
my $exp = {
|
||||
yocto => -24,
|
||||
zepto => -21,
|
||||
atto => -18,
|
||||
femto => -15,
|
||||
pico => -12,
|
||||
nano => -9,
|
||||
micro => -6,
|
||||
milli => -3,
|
||||
units => 0,
|
||||
kilo => 3,
|
||||
mega => 6,
|
||||
giga => 9,
|
||||
tera => 12,
|
||||
exa => 15,
|
||||
peta => 18,
|
||||
zetta => 21,
|
||||
yotta => 24,
|
||||
};
|
||||
return exists $exp->{$scale} ? $value * 10 ** $exp->{$scale} : $value;
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
1;
|
|
@ -0,0 +1,227 @@
|
|||
package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOPROCESSMIB;
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'CISCO-PROCESS-MIB'} = {
|
||||
url => '',
|
||||
name => 'CISCO-PROCESS-MIB',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'CISCO-PROCESS-MIB'} =
|
||||
'1.3.6.1.4.1.9.9.109';
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-PROCESS-MIB'} = {
|
||||
'ciscoProcessMIB' => '1.3.6.1.4.1.9.9.109',
|
||||
'ciscoProcessMIBObjects' => '1.3.6.1.4.1.9.9.109.1',
|
||||
'cpmCPU' => '1.3.6.1.4.1.9.9.109.1.1',
|
||||
'cpmCPUTotalTable' => '1.3.6.1.4.1.9.9.109.1.1.1',
|
||||
'cpmCPUTotalEntry' => '1.3.6.1.4.1.9.9.109.1.1.1.1',
|
||||
'cpmCPUTotalIndex' => '1.3.6.1.4.1.9.9.109.1.1.1.1.1',
|
||||
'cpmCPUTotalPhysicalIndex' => '1.3.6.1.4.1.9.9.109.1.1.1.1.2',
|
||||
'cpmCPUTotal5sec' => '1.3.6.1.4.1.9.9.109.1.1.1.1.3',
|
||||
'cpmCPUTotal1min' => '1.3.6.1.4.1.9.9.109.1.1.1.1.4',
|
||||
'cpmCPUTotal5min' => '1.3.6.1.4.1.9.9.109.1.1.1.1.5',
|
||||
'cpmCPUTotal5secRev' => '1.3.6.1.4.1.9.9.109.1.1.1.1.6',
|
||||
'cpmCPUTotal1minRev' => '1.3.6.1.4.1.9.9.109.1.1.1.1.7',
|
||||
'cpmCPUTotal5minRev' => '1.3.6.1.4.1.9.9.109.1.1.1.1.8',
|
||||
'cpmCPUMonInterval' => '1.3.6.1.4.1.9.9.109.1.1.1.1.9',
|
||||
'cpmCPUTotalMonIntervalValue' => '1.3.6.1.4.1.9.9.109.1.1.1.1.10',
|
||||
'cpmCPUInterruptMonIntervalValue' => '1.3.6.1.4.1.9.9.109.1.1.1.1.11',
|
||||
'cpmCPUMemoryUsed' => '1.3.6.1.4.1.9.9.109.1.1.1.1.12',
|
||||
'cpmCPUMemoryFree' => '1.3.6.1.4.1.9.9.109.1.1.1.1.13',
|
||||
'cpmCPUMemoryKernelReserved' => '1.3.6.1.4.1.9.9.109.1.1.1.1.14',
|
||||
'cpmCPUMemoryLowest' => '1.3.6.1.4.1.9.9.109.1.1.1.1.15',
|
||||
'cpmCPUMemoryUsedOvrflw' => '1.3.6.1.4.1.9.9.109.1.1.1.1.16',
|
||||
'cpmCPUMemoryHCUsed' => '1.3.6.1.4.1.9.9.109.1.1.1.1.17',
|
||||
'cpmCPUMemoryFreeOvrflw' => '1.3.6.1.4.1.9.9.109.1.1.1.1.18',
|
||||
'cpmCPUMemoryHCFree' => '1.3.6.1.4.1.9.9.109.1.1.1.1.19',
|
||||
'cpmCPUMemoryKernelReservedOvrflw' => '1.3.6.1.4.1.9.9.109.1.1.1.1.20',
|
||||
'cpmCPUMemoryHCKernelReserved' => '1.3.6.1.4.1.9.9.109.1.1.1.1.21',
|
||||
'cpmCPUMemoryLowestOvrflw' => '1.3.6.1.4.1.9.9.109.1.1.1.1.22',
|
||||
'cpmCPUMemoryHCLowest' => '1.3.6.1.4.1.9.9.109.1.1.1.1.23',
|
||||
'cpmCPULoadAvg1min' => '1.3.6.1.4.1.9.9.109.1.1.1.1.24',
|
||||
'cpmCPULoadAvg5min' => '1.3.6.1.4.1.9.9.109.1.1.1.1.25',
|
||||
'cpmCPULoadAvg15min' => '1.3.6.1.4.1.9.9.109.1.1.1.1.26',
|
||||
'cpmCPUMemoryCommitted' => '1.3.6.1.4.1.9.9.109.1.1.1.1.27',
|
||||
'cpmCPUMemoryCommittedOvrflw' => '1.3.6.1.4.1.9.9.109.1.1.1.1.28',
|
||||
'cpmCPUMemoryHCCommitted' => '1.3.6.1.4.1.9.9.109.1.1.1.1.29',
|
||||
'cpmCoreTable' => '1.3.6.1.4.1.9.9.109.1.1.2',
|
||||
'cpmCoreEntry' => '1.3.6.1.4.1.9.9.109.1.1.2.1',
|
||||
'cpmCoreIndex' => '1.3.6.1.4.1.9.9.109.1.1.2.1.1',
|
||||
'cpmCorePhysicalIndex' => '1.3.6.1.4.1.9.9.109.1.1.2.1.2',
|
||||
'cpmCore5sec' => '1.3.6.1.4.1.9.9.109.1.1.2.1.3',
|
||||
'cpmCore1min' => '1.3.6.1.4.1.9.9.109.1.1.2.1.4',
|
||||
'cpmCore5min' => '1.3.6.1.4.1.9.9.109.1.1.2.1.5',
|
||||
'cpmCoreLoadAvg1min' => '1.3.6.1.4.1.9.9.109.1.1.2.1.6',
|
||||
'cpmCoreLoadAvg5min' => '1.3.6.1.4.1.9.9.109.1.1.2.1.7',
|
||||
'cpmCoreLoadAvg15min' => '1.3.6.1.4.1.9.9.109.1.1.2.1.8',
|
||||
'cpmProcess' => '1.3.6.1.4.1.9.9.109.1.2',
|
||||
'cpmProcessTable' => '1.3.6.1.4.1.9.9.109.1.2.1',
|
||||
'cpmProcessEntry' => '1.3.6.1.4.1.9.9.109.1.2.1.1',
|
||||
'cpmProcessPID' => '1.3.6.1.4.1.9.9.109.1.2.1.1.1',
|
||||
'cpmProcessName' => '1.3.6.1.4.1.9.9.109.1.2.1.1.2',
|
||||
'cpmProcessuSecs' => '1.3.6.1.4.1.9.9.109.1.2.1.1.4',
|
||||
'cpmProcessTimeCreated' => '1.3.6.1.4.1.9.9.109.1.2.1.1.5',
|
||||
'cpmProcessAverageUSecs' => '1.3.6.1.4.1.9.9.109.1.2.1.1.6',
|
||||
'cpmProcessExtTable' => '1.3.6.1.4.1.9.9.109.1.2.2',
|
||||
'cpmProcessExtEntry' => '1.3.6.1.4.1.9.9.109.1.2.2.1',
|
||||
'cpmProcExtMemAllocated' => '1.3.6.1.4.1.9.9.109.1.2.2.1.1',
|
||||
'cpmProcExtMemFreed' => '1.3.6.1.4.1.9.9.109.1.2.2.1.2',
|
||||
'cpmProcExtInvoked' => '1.3.6.1.4.1.9.9.109.1.2.2.1.3',
|
||||
'cpmProcExtRuntime' => '1.3.6.1.4.1.9.9.109.1.2.2.1.4',
|
||||
'cpmProcExtUtil5Sec' => '1.3.6.1.4.1.9.9.109.1.2.2.1.5',
|
||||
'cpmProcExtUtil1Min' => '1.3.6.1.4.1.9.9.109.1.2.2.1.6',
|
||||
'cpmProcExtUtil5Min' => '1.3.6.1.4.1.9.9.109.1.2.2.1.7',
|
||||
'cpmProcExtPriority' => '1.3.6.1.4.1.9.9.109.1.2.2.1.8',
|
||||
'cpmProcExtPriorityDefinition' => 'CISCO-PROCESS-MIB::cpmProcExtPriority',
|
||||
'cpmProcessExtRevTable' => '1.3.6.1.4.1.9.9.109.1.2.3',
|
||||
'cpmProcessExtRevEntry' => '1.3.6.1.4.1.9.9.109.1.2.3.1',
|
||||
'cpmProcExtMemAllocatedRev' => '1.3.6.1.4.1.9.9.109.1.2.3.1.1',
|
||||
'cpmProcExtMemFreedRev' => '1.3.6.1.4.1.9.9.109.1.2.3.1.2',
|
||||
'cpmProcExtInvokedRev' => '1.3.6.1.4.1.9.9.109.1.2.3.1.3',
|
||||
'cpmProcExtRuntimeRev' => '1.3.6.1.4.1.9.9.109.1.2.3.1.4',
|
||||
'cpmProcExtUtil5SecRev' => '1.3.6.1.4.1.9.9.109.1.2.3.1.5',
|
||||
'cpmProcExtUtil1MinRev' => '1.3.6.1.4.1.9.9.109.1.2.3.1.6',
|
||||
'cpmProcExtUtil5MinRev' => '1.3.6.1.4.1.9.9.109.1.2.3.1.7',
|
||||
'cpmProcExtPriorityRev' => '1.3.6.1.4.1.9.9.109.1.2.3.1.8',
|
||||
'cpmProcExtPriorityRevDefinition' => 'CISCO-PROCESS-MIB::cpmProcExtPriorityRev',
|
||||
'cpmProcessType' => '1.3.6.1.4.1.9.9.109.1.2.3.1.9',
|
||||
'cpmProcessTypeDefinition' => 'CISCO-PROCESS-MIB::cpmProcessType',
|
||||
'cpmProcessRespawn' => '1.3.6.1.4.1.9.9.109.1.2.3.1.10',
|
||||
'cpmProcessRespawnCount' => '1.3.6.1.4.1.9.9.109.1.2.3.1.11',
|
||||
'cpmProcessRespawnAfterLastPatch' => '1.3.6.1.4.1.9.9.109.1.2.3.1.12',
|
||||
'cpmProcessMemoryCore' => '1.3.6.1.4.1.9.9.109.1.2.3.1.13',
|
||||
'cpmProcessMemoryCoreDefinition' => 'CISCO-PROCESS-MIB::cpmProcessMemoryCore',
|
||||
'cpmProcessLastRestartUser' => '1.3.6.1.4.1.9.9.109.1.2.3.1.14',
|
||||
'cpmProcessTextSegmentSize' => '1.3.6.1.4.1.9.9.109.1.2.3.1.15',
|
||||
'cpmProcessDataSegmentSize' => '1.3.6.1.4.1.9.9.109.1.2.3.1.16',
|
||||
'cpmProcessStackSize' => '1.3.6.1.4.1.9.9.109.1.2.3.1.17',
|
||||
'cpmProcessDynamicMemorySize' => '1.3.6.1.4.1.9.9.109.1.2.3.1.18',
|
||||
'cpmProcExtMemAllocatedRevOvrflw' => '1.3.6.1.4.1.9.9.109.1.2.3.1.19',
|
||||
'cpmProcExtHCMemAllocatedRev' => '1.3.6.1.4.1.9.9.109.1.2.3.1.20',
|
||||
'cpmProcExtMemFreedRevOvrflw' => '1.3.6.1.4.1.9.9.109.1.2.3.1.21',
|
||||
'cpmProcExtHCMemFreedRev' => '1.3.6.1.4.1.9.9.109.1.2.3.1.22',
|
||||
'cpmProcessTextSegmentSizeOvrflw' => '1.3.6.1.4.1.9.9.109.1.2.3.1.23',
|
||||
'cpmProcessHCTextSegmentSize' => '1.3.6.1.4.1.9.9.109.1.2.3.1.24',
|
||||
'cpmProcessDataSegmentSizeOvrflw' => '1.3.6.1.4.1.9.9.109.1.2.3.1.25',
|
||||
'cpmProcessHCDataSegmentSize' => '1.3.6.1.4.1.9.9.109.1.2.3.1.26',
|
||||
'cpmProcessStackSizeOvrflw' => '1.3.6.1.4.1.9.9.109.1.2.3.1.27',
|
||||
'cpmProcessHCStackSize' => '1.3.6.1.4.1.9.9.109.1.2.3.1.28',
|
||||
'cpmProcessDynamicMemorySizeOvrflw' => '1.3.6.1.4.1.9.9.109.1.2.3.1.29',
|
||||
'cpmProcessHCDynamicMemorySize' => '1.3.6.1.4.1.9.9.109.1.2.3.1.30',
|
||||
'cpmCPUThresholdTable' => '1.3.6.1.4.1.9.9.109.1.2.4',
|
||||
'cpmCPUThresholdEntry' => '1.3.6.1.4.1.9.9.109.1.2.4.1',
|
||||
'cpmCPUThresholdClass' => '1.3.6.1.4.1.9.9.109.1.2.4.1.1',
|
||||
'cpmCPUThresholdClassDefinition' => 'CISCO-PROCESS-MIB::cpmCPUThresholdClass',
|
||||
'cpmCPURisingThresholdValue' => '1.3.6.1.4.1.9.9.109.1.2.4.1.2',
|
||||
'cpmCPURisingThresholdPeriod' => '1.3.6.1.4.1.9.9.109.1.2.4.1.3',
|
||||
'cpmCPUFallingThresholdValue' => '1.3.6.1.4.1.9.9.109.1.2.4.1.4',
|
||||
'cpmCPUFallingThresholdPeriod' => '1.3.6.1.4.1.9.9.109.1.2.4.1.5',
|
||||
'cpmCPUThresholdEntryStatus' => '1.3.6.1.4.1.9.9.109.1.2.4.1.6',
|
||||
'cpmCPUHistory' => '1.3.6.1.4.1.9.9.109.1.2.5',
|
||||
'cpmCPUHistoryThreshold' => '1.3.6.1.4.1.9.9.109.1.2.5.1',
|
||||
'cpmCPUHistorySize' => '1.3.6.1.4.1.9.9.109.1.2.5.2',
|
||||
'cpmCPUHistoryTable' => '1.3.6.1.4.1.9.9.109.1.2.5.3',
|
||||
'cpmCPUHistoryEntry' => '1.3.6.1.4.1.9.9.109.1.2.5.3.1',
|
||||
'cpmCPUHistoryReportId' => '1.3.6.1.4.1.9.9.109.1.2.5.3.1.1',
|
||||
'cpmCPUHistoryReportSize' => '1.3.6.1.4.1.9.9.109.1.2.5.3.1.2',
|
||||
'cpmCPUHistoryTotalUtil' => '1.3.6.1.4.1.9.9.109.1.2.5.3.1.3',
|
||||
'cpmCPUHistoryInterruptUtil' => '1.3.6.1.4.1.9.9.109.1.2.5.3.1.4',
|
||||
'cpmCPUHistoryCreatedTime' => '1.3.6.1.4.1.9.9.109.1.2.5.3.1.5',
|
||||
'cpmCPUProcessHistoryTable' => '1.3.6.1.4.1.9.9.109.1.2.5.4',
|
||||
'cpmCPUProcessHistoryEntry' => '1.3.6.1.4.1.9.9.109.1.2.5.4.1',
|
||||
'cpmCPUProcessHistoryIndex' => '1.3.6.1.4.1.9.9.109.1.2.5.4.1.1',
|
||||
'cpmCPUHistoryProcId' => '1.3.6.1.4.1.9.9.109.1.2.5.4.1.2',
|
||||
'cpmCPUHistoryProcName' => '1.3.6.1.4.1.9.9.109.1.2.5.4.1.3',
|
||||
'cpmCPUHistoryProcCreated' => '1.3.6.1.4.1.9.9.109.1.2.5.4.1.4',
|
||||
'cpmCPUHistoryProcUtil' => '1.3.6.1.4.1.9.9.109.1.2.5.4.1.5',
|
||||
'cpmThread' => '1.3.6.1.4.1.9.9.109.1.3',
|
||||
'cpmThreadTable' => '1.3.6.1.4.1.9.9.109.1.3.1',
|
||||
'cpmThreadEntry' => '1.3.6.1.4.1.9.9.109.1.3.1.1',
|
||||
'cpmThreadID' => '1.3.6.1.4.1.9.9.109.1.3.1.1.1',
|
||||
'cpmThreadName' => '1.3.6.1.4.1.9.9.109.1.3.1.1.2',
|
||||
'cpmThreadPriority' => '1.3.6.1.4.1.9.9.109.1.3.1.1.3',
|
||||
'cpmThreadState' => '1.3.6.1.4.1.9.9.109.1.3.1.1.4',
|
||||
'cpmThreadStateDefinition' => 'CISCO-PROCESS-MIB::cpmThreadState',
|
||||
'cpmThreadBlockingProcess' => '1.3.6.1.4.1.9.9.109.1.3.1.1.5',
|
||||
'cpmThreadCpuUtilization' => '1.3.6.1.4.1.9.9.109.1.3.1.1.6',
|
||||
'cpmThreadStackSize' => '1.3.6.1.4.1.9.9.109.1.3.1.1.7',
|
||||
'cpmThreadStackSizeOvrflw' => '1.3.6.1.4.1.9.9.109.1.3.1.1.8',
|
||||
'cpmThreadHCStackSize' => '1.3.6.1.4.1.9.9.109.1.3.1.1.9',
|
||||
'cpmVirtualProcess' => '1.3.6.1.4.1.9.9.109.1.4',
|
||||
'cpmVirtualProcessTable' => '1.3.6.1.4.1.9.9.109.1.4.1',
|
||||
'cpmVirtualProcessEntry' => '1.3.6.1.4.1.9.9.109.1.4.1.1',
|
||||
'cpmVirtualProcessID' => '1.3.6.1.4.1.9.9.109.1.4.1.1.1',
|
||||
'cpmVirtualProcessName' => '1.3.6.1.4.1.9.9.109.1.4.1.1.2',
|
||||
'cpmVirtualProcessUtil5Sec' => '1.3.6.1.4.1.9.9.109.1.4.1.1.3',
|
||||
'cpmVirtualProcessUtil1Min' => '1.3.6.1.4.1.9.9.109.1.4.1.1.4',
|
||||
'cpmVirtualProcessUtil5Min' => '1.3.6.1.4.1.9.9.109.1.4.1.1.5',
|
||||
'cpmVirtualProcessMemAllocated' => '1.3.6.1.4.1.9.9.109.1.4.1.1.6',
|
||||
'cpmVirtualProcessMemFreed' => '1.3.6.1.4.1.9.9.109.1.4.1.1.7',
|
||||
'cpmVirtualProcessInvokeCount' => '1.3.6.1.4.1.9.9.109.1.4.1.1.8',
|
||||
'cpmVirtualProcessRuntime' => '1.3.6.1.4.1.9.9.109.1.4.1.1.9',
|
||||
'cpmVirtualProcessMemAllocatedOvrflw' => '1.3.6.1.4.1.9.9.109.1.4.1.1.10',
|
||||
'cpmVirtualProcessHCMemAllocated' => '1.3.6.1.4.1.9.9.109.1.4.1.1.11',
|
||||
'cpmVirtualProcessMemFreedOvrflw' => '1.3.6.1.4.1.9.9.109.1.4.1.1.12',
|
||||
'cpmVirtualProcessHCMemFreed' => '1.3.6.1.4.1.9.9.109.1.4.1.1.13',
|
||||
'ciscoProcessMIBNotifPrefix' => '1.3.6.1.4.1.9.9.109.2',
|
||||
'ciscoProcessMIBNotifs' => '1.3.6.1.4.1.9.9.109.2.0',
|
||||
'ciscoProcessMIBConformance' => '1.3.6.1.4.1.9.9.109.3',
|
||||
'cpmCompliances' => '1.3.6.1.4.1.9.9.109.3.1',
|
||||
'cpmGroups' => '1.3.6.1.4.1.9.9.109.3.2',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCO-PROCESS-MIB'} = {
|
||||
'cpmThreadState' => {
|
||||
'1' => 'other',
|
||||
'2' => 'dead',
|
||||
'3' => 'running',
|
||||
'4' => 'ready',
|
||||
'5' => 'stopped',
|
||||
'6' => 'send',
|
||||
'7' => 'receive',
|
||||
'8' => 'reply',
|
||||
'9' => 'stack',
|
||||
'10' => 'waitpage',
|
||||
'11' => 'sigsuspend',
|
||||
'12' => 'sigwaitinfo',
|
||||
'13' => 'nanosleep',
|
||||
'14' => 'mutex',
|
||||
'15' => 'condvar',
|
||||
'16' => 'join',
|
||||
'17' => 'intr',
|
||||
'18' => 'sem',
|
||||
},
|
||||
'cpmProcExtPriority' => {
|
||||
'1' => 'critical',
|
||||
'2' => 'high',
|
||||
'3' => 'normal',
|
||||
'4' => 'low',
|
||||
'5' => 'notAssigned',
|
||||
},
|
||||
'cpmProcExtPriorityRev' => {
|
||||
'1' => 'critical',
|
||||
'2' => 'high',
|
||||
'3' => 'normal',
|
||||
'4' => 'low',
|
||||
'5' => 'notAssigned',
|
||||
},
|
||||
'cpmProcessType' => {
|
||||
'1' => 'other',
|
||||
'2' => 'posix',
|
||||
'3' => 'ios',
|
||||
},
|
||||
'cpmProcessMemoryCore' => {
|
||||
'1' => 'other',
|
||||
'2' => 'mainmem',
|
||||
'3' => 'mainmemSharedmem',
|
||||
'4' => 'mainmemText',
|
||||
'5' => 'mainmemTextSharedmem',
|
||||
'6' => 'sharedmem',
|
||||
'7' => 'sparse',
|
||||
'8' => 'off',
|
||||
},
|
||||
'cpmCPUThresholdClass' => {
|
||||
'1' => 'total',
|
||||
'2' => 'interrupt',
|
||||
'3' => 'process',
|
||||
},
|
||||
};
|
|
@ -0,0 +1,97 @@
|
|||
package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSMARTLICMIB;
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'CISCO-SMART-LIC-MIB'} = {
|
||||
url => '',
|
||||
name => 'CISCO-SMART-LIC-MIB',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'CISCO-SMART-LIC-MIB'} =
|
||||
'1.3.6.1.4.1.9.9.831';
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-SMART-LIC-MIB'} = {
|
||||
'ciscoSmartLicMIB' => '1.3.6.1.4.1.9.9.831',
|
||||
'ciscoSlaMIBObjects' => '1.3.6.1.4.1.9.9.831.0',
|
||||
'ciscoSlaInstanceId' => '1.3.6.1.4.1.9.9.831.0.1',
|
||||
'ciscoSlaSUDIInfo' => '1.3.6.1.4.1.9.9.831.0.2',
|
||||
'ciscoSlaVersion' => '1.3.6.1.4.1.9.9.831.0.3',
|
||||
'ciscoSlaEnabled' => '1.3.6.1.4.1.9.9.831.0.4',
|
||||
'ciscoSlaEnabledDefinition' => 'SNMPv2-TC-v1-MIB::TruthValue',
|
||||
'ciscoSlaEntitlementInfo' => '1.3.6.1.4.1.9.9.831.0.5',
|
||||
'ciscoSlaEntitlementInfoTable' => '1.3.6.1.4.1.9.9.831.0.5.1',
|
||||
'ciscoSlaEntitlementInfoEntry' => '1.3.6.1.4.1.9.9.831.0.5.1.1',
|
||||
'ciscoSlaEntitlementInfoIndex' => '1.3.6.1.4.1.9.9.831.0.5.1.1.1',
|
||||
'ciscoSlaEntitlementRequestCount' => '1.3.6.1.4.1.9.9.831.0.5.1.1.2',
|
||||
'ciscoSlaEntitlementTag' => '1.3.6.1.4.1.9.9.831.0.5.1.1.3',
|
||||
'ciscoSlaEntitlementVersion' => '1.3.6.1.4.1.9.9.831.0.5.1.1.4',
|
||||
'ciscoSlaEntitlementEnforceMode' => '1.3.6.1.4.1.9.9.831.0.5.1.1.5',
|
||||
'ciscoSlaEntitlementEnforceModeDefinition' => 'CISCO-SMART-LIC-MIB::ciscoSlaEntitlementEnforceMode',
|
||||
'ciscoSlaEntitlementDescription' => '1.3.6.1.4.1.9.9.831.0.5.1.1.6',
|
||||
'ciscoSlaEntitlementFeatureName' => '1.3.6.1.4.1.9.9.831.0.5.1.1.7',
|
||||
'ciscoSlaRegistrationStatusInfo' => '1.3.6.1.4.1.9.9.831.0.6',
|
||||
'ciscoSlaRegistrationStatusInfoTable' => '1.3.6.1.4.1.9.9.831.0.6',
|
||||
'ciscoSlaRegistrationStatusInfoEntry' => '1.3.6.1.4.1.9.9.831.0.6',
|
||||
'ciscoSlaRegistrationStatus' => '1.3.6.1.4.1.9.9.831.0.6.1',
|
||||
'ciscoSlaRegistrationStatusDefinition' => 'CISCO-SMART-LIC-MIB::ciscoSlaRegistrationStatus',
|
||||
'ciscoSlaVirtualAccount' => '1.3.6.1.4.1.9.9.831.0.6.2',
|
||||
'ciscoSlaNextCertificateExpireTime' => '1.3.6.1.4.1.9.9.831.0.6.3',
|
||||
'ciscoSlaEnterpriseAccountName' => '1.3.6.1.4.1.9.9.831.0.6.4',
|
||||
'ciscoSlaRegisterTime' => '1.3.6.1.4.1.9.9.831.0.6.5',
|
||||
'ciscoSlaRegisterInitTime' => '1.3.6.1.4.1.9.9.831.0.6.5.1',
|
||||
'ciscoSlaRegisterSuccess' => '1.3.6.1.4.1.9.9.831.0.6.5.2',
|
||||
'ciscoSlaRegisterSuccessDefinition' => 'SNMPv2-TC-v1-MIB::TruthValue',
|
||||
'ciscoSlaRegisterFailureReason' => '1.3.6.1.4.1.9.9.831.0.6.5.3',
|
||||
'ciscoSlaRegisterNextRetryTime' => '1.3.6.1.4.1.9.9.831.0.6.5.4',
|
||||
'ciscoSlaRenewTime' => '1.3.6.1.4.1.9.9.831.0.6.6',
|
||||
'ciscoSlaRenewInitTime' => '1.3.6.1.4.1.9.9.831.0.6.6.1',
|
||||
'ciscoSlaRenewSuccess' => '1.3.6.1.4.1.9.9.831.0.6.6.2',
|
||||
'ciscoSlaRenewSuccessDefinition' => 'SNMPv2-TC-v1-MIB::TruthValue',
|
||||
'ciscoSlaRenewFailureReason' => '1.3.6.1.4.1.9.9.831.0.6.6.3',
|
||||
'ciscoSlaRenewNextRetryTime' => '1.3.6.1.4.1.9.9.831.0.6.6.4',
|
||||
'ciscoSlaAuthorizationInfo' => '1.3.6.1.4.1.9.9.831.0.7',
|
||||
'ciscoSlaAuthorizationInfoTable' => '1.3.6.1.4.1.9.9.831.0.7',
|
||||
'ciscoSlaAuthorizationInfoEntry' => '1.3.6.1.4.1.9.9.831.0.7',
|
||||
'ciscoSlaAuthExpireTime' => '1.3.6.1.4.1.9.9.831.0.7.1',
|
||||
'ciscoSlaAuthComplianceStatus' => '1.3.6.1.4.1.9.9.831.0.7.2',
|
||||
'ciscoSlaAuthOOCStartTime' => '1.3.6.1.4.1.9.9.831.0.7.3',
|
||||
'ciscoSlaAuthEvalPeriod' => '1.3.6.1.4.1.9.9.831.0.7.4',
|
||||
'ciscoSlaAuthEvalPeriodInUse' => '1.3.6.1.4.1.9.9.831.0.7.4.1',
|
||||
'ciscoSlaAuthEvalPeriodInUseDefinition' => 'SNMPv2-TC-v1-MIB::TruthValue',
|
||||
'ciscoSlaAuthEvalExpiredTime' => '1.3.6.1.4.1.9.9.831.0.7.4.2',
|
||||
'ciscoSlaAuthEvalPeriodLeft' => '1.3.6.1.4.1.9.9.831.0.7.4.3',
|
||||
'ciscoSlaAuthRenewTime' => '1.3.6.1.4.1.9.9.831.0.7.5',
|
||||
'ciscoSlaAuthRenewInitTime' => '1.3.6.1.4.1.9.9.831.0.7.5.1',
|
||||
'ciscoSlaAuthRenewSuccess' => '1.3.6.1.4.1.9.9.831.0.7.5.2',
|
||||
'ciscoSlaAuthRenewSuccessDefinition' => 'SNMPv2-TC-v1-MIB::TruthValue',
|
||||
'ciscoSlaAuthRenewFailureReason' => '1.3.6.1.4.1.9.9.831.0.7.5.3',
|
||||
'ciscoSlaAuthRenewNextRetryTime' => '1.3.6.1.4.1.9.9.831.0.7.5.4',
|
||||
'ciscoSlaNotifObjects' => '1.3.6.1.4.1.9.9.831.0.8',
|
||||
'ciscoSlaGlobalNotifEnable' => '1.3.6.1.4.1.9.9.831.0.8.1',
|
||||
'ciscoSlaEntitlementNotifEnable' => '1.3.6.1.4.1.9.9.831.0.8.2',
|
||||
'ciscoSlaMIBNotifs' => '1.3.6.1.4.1.9.9.831.1',
|
||||
'ciscoSlaMIBConform' => '1.3.6.1.4.1.9.9.831.2',
|
||||
'ciscoSlaMIBCompliances' => '1.3.6.1.4.1.9.9.831.2.1',
|
||||
'ciscoSlaMIBGroups' => '1.3.6.1.4.1.9.9.831.2.2',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCO-SMART-LIC-MIB'} = {
|
||||
'ciscoSlaEntitlementEnforceMode' => {
|
||||
'1' => 'initialized',
|
||||
'2' => 'waiting',
|
||||
'3' => 'authorized',
|
||||
'4' => 'outOfCompliance',
|
||||
'5' => 'overage',
|
||||
'6' => 'evaluationPeriod',
|
||||
'7' => 'evaluationExpired',
|
||||
'8' => 'gracePeriod',
|
||||
'9' => 'gracePeriodExpired',
|
||||
'10' => 'disabled',
|
||||
'11' => 'invalidTag',
|
||||
},
|
||||
'ciscoSlaRegistrationStatus' => {
|
||||
'1' => 'notRegistered',
|
||||
'2' => 'registrationInProgress',
|
||||
'3' => 'registrationFailed',
|
||||
'4' => 'registrationRetryinProgress',
|
||||
'5' => 'registrationCompleted',
|
||||
},
|
||||
};
|
|
@ -19,6 +19,7 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'ENTITY-SENSOR-MIB'} =
|
|||
entPhySensorScaleDefinition => 'ENTITY-SENSOR-MIB::EntitySensorDataScale',
|
||||
entPhySensorPrecision => '1.3.6.1.2.1.99.1.1.1.3',
|
||||
entPhySensorValue => '1.3.6.1.2.1.99.1.1.1.4',
|
||||
#entPhySensorValueDefinition => 'ENTITY-SENSOR-MIB::entPhySensorValue(entPhySensorScale,entPhySensorType)',
|
||||
entPhySensorOperStatus => '1.3.6.1.2.1.99.1.1.1.5',
|
||||
entPhySensorOperStatusDefinition => 'ENTITY-SENSOR-MIB::EntitySensorStatus',
|
||||
entPhySensorUnitsDisplay => '1.3.6.1.2.1.99.1.1.1.6',
|
||||
|
@ -68,4 +69,35 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'ENTITY-SENSOR-MIB'} = {
|
|||
'2' => 'unavailable',
|
||||
'3' => 'nonoperational',
|
||||
},
|
||||
entPhySensorValue => sub {
|
||||
my($value, $scale, $type) = @_;
|
||||
if ($type eq "truthvalue") {
|
||||
return $value ? "true" : "false";
|
||||
} else {
|
||||
my $exp = {
|
||||
# Irgend so ein Hanswurscht bei Cisco hat fuer alle Werte einer ASA
|
||||
# entPhySensorScale auf yocto gesetzt.
|
||||
# rpm sensor PS0 Fan Sensor reports 5.9e-21rpm
|
||||
# Viel ist das nicht. Depp.
|
||||
# yocto => -24,
|
||||
zepto => -21,
|
||||
atto => -18,
|
||||
femto => -15,
|
||||
pico => -12,
|
||||
nano => -9,
|
||||
micro => -6,
|
||||
milli => -3,
|
||||
units => 0,
|
||||
kilo => 3,
|
||||
mega => 6,
|
||||
giga => 9,
|
||||
tera => 12,
|
||||
exa => 15,
|
||||
peta => 18,
|
||||
zetta => 21,
|
||||
yotta => 24,
|
||||
};
|
||||
return exists $exp->{$scale} ? $value * 10 ** $exp->{$scale} : $value;
|
||||
}
|
||||
},
|
||||
};
|
|
@ -0,0 +1,308 @@
|
|||
package Monitoring::GLPlugin::SNMP::MibsAndOids::HUAWEIBGPVPNMIB;
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'HUAWEI-BGP-VPN-MIB'} = {
|
||||
url => '',
|
||||
name => 'HUAWEI-BGP-VPN-MIB',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'HUAWEI-BGP-VPN-MIB'} =
|
||||
'1.3.6.1.4.1.2011.5.25.177';
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'HUAWEI-BGP-VPN-MIB'} = {
|
||||
'hwBgpMIB' => '1.3.6.1.4.1.2011.5.25.177',
|
||||
'hwBgpObjects' => '1.3.6.1.4.1.2011.5.25.177.1',
|
||||
'hwBgpPeers' => '1.3.6.1.4.1.2011.5.25.177.1.1',
|
||||
'hwBgpPeerAddrFamilyTable' => '1.3.6.1.4.1.2011.5.25.177.1.1.1',
|
||||
'hwBgpPeerAddrFamilyEntry' => '1.3.6.1.4.1.2011.5.25.177.1.1.1.1',
|
||||
'hwBgpPeerInstanceId' => '1.3.6.1.4.1.2011.5.25.177.1.1.1.1.1',
|
||||
'hwBgpPeerAddrFamilyAfi' => '1.3.6.1.4.1.2011.5.25.177.1.1.1.1.2',
|
||||
'hwBgpPeerAddrFamilyAfiDefinition' => 'HUAWEI-BGP-VPN-MIB::HWBgpAfi',
|
||||
'hwBgpPeerAddrFamilySafi' => '1.3.6.1.4.1.2011.5.25.177.1.1.1.1.3',
|
||||
'hwBgpPeerAddrFamilySafiDefinition' => 'HUAWEI-BGP-VPN-MIB::HWBgpSafi',
|
||||
'hwBgpPeerType' => '1.3.6.1.4.1.2011.5.25.177.1.1.1.1.4',
|
||||
'hwBgpPeerIPAddr' => '1.3.6.1.4.1.2011.5.25.177.1.1.1.1.5',
|
||||
'hwBgpPeerVrfName' => '1.3.6.1.4.1.2011.5.25.177.1.1.1.1.6',
|
||||
'hwBgpPeerTable' => '1.3.6.1.4.1.2011.5.25.177.1.1.2',
|
||||
'hwBgpPeerEntry' => '1.3.6.1.4.1.2011.5.25.177.1.1.2.1',
|
||||
'hwBgpPeerNegotiatedVersion' => '1.3.6.1.4.1.2011.5.25.177.1.1.2.1.1',
|
||||
'hwBgpPeerRemoteAs' => '1.3.6.1.4.1.2011.5.25.177.1.1.2.1.2',
|
||||
'hwBgpPeerRemoteAddr' => '1.3.6.1.4.1.2011.5.25.177.1.1.2.1.4',
|
||||
'hwBgpPeerState' => '1.3.6.1.4.1.2011.5.25.177.1.1.2.1.5',
|
||||
'hwBgpPeerStateDefinition' => 'HUAWEI-BGP-VPN-MIB::hwBgpPeerState',
|
||||
'hwBgpPeerFsmEstablishedCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.2.1.6',
|
||||
'hwBgpPeerFsmEstablishedTime' => '1.3.6.1.4.1.2011.5.25.177.1.1.2.1.7',
|
||||
'hwBgpPeerGRStatus' => '1.3.6.1.4.1.2011.5.25.177.1.1.2.1.8',
|
||||
'hwBgpPeerGRStatusDefinition' => 'HUAWEI-BGP-VPN-MIB::hwBgpPeerGRStatus',
|
||||
'hwBgpPeerLastError' => '1.3.6.1.4.1.2011.5.25.177.1.1.2.1.9',
|
||||
'hwBgpPeerUnAvaiReason' => '1.3.6.1.4.1.2011.5.25.177.1.1.2.1.10',
|
||||
'hwBgpPeerUnAvaiReasonDefinition' => {
|
||||
1 => "Configuration lead peer down",
|
||||
2 => "Receive notification",
|
||||
3 => "Receive error packet",
|
||||
4 => "Hold timer expire",
|
||||
5 => "Remote peer not reachable",
|
||||
6 => "Direct connect-interface down",
|
||||
7 => "Route limit",
|
||||
},
|
||||
'hwBgpPeerAdminStatus' => '1.3.6.1.4.1.2011.5.25.177.1.1.2.1.11',
|
||||
'hwBgpPeerAdminStatusDefinition' => 'HUAWEI-BGP-VPN-MIB::hwBgpPeerAdminStatus',
|
||||
'hwBgpPeerRouteTable' => '1.3.6.1.4.1.2011.5.25.177.1.1.3',
|
||||
'hwBgpPeerRouteEntry' => '1.3.6.1.4.1.2011.5.25.177.1.1.3.1',
|
||||
'hwBgpPeerPrefixRcvCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.3.1.1',
|
||||
'hwBgpPeerPrefixActiveCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.3.1.2',
|
||||
'hwBgpPeerPrefixAdvCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.3.1.3',
|
||||
'hwBgpPeerMessageTable' => '1.3.6.1.4.1.2011.5.25.177.1.1.4',
|
||||
'hwBgpPeerMessageEntry' => '1.3.6.1.4.1.2011.5.25.177.1.1.4.1',
|
||||
'hwBgpPeerInTotalMsgCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.4.1.1',
|
||||
'hwBgpPeerOutTotalMsgCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.4.1.2',
|
||||
'hwBgpPeerInOpenMsgCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.4.1.3',
|
||||
'hwBgpPeerInUpdateMsgCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.4.1.4',
|
||||
'hwBgpPeerInNotificationMsgCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.4.1.5',
|
||||
'hwBgpPeerInKeepAliveMsgCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.4.1.6',
|
||||
'hwBgpPeerInRouteFreshMsgCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.4.1.7',
|
||||
'hwBgpPeerOutOpenMsgCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.4.1.8',
|
||||
'hwBgpPeerOutUpdateMsgCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.4.1.9',
|
||||
'hwBgpPeerOutNotificationMsgCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.4.1.10',
|
||||
'hwBgpPeerOutKeepAliveMsgCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.4.1.11',
|
||||
'hwBgpPeerOutRouteFreshMsgCounter' => '1.3.6.1.4.1.2011.5.25.177.1.1.4.1.12',
|
||||
'hwBgpPeerConfigTable' => '1.3.6.1.4.1.2011.5.25.177.1.1.5',
|
||||
'hwBgpPeerConfigEntry' => '1.3.6.1.4.1.2011.5.25.177.1.1.5.1',
|
||||
'hwBgpPeerConfigRouteLimitNum' => '1.3.6.1.4.1.2011.5.25.177.1.1.5.1.1',
|
||||
'hwBgpPeerConfigRouteLimitThreshold' => '1.3.6.1.4.1.2011.5.25.177.1.1.5.1.2',
|
||||
'hwBgpPeerSessionTable' => '1.3.6.1.4.1.2011.5.25.177.1.1.6',
|
||||
'hwBgpPeerSessionEntry' => '1.3.6.1.4.1.2011.5.25.177.1.1.6.1',
|
||||
'hwBgpPeerSessionVrfName' => '1.3.6.1.4.1.2011.5.25.177.1.1.6.1.1',
|
||||
'hwBgpPeerSessionRemoteAddrType' => '1.3.6.1.4.1.2011.5.25.177.1.1.6.1.2',
|
||||
'hwBgpPeerSessionRemoteAddr' => '1.3.6.1.4.1.2011.5.25.177.1.1.6.1.3',
|
||||
'hwBgpPeerSessionLocalAddrType' => '1.3.6.1.4.1.2011.5.25.177.1.1.6.1.4',
|
||||
'hwBgpPeerSessionLocalAddr' => '1.3.6.1.4.1.2011.5.25.177.1.1.6.1.5',
|
||||
'hwBgpPeerSessionUnavailableType' => '1.3.6.1.4.1.2011.5.25.177.1.1.6.1.6',
|
||||
'hwBgpPeerSessionUnavailableTypeDefinition' => 'HUAWEI-BGP-VPN-MIB::hwBgpPeerSessionUnavailableType',
|
||||
'hwBgpPeerSessionLocalIfName' => '1.3.6.1.4.1.2011.5.25.177.1.1.6.1.7',
|
||||
'hwBgpPeerSessionReason' => '1.3.6.1.4.1.2011.5.25.177.1.1.6.1.8',
|
||||
'hwBgpPeerSessionReasonDefinition' => 'HUAWEI-BGP-VPN-MIB::hwBgpPeerSessionReason',
|
||||
'hwBgpPeerStatisticTable' => '1.3.6.1.4.1.2011.5.25.177.1.1.7',
|
||||
'hwBgpPeerStatisticEntry' => '1.3.6.1.4.1.2011.5.25.177.1.1.7.1',
|
||||
'hwBgpProcessId' => '1.3.6.1.4.1.2011.5.25.177.1.1.7.1.1',
|
||||
'hwBgpPeerVrfInstanceId' => '1.3.6.1.4.1.2011.5.25.177.1.1.7.1.2',
|
||||
'hwBgpPeerAddr' => '1.3.6.1.4.1.2011.5.25.177.1.1.7.1.3',
|
||||
'hwBgpPeerFsmEstablishedTransitions' => '1.3.6.1.4.1.2011.5.25.177.1.1.7.1.4',
|
||||
'hwBgpPeerDownCounts' => '1.3.6.1.4.1.2011.5.25.177.1.1.7.1.5',
|
||||
'hwBgpPeerInUpdateMsgs' => '1.3.6.1.4.1.2011.5.25.177.1.1.7.1.6',
|
||||
'hwBgpPeerOutUpdateMsgs' => '1.3.6.1.4.1.2011.5.25.177.1.1.7.1.7',
|
||||
'hwBgpPeerInTotalMsgs' => '1.3.6.1.4.1.2011.5.25.177.1.1.7.1.8',
|
||||
'hwBgpPeerOutTotalMsgs' => '1.3.6.1.4.1.2011.5.25.177.1.1.7.1.9',
|
||||
'hwBgpPeerSessionExtTable' => '1.3.6.1.4.1.2011.5.25.177.1.1.8',
|
||||
'hwBgpPeerSessionExtEntry' => '1.3.6.1.4.1.2011.5.25.177.1.1.8.1',
|
||||
'hwBgpPeerSessionExtVrfId' => '1.3.6.1.4.1.2011.5.25.177.1.1.8.1.1',
|
||||
'hwBgpPeerSessionExtRemoteAddrType' => '1.3.6.1.4.1.2011.5.25.177.1.1.8.1.2',
|
||||
'hwBgpPeerSessionExtRemoteAddr' => '1.3.6.1.4.1.2011.5.25.177.1.1.8.1.3',
|
||||
'hwBgpPeerSessionExtLocalAddrType' => '1.3.6.1.4.1.2011.5.25.177.1.1.8.1.4',
|
||||
'hwBgpPeerSessionExtLocalAddr' => '1.3.6.1.4.1.2011.5.25.177.1.1.8.1.5',
|
||||
'hwBgpPeerSessionExtUnavailableType' => '1.3.6.1.4.1.2011.5.25.177.1.1.8.1.6',
|
||||
'hwBgpPeerSessionExtUnavailableTypeDefinition' => 'HUAWEI-BGP-VPN-MIB::hwBgpPeerSessionExtUnavailableType',
|
||||
'hwBgpPeerSessionExtLocalIfName' => '1.3.6.1.4.1.2011.5.25.177.1.1.8.1.7',
|
||||
'hwBgpPeerSessionExtReason' => '1.3.6.1.4.1.2011.5.25.177.1.1.8.1.8',
|
||||
'hwBgpPeerSessionExtReasonDefinition' => 'HUAWEI-BGP-VPN-MIB::hwBgpPeerSessionExtReason',
|
||||
'hwBgpPeerSessionExtVrfName' => '1.3.6.1.4.1.2011.5.25.177.1.1.8.1.9',
|
||||
'hwBgpPeerSessionExtRemoteAs' => '1.3.6.1.4.1.2011.5.25.177.1.1.8.1.10',
|
||||
'hwBgpPeerSessionExtDescription' => '1.3.6.1.4.1.2011.5.25.177.1.1.8.1.11',
|
||||
'hwBgpRoute' => '1.3.6.1.4.1.2011.5.25.177.1.2',
|
||||
'hwBgpRouteLimitTable' => '1.3.6.1.4.1.2011.5.25.177.1.2.1',
|
||||
'hwBgpRouteLimitindex' => '1.3.6.1.4.1.2011.5.25.177.1.2.1.1',
|
||||
'hwBgpRouteLimitindexDefinition' => 'HUAWEI-BGP-VPN-MIB::hwBgpRouteLimitindex',
|
||||
'hwBgpRouteCurNum' => '1.3.6.1.4.1.2011.5.25.177.1.2.1.2',
|
||||
'hwBgpRouteMaxNum' => '1.3.6.1.4.1.2011.5.25.177.1.2.1.3',
|
||||
'hwBgpRouteThreshold' => '1.3.6.1.4.1.2011.5.25.177.1.2.1.4',
|
||||
'hwBgpRouteType' => '1.3.6.1.4.1.2011.5.25.177.1.2.1.5',
|
||||
'hwBgpVrfRouteTable' => '1.3.6.1.4.1.2011.5.25.177.1.2.2',
|
||||
'hwBgpVrfRouteEntry' => '1.3.6.1.4.1.2011.5.25.177.1.2.2.1',
|
||||
'hwBgpVrfCurrRouteNum' => '1.3.6.1.4.1.2011.5.25.177.1.2.2.1.1',
|
||||
'hwBgpVrfThresholdValue' => '1.3.6.1.4.1.2011.5.25.177.1.2.2.1.2',
|
||||
'hwBgpVrfRouteType' => '1.3.6.1.4.1.2011.5.25.177.1.2.2.1.3',
|
||||
'hwBgpVrfInstName' => '1.3.6.1.4.1.2011.5.25.177.1.2.2.1.4',
|
||||
'hwBgpVrfAddressFamily' => '1.3.6.1.4.1.2011.5.25.177.1.2.2.1.5',
|
||||
'hwEvpnRouteTable' => '1.3.6.1.4.1.2011.5.25.177.1.2.3',
|
||||
'hwEvpnRouteEntry' => '1.3.6.1.4.1.2011.5.25.177.1.2.3.1',
|
||||
'hwEvpnCurrRouteNum' => '1.3.6.1.4.1.2011.5.25.177.1.2.3.1.1',
|
||||
'hwEvpnThresholdValue' => '1.3.6.1.4.1.2011.5.25.177.1.2.3.1.2',
|
||||
'hwEvpnRouteType' => '1.3.6.1.4.1.2011.5.25.177.1.2.3.1.3',
|
||||
'hwEvpnAddressFamily' => '1.3.6.1.4.1.2011.5.25.177.1.2.3.1.4',
|
||||
'hwBgpLabelLimitTable' => '1.3.6.1.4.1.2011.5.25.177.1.2.4',
|
||||
'hwBgpAddrFamilyAfi' => '1.3.6.1.4.1.2011.5.25.177.1.2.4.1',
|
||||
'hwBgpAddrFamilyAfiDefinition' => 'HUAWEI-BGP-VPN-MIB::HWBgpAfi',
|
||||
'hwBgpAddrFamilySafi' => '1.3.6.1.4.1.2011.5.25.177.1.2.4.2',
|
||||
'hwBgpAddrFamilySafiDefinition' => 'HUAWEI-BGP-VPN-MIB::HWBgpSafi',
|
||||
'hwBgpLabelMaxValue' => '1.3.6.1.4.1.2011.5.25.177.1.2.4.3',
|
||||
'hwBgpLabelLimitThreshold' => '1.3.6.1.4.1.2011.5.25.177.1.2.4.4',
|
||||
'hwBgpTraps' => '1.3.6.1.4.1.2011.5.25.177.1.3',
|
||||
'hwBgpScalars' => '1.3.6.1.4.1.2011.5.25.177.1.4',
|
||||
'hwBgpPeerSessionNum' => '1.3.6.1.4.1.2011.5.25.177.1.4.1',
|
||||
'hwIBgpPeerSessionNum' => '1.3.6.1.4.1.2011.5.25.177.1.4.2',
|
||||
'hwEBgpPeerSessionNum' => '1.3.6.1.4.1.2011.5.25.177.1.4.3',
|
||||
'hwBgpPeerSessionMaxNum' => '1.3.6.1.4.1.2011.5.25.177.1.4.4',
|
||||
'hwBgpDynamicPeerSessionNum' => '1.3.6.1.4.1.2011.5.25.177.1.4.5',
|
||||
'hwBgpDynamicPeerSessionMaxNum' => '1.3.6.1.4.1.2011.5.25.177.1.4.6',
|
||||
'hwBgpPeerSessionThreshold' => '1.3.6.1.4.1.2011.5.25.177.1.4.7',
|
||||
'hwBgpPeerTotalInUpdateMsgs' => '1.3.6.1.4.1.2011.5.25.177.1.4.8',
|
||||
'hwBgpPeerTotalOutUpdateMsgs' => '1.3.6.1.4.1.2011.5.25.177.1.4.9',
|
||||
'hwBgpProcess' => '1.3.6.1.4.1.2011.5.25.177.1.5',
|
||||
'hwBgpProcessCommTable' => '1.3.6.1.4.1.2011.5.25.177.1.5.1',
|
||||
'hwBgpProcessCommEntry' => '1.3.6.1.4.1.2011.5.25.177.1.5.1.1',
|
||||
'hwBgpProcessName' => '1.3.6.1.4.1.2011.5.25.177.1.5.1.1.1',
|
||||
'hwBgpVpnObjects' => '1.3.6.1.4.1.2011.5.25.177.2',
|
||||
'hwBgpVpnTunnelTable' => '1.3.6.1.4.1.2011.5.25.177.2.1',
|
||||
'hwBgpVpnTunnelEntry' => '1.3.6.1.4.1.2011.5.25.177.2.1.1',
|
||||
'hwBgpVpnTunnelVrfName' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.1',
|
||||
'hwBgpVpnTunnelPublicNetNextHop' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.2',
|
||||
'hwBgpVpnTunnelId' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.3',
|
||||
'hwBgpVpnTunnelDestAddr' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.4',
|
||||
'hwBgpVpnTunnelType' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.5',
|
||||
'hwBgpVpnTunnelSrcAddr' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.6',
|
||||
'hwBgpVpnTunnelOutIfName' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.7',
|
||||
'hwBgpVpnTunnelIsLoadBalance' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.8',
|
||||
'hwBgpVpnTunnelLspIndex' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.9',
|
||||
'hwBgpVpnTunnelLspOutIfName' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.10',
|
||||
'hwBgpVpnTunnelLspOutLabel' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.11',
|
||||
'hwBgpVpnTunnelLspNextHop' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.12',
|
||||
'hwBgpVpnTunnelLspFec' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.13',
|
||||
'hwBgpVpnTunnelLspFecPfxLen' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.14',
|
||||
'hwBgpVpnTunnelLspIsBackup' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.15',
|
||||
'hwBgpVpnTunnelSignalProtocol' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.16',
|
||||
'hwBgpVpnTunnelSessionTunnelId' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.17',
|
||||
'hwBgpVpnTunnelTunnelName' => '1.3.6.1.4.1.2011.5.25.177.2.1.1.18',
|
||||
'hwBgpVpnServiceIdTable' => '1.3.6.1.4.1.2011.5.25.177.2.2',
|
||||
'hwBgpVpnServiceIdEntry' => '1.3.6.1.4.1.2011.5.25.177.2.2.1',
|
||||
'hwBgpVpnServiceIdVrfName' => '1.3.6.1.4.1.2011.5.25.177.2.2.1.1',
|
||||
'hwBgpVpnServiceIdValue' => '1.3.6.1.4.1.2011.5.25.177.2.2.1.2',
|
||||
'hwBgpVpnScalars' => '1.3.6.1.4.1.2011.5.25.177.2.3',
|
||||
'hwConfiguredVrfs' => '1.3.6.1.4.1.2011.5.25.177.2.3.1',
|
||||
'hwConfiguredIpv4Vrfs' => '1.3.6.1.4.1.2011.5.25.177.2.3.2',
|
||||
'hwConfiguredIpv6Vrfs' => '1.3.6.1.4.1.2011.5.25.177.2.3.3',
|
||||
'hwBgpConformance' => '1.3.6.1.4.1.2011.5.25.177.3',
|
||||
'hwBgpCompliances' => '1.3.6.1.4.1.2011.5.25.177.3.1',
|
||||
'hwBgpGroups' => '1.3.6.1.4.1.2011.5.25.177.3.2',
|
||||
'hwBgpVpnConformance' => '1.3.6.1.4.1.2011.5.25.177.5',
|
||||
'hwBgpVpnCompliances' => '1.3.6.1.4.1.2011.5.25.177.5.1',
|
||||
'hwBgpVpnExtGroups' => '1.3.6.1.4.1.2011.5.25.177.5.2',
|
||||
'hwTnl2VpnTrapObjects' => '1.3.6.1.4.1.2011.5.25.177.6',
|
||||
'hwTnl2VpnTrapTable' => '1.3.6.1.4.1.2011.5.25.177.6.1',
|
||||
'hwTnl2VpnTrapEntry' => '1.3.6.1.4.1.2011.5.25.177.6.1.1',
|
||||
'hwVpnId' => '1.3.6.1.4.1.2011.5.25.177.6.1.1.1',
|
||||
'hwVpnPublicNextHop' => '1.3.6.1.4.1.2011.5.25.177.6.1.1.2',
|
||||
'hwTunnelReachablityEvent' => '1.3.6.1.4.1.2011.5.25.177.6.1.1.3',
|
||||
'hwVpnTrapCkeyValue' => '1.3.6.1.4.1.2011.5.25.177.6.1.1.4',
|
||||
'hwTnl2VpnTrapConformance' => '1.3.6.1.4.1.2011.5.25.177.7',
|
||||
'hwTnl2VpnTrapConformances' => '1.3.6.1.4.1.2011.5.25.177.7.1',
|
||||
'hwTnl2VpnTrapGroups' => '1.3.6.1.4.1.2011.5.25.177.7.2',
|
||||
'hwTnl2VpnTrapNotification' => '1.3.6.1.4.1.2011.5.25.177.8',
|
||||
'hwPeerDistributeObjects' => '1.3.6.1.4.1.2011.5.25.177.9',
|
||||
'hwBgpTotalRouteNumber' => '1.3.6.1.4.1.2011.5.25.177.9.1',
|
||||
'hwOsNodeTable' => '1.3.6.1.4.1.2011.5.25.177.9.2',
|
||||
'hwOsNodeEntry' => '1.3.6.1.4.1.2011.5.25.177.9.2.1',
|
||||
'hwCurrSlot' => '1.3.6.1.4.1.2011.5.25.177.9.2.1.1',
|
||||
'hwPeerNumber' => '1.3.6.1.4.1.2011.5.25.177.9.2.1.4',
|
||||
'hwRouteNumber' => '1.3.6.1.4.1.2011.5.25.177.9.2.1.5',
|
||||
'hwDistributeTable' => '1.3.6.1.4.1.2011.5.25.177.9.3',
|
||||
'hwDistributeEntry' => '1.3.6.1.4.1.2011.5.25.177.9.3.1',
|
||||
'hwDistributeLocId' => '1.3.6.1.4.1.2011.5.25.177.9.3.1.1',
|
||||
'hwDistributeName' => '1.3.6.1.4.1.2011.5.25.177.9.3.1.2',
|
||||
'hwMigrateSrcSlot' => '1.3.6.1.4.1.2011.5.25.177.9.3.1.3',
|
||||
'hwMigrateDestSlot' => '1.3.6.1.4.1.2011.5.25.177.9.3.1.4',
|
||||
'hwMigrateReason' => '1.3.6.1.4.1.2011.5.25.177.9.3.1.5',
|
||||
'hwMigrateReasonDefinition' => 'HUAWEI-BGP-VPN-MIB::hwMigrateReason',
|
||||
'hwPeerDistributeTraps' => '1.3.6.1.4.1.2011.5.25.177.9.4',
|
||||
'hwRpkiObjects' => '1.3.6.1.4.1.2011.5.25.177.11',
|
||||
'hwRpkiSessions' => '1.3.6.1.4.1.2011.5.25.177.11.1',
|
||||
'hwRpkiSessionTable' => '1.3.6.1.4.1.2011.5.25.177.11.1.1',
|
||||
'hwRpkiSessionEntry' => '1.3.6.1.4.1.2011.5.25.177.11.1.1.1',
|
||||
'hwRpkiSessionVrfName' => '1.3.6.1.4.1.2011.5.25.177.11.1.1.1.1',
|
||||
'hwRpkiSessionType' => '1.3.6.1.4.1.2011.5.25.177.11.1.1.1.2',
|
||||
'hwSessionIPAddr' => '1.3.6.1.4.1.2011.5.25.177.11.1.1.1.3',
|
||||
'hwRpkiSessionRoaLimitNum' => '1.3.6.1.4.1.2011.5.25.177.11.1.1.1.4',
|
||||
'hwRpkiTraps' => '1.3.6.1.4.1.2011.5.25.177.11.2',
|
||||
'hwRpkiConformance' => '1.3.6.1.4.1.2011.5.25.177.11.3',
|
||||
'hwRpkiCompliances' => '1.3.6.1.4.1.2011.5.25.177.11.3.1',
|
||||
'hwRpkiGroups' => '1.3.6.1.4.1.2011.5.25.177.11.3.2',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'HUAWEI-BGP-VPN-MIB'} = {
|
||||
'hwMigrateReason' => {
|
||||
'1' => 'memoryoverload',
|
||||
'2' => 'cpuoverload',
|
||||
},
|
||||
'HWBgpSafi' => {
|
||||
'1' => 'unicast',
|
||||
'2' => 'multicast',
|
||||
'4' => 'mpls',
|
||||
'5' => 'mcast-vpn',
|
||||
'65' => 'vpls',
|
||||
'66' => 'mdt',
|
||||
'128' => 'vpn',
|
||||
'132' => 'route-target',
|
||||
},
|
||||
'hwBgpPeerAdminStatus' => {
|
||||
'1' => 'stop',
|
||||
'2' => 'start',
|
||||
},
|
||||
'hwBgpPeerSessionReason' => {
|
||||
'1' => 'configurationLeadPeerDown',
|
||||
'2' => 'receiveNotification',
|
||||
'3' => 'receiveErrorPacket',
|
||||
'4' => 'holdTimerExpire',
|
||||
'5' => 'remotePeerNotReachable',
|
||||
'6' => 'directConnectInterfaceDown',
|
||||
'7' => 'routeLimit',
|
||||
'8' => 'peerIsNotUpForASpecifiedPeriodOfTime',
|
||||
'100' => 'alarmClear',
|
||||
},
|
||||
'hwBgpRouteLimitindex' => {
|
||||
'1' => 'ipv4',
|
||||
'2' => 'ipv6',
|
||||
'3' => 'ipv4vrf',
|
||||
'4' => 'ipv6vrf',
|
||||
'5' => 'ipv4public',
|
||||
'6' => 'ipv6public',
|
||||
'7' => 'l2ad',
|
||||
},
|
||||
'hwBgpPeerSessionExtReason' => {
|
||||
'1' => 'configurationLeadPeerDown',
|
||||
'2' => 'receiveNotification',
|
||||
'3' => 'receiveErrorPacket',
|
||||
'4' => 'holdTimerExpire',
|
||||
'5' => 'remotePeerNotReachable',
|
||||
'6' => 'directConnectInterfaceDown',
|
||||
'7' => 'routeLimit',
|
||||
'8' => 'peerIsNotUpForASpecifiedPeriodOfTime',
|
||||
'90' => 'unknown',
|
||||
'100' => 'alarmClear',
|
||||
},
|
||||
'HWBgpAfi' => {
|
||||
'1' => 'ipv4',
|
||||
'2' => 'ipv6',
|
||||
'25' => 'vpls',
|
||||
'196' => 'l2vpn',
|
||||
},
|
||||
'hwBgpPeerGRStatus' => {
|
||||
'1' => 'peerNotBeingHelped',
|
||||
'2' => 'peerRestarting',
|
||||
'3' => 'peerFinishRestart',
|
||||
'4' => 'peerHelping',
|
||||
},
|
||||
'hwBgpPeerState' => {
|
||||
'1' => 'idle',
|
||||
'2' => 'connect',
|
||||
'3' => 'active',
|
||||
'4' => 'opensent',
|
||||
'5' => 'openconfirm',
|
||||
'6' => 'established',
|
||||
},
|
||||
'hwBgpPeerSessionUnavailableType' => {
|
||||
'1' => 'uptodown',
|
||||
'2' => 'alwaysdown',
|
||||
},
|
||||
'hwBgpPeerSessionExtUnavailableType' => {
|
||||
'1' => 'uptodown',
|
||||
'2' => 'alwaysdown',
|
||||
},
|
||||
};
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue