From 0ac7e5c757426aedfe59b8ecf110186a74ac57b3 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Wed, 21 Jul 2021 15:08:25 +0200 Subject: [PATCH] check_nwc_health: Update to 8.4 --- .../SNMP/MibsAndOids/CISCOPROCESSMIB.pm | 27 - .../GLPlugin/SNMP/MibsAndOids/VRRPMIB.pm | 106 --- .../Cisco/AsyncOS/Component/MemSubsystem.pm | 34 - .../Cisco/IOS/Component/MemSubsystem.pm | 22 - .../Linux/Component/EnvironmentalSubsystem.pm | 36 -- .../AUTHORS | 0 .../COPYING | 0 .../ChangeLog | 51 ++ .../GLPlugin/lib/Monitoring/GLPlugin.pm | 12 +- .../lib/Monitoring/GLPlugin/Commandline.pm | 14 +- .../GLPlugin/Commandline/Extraopts.pm | 0 .../Monitoring/GLPlugin/Commandline/Getopt.pm | 21 + .../GLPlugin/lib/Monitoring/GLPlugin/Item.pm | 0 .../GLPlugin/lib/Monitoring/GLPlugin/SNMP.pm | 103 ++- .../lib/Monitoring/GLPlugin/SNMP/CSF.pm | 0 .../lib/Monitoring/GLPlugin/SNMP/Item.pm | 0 .../Monitoring/GLPlugin/SNMP/MibsAndOids.pm | 0 .../SNMP/MibsAndOids/ADONISDNSMIBMIB.pm | 101 +++ .../GLPlugin/SNMP/MibsAndOids/ADSLLINEMIB.pm | 0 .../SNMP/MibsAndOids/AIRESPACESWITCHINGMIB.pm | 0 .../SNMP/MibsAndOids/AIRESPACEWIRELESSMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/ALARMMIB.pm | 0 .../SNMP/MibsAndOids/ALCATELIND1BASEMIB.pm | 0 .../SNMP/MibsAndOids/ARISTABGP4V2MIB.pm | 0 .../SNMP/MibsAndOids/ARISTAENTITYSENSORMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/ARUBATCMIB.pm | 0 .../SNMP/MibsAndOids/ASYNCOSMAILMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/ATTACKMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/BAMSNMPMIB.pm | 82 +++ .../GLPlugin/SNMP/MibsAndOids/BCNDHCPV4MIB.pm | 80 +++ .../GLPlugin/SNMP/MibsAndOids/BCNDNSMIB.pm | 55 ++ .../GLPlugin/SNMP/MibsAndOids/BCNSYSTEMMIB.pm | 57 ++ .../GLPlugin/SNMP/MibsAndOids/BGP4MIB.pm | 0 .../SNMP/MibsAndOids/BIANCABRICKMIBRESMIB.pm | 0 .../SNMP/MibsAndOids/BLUECOATAVMIB.pm | 0 .../SNMP/MibsAndOids/BLUECOATSGPROXYMIB.pm | 0 .../SNMP/MibsAndOids/CHECKPOINTMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/CISCOBGP4MIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/CISCOCCMMIB.pm | 0 .../SNMP/MibsAndOids/CISCOCONFIGMANMIB.pm | 0 .../SNMP/MibsAndOids/CISCOEIGRPMIB.pm | 0 .../MibsAndOids/CISCOENHANCEDMEMPOOLMIB.pm | 0 .../SNMP/MibsAndOids/CISCOENTITYALARMMIB.pm | 0 .../MibsAndOids/CISCOENTITYFRUCONTROLMIB.pm | 0 .../SNMP/MibsAndOids/CISCOENTITYSENSORMIB.pm | 30 + .../SNMP/MibsAndOids/CISCOENVMONMIB.pm | 0 .../CISCOETHERNETFABRICEXTENDERMIB.pm | 0 .../MibsAndOids/CISCOFEATURECONTROLMIB.pm | 0 .../SNMP/MibsAndOids/CISCOFIREWALLMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/CISCOHSRPMIB.pm | 0 .../SNMP/MibsAndOids/CISCOIETFNATMIB.pm | 0 .../MibsAndOids/CISCOIPSECFLOWMONITORMIB.pm | 0 .../CISCOL2L3INTERFACECONFIGMIB.pm | 0 .../SNMP/MibsAndOids/CISCOLWAPPAPMIB.pm | 0 .../SNMP/MibsAndOids/CISCOLWAPPHAMIB.pm | 0 .../SNMP/MibsAndOids/CISCOMEMORYPOOLMIB.pm | 0 .../SNMP/MibsAndOids/CISCOPORTCHANNELMIB.pm | 0 .../SNMP/MibsAndOids/CISCOPORTSECURITYMIB.pm | 0 .../SNMP/MibsAndOids/CISCOPROCESSMIB.pm | 227 +++++++ .../CISCOREMOTEACCESSMONITORMIB.pm | 0 .../MibsAndOids/CISCOSBHWENVIROMENTMIB.pm | 0 .../SNMP/MibsAndOids/CISCOSBRNDMNGMIB.pm | 0 .../SNMP/MibsAndOids/CISCOSBSYSMNGMIB.pm | 0 .../SNMP/MibsAndOids/CISCOSBTUNINGMIB.pm | 0 .../SNMP/MibsAndOids/CISCOSMARTLICMIB.pm | 97 +++ .../SNMP/MibsAndOids/CISCOSTACKMIB.pm | 0 .../SNMP/MibsAndOids/CISCOSTACKWISEMIB.pm | 0 .../SNMP/MibsAndOids/CISCOSYSTEMEXTMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/CISCOVTPMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/CLAVISTERMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/DISKMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/ELTEXMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/ENTITYMIB.pm | 0 .../SNMP/MibsAndOids/ENTITYSENSORMIB.pm | 32 + .../SNMP/MibsAndOids/ENTITYSTATEMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/ETHERLIKEMIB.pm | 0 .../SNMP/MibsAndOids/F5BIGIPAPMMIB.pm | 0 .../SNMP/MibsAndOids/F5BIGIPGLOBALMIB.pm | 0 .../SNMP/MibsAndOids/F5BIGIPLOCALMIB.pm | 0 .../SNMP/MibsAndOids/F5BIGIPSYSTEMMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/FCEOSMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/FCMGMTMIB.pm | 0 .../SNMP/MibsAndOids/FIBRECHANNELFEMIB.pm | 0 .../SNMP/MibsAndOids/FORTINETCOREMIB.pm | 0 .../SNMP/MibsAndOids/FORTINETFORTIGATEMIB.pm | 0 .../SNMP/MibsAndOids/FOUNDRYSNAGENTMIB.pm | 0 .../FOUNDRYSNSWL4SWITCHGROUPMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/GENUAMIB.pm | 0 .../SNMP/MibsAndOids/HH3CENTITYEXTMIB.pm | 0 .../SNMP/MibsAndOids/HOSTRESOURCESMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/HPICFCHASSIS.pm | 0 .../SNMP/MibsAndOids/HUAWEIBGPVPNMIB.pm | 308 +++++++++ .../SNMP/MibsAndOids/HUAWEIENTITYEXTENTMIB.pm | 0 .../SNMP/MibsAndOids/IANAIFTYPEMIB.pm | 0 .../SNMP/MibsAndOids/IANARTPROTOMIB.pm | 0 .../SNMP/MibsAndOids/IEEE8023LAGMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/IFMIB.pm | 0 .../SNMP/MibsAndOids/INETADDRESSMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/IPFORWARDMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/IPMIB.pm | 0 .../SNMP/MibsAndOids/JUNIPERALARMMIB.pm | 0 .../SNMP/MibsAndOids/JUNIPERIVEMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/JUNIPERMIB.pm | 0 .../SNMP/MibsAndOids/JUNIPERRPSMIB.pm | 0 .../JUNIPERSRX5000SPUMONITORINGMIB.pm | 0 .../SNMP/MibsAndOids/JUNOSBGP4V2MIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/LARAMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/LCOSMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/LMSENSORSMIB.pm | 0 .../SNMP/MibsAndOids/LOADBALSYSTEMMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/MIB2MIB.pm | 5 + .../GLPlugin/SNMP/MibsAndOids/MINIIFMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/NETGEARMIB.pm | 0 .../SNMP/MibsAndOids/NETSCREENCHASSISMIB.pm | 0 .../SNMP/MibsAndOids/NETSCREENNSRPMIB.pm | 0 .../SNMP/MibsAndOids/NETSCREENPRODUCTSMIB.pm | 0 .../SNMP/MibsAndOids/NETSCREENRESOURCEMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/NETSWITCHMIB.pm | 0 .../SNMP/MibsAndOids/OLDCISCOCPUMIB.pm | 0 .../SNMP/MibsAndOids/OLDCISCOINTERFACESMIB.pm | 0 .../SNMP/MibsAndOids/OLDNETSWITCHMIB.pm | 0 .../SNMP/MibsAndOids/OLDSTATISTICSMIB.pm | 0 .../SNMP/MibsAndOids/ONEACCESSSYSMIB.pm | 0 .../SNMP/MibsAndOids/OPENBSDCARPMIB.pm | 0 .../SNMP/MibsAndOids/OPENBSDMEMMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/OPENBSDPFMIB.pm | 0 .../SNMP/MibsAndOids/OPENBSDSENSORSMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/OSPFMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/OSPFV3MIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/PANCOMMONMIB.pm | 0 .../SNMP/MibsAndOids/PANPRODUCTSMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/PHIONMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/PROXYMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/RAPIDCITYMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/RESOURCEMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/RMONMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/S5CHASSISMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/SENSORMIB.pm | 0 .../SNMP/MibsAndOids/SNMPFRAMEWORKMIB.pm | 0 .../SNMP/MibsAndOids/SNMPV2TCV1MIB.pm | 0 .../SNMP/MibsAndOids/STATISTICSMIB.pm | 0 .../SNMP/MibsAndOids/STEELHEADEXMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/STEELHEADMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/SWMIB.pm | 0 .../SNMP/MibsAndOids/SYNOPTICSROOTMIB.pm | 0 .../SNMP/MibsAndOids/SYSTEMRESOURCESMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/UCDDISKIOMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/UCDSNMPMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/USAGEMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/VORMETRICMIB.pm | 24 + .../GLPlugin/SNMP/MibsAndOids/VRRPMIB.pm | 106 +++ .../SNMP/MibsAndOids/WLSXSYSTEMEXTMIB.pm | 0 .../GLPlugin/SNMP/MibsAndOids/WLSXWLANMIB.pm | 0 .../lib/Monitoring/GLPlugin/SNMP/TableItem.pm | 0 .../lib/Monitoring/GLPlugin/TableItem.pm | 0 .../GLPlugin/lib/Monitoring/GLPlugin/UPNP.pm | 0 .../INSTALL | 0 .../Makefile.am | 0 .../Makefile.in | 15 +- .../NEWS | 0 .../README | 0 .../THANKS | 0 .../TODO | 0 .../acinclude.m4 | 0 .../aclocal.m4 | 46 +- .../config.guess | 0 .../config.sub | 0 .../configure | 28 +- .../configure.ac | 2 +- .../install-sh | 0 .../missing | 0 .../ALARMMIB/Component/AlarmSubsystem.pm | 0 .../plugins-scripts/Classes/AVOS.pm | 0 .../AVOS/Component/ConnectionSubsystem.pm | 0 .../Classes/AVOS/Component/CpuSubsystem.pm | 0 .../Classes/AVOS/Component/KeySubsystem.pm | 0 .../Classes/AVOS/Component/MemSubsystem.pm | 0 .../AVOS/Component/SecuritySubsystem.pm | 0 .../plugins-scripts/Classes/Alcatel.pm | 0 .../Classes/Alcatel/OmniAccess.pm | 0 .../OmniAccess/Component/CpuSubsystem.pm | 0 .../Component/EnvironmentalSubsystem.pm | 0 .../OmniAccess/Component/FanSubsystem.pm | 0 .../OmniAccess/Component/HaSubsystem.pm | 0 .../OmniAccess/Component/MemSubsystem.pm | 0 .../Component/PowersupplySubsystem.pm | 0 .../OmniAccess/Component/StorageSubsystem.pm | 0 .../OmniAccess/Component/WlanSubsystem.pm | 0 .../plugins-scripts/Classes/AlliedTelesyn.pm | 0 .../plugins-scripts/Classes/Arista.pm | 0 .../Components/PeerSubsystem.pm | 23 +- .../Component/EnvironmentalSubsystem.pm | 0 .../plugins-scripts/Classes/BGP.pm | 0 .../Classes/BGP/Component/PeerSubsystem.pm | 2 + .../plugins-scripts/Classes/Barracuda.pm | 0 .../Component/EnvironmentalSubsystem.pm | 0 .../Barracuda/Component/FwSubsystem.pm | 0 .../Barracuda/Component/HaSubsystem.pm | 0 .../plugins-scripts/Classes/Bintec.pm | 0 .../plugins-scripts/Classes/Bintec/Bibo.pm | 0 .../Bintec/Bibo/Components/CpuSubsystem.pm | 0 .../Bibo/Components/EnvironmentalSubsystem.pm | 0 .../Bintec/Bibo/Components/MemSubsystem.pm | 0 .../plugins-scripts/Classes/Bluecat.pm | 18 + .../Classes/Bluecat/AddressManager.pm | 30 + .../AddressManager/Component/HaSubsystem.pm | 132 ++++ .../AddressManager/Component/MemSubsystem.pm | 30 + .../AddressManager/Component/MgmtSubsystem.pm | 24 + .../Classes/Bluecat/DnsDhcpServer.pm | 27 + .../DnsDhcpServer/Component/HaSubsystem.pm | 41 ++ .../Component/ProcessSubsystem.pm | 47 ++ .../plugins-scripts/Classes/Bluecoat.pm | 0 .../plugins-scripts/Classes/Brocade.pm | 0 .../plugins-scripts/Classes/CheckPoint.pm | 0 .../Classes/CheckPoint/Firewall1.pm | 0 .../Firewall1/Component/CpuSubsystem.pm | 0 .../Firewall1/Component/DiskSubsystem.pm | 0 .../Component/EnvironmentalSubsystem.pm | 0 .../Firewall1/Component/FanSubsystem.pm | 0 .../Firewall1/Component/FwSubsystem.pm | 0 .../Firewall1/Component/HaSubsystem.pm | 0 .../Firewall1/Component/MemSubsystem.pm | 0 .../Firewall1/Component/MngmtSubsystem.pm | 0 .../Component/PowersupplySubsystem.pm | 0 .../Firewall1/Component/SvnSubsystem.pm | 0 .../Component/TemperatureSubsystem.pm | 0 .../Firewall1/Component/VoltageSubsystem.pm | 0 .../Firewall1/Component/VpnSubsystem.pm | 0 .../Classes/CheckPoint/Gaia.pm | 0 .../plugins-scripts/Classes/CheckPoint/VSX.pm | 0 .../CheckPoint/VSX/Component/FwSubsystem.pm | 0 .../plugins-scripts/Classes/Cisco.pm | 14 +- .../plugins-scripts/Classes/Cisco/ASA.pm | 0 .../plugins-scripts/Classes/Cisco/AsyncOS.pm | 0 .../Cisco/AsyncOS/Component/CpuSubsystem.pm | 0 .../Component/EnvironmentalSubsystem.pm | 0 .../Cisco/AsyncOS/Component/FanSubsystem.pm | 0 .../Cisco/AsyncOS/Component/KeySubsystem.pm | 0 .../Cisco/AsyncOS/Component/MemSubsystem.pm | 37 ++ .../AsyncOS/Component/PowersupplySubsystem.pm | 0 .../Cisco/AsyncOS/Component/RaidSubsystem.pm | 0 .../AsyncOS/Component/TemperatureSubsystem.pm | 0 .../plugins-scripts/Classes/Cisco/CCM.pm | 0 .../Cisco/CCM/Component/CmSubsystem.pm | 0 .../Cisco/CCM/Component/PhoneSubsystem.pm | 0 .../CISCOBGP4MIB/Components/PeerSubsystem.pm | 13 +- .../CISCOEIGRPMIB/Components/PeerSubsystem.pm | 0 .../Component/MemSubsystem.pm | 0 .../Component/AlarmSubsystem.pm | 0 .../Component/EnvironmentalSubsystem.pm | 0 .../Component/FanSubsystem.pm | 0 .../Component/ModuleSubsystem.pm | 0 .../Component/PowersupplySubsystem.pm | 0 .../Component/SensorSubsystem.pm | 2 +- .../CISCOENVMONMIB/Component/FanSubsystem.pm | 0 .../Component/PowersupplySubsystem.pm | 0 .../Component/TemperatureSubsystem.pm | 2 + .../Component/VoltageSubsystem.pm | 0 .../Component/VpnSubsystem.pm | 0 .../Component/MemSubsystem.pm | 0 .../Component/InterfaceSubsystem.pm | 0 .../CISCOPROCESSMIB/Component/MemSubsystem.pm | 139 ++++ .../Component/VpnSubsystem.pm | 0 .../Component/KeySubsystem.pm | 109 ++++ .../CISCOSTACKMIB/Component/StackSubsystem.pm | 0 .../Component/StackSubsystem.pm | 5 +- .../plugins-scripts/Classes/Cisco/IOS.pm | 0 .../Cisco/IOS/Component/BgpSubsystem.pm | 0 .../Cisco/IOS/Component/ConfigSubsystem.pm | 0 .../IOS/Component/ConnectionSubsystem.pm | 0 .../Cisco/IOS/Component/CpuSubsystem.pm | 3 +- .../IOS/Component/EnvironmentalSubsystem.pm | 0 .../Cisco/IOS/Component/HaSubsystem.pm | 0 .../Cisco/IOS/Component/MemSubsystem.pm | 42 ++ .../Cisco/IOS/Component/NatSubsystem.pm | 0 .../plugins-scripts/Classes/Cisco/NXOS.pm | 0 .../Cisco/NXOS/Component/CpuSubsystem.pm | 0 .../NXOS/Component/EnvironmentalSubsystem.pm | 0 .../Cisco/NXOS/Component/FexSubsystem.pm | 0 .../Cisco/NXOS/Component/MemSubsystem.pm | 0 .../Component/InterfaceSubsystem.pm | 0 .../plugins-scripts/Classes/Cisco/PrimeNCS.pm | 0 .../plugins-scripts/Classes/Cisco/SB.pm | 0 .../Cisco/SB/Component/CpuSubsystem.pm | 0 .../SB/Component/EnvironmentalSubsystem.pm | 0 .../Cisco/SB/Component/MemSubsystem.pm | 0 .../plugins-scripts/Classes/Cisco/UCOS.pm | 0 .../plugins-scripts/Classes/Cisco/WLC.pm | 0 .../Cisco/WLC/Component/CpuSubsystem.pm | 0 .../WLC/Component/EnvironmentalSubsystem.pm | 0 .../Cisco/WLC/Component/HaSubsystem.pm | 0 .../Cisco/WLC/Component/MemSubsystem.pm | 0 .../Cisco/WLC/Component/WlanSubsystem.pm | 0 .../plugins-scripts/Classes/Clavister.pm | 0 .../Classes/Clavister/Firewall1.pm | 0 .../Firewall1/Component/CpuSubsystem.pm | 0 .../Component/EnvironmentalSubsystem.pm | 0 .../Firewall1/Component/MemSubsystem.pm | 0 .../plugins-scripts/Classes/Cumulus.pm | 0 .../plugins-scripts/Classes/Device.pm | 4 + .../plugins-scripts/Classes/DrayTek.pm | 0 .../plugins-scripts/Classes/DrayTek/Vigor.pm | 0 .../DrayTek/Vigor/Component/CpuSubsystem.pm | 0 .../Vigor/Component/EnvironmentalSubsystem.pm | 0 .../DrayTek/Vigor/Component/MemSubsystem.pm | 0 .../Classes/ENTITYSENSORMIB.pm | 0 .../Component/EnvironmentalSubsystem.pm | 0 .../plugins-scripts/Classes/Eltex.pm | 0 .../plugins-scripts/Classes/Eltex/Access.pm | 0 .../Component/EnvironmentalSubsystem.pm | 0 .../Classes/Eltex/Aggregation.pm | 0 .../Component/EnvironmentalSubsystem.pm | 0 .../Eltex/MES/Component/CpuSubsystem.pm | 0 .../Eltex/MES/Component/HaSubsystem.pm | 0 .../plugins-scripts/Classes/F5.pm | 0 .../plugins-scripts/Classes/F5/F5BIGIP.pm | 0 .../F5/F5BIGIP/Component/ConfigSubsystem.pm | 0 .../F5BIGIP/Component/ConnectionSubsystem.pm | 0 .../F5/F5BIGIP/Component/CpuSubsystem.pm | 1 + .../F5/F5BIGIP/Component/DiskSubsystem.pm | 0 .../Component/EnvironmentalSubsystem.pm | 0 .../F5/F5BIGIP/Component/FanSubsystem.pm | 0 .../Classes/F5/F5BIGIP/Component/GTM.pm | 0 .../F5/F5BIGIP/Component/HaSubsystem.pm | 0 .../Classes/F5/F5BIGIP/Component/LTM.pm | 0 .../F5/F5BIGIP/Component/MemSubsystem.pm | 2 + .../F5BIGIP/Component/PowersupplySubsystem.pm | 0 .../F5BIGIP/Component/TemperatureSubsystem.pm | 0 .../F5/F5BIGIP/Component/VipSubsystem.pm | 0 .../plugins-scripts/Classes/FCEOS.pm | 0 .../Components/EnvironmentalSubsystem.pm | 0 .../Classes/FCEOS/Components/FruSubsystem.pm | 0 .../plugins-scripts/Classes/FCMGMT.pm | 0 .../Component/EnvironmentalSubsystem.pm | 0 .../FCMGMT/Component/SensorSubsystem.pm | 0 .../plugins-scripts/Classes/FabOS.pm | 0 .../Classes/FabOS/Component/CpuSubsystem.pm | 0 .../FabOS/Component/EnvironmentalSubsystem.pm | 0 .../FabOS/Component/InterfaceSubsystem.pm | 38 +- .../Classes/FabOS/Component/MemSubsystem.pm | 0 .../FabOS/Component/SensorSubsystem.pm | 0 .../plugins-scripts/Classes/Fortigate.pm | 2 + .../Fortigate/Component/CpuSubsystem.pm | 0 .../Fortigate/Component/DiskSubsystem.pm | 0 .../Component/EnvironmentalSubsystem.pm | 0 .../Fortigate/Component/HaSubsystem.pm | 0 .../Fortigate/Component/MemSubsystem.pm | 0 .../Fortigate/Component/SensorSubsystem.pm | 0 .../Fortigate/Component/VpnSubsystem.pm | 24 + .../plugins-scripts/Classes/Foundry.pm | 0 .../Classes/Foundry/Component/CpuSubsystem.pm | 0 .../Component/EnvironmentalSubsystem.pm | 0 .../Classes/Foundry/Component/FanSubsystem.pm | 0 .../Classes/Foundry/Component/MemSubsystem.pm | 0 .../Foundry/Component/ModuleSubsystem.pm | 0 .../Foundry/Component/PowersupplySubsystem.pm | 0 .../Classes/Foundry/Component/SLBSubsystem.pm | 0 .../Foundry/Component/TemperatureSubsystem.pm | 0 .../plugins-scripts/Classes/HH3C.pm | 0 .../Classes/HH3C/Component/CpuSubsystem.pm | 0 .../Classes/HH3C/Component/EntitySubsystem.pm | 0 .../HH3C/Component/EnvironmentalSubsystem.pm | 0 .../Classes/HH3C/Component/MemSubsystem.pm | 0 .../Classes/HOSTRESOURCESMIB.pm | 0 .../Component/ClockSubsystem.pm | 0 .../Component/CpuSubsystem.pm | 0 .../Component/DeviceSubsystem.pm | 18 +- .../Component/DiskSubsystem.pm | 0 .../Component/EnvironmentalSubsystem.pm | 0 .../Component/MemSubsystem.pm | 2 +- .../Component/UptimeSubsystem.pm | 0 .../plugins-scripts/Classes/HP.pm | 0 .../plugins-scripts/Classes/HP/Procurve.pm | 0 .../HP/Procurve/Component/CpuSubsystem.pm | 0 .../Component/EnvironmentalSubsystem.pm | 0 .../HP/Procurve/Component/MemSubsystem.pm | 0 .../HP/Procurve/Component/SensorSubsystem.pm | 0 .../plugins-scripts/Classes/HSRP.pm | 0 .../Classes/HSRP/Component/HSRPSubsystem.pm | 0 .../plugins-scripts/Classes/Huawei.pm | 14 + .../Classes/Huawei/CloudEngine.pm | 0 .../Classes/Huawei/Component/CpuSubsystem.pm | 0 .../Component/EnvironmentalSubsystem.pm | 0 .../Classes/Huawei/Component/MemSubsystem.pm | 6 +- .../Classes/Huawei/Component/PeerSubsystem.pm | 318 +++++++++ .../plugins-scripts/Classes/IFMIB.pm | 0 .../IFMIB/Component/InterfaceSubsystem.pm | 602 +++++++++++------- .../IFMIB/Component/LinkAggregation.pm | 0 .../Classes/IFMIB/Component/StackSubsystem.pm | 11 +- .../plugins-scripts/Classes/IPFORWARDMIB.pm | 0 .../Component/RoutingSubsystem.pm | 0 .../plugins-scripts/Classes/IPMIB.pm | 0 .../IPMIB/Component/RoutingSubsystem.pm | 0 .../plugins-scripts/Classes/Juniper.pm | 0 .../plugins-scripts/Classes/Juniper/IVE.pm | 0 .../Juniper/IVE/Component/CpuSubsystem.pm | 0 .../Juniper/IVE/Component/DiskSubsystem.pm | 0 .../IVE/Component/EnvironmentalSubsystem.pm | 0 .../Juniper/IVE/Component/MemSubsystem.pm | 0 .../Juniper/IVE/Component/UserSubsystem.pm | 0 .../plugins-scripts/Classes/Juniper/JunOS.pm | 0 .../Juniper/JunOS/Component/BgpSubsystem.pm | 0 .../Classes/Juniper/NetScreen.pm | 0 .../NetScreen/Component/CpuSubsystem.pm | 0 .../Component/EnvironmentalSubsystem.pm | 0 .../NetScreen/Component/MemSubsystem.pm | 0 .../NetScreen/Component/VsdSubsystem.pm | 0 .../plugins-scripts/Classes/Juniper/SRX.pm | 2 +- .../Juniper/SRX/Component/CpuSubsystem.pm | 0 .../SRX/Component/EnvironmentalSubsystem.pm | 0 .../Juniper/SRX/Component/MemSubsystem.pm | 0 .../plugins-scripts/Classes/LMSENSORSMIB.pm | 0 .../Component/EnvironmentalSubsystem.pm | 0 .../LMSENSORSMIB/Component/FanSubsystem.pm | 0 .../Component/TemperatureSubsystem.pm | 0 .../plugins-scripts/Classes/Lancom.pm | 0 .../Classes/Lancom/Component/CpuSubsystem.pm | 0 .../Component/EnvironmentalSubsystem.pm | 0 .../Classes/Lancom/Component/MemSubsystem.pm | 0 .../plugins-scripts/Classes/Lantronix.pm | 0 .../plugins-scripts/Classes/Lantronix/SLS.pm | 0 .../plugins-scripts/Classes/MEOS.pm | 0 .../plugins-scripts/Classes/Netgear.pm | 0 .../plugins-scripts/Classes/Nortel.pm | 0 .../plugins-scripts/Classes/Nortel/S5.pm | 0 .../Nortel/S5/Component/CpuSubsystem.pm | 0 .../S5/Component/EnvironmentalSubsystem.pm | 0 .../Nortel/S5/Component/MemSubsystem.pm | 0 .../plugins-scripts/Classes/OSPF.pm | 0 .../OSPF/Component/NeighborSubsystem.pm | 0 .../plugins-scripts/Classes/OneOS.pm | 0 .../Classes/OneOS/Component/CpuSubsystem.pm | 0 .../OneOS/Component/EnvironmentalSubsystem.pm | 0 .../Classes/OneOS/Component/MemSubsystem.pm | 0 .../plugins-scripts/Classes/PaloAlto.pm | 0 .../PaloAlto/Component/CpuSubsystem.pm | 0 .../Component/EnvironmentalSubsystem.pm | 0 .../Classes/PaloAlto/Component/HaSubsystem.pm | 0 .../PaloAlto/Component/MemSubsystem.pm | 0 .../PaloAlto/Component/SessionSubsystem.pm | 0 .../plugins-scripts/Classes/RAPIDCITYMIB.pm | 0 .../Component/EnvironmentalSubsystem.pm | 0 .../RAPIDCITYMIB/Component/FanSubsystem.pm | 0 .../Component/PowersupplySubsystem.pm | 0 .../Component/TemperatureSubsystem.pm | 0 .../plugins-scripts/Classes/Riverbed.pm | 0 .../Classes/Riverbed/Steelhead.pm | 0 .../Component/EnvironmentalSubsystem.pm | 0 .../Component/EnvironmentalSubsystem.pm | 0 .../plugins-scripts/Classes/SGOS.pm | 0 .../SGOS/Component/ConnectionSubsystem.pm | 0 .../Classes/SGOS/Component/CpuSubsystem.pm | 0 .../Classes/SGOS/Component/DiskSubsystem.pm | 0 .../SGOS/Component/EnvironmentalSubsystem.pm | 0 .../Classes/SGOS/Component/MemSubsystem.pm | 0 .../SGOS/Component/SecuritySubsystem.pm | 0 .../Classes/SGOS/Component/SensorSubsystem.pm | 0 .../plugins-scripts/Classes/SecureOS.pm | 0 .../plugins-scripts/Classes/Server/Linux.pm | 0 .../Server/Linux/Component/CpuSubsystem.pm | 0 .../Linux/Component/EnvironmentalSubsystem.pm | 46 ++ .../Server/Linux/Component/MemSubsystem.pm | 0 .../Classes/Server/LinuxLocal.pm | 0 .../Classes/Server/SolarisLocal.pm | 0 .../Classes/Server/WindowsLocal.pm | 0 .../plugins-scripts/Classes/UCDMIB.pm | 0 .../Classes/UCDMIB/Components/CpuSubsystem.pm | 0 .../UCDMIB/Components/DiskSubsystem.pm | 0 .../UCDMIB/Components/LoadSubsystem.pm | 0 .../Classes/UCDMIB/Components/MemSubsystem.pm | 8 +- .../UCDMIB/Components/ProcessSubsystem.pm | 0 .../UCDMIB/Components/SwapSubsystem.pm | 0 .../plugins-scripts/Classes/UPNP.pm | 0 .../plugins-scripts/Classes/UPNP/AVM.pm | 0 .../Classes/UPNP/AVM/FritzBox7390.pm | 0 .../Components/InterfaceSubsystem.pm | 0 .../Components/SmartHomeSubsystem.pm | 0 .../plugins-scripts/Classes/VRRPMIB.pm | 0 .../VRRPMIB/Component/VRRPSubsystem.pm | 0 .../plugins-scripts/Classes/Vormetric.pm | 18 + .../Vormetric/Component/CpuSubsystem.pm | 60 ++ .../Vormetric/Component/DiskSubsystem.pm | 53 ++ .../Component/EnvironmentalSubsystem.pm | 23 + .../Vormetric/Component/MemSubsystem.pm | 52 ++ .../plugins-scripts/Makefile.am | 25 + .../plugins-scripts/Makefile.in | 38 +- .../plugins-scripts/check_nwc_health.pl | 0 .../plugins-scripts/subst.in | 120 ++-- check_nwc_health/control | 2 +- check_nwc_health/src | 2 +- 490 files changed, 3320 insertions(+), 632 deletions(-) delete mode 100644 check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPROCESSMIB.pm delete mode 100644 check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VRRPMIB.pm delete mode 100644 check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/MemSubsystem.pm delete mode 100644 check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/MemSubsystem.pm delete mode 100644 check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/Linux/Component/EnvironmentalSubsystem.pm rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/AUTHORS (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/COPYING (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/ChangeLog (92%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin.pm (99%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/Commandline.pm (97%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/Commandline/Extraopts.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/Commandline/Getopt.pm (87%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/Item.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP.pm (97%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/CSF.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/Item.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids.pm (100%) create mode 100644 check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADONISDNSMIBMIB.pm rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADSLLINEMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/AIRESPACESWITCHINGMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/AIRESPACEWIRELESSMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ALARMMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ALCATELIND1BASEMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARISTABGP4V2MIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARISTAENTITYSENSORMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBATCMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ASYNCOSMAILMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ATTACKMIB.pm (100%) create mode 100644 check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BAMSNMPMIB.pm create mode 100644 check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDHCPV4MIB.pm create mode 100644 check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDNSMIB.pm create mode 100644 check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNSYSTEMMIB.pm rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BGP4MIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BIANCABRICKMIBRESMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BLUECOATAVMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BLUECOATSGPROXYMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CHECKPOINTMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOBGP4MIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOCCMMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOCONFIGMANMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOEIGRPMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENHANCEDMEMPOOLMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYALARMMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYFRUCONTROLMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYSENSORMIB.pm (80%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENVMONMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOETHERNETFABRICEXTENDERMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOFEATURECONTROLMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOFIREWALLMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOHSRPMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOIETFNATMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOIPSECFLOWMONITORMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOL2L3INTERFACECONFIGMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPAPMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPHAMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOMEMORYPOOLMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPORTCHANNELMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPORTSECURITYMIB.pm (100%) create mode 100644 check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPROCESSMIB.pm rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOREMOTEACCESSMONITORMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBHWENVIROMENTMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBRNDMNGMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBSYSMNGMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBTUNINGMIB.pm (100%) create mode 100644 check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSMARTLICMIB.pm rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSTACKMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSTACKWISEMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSYSTEMEXTMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOVTPMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CLAVISTERMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/DISKMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ELTEXMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYSENSORMIB.pm (70%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYSTATEMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ETHERLIKEMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPAPMMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPGLOBALMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPLOCALMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPSYSTEMMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FCEOSMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FCMGMTMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FIBRECHANNELFEMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FORTINETCOREMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FORTINETFORTIGATEMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FOUNDRYSNAGENTMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FOUNDRYSNSWL4SWITCHGROUPMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/GENUAMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HH3CENTITYEXTMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HOSTRESOURCESMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HPICFCHASSIS.pm (100%) create mode 100644 check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIBGPVPNMIB.pm rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIENTITYEXTENTMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IANAIFTYPEMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IANARTPROTOMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IEEE8023LAGMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IFMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/INETADDRESSMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IPFORWARDMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IPMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERALARMMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERIVEMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERRPSMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERSRX5000SPUMONITORINGMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNOSBGP4V2MIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LARAMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LCOSMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LMSENSORSMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LOADBALSYSTEMMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MIB2MIB.pm (97%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MINIIFMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETGEARMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENCHASSISMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENNSRPMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENPRODUCTSMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENRESOURCEMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSWITCHMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDCISCOCPUMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDCISCOINTERFACESMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDNETSWITCHMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDSTATISTICSMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ONEACCESSSYSMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDCARPMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDMEMMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDPFMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDSENSORSMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OSPFMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OSPFV3MIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PANCOMMONMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PANPRODUCTSMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PHIONMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PROXYMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RAPIDCITYMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RESOURCEMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RMONMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/S5CHASSISMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SENSORMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SNMPFRAMEWORKMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SNMPV2TCV1MIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STATISTICSMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STEELHEADEXMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STEELHEADMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SWMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SYNOPTICSROOTMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SYSTEMRESOURCESMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UCDDISKIOMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UCDSNMPMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/USAGEMIB.pm (100%) create mode 100644 check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VORMETRICMIB.pm create mode 100644 check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VRRPMIB.pm rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/WLSXSYSTEMEXTMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/WLSXWLANMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/SNMP/TableItem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/TableItem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/GLPlugin/lib/Monitoring/GLPlugin/UPNP.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/INSTALL (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/Makefile.am (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/Makefile.in (98%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/NEWS (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/README (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/THANKS (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/TODO (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/acinclude.m4 (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/aclocal.m4 (95%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/config.guess (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/config.sub (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/configure (99%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/configure.ac (98%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/install-sh (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/missing (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/ALARMMIB/Component/AlarmSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/AVOS.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/AVOS/Component/ConnectionSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/AVOS/Component/CpuSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/AVOS/Component/KeySubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/AVOS/Component/MemSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/AVOS/Component/SecuritySubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Alcatel.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Alcatel/OmniAccess.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Alcatel/OmniAccess/Component/CpuSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Alcatel/OmniAccess/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Alcatel/OmniAccess/Component/FanSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Alcatel/OmniAccess/Component/HaSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Alcatel/OmniAccess/Component/MemSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Alcatel/OmniAccess/Component/PowersupplySubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Alcatel/OmniAccess/Component/StorageSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Alcatel/OmniAccess/Component/WlanSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/AlliedTelesyn.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Arista.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Arista/ARISTABGP4V2MIB/Components/PeerSubsystem.pm (93%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Arista/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/BGP.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/BGP/Component/PeerSubsystem.pm (98%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Barracuda.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Barracuda/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Barracuda/Component/FwSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Barracuda/Component/HaSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Bintec.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Bintec/Bibo.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Bintec/Bibo/Components/CpuSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Bintec/Bibo/Components/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Bintec/Bibo/Components/MemSubsystem.pm (100%) create mode 100644 check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat.pm create mode 100644 check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat/AddressManager.pm create mode 100644 check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat/AddressManager/Component/HaSubsystem.pm create mode 100644 check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat/AddressManager/Component/MemSubsystem.pm create mode 100644 check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat/AddressManager/Component/MgmtSubsystem.pm create mode 100644 check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat/DnsDhcpServer.pm create mode 100644 check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat/DnsDhcpServer/Component/HaSubsystem.pm create mode 100644 check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat/DnsDhcpServer/Component/ProcessSubsystem.pm rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Bluecoat.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Brocade.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/CheckPoint.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/CheckPoint/Firewall1.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/CheckPoint/Firewall1/Component/CpuSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/CheckPoint/Firewall1/Component/DiskSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/CheckPoint/Firewall1/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/CheckPoint/Firewall1/Component/FanSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/CheckPoint/Firewall1/Component/FwSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/CheckPoint/Firewall1/Component/HaSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/CheckPoint/Firewall1/Component/MemSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/CheckPoint/Firewall1/Component/MngmtSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/CheckPoint/Firewall1/Component/PowersupplySubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/CheckPoint/Firewall1/Component/SvnSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/CheckPoint/Firewall1/Component/TemperatureSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/CheckPoint/Firewall1/Component/VoltageSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/CheckPoint/Firewall1/Component/VpnSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/CheckPoint/Gaia.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/CheckPoint/VSX.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/CheckPoint/VSX/Component/FwSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco.pm (86%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/ASA.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/AsyncOS.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/AsyncOS/Component/CpuSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/AsyncOS/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/AsyncOS/Component/FanSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/AsyncOS/Component/KeySubsystem.pm (100%) create mode 100644 check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/AsyncOS/Component/MemSubsystem.pm rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/AsyncOS/Component/PowersupplySubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/AsyncOS/Component/RaidSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/AsyncOS/Component/TemperatureSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/CCM.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/CCM/Component/CmSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/CCM/Component/PhoneSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/CISCOBGP4MIB/Components/PeerSubsystem.pm (96%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/CISCOEIGRPMIB/Components/PeerSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/CISCOENHANCEDMEMPOOLMIB/Component/MemSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/CISCOENTITYALARMMIB/Component/AlarmSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/FanSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/ModuleSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/PowersupplySubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/CISCOENTITYSENSORMIB/Component/SensorSubsystem.pm (99%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/FanSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/PowersupplySubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/TemperatureSubsystem.pm (96%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/VoltageSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/CISCOIPSECFLOWMONITOR/Component/VpnSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/CISCOMEMORYPOOLMIB/Component/MemSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/CISCOPORTSECURITYMIB/Component/InterfaceSubsystem.pm (100%) create mode 100644 check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOPROCESSMIB/Component/MemSubsystem.pm rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/CISCOREMOTEACCESSMONITORMIB/Component/VpnSubsystem.pm (100%) create mode 100644 check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOSMARTLICMIB/Component/KeySubsystem.pm rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/CISCOSTACKMIB/Component/StackSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/CISCOSTACKWISEMIB/Component/StackSubsystem.pm (94%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/IOS.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/IOS/Component/BgpSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/IOS/Component/ConfigSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/IOS/Component/ConnectionSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/IOS/Component/CpuSubsystem.pm (98%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/IOS/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/IOS/Component/HaSubsystem.pm (100%) create mode 100644 check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/IOS/Component/MemSubsystem.pm rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/IOS/Component/NatSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/NXOS.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/NXOS/Component/CpuSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/NXOS/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/NXOS/Component/FexSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/NXOS/Component/MemSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/OLDCISCOINTERFACESMIB/Component/InterfaceSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/PrimeNCS.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/SB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/SB/Component/CpuSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/SB/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/SB/Component/MemSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/UCOS.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/WLC.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/WLC/Component/CpuSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/WLC/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/WLC/Component/HaSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/WLC/Component/MemSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cisco/WLC/Component/WlanSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Clavister.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Clavister/Firewall1.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Clavister/Firewall1/Component/CpuSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Clavister/Firewall1/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Clavister/Firewall1/Component/MemSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Cumulus.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Device.pm (98%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/DrayTek.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/DrayTek/Vigor.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/DrayTek/Vigor/Component/CpuSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/DrayTek/Vigor/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/DrayTek/Vigor/Component/MemSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/ENTITYSENSORMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/ENTITYSENSORMIB/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Eltex.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Eltex/Access.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Eltex/Access/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Eltex/Aggregation.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Eltex/Aggregation/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Eltex/MES/Component/CpuSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Eltex/MES/Component/HaSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/F5.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/F5/F5BIGIP.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/F5/F5BIGIP/Component/ConfigSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/F5/F5BIGIP/Component/ConnectionSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/F5/F5BIGIP/Component/CpuSubsystem.pm (97%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/F5/F5BIGIP/Component/DiskSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/F5/F5BIGIP/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/F5/F5BIGIP/Component/FanSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/F5/F5BIGIP/Component/GTM.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/F5/F5BIGIP/Component/HaSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/F5/F5BIGIP/Component/LTM.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/F5/F5BIGIP/Component/MemSubsystem.pm (89%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/F5/F5BIGIP/Component/PowersupplySubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/F5/F5BIGIP/Component/TemperatureSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/F5/F5BIGIP/Component/VipSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/FCEOS.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/FCEOS/Components/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/FCEOS/Components/FruSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/FCMGMT.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/FCMGMT/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/FCMGMT/Component/SensorSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/FabOS.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/FabOS/Component/CpuSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/FabOS/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/FabOS/Component/InterfaceSubsystem.pm (58%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/FabOS/Component/MemSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/FabOS/Component/SensorSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Fortigate.pm (83%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Fortigate/Component/CpuSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Fortigate/Component/DiskSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Fortigate/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Fortigate/Component/HaSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Fortigate/Component/MemSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Fortigate/Component/SensorSubsystem.pm (100%) create mode 100644 check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Fortigate/Component/VpnSubsystem.pm rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Foundry.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Foundry/Component/CpuSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Foundry/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Foundry/Component/FanSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Foundry/Component/MemSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Foundry/Component/ModuleSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Foundry/Component/PowersupplySubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Foundry/Component/SLBSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Foundry/Component/TemperatureSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/HH3C.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/HH3C/Component/CpuSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/HH3C/Component/EntitySubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/HH3C/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/HH3C/Component/MemSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/HOSTRESOURCESMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/ClockSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/CpuSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/DeviceSubsystem.pm (62%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/DiskSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/MemSubsystem.pm (97%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/UptimeSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/HP.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/HP/Procurve.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/HP/Procurve/Component/CpuSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/HP/Procurve/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/HP/Procurve/Component/MemSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/HP/Procurve/Component/SensorSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/HSRP.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/HSRP/Component/HSRPSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Huawei.pm (57%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Huawei/CloudEngine.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Huawei/Component/CpuSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Huawei/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Huawei/Component/MemSubsystem.pm (94%) create mode 100644 check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Huawei/Component/PeerSubsystem.pm rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/IFMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/IFMIB/Component/InterfaceSubsystem.pm (71%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/IFMIB/Component/LinkAggregation.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/IFMIB/Component/StackSubsystem.pm (96%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/IPFORWARDMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/IPFORWARDMIB/Component/RoutingSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/IPMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/IPMIB/Component/RoutingSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Juniper.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Juniper/IVE.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Juniper/IVE/Component/CpuSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Juniper/IVE/Component/DiskSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Juniper/IVE/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Juniper/IVE/Component/MemSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Juniper/IVE/Component/UserSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Juniper/JunOS.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Juniper/JunOS/Component/BgpSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Juniper/NetScreen.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Juniper/NetScreen/Component/CpuSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Juniper/NetScreen/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Juniper/NetScreen/Component/MemSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Juniper/NetScreen/Component/VsdSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Juniper/SRX.pm (94%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Juniper/SRX/Component/CpuSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Juniper/SRX/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Juniper/SRX/Component/MemSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/LMSENSORSMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/LMSENSORSMIB/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/LMSENSORSMIB/Component/FanSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/LMSENSORSMIB/Component/TemperatureSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Lancom.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Lancom/Component/CpuSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Lancom/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Lancom/Component/MemSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Lantronix.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Lantronix/SLS.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/MEOS.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Netgear.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Nortel.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Nortel/S5.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Nortel/S5/Component/CpuSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Nortel/S5/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Nortel/S5/Component/MemSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/OSPF.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/OSPF/Component/NeighborSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/OneOS.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/OneOS/Component/CpuSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/OneOS/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/OneOS/Component/MemSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/PaloAlto.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/PaloAlto/Component/CpuSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/PaloAlto/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/PaloAlto/Component/HaSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/PaloAlto/Component/MemSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/PaloAlto/Component/SessionSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/RAPIDCITYMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/RAPIDCITYMIB/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/RAPIDCITYMIB/Component/FanSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/RAPIDCITYMIB/Component/PowersupplySubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/RAPIDCITYMIB/Component/TemperatureSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Riverbed.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Riverbed/Steelhead.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Riverbed/Steelhead/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Riverbed/SteelheadEX/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/SGOS.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/SGOS/Component/ConnectionSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/SGOS/Component/CpuSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/SGOS/Component/DiskSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/SGOS/Component/EnvironmentalSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/SGOS/Component/MemSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/SGOS/Component/SecuritySubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/SGOS/Component/SensorSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/SecureOS.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Server/Linux.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Server/Linux/Component/CpuSubsystem.pm (100%) create mode 100644 check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Server/Linux/Component/EnvironmentalSubsystem.pm rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Server/Linux/Component/MemSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Server/LinuxLocal.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Server/SolarisLocal.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/Server/WindowsLocal.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/UCDMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/UCDMIB/Components/CpuSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/UCDMIB/Components/DiskSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/UCDMIB/Components/LoadSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/UCDMIB/Components/MemSubsystem.pm (77%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/UCDMIB/Components/ProcessSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/UCDMIB/Components/SwapSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/UPNP.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/UPNP/AVM.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/UPNP/AVM/FritzBox7390.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/UPNP/AVM/FritzBox7390/Components/InterfaceSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/UPNP/AVM/FritzBox7390/Components/SmartHomeSubsystem.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/VRRPMIB.pm (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Classes/VRRPMIB/Component/VRRPSubsystem.pm (100%) create mode 100644 check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Vormetric.pm create mode 100644 check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Vormetric/Component/CpuSubsystem.pm create mode 100644 check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Vormetric/Component/DiskSubsystem.pm create mode 100644 check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Vormetric/Component/EnvironmentalSubsystem.pm create mode 100644 check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Vormetric/Component/MemSubsystem.pm rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Makefile.am (94%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/Makefile.in (95%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/check_nwc_health.pl (100%) rename check_nwc_health/{check_nwc_health-7.12.1.3 => check_nwc_health-8.4}/plugins-scripts/subst.in (95%) diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPROCESSMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPROCESSMIB.pm deleted file mode 100644 index 768df2f..0000000 --- a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPROCESSMIB.pm +++ /dev/null @@ -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__ diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VRRPMIB.pm b/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VRRPMIB.pm deleted file mode 100644 index ddbdbf3..0000000 --- a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VRRPMIB.pm +++ /dev/null @@ -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; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/MemSubsystem.pm deleted file mode 100644 index 3902792..0000000 --- a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/MemSubsystem.pm +++ /dev/null @@ -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 => '%', - ); -} - diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/MemSubsystem.pm deleted file mode 100644 index 4a76e8b..0000000 --- a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/MemSubsystem.pm +++ /dev/null @@ -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"); - } -} - diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/Linux/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/Linux/Component/EnvironmentalSubsystem.pm deleted file mode 100644 index d541bfe..0000000 --- a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/Linux/Component/EnvironmentalSubsystem.pm +++ /dev/null @@ -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; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/AUTHORS b/check_nwc_health/check_nwc_health-8.4/AUTHORS similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/AUTHORS rename to check_nwc_health/check_nwc_health-8.4/AUTHORS diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/COPYING b/check_nwc_health/check_nwc_health-8.4/COPYING similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/COPYING rename to check_nwc_health/check_nwc_health-8.4/COPYING diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/ChangeLog b/check_nwc_health/check_nwc_health-8.4/ChangeLog similarity index 92% rename from check_nwc_health/check_nwc_health-7.12.1.3/ChangeLog rename to check_nwc_health/check_nwc_health-8.4/ChangeLog index 79b2f97..f008aef 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/ChangeLog +++ b/check_nwc_health/check_nwc_health-8.4/ChangeLog @@ -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 diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin.pm similarity index 99% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin.pm index 8407c9a..aa092a6 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin.pm +++ b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin.pm @@ -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} : "", $laststate->{exception} + 1); diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/Commandline.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/Commandline.pm similarity index 97% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/Commandline.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/Commandline.pm index a8ddfe4..99a6591 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/Commandline.pm +++ b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/Commandline.pm @@ -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}; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/Commandline/Extraopts.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/Commandline/Extraopts.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/Commandline/Extraopts.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/Commandline/Extraopts.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/Commandline/Getopt.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/Commandline/Getopt.pm similarity index 87% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/Commandline/Getopt.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/Commandline/Getopt.pm index c395cb3..158a8fc 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/Commandline/Getopt.pm +++ b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/Commandline/Getopt.pm @@ -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{$_}; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/Item.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/Item.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/Item.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/Item.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP.pm similarity index 97% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP.pm index 5b85f8f..adddc3c 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP.pm +++ b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP.pm @@ -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() { # 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}); } diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/CSF.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/CSF.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/CSF.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/CSF.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/Item.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/Item.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/Item.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/Item.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids.pm diff --git a/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADONISDNSMIBMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADONISDNSMIBMIB.pm new file mode 100644 index 0000000..aa51ea2 --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADONISDNSMIBMIB.pm @@ -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 --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADSLLINEMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADSLLINEMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADSLLINEMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADSLLINEMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/AIRESPACESWITCHINGMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/AIRESPACESWITCHINGMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/AIRESPACESWITCHINGMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/AIRESPACESWITCHINGMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/AIRESPACEWIRELESSMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/AIRESPACEWIRELESSMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/AIRESPACEWIRELESSMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/AIRESPACEWIRELESSMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ALARMMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ALARMMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ALARMMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ALARMMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ALCATELIND1BASEMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ALCATELIND1BASEMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ALCATELIND1BASEMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ALCATELIND1BASEMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARISTABGP4V2MIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARISTABGP4V2MIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARISTABGP4V2MIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARISTABGP4V2MIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARISTAENTITYSENSORMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARISTAENTITYSENSORMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARISTAENTITYSENSORMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARISTAENTITYSENSORMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBATCMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBATCMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBATCMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ARUBATCMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ASYNCOSMAILMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ASYNCOSMAILMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ASYNCOSMAILMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ASYNCOSMAILMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ATTACKMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ATTACKMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ATTACKMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ATTACKMIB.pm diff --git a/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BAMSNMPMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BAMSNMPMIB.pm new file mode 100644 index 0000000..acc0369 --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BAMSNMPMIB.pm @@ -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 --git a/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDHCPV4MIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDHCPV4MIB.pm new file mode 100644 index 0000000..34455f4 --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDHCPV4MIB.pm @@ -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 --git a/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDNSMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDNSMIB.pm new file mode 100644 index 0000000..e596f63 --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNDNSMIB.pm @@ -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 --git a/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNSYSTEMMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNSYSTEMMIB.pm new file mode 100644 index 0000000..513434e --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BCNSYSTEMMIB.pm @@ -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 --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BGP4MIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BGP4MIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BGP4MIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BGP4MIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BIANCABRICKMIBRESMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BIANCABRICKMIBRESMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BIANCABRICKMIBRESMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BIANCABRICKMIBRESMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BLUECOATAVMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BLUECOATAVMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BLUECOATAVMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BLUECOATAVMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BLUECOATSGPROXYMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BLUECOATSGPROXYMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BLUECOATSGPROXYMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/BLUECOATSGPROXYMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CHECKPOINTMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CHECKPOINTMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CHECKPOINTMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CHECKPOINTMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOBGP4MIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOBGP4MIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOBGP4MIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOBGP4MIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOCCMMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOCCMMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOCCMMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOCCMMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOCONFIGMANMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOCONFIGMANMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOCONFIGMANMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOCONFIGMANMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOEIGRPMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOEIGRPMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOEIGRPMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOEIGRPMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENHANCEDMEMPOOLMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENHANCEDMEMPOOLMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENHANCEDMEMPOOLMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENHANCEDMEMPOOLMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYALARMMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYALARMMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYALARMMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYALARMMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYFRUCONTROLMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYFRUCONTROLMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYFRUCONTROLMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYFRUCONTROLMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYSENSORMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYSENSORMIB.pm similarity index 80% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYSENSORMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYSENSORMIB.pm index 04d3728..f56ff11 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYSENSORMIB.pm +++ b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENTITYSENSORMIB.pm @@ -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; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENVMONMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENVMONMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENVMONMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOENVMONMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOETHERNETFABRICEXTENDERMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOETHERNETFABRICEXTENDERMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOETHERNETFABRICEXTENDERMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOETHERNETFABRICEXTENDERMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOFEATURECONTROLMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOFEATURECONTROLMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOFEATURECONTROLMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOFEATURECONTROLMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOFIREWALLMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOFIREWALLMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOFIREWALLMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOFIREWALLMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOHSRPMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOHSRPMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOHSRPMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOHSRPMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOIETFNATMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOIETFNATMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOIETFNATMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOIETFNATMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOIPSECFLOWMONITORMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOIPSECFLOWMONITORMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOIPSECFLOWMONITORMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOIPSECFLOWMONITORMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOL2L3INTERFACECONFIGMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOL2L3INTERFACECONFIGMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOL2L3INTERFACECONFIGMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOL2L3INTERFACECONFIGMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPAPMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPAPMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPAPMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPAPMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPHAMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPHAMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPHAMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOLWAPPHAMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOMEMORYPOOLMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOMEMORYPOOLMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOMEMORYPOOLMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOMEMORYPOOLMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPORTCHANNELMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPORTCHANNELMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPORTCHANNELMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPORTCHANNELMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPORTSECURITYMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPORTSECURITYMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPORTSECURITYMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPORTSECURITYMIB.pm diff --git a/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPROCESSMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPROCESSMIB.pm new file mode 100644 index 0000000..ed331f4 --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOPROCESSMIB.pm @@ -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', + }, +}; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOREMOTEACCESSMONITORMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOREMOTEACCESSMONITORMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOREMOTEACCESSMONITORMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOREMOTEACCESSMONITORMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBHWENVIROMENTMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBHWENVIROMENTMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBHWENVIROMENTMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBHWENVIROMENTMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBRNDMNGMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBRNDMNGMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBRNDMNGMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBRNDMNGMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBSYSMNGMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBSYSMNGMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBSYSMNGMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBSYSMNGMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBTUNINGMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBTUNINGMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBTUNINGMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBTUNINGMIB.pm diff --git a/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSMARTLICMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSMARTLICMIB.pm new file mode 100644 index 0000000..6fe8cce --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSMARTLICMIB.pm @@ -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', + }, +}; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSTACKMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSTACKMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSTACKMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSTACKMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSTACKWISEMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSTACKWISEMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSTACKWISEMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSTACKWISEMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSYSTEMEXTMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSYSTEMEXTMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSYSTEMEXTMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSYSTEMEXTMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOVTPMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOVTPMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOVTPMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOVTPMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CLAVISTERMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CLAVISTERMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CLAVISTERMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CLAVISTERMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/DISKMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/DISKMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/DISKMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/DISKMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ELTEXMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ELTEXMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ELTEXMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ELTEXMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYSENSORMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYSENSORMIB.pm similarity index 70% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYSENSORMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYSENSORMIB.pm index 8b9af45..b6b989d 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYSENSORMIB.pm +++ b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYSENSORMIB.pm @@ -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; + } + }, }; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYSTATEMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYSTATEMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYSTATEMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ENTITYSTATEMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ETHERLIKEMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ETHERLIKEMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ETHERLIKEMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ETHERLIKEMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPAPMMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPAPMMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPAPMMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPAPMMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPGLOBALMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPGLOBALMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPGLOBALMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPGLOBALMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPLOCALMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPLOCALMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPLOCALMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPLOCALMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPSYSTEMMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPSYSTEMMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPSYSTEMMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPSYSTEMMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FCEOSMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FCEOSMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FCEOSMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FCEOSMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FCMGMTMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FCMGMTMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FCMGMTMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FCMGMTMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FIBRECHANNELFEMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FIBRECHANNELFEMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FIBRECHANNELFEMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FIBRECHANNELFEMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FORTINETCOREMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FORTINETCOREMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FORTINETCOREMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FORTINETCOREMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FORTINETFORTIGATEMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FORTINETFORTIGATEMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FORTINETFORTIGATEMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FORTINETFORTIGATEMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FOUNDRYSNAGENTMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FOUNDRYSNAGENTMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FOUNDRYSNAGENTMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FOUNDRYSNAGENTMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FOUNDRYSNSWL4SWITCHGROUPMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FOUNDRYSNSWL4SWITCHGROUPMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FOUNDRYSNSWL4SWITCHGROUPMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FOUNDRYSNSWL4SWITCHGROUPMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/GENUAMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/GENUAMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/GENUAMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/GENUAMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HH3CENTITYEXTMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HH3CENTITYEXTMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HH3CENTITYEXTMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HH3CENTITYEXTMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HOSTRESOURCESMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HOSTRESOURCESMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HOSTRESOURCESMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HOSTRESOURCESMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HPICFCHASSIS.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HPICFCHASSIS.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HPICFCHASSIS.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HPICFCHASSIS.pm diff --git a/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIBGPVPNMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIBGPVPNMIB.pm new file mode 100644 index 0000000..6b66435 --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIBGPVPNMIB.pm @@ -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', + }, +}; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIENTITYEXTENTMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIENTITYEXTENTMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIENTITYEXTENTMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIENTITYEXTENTMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IANAIFTYPEMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IANAIFTYPEMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IANAIFTYPEMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IANAIFTYPEMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IANARTPROTOMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IANARTPROTOMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IANARTPROTOMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IANARTPROTOMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IEEE8023LAGMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IEEE8023LAGMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IEEE8023LAGMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IEEE8023LAGMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IFMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IFMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IFMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IFMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/INETADDRESSMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/INETADDRESSMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/INETADDRESSMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/INETADDRESSMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IPFORWARDMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IPFORWARDMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IPFORWARDMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IPFORWARDMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IPMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IPMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IPMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/IPMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERALARMMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERALARMMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERALARMMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERALARMMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERIVEMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERIVEMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERIVEMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERIVEMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERRPSMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERRPSMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERRPSMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERRPSMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERSRX5000SPUMONITORINGMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERSRX5000SPUMONITORINGMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERSRX5000SPUMONITORINGMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNIPERSRX5000SPUMONITORINGMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNOSBGP4V2MIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNOSBGP4V2MIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNOSBGP4V2MIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/JUNOSBGP4V2MIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LARAMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LARAMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LARAMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LARAMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LCOSMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LCOSMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LCOSMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LCOSMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LMSENSORSMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LMSENSORSMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LMSENSORSMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LMSENSORSMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LOADBALSYSTEMMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LOADBALSYSTEMMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LOADBALSYSTEMMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LOADBALSYSTEMMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MIB2MIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MIB2MIB.pm similarity index 97% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MIB2MIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MIB2MIB.pm index 4a4c47e..1cdd37b 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MIB2MIB.pm +++ b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MIB2MIB.pm @@ -77,6 +77,11 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'MIB-2-MIB'} = { $dirutc, $hoursutc, $minutesutc) = unpack "C*", pack "H*", $value; $minutesutc ||= 0; $dirutc = ($dirutc == 43) ? "+" : ($dirutc == 45) ? "-" : "+"; + if ($value eq "000000000000000000") { + $day = 1; + $month = 1; + $year = 1970; + } } else { ($month, $day, $hour, $minute, $second, $dseconds) = unpack "C*", pack "H*", $value; $second ||= 0; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MINIIFMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MINIIFMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MINIIFMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MINIIFMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETGEARMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETGEARMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETGEARMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETGEARMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENCHASSISMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENCHASSISMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENCHASSISMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENCHASSISMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENNSRPMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENNSRPMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENNSRPMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENNSRPMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENPRODUCTSMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENPRODUCTSMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENPRODUCTSMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENPRODUCTSMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENRESOURCEMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENRESOURCEMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENRESOURCEMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSCREENRESOURCEMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSWITCHMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSWITCHMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSWITCHMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETSWITCHMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDCISCOCPUMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDCISCOCPUMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDCISCOCPUMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDCISCOCPUMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDCISCOINTERFACESMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDCISCOINTERFACESMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDCISCOINTERFACESMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDCISCOINTERFACESMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDNETSWITCHMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDNETSWITCHMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDNETSWITCHMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDNETSWITCHMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDSTATISTICSMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDSTATISTICSMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDSTATISTICSMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OLDSTATISTICSMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ONEACCESSSYSMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ONEACCESSSYSMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ONEACCESSSYSMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ONEACCESSSYSMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDCARPMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDCARPMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDCARPMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDCARPMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDMEMMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDMEMMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDMEMMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDMEMMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDPFMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDPFMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDPFMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDPFMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDSENSORSMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDSENSORSMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDSENSORSMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OPENBSDSENSORSMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OSPFMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OSPFMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OSPFMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OSPFMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OSPFV3MIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OSPFV3MIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OSPFV3MIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/OSPFV3MIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PANCOMMONMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PANCOMMONMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PANCOMMONMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PANCOMMONMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PANPRODUCTSMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PANPRODUCTSMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PANPRODUCTSMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PANPRODUCTSMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PHIONMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PHIONMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PHIONMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PHIONMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PROXYMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PROXYMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PROXYMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/PROXYMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RAPIDCITYMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RAPIDCITYMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RAPIDCITYMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RAPIDCITYMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RESOURCEMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RESOURCEMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RESOURCEMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RESOURCEMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RMONMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RMONMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RMONMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/RMONMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/S5CHASSISMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/S5CHASSISMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/S5CHASSISMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/S5CHASSISMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SENSORMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SENSORMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SENSORMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SENSORMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SNMPFRAMEWORKMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SNMPFRAMEWORKMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SNMPFRAMEWORKMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SNMPFRAMEWORKMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SNMPV2TCV1MIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SNMPV2TCV1MIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SNMPV2TCV1MIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SNMPV2TCV1MIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STATISTICSMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STATISTICSMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STATISTICSMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STATISTICSMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STEELHEADEXMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STEELHEADEXMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STEELHEADEXMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STEELHEADEXMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STEELHEADMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STEELHEADMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STEELHEADMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/STEELHEADMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SWMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SWMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SWMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SWMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SYNOPTICSROOTMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SYNOPTICSROOTMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SYNOPTICSROOTMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SYNOPTICSROOTMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SYSTEMRESOURCESMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SYSTEMRESOURCESMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SYSTEMRESOURCESMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SYSTEMRESOURCESMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UCDDISKIOMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UCDDISKIOMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UCDDISKIOMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UCDDISKIOMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UCDSNMPMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UCDSNMPMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UCDSNMPMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UCDSNMPMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/USAGEMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/USAGEMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/USAGEMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/USAGEMIB.pm diff --git a/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VORMETRICMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VORMETRICMIB.pm new file mode 100644 index 0000000..c581756 --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VORMETRICMIB.pm @@ -0,0 +1,24 @@ +package Monitoring::GLPlugin::SNMP::MibsAndOids::VORMETRICMIB; + +$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'VORMETRIC-MIB'} = { + url => '', + name => 'VORMETRIC-MIB', +}; + +$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'VORMETRIC-MIB'} = + '1.3.6.1.4.1.21513.1'; + +$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'VORMETRIC-MIB'} = { + 'vormetric' => '1.3.6.1.4.1.21513', + 'version' => '1.3.6.1.4.1.21513.1', + 'fingerPrint' => '1.3.6.1.4.1.21513.2', + 'serverTime' => '1.3.6.1.4.1.21513.3', + 'licenses' => '1.3.6.1.4.1.21513.5', + 'serverHA' => '1.3.6.1.4.1.21513.6', + 'diskUsage' => '1.3.6.1.4.1.21513.7', + 'vmstat' => '1.3.6.1.4.1.21513.8', +}; + +$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'VORMETRIC-MIB'} = { +}; + diff --git a/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VRRPMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VRRPMIB.pm new file mode 100644 index 0000000..55ba6df --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VRRPMIB.pm @@ -0,0 +1,106 @@ +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; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/WLSXSYSTEMEXTMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/WLSXSYSTEMEXTMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/WLSXSYSTEMEXTMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/WLSXSYSTEMEXTMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/WLSXWLANMIB.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/WLSXWLANMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/WLSXWLANMIB.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/WLSXWLANMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/TableItem.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/TableItem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP/TableItem.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/SNMP/TableItem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/TableItem.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/TableItem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/TableItem.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/TableItem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/UPNP.pm b/check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/UPNP.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/UPNP.pm rename to check_nwc_health/check_nwc_health-8.4/GLPlugin/lib/Monitoring/GLPlugin/UPNP.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/INSTALL b/check_nwc_health/check_nwc_health-8.4/INSTALL similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/INSTALL rename to check_nwc_health/check_nwc_health-8.4/INSTALL diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/Makefile.am b/check_nwc_health/check_nwc_health-8.4/Makefile.am similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/Makefile.am rename to check_nwc_health/check_nwc_health-8.4/Makefile.am diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/Makefile.in b/check_nwc_health/check_nwc_health-8.4/Makefile.in similarity index 98% rename from check_nwc_health/check_nwc_health-7.12.1.3/Makefile.in rename to check_nwc_health/check_nwc_health-8.4/Makefile.in index 505dd52..5607017 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/Makefile.in +++ b/check_nwc_health/check_nwc_health-8.4/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15.1 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2017 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -134,7 +134,7 @@ am__recursive_targets = \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ - cscope distdir dist dist-all distcheck + cscope distdir distdir-am dist dist-all distcheck am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is @@ -318,8 +318,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) @@ -437,7 +437,10 @@ distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f cscope.out cscope.in.out cscope.po.out cscope.files -distdir: $(DISTFILES) +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) $(am__remove_distdir) test -d "$(distdir)" || mkdir "$(distdir)" @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/NEWS b/check_nwc_health/check_nwc_health-8.4/NEWS similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/NEWS rename to check_nwc_health/check_nwc_health-8.4/NEWS diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/README b/check_nwc_health/check_nwc_health-8.4/README similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/README rename to check_nwc_health/check_nwc_health-8.4/README diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/THANKS b/check_nwc_health/check_nwc_health-8.4/THANKS similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/THANKS rename to check_nwc_health/check_nwc_health-8.4/THANKS diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/TODO b/check_nwc_health/check_nwc_health-8.4/TODO similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/TODO rename to check_nwc_health/check_nwc_health-8.4/TODO diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/acinclude.m4 b/check_nwc_health/check_nwc_health-8.4/acinclude.m4 similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/acinclude.m4 rename to check_nwc_health/check_nwc_health-8.4/acinclude.m4 diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/aclocal.m4 b/check_nwc_health/check_nwc_health-8.4/aclocal.m4 similarity index 95% rename from check_nwc_health/check_nwc_health-7.12.1.3/aclocal.m4 rename to check_nwc_health/check_nwc_health-8.4/aclocal.m4 index fbc407b..4f9aded 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/aclocal.m4 +++ b/check_nwc_health/check_nwc_health-8.4/aclocal.m4 @@ -1,6 +1,6 @@ -# generated automatically by aclocal 1.15.1 -*- Autoconf -*- +# generated automatically by aclocal 1.16.1 -*- Autoconf -*- -# Copyright (C) 1996-2017 Free Software Foundation, Inc. +# Copyright (C) 1996-2018 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -20,7 +20,7 @@ You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) -# Copyright (C) 2002-2017 Free Software Foundation, Inc. +# Copyright (C) 2002-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -32,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.]) # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], -[am__api_version='1.15' +[am__api_version='1.16' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.15.1], [], +m4_if([$1], [1.16.1], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) @@ -51,14 +51,14 @@ m4_define([_AM_AUTOCONF_VERSION], []) # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.15.1])dnl +[AM_AUTOMAKE_VERSION([1.16.1])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- -# Copyright (C) 2001-2017 Free Software Foundation, Inc. +# Copyright (C) 2001-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -110,7 +110,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd` # AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997-2017 Free Software Foundation, Inc. +# Copyright (C) 1997-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -143,7 +143,7 @@ fi])]) # Do all the work for Automake. -*- Autoconf -*- -# Copyright (C) 1996-2017 Free Software Foundation, Inc. +# Copyright (C) 1996-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -230,8 +230,8 @@ AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: -# -# +# +# AC_SUBST([mkdir_p], ['$(MKDIR_P)']) # We need awk for the "check" target (and possibly the TAP driver). The # system "awk" is bad on some platforms. @@ -298,7 +298,7 @@ END Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation -that behaves properly: . +that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM @@ -340,7 +340,7 @@ for _am_header in $config_headers :; do done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) -# Copyright (C) 2001-2017 Free Software Foundation, Inc. +# Copyright (C) 2001-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -361,7 +361,7 @@ if test x"${install_sh+set}" != xset; then fi AC_SUBST([install_sh])]) -# Copyright (C) 2003-2017 Free Software Foundation, Inc. +# Copyright (C) 2003-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -383,7 +383,7 @@ AC_SUBST([am__leading_dot])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering -# Copyright (C) 1996-2017 Free Software Foundation, Inc. +# Copyright (C) 1996-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -418,7 +418,7 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -# Copyright (C) 1997-2017 Free Software Foundation, Inc. +# Copyright (C) 1997-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -457,7 +457,7 @@ fi # Helper functions for option handling. -*- Autoconf -*- -# Copyright (C) 2001-2017 Free Software Foundation, Inc. +# Copyright (C) 2001-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -486,7 +486,7 @@ AC_DEFUN([_AM_SET_OPTIONS], AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) -# Copyright (C) 2001-2017 Free Software Foundation, Inc. +# Copyright (C) 2001-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -505,7 +505,7 @@ AC_DEFUN([AM_RUN_LOG], # Check to make sure that the build environment is sane. -*- Autoconf -*- -# Copyright (C) 1996-2017 Free Software Foundation, Inc. +# Copyright (C) 1996-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -586,7 +586,7 @@ AC_CONFIG_COMMANDS_PRE( rm -f conftest.file ]) -# Copyright (C) 2009-2017 Free Software Foundation, Inc. +# Copyright (C) 2009-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -646,7 +646,7 @@ AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) -# Copyright (C) 2001-2017 Free Software Foundation, Inc. +# Copyright (C) 2001-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -674,7 +674,7 @@ fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# Copyright (C) 2006-2017 Free Software Foundation, Inc. +# Copyright (C) 2006-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -693,7 +693,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- -# Copyright (C) 2004-2017 Free Software Foundation, Inc. +# Copyright (C) 2004-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/config.guess b/check_nwc_health/check_nwc_health-8.4/config.guess similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/config.guess rename to check_nwc_health/check_nwc_health-8.4/config.guess diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/config.sub b/check_nwc_health/check_nwc_health-8.4/config.sub similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/config.sub rename to check_nwc_health/check_nwc_health-8.4/config.sub diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/configure b/check_nwc_health/check_nwc_health-8.4/configure similarity index 99% rename from check_nwc_health/check_nwc_health-7.12.1.3/configure rename to check_nwc_health/check_nwc_health-8.4/configure index 8f8b43d..232e0d7 100755 --- a/check_nwc_health/check_nwc_health-7.12.1.3/configure +++ b/check_nwc_health/check_nwc_health-8.4/configure @@ -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 7.12.1.3. +# Generated by GNU Autoconf 2.69 for check_nwc_health 8.4. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -577,8 +577,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='check_nwc_health' PACKAGE_TARNAME='check_nwc_health' -PACKAGE_VERSION='7.12.1.3' -PACKAGE_STRING='check_nwc_health 7.12.1.3' +PACKAGE_VERSION='8.4' +PACKAGE_STRING='check_nwc_health 8.4' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1236,7 +1236,7 @@ if test "$ac_init_help" = "long"; then # 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 7.12.1.3 to adapt to many kinds of systems. +\`configure' configures check_nwc_health 8.4 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1308,7 +1308,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of check_nwc_health 7.12.1.3:";; + short | recursive ) echo "Configuration of check_nwc_health 8.4:";; esac cat <<\_ACEOF @@ -1393,7 +1393,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -check_nwc_health configure 7.12.1.3 +check_nwc_health configure 8.4 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1410,7 +1410,7 @@ cat >config.log <<_ACEOF 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 7.12.1.3, which was +It was created by check_nwc_health $as_me 8.4, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -1758,7 +1758,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu -am__api_version='1.15' +am__api_version='1.16' ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do @@ -2273,7 +2273,7 @@ fi # Define the identity of the package. PACKAGE='check_nwc_health' - VERSION='7.12.1.3' + VERSION='8.4' cat >>confdefs.h <<_ACEOF @@ -2303,8 +2303,8 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: -# -# +# +# mkdir_p='$(MKDIR_P)' # We need awk for the "check" target (and possibly the TAP driver). The @@ -2440,7 +2440,7 @@ END Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation -that behaves properly: . +that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM @@ -3324,7 +3324,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # 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 7.12.1.3, which was +This file was extended by check_nwc_health $as_me 8.4, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -3377,7 +3377,7 @@ _ACEOF 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 7.12.1.3 +check_nwc_health config.status 8.4 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/configure.ac b/check_nwc_health/check_nwc_health-8.4/configure.ac similarity index 98% rename from check_nwc_health/check_nwc_health-7.12.1.3/configure.ac rename to check_nwc_health/check_nwc_health-8.4/configure.ac index 9d70e98..cbb99b3 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/configure.ac +++ b/check_nwc_health/check_nwc_health-8.4/configure.ac @@ -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,7.12.1.3) +AC_INIT(check_nwc_health,8.4) AM_INIT_AUTOMAKE([1.9 tar-pax]) AM_MAINTAINER_MODE([disable]) AC_CANONICAL_HOST diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/install-sh b/check_nwc_health/check_nwc_health-8.4/install-sh similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/install-sh rename to check_nwc_health/check_nwc_health-8.4/install-sh diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/missing b/check_nwc_health/check_nwc_health-8.4/missing similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/missing rename to check_nwc_health/check_nwc_health-8.4/missing diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/ALARMMIB/Component/AlarmSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/ALARMMIB/Component/AlarmSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/ALARMMIB/Component/AlarmSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/ALARMMIB/Component/AlarmSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/AVOS.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/AVOS.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS/Component/ConnectionSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/AVOS/Component/ConnectionSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS/Component/ConnectionSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/AVOS/Component/ConnectionSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/AVOS/Component/CpuSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/AVOS/Component/CpuSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS/Component/KeySubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/AVOS/Component/KeySubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS/Component/KeySubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/AVOS/Component/KeySubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/AVOS/Component/MemSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/AVOS/Component/MemSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS/Component/SecuritySubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/AVOS/Component/SecuritySubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AVOS/Component/SecuritySubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/AVOS/Component/SecuritySubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Alcatel.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Alcatel.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Alcatel/OmniAccess.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Alcatel/OmniAccess.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Alcatel/OmniAccess/Component/CpuSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Alcatel/OmniAccess/Component/CpuSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Alcatel/OmniAccess/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Alcatel/OmniAccess/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/FanSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Alcatel/OmniAccess/Component/FanSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/FanSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Alcatel/OmniAccess/Component/FanSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/HaSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Alcatel/OmniAccess/Component/HaSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/HaSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Alcatel/OmniAccess/Component/HaSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Alcatel/OmniAccess/Component/MemSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Alcatel/OmniAccess/Component/MemSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/PowersupplySubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Alcatel/OmniAccess/Component/PowersupplySubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/PowersupplySubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Alcatel/OmniAccess/Component/PowersupplySubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/StorageSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Alcatel/OmniAccess/Component/StorageSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/StorageSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Alcatel/OmniAccess/Component/StorageSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/WlanSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Alcatel/OmniAccess/Component/WlanSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Alcatel/OmniAccess/Component/WlanSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Alcatel/OmniAccess/Component/WlanSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AlliedTelesyn.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/AlliedTelesyn.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/AlliedTelesyn.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/AlliedTelesyn.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Arista.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Arista.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Arista.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Arista.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Arista/ARISTABGP4V2MIB/Components/PeerSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Arista/ARISTABGP4V2MIB/Components/PeerSubsystem.pm similarity index 93% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Arista/ARISTABGP4V2MIB/Components/PeerSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Arista/ARISTABGP4V2MIB/Components/PeerSubsystem.pm index 607b164..6f6e022 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Arista/ARISTABGP4V2MIB/Components/PeerSubsystem.pm +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Arista/ARISTABGP4V2MIB/Components/PeerSubsystem.pm @@ -189,7 +189,7 @@ sub check { 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}), @@ -235,8 +235,13 @@ sub finish { ##$self->{aristaBgp4V2PeerLocalAddr} = $self->mibs_and_oids_definition( ## 'INET-ADDRESS-MIB', 'InetAddress', ## $self->{aristaBgp4V2PeerLocalAddr}, $self->{aristaBgp4V2PeerType}) if $self->{aristaBgp4V2PeerLocalAddr}; - $self->{aristaBgp4V2PeerLocalAddr} = "999.999.999.999" if ! $self->{aristaBgp4V2PeerLocalAddr}; - + # save a valid localaddr and reuse it if empty, works for 5 attempts + $self->protect_value("localaddr_".$self->{aristaBgp4V2PeerRemoteAddr}, + "aristaBgp4V2PeerLocalAddr", sub { + my $value = shift; + return $value ? 1 : 0; + }); + $self->{aristaBgp4V2PeerLocalAddr} = "=empty=" if ! $self->{aristaBgp4V2PeerLocalAddr}; $self->{aristaBgp4V2PeerLastError} |= "00 00"; my $errorcode = 0; my $subcode = 0; @@ -284,8 +289,11 @@ sub check { $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,14 +307,15 @@ sub check { $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)", + sprintf "peer %s (AS%s) state is %s (last error: %s, local address: %s)", $self->{aristaBgp4V2PeerRemoteAddr}, $self->{aristaBgp4V2PeerRemoteAs}.$self->{aristaBgp4V2PeerRemoteAsName}, $self->{aristaBgp4V2PeerState}, - $self->{aristaBgp4V2PeerLastError}||"no error" + $self->{aristaBgp4V2PeerLastError}||"no error", + $self->{aristaBgp4V2PeerLocalAddr} ); $self->{aristaBgp4V2PeerFaulty} = $self->{aristaBgp4V2PeerRemoteAsImportant} ? 1 : 0; } diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Arista/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Arista/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Arista/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Arista/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/BGP.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/BGP.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/BGP.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/BGP.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/BGP/Component/PeerSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/BGP/Component/PeerSubsystem.pm similarity index 98% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/BGP/Component/PeerSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/BGP/Component/PeerSubsystem.pm index 9615014..7b5f4dd 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/BGP/Component/PeerSubsystem.pm +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/BGP/Component/PeerSubsystem.pm @@ -57,6 +57,7 @@ our $errorcodes = { sub init { my ($self) = @_; $self->{peers} = []; + $self->bulk_is_baeh(10); if ($self->mode =~ /device::bgp::peer::(list|count|watch)/) { $self->update_entry_cache(1, 'BGP4-MIB', 'bgpPeerTable', 'bgpPeerRemoteAddr'); } @@ -270,6 +271,7 @@ sub check { # bgpPeerLastError may be undef, at least under the following circumstances # bgpPeerRemoteAsName is "", bgpPeerAdminStatus is "start", # bgpPeerState is "active" + # https://community.cisco.com/t5/routing/confirm-quot-active-quot-meaning-in-bgp/td-p/1391629 $self->add_message($self->{bgpPeerRemoteAsImportant} ? CRITICAL : OK, sprintf "peer %s (AS%s) state is %s (last error: %s)", $self->{bgpPeerRemoteAddr}, diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Barracuda.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Barracuda.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Barracuda.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Barracuda.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Barracuda/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Barracuda/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Barracuda/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Barracuda/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Barracuda/Component/FwSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Barracuda/Component/FwSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Barracuda/Component/FwSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Barracuda/Component/FwSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Barracuda/Component/HaSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Barracuda/Component/HaSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Barracuda/Component/HaSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Barracuda/Component/HaSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bintec.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bintec.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bintec.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bintec.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bintec/Bibo.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bintec/Bibo.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bintec/Bibo.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bintec/Bibo.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bintec/Bibo/Components/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bintec/Bibo/Components/CpuSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bintec/Bibo/Components/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bintec/Bibo/Components/CpuSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bintec/Bibo/Components/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bintec/Bibo/Components/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bintec/Bibo/Components/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bintec/Bibo/Components/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bintec/Bibo/Components/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bintec/Bibo/Components/MemSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bintec/Bibo/Components/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bintec/Bibo/Components/MemSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat.pm new file mode 100644 index 0000000..9f721a3 --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat.pm @@ -0,0 +1,18 @@ +package Classes::Bluecat; +our @ISA = qw(Classes::Device); +use strict; + +sub init { + my ($self) = @_; + if ($self->{productname} =~ /Bluecat Address Manager/) { + $self->rebless('Classes::Bluecat::AddressManager'); + } elsif ($self->{productname} =~ /Bluecat DNS\/DHCP Server/) { + $self->rebless('Classes::Bluecat::DnsDhcpServer'); + } + if (ref($self) ne "Classes::Bluecat") { + $self->init(); + } else { + $self->no_such_mode(); + } +} + diff --git a/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat/AddressManager.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat/AddressManager.pm new file mode 100644 index 0000000..fda8c21 --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat/AddressManager.pm @@ -0,0 +1,30 @@ +package Classes::Bluecat::AddressManager; +our @ISA = qw(Classes::Device); +use strict; + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::HOSTRESOURCESMIB::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::HOSTRESOURCESMIB::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::HOSTRESOURCESMIB::Component::MemSubsystem"); + $self->analyze_and_check_jvm_subsystem("Classes::Bluecat::AddressManager::Component::MemSubsystem"); + } elsif ($self->mode =~ /device::ha::/) { + $self->analyze_and_check_ha_subsystem("Classes::Bluecat::AddressManager::Component::HaSubsystem"); + } elsif ($self->mode =~ /device::mngmt::/) { + $self->analyze_and_check_mgmt_subsystem("Classes::Bluecat::AddressManager::Component::MgmtSubsystem"); + } else { + $self->no_such_mode(); + } +} + +sub pretty_sysdesc { + my ($self, $sysDescr) = @_; + my $sw_version = $self->get_snmp_object('BAM-SNMP-MIB', 'version'); + my $start_time = $self->get_snmp_object('BAM-SNMP-MIB', 'startTime'); + return sprintf "%s, sw version %s, start time %s", + $sysDescr, $sw_version, scalar localtime $start_time; +} + diff --git a/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat/AddressManager/Component/HaSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat/AddressManager/Component/HaSubsystem.pm new file mode 100644 index 0000000..d81e950 --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat/AddressManager/Component/HaSubsystem.pm @@ -0,0 +1,132 @@ +package Classes::Bluecat::AddressManager::Component::HaSubsystem; +our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); +use strict; +use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::ha::status/) { + $self->get_snmp_tables('BAM-SNMP-MIB', [ + ["replications", "replicationStatusTable", 'Classes::Bluecat::AddressManager::Component::HaSubsystem::Replication'], + ]); + $self->get_snmp_objects('BAM-SNMP-MIB', (qw( + queueSize replication + replicationNodeStatus replicationAverageLatency + replicationWarningThreshold replicationBreakThreshold + replicationLatencyWarningThreshold replicationLatencyCriticalThreshold + ))); + } elsif ($self->mode =~ /device::ha::role/) { + if (! $self->opts->role()) { + $self->opts->override_opt('role', 'primary'); + } + $self->get_snmp_objects('BAM-SNMP-MIB', (qw(replicationNodeStatus))); + } +} + +sub check { + my ($self) = @_; + if ($self->mode =~ /device::ha::status/) { + foreach (@{$self->{replications}}) { + $_->{replicationLatencyCriticalThreshold} = $self->{replicationLatencyCriticalThreshold}; + $_->{replicationLatencyWarningThreshold} = $self->{replicationLatencyWarningThreshold}; + $_->check(); + } + } elsif ($self->mode =~ /device::ha::role/) { + $self->add_info(sprintf 'ha node status is %s', + $self->{replicationNodeStatus}, + ); + if ($self->{replicationNodeStatus} eq 'unknown') { + $self->add_message( + defined $self->opts->mitigation() ? $self->opts->mitigation() : WARNING, + 'ha was not started'); + } else { + if ($self->{replicationNodeStatus} ne $self->opts->role()) { + $self->add_message( + defined $self->opts->mitigation() ? $self->opts->mitigation() : WARNING, + $self->{info}); + $self->add_message( + defined $self->opts->mitigation() ? $self->opts->mitigation() : WARNING, + sprintf "expected role %s", $self->opts->role()) + } else { + $self->add_ok(); + } + } + } +} + +package Classes::Bluecat::AddressManager::Component::HaSubsystem::Replication; +our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); +use strict; + +sub check { + my ($self) = @_; + $self->add_info(sprintf '%s node %s has status %s, latency is %.2f', + lc $self->{replicationRole}, $self->{hostname}, + lc $self->{replicationHealth}, $self->{currentLatency}); + $self->set_thresholds(metric => 'latency_'.lc $self->{replicationRole}, + warning => $self->{replicationLatencyWarningThreshold}, + critical => $self->{replicationLatencyCriticalThreshold}, + ); + $self->add_message($self->check_thresholds( + metric => 'latency_'.lc $self->{replicationRole}, + value => $self->{currentLatency})); + $self->add_perfdata( + label => 'latency_'.lc $self->{replicationRole}, + value => $self->{currentLatency} + ); +} + +__END__ +sdeb-bam-p03.sys.schwarz +root@sdeb-bam-p03:~# snmpwalk -v2c -c "communitypw" 10.201.135.240 .1.3.6.1.4.1.13315.100.210.1.8.2 +BAM-SNMP-MIB::replicationNodeStatus.0 = INTEGER: primary(1) +-> hier soll nur das Ergebnis angezeigt werden + +root@sdeb-bam-p03:~# snmpwalk -v2c -c "communitypw" 10.201.135.240 .1.3.6.1.4.1.13315.100.210.1.1.1 +BAM-SNMP-MIB::version.0 = STRING: 9.0.0 +-> hier soll nur das Ergebnis angezeigt werden + +#root@sdeb-bam-p03:~# snmpwalk -v2c -c "communitypw" 10.201.135.240 .1.3.6.1.4.1.13315.100.210.1.1.2 +#BAM-SNMP-MIB::startTime.0 = STRING: 2020-5-16,2:4:43.216 +# uptime -> hier soll nur das Ergebnis angezeigt werden + +root@sdeb-bam-p03:~# snmpwalk -v2c -c "communitypw" 10.201.135.240 .1.3.6.1.4.1.13315.100.210.1.8.8.1.4.10.201.135.240 +BAM-SNMP-MIB::replicationHealth.10.201.135.240 = INTEGER: Replicating(2) +-> bei Ausgabe 0 und 1 soll Nagios alarm schlagen, 2 bedeutet alles iO + +root@sdeb-bam-p03:~# snmpwalk -v2c -c "communitypw" 10.201.135.240 .1.3.6.1.4.1.13315.100.210.1.10.1.0 +BAM-SNMP-MIB::lastSuccessfulBackupTime.0 = STRING: 2020-11-11,3:10:35.0 +-> hier soll nur das Ergebnis angezeigt werden + + +KCZ_DDI +root@b0ac987f7n:~# snmpwalk -v2c -c "communitypw" 127.0.0.1 .1.3.6.1.4.1.13315.3.1.1.2.1.1 +BCN-DHCPV4-MIB::bcnDhcpv4SerOperState.0 = INTEGER: running(1) +1Running ist alles iO, bei 2,3,4,5 soll Nagios alarm schlagen + +root@b0ac987f7n:~# snmpwalk -v2c -c "communitypw" 127.0.0.1 .1.3.6.1.4.1.13315.3.1.2.2.1.1 +BCN-DNS-MIB::bcnDnsSerOperState.0 = INTEGER: running(1) +1Running ist alles iO, bei 2,3,4,5 soll Nagios alarm schlagen + +Hallo Gerhard, +für Bluecat devices brauchen wir einen ha-status in check_nwc_health. +Die MIBs hängen schon am Ticket dran. + +Wichtige informationen wären: +- BAM-SNMP-MIB::replicationNodeStatus.0 +- BAM-SNMP-MIB::startTime.0 +- BAM-SNMP-MIB::replicationHealth.10.201.135.240 +- BAM-SNMP-MIB::lastSuccessfulBackupTime.0 + +/omd/sites/mon/local/lib/monitoring-plugins/mon/mon_check_snmp -H 10.201.135.240 -P 2c -o .1.3.6.1.4.1.13315.100.210.1.10.1.0 backup + +/omd/sites/mon/local/lib/monitoring-plugins/mon/mon_check_snmp -H 10.201.135.240 -P 2c -o .1.3.6.1.4.1.13315.100.210.1.8.8.1.4.10.201.135.240 -C "***" -w 2:2 -c 2:2 replication 240 replicationHealth + +/omd/sites/mon/local/lib/monitoring-plugins/mon/mon_check_snmp -H 10.201.135.240 -P 2c -o .1.3.6.1.4.1.13315.100.210.1.8.2.0 -C "***" -w 1:1 -c 1:1 replicatiuon node replicationNodeStatus +/omd/sites/mon/local/lib/monitoring-plugins/mon/mon_check_snmp -H 10.201.135.240 -P 2c -o .1.3.6.1.4.1.13315.100.210.1.1.2.0 -C "***" -s OK + start time + +/omd/sites/mon/local/lib/monitoring-plugins/mon/mon_check_snmp -H 10.201.135.240 -P 2c -o .1.3.6.1.4.1.13315.100.210.1.1.1.0 -C "***" -s OK +version + + diff --git a/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat/AddressManager/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat/AddressManager/Component/MemSubsystem.pm new file mode 100644 index 0000000..7404e08 --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat/AddressManager/Component/MemSubsystem.pm @@ -0,0 +1,30 @@ +package Classes::Bluecat::AddressManager::Component::MemSubsystem; +our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); +use strict; +use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; + +sub init { + my ($self) = @_; + $self->get_snmp_objects('BAM-SNMP-MIB', (qw( + freeMemory maxMemory usageThresholdExceeded + ))); + $self->{jvm_usage} = 100 - 100 * $self->{freeMemory} / $self->{maxMemory}; +} + +sub check { + my ($self) = @_; + $self->add_info(sprintf 'jvm mem usage is %.2f%%', + $self->{jvm_usage}); + $self->set_thresholds(metric => "jvm_memory_usage", + warning => 80, critical => 90); + $self->add_message($self->check_thresholds( + metric => "jvm_memory_usage", + value => $self->{jvm_usage})); + $self->add_perfdata( + label => 'jvm_memory_usage', + value => $self->{jvm_usage}, + uom => '%', + ); +} + + diff --git a/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat/AddressManager/Component/MgmtSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat/AddressManager/Component/MgmtSubsystem.pm new file mode 100644 index 0000000..b80c676 --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat/AddressManager/Component/MgmtSubsystem.pm @@ -0,0 +1,24 @@ +package Classes::Bluecat::AddressManager::Component::MgmtSubsystem; +our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); +use strict; +use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; + +sub init { + my ($self) = @_; + $self->get_snmp_objects('BAM-SNMP-MIB', (qw(lastSuccessfulBackupTime))); + $self->{lastSuccessfulBackupAge} = int((time - $self->{lastSuccessfulBackupTime}) / 3600); +} + +sub check { + my ($self) = @_; + $self->add_info(sprintf "last successful backup was %d hours ago (%s)", + $self->{lastSuccessfulBackupAge}, + scalar localtime $self->{lastSuccessfulBackupTime} + ); + $self->set_thresholds(metric => "backup_age", + warning => 24*7, + critical => 24*7*4, + ); + $self->add_message($self->check_thresholds(metric => "backup_age", + value => $self->{lastSuccessfulBackupAge})); +} diff --git a/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat/DnsDhcpServer.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat/DnsDhcpServer.pm new file mode 100644 index 0000000..60ab2de --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat/DnsDhcpServer.pm @@ -0,0 +1,27 @@ +package Classes::Bluecat::DnsDhcpServer; +our @ISA = qw(Classes::Device); +use strict; + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::HOSTRESOURCESMIB::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::HOSTRESOURCESMIB::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::HOSTRESOURCESMIB::Component::MemSubsystem"); + } elsif ($self->mode =~ /device::ha::/) { + $self->analyze_and_check_ha_subsystem("Classes::Bluecat::DnsDhcpServer::Component::HaSubsystem"); + } elsif ($self->mode =~ /device::process::/) { + $self->analyze_and_check_process_subsystem("Classes::Bluecat::DnsDhcpServer::Component::ProcessSubsystem"); + } else { + $self->no_such_mode(); + } +} + +sub pretty_sysdesc { + my ($self, $sysDescr) = @_; + my $sw_version = $self->get_snmp_object('BCN-SYSTEM-MIB', 'bcnSysIdOSRelease'); + return sprintf "%s, sw version %s", $sysDescr, $sw_version; +} + diff --git a/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat/DnsDhcpServer/Component/HaSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat/DnsDhcpServer/Component/HaSubsystem.pm new file mode 100644 index 0000000..b3e44c7 --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat/DnsDhcpServer/Component/HaSubsystem.pm @@ -0,0 +1,41 @@ +package Classes::Bluecat::DnsDhcpServer::Component::HaSubsystem; +our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); +use strict; +use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; + +sub init { + my ($self) = @_; + $self->get_snmp_objects('ADONIS-DNS-MIB', qw(haServiceRunning)); + if ($self->mode =~ /device::ha::status/) { + } elsif ($self->mode =~ /device::ha::role/) { + $self->get_snmp_objects('ADONIS-DNS-MIB', qw(haServiceNodeType)); + if (! $self->opts->role()) { + $self->opts->override_opt('role', 'active'); + } + } +} + +sub check { + my ($self) = @_; + if ($self->mode =~ /device::ha::status/) { + if ($self->{haServiceRunning} == 0) { + $self->add_critical_mitigation("HA service is not running"); + } else { + $self->add_ok("HA service is running"); + } + } elsif ($self->mode =~ /device::ha::role/) { + $self->{haServiceNodeType} = $self->{haServiceNodeType} == 1 ? + "active" : "passive"; + if ($self->{haServiceRunning} == 1) { + $self->add_info(sprintf 'ha node type is %s', $self->{haServiceNodeType}); + if ($self->opts->role() ne $self->{haServiceNodeType}) { + $self->add_critical_mitigation(); + } else { + $self->add_ok(); + } + } else { + $self->add_critical_mitigation("HA service is not running"); + } + } +} + diff --git a/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat/DnsDhcpServer/Component/ProcessSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat/DnsDhcpServer/Component/ProcessSubsystem.pm new file mode 100644 index 0000000..54ace36 --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecat/DnsDhcpServer/Component/ProcessSubsystem.pm @@ -0,0 +1,47 @@ +package Classes::Bluecat::DnsDhcpServer::Component::ProcessSubsystem; +our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); +use strict; +use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; + +sub init { + my ($self) = @_; + $self->get_snmp_objects('BCN-DNS-MIB', (qw(bcnDnsSerOperState))); + $self->get_snmp_objects('BCN-DHCPV4-MIB', (qw(bcnDhcpv4SerOperState))); +} + +sub check { + my ($self) = @_; + if ($self->{bcnDnsSerOperState}) { + $self->add_info(sprintf "dns service is %s", $self->{bcnDnsSerOperState}); + $self->add_ok() if $self->{bcnDnsSerOperState} eq "running"; + $self->add_critical() if $self->{bcnDnsSerOperState} eq "notRunning"; + $self->add_warning() if $self->{bcnDnsSerOperState} eq "starting"; + $self->add_warning() if $self->{bcnDnsSerOperState} eq "stopping"; + $self->add_critical() if $self->{bcnDnsSerOperState} eq "fault"; + } else { + $self->get_snmp_objects('ADONIS-DNS-MIB', (qw(dnsDaemonRunning))); + if (exists $self->{dnsDaemonRunning}) { + $self->add_info(sprintf "dns service is %s", + $self->{dnsDaemonRunning} ? "running" : "not running"); + $self->add_ok() if $self->{dnsDaemonRunning} == 0; + $self->add_critical() if $self->{dnsDaemonRunning} == 1; + } + } + if ($self->{bcnDhcpv4SerOperState}) { + $self->add_info(sprintf "dhcp service is %s", $self->{bcnDhcpv4SerOperState}); + $self->add_ok() if $self->{bcnDhcpv4SerOperState} eq "running"; + $self->add_critical() if $self->{bcnDhcpv4SerOperState} eq "notRunning"; + $self->add_warning() if $self->{bcnDhcpv4SerOperState} eq "starting"; + $self->add_warning() if $self->{bcnDhcpv4SerOperState} eq "stopping"; + $self->add_critical() if $self->{bcnDhcpv4SerOperState} eq "fault"; + } else { + $self->get_snmp_objects('ADONIS-DNS-MIB', (qw(dhcpDaemonRunning))); + if (exists $self->{dhcpDaemonRunning}) { + $self->add_info(sprintf "dhcp service is %s", + $self->{dhcpDaemonRunning} ? "running" : "not running"); + $self->add_ok() if $self->{dhcpDaemonRunning} == 0; + $self->add_critical() if $self->{dhcpDaemonRunning} == 1; + } + } +} + diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bluecoat.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecoat.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Bluecoat.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Bluecoat.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Brocade.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Brocade.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Brocade.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Brocade.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Firewall1.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Firewall1.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Firewall1/Component/CpuSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Firewall1/Component/CpuSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/DiskSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Firewall1/Component/DiskSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/DiskSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Firewall1/Component/DiskSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Firewall1/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Firewall1/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/FanSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Firewall1/Component/FanSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/FanSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Firewall1/Component/FanSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/FwSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Firewall1/Component/FwSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/FwSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Firewall1/Component/FwSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/HaSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Firewall1/Component/HaSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/HaSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Firewall1/Component/HaSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Firewall1/Component/MemSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Firewall1/Component/MemSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/MngmtSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Firewall1/Component/MngmtSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/MngmtSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Firewall1/Component/MngmtSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/PowersupplySubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Firewall1/Component/PowersupplySubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/PowersupplySubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Firewall1/Component/PowersupplySubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/SvnSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Firewall1/Component/SvnSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/SvnSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Firewall1/Component/SvnSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/TemperatureSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Firewall1/Component/TemperatureSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/TemperatureSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Firewall1/Component/TemperatureSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/VoltageSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Firewall1/Component/VoltageSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/VoltageSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Firewall1/Component/VoltageSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/VpnSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Firewall1/Component/VpnSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Firewall1/Component/VpnSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Firewall1/Component/VpnSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Gaia.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Gaia.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/Gaia.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/Gaia.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/VSX.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/VSX.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/VSX.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/VSX.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/VSX/Component/FwSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/VSX/Component/FwSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/CheckPoint/VSX/Component/FwSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/CheckPoint/VSX/Component/FwSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco.pm similarity index 86% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco.pm index 0114886..2068349 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco.pm +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco.pm @@ -4,6 +4,8 @@ use strict; sub init { my ($self) = @_; + my $sysobjectid = $self->get_snmp_object('MIB-2-MIB', 'sysObjectID', 0); + $sysobjectid =~ s/^\.//g; if ($self->{productname} =~ /Cisco NX-OS/i) { $self->rebless('Classes::Cisco::NXOS'); } elsif ($self->{productname} =~ /Cisco Controller/i || @@ -23,11 +25,11 @@ sub init { $self->rebless('Classes::Cisco::IOS'); } elsif ($self->{productname} =~ /Fujitsu Intelligent Blade Panel 30\/12/i) { $self->rebless('Classes::Cisco::IOS'); - } elsif ($self->get_snmp_object('MIB-2-MIB', 'sysObjectID', 0) eq '1.3.6.1.4.1.9.1.1348') { + } elsif ($sysobjectid eq '1.3.6.1.4.1.9.1.1348') { $self->rebless('Classes::Cisco::CCM'); - } elsif ($self->get_snmp_object('MIB-2-MIB', 'sysObjectID', 0) eq '1.3.6.1.4.1.9.1.746') { + } elsif ($sysobjectid eq '1.3.6.1.4.1.9.1.746') { $self->rebless('Classes::Cisco::CCM'); - } elsif ($self->get_snmp_object('MIB-2-MIB', 'sysObjectID', 0) =~ /.1.3.6.1.4.1.9.6.1.83/) { + } elsif ($sysobjectid =~ /1.3.6.1.4.1.9.6.1.83/) { $self->rebless('Classes::Cisco::SB'); } if (ref($self) ne "Classes::Cisco") { @@ -62,6 +64,12 @@ sub init { } else { $self->no_such_mode(); } + } elsif ($self->mode =~ /device::licenses::/) { + if ($self->implements_mib('CISCO-SMART-LIC-MIB')) { + $self->analyze_and_check_lic_subsystem("Classes::Cisco::CISCOSMARTLICMIB::Component::KeySubsystem"); + } else { + $self->no_such_mode(); + } } else { $self->init(); if ($self->mode =~ /device::interfaces::ifstack::status/ && diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/ASA.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/ASA.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/ASA.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/ASA.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/AsyncOS.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/AsyncOS.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/AsyncOS/Component/CpuSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/AsyncOS/Component/CpuSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/AsyncOS/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/AsyncOS/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/FanSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/AsyncOS/Component/FanSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/FanSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/AsyncOS/Component/FanSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/KeySubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/AsyncOS/Component/KeySubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/KeySubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/AsyncOS/Component/KeySubsystem.pm diff --git a/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/AsyncOS/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/AsyncOS/Component/MemSubsystem.pm new file mode 100644 index 0000000..7458365 --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/AsyncOS/Component/MemSubsystem.pm @@ -0,0 +1,37 @@ +package Classes::Cisco::AsyncOS::Component::MemSubsystem; +our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); +use strict; + +sub init { + my ($self) = @_; + $self->get_snmp_objects('ASYNCOS-MAIL-MIB', (qw( + perCentMemoryUtilization memoryAvailabilityStatus))); +} + +sub check { + my ($self) = @_; + $self->add_info('checking memory'); + $self->add_info(sprintf 'memory usage is %.2f%%', + $self->{perCentMemoryUtilization}); + $self->set_thresholds(warning => 80, critical => 90); + $self->add_message($self->check_thresholds($self->{perCentMemoryUtilization})); + if ($self->{memoryAvailabilityStatus}) { + $self->add_info(sprintf "memoryAvailabilityStatus is %s", + $self->{memoryAvailabilityStatus}); + if ($self->{memoryAvailabilityStatus} eq 'memoryShortage') { + $self->add_warning(); + $self->set_thresholds(warning => $self->{perCentMemoryUtilization}, critical => 90); + } elsif ($self->{memoryAvailabilityStatus} eq 'memoryFull') { + $self->add_critical(); + $self->set_thresholds(warning => 80, critical => $self->{perCentMemoryUtilization}); + } else { + $self->add_ok(); + } + } + $self->add_perfdata( + label => 'memory_usage', + value => $self->{perCentMemoryUtilization}, + uom => '%', + ); +} + diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/PowersupplySubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/AsyncOS/Component/PowersupplySubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/PowersupplySubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/AsyncOS/Component/PowersupplySubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/RaidSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/AsyncOS/Component/RaidSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/RaidSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/AsyncOS/Component/RaidSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/TemperatureSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/AsyncOS/Component/TemperatureSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/AsyncOS/Component/TemperatureSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/AsyncOS/Component/TemperatureSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CCM.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CCM.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CCM.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CCM.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CCM/Component/CmSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CCM/Component/CmSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CCM/Component/CmSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CCM/Component/CmSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CCM/Component/PhoneSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CCM/Component/PhoneSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CCM/Component/PhoneSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CCM/Component/PhoneSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOBGP4MIB/Components/PeerSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOBGP4MIB/Components/PeerSubsystem.pm similarity index 96% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOBGP4MIB/Components/PeerSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOBGP4MIB/Components/PeerSubsystem.pm index 5c80e99..547d9c8 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOBGP4MIB/Components/PeerSubsystem.pm +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOBGP4MIB/Components/PeerSubsystem.pm @@ -242,7 +242,13 @@ sub finish { $self->{cbgpPeer2LocalAddr} = $self->mibs_and_oids_definition( 'INET-ADDRESS-MIB', 'InetAddress', $self->{cbgpPeer2LocalAddr}, $self->{cbgpPeer2Type}) if $self->{cbgpPeer2LocalAddr}; - $self->{cbgpPeer2LocalAddr} = "999.999.999.999" if ! $self->{cbgpPeer2LocalAddr}; + # save a valid localaddr and reuse it if empty, works for 5 attempts + $self->protect_value("localaddr_".$self->{cbgpPeer2RemoteAddr}, + "cbgpPeer2LocalAddr", sub { + my $value = shift; + return $value ? 1 : 0; + }); + $self->{cbgpPeer2LocalAddr} = "=empty=" if ! $self->{cbgpPeer2LocalAddr}; $self->{cbgpPeer2LastError} |= "00 00"; my $errorcode = 0; @@ -309,11 +315,12 @@ sub check { # cbgpPeer2RemoteAsName is "", cbgpPeer2AdminStatus is "start", # cbgpPeer2State is "active" $self->add_message($self->{cbgpPeer2RemoteAsImportant} ? CRITICAL : OK, - sprintf "peer %s (AS%s) state is %s (last error: %s)", + sprintf "peer %s (AS%s) state is %s (last error: %s, local address: %s)", $self->{cbgpPeer2RemoteAddr}, $self->{cbgpPeer2RemoteAs}.$self->{cbgpPeer2RemoteAsName}, $self->{cbgpPeer2State}, - $self->{cbgpPeer2LastError}||"no error" + $self->{cbgpPeer2LastError}||"no error", + $self->{cbgpPeer2LocalAddr} ); $self->{cbgpPeer2Faulty} = $self->{cbgpPeer2RemoteAsImportant} ? 1 : 0; } diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOEIGRPMIB/Components/PeerSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOEIGRPMIB/Components/PeerSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOEIGRPMIB/Components/PeerSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOEIGRPMIB/Components/PeerSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENHANCEDMEMPOOLMIB/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOENHANCEDMEMPOOLMIB/Component/MemSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENHANCEDMEMPOOLMIB/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOENHANCEDMEMPOOLMIB/Component/MemSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYALARMMIB/Component/AlarmSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOENTITYALARMMIB/Component/AlarmSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYALARMMIB/Component/AlarmSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOENTITYALARMMIB/Component/AlarmSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/FanSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/FanSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/FanSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/FanSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/ModuleSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/ModuleSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/ModuleSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/ModuleSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/PowersupplySubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/PowersupplySubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/PowersupplySubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/PowersupplySubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYSENSORMIB/Component/SensorSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOENTITYSENSORMIB/Component/SensorSubsystem.pm similarity index 99% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYSENSORMIB/Component/SensorSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOENTITYSENSORMIB/Component/SensorSubsystem.pm index 8f4ac36..d292099 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENTITYSENSORMIB/Component/SensorSubsystem.pm +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOENTITYSENSORMIB/Component/SensorSubsystem.pm @@ -11,7 +11,7 @@ sub init { # get_entries_get_bulk wird's schon richten. $self->bulk_is_baeh(128); $self->get_snmp_tables('CISCO-ENTITY-SENSOR-MIB', [ - ['sensors', 'entSensorValueTable', 'Classes::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem::Sensor', sub { my ($o) = @_; $self->filter_name($o->{entPhysicalIndex})}, ["entSensorType", "entSensorStatus", "entSensorValue", "entSensorMeasuredEntity"]], + ['sensors', 'entSensorValueTable', 'Classes::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem::Sensor', sub { my ($o) = @_; $self->filter_name($o->{entPhysicalIndex})}, ["entSensorType", "entSensorScale", "entSensorStatus", "entSensorValue", "entSensorMeasuredEntity"]], ['thresholds', 'entSensorThresholdTable', 'Classes::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem::SensorThreshold', undef, ["entSensorThresholdSeverity", "entSensorThresholdValue", "entSensorThresholdEvaluation"]], ]); $self->get_snmp_tables('ENTITY-MIB', [ diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/FanSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/FanSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/FanSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/FanSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/PowersupplySubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/PowersupplySubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/PowersupplySubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/PowersupplySubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/TemperatureSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/TemperatureSubsystem.pm similarity index 96% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/TemperatureSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/TemperatureSubsystem.pm index 8ed1e07..84aa6c3 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/TemperatureSubsystem.pm +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/TemperatureSubsystem.pm @@ -20,6 +20,8 @@ sub finish { } $self->ensure_index('ciscoEnvMonTemperatureStatusIndex'); $self->{ciscoEnvMonTemperatureLastShutdown} ||= 0; + $self->{ciscoEnvMonTemperatureStatusValue} -= 255 if + $self->{ciscoEnvMonTemperatureStatusValue} > 200; } sub check { diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/VoltageSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/VoltageSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/VoltageSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOENVMONMIB/Component/VoltageSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOIPSECFLOWMONITOR/Component/VpnSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOIPSECFLOWMONITOR/Component/VpnSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOIPSECFLOWMONITOR/Component/VpnSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOIPSECFLOWMONITOR/Component/VpnSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOMEMORYPOOLMIB/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOMEMORYPOOLMIB/Component/MemSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOMEMORYPOOLMIB/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOMEMORYPOOLMIB/Component/MemSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOPORTSECURITYMIB/Component/InterfaceSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOPORTSECURITYMIB/Component/InterfaceSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOPORTSECURITYMIB/Component/InterfaceSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOPORTSECURITYMIB/Component/InterfaceSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOPROCESSMIB/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOPROCESSMIB/Component/MemSubsystem.pm new file mode 100644 index 0000000..b5f05ab --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOPROCESSMIB/Component/MemSubsystem.pm @@ -0,0 +1,139 @@ +package Classes::Cisco::CISCOPROCESSMIB::Component::MemSubsystem; +our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); +use strict; + +sub init { + my ($self) = @_; + $self->get_snmp_tables('CISCO-PROCESS-MIB', [ + ['cpumems', 'cpmCPUTotalTable', 'Classes::Cisco::CISCOPROCESSMIB::Component::MemSubsystem::Mem', sub { my $o = shift; return exists $o->{cpmCPUMemoryUsed} ? 1 : 0 } ], + ]); +} + +package Classes::Cisco::CISCOPROCESSMIB::Component::MemSubsystem::Mem; +our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); +use strict; + +sub finish { + my ($self) = @_; + if (! exists $self->{cpmCPUMemoryUsed}) { + # dann fluigt der ganze scheisdreck weida ohm beim get_snmp_tables + # ausse. mit wos fir am oltn glump das i mi heid wieder oweerchan mou! + return; + } + $self->{cpmCPUTotalIndex} = $self->{flat_indices}; +# $self->{cpmCPUTotalPhysicalIndex} = exists $self->{cpmCPUTotalPhysicalIndex} ? +# $self->{cpmCPUTotalPhysicalIndex} : 0; + $self->{entPhysicalName} = $self->get_snmp_object('ENTITY-MIB', 'entPhysicalName', $self->{cpmCPUTotalPhysicalIndex}); + # wichtig fuer gestacktes zeugs, bei dem entPhysicalName doppelt und mehr vorkommen kann + # This object is a user-assigned asset tracking identifier for the physical entity + # as specified by a network manager, and provides non-volatile storage of this + # information. On the first instantiation of an physical entity, the value of + # entPhysicalAssetID associated with that entity is set to the zero-length string. + # ... + # If write access is implemented for an instance of entPhysicalAssetID, and a value + # is written into the instance, the agent must retain the supplied value in the + # entPhysicalAssetID instance associated with the same physical entity for as long + # as that entity remains instantiated. This includes instantiations across all + # re-initializations/reboots of the network management system, including those + # which result in a change of the physical entity's entPhysicalIndex value. + $self->{entPhysicalAssetID} = $self->get_snmp_object('ENTITY-MIB', 'entPhysicalAssetID', $self->{cpmCPUTotalPhysicalIndex}); + $self->{entPhysicalDescr} = $self->get_snmp_object('ENTITY-MIB', 'entPhysicalDescr', $self->{cpmCPUTotalPhysicalIndex}); + $self->{name} = $self->{entPhysicalName} || $self->{entPhysicalDescr}; + # letzter Ausweg, weil auch alle drei get_snmp_object fehlschlagen koennen + $self->{name} ||= $self->{cpmCPUTotalIndex}; + if ($self->{cpmCPUMemoryHCUsed} and $self->{cpmCPUMemoryHCFree}) { + $self->{cpmCPUMemoryHCTotal} = $self->{cpmCPUMemoryHCUsed} + $self->{cpmCPUMemoryHCFree}; + $self->{usageu} = 100 * $self->{cpmCPUMemoryHCUsed} / + $self->{cpmCPUMemoryHCTotal}; + $self->{usagec} = 100 * $self->{cpmCPUMemoryHCCommitted} / + $self->{cpmCPUMemoryHCTotal}; + } else { + $self->{cpmCPUMemoryLCUsed} = $self->{cpmCPUMemoryUsedOvrflw} ? + ($self->{cpmCPUMemoryUsedOvrflw} << 32) + ($self->{cpmCPUMemoryUsed}) : + $self->{cpmCPUMemoryUsed}; + $self->{cpmCPUMemoryLCFree} = $self->{cpmCPUMemoryFreeOvrflw} ? + ($self->{cpmCPUMemoryFreeOvrflw} << 32) + ($self->{cpmCPUMemoryFree}) : + $self->{cpmCPUMemoryFree}; + $self->{cpmCPUMemoryLCTotal} = $self->{cpmCPUMemoryLCUsed} + $self->{cpmCPUMemoryLCFree}; + if (exists $self->{cpmCPUMemoryCommitted}) { + $self->{cpmCPUMemoryLCCommitted} = $self->{cpmCPUMemoryCommittedOvrflw} ? + ($self->{cpmCPUMemoryCommittedOvrflw} << 32) + ($self->{cpmCPUMemoryCommitted}) : + $self->{cpmCPUMemoryCommitted}; + $self->{usagec} = 100 * $self->{cpmCPUMemoryLCCommited} / + $self->{cpmCPUMemoryLCTotal}; + } + $self->{usageu} = 100 * $self->{cpmCPUMemoryLCUsed} / + $self->{cpmCPUMemoryLCTotal}; + } + # immer den kleineren wert. ist nicht ganz korrekt, aber so muss ich mich + # am wenigsten rumaergern. + if (exists $self->{usagec} and $self->{usagec} < $self->{usageu}) { + $self->{usage} = $self->{usagec}; + } else { + $self->{usage} = $self->{usageu}; + } + return $self; +} + +sub check { + my ($self) = @_; + $self->add_info(sprintf '%s memory usage is %.2f%%', + $self->{name}, $self->{usage}); + my $label = 'cpumem_'.$self->{name}.'_usage'; + $self->set_thresholds( + metric => $label, + warning => 80, + critical => 90, + ); + $self->add_message($self->check_thresholds( + metric => $label, + value => $self->{usage}, + )); + $self->add_perfdata( + label => $label, + value => $self->{usage}, + uom => '%', + ); +} + +__END__ +https://thwack.solarwinds.com/t5/NPM-Feature-Requests/Additional-Cisco-quot-CPU-Memory-quot-Poller-for-Cisco-ASR/idc-p/560968 + +Memory (kB) +Slot Status Total Used (Pct) Free (Pct) Committed (Pct) + RP0 Healthy 3969316 3849744 (97%) 119572 ( 3%) 2582596 (65%) + +In this output, the "Committed" output is what we recommend focusing on, as this represents what memory processes have actually requested from the kernel. The "Used" value, on the other hand, appears high because this includes the Linux kernel cache: this "extra" memory is used by the kernel to store bits of frequently used data, but that memory can be freed at any time if needed. From the perspective of committed memory, this router is not low on memory and appears to be operating normally. + +We frequently see cases inquiring about the misleadingly high value in the "Used" column. As a result, this is being adjusted in later code to provide a better representation of what memory is actually available for use. Additionally, two bugs have been filled to document the behavior, these are CSCuc40262 and CSCuv32343: + + +https://www.cisco.com/c/de_de/support/docs/ip/simple-network-management-protocol-snmp/118901-technote-snmp-00.html + +ASR1K#show platform software status control-processor brief | s Memory +Memory (kB) + Slot Status Total Used(Pct) Free (Pct) Committed (Pct) + RP0 Healthy 3874504 2188404 (56%) 1686100 (44%) 2155996 (56%) + ESP0 Healthy 969088 590880 (61%) 378208 (39%) 363840 (38%) + SIP0 Healthy 471832 295292 (63%) 176540 (37%) 288540 (61%) +(cpmCPUMemoryHCUsed) +1.3.6.1.4.1.9.9.109.1.1.1.1.17.2 = Counter64: 590880 -ESP Used memory +1.3.6.1.4.1.9.9.109.1.1.1.1.17.3 = Counter64: 2188404 -RP used memory +1.3.6.1.4.1.9.9.109.1.1.1.1.17.4 = Counter64: 295292 -SIP used memory +(cpmCPUMemoryHCFree) +1.3.6.1.4.1.9.9.109.1.1.1.1.19.2 = Counter64: 378208 -ESP free Memory +1.3.6.1.4.1.9.9.109.1.1.1.1.19.3 = Counter64: 1686100 -RP free Memory +1.3.6.1.4.1.9.9.109.1.1.1.1.19.4 = Counter64: 176540 -SIP free memory +cpmCPUMemoryHCCommitted) +1.3.6.1.4.1.9.9.109.1.1.1.1.29.2 = Counter64: 363840 -ESP Committed Memory +1.3.6.1.4.1.9.9.109.1.1.1.1.29.3 = Counter64: 2155996 -RP Committed Memory +1.3.6.1.4.1.9.9.109.1.1.1.1.29.4 = Counter64: 288540 -SIP committed memory + +stimmt alles wunderbar zusammen, total = used+free +Und in der Realitaet kommt dann so eine Scheisse raus wie +cpmCPUMemoryHCCommitted: 4469120 +cpmCPUMemoryHCFree: 171404 +cpmCPUMemoryHCKernelReserved: 0 +cpmCPUMemoryHCUsed: 3786752 +Bravo, bravoooo! Und bei auf cpmCPUMemoryHCCommitted basierender Usage gibts dann > 100% +Und zwar ausfgerechnet bei dem, der den ganzen Stackswitchmemorydreck haben wollte. diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOREMOTEACCESSMONITORMIB/Component/VpnSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOREMOTEACCESSMONITORMIB/Component/VpnSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOREMOTEACCESSMONITORMIB/Component/VpnSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOREMOTEACCESSMONITORMIB/Component/VpnSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOSMARTLICMIB/Component/KeySubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOSMARTLICMIB/Component/KeySubsystem.pm new file mode 100644 index 0000000..690d323 --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOSMARTLICMIB/Component/KeySubsystem.pm @@ -0,0 +1,109 @@ +package Classes::Cisco::CISCOSMARTLICMIB::Component::KeySubsystem; +our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); +use strict; + +sub init { + my ($self) = @_; + $self->get_snmp_objects("CISCO-SMART-LIC-MIB", qw(ciscoSlaEnabled)); + $self->get_snmp_tables('CISCO-SMART-LIC-MIB', [ + ['keys', 'ciscoSlaEntitlementInfoTable', 'Classes::Cisco::CISCOSMARTLICMIB::Component::KeySubsystem::Entitlement'], + ['keys', 'ciscoSlaRegistrationStatusInfoTable', 'Classes::Cisco::CISCOSMARTLICMIB::Component::KeySubsystem::RegStatusInfo', sub { shift->{valid} }], + ['keys', 'ciscoSlaAuthorizationInfoTable', 'Classes::Cisco::CISCOSMARTLICMIB::Component::KeySubsystem::AuthInfo', sub { shift->{valid} }], + ]); +} + +sub check { + my ($self) = @_; + if ($self->{ciscoSlaEnabled} eq "false") { + $self->add_ok("smart licensing is not enabled"); + } else { + $self->SUPER::check(); + } +} + + +package Classes::Cisco::CISCOSMARTLICMIB::Component::KeySubsystem::Entitlement; +our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); +use strict; + +sub check { + my ($self) = @_; + #$self->{keyDaysUntilExpire} = int($self->{keySecondsUntilExpire} / 86400); + $self->add_info(sprintf "entitlement %s for feature %s mode is %s", + $self->{ciscoSlaEntitlementTag}, + $self->{ciscoSlaEntitlementFeatureName}, + $self->{ciscoSlaEntitlementEnforceMode} + ); + $self->add_ok(); +} + + +package Classes::Cisco::CISCOSMARTLICMIB::Component::KeySubsystem::RegStatusInfo; +our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); +use strict; + +sub finish { + my ($self) = @_; + $self->{valid} = exists $self->{ciscoSlaRegistrationStatus} ? 1 : 0; + return if ! $self->{valid}; + foreach (qw(ciscoSlaNextCertificateExpireTime ciscoSlaRegisterInitTime ciscoSlaRenewNextRetryTime)) { + $self->{$_."Human"} = scalar localtime $self->{$_} + if exists $self->{$_} and $self->{$_} =~ /^\d+$/; + } +} + +sub check { + my ($self) = @_; +} + + +package Classes::Cisco::CISCOSMARTLICMIB::Component::KeySubsystem::AuthInfo; +our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); +use strict; + +sub finish { + my ($self) = @_; + $self->{valid} = exists $self->{ciscoSlaAuthComplianceStatus} ? 1 : 0; + return if ! $self->{valid}; + foreach (qw(ciscoSlaAuthRenewTime ciscoSlaAuthExpireTime ciscoSlaAuthRenewNextRetryTime ciscoSlaAuthRenewInitTime)) { + $self->{$_."Human"} = scalar localtime $self->{$_} + if exists $self->{$_} and $self->{$_} =~ /^\d+$/; + } + $self->{ciscoSlaAuthExpireTimeDays} = + int(($self->{ciscoSlaAuthExpireTime} - time) / (3600*24)); + $self->{ciscoSlaAuthExpireTimeDays} = + $self->{ciscoSlaAuthExpireTimeDays} < 0 ? + 0 : $self->{ciscoSlaAuthExpireTimeDays}; + if ($self->{ciscoSlaAuthOOCStartTime} > 0) { + $self->{ciscoSlaAuthOOCStartTimeDays} = + int((time - $self->{ciscoSlaAuthExpireTime}) / (3600*24)); + } else { + $self->{ciscoSlaAuthOOCStartTimeDays} = 0; + } +} + +sub check { + my ($self) = @_; + $self->add_info(sprintf "compliance status is %s", + $self->{ciscoSlaAuthComplianceStatus}); + if ($self->{ciscoSlaAuthComplianceStatus} eq "AUTHORIZED") { + $self->add_ok(); + } else { + $self->add_critical(); + } + if ($self->{ciscoSlaAuthOOCStartTime}) { + $self->add_critical( + sprintf "smart agent entered out of compliance %d days ago", + $self->{ciscoSlaAuthOOCStartTimeDays}); + } + my $label = "sla_remaining_days"; + $self->set_thresholds(metric => $label, + warning => "7:", critical => "2:"); + $self->add_info(sprintf "authorization will expire in %d days", + $self->{ciscoSlaAuthExpireTimeDays}); + $self->add_message($self->check_thresholds(metric => $label, + value => $self->{ciscoSlaAuthExpireTimeDays})); + $self->add_perfdata(label => $label, + value => $self->{ciscoSlaAuthExpireTimeDays}); +} + diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOSTACKMIB/Component/StackSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOSTACKMIB/Component/StackSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOSTACKMIB/Component/StackSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOSTACKMIB/Component/StackSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOSTACKWISEMIB/Component/StackSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOSTACKWISEMIB/Component/StackSubsystem.pm similarity index 94% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOSTACKWISEMIB/Component/StackSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOSTACKWISEMIB/Component/StackSubsystem.pm index 66a96de..ad4d7c3 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/CISCOSTACKWISEMIB/Component/StackSubsystem.pm +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/CISCOSTACKWISEMIB/Component/StackSubsystem.pm @@ -10,16 +10,17 @@ sub init { cswRingRedundant cswStackBandWidth ciscoStackWiseMIBConform cswStackWiseMIBCompliances )); + $self->get_snmp_tables("CISCO-STACKWISE-MIB", [ + ['switches', 'cswSwitchInfoTable', 'Classes::Cisco::CISCOSTACKWISEMIB::Component::StackSubsystem::Switch'], + ]); # cswStackType is not uniqe enough depening of IOS-XE version. # cswStackBandWidth exists only on distributed switches with SVL if ($self->{cswStackBandWidth}) { $self->get_snmp_tables("CISCO-STACKWISE-MIB", [ - ['switches', 'cswSwitchInfoTable', 'Classes::Cisco::CISCOSTACKWISEMIB::Component::StackSubsystem::Switch'], ['ports', 'cswDistrStackPhyPortInfoEntry', 'Classes::Cisco::CISCOSTACKWISEMIB::Component::StackSubsystem::PhyPort'], ]); } else { $self->get_snmp_tables("CISCO-STACKWISE-MIB", [ - ['switches', 'cswSwitchInfoTable', 'Classes::Cisco::CISCOSTACKWISEMIB::Component::StackSubsystem::Switch'], ['ports', 'cswStackPortInfoTable', 'Classes::Cisco::CISCOSTACKWISEMIB::Component::StackSubsystem::Port'], ]); }; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/IOS.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/IOS.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/BgpSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/IOS/Component/BgpSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/BgpSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/IOS/Component/BgpSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/ConfigSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/IOS/Component/ConfigSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/ConfigSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/IOS/Component/ConfigSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/ConnectionSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/IOS/Component/ConnectionSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/ConnectionSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/IOS/Component/ConnectionSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/IOS/Component/CpuSubsystem.pm similarity index 98% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/IOS/Component/CpuSubsystem.pm index 2e5fb8f..d485da3 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/IOS/Component/CpuSubsystem.pm @@ -23,6 +23,7 @@ sub init { if (defined $self->{avgBusy1}) { push(@{$self->{cpus}}, Classes::Cisco::IOS::Component::CpuSubsystem::Cpu->new( + flat_indices => 0, cpmCPUTotalPhysicalIndex => 0, #fake cpmCPUTotalIndex => 0, #fake cpmCPUTotal5sec => 0, #fake @@ -30,7 +31,7 @@ sub init { cpmCPUTotal1min => $self->{avgBusy1}, cpmCPUTotal1minRev => $self->{avgBusy1}, cpmCPUTotal5min => $self->{avgBusy5}, - cpmCPUTotal5minRev => $self->{avgBusy51}, + cpmCPUTotal5minRev => $self->{avgBusy5}, cpmCPUMonInterval => 0, #fake cpmCPUTotalMonIntervalValue => 0, #fake cpmCPUInterruptMonIntervalValue => 0, #fake diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/IOS/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/IOS/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/HaSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/IOS/Component/HaSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/HaSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/IOS/Component/HaSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/IOS/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/IOS/Component/MemSubsystem.pm new file mode 100644 index 0000000..05e355d --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/IOS/Component/MemSubsystem.pm @@ -0,0 +1,42 @@ +package Classes::Cisco::IOS::Component::MemSubsystem; +our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); +use strict; + +sub init { + my ($self) = @_; + if ($self->implements_mib('CISCO-ENHANCED-MEMPOOL-MIB')) { + $self->analyze_and_check_mem_subsystem("Classes::Cisco::CISCOENHANCEDMEMPOOLMIB::Component::MemSubsystem"); + if (! exists $self->{components}->{mem_subsystem} || + scalar(@{$self->{components}->{mem_subsystem}->{mems}}) == 0) { + # satz mix x.... + # der hier: Cisco IOS Software, IOS-XE Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 03.03.02SE RELEASE SOFTWARE (fc2) + # hat nicht mehr zu bieten als eine einzige oid + # cempMemBufferNotifyEnabled .1.3.6.1.4.1.9.9.221.1.2.1.0 = INTEGER: 2 + # deshalb: + $self->analyze_and_check_mem_subsystem("Classes::Cisco::CISCOMEMORYPOOLMIB::Component::MemSubsystem"); + } + } else { + $self->analyze_and_check_mem_subsystem("Classes::Cisco::CISCOMEMORYPOOLMIB::Component::MemSubsystem"); + } + if ($self->implements_mib('CISCO-STACKWISE-MIB') and + $self->implements_mib('CISCO-STACKWISE-MIB')) { + # bei stacks, bestehend aus mehreren switches, wuenschen sich admins + # deren individuelle speichermetriken zu sehen. enhanced-mempool, bzw. + # der fallback auf memory-pool, der bei stacks vorkommt, gibt es lediglich + # einen globalen wert. + # die sind das von solarwinds so gewohnt, welches aber neuerdings nicht + # mehr ganz so angesagt ist. + # + # und gleich wieder der naechste dreck am 27.1.21, bei einem switch wird + # 105% usage gemeldet. der stack besteht nur aus einem switch, daher + # lassen wir das mit den per-node-memories hier bleiben. + $self->get_snmp_tables("CISCO-STACKWISE-MIB", [ + ['switches', 'cswSwitchInfoTable', 'Classes::Cisco::CISCOSTACKWISEMIB::Component::StackSubsystem::Switch', undef, ["cswSwitchNumCurrent"]], + ]); + if (scalar(@{$self->{switches}}) > 1) { + $self->analyze_and_check_mem_subsystem("Classes::Cisco::CISCOPROCESSMIB::Component::MemSubsystem"); + } + delete $self->{switches}; + } +} + diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/NatSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/IOS/Component/NatSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/IOS/Component/NatSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/IOS/Component/NatSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/NXOS.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/NXOS.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/NXOS.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/NXOS.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/NXOS/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/NXOS/Component/CpuSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/NXOS/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/NXOS/Component/CpuSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/NXOS/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/NXOS/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/NXOS/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/NXOS/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/NXOS/Component/FexSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/NXOS/Component/FexSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/NXOS/Component/FexSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/NXOS/Component/FexSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/NXOS/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/NXOS/Component/MemSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/NXOS/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/NXOS/Component/MemSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/OLDCISCOINTERFACESMIB/Component/InterfaceSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/OLDCISCOINTERFACESMIB/Component/InterfaceSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/OLDCISCOINTERFACESMIB/Component/InterfaceSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/OLDCISCOINTERFACESMIB/Component/InterfaceSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/PrimeNCS.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/PrimeNCS.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/PrimeNCS.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/PrimeNCS.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/SB.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/SB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/SB.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/SB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/SB/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/SB/Component/CpuSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/SB/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/SB/Component/CpuSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/SB/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/SB/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/SB/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/SB/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/SB/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/SB/Component/MemSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/SB/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/SB/Component/MemSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/UCOS.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/UCOS.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/UCOS.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/UCOS.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/WLC.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/WLC.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/WLC/Component/CpuSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/WLC/Component/CpuSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/WLC/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/WLC/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC/Component/HaSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/WLC/Component/HaSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC/Component/HaSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/WLC/Component/HaSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/WLC/Component/MemSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/WLC/Component/MemSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC/Component/WlanSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/WLC/Component/WlanSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cisco/WLC/Component/WlanSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cisco/WLC/Component/WlanSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Clavister.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Clavister.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Clavister.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Clavister.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Clavister/Firewall1.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Clavister/Firewall1.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Clavister/Firewall1.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Clavister/Firewall1.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Clavister/Firewall1/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Clavister/Firewall1/Component/CpuSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Clavister/Firewall1/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Clavister/Firewall1/Component/CpuSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Clavister/Firewall1/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Clavister/Firewall1/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Clavister/Firewall1/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Clavister/Firewall1/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Clavister/Firewall1/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Clavister/Firewall1/Component/MemSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Clavister/Firewall1/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Clavister/Firewall1/Component/MemSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cumulus.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cumulus.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Cumulus.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Cumulus.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Device.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Device.pm similarity index 98% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Device.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Device.pm index e5e2006..3f5ab9a 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Device.pm +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Device.pm @@ -75,6 +75,8 @@ sub classify { $self->rebless('Server::WindowsLocal'); } elsif ($self->{productname} =~ /solarislocal/i) { $self->rebless('Server::SolarisLocal'); + } elsif ($self->{productname} =~ /Bluecat/i) { + $self->rebless('Classes::Bluecat'); } elsif ($self->{productname} =~ /Cisco/i) { $self->rebless('Classes::Cisco'); } elsif ($self->{productname} =~ /fujitsu intelligent blade panel 30\/12/i) { @@ -195,6 +197,8 @@ sub classify { } elsif ($self->implements_mib('PHION-MIB') || $self->{productname} =~ /Barracuda/) { $self->rebless('Classes::Barracuda'); + } elsif ($self->implements_mib('VORMETRIC-MIB')) { + $self->rebless('Classes::Vormetric'); } elsif ($self->{productname} =~ /^Linux/i) { $self->rebless('Classes::Server::Linux'); } else { diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/DrayTek.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/DrayTek.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/DrayTek.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/DrayTek.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/DrayTek/Vigor.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/DrayTek/Vigor.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/DrayTek/Vigor.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/DrayTek/Vigor.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/DrayTek/Vigor/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/DrayTek/Vigor/Component/CpuSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/DrayTek/Vigor/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/DrayTek/Vigor/Component/CpuSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/DrayTek/Vigor/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/DrayTek/Vigor/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/DrayTek/Vigor/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/DrayTek/Vigor/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/DrayTek/Vigor/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/DrayTek/Vigor/Component/MemSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/DrayTek/Vigor/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/DrayTek/Vigor/Component/MemSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/ENTITYSENSORMIB.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/ENTITYSENSORMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/ENTITYSENSORMIB.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/ENTITYSENSORMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/ENTITYSENSORMIB/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/ENTITYSENSORMIB/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/ENTITYSENSORMIB/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/ENTITYSENSORMIB/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Eltex.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Eltex.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/Access.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Eltex/Access.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/Access.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Eltex/Access.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/Access/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Eltex/Access/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/Access/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Eltex/Access/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/Aggregation.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Eltex/Aggregation.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/Aggregation.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Eltex/Aggregation.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/Aggregation/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Eltex/Aggregation/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/Aggregation/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Eltex/Aggregation/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/MES/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Eltex/MES/Component/CpuSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/MES/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Eltex/MES/Component/CpuSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/MES/Component/HaSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Eltex/MES/Component/HaSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Eltex/MES/Component/HaSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Eltex/MES/Component/HaSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/ConfigSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP/Component/ConfigSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/ConfigSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP/Component/ConfigSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/ConnectionSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP/Component/ConnectionSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/ConnectionSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP/Component/ConnectionSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP/Component/CpuSubsystem.pm similarity index 97% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP/Component/CpuSubsystem.pm index c6398c9..f64594e 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/CpuSubsystem.pm +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP/Component/CpuSubsystem.pm @@ -23,6 +23,7 @@ sub overall_init { ($self->{delta_sysStatTmIdleCycles} + $self->{delta_sysStatTmSleepCycles}); $self->{cpu_usage} = $self->{delta_sysStatTmTotalCycles} ? (($delta_used_cycles / $self->{delta_sysStatTmTotalCycles}) * 100) : 0; + $self->protect_value('f5_cpu_usage', 'cpu_usage', 'percent'); } sub init { diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/DiskSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP/Component/DiskSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/DiskSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP/Component/DiskSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/FanSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP/Component/FanSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/FanSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP/Component/FanSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/GTM.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP/Component/GTM.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/GTM.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP/Component/GTM.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/HaSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP/Component/HaSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/HaSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP/Component/HaSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/LTM.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP/Component/LTM.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/LTM.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP/Component/LTM.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP/Component/MemSubsystem.pm similarity index 89% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP/Component/MemSubsystem.pm index b5d15e8..aa24e76 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP/Component/MemSubsystem.pm @@ -8,6 +8,8 @@ sub init { sysStatMemoryTotal sysStatMemoryUsed sysHostMemoryTotal sysHostMemoryUsed))); $self->{stat_mem_usage} = ($self->{sysStatMemoryUsed} / $self->{sysStatMemoryTotal}) * 100; $self->{host_mem_usage} = ($self->{sysHostMemoryUsed} / $self->{sysHostMemoryTotal}) * 100; + $self->protect_value('f5_stat_mem_usage', 'stat_mem_usage', 'percent'); + $self->protect_value('f5_host_mem_usage', 'host_mem_usage', 'percent'); } sub check { diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/PowersupplySubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP/Component/PowersupplySubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/PowersupplySubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP/Component/PowersupplySubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/TemperatureSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP/Component/TemperatureSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/TemperatureSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP/Component/TemperatureSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/VipSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP/Component/VipSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/F5/F5BIGIP/Component/VipSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/F5/F5BIGIP/Component/VipSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCEOS.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/FCEOS.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCEOS.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/FCEOS.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCEOS/Components/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/FCEOS/Components/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCEOS/Components/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/FCEOS/Components/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCEOS/Components/FruSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/FCEOS/Components/FruSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCEOS/Components/FruSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/FCEOS/Components/FruSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCMGMT.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/FCMGMT.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCMGMT.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/FCMGMT.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCMGMT/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/FCMGMT/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCMGMT/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/FCMGMT/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCMGMT/Component/SensorSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/FCMGMT/Component/SensorSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FCMGMT/Component/SensorSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/FCMGMT/Component/SensorSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/FabOS.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/FabOS.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/FabOS/Component/CpuSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/FabOS/Component/CpuSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/FabOS/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/FabOS/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS/Component/InterfaceSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/FabOS/Component/InterfaceSubsystem.pm similarity index 58% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS/Component/InterfaceSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/FabOS/Component/InterfaceSubsystem.pm index 6cb521b..3d80e47 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS/Component/InterfaceSubsystem.pm +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/FabOS/Component/InterfaceSubsystem.pm @@ -5,7 +5,7 @@ use strict; sub enrich_interface_cache { my ($self) = @_; $self->get_snmp_tables('SW-MIB', [ - ['fcinterfaces', 'swFCPortTable', 'Monitoring::GLPlugin::SNMP::TableItem', undef, ['swFCPortIndex', 'swFCPortName']], + ['fcinterfaces', 'swFCPortTable', 'Monitoring::GLPlugin::SNMP::TableItem', undef, ['swFCPortIndex', 'swFCPortName', "swFCPortPhyState"]], ]); foreach my $index (keys %{$self->{interface_cache}}) { my $ifDescr = $self->{interface_cache}->{$index}->{ifDescr}; @@ -21,6 +21,20 @@ sub enrich_interface_cache { $fcinterface->{swFCPortIndex}; } } + if (! exists $self->{interface_cache}->{$index}->{swFCPortName}) { + foreach my $fcinterface (@{$self->{fcinterfaces}}) { + if ($fcinterface->{swFCPortName} && + $fcinterface->{swFCPortIndex} == $label + 1 && + $fcinterface->{swFCPortName} eq "port".$label) { + $self->{interface_cache}->{$index}->{swFCPortName} = + $fcinterface->{swFCPortName}; + $self->{interface_cache}->{$index}->{swFCPortIndex} = + $fcinterface->{swFCPortIndex}; + $self->{interface_cache}->{$index}->{swFCPortPhyState} = + $fcinterface->{swFCPortPhyState}; + } + } + } } } } @@ -44,6 +58,9 @@ sub enrich_interface_attributes { if (! $interface->{ifAlias} || $interface->{ifAlias} eq '________') { $interface->{ifAlias} = $interface->{swFCPortName}; } + if ($self->mode =~ /device::interfaces::operstatus/) { + $interface->{swFCPortPhyState} = $self->get_snmp_object("SW-MIB", "swFCPortPhyState", $interface->{swFCPortIndex}); + } } } } @@ -57,8 +74,25 @@ package Classes::FabOS::Component::InterfaceSubsystem::Interface; our @ISA = qw(Classes::IFMIB::Component::InterfaceSubsystem::Interface); use strict; +sub check { + my ($self) = @_; + $self->SUPER::check(); + if ($self->mode =~ /device::interfaces::operstatus/) { + if (exists $self->{swFCPortPhyState}) { + $self->add_info(sprintf "%s has physical status %s", + $self->{swFCPortName}, $self->{swFCPortPhyState}); + if ($self->{swFCPortPhyState} =~ /(laserFault|noLight|portFault|diagFault|invalidModule)/) { + $self->add_critical(); + } elsif ($self->{swFCPortPhyState} =~ /(noSync|noSigDet)/) { + $self->add_warning(); + } elsif ($self->{swFCPortPhyState} =~ /(unknown|noCard|noTransceiver)/) { + $self->add_warning(); + } + } + } +} + package Classes::FabOS::Component::InterfaceSubsystem::Interface::64bit; our @ISA = qw(Classes::IFMIB::Component::InterfaceSubsystem::Interface::64bit); use strict; - diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/FabOS/Component/MemSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/FabOS/Component/MemSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS/Component/SensorSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/FabOS/Component/SensorSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/FabOS/Component/SensorSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/FabOS/Component/SensorSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Fortigate.pm similarity index 83% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Fortigate.pm index e61883e..a000bd9 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate.pm +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Fortigate.pm @@ -12,6 +12,8 @@ sub init { $self->analyze_and_check_mem_subsystem("Classes::Fortigate::Component::MemSubsystem"); } elsif ($self->mode =~ /device::ha::/) { $self->analyze_and_check_mem_subsystem("Classes::Fortigate::Component::HaSubsystem"); + } elsif ($self->mode =~ /device::vpn::sessions/) { + $self->analyze_and_check_config_subsystem("Classes::Fortigate::Component::VpnSubsystem"); } else { $self->no_such_mode(); } diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Fortigate/Component/CpuSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Fortigate/Component/CpuSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/DiskSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Fortigate/Component/DiskSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/DiskSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Fortigate/Component/DiskSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Fortigate/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Fortigate/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/HaSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Fortigate/Component/HaSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/HaSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Fortigate/Component/HaSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Fortigate/Component/MemSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Fortigate/Component/MemSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/SensorSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Fortigate/Component/SensorSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Fortigate/Component/SensorSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Fortigate/Component/SensorSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Fortigate/Component/VpnSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Fortigate/Component/VpnSubsystem.pm new file mode 100644 index 0000000..8c4e201 --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Fortigate/Component/VpnSubsystem.pm @@ -0,0 +1,24 @@ +package Classes::Fortigate::Component::VpnSubsystem; +our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); +use strict; + +sub init { + my ($self, %params) = @_; + my $type = 0; + $self->get_snmp_objects('FORTINET-FORTIGATE-MIB', (qw( + fgSysSesCount))); +} + +sub check { + my ($self) = @_; + my $errorfound = 0; + $self->add_info('checking vpn sessions'); + $self->add_info(sprintf '%u vpn sessions', $self->{fgSysSesCount}); + $self->set_thresholds(warning => 25000, critical => 50000); + $self->add_message($self->check_thresholds($self->{fgSysSesCount})); + $self->add_perfdata( + label => 'vpn_session_count', + value => $self->{fgSysSesCount}, + ); +} + diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Foundry.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Foundry.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Foundry/Component/CpuSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Foundry/Component/CpuSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Foundry/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Foundry/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/FanSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Foundry/Component/FanSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/FanSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Foundry/Component/FanSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Foundry/Component/MemSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Foundry/Component/MemSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/ModuleSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Foundry/Component/ModuleSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/ModuleSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Foundry/Component/ModuleSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/PowersupplySubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Foundry/Component/PowersupplySubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/PowersupplySubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Foundry/Component/PowersupplySubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/SLBSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Foundry/Component/SLBSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/SLBSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Foundry/Component/SLBSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/TemperatureSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Foundry/Component/TemperatureSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Foundry/Component/TemperatureSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Foundry/Component/TemperatureSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HH3C.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HH3C.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HH3C.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HH3C.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HH3C/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HH3C/Component/CpuSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HH3C/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HH3C/Component/CpuSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HH3C/Component/EntitySubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HH3C/Component/EntitySubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HH3C/Component/EntitySubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HH3C/Component/EntitySubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HH3C/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HH3C/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HH3C/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HH3C/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HH3C/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HH3C/Component/MemSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HH3C/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HH3C/Component/MemSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HOSTRESOURCESMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HOSTRESOURCESMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/ClockSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/ClockSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/ClockSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/ClockSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/CpuSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/CpuSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/DeviceSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/DeviceSubsystem.pm similarity index 62% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/DeviceSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/DeviceSubsystem.pm index 94f9fe6..cda5763 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/DeviceSubsystem.pm +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/DeviceSubsystem.pm @@ -58,9 +58,25 @@ sub check { # zum umounten zu bloed sind. $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'sysfs' || $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'sunrpc' || + $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'devtmpfs' || + $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'securityfs' || + $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'cgroup' || + $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'pstore' || + $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'configfs' || + $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'selinuxfs' || + $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'mqueue' || + $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'hugetlbfs' || + $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'systemd-1' || + $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'debugfs' || + $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'binfmt_misc' || + $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'overlay' || + $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'shm' || + $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'rootfs' || + $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} eq 'sysfs' || $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} =~ /CDROM/ || $self->{hrDeviceType} eq 'hrDeviceDiskStorage' && $self->{hrDeviceDescr} =~ /:\// || - $self->{hrDeviceType} eq 'hrDeviceNetwork' && $self->{hrDeviceDescr} eq 'sit0' + $self->{hrDeviceType} eq 'hrDeviceNetwork' && $self->{hrDeviceDescr} eq 'sit0' || + $self->{hrDeviceType} eq 'hrDeviceNetwork' && $self->{hrDeviceDescr} eq 'ip_vti0' )) { $self->add_critical(); } elsif ($self->{hrDeviceStatus} =~ /unknown/) { diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/DiskSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/DiskSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/DiskSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/DiskSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/MemSubsystem.pm similarity index 97% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/MemSubsystem.pm index 89eef94..caaba99 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/MemSubsystem.pm @@ -13,7 +13,7 @@ sub check { 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 --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/UptimeSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/UptimeSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/UptimeSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HOSTRESOURCESMIB/Component/UptimeSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HP.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HP.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP/Procurve.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HP/Procurve.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP/Procurve.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HP/Procurve.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP/Procurve/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HP/Procurve/Component/CpuSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP/Procurve/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HP/Procurve/Component/CpuSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP/Procurve/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HP/Procurve/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP/Procurve/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HP/Procurve/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP/Procurve/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HP/Procurve/Component/MemSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP/Procurve/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HP/Procurve/Component/MemSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP/Procurve/Component/SensorSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HP/Procurve/Component/SensorSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HP/Procurve/Component/SensorSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HP/Procurve/Component/SensorSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HSRP.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HSRP.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HSRP.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HSRP.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HSRP/Component/HSRPSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HSRP/Component/HSRPSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/HSRP/Component/HSRPSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/HSRP/Component/HSRPSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Huawei.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Huawei.pm similarity index 57% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Huawei.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Huawei.pm index b4a782b..772c47c 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Huawei.pm +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Huawei.pm @@ -18,6 +18,20 @@ sub init { $self->analyze_and_check_cpu_subsystem("Classes::Huawei::Component::CpuSubsystem"); } elsif ($self->mode =~ /device::hardware::memory/) { $self->analyze_and_check_mem_subsystem("Classes::Huawei::Component::MemSubsystem"); + } elsif ($self->mode =~ /device::bgp/) { + if ($self->implements_mib('HUAWEI-BGP-VPN-MIB', 'hwBgpPeerAddrFamilyTable')) { + $self->analyze_and_check_interface_subsystem("Classes::Huawei::Component::PeerSubsystem"); + } else { + $self->establish_snmp_secondary_session(); + if ($self->implements_mib('HUAWEI-BGP-VPN-MIB', 'hwBgpPeerAddrFamilyTable')) { + $self->analyze_and_check_interface_subsystem("Classes::Huawei::Component::PeerSubsystem"); + } else { + $self->establish_snmp_session(); + $self->debug("no HUAWEI-BGP-VPN-MIB and/or no hwBgpPeerAddrFamilyTable, fallback"); + $self->no_such_mode(); + } + } + } else { $self->no_such_mode(); } diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Huawei/CloudEngine.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Huawei/CloudEngine.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Huawei/CloudEngine.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Huawei/CloudEngine.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Huawei/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Huawei/Component/CpuSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Huawei/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Huawei/Component/CpuSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Huawei/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Huawei/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Huawei/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Huawei/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Huawei/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Huawei/Component/MemSubsystem.pm similarity index 94% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Huawei/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Huawei/Component/MemSubsystem.pm index 1fe92e1..6428011 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Huawei/Component/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Huawei/Component/MemSubsystem.pm @@ -34,17 +34,17 @@ sub check { $self->{name}, $self->{hwEntityMemUsage}); } $self->set_thresholds( - metric => 'cpu_'.$self->{name}, + metric => 'memory_usage_'.$self->{name}, warning => $self->{hwEntityMemUsageThreshold}, critical => $self->{hwEntityMemUsageThreshold}, ); $self->add_message( $self->check_thresholds( - metric => 'cpu_'.$self->{name}, + metric => 'memory_usage_'.$self->{name}, value => $self->{hwEntityMemUsage} )); $self->add_perfdata( - label => 'cpu_'.$self->{name}, + label => 'memory_usage_'.$self->{name}, value => $self->{hwEntityMemUsage}, uom => '%', ); diff --git a/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Huawei/Component/PeerSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Huawei/Component/PeerSubsystem.pm new file mode 100644 index 0000000..3ad70a0 --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Huawei/Component/PeerSubsystem.pm @@ -0,0 +1,318 @@ +package Classes::Huawei::Component::PeerSubsystem; +our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); +use strict; + +our $errorcodes = { + # REFERENCE "RFC 4271, Section 4.5." + 0 => { + 0 => 'No Error', + }, + 1 => { + 0 => 'MESSAGE Header Error', + 1 => 'Connection Not Synchronized', + 2 => 'Bad Message Length', + 3 => 'Bad Message Type', + }, + 2 => { + 0 => 'OPEN Message Error', + 1 => 'Unsupported Version Number', + 2 => 'Bad Peer AS', + 3 => 'Bad BGP Identifier', + 4 => 'Unsupported Optional Parameter', + 5 => '[Deprecated => see Appendix A]', + 6 => 'Unacceptable Hold Time', + }, + 3 => { + 0 => 'UPDATE Message Error', + 1 => 'Malformed Attribute List', + 2 => 'Unrecognized Well-known Attribute', + 3 => 'Missing Well-known Attribute', + 4 => 'Attribute Flags Error', + 5 => 'Attribute Length Error', + 6 => 'Invalid ORIGIN Attribute', + 7 => '[Deprecated => see Appendix A]', + 8 => 'Invalid NEXT_HOP Attribute', + 9 => 'Optional Attribute Error', + 10 => 'Invalid Network Field', + 11 => 'Malformed AS_PATH', + }, + 4 => { + 0 => 'Hold Timer Expired', + }, + 5 => { + 0 => 'Finite State Machine Error', + }, + 6 => { + 0 => 'Cease', + 1 => 'Maximum Number of Prefixes Reached', + 2 => 'Administrative Shutdown', + 3 => 'Peer De-configured', + 4 => 'Administrative Reset', + 5 => 'Connection Rejected', + 6 => 'Other Configuration Change', + 7 => 'Connection Collision Resolution', + 8 => 'Out of Resources', + }, +}; + +sub init { + my ($self) = @_; + $self->{peers} = []; + $self->implements_mib('INET-ADDRESS-MIB'); + $self->get_snmp_tables('HUAWEI-BGP-VPN-MIB', [ + ['peers', 'hwBgpPeerAddrFamilyTable+hwBgpPeerTable', 'Classes::Huawei::Component::PeerSubsystem::Peer', sub { + my $o = shift; + # regexp -> arschlecken! + if ($self->opts->name) { + return $self->filter_name($o->compact_v6($o->{hwBgpPeerRemoteAddr})); + } else { + return 1; + } + }], + ['sessions', 'hwBgpPeerSessionTable', 'Monitoring::GLPlugin::SNMP::TableItem'], + ['extsessions', 'hwBgpPeerSessionExtTable', 'Monitoring::GLPlugin::SNMP::TableItem'], + ]); +} + +sub check { + my ($self) = @_; + my $errorfound = 0; + $self->add_info('checking bgp peers'); + if ($self->mode =~ /peer::list/) { + foreach (sort {$a->{hwBgpPeerRemoteAddr} cmp $b->{hwBgpPeerRemoteAddr}} @{$self->{peers}}) { + printf "%s\n", $_->{hwBgpPeerRemoteAddr}; + #$_->list(); + } + $self->add_ok("have fun"); + } elsif ($self->mode =~ /peer::count/) { + $self->add_info(sprintf "found %d peers", scalar(@{$self->{peers}})); + $self->set_thresholds(warning => '1:', critical => '1:'); + $self->add_message($self->check_thresholds(scalar(@{$self->{peers}}))); + $self->add_perfdata( + label => 'peers', + value => scalar(@{$self->{peers}}), + ); + } elsif ($self->mode =~ /peer::watch/) { + # take a snapshot of the peer list. -> good baseline + # warning if there appear peers, mitigate to ok + # critical if warn/crit percent disappear + $self->{numOfPeers} = scalar (@{$self->{peers}}); + $self->{peerNameList} = [map { $_->{hwBgpPeerRemoteAddr} } @{$self->{peers}}]; + $self->opts->override_opt('lookback', 3600) if ! $self->opts->lookback; + if ($self->opts->reset) { + my $statefile = $self->create_statefile(name => 'bgppeerlist', lastarray => 1); + unlink $statefile if -f $statefile; + } + $self->valdiff({name => 'bgppeerlist', lastarray => 1}, + qw(peerNameList numOfPeers)); + my $problem = 0; + if ($self->opts->warning || $self->opts->critical) { + $self->set_thresholds(warning => $self->opts->warning, + critical => $self->opts->critical); + my $before = $self->{numOfPeers} - scalar(@{$self->{delta_found_peerNameList}}) + scalar(@{$self->{delta_lost_peerNameList}}); + # use own delta_numOfPeers, because the glplugin version treats + # negative deltas as overflows + $self->{delta_numOfPeers} = $self->{numOfPeers} - $before; + if ($self->opts->units && $self->opts->units eq "%") { + my $delta_pct = $before ? (($self->{delta_numOfPeers} / $before) * 100) : 0; + $self->add_message($self->check_thresholds($delta_pct), + sprintf "%.2f%% delta, before: %d, now: %d", $delta_pct, $before, $self->{numOfPeers}); + $problem = $self->check_thresholds($delta_pct); + } else { + $self->add_message($self->check_thresholds($self->{delta_numOfPeers}), + sprintf "%d delta, before: %d, now: %d", $self->{delta_numOfPeers}, $before, $self->{numOfPeers}); + $problem = $self->check_thresholds($self->{delta_numOfPeers}); + } + if (scalar(@{$self->{delta_found_peerNameList}}) > 0) { + $self->add_ok(sprintf 'found: %s', + join(", ", @{$self->{delta_found_peerNameList}})); + } + if (scalar(@{$self->{delta_lost_peerNameList}}) > 0) { + $self->add_ok(sprintf 'lost: %s', + join(", ", @{$self->{delta_lost_peerNameList}})); + } + } else { + if (scalar(@{$self->{delta_found_peerNameList}}) > 0) { + $self->add_warning(sprintf '%d new bgp peers (%s)', + scalar(@{$self->{delta_found_peerNameList}}), + join(", ", @{$self->{delta_found_peerNameList}})); + $problem = 1; + } + if (scalar(@{$self->{delta_lost_peerNameList}}) > 0) { + $self->add_critical(sprintf '%d bgp peers missing (%s)', + scalar(@{$self->{delta_lost_peerNameList}}), + join(", ", @{$self->{delta_lost_peerNameList}})); + $problem = 2; + } + $self->add_ok(sprintf 'found %d bgp peers', scalar (@{$self->{peers}})); + } + if ($problem) { # relevant only for lookback=9999 and support contract customers + $self->valdiff({name => 'bgppeerlist', lastarray => 1, freeze => 1}, + qw(peerNameList numOfPeers)); + } else { + $self->valdiff({name => 'bgppeerlist', lastarray => 1, freeze => 2}, + qw(peerNameList numOfPeers)); + } + $self->add_perfdata( + label => 'num_peers', + value => scalar (@{$self->{peers}}), + ); + } else { + if (scalar(@{$self->{peers}}) == 0) { + $self->add_unknown('no peers'); + return; + } + # es gibt + # kleine installation: 1 peer zu 1 as, evt 2. as als fallback + # grosse installation: n peer zu 1 as, alternative routen zum provider + # n peer zu m as, mehrere provider, mehrere alternativrouten + # 1 ausfall on 4 peers zu as ist egal + my $as_numbers = {}; + foreach (@{$self->{peers}}) { + $_->check(); + if (! exists $as_numbers->{$_->{hwBgpPeerRemoteAs}}->{peers}) { + $as_numbers->{$_->{hwBgpPeerRemoteAs}}->{peers} = []; + $as_numbers->{$_->{hwBgpPeerRemoteAs}}->{availability} = 100; + } + push(@{$as_numbers->{$_->{hwBgpPeerRemoteAs}}->{peers}}, $_); + } + if ($self->opts->name2) { + $self->clear_ok(); + $self->clear_critical(); + if ($self->opts->name2 eq "_ALL_") { + $self->opts->override_opt("name2", join(",", keys %{$as_numbers})); + } + foreach my $as (split(",", $self->opts->name2)) { + my $asname = ""; + if ($as =~ /(\d+)=(\w+)/) { + $as = $1; + $asname = $2; + } + if (exists $as_numbers->{$as}) { + my $num_peers = scalar(@{$as_numbers->{$as}->{peers}}); + my $num_ok_peers = scalar(grep { $_->{hwBgpPeerFaulty} == 0 } @{$as_numbers->{$as}->{peers}}); + my $num_admdown_peers = scalar(grep { $_->{hwBgpPeerAdminStatus} eq "stop" } @{$as_numbers->{$as}->{peers}}); + $as_numbers->{$as}->{availability} = 100 * $num_ok_peers / $num_peers; + $self->set_thresholds(warning => "100:", critical => "50:"); + $self->add_message($self->check_thresholds($as_numbers->{$as}->{availability}), + sprintf "%d from %d connections to %s are up (%.2f%%%s)", + $num_ok_peers, $num_peers, $asname ? $asname : "AS".$as, + $as_numbers->{$as}->{availability}, + $num_admdown_peers ? sprintf(", but %d are admin down and counted as up!", $num_admdown_peers) : ""); + } else { + $self->add_critical(sprintf 'found no peer for %s', $asname ? $asname : "AS".$as); + } + } + } + if ($self->opts->report eq "short") { + $self->clear_ok(); + $self->add_ok('no problems') if ! $self->check_messages(); + } + } +} + + +package Classes::Huawei::Component::PeerSubsystem::Peer; +our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); +use strict; +use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 }; + +sub finish { + my ($self) = @_; + my @tmp_indices = @{$self->{indices}}; + my $last_tmp = scalar(@tmp_indices) - 1; + $self->{hwBgpPeerInstanceId} = $tmp_indices[0]; + shift @tmp_indices; + $self->{hwBgpPeerAddrFamilyAfi} = $tmp_indices[0]; + shift @tmp_indices; + $self->{hwBgpPeerAddrFamilySafi} = $tmp_indices[0]; + shift @tmp_indices; + $self->{hwBgpPeerType} = $self->mibs_and_oids_definition( + 'INET-ADDRESS-MIB', 'InetAddressType', $tmp_indices[0]); + shift @tmp_indices; + $self->{hwBgpPeerIPAddr} = $self->mibs_and_oids_definition( + 'INET-ADDRESS-MIB', 'InetAddressMaker', + $self->{hwBgpPeerType}, @tmp_indices); + + $self->{hwBgpPeerLastError} |= "00 00"; + my $errorcode = 0; + my $subcode = 0; + if (lc $self->{hwBgpPeerLastError} =~ /([0-9a-f]+)\s+([0-9a-f]+)/) { + $errorcode = hex($1) * 1; + $subcode = hex($2) * 1; + } + $self->{hwBgpPeerLastError} = $Classes::Huawei::Component::PeerSubsystem::errorcodes->{$errorcode}->{$subcode}; + $self->{hwBgpPeerRemoteAsName} = ""; + $self->{hwBgpPeerRemoteAsImportant} = 0; # if named in --name2 + $self->{hwBgpPeerFaulty} = 0; + my @parts = gmtime($self->{hwBgpPeerFsmEstablishedTime}); + $self->{hwBgpPeerFsmEstablishedTime} = sprintf ("%dd, %dh, %dm, %ds",@parts[7,2,1,0]); + + if ($self->{hwBgpPeerType} eq "ipv6") { + $self->{hwBgpPeerRemoteAddrCompact} = $self->compact_v6($self->{hwBgpPeerRemoteAddr}); + #$self->{hwBgpPeerSessionLocalAddr} = $self->compact_v6($self->{hwBgpPeerSessionLocalAddr}); + } else { + $self->{hwBgpPeerRemoteAddrCompact} = $self->{hwBgpPeerRemoteAddr}; + #$self->{hwBgpPeerSessionLocalAddrCompact} = $self->{hwBgpPeerSessionLocalAddr}; + } + # bin zu faul, HwBgpPeerSessionEntry zu holen (abgesehen davon, daß die auch + # leer sein kann). Wer die hwBgpPeerSessionLocalAddr unbedingt haben will, + # soll schon mal anfangen zu sparen. Das ist teuer. Und wer featurebettelt, + # hat verschissen und kommt auf die Spamliste. + $self->{hwBgpPeerSessionLocalAddr} = "undefined"; +} + +sub check { + my ($self) = @_; + if ($self->opts->name2) { + foreach my $as (split(",", $self->opts->name2)) { + if ($as =~ /(\d+)=(\w+)/) { + $as = $1; + $self->{hwBgpPeerRemoteAsName} = ", ".$2; + } else { + $self->{hwBgpPeerRemoteAsName} = ""; + } + if ($as eq "_ALL_" || $as == $self->{hwBgpPeerRemoteAs}) { + $self->{hwBgpPeerRemoteAsImportant} = 1; + } + } + } else { + $self->{hwBgpPeerRemoteAsImportant} = 1; + } + if ($self->{hwBgpPeerState} eq "established") { + $self->add_ok(sprintf "peer %s (AS%s) state is %s since %s", + $self->{hwBgpPeerRemoteAddr}, + $self->{hwBgpPeerRemoteAs}.$self->{hwBgpPeerRemoteAsName}, + $self->{hwBgpPeerState}, + $self->{hwBgpPeerFsmEstablishedTime} + ); + } elsif ($self->{hwBgpPeerAdminStatus} eq "stop") { + # admin down is by default critical, but can be mitigated + $self->add_message( + defined $self->opts->mitigation() ? $self->opts->mitigation() : + $self->{hwBgpPeerRemoteAsImportant} ? WARNING : OK, + sprintf "peer %s (AS%s) state is %s (is admin down)", + $self->{hwBgpPeerRemoteAddr}, + $self->{hwBgpPeerRemoteAs}.$self->{hwBgpPeerRemoteAsName}, + $self->{hwBgpPeerState} + ); + $self->{hwBgpPeerFaulty} = + defined $self->opts->mitigation() && $self->opts->mitigation() eq "ok" ? 0 : + $self->{hwBgpPeerRemoteAsImportant} ? 1 : 0; + } else { + # hwBgpPeerLastError may be undef, at least under the following circumstances + # hwBgpPeerRemoteAsName is "", hwBgpPeerAdminStatus is "start", + # hwBgpPeerState is "active" + $self->add_message($self->{hwBgpPeerRemoteAsImportant} ? CRITICAL : OK, + sprintf "peer %s (AS%s) state is %s (last error: %s, local address: %s)", + $self->{hwBgpPeerRemoteAddr}, + $self->{hwBgpPeerRemoteAs}.$self->{hwBgpPeerRemoteAsName}, + $self->{hwBgpPeerState}, + $self->{hwBgpPeerLastError}||"no error", + $self->{hwBgpPeerSessionLocalAddr} + ); + $self->{hwBgpPeerFaulty} = $self->{hwBgpPeerRemoteAsImportant} ? 1 : 0; + } +} + + diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IFMIB.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/IFMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IFMIB.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/IFMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IFMIB/Component/InterfaceSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/IFMIB/Component/InterfaceSubsystem.pm similarity index 71% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IFMIB/Component/InterfaceSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/IFMIB/Component/InterfaceSubsystem.pm index c0a8cbb..7261a2c 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IFMIB/Component/InterfaceSubsystem.pm +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/IFMIB/Component/InterfaceSubsystem.pm @@ -12,65 +12,67 @@ sub init { my @ethertablehc_columns = qw(); my @rmontable_columns = qw(); my @ipaddress_columns = qw(); + + my @iftable_traffic_columns = qw(ifInOctets ifOutOctets ifSpeed); + my @iftable_traffic_hc_columns = qw(ifHCInOctets ifHCOutOctets ifHighSpeed); + my @iftable_status_columns = qw(ifOperStatus ifAdminStatus); + my @iftable_packets_columns = qw(ifInUcastPkts ifOutUcastPkts + ifInMulticastPkts ifOutMulticastPkts + ifInBroadcastPkts ifOutBroadcastPkts); + my @iftable_packets_hc_columns = qw(ifHCInUcastPkts ifHCOutUcastPkts + ifHCInMulticastPkts ifHCOutMulticastPkts + ifHCInBroadcastPkts ifHCOutBroadcastPkts); + my @iftable_error_columns = qw(ifInErrors ifOutErrors); + my @iftable_discard_columns = qw(ifInDiscards ifOutDiscards); + $self->implements_mib('INET-ADDRESS-MIB'); if ($self->mode =~ /device::interfaces::list/) { } elsif ($self->mode =~ /device::interfaces::complete/) { - push(@iftable_columns, qw( - ifInOctets ifOutOctets ifSpeed ifOperStatus ifAdminStatus - ifHCInOctets ifHCOutOctets ifHighSpeed - ifInErrors ifOutErrors - ifInDiscards ifOutDiscards - ifInMulticastPkts ifOutMulticastPkts - ifInBroadcastPkts ifOutBroadcastPkts - ifInUcastPkts ifOutUcastPkts - ifHCInMulticastPkts ifHCOutMulticastPkts - ifHCInBroadcastPkts ifHCOutBroadcastPkts - ifHCInUcastPkts ifHCOutUcastPkts - )); + push(@iftable_columns, @iftable_status_columns); + push(@iftable_columns, @iftable_traffic_columns); + push(@iftable_columns, @iftable_packets_columns); + push(@iftable_columns, @iftable_traffic_hc_columns); + push(@iftable_columns, @iftable_packets_hc_columns); + push(@iftable_columns, @iftable_error_columns); + push(@iftable_columns, @iftable_discard_columns); # kostenpflichtiges feature # push(@ethertable_columns, qw( # dot3StatsDuplexStatus #)); } elsif ($self->mode =~ /device::interfaces::usage/) { - push(@iftable_columns, qw( - ifInOctets ifOutOctets ifSpeed ifOperStatus - ifHCInOctets ifHCOutOctets ifHighSpeed - )); + push(@iftable_columns, @iftable_status_columns); + push(@iftable_columns, @iftable_traffic_columns); + push(@iftable_columns, @iftable_traffic_hc_columns); } elsif ($self->mode =~ /device::interfaces::errors/) { - push(@iftable_columns, qw( - ifInErrors ifOutErrors - )); + push(@iftable_columns, @iftable_status_columns); + push(@iftable_columns, @iftable_traffic_columns); + push(@iftable_columns, @iftable_packets_columns); + push(@iftable_columns, @iftable_traffic_hc_columns); + push(@iftable_columns, @iftable_packets_hc_columns); + push(@iftable_columns, @iftable_error_columns); } elsif ($self->mode =~ /device::interfaces::discards/) { - push(@iftable_columns, qw( - ifInDiscards ifOutDiscards - )); + push(@iftable_columns, @iftable_status_columns); + push(@iftable_columns, @iftable_traffic_columns); + push(@iftable_columns, @iftable_packets_columns); + push(@iftable_columns, @iftable_traffic_hc_columns); + push(@iftable_columns, @iftable_packets_hc_columns); + push(@iftable_columns, @iftable_discard_columns); } elsif ($self->mode =~ /device::interfaces::broadcast/) { - push(@iftable_columns, qw( - ifInMulticastPkts ifOutMulticastPkts - ifInBroadcastPkts ifOutBroadcastPkts - ifInUcastPkts ifOutUcastPkts - ifHCInMulticastPkts ifHCOutMulticastPkts - ifHCInBroadcastPkts ifHCOutBroadcastPkts - ifHCInUcastPkts ifHCOutUcastPkts - )); + push(@iftable_columns, @iftable_status_columns); + push(@iftable_columns, @iftable_traffic_columns); + push(@iftable_columns, @iftable_packets_columns); + push(@iftable_columns, @iftable_traffic_hc_columns); + push(@iftable_columns, @iftable_packets_hc_columns); } elsif ($self->mode =~ /device::interfaces::operstatus/) { - push(@iftable_columns, qw( - ifOperStatus ifAdminStatus - )); + push(@iftable_columns, @iftable_status_columns); } elsif ($self->mode =~ /device::interfaces::availability/) { push(@iftable_columns, qw( ifType ifOperStatus ifAdminStatus ifLastChange ifHighSpeed ifSpeed )); } elsif ($self->mode =~ /device::interfaces::etherstats/) { - push(@iftable_columns, qw( - ifOperStatus ifAdminStatus - ifInMulticastPkts ifOutMulticastPkts - ifInBroadcastPkts ifOutBroadcastPkts - ifInUcastPkts ifOutUcastPkts - ifHCInMulticastPkts ifHCOutMulticastPkts - ifHCInBroadcastPkts ifHCOutBroadcastPkts - ifHCInUcastPkts ifHCOutUcastPkts - )); + push(@iftable_columns, @iftable_status_columns); + push(@iftable_columns, @iftable_packets_columns); + push(@iftable_columns, @iftable_packets_hc_columns); push(@ethertable_columns, qw( dot3StatsAlignmentErrors dot3StatsFCSErrors dot3StatsSingleCollisionFrames dot3StatsMultipleCollisionFrames @@ -178,14 +180,27 @@ sub init { @indices = (); $self->bulk_is_baeh(10); } + @iftable_columns = do { my %seen; grep { !$seen{$_}++ } @iftable_columns }; # uniq if ((! $self->opts->name && ! $self->opts->name3) || scalar(@indices) > 0) { my @save_indices = @indices; # die werden in get_snmp_table_objects geshiftet + if ($plus_admin_up || $plus_oper_up) { + # mit minimalen columns schnell vorfiltern -> @indices evt. reduzieren + # nicht fuer only_admin/oper_up, sonst wird aus @indices = () + # eine riesige liste, deren abarbeitung laenger dauert als + # ein get_table bei @indices = () + my @up_indices = (); + foreach ($self->get_snmp_table_objects( + 'IFMIB', 'ifTable+ifXTable', \@indices, \@iftable_status_columns)) { + next if $plus_admin_up && $_->{ifAdminStatus} ne 'up'; + next if $plus_oper_up && $_->{ifOperStatus} ne 'up'; + push(@up_indices, [$_->{indices}->[0]]); + } + @indices = @up_indices; + } foreach ($self->get_snmp_table_objects( 'IFMIB', 'ifTable+ifXTable', \@indices, \@iftable_columns)) { next if $only_admin_up && $_->{ifAdminStatus} ne 'up'; next if $only_oper_up && $_->{ifOperStatus} ne 'up'; - next if $plus_admin_up && $_->{ifAdminStatus} ne 'up'; - next if $plus_oper_up && $_->{ifOperStatus} ne 'up'; $self->make_ifdescr_unique($_); $self->enrich_interface_attributes($_); my $interface_class = ref($self)."::Interface"; @@ -238,34 +253,38 @@ sub init { if (@ethertable_columns) { # es gibt interfaces mit ifSpeed == 4294967295 # aber nix in dot3HCStatsTable. also dann dot3StatsTable fuer alle - foreach my $etherstat ($self->get_snmp_table_objects( - 'EtherLike-MIB', 'dot3StatsTable', \@etherindices, \@ethertable_columns)) { - foreach my $interface (@{$self->{interfaces}}) { - if ($interface->{ifIndex} == $etherstat->{flat_indices}) { - foreach my $key (grep /^dot3/, keys %{$etherstat}) { - $interface->{$key} = $etherstat->{$key}; - push(@{$interface->{columns}}, $key); + if ($self->implements_mib('EtherLike-MIB', 'dot3StatsTable')) { + foreach my $etherstat ($self->get_snmp_table_objects( + 'EtherLike-MIB', 'dot3StatsTable', \@etherindices, \@ethertable_columns)) { + foreach my $interface (@{$self->{interfaces}}) { + if ($interface->{ifIndex} == $etherstat->{flat_indices}) { + foreach my $key (grep /^dot3/, keys %{$etherstat}) { + $interface->{$key} = $etherstat->{$key}; + push(@{$interface->{columns}}, $key); + } + last; } - last; } } } } if (@ethertablehc_columns && scalar(@etherhcindices)) { - foreach my $etherstat ($self->get_snmp_table_objects( - 'EtherLike-MIB', 'dot3HCStatsTable', \@etherhcindices, \@ethertablehc_columns)) { - foreach my $interface (@{$self->{interfaces}}) { - if ($interface->{ifIndex} == $etherstat->{flat_indices}) { - foreach my $key (grep /^dot3/, keys %{$etherstat}) { - $interface->{$key} = $etherstat->{$key}; - push(@{$interface->{columns}}, $key); + if ($self->implements_mib('EtherLike-MIB', 'dot3HCStatsTable')) { + foreach my $etherstat ($self->get_snmp_table_objects( + 'EtherLike-MIB', 'dot3HCStatsTable', \@etherhcindices, \@ethertablehc_columns)) { + foreach my $interface (@{$self->{interfaces}}) { + if ($interface->{ifIndex} == $etherstat->{flat_indices}) { + foreach my $key (grep /^dot3/, keys %{$etherstat}) { + $interface->{$key} = $etherstat->{$key}; + push(@{$interface->{columns}}, $key); + } + if (grep /^dot3HCStatsFCSErrors/, @{$interface->{columns}}) { + @{$interface->{columns}} = grep { + $_ if $_ ne 'dot3StatsFCSErrors'; + } @{$interface->{columns}}; + } + last; } - if (grep /^dot3HCStatsFCSErrors/, @{$interface->{columns}}) { - @{$interface->{columns}} = grep { - $_ if $_ ne 'dot3StatsFCSErrors'; - } @{$interface->{columns}}; - } - last; } } } @@ -277,16 +296,18 @@ sub init { $self->override_opt('regexp', 1); } # Value von etherStatsDataSource entspricht ifIndex 1.3.6.1.2.1.2.2.1.1.idx - foreach my $etherstat ($self->get_snmp_table_objects_with_cache( - 'RMON-MIB', 'etherStatsTable', 'etherStatsDataSource', \@rmontable_columns, $if_has_changed ? 1 : -1)) { - $etherstat->{etherStatsDataSource} =~ s/^\.//g; - foreach my $interface (@{$self->{interfaces}}) { - if ('1.3.6.1.2.1.2.2.1.1.'.$interface->{ifIndex} eq $etherstat->{etherStatsDataSource}) { - foreach my $key (grep /^etherStats/, keys %{$etherstat}) { - $interface->{$key} = $etherstat->{$key}; - push(@{$interface->{columns}}, $key); + if ($self->implements_mib('RMON-MIB', 'etherStatsTable')) { + foreach my $etherstat ($self->get_snmp_table_objects_with_cache( + 'RMON-MIB', 'etherStatsTable', 'etherStatsDataSource', \@rmontable_columns, $if_has_changed ? 1 : -1)) { + $etherstat->{etherStatsDataSource} =~ s/^\.//g; + foreach my $interface (@{$self->{interfaces}}) { + if ('1.3.6.1.2.1.2.2.1.1.'.$interface->{ifIndex} eq $etherstat->{etherStatsDataSource}) { + foreach my $key (grep /^etherStats/, keys %{$etherstat}) { + $interface->{$key} = $etherstat->{$key}; + push(@{$interface->{columns}}, $key); + } + last; } - last; } } } @@ -683,7 +704,26 @@ sub finish { $self->{ifAlias} =~ s/\|/!/g if $self->{ifAlias}; bless $self, 'Classes::IFMIB::Component::InterfaceSubsystem::Interface::64bit'; } - if ((! exists $self->{ifInOctets} && ! exists $self->{ifOutOctets} && + if ($self->mode =~ /device::interfaces::(broadcast|complete)/ && + ! exists $self->{ifInErrors} && ! exists $self->{ifOutErrors} && + ! exists $self->{ifInDiscards} && ! exists $self->{ifOutDiscards} && + $self->{ifDescr} =~ /.*Ethernet[\/\d]+\.\d+$/) { + # Urspruenglich wies sowas klar auf so Pseudo-bundle-channel-sonstwas hin. + # Aber dann tauchte im Schwaebischen ein TenGigabitEthernet auf, bei dem + # Errors und Discards fehlten. Erst dachte ich, die haetten sich gesagt: + # "Mir naehmet desch guenschtigere Modell ohne Counter", dann dachte ich, + # die haben billigen Chinaschrott gekauft, weil ifHighSpeed statt 10000 + # bei den drei in Frage kommenden Interfaces nur 275, 1000 und 25 anzeigt. + # Aber anscheinend hat das alles seine Richtigkeit in einem Szenario wie + # 1 Haupt-Interface mit 3 VRFs mit jeweils eigenen VLANs + # also TenGigabitEthernet0/0/0.10, TenGigabitEthernet0/0/0.20 und + # TenGigabitEthernet0/0/0.30 unter TenGigabitEthernet0/0/0, laut + # ifAlias so MPLS mit Vodafone. + $self->{ifInErrors} = 0; + $self->{ifOutErrors} = 0; + $self->{ifInDiscards} = 0; + $self->{ifOutDiscards} = 0; + } elsif ((! exists $self->{ifInOctets} && ! exists $self->{ifOutOctets} && $self->mode =~ /device::interfaces::(usage|complete)/) || (! exists $self->{ifInErrors} && ! exists $self->{ifOutErrors} && $self->mode =~ /device::interfaces::(errors|complete)/) || @@ -700,6 +740,74 @@ sub finish { $self->init(); } +sub calc_usage { + my ($self) = @_; + $self->valdiff({name => $self->{ifIndex}.'#'.$self->{ifDescr}}, qw(ifInOctets ifOutOctets)); + $self->{delta_ifInBits} = $self->{delta_ifInOctets} * 8; + $self->{delta_ifOutBits} = $self->{delta_ifOutOctets} * 8; + if ($self->{ifSpeed} == 0) { + # vlan graffl + $self->{inputUtilization} = 0; + $self->{outputUtilization} = 0; + $self->{maxInputRate} = 0; + $self->{maxOutputRate} = 0; + } else { + $self->{inputUtilization} = 100 * $self->{delta_ifInBits} / + ($self->{delta_timestamp} * $self->{ifSpeed}); + $self->{outputUtilization} = 100 * $self->{delta_ifOutBits} / + ($self->{delta_timestamp} * $self->{ifSpeed}); + $self->{maxInputRate} = $self->{ifSpeed}; + $self->{maxOutputRate} = $self->{ifSpeed}; + } + if (defined $self->opts->ifspeed) { + $self->override_opt('ifspeedin', $self->opts->ifspeed); + $self->override_opt('ifspeedout', $self->opts->ifspeed); + } + if (defined $self->opts->ifspeedin) { + $self->{inputUtilization} = 100 * $self->{delta_ifInBits} / + ($self->{delta_timestamp} * $self->opts->ifspeedin); + $self->{maxInputRate} = $self->opts->ifspeedin; + } + if (defined $self->opts->ifspeedout) { + $self->{outputUtilization} = 100 * $self->{delta_ifOutBits} / + ($self->{delta_timestamp} * $self->opts->ifspeedout); + $self->{maxOutputRate} = $self->opts->ifspeedout; + } + $self->{inputRate} = $self->{delta_ifInBits} / $self->{delta_timestamp}; + $self->{outputRate} = $self->{delta_ifOutBits} / $self->{delta_timestamp}; + $self->override_opt("units", "bit") if ! $self->opts->units; + $self->{inputRate} /= $self->number_of_bits($self->opts->units); + $self->{outputRate} /= $self->number_of_bits($self->opts->units); + $self->{maxInputRate} /= $self->number_of_bits($self->opts->units); + $self->{maxOutputRate} /= $self->number_of_bits($self->opts->units); + if ($self->{ifOperStatus} eq 'down') { + $self->{inputUtilization} = 0; + $self->{outputUtilization} = 0; + $self->{inputRate} = 0; + $self->{outputRate} = 0; + $self->{maxInputRate} = 0; + $self->{maxOutputRate} = 0; + } +} + +sub get_mub_pkts { + my ($self) = @_; + foreach my $key (qw(ifInUcastPkts + ifInMulticastPkts ifInBroadcastPkts ifOutUcastPkts + ifOutMulticastPkts ifOutBroadcastPkts)) { + $self->{$key} = 0 if (! exists $self->{$key} || ! defined $self->{$key}); + } + $self->valdiff({name => 'mub_'.$self->{ifDescr}}, qw(ifInUcastPkts + ifInMulticastPkts ifInBroadcastPkts ifOutUcastPkts + ifOutMulticastPkts ifOutBroadcastPkts)); + $self->{delta_ifInPkts} = $self->{delta_ifInUcastPkts} + + $self->{delta_ifInMulticastPkts} + + $self->{delta_ifInBroadcastPkts}; + $self->{delta_ifOutPkts} = $self->{delta_ifOutUcastPkts} + + $self->{delta_ifOutMulticastPkts} + + $self->{delta_ifOutBroadcastPkts}; +} + sub init { my ($self) = @_; if ($self->mode =~ /device::interfaces::complete/) { @@ -716,81 +824,42 @@ sub init { } $Monitoring::GLPlugin::mode = "device::interfaces::complete"; } elsif ($self->mode =~ /device::interfaces::usage/) { - $self->valdiff({name => $self->{ifIndex}.'#'.$self->{ifDescr}}, qw(ifInOctets ifOutOctets)); - $self->{delta_ifInBits} = $self->{delta_ifInOctets} * 8; - $self->{delta_ifOutBits} = $self->{delta_ifOutOctets} * 8; - if ($self->{ifSpeed} == 0) { - # vlan graffl - $self->{inputUtilization} = 0; - $self->{outputUtilization} = 0; - $self->{maxInputRate} = 0; - $self->{maxOutputRate} = 0; - } else { - $self->{inputUtilization} = 100 * $self->{delta_ifInBits} / - ($self->{delta_timestamp} * $self->{ifSpeed}); - $self->{outputUtilization} = 100 * $self->{delta_ifOutBits} / - ($self->{delta_timestamp} * $self->{ifSpeed}); - $self->{maxInputRate} = $self->{ifSpeed}; - $self->{maxOutputRate} = $self->{ifSpeed}; - } - if (defined $self->opts->ifspeed) { - $self->override_opt('ifspeedin', $self->opts->ifspeed); - $self->override_opt('ifspeedout', $self->opts->ifspeed); - } - if (defined $self->opts->ifspeedin) { - $self->{inputUtilization} = 100 * $self->{delta_ifInBits} / - ($self->{delta_timestamp} * $self->opts->ifspeedin); - $self->{maxInputRate} = $self->opts->ifspeedin; - } - if (defined $self->opts->ifspeedout) { - $self->{outputUtilization} = 100 * $self->{delta_ifOutBits} / - ($self->{delta_timestamp} * $self->opts->ifspeedout); - $self->{maxOutputRate} = $self->opts->ifspeedout; - } - $self->{inputRate} = $self->{delta_ifInBits} / $self->{delta_timestamp}; - $self->{outputRate} = $self->{delta_ifOutBits} / $self->{delta_timestamp}; - $self->override_opt("units", "bit") if ! $self->opts->units; - $self->{inputRate} /= $self->number_of_bits($self->opts->units); - $self->{outputRate} /= $self->number_of_bits($self->opts->units); - $self->{maxInputRate} /= $self->number_of_bits($self->opts->units); - $self->{maxOutputRate} /= $self->number_of_bits($self->opts->units); - if ($self->{ifOperStatus} eq 'down') { - $self->{inputUtilization} = 0; - $self->{outputUtilization} = 0; - $self->{inputRate} = 0; - $self->{outputRate} = 0; - $self->{maxInputRate} = 0; - $self->{maxOutputRate} = 0; - } + $self->calc_usage(); } elsif ($self->mode =~ /device::interfaces::errors/) { + $self->calc_usage() if ! defined $self->{inputUtilization}; + $self->get_mub_pkts() if ! defined $self->{delta_ifOutPkts}; $self->valdiff({name => $self->{ifDescr}}, qw(ifInErrors ifOutErrors)); + $self->{inputErrorsPercent} = $self->{delta_ifInPkts} == 0 ? 0 : + 100 * $self->{delta_ifInErrors} / $self->{delta_ifInPkts}; + $self->{outputErrorsPercent} = $self->{delta_ifOutPkts} == 0 ? 0 : + 100 * $self->{delta_ifOutErrors} / $self->{delta_ifOutPkts}; $self->{inputErrorRate} = $self->{delta_ifInErrors} / $self->{delta_timestamp}; $self->{outputErrorRate} = $self->{delta_ifOutErrors} / $self->{delta_timestamp}; } elsif ($self->mode =~ /device::interfaces::discards/) { + $self->calc_usage() if ! defined $self->{inputUtilization}; + $self->get_mub_pkts() if ! defined $self->{delta_ifOutPkts}; $self->valdiff({name => $self->{ifDescr}}, qw(ifInDiscards ifOutDiscards)); + $self->{inputDiscardsPercent} = $self->{delta_ifInPkts} == 0 ? 0 : + 100 * $self->{delta_ifInDiscards} / $self->{delta_ifInPkts}; + $self->{outputDiscardsPercent} = $self->{delta_ifOutPkts} == 0 ? 0 : + 100 * $self->{delta_ifOutDiscards} / $self->{delta_ifOutPkts}; $self->{inputDiscardRate} = $self->{delta_ifInDiscards} / $self->{delta_timestamp}; $self->{outputDiscardRate} = $self->{delta_ifOutDiscards} / $self->{delta_timestamp}; } elsif ($self->mode =~ /device::interfaces::broadcasts/) { - foreach my $key (qw(ifInUcastPkts - ifInMulticastPkts ifInBroadcastPkts ifOutUcastPkts - ifOutMulticastPkts ifOutBroadcastPkts)) { - $self->{$key} = 0 if (! exists $self->{$key} || ! defined $self->{$key}); - } - $self->valdiff({name => $self->{ifDescr}}, qw(ifInUcastPkts - ifInMulticastPkts ifInBroadcastPkts ifOutUcastPkts - ifOutMulticastPkts ifOutBroadcastPkts)); - $self->{broadcastInPercent} = $self->{delta_ifInBroadcastPkts} == 0 ? 0 : - 100 * $self->{delta_ifInBroadcastPkts} / - ($self->{delta_ifInUcastPkts} + $self->{delta_ifInMulticastPkts} + - $self->{delta_ifInBroadcastPkts}); - $self->{broadcastOutPercent} = $self->{delta_ifOutBroadcastPkts} == 0 ? 0 : - 100 * $self->{delta_ifOutBroadcastPkts} / - ($self->{delta_ifOutUcastPkts} + $self->{delta_ifOutMulticastPkts} + - $self->{delta_ifOutBroadcastPkts}); + $self->calc_usage() if ! defined $self->{inputUtilization}; + $self->get_mub_pkts() if ! defined $self->{delta_ifOutPkts}; + $self->{inputBroadcastPercent} = $self->{delta_ifInPkts} == 0 ? 0 : + 100 * $self->{delta_ifInBroadcastPkts} / $self->{delta_ifInPkts}; + $self->{outputBroadcastPercent} = $self->{delta_ifOutPkts} == 0 ? 0 : + 100 * $self->{delta_ifOutBroadcastPkts} / $self->{delta_ifOutPkts}; + $self->{inputBroadcastUtilizationPercent} = $self->{inputBroadcastPercent} + * $self->{inputUtilization} / 100; + $self->{outputBroadcastUtilizationPercent} = $self->{outputBroadcastPercent} + * $self->{outputUtilization} / 100; } elsif ($self->mode =~ /device::interfaces::operstatus/) { } elsif ($self->mode =~ /device::interfaces::availability/) { $self->{ifStatusDuration} = @@ -986,103 +1055,147 @@ sub check { max => $self->{maxOutputRate}, ); } elsif ($self->mode =~ /device::interfaces::errors/) { - $self->add_info(sprintf 'interface %s errors in:%.2f/s out:%.2f/s ', + $self->add_info(sprintf 'interface %s errors in:%.2f%% out:%.2f%% ', $full_descr, - $self->{inputErrorRate} , $self->{outputErrorRate}); + $self->{inputErrorsPercent} , $self->{outputErrorsPercent}); $self->set_thresholds( metric => $self->{ifDescr}.'_errors_in', warning => 1, - critical => 10 + critical => 10, ); my $in = $self->check_thresholds( metric => $self->{ifDescr}.'_errors_in', - value => $self->{inputErrorRate} + value => $self->{inputErrorsPercent} ); $self->set_thresholds( metric => $self->{ifDescr}.'_errors_out', warning => 1, - critical => 10 + critical => 10, ); my $out = $self->check_thresholds( metric => $self->{ifDescr}.'_errors_out', - value => $self->{outputErrorRate} + value => $self->{outputErrorsPercent} ); my $level = ($in > $out) ? $in : ($out > $in) ? $out : $in; $self->add_message($level); $self->add_perfdata( label => $self->{ifDescr}.'_errors_in', - value => $self->{inputErrorRate}, + value => $self->{inputErrorsPercent}, + uom => '%', ); $self->add_perfdata( label => $self->{ifDescr}.'_errors_out', - value => $self->{outputErrorRate}, + value => $self->{outputErrorsPercent}, + uom => '%', ); } elsif ($self->mode =~ /device::interfaces::discards/) { - $self->add_info(sprintf 'interface %s discards in:%.2f/s out:%.2f/s ', + $self->add_info(sprintf 'interface %s discards in:%.2f%% out:%.2f%% ', $full_descr, - $self->{inputDiscardRate} , $self->{outputDiscardRate}); + $self->{inputDiscardsPercent} , $self->{outputDiscardsPercent}); $self->set_thresholds( metric => $self->{ifDescr}.'_discards_in', - warning => 1, - critical => 10 + warning => 5, + critical => 10, ); my $in = $self->check_thresholds( metric => $self->{ifDescr}.'_discards_in', - value => $self->{inputDiscardRate} + value => $self->{inputDiscardsPercent} ); $self->set_thresholds( metric => $self->{ifDescr}.'_discards_out', - warning => 1, - critical => 10 + warning => 5, + critical => 10, ); my $out = $self->check_thresholds( metric => $self->{ifDescr}.'_discards_out', - value => $self->{outputDiscardRate} + value => $self->{outputDiscardsPercent} ); my $level = ($in > $out) ? $in : ($out > $in) ? $out : $in; $self->add_message($level); $self->add_perfdata( label => $self->{ifDescr}.'_discards_in', - value => $self->{inputDiscardRate}, + value => $self->{inputDiscardsPercent}, + uom => '%', ); $self->add_perfdata( label => $self->{ifDescr}.'_discards_out', - value => $self->{outputDiscardRate}, + value => $self->{outputDiscardsPercent}, + uom => '%', ); } elsif ($self->mode =~ /device::interfaces::broadcast/) { - $self->add_info(sprintf 'interface %s broadcast in:%.2f%% out:%.2f%% ', + # BroadcastPercent + # -> TenGigabitEthernet0/0/0.10_broadcast_in + # wieviel % der ein/ausgehenden Pakete sind Broadcasts? + # das kann bei standby-Firewall-Interfaces sehr hoch sein, wenn regulaerer + # Traffic nicht stattfindet, aber viel Clustergeschwaetz. + # BroadcastUtilizationPercent = wieviel % der verfuegbaren Bandbreite + # -> TenGigabitEthernet0/0/0.10_broadcast_usage_in + # nehmen die Broadcasts ein? + # Der Schwellwert ist hoch eingestellt, wenn der gerissen wird, dann ist + # definitiv was faul. + $self->add_info(sprintf 'interface %s broadcast in:%.2f%% out:%.2f%% (%% of traffic) in:%.2f%% out:%.2f%% (%% of bandwidth)', $full_descr, - $self->{broadcastInPercent} , $self->{broadcastOutPercent}); + $self->{inputBroadcastPercent} , $self->{outputBroadcastPercent}, + $self->{inputBroadcastUtilizationPercent} , $self->{outputBroadcastUtilizationPercent}); $self->set_thresholds( metric => $self->{ifDescr}.'_broadcast_in', warning => 10, critical => 20 ); - my $in = $self->check_thresholds( + my $uin = $self->check_thresholds( metric => $self->{ifDescr}.'_broadcast_in', - value => $self->{broadcastInPercent} + value => $self->{inputBroadcastPercent} ); $self->set_thresholds( metric => $self->{ifDescr}.'_broadcast_out', warning => 10, critical => 20 ); - my $out = $self->check_thresholds( + my $uout = $self->check_thresholds( metric => $self->{ifDescr}.'_broadcast_out', - value => $self->{broadcastOutPercent} + value => $self->{outputBroadcastPercent} ); - my $level = ($in > $out) ? $in : ($out > $in) ? $out : $in; - $self->add_message($level); $self->add_perfdata( label => $self->{ifDescr}.'_broadcast_in', - value => $self->{broadcastInPercent}, + value => $self->{inputBroadcastPercent}, uom => '%', ); $self->add_perfdata( label => $self->{ifDescr}.'_broadcast_out', - value => $self->{broadcastOutPercent}, + value => $self->{outputBroadcastPercent}, uom => '%', ); + my $ulevel = ($uin > $uout) ? $uin : ($uout > $uin) ? $uout : $uin; + $self->set_thresholds( + metric => $self->{ifDescr}.'_broadcast_usage_in', + warning => 10, + critical => 20 + ); + my $bin = $self->check_thresholds( + metric => $self->{ifDescr}.'_broadcast_usage_in', + value => $self->{inputBroadcastUtilizationPercent} + ); + $self->set_thresholds( + metric => $self->{ifDescr}.'_broadcast_usage_out', + warning => 10, + critical => 20 + ); + my $bout = $self->check_thresholds( + metric => $self->{ifDescr}.'_broadcast_usage_out', + value => $self->{outputBroadcastUtilizationPercent} + ); + $self->add_perfdata( + label => $self->{ifDescr}.'_broadcast_usage_in', + value => $self->{inputBroadcastUtilizationPercent}, + uom => '%', + ); + $self->add_perfdata( + label => $self->{ifDescr}.'_broadcast_usage_out', + value => $self->{outputBroadcastUtilizationPercent}, + uom => '%', + ); + my $blevel = ($bin > $bout) ? $bin : ($bout > $bin) ? $bout : $bin; + $self->add_message(($blevel > $ulevel) ? $blevel : $ulevel); } elsif ($self->mode =~ /device::interfaces::operstatus/) { #rfc2863 #(1) if ifAdminStatus is not down and ifOperStatus is down then a @@ -1199,81 +1312,98 @@ our @ISA = qw(Classes::IFMIB::Component::InterfaceSubsystem::Interface); use strict; use Digest::MD5 qw(md5_hex); +sub calc_usage { + my ($self) = @_; + $self->valdiff({name => $self->{ifIndex}.'#'.$self->{ifDescr}}, qw(ifHCInOctets ifHCOutOctets)); + $self->{delta_ifInBits} = $self->{delta_ifHCInOctets} * 8; + $self->{delta_ifOutBits} = $self->{delta_ifHCOutOctets} * 8; + # ifSpeed = Bits/sec + # ifHighSpeed = 1000000Bits/sec + if ($self->{ifSpeed} == 0) { + # vlan graffl + $self->{inputUtilization} = 0; + $self->{outputUtilization} = 0; + $self->{maxInputRate} = 0; + $self->{maxOutputRate} = 0; + } elsif ($self->{ifSpeed} == 4294967295) { + $self->{maxInputRate} = $self->{ifHighSpeed} * 1000000; + $self->{maxOutputRate} = $self->{ifHighSpeed} * 1000000; + $self->{inputUtilization} = 100 * $self->{delta_ifInBits} / + ($self->{delta_timestamp} * $self->{maxInputRate}); + $self->{outputUtilization} = 100 * $self->{delta_ifOutBits} / + ($self->{delta_timestamp} * $self->{maxOutputRate}); + } else { + $self->{maxInputRate} = $self->{ifSpeed}; + $self->{maxOutputRate} = $self->{ifSpeed}; + $self->{inputUtilization} = 100 * $self->{delta_ifInBits} / + ($self->{delta_timestamp} * $self->{maxInputRate}); + $self->{outputUtilization} = 100 * $self->{delta_ifOutBits} / + ($self->{delta_timestamp} * $self->{maxOutputRate}); + } + if (defined $self->opts->ifspeed) { + $self->override_opt('ifspeedin', $self->opts->ifspeed); + $self->override_opt('ifspeedout', $self->opts->ifspeed); + } + if (defined $self->opts->ifspeedin) { + $self->{inputUtilization} = 100 * $self->{delta_ifInBits} / + ($self->{delta_timestamp} * $self->opts->ifspeedin); + $self->{maxInputRate} = $self->opts->ifspeedin; + } + if (defined $self->opts->ifspeedout) { + $self->{outputUtilization} = 100 * $self->{delta_ifOutBits} / + ($self->{delta_timestamp} * $self->opts->ifspeedout); + $self->{maxOutputRate} = $self->opts->ifspeedout; + } + $self->{inputRate} = $self->{delta_ifInBits} / $self->{delta_timestamp}; + $self->{outputRate} = $self->{delta_ifOutBits} / $self->{delta_timestamp}; + $self->override_opt("units", "bit") if ! $self->opts->units; + $self->{inputRate} /= $self->number_of_bits($self->opts->units); + $self->{outputRate} /= $self->number_of_bits($self->opts->units); + $self->{maxInputRate} /= $self->number_of_bits($self->opts->units); + $self->{maxOutputRate} /= $self->number_of_bits($self->opts->units); + if ($self->{ifOperStatus} eq 'down') { + $self->{inputUtilization} = 0; + $self->{outputUtilization} = 0; + $self->{inputRate} = 0; + $self->{outputRate} = 0; + $self->{maxInputRate} = 0; + $self->{maxOutputRate} = 0; + } +} + +sub get_mub_pkts { + my ($self) = @_; + foreach my $key (qw( + ifHCInUcastPkts ifHCInMulticastPkts ifHCInBroadcastPkts + ifHCOutUcastPkts ifHCOutMulticastPkts ifHCOutBroadcastPkts)) { + $self->{$key} = 0 if (! exists $self->{$key} || ! defined $self->{$key}); + } + $self->valdiff({name => 'mub_'.$self->{ifDescr}}, qw( + ifHCInUcastPkts ifHCInMulticastPkts ifHCInBroadcastPkts + ifHCOutUcastPkts ifHCOutMulticastPkts ifHCOutBroadcastPkts)); + $self->{delta_ifInPkts} = $self->{delta_ifHCInUcastPkts} + + $self->{delta_ifHCInMulticastPkts} + + $self->{delta_ifHCInBroadcastPkts}; + $self->{delta_ifOutPkts} = $self->{delta_ifHCOutUcastPkts} + + $self->{delta_ifHCOutMulticastPkts} + + $self->{delta_ifHCOutBroadcastPkts}; +} + sub init { my ($self) = @_; if ($self->mode =~ /device::interfaces::usage/) { - $self->valdiff({name => $self->{ifIndex}.'#'.$self->{ifDescr}}, qw(ifHCInOctets ifHCOutOctets)); - $self->{delta_ifInBits} = $self->{delta_ifHCInOctets} * 8; - $self->{delta_ifOutBits} = $self->{delta_ifHCOutOctets} * 8; - # ifSpeed = Bits/sec - # ifHighSpeed = 1000000Bits/sec - if ($self->{ifSpeed} == 0) { - # vlan graffl - $self->{inputUtilization} = 0; - $self->{outputUtilization} = 0; - $self->{maxInputRate} = 0; - $self->{maxOutputRate} = 0; - } elsif ($self->{ifSpeed} == 4294967295) { - $self->{maxInputRate} = $self->{ifHighSpeed} * 1000000; - $self->{maxOutputRate} = $self->{ifHighSpeed} * 1000000; - $self->{inputUtilization} = 100 * $self->{delta_ifInBits} / - ($self->{delta_timestamp} * $self->{maxInputRate}); - $self->{outputUtilization} = 100 * $self->{delta_ifOutBits} / - ($self->{delta_timestamp} * $self->{maxOutputRate}); - } else { - $self->{maxInputRate} = $self->{ifSpeed}; - $self->{maxOutputRate} = $self->{ifSpeed}; - $self->{inputUtilization} = 100 * $self->{delta_ifInBits} / - ($self->{delta_timestamp} * $self->{maxInputRate}); - $self->{outputUtilization} = 100 * $self->{delta_ifOutBits} / - ($self->{delta_timestamp} * $self->{maxOutputRate}); - } - if (defined $self->opts->ifspeed) { - $self->override_opt('ifspeedin', $self->opts->ifspeed); - $self->override_opt('ifspeedout', $self->opts->ifspeed); - } - if (defined $self->opts->ifspeedin) { - $self->{inputUtilization} = 100 * $self->{delta_ifInBits} / - ($self->{delta_timestamp} * $self->opts->ifspeedin); - $self->{maxInputRate} = $self->opts->ifspeedin; - } - if (defined $self->opts->ifspeedout) { - $self->{outputUtilization} = 100 * $self->{delta_ifOutBits} / - ($self->{delta_timestamp} * $self->opts->ifspeedout); - $self->{maxOutputRate} = $self->opts->ifspeedout; - } - $self->{inputRate} = $self->{delta_ifInBits} / $self->{delta_timestamp}; - $self->{outputRate} = $self->{delta_ifOutBits} / $self->{delta_timestamp}; - $self->override_opt("units", "bit") if ! $self->opts->units; - $self->{inputRate} /= $self->number_of_bits($self->opts->units); - $self->{outputRate} /= $self->number_of_bits($self->opts->units); - $self->{maxInputRate} /= $self->number_of_bits($self->opts->units); - $self->{maxOutputRate} /= $self->number_of_bits($self->opts->units); - if ($self->{ifOperStatus} eq 'down') { - $self->{inputUtilization} = 0; - $self->{outputUtilization} = 0; - $self->{inputRate} = 0; - $self->{outputRate} = 0; - $self->{maxInputRate} = 0; - $self->{maxOutputRate} = 0; - } + $self->calc_usage(); } elsif ($self->mode =~ /device::interfaces::broadcasts/) { - foreach my $key (qw( - ifHCInUcastPkts ifHCInMulticastPkts ifHCInBroadcastPkts - ifHCOutUcastPkts ifHCOutMulticastPkts ifHCOutBroadcastPkts)) { - $self->{$key} = 0 if (! exists $self->{$key} || ! defined $self->{$key}); - } - $self->valdiff({name => $self->{ifDescr}}, qw( - ifHCInUcastPkts ifHCInMulticastPkts ifHCInBroadcastPkts - ifHCOutUcastPkts ifHCOutMulticastPkts ifHCOutBroadcastPkts)); - $self->{broadcastInPercent} = $self->{delta_ifHCInBroadcastPkts} == 0 ? 0 : - 100 * $self->{delta_ifHCInBroadcastPkts} / - ($self->{delta_ifHCInUcastPkts} + $self->{delta_ifHCInMulticastPkts} + - $self->{delta_ifHCInBroadcastPkts}); - $self->{broadcastOutPercent} = $self->{delta_ifHCOutBroadcastPkts} == 0 ? 0 : - 100 * $self->{delta_ifHCOutBroadcastPkts} / - ($self->{delta_ifHCOutUcastPkts} + $self->{delta_ifHCOutMulticastPkts} + - $self->{delta_ifHCOutBroadcastPkts}); + $self->calc_usage() if ! defined $self->{inputUtilization}; + $self->get_mub_pkts() if ! defined $self->{delta_ifOutPkts}; + $self->{inputBroadcastPercent} = $self->{delta_ifInPkts} == 0 ? 0 : + 100 * $self->{delta_ifHCInBroadcastPkts} / $self->{delta_ifInPkts}; + $self->{outputBroadcastPercent} = $self->{delta_ifOutPkts} == 0 ? 0 : + 100 * $self->{delta_ifHCOutBroadcastPkts} / $self->{delta_ifOutPkts}; + $self->{inputBroadcastUtilizationPercent} = $self->{inputBroadcastPercent} + * $self->{inputUtilization} / 100; + $self->{outputBroadcastUtilizationPercent} = $self->{outputBroadcastPercent} + * $self->{inputUtilization} / 100; } else { $self->SUPER::init(); } diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IFMIB/Component/LinkAggregation.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/IFMIB/Component/LinkAggregation.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IFMIB/Component/LinkAggregation.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/IFMIB/Component/LinkAggregation.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IFMIB/Component/StackSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/IFMIB/Component/StackSubsystem.pm similarity index 96% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IFMIB/Component/StackSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/IFMIB/Component/StackSubsystem.pm index b617f9e..129aaa1 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IFMIB/Component/StackSubsystem.pm +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/IFMIB/Component/StackSubsystem.pm @@ -14,7 +14,10 @@ sub init { } elsif (scalar(@selected_indices)) { @selected_indices = map { $_->[0] } @selected_indices; } else { + # none of the desired interfaces was found. we exit here, otherwise we + # might find crap resulting in "uninitialized value...." (which happened) @selected_indices = (); + return; } $self->get_snmp_tables("IFMIB", [ ['stacks', 'ifStackTable', 'Classes::IFMIB::Component::StackSubsystem::Relationship'], @@ -107,7 +110,13 @@ sub arista_schlamperei { sub check { my ($self) = @_; - my @selected_interfaces = sort { + if (! $self->{interfaces}) { + # see beginning of init(). For example --name channel --regex + # finds no interface of this name + $self->add_unknown('no interfaces'); + return; + } + my @selected_interfaces = sort { $a->{ifIndex} <=> $b->{ifIndex} } grep { exists $_->{lower_interfaces} diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IPFORWARDMIB.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/IPFORWARDMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IPFORWARDMIB.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/IPFORWARDMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IPFORWARDMIB/Component/RoutingSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/IPFORWARDMIB/Component/RoutingSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IPFORWARDMIB/Component/RoutingSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/IPFORWARDMIB/Component/RoutingSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IPMIB.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/IPMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IPMIB.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/IPMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IPMIB/Component/RoutingSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/IPMIB/Component/RoutingSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IPMIB/Component/RoutingSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/IPMIB/Component/RoutingSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/IVE.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/IVE.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/IVE/Component/CpuSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/IVE/Component/CpuSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE/Component/DiskSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/IVE/Component/DiskSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE/Component/DiskSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/IVE/Component/DiskSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/IVE/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/IVE/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/IVE/Component/MemSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/IVE/Component/MemSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE/Component/UserSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/IVE/Component/UserSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/IVE/Component/UserSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/IVE/Component/UserSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/JunOS.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/JunOS.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/JunOS.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/JunOS.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/JunOS/Component/BgpSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/JunOS/Component/BgpSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/JunOS/Component/BgpSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/JunOS/Component/BgpSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/NetScreen.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/NetScreen.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/NetScreen.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/NetScreen.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/NetScreen/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/NetScreen/Component/CpuSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/NetScreen/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/NetScreen/Component/CpuSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/NetScreen/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/NetScreen/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/NetScreen/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/NetScreen/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/NetScreen/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/NetScreen/Component/MemSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/NetScreen/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/NetScreen/Component/MemSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/NetScreen/Component/VsdSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/NetScreen/Component/VsdSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/NetScreen/Component/VsdSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/NetScreen/Component/VsdSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/SRX.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/SRX.pm similarity index 94% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/SRX.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/SRX.pm index 50a645b..ceaed6b 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/SRX.pm +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/SRX.pm @@ -10,7 +10,7 @@ sub init { $self->{components}->{hostresource_subsystem} = Classes::HOSTRESOURCESMIB::Component::EnvironmentalSubsystem->new(); foreach (@{$self->{components}->{hostresource_subsystem}->{disk_subsystem}->{storages}}) { - if (exists $_->{device} && $_->{device} =~ /^\/dev\/md/) { + if (exists $_->{device} && $_->{device} =~ /^(\/dev\/md|junosprocfs)/) { $_->blacklist(); } } diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/SRX/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/SRX/Component/CpuSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/SRX/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/SRX/Component/CpuSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/SRX/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/SRX/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/SRX/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/SRX/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/SRX/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/SRX/Component/MemSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Juniper/SRX/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Juniper/SRX/Component/MemSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/LMSENSORSMIB.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/LMSENSORSMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/LMSENSORSMIB.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/LMSENSORSMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/LMSENSORSMIB/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/LMSENSORSMIB/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/LMSENSORSMIB/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/LMSENSORSMIB/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/LMSENSORSMIB/Component/FanSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/LMSENSORSMIB/Component/FanSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/LMSENSORSMIB/Component/FanSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/LMSENSORSMIB/Component/FanSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/LMSENSORSMIB/Component/TemperatureSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/LMSENSORSMIB/Component/TemperatureSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/LMSENSORSMIB/Component/TemperatureSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/LMSENSORSMIB/Component/TemperatureSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lancom.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Lancom.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lancom.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Lancom.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lancom/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Lancom/Component/CpuSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lancom/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Lancom/Component/CpuSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lancom/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Lancom/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lancom/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Lancom/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lancom/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Lancom/Component/MemSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lancom/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Lancom/Component/MemSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lantronix.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Lantronix.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lantronix.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Lantronix.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lantronix/SLS.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Lantronix/SLS.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Lantronix/SLS.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Lantronix/SLS.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/MEOS.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/MEOS.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/MEOS.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/MEOS.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Netgear.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Netgear.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Netgear.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Netgear.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Nortel.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Nortel.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Nortel.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Nortel.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Nortel/S5.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Nortel/S5.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Nortel/S5.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Nortel/S5.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Nortel/S5/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Nortel/S5/Component/CpuSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Nortel/S5/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Nortel/S5/Component/CpuSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Nortel/S5/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Nortel/S5/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Nortel/S5/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Nortel/S5/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Nortel/S5/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Nortel/S5/Component/MemSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Nortel/S5/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Nortel/S5/Component/MemSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OSPF.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/OSPF.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OSPF.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/OSPF.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OSPF/Component/NeighborSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/OSPF/Component/NeighborSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OSPF/Component/NeighborSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/OSPF/Component/NeighborSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OneOS.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/OneOS.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OneOS.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/OneOS.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OneOS/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/OneOS/Component/CpuSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OneOS/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/OneOS/Component/CpuSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OneOS/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/OneOS/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OneOS/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/OneOS/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OneOS/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/OneOS/Component/MemSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/OneOS/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/OneOS/Component/MemSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/PaloAlto.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/PaloAlto.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/PaloAlto/Component/CpuSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/PaloAlto/Component/CpuSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/PaloAlto/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/PaloAlto/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto/Component/HaSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/PaloAlto/Component/HaSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto/Component/HaSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/PaloAlto/Component/HaSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/PaloAlto/Component/MemSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/PaloAlto/Component/MemSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto/Component/SessionSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/PaloAlto/Component/SessionSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/PaloAlto/Component/SessionSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/PaloAlto/Component/SessionSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/RAPIDCITYMIB.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/RAPIDCITYMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/RAPIDCITYMIB.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/RAPIDCITYMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/RAPIDCITYMIB/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/RAPIDCITYMIB/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/RAPIDCITYMIB/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/RAPIDCITYMIB/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/RAPIDCITYMIB/Component/FanSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/RAPIDCITYMIB/Component/FanSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/RAPIDCITYMIB/Component/FanSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/RAPIDCITYMIB/Component/FanSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/RAPIDCITYMIB/Component/PowersupplySubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/RAPIDCITYMIB/Component/PowersupplySubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/RAPIDCITYMIB/Component/PowersupplySubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/RAPIDCITYMIB/Component/PowersupplySubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/RAPIDCITYMIB/Component/TemperatureSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/RAPIDCITYMIB/Component/TemperatureSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/RAPIDCITYMIB/Component/TemperatureSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/RAPIDCITYMIB/Component/TemperatureSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Riverbed.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Riverbed.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Riverbed.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Riverbed.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Riverbed/Steelhead.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Riverbed/Steelhead.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Riverbed/Steelhead.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Riverbed/Steelhead.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Riverbed/Steelhead/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Riverbed/Steelhead/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Riverbed/Steelhead/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Riverbed/Steelhead/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Riverbed/SteelheadEX/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Riverbed/SteelheadEX/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Riverbed/SteelheadEX/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Riverbed/SteelheadEX/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/SGOS.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/SGOS.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/ConnectionSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/SGOS/Component/ConnectionSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/ConnectionSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/SGOS/Component/ConnectionSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/SGOS/Component/CpuSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/SGOS/Component/CpuSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/DiskSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/SGOS/Component/DiskSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/DiskSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/SGOS/Component/DiskSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/SGOS/Component/EnvironmentalSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/EnvironmentalSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/SGOS/Component/EnvironmentalSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/SGOS/Component/MemSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/SGOS/Component/MemSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/SecuritySubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/SGOS/Component/SecuritySubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/SecuritySubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/SGOS/Component/SecuritySubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/SensorSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/SGOS/Component/SensorSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SGOS/Component/SensorSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/SGOS/Component/SensorSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SecureOS.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/SecureOS.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/SecureOS.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/SecureOS.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/Linux.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Server/Linux.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/Linux.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Server/Linux.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/Linux/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Server/Linux/Component/CpuSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/Linux/Component/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Server/Linux/Component/CpuSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Server/Linux/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Server/Linux/Component/EnvironmentalSubsystem.pm new file mode 100644 index 0000000..8537b64 --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Server/Linux/Component/EnvironmentalSubsystem.pm @@ -0,0 +1,46 @@ +package Classes::Server::Linux::Component::EnvironmentalSubsystem; +our @ISA = qw(Classes::Server::Linux); +use strict; + +sub new { + my ($class) = @_; + my $self = {}; + bless $self, $class; + $self->init(); + return $self; +} + +sub init { + my ($self) = @_; + if ($self->implements_mib("LM-SENSORS-MIB")) { + $self->{fan_subsystem} = + Classes::LMSENSORSMIB::Component::FanSubsystem->new(); + $self->{temperature_subsystem} = + Classes::LMSENSORSMIB::Component::TemperatureSubsystem->new(); + } + $self->{env_subsystem} = + Classes::HOSTRESOURCESMIB::Component::EnvironmentalSubsystem->new(); +} + +sub check { + my ($self) = @_; + if ($self->implements_mib("LM-SENSORS-MIB")) { + $self->{fan_subsystem}->check(); + $self->{temperature_subsystem}->check(); + } + $self->{env_subsystem}->check(); + if (! $self->check_messages()) { + $self->add_ok("environmental hardware working fine"); + } +} + +sub dump { + my ($self) = @_; + if ($self->implements_mib("LM-SENSORS-MIB")) { + $self->{fan_subsystem}->dump(); + $self->{temperature_subsystem}->dump(); + } + $self->{env_subsystem}->dump(); +} + +1; diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/Linux/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Server/Linux/Component/MemSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/Linux/Component/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Server/Linux/Component/MemSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/LinuxLocal.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Server/LinuxLocal.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/LinuxLocal.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Server/LinuxLocal.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/SolarisLocal.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Server/SolarisLocal.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/SolarisLocal.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Server/SolarisLocal.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/WindowsLocal.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Server/WindowsLocal.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/Server/WindowsLocal.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Server/WindowsLocal.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/UCDMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/UCDMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/UCDMIB/Components/CpuSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/CpuSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/UCDMIB/Components/CpuSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/DiskSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/UCDMIB/Components/DiskSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/DiskSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/UCDMIB/Components/DiskSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/LoadSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/UCDMIB/Components/LoadSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/LoadSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/UCDMIB/Components/LoadSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/UCDMIB/Components/MemSubsystem.pm similarity index 77% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/MemSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/UCDMIB/Components/MemSubsystem.pm index 45424e0..197a0c1 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/MemSubsystem.pm +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/UCDMIB/Components/MemSubsystem.pm @@ -7,11 +7,15 @@ sub init { $self->get_snmp_objects('UCD-SNMP-MIB', (qw( memTotalSwap memTotalReal memTotalFree memAvailReal memBuffer memCached memShared))); - # basically buffered memory can always be freed up (filesystem cache) # https://kc.mcafee.com/corporate/index?page=content&id=KB73175 + # 16.6.21 memShared fliegt raus, das zaehlt ab jetzt nicht mehr zu + # potentiell freizukriegendem Speicher. Mir scheissegal, ob das Ergebnis + # dann stimmt. Nach 10 Jahren Rumgefrickel habe ich es satt, ab jetzt wird + # das alles so hingebastelt, daß ich so wenige Tickets wie moeglich + # auf den Tisch bekomme. my $mem_available = $self->{memAvailReal}; - foreach (qw(memBuffer memCached memShared)) { + foreach (qw(memBuffer memCached)) { $mem_available += $self->{$_} if defined($self->{$_}); } diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/ProcessSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/UCDMIB/Components/ProcessSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/ProcessSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/UCDMIB/Components/ProcessSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/SwapSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/UCDMIB/Components/SwapSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UCDMIB/Components/SwapSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/UCDMIB/Components/SwapSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UPNP.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/UPNP.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UPNP.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/UPNP.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UPNP/AVM.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/UPNP/AVM.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UPNP/AVM.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/UPNP/AVM.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UPNP/AVM/FritzBox7390.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/UPNP/AVM/FritzBox7390.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UPNP/AVM/FritzBox7390.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/UPNP/AVM/FritzBox7390.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UPNP/AVM/FritzBox7390/Components/InterfaceSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/UPNP/AVM/FritzBox7390/Components/InterfaceSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UPNP/AVM/FritzBox7390/Components/InterfaceSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/UPNP/AVM/FritzBox7390/Components/InterfaceSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UPNP/AVM/FritzBox7390/Components/SmartHomeSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/UPNP/AVM/FritzBox7390/Components/SmartHomeSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/UPNP/AVM/FritzBox7390/Components/SmartHomeSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/UPNP/AVM/FritzBox7390/Components/SmartHomeSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/VRRPMIB.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/VRRPMIB.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/VRRPMIB.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/VRRPMIB.pm diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/VRRPMIB/Component/VRRPSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/VRRPMIB/Component/VRRPSubsystem.pm similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Classes/VRRPMIB/Component/VRRPSubsystem.pm rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/VRRPMIB/Component/VRRPSubsystem.pm diff --git a/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Vormetric.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Vormetric.pm new file mode 100644 index 0000000..b410dbb --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Vormetric.pm @@ -0,0 +1,18 @@ +package Classes::Vormetric; +our @ISA = qw(Classes::Device); +use strict; + + +sub init { + my ($self) = @_; + if ($self->mode =~ /device::hardware::health/) { + $self->analyze_and_check_environmental_subsystem("Classes::Vormetric::Component::EnvironmentalSubsystem"); + } elsif ($self->mode =~ /device::hardware::load/) { + $self->analyze_and_check_cpu_subsystem("Classes::Vormetric::Component::CpuSubsystem"); + } elsif ($self->mode =~ /device::hardware::memory/) { + $self->analyze_and_check_mem_subsystem("Classes::Vormetric::Component::MemSubsystem"); + } else { + $self->no_such_mode(); + } +} + diff --git a/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Vormetric/Component/CpuSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Vormetric/Component/CpuSubsystem.pm new file mode 100644 index 0000000..2ba17c1 --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Vormetric/Component/CpuSubsystem.pm @@ -0,0 +1,60 @@ +package Classes::Vormetric::Component::CpuSubsystem; +our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); +use strict; + +sub init { + my ($self) = @_; + $self->get_snmp_objects('VORMETRIC-MIB', (qw(vmstat))); + my @columns = (); + foreach my $line (split(/\n/, $self->{vmstat})) { + $line =~ s/^\s+//; + $line =~ s/\s+$//; + if ($line =~ /free/) { + @columns = split(/\s+/, $line); + } elsif ($line =~ /^[\d\s]+$/) { + my @metrics = split(/\s+/, $line); + while (@columns) { + my $column = shift @columns; + $self->{$column} = shift @metrics; + } + } + } + $self->{busy} = $self->{us} + $self->{sy}; +} + +sub check { + my ($self) = @_; + $self->add_info('checking cpu'); + $self->add_info(sprintf 'cpu is %.2f%% busy', $self->{busy}); + $self->set_thresholds( + metric => 'cpu_busy', + warning => 90, + critical => 95); + $self->add_message($self->check_thresholds( + metric => 'cpu_busy', + value => $self->{busy})); + $self->add_perfdata( + label => 'cpu_busy', + value => $self->{busy}, + uom => '%', + ); + $self->add_info(sprintf '(%.2f%% io wait)', $self->{wa}); + $self->set_thresholds( + metric => 'cpu_iowait', + warning => 10, + critical => 20); + $self->add_message($self->check_thresholds( + metric => 'cpu_iowait', + value => $self->{wa})); + $self->add_perfdata( + label => 'cpu_iowait', + value => $self->{wa}, + uom => '%', + ); +} + +__END__ +procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu----- + r b swpd free buff cache si so bi bo in cs us sy id wa st + 0 0 29696 778556 271924 1014372 0 0 0 1 1 1 1 0 99 0 0 + diff --git a/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Vormetric/Component/DiskSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Vormetric/Component/DiskSubsystem.pm new file mode 100644 index 0000000..1b8f480 --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Vormetric/Component/DiskSubsystem.pm @@ -0,0 +1,53 @@ +package Classes::Vormetric::Component::DiskSubsystem; +our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); +use strict; + +sub init { + my ($self) = @_; + $self->{filesystems} = []; + $self->get_snmp_objects('VORMETRIC-MIB', (qw(diskUsage))); + foreach my $line (split(/\n/, $self->{diskUsage})) { + if ($line =~ /(.*?)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)%\s+(.*)/) { + push(@{$self->{filesystems}}, + Classes::Vormetric::Component::DiskSubsystem::Filesystem->new( + device => $1, + size => $2 * 1024*1024, + used => $3 * 1024*1024, + available => $4 * 1024*1024, + usedpct => $5, + mountpoint => $6, + )); + } + } +} + + +package Classes::Vormetric::Component::DiskSubsystem::Filesystem; +our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem); +use strict; + +sub finish { + my ($self) = @_; + $self->{freepct} = 100 - $self->{usedpct}; +} + +sub check { + my ($self) = @_; + $self->add_info(sprintf "%s has %d%% free space", + $self->{mountpoint}, $self->{freepct}); + my $label = $self->{mountpoint}."_free_pct"; + $self->set_thresholds( + metric => $label, + warning => "10:", + critical => "5:", + ); + $self->add_message($self->check_thresholds( + metric => $label, + value => $self->{freepct})); + $self->add_perfdata( + label => $label, + value => $self->{freepct}, + uom => "%", + ); +} + diff --git a/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Vormetric/Component/EnvironmentalSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Vormetric/Component/EnvironmentalSubsystem.pm new file mode 100644 index 0000000..48c4f28 --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Vormetric/Component/EnvironmentalSubsystem.pm @@ -0,0 +1,23 @@ +package Classes::Vormetric::Component::EnvironmentalSubsystem; +our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); +use strict; + +sub init { + my ($self) = @_; + $self->{disk_subsystem} = + Classes::Vormetric::Component::DiskSubsystem->new(); +} + +sub check { + my ($self) = @_; + $self->{disk_subsystem}->check(); + if (! $self->check_messages()) { + $self->add_ok("environmental hardware working fine"); + } +} + +sub dump { + my ($self) = @_; + $self->{disk_subsystem}->dump(); +} + diff --git a/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Vormetric/Component/MemSubsystem.pm b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Vormetric/Component/MemSubsystem.pm new file mode 100644 index 0000000..1c70278 --- /dev/null +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Classes/Vormetric/Component/MemSubsystem.pm @@ -0,0 +1,52 @@ +package Classes::Vormetric::Component::MemSubsystem; +our @ISA = qw(Monitoring::GLPlugin::SNMP::Item); +use strict; + +sub init { + my ($self) = @_; + $self->get_snmp_objects('VORMETRIC-MIB', (qw(vmstat))); + my @columns = (); + foreach my $line (split(/\n/, $self->{vmstat})) { + $line =~ s/^\s+//; + $line =~ s/\s+$//; + if ($line =~ /free/) { + @columns = split(/\s+/, $line); + } elsif ($line =~ /^[\d\s]+$/) { + my @metrics = split(/\s+/, $line); + while (@columns) { + my $column = shift @columns; + $self->{$column} = shift @metrics; + # default is 1024bytes, but it may change + $self->{$column} *= 8 * $self->number_of_bits("KB"); + } + } + } + $self->{total} = $self->{free} + $self->{buff} + $self->{cache} + $self->{swpd}; + $self->{mem_free_pct} = $self->{free} / $self->{total} * 100; + $self->{mem_used_pct} = 100 - $self->{mem_free_pct}; +} + +sub check { + my ($self) = @_; + $self->add_info('checking memory'); + $self->add_info(sprintf 'memory used is %.2f%%', + $self->{mem_used_pct}); + $self->set_thresholds( + metric => 'mem_used_pct', + warning => 80, + critical => 90); + $self->add_message($self->check_thresholds( + metric => 'mem_used_pct', + value => $self->{mem_used_pct})); + $self->add_perfdata( + label => 'mem_used_pct', + value => $self->{mem_used_pct}, + uom => '%', + ); +} + +__END__ +procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu----- + r b swpd free buff cache si so bi bo in cs us sy id wa st + 0 0 29696 778556 271924 1014372 0 0 0 1 1 1 1 0 99 0 0 + diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Makefile.am b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Makefile.am similarity index 94% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Makefile.am rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Makefile.am index f097b38..2030e0b 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Makefile.am +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Makefile.am @@ -11,6 +11,7 @@ GL_MODULES=\ ../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 @@ GL_MODULES=\ ../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 \ @@ -52,6 +57,7 @@ GL_MODULES=\ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBRNDMNGMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBSYSMNGMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBTUNINGMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSMARTLICMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSTACKMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSTACKWISEMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSYSTEMEXTMIB.pm \ @@ -76,6 +82,7 @@ GL_MODULES=\ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FOUNDRYSNSWL4SWITCHGROUPMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/GENUAMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HH3CENTITYEXTMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIBGPVPNMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIENTITYEXTENTMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HOSTRESOURCESMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HPICFCHASSIS.pm \ @@ -133,6 +140,7 @@ GL_MODULES=\ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UCDDISKIOMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UCDSNMPMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/USAGEMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VORMETRICMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VRRPMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/WLSXSYSTEMEXTMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/WLSXWLANMIB.pm \ @@ -158,12 +166,22 @@ EXTRA_MODULES=\ Classes/Bintec/Bibo/Components/CpuSubsystem.pm \ Classes/Bintec/Bibo.pm \ Classes/Bintec.pm \ + Classes/Bluecat/AddressManager/Component/MgmtSubsystem.pm \ + Classes/Bluecat/AddressManager/Component/MemSubsystem.pm \ + Classes/Bluecat/AddressManager/Component/HaSubsystem.pm \ + Classes/Bluecat/AddressManager.pm \ + Classes/Bluecat/DnsDhcpServer/Component/HaSubsystem.pm \ + Classes/Bluecat/DnsDhcpServer/Component/ProcessSubsystem.pm \ + Classes/Bluecat/DnsDhcpServer.pm \ + Classes/Bluecat.pm \ + Classes/Cisco/CISCOSMARTLICMIB/Component/KeySubsystem.pm \ Classes/Cisco/CISCOBGP4MIB/Components/PeerSubsystem.pm \ Classes/Cisco/CISCOEIGRPMIB/Components/PeerSubsystem.pm \ Classes/Cisco/CISCOPORTSECURITYMIB/Component/InterfaceSubsystem.pm \ Classes/Cisco/OLDCISCOINTERFACESMIB/Component/InterfaceSubsystem.pm \ Classes/Cisco/CISCOIPSECFLOWMONITOR/Component/VpnSubsystem.pm \ Classes/Cisco/CISCOENHANCEDMEMPOOLMIB/Component/MemSubsystem.pm \ + Classes/Cisco/CISCOPROCESSMIB/Component/MemSubsystem.pm \ Classes/Cisco/CISCOMEMORYPOOLMIB/Component/MemSubsystem.pm \ Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/EnvironmentalSubsystem.pm \ Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/FanSubsystem.pm \ @@ -250,6 +268,7 @@ EXTRA_MODULES=\ Classes/Fortigate/Component/DiskSubsystem.pm \ Classes/Fortigate/Component/MemSubsystem.pm \ Classes/Fortigate/Component/CpuSubsystem.pm \ + Classes/Fortigate/Component/VpnSubsystem.pm \ Classes/Fortigate/Component/EnvironmentalSubsystem.pm \ Classes/Fortigate/Component/SensorSubsystem.pm \ Classes/Fortigate.pm \ @@ -267,6 +286,7 @@ EXTRA_MODULES=\ Classes/Huawei/Component/EnvironmentalSubsystem.pm \ Classes/Huawei/Component/CpuSubsystem.pm \ Classes/Huawei/Component/MemSubsystem.pm \ + Classes/Huawei/Component/PeerSubsystem.pm \ Classes/Huawei/CloudEngine.pm \ Classes/Huawei.pm \ Classes/HP/Procurve/Component/MemSubsystem.pm \ @@ -423,6 +443,11 @@ EXTRA_MODULES=\ Classes/Riverbed/Steelhead/Component/EnvironmentalSubsystem.pm \ Classes/Riverbed/Steelhead.pm \ Classes/Riverbed.pm \ + Classes/Vormetric/Component/CpuSubsystem.pm \ + Classes/Vormetric/Component/DiskSubsystem.pm \ + Classes/Vormetric/Component/EnvironmentalSubsystem.pm \ + Classes/Vormetric/Component/MemSubsystem.pm \ + Classes/Vormetric.pm \ Classes/Lancom/Component/CpuSubsystem.pm \ Classes/Lancom/Component/EnvironmentalSubsystem.pm \ Classes/Lancom/Component/MemSubsystem.pm \ diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Makefile.in b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Makefile.in similarity index 95% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Makefile.in rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/Makefile.in index c091d98..a6b28ae 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/Makefile.in +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15.1 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2017 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -253,6 +253,7 @@ GL_MODULES = \ ../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 @@ GL_MODULES = \ ../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 \ @@ -294,6 +299,7 @@ GL_MODULES = \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBRNDMNGMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBSYSMNGMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSBTUNINGMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSMARTLICMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSTACKMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSTACKWISEMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/CISCOSYSTEMEXTMIB.pm \ @@ -318,6 +324,7 @@ GL_MODULES = \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/FOUNDRYSNSWL4SWITCHGROUPMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/GENUAMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HH3CENTITYEXTMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIBGPVPNMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HUAWEIENTITYEXTENTMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HOSTRESOURCESMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HPICFCHASSIS.pm \ @@ -375,6 +382,7 @@ GL_MODULES = \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UCDDISKIOMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UCDSNMPMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/USAGEMIB.pm \ + ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VORMETRICMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/VRRPMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/WLSXSYSTEMEXTMIB.pm \ ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/WLSXWLANMIB.pm \ @@ -401,12 +409,22 @@ EXTRA_MODULES = \ Classes/Bintec/Bibo/Components/CpuSubsystem.pm \ Classes/Bintec/Bibo.pm \ Classes/Bintec.pm \ + Classes/Bluecat/AddressManager/Component/MgmtSubsystem.pm \ + Classes/Bluecat/AddressManager/Component/MemSubsystem.pm \ + Classes/Bluecat/AddressManager/Component/HaSubsystem.pm \ + Classes/Bluecat/AddressManager.pm \ + Classes/Bluecat/DnsDhcpServer/Component/HaSubsystem.pm \ + Classes/Bluecat/DnsDhcpServer/Component/ProcessSubsystem.pm \ + Classes/Bluecat/DnsDhcpServer.pm \ + Classes/Bluecat.pm \ + Classes/Cisco/CISCOSMARTLICMIB/Component/KeySubsystem.pm \ Classes/Cisco/CISCOBGP4MIB/Components/PeerSubsystem.pm \ Classes/Cisco/CISCOEIGRPMIB/Components/PeerSubsystem.pm \ Classes/Cisco/CISCOPORTSECURITYMIB/Component/InterfaceSubsystem.pm \ Classes/Cisco/OLDCISCOINTERFACESMIB/Component/InterfaceSubsystem.pm \ Classes/Cisco/CISCOIPSECFLOWMONITOR/Component/VpnSubsystem.pm \ Classes/Cisco/CISCOENHANCEDMEMPOOLMIB/Component/MemSubsystem.pm \ + Classes/Cisco/CISCOPROCESSMIB/Component/MemSubsystem.pm \ Classes/Cisco/CISCOMEMORYPOOLMIB/Component/MemSubsystem.pm \ Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/EnvironmentalSubsystem.pm \ Classes/Cisco/CISCOENTITYFRUCONTROLMIB/Component/FanSubsystem.pm \ @@ -493,6 +511,7 @@ EXTRA_MODULES = \ Classes/Fortigate/Component/DiskSubsystem.pm \ Classes/Fortigate/Component/MemSubsystem.pm \ Classes/Fortigate/Component/CpuSubsystem.pm \ + Classes/Fortigate/Component/VpnSubsystem.pm \ Classes/Fortigate/Component/EnvironmentalSubsystem.pm \ Classes/Fortigate/Component/SensorSubsystem.pm \ Classes/Fortigate.pm \ @@ -510,6 +529,7 @@ EXTRA_MODULES = \ Classes/Huawei/Component/EnvironmentalSubsystem.pm \ Classes/Huawei/Component/CpuSubsystem.pm \ Classes/Huawei/Component/MemSubsystem.pm \ + Classes/Huawei/Component/PeerSubsystem.pm \ Classes/Huawei/CloudEngine.pm \ Classes/Huawei.pm \ Classes/HP/Procurve/Component/MemSubsystem.pm \ @@ -666,6 +686,11 @@ EXTRA_MODULES = \ Classes/Riverbed/Steelhead/Component/EnvironmentalSubsystem.pm \ Classes/Riverbed/Steelhead.pm \ Classes/Riverbed.pm \ + Classes/Vormetric/Component/CpuSubsystem.pm \ + Classes/Vormetric/Component/DiskSubsystem.pm \ + Classes/Vormetric/Component/EnvironmentalSubsystem.pm \ + Classes/Vormetric/Component/MemSubsystem.pm \ + Classes/Vormetric.pm \ Classes/Lancom/Component/CpuSubsystem.pm \ Classes/Lancom/Component/EnvironmentalSubsystem.pm \ Classes/Lancom/Component/MemSubsystem.pm \ @@ -712,8 +737,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) @@ -768,7 +793,10 @@ ctags CTAGS: cscope cscopelist: -distdir: $(DISTFILES) +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/check_nwc_health.pl b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/check_nwc_health.pl similarity index 100% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/check_nwc_health.pl rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/check_nwc_health.pl diff --git a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/subst.in b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/subst.in similarity index 95% rename from check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/subst.in rename to check_nwc_health/check_nwc_health-8.4/plugins-scripts/subst.in index 4f68caf..9feb750 100644 --- a/check_nwc_health/check_nwc_health-7.12.1.3/plugins-scripts/subst.in +++ b/check_nwc_health/check_nwc_health-8.4/plugins-scripts/subst.in @@ -1,60 +1,60 @@ -#!/usr/bin/awk - -function which(c,path) { - cmd = "test -x " c; - - if (system(cmd)==0) { - return c; - } - - sub(/\/.*\//,"",c); - for (dir in path) { - cmd = "test -x " path[dir] "/" c; - if (system(cmd)==0) { - return path[dir] "/" c; - } - } - - - return c; -} - -# used to replace "use lib utils.pm" with "use lib @libexecdir" -# -function led() { - led1 = "@libexecdir@"; - led2 = "@exec_prefix@"; - led3 = "@prefix@"; - if ( match(led1, /^\$\{exec_prefix\}/ ) != 0 ) { - return "\"" led3 "/libexec\" " ; - - } - return "\"" led1 "\"" ; -} - -BEGIN { - split(ENVIRON["PATH"] ":/sbin:/usr/sbin",path,/:/); - -} - -# scripting language (first line) - -/^#! ?\/.*\/python/ {sub(/^#! ?\/.*\/python/,"#! @PYTHON@");} -/^#! ?\/.*\/perl/ {sub(/^#! ?\/.*\/perl/,"#! @PERL@");} -/^#! ?\/.*\/[a-z]{0,2}awk/ {sub(/^#! ?\/.*\/[a-z]{0,2}awk/,"#! @AWK@");} -/^#! ?\/.*\/sh/ {sub(/^#! ?\/.*\/sh/,"#! @SHELL@");} - -# add to libexecdir to INC for perl utils.pm -/^use/ { if (/lib/) { if (/utils.pm|"."/ ) {sub(/utils.pm|"."/,led() )} } } - - -# Replace the placeholders with the values from configure -/#PERL#/ {sub(/#PERL#/,"@PERL@");} -/#STATEFILES_DIR#/ {sub(/#STATEFILES_DIR#/,"@STATEFILES_DIR@");} -/#PACKAGE_VERSION#/ {sub(/#PACKAGE_VERSION#/,"@PACKAGE_VERSION@");} -/#STANDALONE#/ {sub(/#STANDALONE#/,"@STANDALONE@");} - -{ - print; -} - +#!/usr/bin/awk + +function which(c,path) { + cmd = "test -x " c; + + if (system(cmd)==0) { + return c; + } + + sub(/\/.*\//,"",c); + for (dir in path) { + cmd = "test -x " path[dir] "/" c; + if (system(cmd)==0) { + return path[dir] "/" c; + } + } + + + return c; +} + +# used to replace "use lib utils.pm" with "use lib @libexecdir" +# +function led() { + led1 = "@libexecdir@"; + led2 = "@exec_prefix@"; + led3 = "@prefix@"; + if ( match(led1, /^\$\{exec_prefix\}/ ) != 0 ) { + return "\"" led3 "/libexec\" " ; + + } + return "\"" led1 "\"" ; +} + +BEGIN { + split(ENVIRON["PATH"] ":/sbin:/usr/sbin",path,/:/); + +} + +# scripting language (first line) + +/^#! ?\/.*\/python/ {sub(/^#! ?\/.*\/python/,"#! @PYTHON@");} +/^#! ?\/.*\/perl/ {sub(/^#! ?\/.*\/perl/,"#! @PERL@");} +/^#! ?\/.*\/[a-z]{0,2}awk/ {sub(/^#! ?\/.*\/[a-z]{0,2}awk/,"#! @AWK@");} +/^#! ?\/.*\/sh/ {sub(/^#! ?\/.*\/sh/,"#! @SHELL@");} + +# add to libexecdir to INC for perl utils.pm +/^use/ { if (/lib/) { if (/utils.pm|"."/ ) {sub(/utils.pm|"."/,led() )} } } + + +# Replace the placeholders with the values from configure +/#PERL#/ {sub(/#PERL#/,"@PERL@");} +/#STATEFILES_DIR#/ {sub(/#STATEFILES_DIR#/,"@STATEFILES_DIR@");} +/#PACKAGE_VERSION#/ {sub(/#PACKAGE_VERSION#/,"@PACKAGE_VERSION@");} +/#STANDALONE#/ {sub(/#STANDALONE#/,"@STANDALONE@");} + +{ + print; +} + diff --git a/check_nwc_health/control b/check_nwc_health/control index 8e56581..7870a7d 100644 --- a/check_nwc_health/control +++ b/check_nwc_health/control @@ -4,4 +4,4 @@ Uploaders: Jan Wagner Description: This plugin checks the hardware health and interface metrics of network components like switches and routers. Build-Depends: autotools-dev -Version: 7.12.1.3 +Version: 8.4 diff --git a/check_nwc_health/src b/check_nwc_health/src index aee6125..575eb3a 120000 --- a/check_nwc_health/src +++ b/check_nwc_health/src @@ -1 +1 @@ -check_nwc_health-7.12.1.3 \ No newline at end of file +check_nwc_health-8.4 \ No newline at end of file