Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package monitoring-plugins-nwc_health for
openSUSE:Factory checked in at 2021-01-19 16:03:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/monitoring-plugins-nwc_health (Old)
and /work/SRC/openSUSE:Factory/.monitoring-plugins-nwc_health.new.28504
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "monitoring-plugins-nwc_health"
Tue Jan 19 16:03:12 2021 rev:9 rq:864240 version:8.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/monitoring-plugins-nwc_health/monitoring-plugins-nwc_health.changes
2021-01-07 21:24:05.433455119 +0100
+++
/work/SRC/openSUSE:Factory/.monitoring-plugins-nwc_health.new.28504/monitoring-plugins-nwc_health.changes
2021-01-19 16:04:09.523557513 +0100
@@ -1,0 +2,15 @@
+Tue Jan 19 08:05:59 UTC 2021 - Martin Hauke <[email protected]>
+
+- Update to version 8.1
+ * add Bluecat Address Manager
+
+-------------------------------------------------------------------
+Fri Jan 15 16:02:00 UTC 2021 - Martin Hauke <[email protected]>
+
+- Update to version 8.0.0.2
+ * bugfix in HOST-RESOURCE-MIB memory (Arista triggered)
+ * bugfix in CISCO-ENVMON-MIB, temperatures > 200
+- Update to version 8.0.0.1
+ * bugfix in arista bgp, mitigate admin down
+
+-------------------------------------------------------------------
Old:
----
check_nwc_health-8.0.tar.gz
New:
----
check_nwc_health-8.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ monitoring-plugins-nwc_health.spec ++++++
--- /var/tmp/diff_new_pack.6Yo9Ob/_old 2021-01-19 16:04:10.031558276 +0100
+++ /var/tmp/diff_new_pack.6Yo9Ob/_new 2021-01-19 16:04:10.035558283 +0100
@@ -1,8 +1,8 @@
#
# spec file for package monitoring-plugins-nwc_health
#
-# Copyright (c) 2020 SUSE LLC
-# Copyright (c) 2014-2020, Martin Hauke <[email protected]>
+# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2014-2021, Martin Hauke <[email protected]>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%define realname check_nwc_health
Name: monitoring-plugins-nwc_health
-Version: 8.0
+Version: 8.1
Release: 0
Summary: This plugin checks the health of network components and
interfaces
# https://github.com/lausser/check_nwc_health
++++++ check_nwc_health-8.0.tar.gz -> check_nwc_health-8.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/check_nwc_health-8.0/ChangeLog
new/check_nwc_health-8.1/ChangeLog
--- old/check_nwc_health-8.0/ChangeLog 2020-12-23 19:18:03.913931500 +0100
+++ new/check_nwc_health-8.1/ChangeLog 2021-01-18 21:21:42.786666600 +0100
@@ -1,3 +1,10 @@
+* 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.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/check_nwc_health-8.0/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADONISDNSMIBMIB.pm
new/check_nwc_health-8.1/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADONISDNSMIBMIB.pm
---
old/check_nwc_health-8.0/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADONISDNSMIBMIB.pm
1970-01-01 01:00:00.000000000 +0100
+++
new/check_nwc_health-8.1/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADONISDNSMIBMIB.pm
2021-01-18 21:21:42.910663800 +0100
@@ -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',
+ },
+};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/check_nwc_health-8.0/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BAMSNMPMIB.pm
new/check_nwc_health-8.1/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BAMSNMPMIB.pm
---
old/check_nwc_health-8.0/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BAMSNMPMIB.pm
1970-01-01 01:00:00.000000000 +0100
+++
new/check_nwc_health-8.1/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BAMSNMPMIB.pm
2021-01-18 21:21:43.013662800 +0100
@@ -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',
+ }
+};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/check_nwc_health-8.0/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDHCPV4MIB.pm
new/check_nwc_health-8.1/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDHCPV4MIB.pm
---
old/check_nwc_health-8.0/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDHCPV4MIB.pm
1970-01-01 01:00:00.000000000 +0100
+++
new/check_nwc_health-8.1/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDHCPV4MIB.pm
2021-01-18 21:21:43.022662400 +0100
@@ -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',
+ },
+};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/check_nwc_health-8.0/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDNSMIB.pm
new/check_nwc_health-8.1/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDNSMIB.pm
---
old/check_nwc_health-8.0/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDNSMIB.pm
1970-01-01 01:00:00.000000000 +0100
+++
new/check_nwc_health-8.1/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDNSMIB.pm
2021-01-18 21:21:43.031662800 +0100
@@ -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',
+ },
+};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/check_nwc_health-8.0/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNSYSTEMMIB.pm
new/check_nwc_health-8.1/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNSYSTEMMIB.pm
---
old/check_nwc_health-8.0/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNSYSTEMMIB.pm
1970-01-01 01:00:00.000000000 +0100
+++
new/check_nwc_health-8.1/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNSYSTEMMIB.pm
2021-01-18 21:21:43.040660900 +0100
@@ -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',
+ },
+};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/check_nwc_health-8.0/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VRRPMIB.pm
new/check_nwc_health-8.1/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VRRPMIB.pm
---
old/check_nwc_health-8.0/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VRRPMIB.pm
2020-12-23 19:18:05.310842600 +0100
+++
new/check_nwc_health-8.1/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VRRPMIB.pm
2021-01-18 21:21:44.195167100 +0100
@@ -10,69 +10,69 @@
];
$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',
+ 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',
+ 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',
+ 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',
+ 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',
+ 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',
+ 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',
+ 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'
+ 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'} = {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/check_nwc_health-8.0/GLPlugin/lib/Monitoring/GLPlugin.pm
new/check_nwc_health-8.1/GLPlugin/lib/Monitoring/GLPlugin.pm
--- old/check_nwc_health-8.0/GLPlugin/lib/Monitoring/GLPlugin.pm
2020-12-23 19:18:05.394841800 +0100
+++ new/check_nwc_health-8.1/GLPlugin/lib/Monitoring/GLPlugin.pm
2021-01-18 21:21:44.277149100 +0100
@@ -20,7 +20,7 @@
$Data::Dumper::Sparseseen = 1;
};
our $AUTOLOAD;
-*VERSION = \'3.3.1.1';
+*VERSION = \'3.3.2';
use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/check_nwc_health-8.0/configure
new/check_nwc_health-8.1/configure
--- old/check_nwc_health-8.0/configure 2020-10-22 17:44:00.173097500 +0200
+++ new/check_nwc_health-8.1/configure 2021-01-18 21:20:18.203549900 +0100
@@ -1,7 +1,7 @@
#! /bin/sh
# From configure.ac .
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for check_nwc_health 8.0.
+# Generated by GNU Autoconf 2.69 for check_nwc_health 8.1.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -577,8 +577,8 @@
# Identity of this package.
PACKAGE_NAME='check_nwc_health'
PACKAGE_TARNAME='check_nwc_health'
-PACKAGE_VERSION='8.0'
-PACKAGE_STRING='check_nwc_health 8.0'
+PACKAGE_VERSION='8.1'
+PACKAGE_STRING='check_nwc_health 8.1'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
@@ -1236,7 +1236,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures check_nwc_health 8.0 to adapt to many kinds of systems.
+\`configure' configures check_nwc_health 8.1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1308,7 +1308,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of check_nwc_health 8.0:";;
+ short | recursive ) echo "Configuration of check_nwc_health 8.1:";;
esac
cat <<\_ACEOF
@@ -1393,7 +1393,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-check_nwc_health configure 8.0
+check_nwc_health configure 8.1
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1410,7 +1410,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by check_nwc_health $as_me 8.0, which was
+It was created by check_nwc_health $as_me 8.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -2273,7 +2273,7 @@
# Define the identity of the package.
PACKAGE='check_nwc_health'
- VERSION='8.0'
+ VERSION='8.1'
cat >>confdefs.h <<_ACEOF
@@ -3324,7 +3324,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by check_nwc_health $as_me 8.0, which was
+This file was extended by check_nwc_health $as_me 8.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3377,7 +3377,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //;
s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-check_nwc_health config.status 8.0
+check_nwc_health config.status 8.1
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/check_nwc_health-8.0/configure.ac
new/check_nwc_health-8.1/configure.ac
--- old/check_nwc_health-8.0/configure.ac 2020-12-23 19:18:03.961906300
+0100
+++ new/check_nwc_health-8.1/configure.ac 2021-01-18 21:21:42.835666200
+0100
@@ -1,7 +1,7 @@
dnl Process this file with autoconf to produce a configure script.
AC_REVISION ($Revision: 1.150 $)
AC_PREREQ(2.58)
-AC_INIT(check_nwc_health,8.0)
+AC_INIT(check_nwc_health,8.1)
AM_INIT_AUTOMAKE([1.9 tar-pax])
AM_MAINTAINER_MODE([disable])
AC_CANONICAL_HOST
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/check_nwc_health-8.0/plugins-scripts/Classes/Arista/ARISTABGP4V2MIB/Components/PeerSubsystem.pm
new/check_nwc_health-8.1/plugins-scripts/Classes/Arista/ARISTABGP4V2MIB/Components/PeerSubsystem.pm
---
old/check_nwc_health-8.0/plugins-scripts/Classes/Arista/ARISTABGP4V2MIB/Components/PeerSubsystem.pm
2020-12-23 19:18:05.580829500 +0100
+++
new/check_nwc_health-8.1/plugins-scripts/Classes/Arista/ARISTABGP4V2MIB/Components/PeerSubsystem.pm
2021-01-18 21:21:44.468149200 +0100
@@ -189,7 +189,7 @@
if (exists $as_numbers->{$as}) {
my $num_peers = scalar(@{$as_numbers->{$as}->{peers}});
my $num_ok_peers = scalar(grep { $_->{aristaBgp4V2PeerFaulty} == 0 }
@{$as_numbers->{$as}->{peers}});
- my $num_admdown_peers = scalar(grep {
$_->{aristaBgp4V2PeerAdminStatus} eq "stop" } @{$as_numbers->{$as}->{peers}});
+ my $num_admdown_peers = scalar(grep {
$_->{aristaBgp4V2PeerAdminStatus} eq "halted" } @{$as_numbers->{$as}->{peers}});
$as_numbers->{$as}->{availability} = 100 * $num_ok_peers /
$num_peers;
$self->set_thresholds(warning => "100:", critical => "50:");
$self->add_message($self->check_thresholds($as_numbers->{$as}->{availability}),
@@ -284,8 +284,11 @@
$self->{aristaBgp4V2PeerState},
$self->{aristaBgp4V2PeerFsmEstablishedTime}
);
- } elsif ($self->{aristaBgp4V2PeerAdminStatus} eq "stop") {
+ } elsif ($self->{aristaBgp4V2PeerAdminStatus} eq "halted" and
+ $self->{aristaBgp4V2PeerLastError} eq "No Error") {
# admin down is by default critical, but can be mitigated
+ # if there is an error, then the reason for "halted" might be a stop event
+ # or a timeout causing the FSM to stop.
$self->add_message(
defined $self->opts->mitigation() ? $self->opts->mitigation() :
$self->{aristaBgp4V2PeerRemoteAsImportant} ? WARNING : OK,
@@ -299,7 +302,7 @@
$self->{aristaBgp4V2PeerRemoteAsImportant} ? 1 : 0;
} else {
# aristaBgp4V2PeerLastError may be undef, at least under the following
circumstances
- # aristaBgp4V2PeerRemoteAsName is "", aristaBgp4V2PeerAdminStatus is
"start",
+ # aristaBgp4V2PeerRemoteAsName is "", aristaBgp4V2PeerAdminStatus is
"running",
# aristaBgp4V2PeerState is "active"
$self->add_message($self->{aristaBgp4V2PeerRemoteAsImportant} ? CRITICAL :
OK,
sprintf "peer %s (AS%s) state is %s (last error: %s)",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/check_nwc_health-8.0/plugins-scripts/Classes/Bluecat/Component/HaSubsystem.pm
new/check_nwc_health-8.1/plugins-scripts/Classes/Bluecat/Component/HaSubsystem.pm
---
old/check_nwc_health-8.0/plugins-scripts/Classes/Bluecat/Component/HaSubsystem.pm
1970-01-01 01:00:00.000000000 +0100
+++
new/check_nwc_health-8.1/plugins-scripts/Classes/Bluecat/Component/HaSubsystem.pm
2021-01-18 21:21:44.658141200 +0100
@@ -0,0 +1,132 @@
+package Classes::Bluecat::Component::HaSubsystem;
+our @ISA = qw(Monitoring::GLPlugin::SNMP::Item);
+use strict;
+use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 };
+
+sub init {
+ my ($self) = @_;
+ if ($self->mode =~ /device::ha::status/) {
+ $self->get_snmp_tables('BAM-SNMP-MIB', [
+ ["replications", "replicationStatusTable",
'Classes::Bluecat::Component::HaSubsystem::Replication'],
+ ]);
+ $self->get_snmp_objects('BAM-SNMP-MIB', (qw(
+ queueSize replication
+ replicationNodeStatus replicationAverageLatency
+ replicationWarningThreshold replicationBreakThreshold
+ replicationLatencyWarningThreshold replicationLatencyCriticalThreshold
+ )));
+ } elsif ($self->mode =~ /device::ha::role/) {
+ if (! $self->opts->role()) {
+ $self->opts->override_opt('role', 'primary');
+ }
+ $self->get_snmp_objects('BAM-SNMP-MIB', (qw(replicationNodeStatus)));
+ }
+}
+
+sub check {
+ my ($self) = @_;
+ if ($self->mode =~ /device::ha::status/) {
+ foreach (@{$self->{replications}}) {
+ $_->{replicationLatencyCriticalThreshold} =
$self->{replicationLatencyCriticalThreshold};
+ $_->{replicationLatencyWarningThreshold} =
$self->{replicationLatencyWarningThreshold};
+ $_->check();
+ }
+ } elsif ($self->mode =~ /device::ha::role/) {
+ $self->add_info(sprintf 'ha node status is %s',
+ $self->{replicationNodeStatus},
+ );
+ if ($self->{replicationNodeStatus} eq 'unknown') {
+ $self->add_message(
+ defined $self->opts->mitigation() ? $self->opts->mitigation() :
WARNING,
+ 'ha was not started');
+ } else {
+ if ($self->{replicationNodeStatus} ne $self->opts->role()) {
+ $self->add_message(
+ defined $self->opts->mitigation() ? $self->opts->mitigation() :
WARNING,
+ $self->{info});
+ $self->add_message(
+ defined $self->opts->mitigation() ? $self->opts->mitigation() :
WARNING,
+ sprintf "expected role %s", $self->opts->role())
+ } else {
+ $self->add_ok();
+ }
+ }
+ }
+}
+
+package Classes::Bluecat::Component::HaSubsystem::Replication;
+our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem);
+use strict;
+
+sub check {
+ my ($self) = @_;
+ $self->add_info(sprintf '%s node %s has status %s, latency is %.2f',
+ lc $self->{replicationRole}, $self->{hostname},
+ lc $self->{replicationHealth}, $self->{currentLatency});
+ $self->set_thresholds(metric => 'latency_'.lc $self->{replicationRole},
+ warning => $self->{replicationLatencyWarningThreshold},
+ critical => $self->{replicationLatencyCriticalThreshold},
+ );
+ $self->add_message($self->check_thresholds(
+ metric => 'latency_'.lc $self->{replicationRole},
+ value => $self->{currentLatency}));
+ $self->add_perfdata(
+ label => 'latency_'.lc $self->{replicationRole},
+ value => $self->{currentLatency}
+ );
+}
+
+__END__
+sdeb-bam-p03.sys.schwarz
+root@sdeb-bam-p03:~# snmpwalk -v2c -c "communitypw" 10.201.135.240
.1.3.6.1.4.1.13315.100.210.1.8.2
+BAM-SNMP-MIB::replicationNodeStatus.0 = INTEGER: primary(1)
+-> hier soll nur das Ergebnis angezeigt werden
+
+root@sdeb-bam-p03:~# snmpwalk -v2c -c "communitypw" 10.201.135.240
.1.3.6.1.4.1.13315.100.210.1.1.1
+BAM-SNMP-MIB::version.0 = STRING: 9.0.0
+-> hier soll nur das Ergebnis angezeigt werden
+
+#root@sdeb-bam-p03:~# snmpwalk -v2c -c "communitypw" 10.201.135.240
.1.3.6.1.4.1.13315.100.210.1.1.2
+#BAM-SNMP-MIB::startTime.0 = STRING: 2020-5-16,2:4:43.216
+# uptime -> hier soll nur das Ergebnis angezeigt werden
+
+root@sdeb-bam-p03:~# snmpwalk -v2c -c "communitypw" 10.201.135.240
.1.3.6.1.4.1.13315.100.210.1.8.8.1.4.10.201.135.240
+BAM-SNMP-MIB::replicationHealth.10.201.135.240 = INTEGER: Replicating(2)
+-> bei Ausgabe 0 und 1 soll Nagios alarm schlagen, 2 bedeutet alles iO
+
+root@sdeb-bam-p03:~# snmpwalk -v2c -c "communitypw" 10.201.135.240
.1.3.6.1.4.1.13315.100.210.1.10.1.0
+BAM-SNMP-MIB::lastSuccessfulBackupTime.0 = STRING: 2020-11-11,3:10:35.0
+-> hier soll nur das Ergebnis angezeigt werden
+
+
+KCZ_DDI
+root@b0ac987f7n:~# snmpwalk -v2c -c "communitypw" 127.0.0.1
.1.3.6.1.4.1.13315.3.1.1.2.1.1
+BCN-DHCPV4-MIB::bcnDhcpv4SerOperState.0 = INTEGER: running(1)
+1Running ist alles iO, bei 2,3,4,5 soll Nagios alarm schlagen
+
+root@b0ac987f7n:~# snmpwalk -v2c -c "communitypw" 127.0.0.1
.1.3.6.1.4.1.13315.3.1.2.2.1.1
+BCN-DNS-MIB::bcnDnsSerOperState.0 = INTEGER: running(1)
+1Running ist alles iO, bei 2,3,4,5 soll Nagios alarm schlagen
+
+Hallo Gerhard,
+f??r Bluecat devices brauchen wir einen ha-status in check_nwc_health.
+Die MIBs h??ngen schon am Ticket dran.
+
+Wichtige informationen w??ren:
+- BAM-SNMP-MIB::replicationNodeStatus.0
+- BAM-SNMP-MIB::startTime.0
+- BAM-SNMP-MIB::replicationHealth.10.201.135.240
+- BAM-SNMP-MIB::lastSuccessfulBackupTime.0
+
+/omd/sites/mon/local/lib/monitoring-plugins/mon/mon_check_snmp -H
10.201.135.240 -P 2c -o .1.3.6.1.4.1.13315.100.210.1.10.1.0 backup
+
+/omd/sites/mon/local/lib/monitoring-plugins/mon/mon_check_snmp -H
10.201.135.240 -P 2c -o .1.3.6.1.4.1.13315.100.210.1.8.8.1.4.10.201.135.240 -C
"***" -w 2:2 -c 2:2 replication 240 replicationHealth
+
+/omd/sites/mon/local/lib/monitoring-plugins/mon/mon_check_snmp -H
10.201.135.240 -P 2c -o .1.3.6.1.4.1.13315.100.210.1.8.2.0 -C "***" -w 1:1 -c
1:1 replicatiuon node replicationNodeStatus
+/omd/sites/mon/local/lib/monitoring-plugins/mon/mon_check_snmp -H
10.201.135.240 -P 2c -o .1.3.6.1.4.1.13315.100.210.1.1.2.0 -C "***" -s OK
+ start time
+
+/omd/sites/mon/local/lib/monitoring-plugins/mon/mon_check_snmp -H
10.201.135.240 -P 2c -o .1.3.6.1.4.1.13315.100.210.1.1.1.0 -C "***" -s OK
+version
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/check_nwc_health-8.0/plugins-scripts/Classes/Bluecat/Component/MemSubsystem.pm
new/check_nwc_health-8.1/plugins-scripts/Classes/Bluecat/Component/MemSubsystem.pm
---
old/check_nwc_health-8.0/plugins-scripts/Classes/Bluecat/Component/MemSubsystem.pm
1970-01-01 01:00:00.000000000 +0100
+++
new/check_nwc_health-8.1/plugins-scripts/Classes/Bluecat/Component/MemSubsystem.pm
2021-01-18 21:21:44.666140700 +0100
@@ -0,0 +1,27 @@
+package Classes::Bluecat::Component::MemSubsystem;
+our @ISA = qw(Monitoring::GLPlugin::SNMP::Item);
+use strict;
+use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 };
+
+sub init {
+ my ($self) = @_;
+ $self->get_snmp_objects('BAM-SNMP-MIB', (qw(
+ freeMemory maxMemory usageThresholdExceeded
+ )));
+ $self->{jvm_usage} = 100 - 100 * $self->{freeMemory} / $self->{maxMemory};
+}
+
+sub check {
+ my ($self) = @_;
+ $self->add_info(sprintf 'jvm mem usage is %.2f%%',
+ $self->{jvm_usage});
+ $self->set_thresholds(warning => 80, critical => 90);
+ $self->add_message($self->check_thresholds($self->{jvm_usage}));
+ $self->add_perfdata(
+ label => 'jvm_memory_usage',
+ value => $self->{jvm_usage},
+ uom => '%',
+ );
+}
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/check_nwc_health-8.0/plugins-scripts/Classes/Bluecat/Component/MgmtSubsystem.pm
new/check_nwc_health-8.1/plugins-scripts/Classes/Bluecat/Component/MgmtSubsystem.pm
---
old/check_nwc_health-8.0/plugins-scripts/Classes/Bluecat/Component/MgmtSubsystem.pm
1970-01-01 01:00:00.000000000 +0100
+++
new/check_nwc_health-8.1/plugins-scripts/Classes/Bluecat/Component/MgmtSubsystem.pm
2021-01-18 21:21:44.675152500 +0100
@@ -0,0 +1,24 @@
+package Classes::Bluecat::Component::MgmtSubsystem;
+our @ISA = qw(Monitoring::GLPlugin::SNMP::Item);
+use strict;
+use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 };
+
+sub init {
+ my ($self) = @_;
+ $self->get_snmp_objects('BAM-SNMP-MIB', (qw(lastSuccessfulBackupTime)));
+ $self->{lastSuccessfulBackupAge} = int((time -
$self->{lastSuccessfulBackupTime}) / 3600);
+}
+
+sub check {
+ my ($self) = @_;
+ $self->add_info(sprintf "last successful backup was %d hours ago (%s)",
+ $self->{lastSuccessfulBackupAge},
+ scalar localtime $self->{lastSuccessfulBackupTime}
+ );
+ $self->set_thresholds(metric => "backup_age",
+ warning => 24*7,
+ critical => 24*7*4,
+ );
+ $self->add_message($self->check_thresholds(metric => "backup_age",
+ value => $self->{lastSuccessfulBackupAge}));
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/check_nwc_health-8.0/plugins-scripts/Classes/Bluecat/Component/ProcessSubsystem.pm
new/check_nwc_health-8.1/plugins-scripts/Classes/Bluecat/Component/ProcessSubsystem.pm
---
old/check_nwc_health-8.0/plugins-scripts/Classes/Bluecat/Component/ProcessSubsystem.pm
1970-01-01 01:00:00.000000000 +0100
+++
new/check_nwc_health-8.1/plugins-scripts/Classes/Bluecat/Component/ProcessSubsystem.pm
2021-01-18 21:21:44.684140300 +0100
@@ -0,0 +1,30 @@
+package Classes::Bluecat::Component::ProcessSubsystem;
+our @ISA = qw(Monitoring::GLPlugin::SNMP::Item);
+use strict;
+use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 };
+
+sub init {
+ my ($self) = @_;
+ $self->get_snmp_objects('BCN-DNS-MIB', (qw(bcnDnsSerOperState)));
+ $self->get_snmp_objects('BCN-DHCPV4-MIB', (qw(bcnDhcpv4SerOperState)));
+}
+
+sub check {
+ my ($self) = @_;
+ if ($self->{bcnDnsSerOperState}) {
+ $self->add_info(sprintf "dns service is %s", $self->{bcnDnsSerOperState});
+ $self->add_ok() if $self->{bcnDnsSerOperState} eq "running";
+ $self->add_critical() if $self->{bcnDnsSerOperState} eq "notRunning";
+ $self->add_warning() if $self->{bcnDnsSerOperState} eq "starting";
+ $self->add_warning() if $self->{bcnDnsSerOperState} eq "stopping";
+ $self->add_critical() if $self->{bcnDnsSerOperState} eq "fault";
+ }
+ if ($self->{bcnDhcpv4SerOperState}) {
+ $self->add_info(sprintf "dhcp service is %s",
$self->{bcnDhcpv4SerOperState});
+ $self->add_ok() if $self->{bcnDhcpv4SerOperState} eq "running";
+ $self->add_critical() if $self->{bcnDhcpv4SerOperState} eq "notRunning";
+ $self->add_warning() if $self->{bcnDhcpv4SerOperState} eq "starting";
+ $self->add_warning() if $self->{bcnDhcpv4SerOperState} eq "stopping";
+ $self->add_critical() if $self->{bcnDhcpv4SerOperState} eq "fault";
+ }
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/check_nwc_health-8.0/plugins-scripts/Classes/Bluecat.pm
new/check_nwc_health-8.1/plugins-scripts/Classes/Bluecat.pm
--- old/check_nwc_health-8.0/plugins-scripts/Classes/Bluecat.pm 1970-01-01
01:00:00.000000000 +0100
+++ new/check_nwc_health-8.1/plugins-scripts/Classes/Bluecat.pm 2021-01-18
21:21:44.693139300 +0100
@@ -0,0 +1,32 @@
+package Classes::Bluecat;
+our @ISA = qw(Classes::Device);
+use strict;
+
+sub init {
+ my ($self) = @_;
+ if ($self->mode =~ /device::hardware::health/) {
+
$self->analyze_and_check_environmental_subsystem("Classes::HOSTRESOURCESMIB::Component::EnvironmentalSubsystem");
+ } elsif ($self->mode =~ /device::hardware::load/) {
+
$self->analyze_and_check_cpu_subsystem("Classes::HOSTRESOURCESMIB::Component::CpuSubsystem");
+ } elsif ($self->mode =~ /device::hardware::memory/) {
+
$self->analyze_and_check_mem_subsystem("Classes::HOSTRESOURCESMIB::Component::MemSubsystem");
+
$self->analyze_and_check_jvm_subsystem("Classes::Bluecat::Component::MemSubsystem");
+ } elsif ($self->mode =~ /device::ha::/) {
+
$self->analyze_and_check_ha_subsystem("Classes::Bluecat::Component::HaSubsystem");
+ } elsif ($self->mode =~ /device::process::/) {
+
$self->analyze_and_check_process_subsystem("Classes::Bluecat::Component::ProcessSubsystem");
+ } elsif ($self->mode =~ /device::mngmt::/) {
+
$self->analyze_and_check_mgmt_subsystem("Classes::Bluecat::Component::MgmtSubsystem");
+ } else {
+ $self->no_such_mode();
+ }
+}
+
+sub pretty_sysdesc {
+ my ($self, $sysDescr) = @_;
+ my $sw_version = $self->get_snmp_object('BAM-SNMP-MIB', 'version');
+ my $start_time = $self->get_snmp_object('BAM-SNMP-MIB', 'startTime');
+ return sprintf "%s, sw version %s, start time %s",
+ $sysDescr, $sw_version, scalar localtime $start_time;
+}
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/check_nwc_health-8.0/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/TemperatureSubsystem.pm
new/check_nwc_health-8.1/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/TemperatureSubsystem.pm
---
old/check_nwc_health-8.0/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/TemperatureSubsystem.pm
2020-12-23 19:18:06.166812100 +0100
+++
new/check_nwc_health-8.1/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/TemperatureSubsystem.pm
2021-01-18 21:21:45.118130500 +0100
@@ -20,6 +20,8 @@
}
$self->ensure_index('ciscoEnvMonTemperatureStatusIndex');
$self->{ciscoEnvMonTemperatureLastShutdown} ||= 0;
+ $self->{ciscoEnvMonTemperatureStatusValue} -= 255 if
+ $self->{ciscoEnvMonTemperatureStatusValue} > 200;
}
sub check {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/check_nwc_health-8.0/plugins-scripts/Classes/Device.pm
new/check_nwc_health-8.1/plugins-scripts/Classes/Device.pm
--- old/check_nwc_health-8.0/plugins-scripts/Classes/Device.pm 2020-12-23
19:18:06.587792500 +0100
+++ new/check_nwc_health-8.1/plugins-scripts/Classes/Device.pm 2021-01-18
21:21:45.520123300 +0100
@@ -75,6 +75,8 @@
$self->rebless('Server::WindowsLocal');
} elsif ($self->{productname} =~ /solarislocal/i) {
$self->rebless('Server::SolarisLocal');
+ } elsif ($self->{productname} =~ /Bluecat Address Manager/i) {
+ $self->rebless('Classes::Bluecat');
} elsif ($self->{productname} =~ /Cisco/i) {
$self->rebless('Classes::Cisco');
} elsif ($self->{productname} =~ /fujitsu intelligent blade panel
30\/12/i) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/check_nwc_health-8.0/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/MemSubsystem.pm
new/check_nwc_health-8.1/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/MemSubsystem.pm
---
old/check_nwc_health-8.0/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/MemSubsystem.pm
2020-12-23 19:18:07.241797900 +0100
+++
new/check_nwc_health-8.1/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/MemSubsystem.pm
2021-01-18 21:21:46.168106700 +0100
@@ -13,7 +13,7 @@
my ($self) = @_;
my $ramsignature =
join "_", sort map { $_->{hrStorageDescr} } @{$self->{storagesram}};
- if ($ramsignature eq "RAM_RAM (Buffers)_RAM (Cache)") {
+ if ($ramsignature =~ /RAM_.*RAM \(Buffers\)_.*RAM \(Cache\).*/) {
#
https://eos.arista.com/introduction-to-managing-eos-devices-memory-utilisation/
my ($total, $used, $buffers, $cached) = (0, 0, 0, 0);
foreach (@{$self->{storagesram}}) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/check_nwc_health-8.0/plugins-scripts/Makefile.am
new/check_nwc_health-8.1/plugins-scripts/Makefile.am
--- old/check_nwc_health-8.0/plugins-scripts/Makefile.am 2020-12-23
19:18:08.324608300 +0100
+++ new/check_nwc_health-8.1/plugins-scripts/Makefile.am 2021-01-18
21:21:47.241734100 +0100
@@ -11,6 +11,7 @@
../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MIB2MIB.pm \
../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SNMPFRAMEWORKMIB.pm \
../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADSLLINEMIB.pm \
+ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADONISDNSMIBMIB.pm \
../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/AIRESPACESWITCHINGMIB.pm \
../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/AIRESPACEWIRELESSMIB.pm
\
../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ALARMMIB.pm \
@@ -20,6 +21,10 @@
../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBATCMIB.pm \
../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ASYNCOSMAILMIB.pm \
../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ATTACKMIB.pm \
+ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BAMSNMPMIB.pm \
+ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDHCPV4MIB.pm \
+ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDNSMIB.pm \
+ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNSYSTEMMIB.pm \
../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BGP4MIB.pm \
../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BIANCABRICKMIBRESMIB.pm
\
../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BLUECOATAVMIB.pm \
@@ -159,6 +164,11 @@
Classes/Bintec/Bibo/Components/CpuSubsystem.pm \
Classes/Bintec/Bibo.pm \
Classes/Bintec.pm \
+ Classes/Bluecat/Component/MgmtSubsystem.pm \
+ Classes/Bluecat/Component/ProcessSubsystem.pm \
+ Classes/Bluecat/Component/MemSubsystem.pm \
+ Classes/Bluecat/Component/HaSubsystem.pm \
+ Classes/Bluecat.pm \
Classes/Cisco/CISCOBGP4MIB/Components/PeerSubsystem.pm \
Classes/Cisco/CISCOEIGRPMIB/Components/PeerSubsystem.pm \
Classes/Cisco/CISCOPORTSECURITYMIB/Component/InterfaceSubsystem.pm \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/check_nwc_health-8.0/plugins-scripts/Makefile.in
new/check_nwc_health-8.1/plugins-scripts/Makefile.in
--- old/check_nwc_health-8.0/plugins-scripts/Makefile.in 2020-12-23
19:18:08.334609900 +0100
+++ new/check_nwc_health-8.1/plugins-scripts/Makefile.in 2021-01-18
21:21:47.251734900 +0100
@@ -253,6 +253,7 @@
../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MIB2MIB.pm \
../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SNMPFRAMEWORKMIB.pm \
../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADSLLINEMIB.pm \
+ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADONISDNSMIBMIB.pm \
../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/AIRESPACESWITCHINGMIB.pm \
../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/AIRESPACEWIRELESSMIB.pm
\
../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ALARMMIB.pm \
@@ -262,6 +263,10 @@
../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBATCMIB.pm \
../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ASYNCOSMAILMIB.pm \
../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ATTACKMIB.pm \
+ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BAMSNMPMIB.pm \
+ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDHCPV4MIB.pm \
+ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDNSMIB.pm \
+ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNSYSTEMMIB.pm \
../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BGP4MIB.pm \
../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BIANCABRICKMIBRESMIB.pm
\
../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BLUECOATAVMIB.pm \
@@ -402,6 +407,11 @@
Classes/Bintec/Bibo/Components/CpuSubsystem.pm \
Classes/Bintec/Bibo.pm \
Classes/Bintec.pm \
+ Classes/Bluecat/Component/MgmtSubsystem.pm \
+ Classes/Bluecat/Component/ProcessSubsystem.pm \
+ Classes/Bluecat/Component/MemSubsystem.pm \
+ Classes/Bluecat/Component/HaSubsystem.pm \
+ Classes/Bluecat.pm \
Classes/Cisco/CISCOBGP4MIB/Components/PeerSubsystem.pm \
Classes/Cisco/CISCOEIGRPMIB/Components/PeerSubsystem.pm \
Classes/Cisco/CISCOPORTSECURITYMIB/Component/InterfaceSubsystem.pm \