check_nwc_health: Update to 7.6

This commit is contained in:
Jan Wagner 2019-04-03 17:16:28 +02:00
parent 83bc010257
commit 3f29eabf53
453 changed files with 5819 additions and 2213 deletions

View file

@ -1,17 +0,0 @@
package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOBGP4MIB;
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'CISCO-BGP4-MIB'} = {
url => '',
name => 'CISCO-BGP4-MIB',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-BGP4-MIB'} = {
'cbgpPeerAddrFamilyPrefixTable' => '1.3.6.1.4.1.9.9.187.1.2.4',
'cbgpPeerAddrFamilyPrefixEntry' => '1.3.6.1.4.1.9.9.187.1.2.4.1',
'cbgpPeerAddrAcceptedPrefixes' => '1.3.6.1.4.1.9.9.187.1.2.4.1.1',
};
1;
__END__

View file

@ -1,327 +0,0 @@
package Monitoring::GLPlugin::SNMP::MibsAndOids::FORTINETFORTIGATEMIB;
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'FORTINET-FORTIGATE-MIB'} = {
url => '',
name => 'FORTINET-FORTIGATE-MIB',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'FORTINET-FORTIGATE-MIB'} = {
'fgSystem' => '1.3.6.1.4.1.12356.101.4',
'fgSystemInfo' => '1.3.6.1.4.1.12356.101.4.1',
'fgSysVersion' => '1.3.6.1.4.1.12356.101.4.1.1.0',
'fgSysMgmtVdom' => '1.3.6.1.4.1.12356.101.4.1.2.0',
'fgSysCpuUsage' => '1.3.6.1.4.1.12356.101.4.1.3.0',
'fgSysMemUsage' => '1.3.6.1.4.1.12356.101.4.1.4.0',
'fgSysMemCapacity' => '1.3.6.1.4.1.12356.101.4.1.5.0',
'fgSysDiskUsage' => '1.3.6.1.4.1.12356.101.4.1.6.0',
'fgSysDiskCapacity' => '1.3.6.1.4.1.12356.101.4.1.7.0',
'fgSysSesCount' => '1.3.6.1.4.1.12356.101.4.1.8.0',
'fgSoftware' => '1.3.6.1.4.1.12356.101.4.2',
'fgSysVersionAv' => '1.3.6.1.4.1.12356.101.4.2.1.0',
'fgSysVersionIps' => '1.3.6.1.4.1.12356.101.4.2.2.0',
'fgHwSensors' => '1.3.6.1.4.1.12356.101.4.3',
'fgHwSensorCount' => '1.3.6.1.4.1.12356.101.4.3.1.0',
'fgHwSensorTable' => '1.3.6.1.4.1.12356.101.4.3.2',
'fgHwSensorEntry' => '1.3.6.1.4.1.12356.101.4.3.2.1',
'fgHwSensorEntIndex' => '1.3.6.1.4.1.12356.101.4.3.2.1.1',
'fgHwSensorEntName' => '1.3.6.1.4.1.12356.101.4.3.2.1.2',
'fgHwSensorEntValue' => '1.3.6.1.4.1.12356.101.4.3.2.1.3',
'fgHwSensorEntAlarmStatus' => '1.3.6.1.4.1.12356.101.4.3.2.1.4',
'fgHwSensorEntAlarmStatusDefinition' => {
'0' => 'false',
'1' => 'true',
},
'fgFirewall' => '1.3.6.1.4.1.12356.101.5',
'fgFwPolicies' => '1.3.6.1.4.1.12356.101.5.1',
'fgFwPolInfo' => '1.3.6.1.4.1.12356.101.5.1.1',
'fgFwPolTables' => '1.3.6.1.4.1.12356.101.5.1.2',
'fgFwPolStatsTable' => '1.3.6.1.4.1.12356.101.5.1.2.1',
'fgFwPolStatsEntry' => '1.3.6.1.4.1.12356.101.5.1.2.1.1',
'fgFwPolID' => '1.3.6.1.4.1.12356.101.5.1.2.1.1.1',
'fgFwPolPktCount' => '1.3.6.1.4.1.12356.101.5.1.2.1.1.2',
'fgFwPolByteCount' => '1.3.6.1.4.1.12356.101.5.1.2.1.1.3',
'fgFwUsers' => '1.3.6.1.4.1.12356.101.5.2',
'fgFwUserInfo' => '1.3.6.1.4.1.12356.101.5.2.1',
'fgFwUserNumber' => '1.3.6.1.4.1.12356.101.5.2.1.1.0',
'fgFwUserAuthTimeout' => '1.3.6.1.4.1.12356.101.5.2.1.2.0',
'fgFwUserTables' => '1.3.6.1.4.1.12356.101.5.2.2',
'fgFwUserTable' => '1.3.6.1.4.1.12356.101.5.2.2.1',
'fgFwUserEntry' => '1.3.6.1.4.1.12356.101.5.2.2.1.1',
'fgFwUserIndex' => '1.3.6.1.4.1.12356.101.5.2.2.1.1.1',
'fgFwUserName' => '1.3.6.1.4.1.12356.101.5.2.2.1.1.2',
'fgFwUserAuth' => '1.3.6.1.4.1.12356.101.5.2.2.1.1.3',
'fgFwUserState' => '1.3.6.1.4.1.12356.101.5.2.2.1.1.4',
'fgFwUserVdom' => '1.3.6.1.4.1.12356.101.5.2.2.1.1.5',
'fgMgmt' => '1.3.6.1.4.1.12356.101.6',
'fgFmTrapPrefix' => '1.3.6.1.4.1.12356.101.6.0',
'fgAdmin' => '1.3.6.1.4.1.12356.101.6.1',
'fgAdminOptions' => '1.3.6.1.4.1.12356.101.6.1.1',
'fgAdminIdleTimeout' => '1.3.6.1.4.1.12356.101.6.1.1.1.0',
'fgAdminLcdProtection' => '1.3.6.1.4.1.12356.101.6.1.1.2.0',
'fgAdminTables' => '1.3.6.1.4.1.12356.101.6.1.2',
'fgAdminTable' => '1.3.6.1.4.1.12356.101.6.1.2.1',
'fgAdminEntry' => '1.3.6.1.4.1.12356.101.6.1.2.1.1',
'fgAdminVdom' => '1.3.6.1.4.1.12356.101.6.1.2.1.1.1',
'fgMgmtTrapObjects' => '1.3.6.1.4.1.12356.101.6.2',
'fgManIfIp' => '1.3.6.1.4.1.12356.101.6.2.1.0',
'fgManIfMask' => '1.3.6.1.4.1.12356.101.6.2.2.0',
'fgIntf' => '1.3.6.1.4.1.12356.101.7',
'fgIntfInfo' => '1.3.6.1.4.1.12356.101.7.1',
'fgIntfTables' => '1.3.6.1.4.1.12356.101.7.2',
'fgIntfTable' => '1.3.6.1.4.1.12356.101.7.2.1',
'fgIntfEntry' => '1.3.6.1.4.1.12356.101.7.2.1.1',
'fgIntfEntVdom' => '1.3.6.1.4.1.12356.101.7.2.1.1.1',
'fgAntivirus' => '1.3.6.1.4.1.12356.101.8',
'fgAvInfo' => '1.3.6.1.4.1.12356.101.8.1',
'fgAvTables' => '1.3.6.1.4.1.12356.101.8.2',
'fgAvStatsTable' => '1.3.6.1.4.1.12356.101.8.2.1',
'fgAvStatsEntry' => '1.3.6.1.4.1.12356.101.8.2.1.1',
'fgAvVirusDetected' => '1.3.6.1.4.1.12356.101.8.2.1.1.1',
'fgAvVirusBlocked' => '1.3.6.1.4.1.12356.101.8.2.1.1.2',
'fgAvHTTPVirusDetected' => '1.3.6.1.4.1.12356.101.8.2.1.1.3',
'fgAvHTTPVirusBlocked' => '1.3.6.1.4.1.12356.101.8.2.1.1.4',
'fgAvSMTPVirusDetected' => '1.3.6.1.4.1.12356.101.8.2.1.1.5',
'fgAvSMTPVirusBlocked' => '1.3.6.1.4.1.12356.101.8.2.1.1.6',
'fgAvPOP3VirusDetected' => '1.3.6.1.4.1.12356.101.8.2.1.1.7',
'fgAvPOP3VirusBlocked' => '1.3.6.1.4.1.12356.101.8.2.1.1.8',
'fgAvIMAPVirusDetected' => '1.3.6.1.4.1.12356.101.8.2.1.1.9',
'fgAvIMAPVirusBlocked' => '1.3.6.1.4.1.12356.101.8.2.1.1.10',
'fgAvFTPVirusDetected' => '1.3.6.1.4.1.12356.101.8.2.1.1.11',
'fgAvFTPVirusBlocked' => '1.3.6.1.4.1.12356.101.8.2.1.1.12',
'fgAvIMVirusDetected' => '1.3.6.1.4.1.12356.101.8.2.1.1.13',
'fgAvIMVirusBlocked' => '1.3.6.1.4.1.12356.101.8.2.1.1.14',
'fgAvNNTPVirusDetected' => '1.3.6.1.4.1.12356.101.8.2.1.1.15',
'fgAvNNTPVirusBlocked' => '1.3.6.1.4.1.12356.101.8.2.1.1.16',
'fgAvOversizedDetected' => '1.3.6.1.4.1.12356.101.8.2.1.1.17',
'fgAvOversizedBlocked' => '1.3.6.1.4.1.12356.101.8.2.1.1.18',
'fgAvTrapObjects' => '1.3.6.1.4.1.12356.101.8.3',
'fgAvTrapVirName' => '1.3.6.1.4.1.12356.101.8.3.1.0',
'fgIps' => '1.3.6.1.4.1.12356.101.9',
'fgIpsInfo' => '1.3.6.1.4.1.12356.101.9.1',
'fgIpsTables' => '1.3.6.1.4.1.12356.101.9.2',
'fgIpsStatsTable' => '1.3.6.1.4.1.12356.101.9.2.1',
'fgIpsStatsEntry' => '1.3.6.1.4.1.12356.101.9.2.1.1',
'fgIpsIntrusionsDetected' => '1.3.6.1.4.1.12356.101.9.2.1.1.1',
'fgIpsIntrusionsBlocked' => '1.3.6.1.4.1.12356.101.9.2.1.1.2',
'fgIpsCritSevDetections' => '1.3.6.1.4.1.12356.101.9.2.1.1.3',
'fgIpsHighSevDetections' => '1.3.6.1.4.1.12356.101.9.2.1.1.4',
'fgIpsMedSevDetections' => '1.3.6.1.4.1.12356.101.9.2.1.1.5',
'fgIpsLowSevDetections' => '1.3.6.1.4.1.12356.101.9.2.1.1.6',
'fgIpsInfoSevDetections' => '1.3.6.1.4.1.12356.101.9.2.1.1.7',
'fgIpsSignatureDetections' => '1.3.6.1.4.1.12356.101.9.2.1.1.8',
'fgIpsAnomalyDetections' => '1.3.6.1.4.1.12356.101.9.2.1.1.9',
'fgIpsTrapObjects' => '1.3.6.1.4.1.12356.101.9.3',
'fgIpsTrapSigId' => '1.3.6.1.4.1.12356.101.9.3.1.0',
'fgIpsTrapSrcIp' => '1.3.6.1.4.1.12356.101.9.3.2.0',
'fgIpsTrapSigMsg' => '1.3.6.1.4.1.12356.101.9.3.3.0',
'fgApplications' => '1.3.6.1.4.1.12356.101.10',
'fgWebfilter' => '1.3.6.1.4.1.12356.101.10.1',
'fgWebfilterInfo' => '1.3.6.1.4.1.12356.101.10.1.1',
'fgWebfilterTables' => '1.3.6.1.4.1.12356.101.10.1.2',
'fgWebfilterStatsTable' => '1.3.6.1.4.1.12356.101.10.1.2.1',
'fgWebfilterStatsEntry' => '1.3.6.1.4.1.12356.101.10.1.2.1.1',
'fgWfHTTPBlocked' => '1.3.6.1.4.1.12356.101.10.1.2.1.1.1',
'fgWfHTTPSBlocked' => '1.3.6.1.4.1.12356.101.10.1.2.1.1.2',
'fgWfHTTPURLBlocked' => '1.3.6.1.4.1.12356.101.10.1.2.1.1.3',
'fgWfHTTPSURLBlocked' => '1.3.6.1.4.1.12356.101.10.1.2.1.1.4',
'fgWfActiveXBlocked' => '1.3.6.1.4.1.12356.101.10.1.2.1.1.5',
'fgWfCookieBlocked' => '1.3.6.1.4.1.12356.101.10.1.2.1.1.6',
'fgWfAppletBlocked' => '1.3.6.1.4.1.12356.101.10.1.2.1.1.7',
'fgFortiGuardStatsTable' => '1.3.6.1.4.1.12356.101.10.1.2.2',
'fgFortiGuardStatsEntry' => '1.3.6.1.4.1.12356.101.10.1.2.2.1',
'fgFgWfHTTPExamined' => '1.3.6.1.4.1.12356.101.10.1.2.2.1.1',
'fgFgWfHTTPSExamined' => '1.3.6.1.4.1.12356.101.10.1.2.2.1.2',
'fgFgWfHTTPAllowed' => '1.3.6.1.4.1.12356.101.10.1.2.2.1.3',
'fgFgWfHTTPSAllowed' => '1.3.6.1.4.1.12356.101.10.1.2.2.1.4',
'fgFgWfHTTPBlocked' => '1.3.6.1.4.1.12356.101.10.1.2.2.1.5',
'fgFgWfHTTPSBlocked' => '1.3.6.1.4.1.12356.101.10.1.2.2.1.6',
'fgFgWfHTTPLogged' => '1.3.6.1.4.1.12356.101.10.1.2.2.1.7',
'fgFgWfHTTPSLogged' => '1.3.6.1.4.1.12356.101.10.1.2.2.1.8',
'fgFgWfHTTPOverridden' => '1.3.6.1.4.1.12356.101.10.1.2.2.1.9',
'fgFgWfHTTPSOverridden' => '1.3.6.1.4.1.12356.101.10.1.2.2.1.10',
'fgAppProxyHTTP' => '1.3.6.1.4.1.12356.101.10.100',
'fgApHTTPUpTime' => '1.3.6.1.4.1.12356.101.10.100.1.0',
'fgApHTTPMemUsage' => '1.3.6.1.4.1.12356.101.10.100.2.0',
'fgApHTTPStatsTable' => '1.3.6.1.4.1.12356.101.10.100.3',
'fgApHTTPStatsEntry' => '1.3.6.1.4.1.12356.101.10.100.3.1',
'fgApHTTPReqProcessed' => '1.3.6.1.4.1.12356.101.10.100.3.1.1',
'fgAppProxySMTP' => '1.3.6.1.4.1.12356.101.10.101',
'fgApSMTPUpTime' => '1.3.6.1.4.1.12356.101.10.101.1.0',
'fgApSMTPMemUsage' => '1.3.6.1.4.1.12356.101.10.101.2.0',
'fgApSMTPStatsTable' => '1.3.6.1.4.1.12356.101.10.101.3',
'fgApSMTPStatsEntry' => '1.3.6.1.4.1.12356.101.10.101.3.1',
'fgApSMTPReqProcessed' => '1.3.6.1.4.1.12356.101.10.101.3.1.1',
'fgApSMTPSpamDetected' => '1.3.6.1.4.1.12356.101.10.101.3.1.2',
'fgAppProxyPOP3' => '1.3.6.1.4.1.12356.101.10.102',
'fgApPOP3UpTime' => '1.3.6.1.4.1.12356.101.10.102.1.0',
'fgApPOP3MemUsage' => '1.3.6.1.4.1.12356.101.10.102.2.0',
'fgApPOP3StatsTable' => '1.3.6.1.4.1.12356.101.10.102.3',
'fgApPOP3StatsEntry' => '1.3.6.1.4.1.12356.101.10.102.3.1',
'fgApPOP3ReqProcessed' => '1.3.6.1.4.1.12356.101.10.102.3.1.1',
'fgApPOP3SpamDetected' => '1.3.6.1.4.1.12356.101.10.102.3.1.2',
'fgAppProxyIMAP' => '1.3.6.1.4.1.12356.101.10.103',
'fgApIMAPUpTime' => '1.3.6.1.4.1.12356.101.10.103.1.0',
'fgApIMAPMemUsage' => '1.3.6.1.4.1.12356.101.10.103.2.0',
'fgApIMAPStatsTable' => '1.3.6.1.4.1.12356.101.10.103.3',
'fgApIMAPStatsEntry' => '1.3.6.1.4.1.12356.101.10.103.3.1',
'fgApIMAPReqProcessed' => '1.3.6.1.4.1.12356.101.10.103.3.1.1',
'fgApIMAPSpamDetected' => '1.3.6.1.4.1.12356.101.10.103.3.1.2',
'fgAppProxyNNTP' => '1.3.6.1.4.1.12356.101.10.104',
'fgApNNTPUpTime' => '1.3.6.1.4.1.12356.101.10.104.1.0',
'fgApNNTPMemUsage' => '1.3.6.1.4.1.12356.101.10.104.2.0',
'fgApNNTPStatsTable' => '1.3.6.1.4.1.12356.101.10.104.3',
'fgApNNTPStatsEntry' => '1.3.6.1.4.1.12356.101.10.104.3.1',
'fgApNNTPReqProcessed' => '1.3.6.1.4.1.12356.101.10.104.3.1.1',
'fgAppProxyIM' => '1.3.6.1.4.1.12356.101.10.105',
'fgApIMUpTime' => '1.3.6.1.4.1.12356.101.10.105.1.0',
'fgApIMMemUsage' => '1.3.6.1.4.1.12356.101.10.105.2.0',
'fgApIMStatsTable' => '1.3.6.1.4.1.12356.101.10.105.3',
'fgApIMStatsEntry' => '1.3.6.1.4.1.12356.101.10.105.3.1',
'fgApIMReqProcessed' => '1.3.6.1.4.1.12356.101.10.105.3.1.1',
'fgAppProxySIP' => '1.3.6.1.4.1.12356.101.10.106',
'fgApSIPUpTime' => '1.3.6.1.4.1.12356.101.10.106.1.0',
'fgApSIPMemUsage' => '1.3.6.1.4.1.12356.101.10.106.2.0',
'fgApSIPStatsTable' => '1.3.6.1.4.1.12356.101.10.106.3',
'fgApSIPStatsEntry' => '1.3.6.1.4.1.12356.101.10.106.3.1',
'fgApSIPClientReg' => '1.3.6.1.4.1.12356.101.10.106.3.1.1',
'fgApSIPCallHandling' => '1.3.6.1.4.1.12356.101.10.106.3.1.2',
'fgApSIPServices' => '1.3.6.1.4.1.12356.101.10.106.3.1.3',
'fgApSIPOtherReq' => '1.3.6.1.4.1.12356.101.10.106.3.1.4',
'fgAppScanUnit' => '1.3.6.1.4.1.12356.101.10.107',
'fgAppSuNumber' => '1.3.6.1.4.1.12356.101.10.107.1.0',
'fgAppSuStatsTable' => '1.3.6.1.4.1.12356.101.10.107.2',
'fgAppSuStatsEntry' => '1.3.6.1.4.1.12356.101.10.107.2.1',
'fgAppSuIndex' => '1.3.6.1.4.1.12356.101.10.107.2.1.1',
'fgAppSuFileScanned' => '1.3.6.1.4.1.12356.101.10.107.2.1.2',
'fgAppVoIP' => '1.3.6.1.4.1.12356.101.10.108',
'fgAppVoIPStatsTable' => '1.3.6.1.4.1.12356.101.10.108.1',
'fgAppVoIPStatsEntry' => '1.3.6.1.4.1.12356.101.10.108.1.1',
'fgAppVoIPConn' => '1.3.6.1.4.1.12356.101.10.108.1.1.1',
'fgAppVoIPCallBlocked' => '1.3.6.1.4.1.12356.101.10.108.1.1.2',
'fgAppP2P' => '1.3.6.1.4.1.12356.101.10.109',
'fgAppP2PStatsTable' => '1.3.6.1.4.1.12356.101.10.109.1',
'fgAppP2PStatsEntry' => '1.3.6.1.4.1.12356.101.10.109.1.1',
'fgAppP2PConnBlocked' => '1.3.6.1.4.1.12356.101.10.109.1.1.1',
'fgAppP2PProtoTable' => '1.3.6.1.4.1.12356.101.10.109.2',
'fgAppP2PProtoEntry' => '1.3.6.1.4.1.12356.101.10.109.2.1',
'fgAppP2PProtEntProto' => '1.3.6.1.4.1.12356.101.10.109.2.1.1',
'fgAppP2PProtEntBytes' => '1.3.6.1.4.1.12356.101.10.109.2.1.2',
'fgAppP2PProtoEntLastReset' => '1.3.6.1.4.1.12356.101.10.109.2.1.3',
'fgAppIM' => '1.3.6.1.4.1.12356.101.10.110',
'fgAppIMStatsTable' => '1.3.6.1.4.1.12356.101.10.110.1',
'fgAppIMStatsEntry' => '1.3.6.1.4.1.12356.101.10.110.1.1',
'fgAppIMMessages' => '1.3.6.1.4.1.12356.101.10.110.1.1.1',
'fgAppIMFileTransfered' => '1.3.6.1.4.1.12356.101.10.110.1.1.2',
'fgAppIMFileTxBlocked' => '1.3.6.1.4.1.12356.101.10.110.1.1.3',
'fgAppIMConnBlocked' => '1.3.6.1.4.1.12356.101.10.110.1.1.4',
'fgAppProxyFTP' => '1.3.6.1.4.1.12356.101.10.111',
'fgApFTPUpTime' => '1.3.6.1.4.1.12356.101.10.111.1.0',
'fgApFTPMemUsage' => '1.3.6.1.4.1.12356.101.10.111.2.0',
'fgApFTPStatsTable' => '1.3.6.1.4.1.12356.101.10.111.3',
'fgApFTPStatsEntry' => '1.3.6.1.4.1.12356.101.10.111.3.1',
'fgApFTPReqProcessed' => '1.3.6.1.4.1.12356.101.10.111.3.1.1',
'fgInetProto' => '1.3.6.1.4.1.12356.101.11',
'fgInetProtoInfo' => '1.3.6.1.4.1.12356.101.11.1',
'fgInetProtoTables' => '1.3.6.1.4.1.12356.101.11.2',
'fgIpSessTable' => '1.3.6.1.4.1.12356.101.11.2.1',
'fgIpSessEntry' => '1.3.6.1.4.1.12356.101.11.2.1.1',
'fgIpSessIndex' => '1.3.6.1.4.1.12356.101.11.2.1.1.1',
'fgIpSessProto' => '1.3.6.1.4.1.12356.101.11.2.1.1.2',
'fgIpSessFromAddr' => '1.3.6.1.4.1.12356.101.11.2.1.1.3',
'fgIpSessFromPort' => '1.3.6.1.4.1.12356.101.11.2.1.1.4',
'fgIpSessToAddr' => '1.3.6.1.4.1.12356.101.11.2.1.1.5',
'fgIpSessToPort' => '1.3.6.1.4.1.12356.101.11.2.1.1.6',
'fgIpSessExp' => '1.3.6.1.4.1.12356.101.11.2.1.1.7',
'fgIpSessVdom' => '1.3.6.1.4.1.12356.101.11.2.1.1.8',
'fgIpSessStatsTable' => '1.3.6.1.4.1.12356.101.11.2.2',
'fgIpSessStatsEntry' => '1.3.6.1.4.1.12356.101.11.2.2.1',
'fgIpSessNumber' => '1.3.6.1.4.1.12356.101.11.2.2.1.1',
'fgVpn' => '1.3.6.1.4.1.12356.101.12',
'fgVpnInfo' => '1.3.6.1.4.1.12356.101.12.1',
'fgVpnTables' => '1.3.6.1.4.1.12356.101.12.2',
'fgVpnDialupTable' => '1.3.6.1.4.1.12356.101.12.2.1',
'fgVpnDialupEntry' => '1.3.6.1.4.1.12356.101.12.2.1.1',
'fgVpnDialupIndex' => '1.3.6.1.4.1.12356.101.12.2.1.1.1',
'fgVpnDialupGateway' => '1.3.6.1.4.1.12356.101.12.2.1.1.2',
'fgVpnDialupLifetime' => '1.3.6.1.4.1.12356.101.12.2.1.1.3',
'fgVpnDialupTimeout' => '1.3.6.1.4.1.12356.101.12.2.1.1.4',
'fgVpnDialupSrcBegin' => '1.3.6.1.4.1.12356.101.12.2.1.1.5',
'fgVpnDialupSrcEnd' => '1.3.6.1.4.1.12356.101.12.2.1.1.6',
'fgVpnDialupDstAddr' => '1.3.6.1.4.1.12356.101.12.2.1.1.7',
'fgVpnDialupVdom' => '1.3.6.1.4.1.12356.101.12.2.1.1.8',
'fgVpnDialupInOctets' => '1.3.6.1.4.1.12356.101.12.2.1.1.9',
'fgVpnDialupOutOctets' => '1.3.6.1.4.1.12356.101.12.2.1.1.10',
'fgVpnTunTable' => '1.3.6.1.4.1.12356.101.12.2.2',
'fgVpnTunEntry' => '1.3.6.1.4.1.12356.101.12.2.2.1',
'fgVpnTunEntIndex' => '1.3.6.1.4.1.12356.101.12.2.2.1.1',
'fgVpnTunEntPhase1Name' => '1.3.6.1.4.1.12356.101.12.2.2.1.2',
'fgVpnTunEntPhase2Name' => '1.3.6.1.4.1.12356.101.12.2.2.1.3',
'fgVpnTunEntRemGwyIp' => '1.3.6.1.4.1.12356.101.12.2.2.1.4',
'fgVpnTunEntRemGwyPort' => '1.3.6.1.4.1.12356.101.12.2.2.1.5',
'fgVpnTunEntLocGwyIp' => '1.3.6.1.4.1.12356.101.12.2.2.1.6',
'fgVpnTunEntLocGwyPort' => '1.3.6.1.4.1.12356.101.12.2.2.1.7',
'fgVpnTunEntSelectorSrcBeginIp' => '1.3.6.1.4.1.12356.101.12.2.2.1.8',
'fgVpnTunEntSelectorSrcEndIp' => '1.3.6.1.4.1.12356.101.12.2.2.1.9',
'fgVpnTunEntSelectorSrcPort' => '1.3.6.1.4.1.12356.101.12.2.2.1.10',
'fgVpnTunEntSelectorDstBeginIp' => '1.3.6.1.4.1.12356.101.12.2.2.1.11',
'fgVpnTunEntSelectorDstEndIp' => '1.3.6.1.4.1.12356.101.12.2.2.1.12',
'fgVpnTunEntSelectorDstPort' => '1.3.6.1.4.1.12356.101.12.2.2.1.13',
'fgVpnTunEntSelectorProto' => '1.3.6.1.4.1.12356.101.12.2.2.1.14',
'fgVpnTunEntLifeSecs' => '1.3.6.1.4.1.12356.101.12.2.2.1.15',
'fgVpnTunEntLifeBytes' => '1.3.6.1.4.1.12356.101.12.2.2.1.16',
'fgVpnTunEntTimeout' => '1.3.6.1.4.1.12356.101.12.2.2.1.17',
'fgVpnTunEntInOctets' => '1.3.6.1.4.1.12356.101.12.2.2.1.18',
'fgVpnTunEntOutOctets' => '1.3.6.1.4.1.12356.101.12.2.2.1.19',
'fgVpnTunEntStatus' => '1.3.6.1.4.1.12356.101.12.2.2.1.20',
'fgVpnTunEntVdom' => '1.3.6.1.4.1.12356.101.12.2.2.1.21',
'fgVpnSslStatsTable' => '1.3.6.1.4.1.12356.101.12.2.3',
'fgVpnSslStatsEntry' => '1.3.6.1.4.1.12356.101.12.2.3.1',
'fgVpnSslState' => '1.3.6.1.4.1.12356.101.12.2.3.1.1',
'fgVpnSslStatsLoginUsers' => '1.3.6.1.4.1.12356.101.12.2.3.1.2',
'fgVpnSslStatsMaxUsers' => '1.3.6.1.4.1.12356.101.12.2.3.1.3',
'fgVpnSslStatsActiveWebSessions' => '1.3.6.1.4.1.12356.101.12.2.3.1.4',
'fgVpnSslStatsMaxWebSessions' => '1.3.6.1.4.1.12356.101.12.2.3.1.5',
'fgVpnSslStatsActiveTunnels' => '1.3.6.1.4.1.12356.101.12.2.3.1.6',
'fgVpnSslStatsMaxTunnels' => '1.3.6.1.4.1.12356.101.12.2.3.1.7',
'fgVpnSslTunnelTable' => '1.3.6.1.4.1.12356.101.12.2.4',
'fgVpnSslTunnelEntry' => '1.3.6.1.4.1.12356.101.12.2.4.1',
'fgVpnSslTunnelIndex' => '1.3.6.1.4.1.12356.101.12.2.4.1.1',
'fgVpnSslTunnelVdom' => '1.3.6.1.4.1.12356.101.12.2.4.1.2',
'fgVpnSslTunnelUserName' => '1.3.6.1.4.1.12356.101.12.2.4.1.3',
'fgVpnSslTunnelSrcIp' => '1.3.6.1.4.1.12356.101.12.2.4.1.4',
'fgVpnSslTunnelIp' => '1.3.6.1.4.1.12356.101.12.2.4.1.5',
'fgVpnSslTunnelUpTime' => '1.3.6.1.4.1.12356.101.12.2.4.1.6',
'fgVpnSslTunnelBytesIn' => '1.3.6.1.4.1.12356.101.12.2.4.1.7',
'fgVpnSslTunnelBytesOut' => '1.3.6.1.4.1.12356.101.12.2.4.1.8',
'fgVpnTrapObjects' => '1.3.6.1.4.1.12356.101.12.3',
'fgVpnTrapLocalGateway' => '1.3.6.1.4.1.12356.101.12.3.2.0',
'fgVpnTrapRemoteGateway' => '1.3.6.1.4.1.12356.101.12.3.3.0',
'fgHighAvailability' => '1.3.6.1.4.1.12356.101.13',
'fgHaInfo' => '1.3.6.1.4.1.12356.101.13.1',
'fgHaSystemMode' => '1.3.6.1.4.1.12356.101.13.1.1.0',
'fgHaGroupId' => '1.3.6.1.4.1.12356.101.13.1.2.0',
'fgHaPriority' => '1.3.6.1.4.1.12356.101.13.1.3.0',
'fgHaOverride' => '1.3.6.1.4.1.12356.101.13.1.4.0',
'fgHaAutoSync' => '1.3.6.1.4.1.12356.101.13.1.5.0',
'fgHaSchedule' => '1.3.6.1.4.1.12356.101.13.1.6.0',
'fgHaGroupName' => '1.3.6.1.4.1.12356.101.13.1.7.0',
'fgHaTables' => '1.3.6.1.4.1.12356.101.13.2',
'fgHaStatsTable' => '1.3.6.1.4.1.12356.101.13.2.1',
'fgHaStatsEntry' => '1.3.6.1.4.1.12356.101.13.2.1.1',
'fgHaStatsIndex' => '1.3.6.1.4.1.12356.101.13.2.1.1.1',
'fgHaStatsSerial' => '1.3.6.1.4.1.12356.101.13.2.1.1.2',
'fgHaStatsCpuUsage' => '1.3.6.1.4.1.12356.101.13.2.1.1.3',
'fgHaStatsMemUsage' => '1.3.6.1.4.1.12356.101.13.2.1.1.4',
'fgHaStatsNetUsage' => '1.3.6.1.4.1.12356.101.13.2.1.1.5',
'fgHaStatsSesCount' => '1.3.6.1.4.1.12356.101.13.2.1.1.6',
'fgHaStatsPktCount' => '1.3.6.1.4.1.12356.101.13.2.1.1.7',
'fgHaStatsByteCount' => '1.3.6.1.4.1.12356.101.13.2.1.1.8',
'fgHaStatsIdsCount' => '1.3.6.1.4.1.12356.101.13.2.1.1.9',
'fgHaStatsAvCount' => '1.3.6.1.4.1.12356.101.13.2.1.1.10',
'fgHaStatsHostname' => '1.3.6.1.4.1.12356.101.13.2.1.1.11',
};
1;
__END__

View file

@ -1,108 +0,0 @@
package Monitoring::GLPlugin::SNMP::MibsAndOids::IPFORWARDMIB;
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'IP-FORWARD-MIB'} = {
url => '',
name => 'IP-FORWARD-MIB',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::requirements->{'IP-FORWARD-MIB'} = [
'SNMPv2-TC-v1-MIB',
];
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'IP-FORWARD-MIB'} =
'1.3.6.1.2.1.4.24';
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'IP-FORWARD-MIB'} = {
'ipForward' => '1.3.6.1.2.1.4.24',
'ipForwardNumber' => '1.3.6.1.2.1.4.24.1.0',
'ipForwardTable' => '1.3.6.1.2.1.4.24.2',
'ipForwardEntry' => '1.3.6.1.2.1.4.24.2.1',
'ipForwardDest' => '1.3.6.1.2.1.4.24.2.1.1',
'ipForwardMask' => '1.3.6.1.2.1.4.24.2.1.2',
'ipForwardPolicy' => '1.3.6.1.2.1.4.24.2.1.3',
'ipForwardNextHop' => '1.3.6.1.2.1.4.24.2.1.4',
'ipForwardIfIndex' => '1.3.6.1.2.1.4.24.2.1.5',
'ipForwardType' => '1.3.6.1.2.1.4.24.2.1.6',
'ipForwardProto' => '1.3.6.1.2.1.4.24.2.1.7',
'ipForwardAge' => '1.3.6.1.2.1.4.24.2.1.8',
'ipForwardInfo' => '1.3.6.1.2.1.4.24.2.1.9',
'ipForwardNextHopAS' => '1.3.6.1.2.1.4.24.2.1.10',
'ipForwardMetric1' => '1.3.6.1.2.1.4.24.2.1.11',
'ipForwardMetric2' => '1.3.6.1.2.1.4.24.2.1.12',
'ipForwardMetric3' => '1.3.6.1.2.1.4.24.2.1.13',
'ipForwardMetric4' => '1.3.6.1.2.1.4.24.2.1.14',
'ipForwardMetric5' => '1.3.6.1.2.1.4.24.2.1.15',
'ipCidrRouteNumber' => '1.3.6.1.2.1.4.24.3.0',
'ipCidrRouteTable' => '1.3.6.1.2.1.4.24.4',
'ipCidrRouteEntry' => '1.3.6.1.2.1.4.24.4.1',
'ipCidrRouteDest' => '1.3.6.1.2.1.4.24.4.1.1',
'ipCidrRouteMask' => '1.3.6.1.2.1.4.24.4.1.2',
'ipCidrRouteTos' => '1.3.6.1.2.1.4.24.4.1.3',
'ipCidrRouteNextHop' => '1.3.6.1.2.1.4.24.4.1.4',
'ipCidrRouteIfIndex' => '1.3.6.1.2.1.4.24.4.1.5',
'ipCidrRouteType' => '1.3.6.1.2.1.4.24.4.1.6',
'ipCidrRouteTypeDefinition' => {
'1' => 'other',
'2' => 'reject',
'3' => 'local',
'4' => 'remote',
},
'ipCidrRouteProto' => '1.3.6.1.2.1.4.24.4.1.7',
'ipCidrRouteProtoDefinition' => {
'1' => 'other',
'2' => 'local',
'3' => 'netmgmt',
'4' => 'icmp',
'5' => 'egp',
'6' => 'ggp',
'7' => 'hello',
'8' => 'rip',
'9' => 'isIs',
'10' => 'esIs',
'11' => 'ciscoIgrp',
'12' => 'bbnSpfIgp',
'13' => 'ospf',
'14' => 'bgp',
'15' => 'idpr',
'16' => 'ciscoEigrp',
},
'ipCidrRouteAge' => '1.3.6.1.2.1.4.24.4.1.8',
'ipCidrRouteInfo' => '1.3.6.1.2.1.4.24.4.1.9',
'ipCidrRouteNextHopAS' => '1.3.6.1.2.1.4.24.4.1.10',
'ipCidrRouteMetric1' => '1.3.6.1.2.1.4.24.4.1.11',
'ipCidrRouteMetric2' => '1.3.6.1.2.1.4.24.4.1.12',
'ipCidrRouteMetric3' => '1.3.6.1.2.1.4.24.4.1.13',
'ipCidrRouteMetric4' => '1.3.6.1.2.1.4.24.4.1.14',
'ipCidrRouteMetric5' => '1.3.6.1.2.1.4.24.4.1.15',
'ipCidrRouteStatus' => '1.3.6.1.2.1.4.24.4.1.16',
'ipCidrRouteStatusDefinition' => 'SNMPv2-TC-v1-MIB::RowStatus',
'ipForwardConformance' => '1.3.6.1.2.1.4.24.5',
'ipForwardGroups' => '1.3.6.1.2.1.4.24.5.1',
'ipForwardCompliances' => '1.3.6.1.2.1.4.24.5.2',
'inetCidrRouteNumber' => '1.3.6.1.2.1.4.24.6.0',
'inetCidrRouteTable' => '1.3.6.1.2.1.4.24.7',
'inetCidrRouteEntry' => '1.3.6.1.2.1.4.24.7.1',
'inetCidrRouteDestType' => '1.3.6.1.2.1.4.24.7.1.1',
'inetCidrRouteDest' => '1.3.6.1.2.1.4.24.7.1.2',
'inetCidrRoutePfxLen' => '1.3.6.1.2.1.4.24.7.1.3',
'inetCidrRoutePolicy' => '1.3.6.1.2.1.4.24.7.1.4',
'inetCidrRouteNextHopType' => '1.3.6.1.2.1.4.24.7.1.5',
'inetCidrRouteNextHop' => '1.3.6.1.2.1.4.24.7.1.6',
'inetCidrRouteIfIndex' => '1.3.6.1.2.1.4.24.7.1.7',
'inetCidrRouteType' => '1.3.6.1.2.1.4.24.7.1.8',
'inetCidrRouteProto' => '1.3.6.1.2.1.4.24.7.1.9',
'inetCidrRouteAge' => '1.3.6.1.2.1.4.24.7.1.10',
'inetCidrRouteNextHopAS' => '1.3.6.1.2.1.4.24.7.1.11',
'inetCidrRouteMetric1' => '1.3.6.1.2.1.4.24.7.1.12',
'inetCidrRouteMetric2' => '1.3.6.1.2.1.4.24.7.1.13',
'inetCidrRouteMetric3' => '1.3.6.1.2.1.4.24.7.1.14',
'inetCidrRouteMetric4' => '1.3.6.1.2.1.4.24.7.1.15',
'inetCidrRouteMetric5' => '1.3.6.1.2.1.4.24.7.1.16',
'inetCidrRouteStatus' => '1.3.6.1.2.1.4.24.7.1.17',
'inetCidrRouteDiscards' => '1.3.6.1.2.1.4.24.8.0',
};
1;
__END__

View file

@ -1,93 +0,0 @@
package Monitoring::GLPlugin::SNMP::MibsAndOids::IPMIB;
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'IP-MIB'} = {
url => '',
name => 'IP-MIB',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'IP-MIB'} = {
'ip' => '1.3.6.1.2.1.4',
'ipForwarding' => '1.3.6.1.2.1.4.1',
'ipDefaultTTL' => '1.3.6.1.2.1.4.2',
'ipInReceives' => '1.3.6.1.2.1.4.3',
'ipInHdrErrors' => '1.3.6.1.2.1.4.4',
'ipInAddrErrors' => '1.3.6.1.2.1.4.5',
'ipForwDatagrams' => '1.3.6.1.2.1.4.6',
'ipInUnknownProtos' => '1.3.6.1.2.1.4.7',
'ipInDiscards' => '1.3.6.1.2.1.4.8',
'ipInDelivers' => '1.3.6.1.2.1.4.9',
'ipOutRequests' => '1.3.6.1.2.1.4.10',
'ipOutDiscards' => '1.3.6.1.2.1.4.11',
'ipOutNoRoutes' => '1.3.6.1.2.1.4.12',
'ipReasmTimeout' => '1.3.6.1.2.1.4.13',
'ipReasmReqds' => '1.3.6.1.2.1.4.14',
'ipReasmOKs' => '1.3.6.1.2.1.4.15',
'ipReasmFails' => '1.3.6.1.2.1.4.16',
'ipFragOKs' => '1.3.6.1.2.1.4.17',
'ipFragFails' => '1.3.6.1.2.1.4.18',
'ipFragCreates' => '1.3.6.1.2.1.4.19',
'ipAddrTable' => '1.3.6.1.2.1.4.20',
'ipAddrEntry' => '1.3.6.1.2.1.4.20.1',
'ipAdEntAddr' => '1.3.6.1.2.1.4.20.1.1',
'ipAdEntIfIndex' => '1.3.6.1.2.1.4.20.1.2',
'ipAdEntNetMask' => '1.3.6.1.2.1.4.20.1.3',
'ipAdEntBcastAddr' => '1.3.6.1.2.1.4.20.1.4',
'ipAdEntReasmMaxSize' => '1.3.6.1.2.1.4.20.1.5',
'ipRouteTable' => '1.3.6.1.2.1.4.21',
'ipRouteEntry' => '1.3.6.1.2.1.4.21.1',
'ipRouteDest' => '1.3.6.1.2.1.4.21.1.1',
'ipRouteIfIndex' => '1.3.6.1.2.1.4.21.1.2',
'ipRouteMetric1' => '1.3.6.1.2.1.4.21.1.3',
'ipRouteMetric2' => '1.3.6.1.2.1.4.21.1.4',
'ipRouteMetric3' => '1.3.6.1.2.1.4.21.1.5',
'ipRouteMetric4' => '1.3.6.1.2.1.4.21.1.6',
'ipRouteNextHop' => '1.3.6.1.2.1.4.21.1.7',
'ipRouteType' => '1.3.6.1.2.1.4.21.1.8',
'ipRouteProto' => '1.3.6.1.2.1.4.21.1.9',
'ipRouteAge' => '1.3.6.1.2.1.4.21.1.10',
'ipRouteMask' => '1.3.6.1.2.1.4.21.1.11',
'ipRouteMetric5' => '1.3.6.1.2.1.4.21.1.12',
'ipRouteInfo' => '1.3.6.1.2.1.4.21.1.13',
'ipNetToMediaTable' => '1.3.6.1.2.1.4.22',
'ipNetToMediaEntry' => '1.3.6.1.2.1.4.22.1',
'ipNetToMediaIfIndex' => '1.3.6.1.2.1.4.22.1.1',
'ipNetToMediaPhysAddress' => '1.3.6.1.2.1.4.22.1.2',
'ipNetToMediaNetAddress' => '1.3.6.1.2.1.4.22.1.3',
'ipNetToMediaType' => '1.3.6.1.2.1.4.22.1.4',
'ipRoutingDiscards' => '1.3.6.1.2.1.4.23',
'icmp' => '1.3.6.1.2.1.5',
'icmpInMsgs' => '1.3.6.1.2.1.5.1',
'icmpInErrors' => '1.3.6.1.2.1.5.2',
'icmpInDestUnreachs' => '1.3.6.1.2.1.5.3',
'icmpInTimeExcds' => '1.3.6.1.2.1.5.4',
'icmpInParmProbs' => '1.3.6.1.2.1.5.5',
'icmpInSrcQuenchs' => '1.3.6.1.2.1.5.6',
'icmpInRedirects' => '1.3.6.1.2.1.5.7',
'icmpInEchos' => '1.3.6.1.2.1.5.8',
'icmpInEchoReps' => '1.3.6.1.2.1.5.9',
'icmpInTimestamps' => '1.3.6.1.2.1.5.10',
'icmpInTimestampReps' => '1.3.6.1.2.1.5.11',
'icmpInAddrMasks' => '1.3.6.1.2.1.5.12',
'icmpInAddrMaskReps' => '1.3.6.1.2.1.5.13',
'icmpOutMsgs' => '1.3.6.1.2.1.5.14',
'icmpOutErrors' => '1.3.6.1.2.1.5.15',
'icmpOutDestUnreachs' => '1.3.6.1.2.1.5.16',
'icmpOutTimeExcds' => '1.3.6.1.2.1.5.17',
'icmpOutParmProbs' => '1.3.6.1.2.1.5.18',
'icmpOutSrcQuenchs' => '1.3.6.1.2.1.5.19',
'icmpOutRedirects' => '1.3.6.1.2.1.5.20',
'icmpOutEchos' => '1.3.6.1.2.1.5.21',
'icmpOutEchoReps' => '1.3.6.1.2.1.5.22',
'icmpOutTimestamps' => '1.3.6.1.2.1.5.23',
'icmpOutTimestampReps' => '1.3.6.1.2.1.5.24',
'icmpOutAddrMasks' => '1.3.6.1.2.1.5.25',
'icmpOutAddrMaskReps' => '1.3.6.1.2.1.5.26',
'ipMIBConformance' => '1.3.6.1.2.1.48.2',
'ipMIBCompliances' => '1.3.6.1.2.1.48.2.1',
'ipMIBGroups' => '1.3.6.1.2.1.48.2.2',
};
1;
__END__

View file

@ -1,49 +0,0 @@
package Classes::Cisco::IOS::Component::BgpSubsystem;
our @ISA = qw(Monitoring::GLPlugin::SNMP::Item);
use strict;
sub init {
my ($self) = @_;
$self->get_snmp_tables('CISCO-BGP4-MIB', [
['peers', 'cbgpPeerAddrFamilyPrefixTable', 'Classes::Cisco::IOS::Component::BgpSubsystem::Peer', sub { return $self->filter_name(shift->{cbgpPeerRemoteAddr}) } ],
]);
}
sub check {
my ($self) = @_;
if ($self->mode =~ /prefix::count/) {
if (scalar(@{$self->{peers}}) == 0) {
$self->add_critical('no peers found');
} else {
$self->SUPER::check();
}
}
}
package Classes::Cisco::IOS::Component::BgpSubsystem::Peer;
our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem);
use strict;
sub finish {
my ($self) = @_;
$self->{cbgpPeerAddrFamilyAfi} = pop @{$self->{indices}};
$self->{cbgpPeerAddrFamilySafi} = pop @{$self->{indices}};
$self->{cbgpPeerRemoteAddr} = join(".", @{$self->{indices}});
}
sub check {
my ($self) = @_;
if ($self->mode =~ /prefix::count/) {
$self->add_info(sprintf "peer %s accepted %d prefixes",
$self->{cbgpPeerRemoteAddr}, $self->{cbgpPeerAddrAcceptedPrefixes});
$self->set_thresholds(metric => $self->{cbgpPeerRemoteAddr}.'_accepted_prefixes',
warning => '1:', critical => '1:');
$self->add_message($self->check_thresholds(
metric => $self->{cbgpPeerRemoteAddr}.'_accepted_prefixes',
value => $self->{cbgpPeerAddrAcceptedPrefixes}));
$self->add_perfdata(
label => $self->{cbgpPeerRemoteAddr}.'_accepted_prefixes',
value => $self->{cbgpPeerAddrAcceptedPrefixes},
);
}
}

View file

@ -1,31 +0,0 @@
package Classes::Fortigate::Component::SensorSubsystem;
our @ISA = qw(Monitoring::GLPlugin::SNMP::Item);
use strict;
sub init {
my ($self) = @_;
$self->get_snmp_tables('FORTINET-FORTIGATE-MIB', [
['sensors', 'fgHwSensorTable', 'Classes::Fortigate::Component::SensorSubsystem::Sensor'],
]);
}
package Classes::Fortigate::Component::SensorSubsystem::Sensor;
our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem);
use strict;
sub check {
my ($self) = @_;
$self->add_info(sprintf 'sensor %s alarm status is %s',
$self->{fgHwSensorEntName},
$self->{fgHwSensorEntValueStatus});
if ($self->{fgHwSensorEntValueStatus} && $self->{fgHwSensorEntValueStatus} eq "true") {
$self->add_critical();
}
if ($self->{fgHwSensorEntValue}) {
$self->add_perfdata(
label => sprintf('sensor_%s', $self->{fgHwSensorEntName}),
value => $self->{swSensorValue},
);
}
}

View file

@ -1,16 +0,0 @@
package Classes::Huawei;
our @ISA = qw(Classes::Device);
use strict;
sub init {
my ($self) = @_;
my $sysobj = $self->get_snmp_object('MIB-2-MIB', 'sysObjectID', 0);
if ($sysobj =~ /^\.*1\.3\.6\.1\.4\.1\.2011\.2\.239/) {
bless $self, 'Classes::Huawei::CloudEngine';
$self->debug('using Classes::Huawei::CloudEngine');
}
if (ref($self) ne "Classes::Huawei") {
$self->init();
}
}

View file

@ -1,54 +0,0 @@
package Classes::OSPF::Component::NeighborSubsystem;
our @ISA = qw(Monitoring::GLPlugin::SNMP::Item);
use strict;
sub init {
my ($self) = @_;
$self->get_snmp_tables('OSPF-MIB', [
['nbr', 'ospfNbrTable', 'Classes::OSPF::Component::NeighborSubsystem::Neighbor', , sub { my ($o) = @_; return $self->filter_name($o->{ospfNbrIpAddr}) && $self->filter_name2($o->{ospfNbrRtrId}) }],
]);
if ($self->establish_snmp_secondary_session()) {
$self->clear_table_cache('OSPF-MIB', 'ospfNbrTable');
$self->get_snmp_tables('OSPF-MIB', [
['nbr', 'ospfNbrTable', 'Classes::OSPF::Component::NeighborSubsystem::Neighbor', , sub { my ($o) = @_; return $self->filter_name($o->{ospfNbrIpAddr}) && $self->filter_name2($o->{ospfNbrRtrId}) }],
]);
}
if (! @{$self->{nbr}}) {
$self->add_unknown("no neighbors found");
}
}
sub check {
my ($self) = @_;
if ($self->mode =~ /device::ospf::neighbor::list/) {
foreach (@{$self->{nbr}}) {
printf "%s %s %s\n", $_->{name}, $_->{ospfNbrRtrId}, $_->{ospfNbrState};
}
$self->add_ok("have fun");
} else {
map { $_->check(); } @{$self->{nbr}};
}
}
package Classes::OSPF::Component::NeighborSubsystem::Neighbor;
our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem);
use strict;
# Index: ospfNbrIpAddr, ospfNbrAddressLessIndex
sub finish {
my ($self) = @_;
$self->{name} = $self->{ospfNbrIpAddr} || $self->{ospfNbrAddressLessIndex}
}
sub check {
my ($self) = @_;
$self->add_info(sprintf "neighbor %s (Id %s) has status %s",
$self->{name}, $self->{ospfNbrRtrId}, $self->{ospfNbrState});
if ($self->{ospfNbrState} ne "full" && $self->{ospfNbrState} ne "twoWay") {
$self->add_critical();
} else {
$self->add_ok();
}
}
# eventuell: warning, wenn sich die RouterId ändert

View file

@ -1,4 +0,0 @@
package Classes::UCDMIB;
our @ISA = qw(Classes::Device);
use strict;

View file

@ -1,3 +1,42 @@
* 2019-03-20 7.6
add mode watch-ospf-neighbors
* 2019-02-19 7.5.0.1
remove adsl-line-mib
* 2019-02-18 7.5
add Draytek Vigor
* 2019-01-09 7.4.3
add mode interface-security (cisco)
* 2018-12-17 7.4.2.1
finish ha-status for cisco wlc
* 2018-12-12 7.4.2
start ha for cisco wlc
improve paloalto uptime model string
improve ucd memory
* 2018-12-04 7.4.1.2
fix cisco bgp for routers which do not export the proptietary mib, but bgp4
* 2018-12-04 7.4.1.1
fix undefs for Huawei with older Mibs
fix fortigate sensors
* 2018-12-04 7.4.1
detect more Huawei devices
* 2018-12-03 7.4
use proprietary bgp mib for cisco (and add ipv6)
make ospd v6-ready
add servertpe generic_ucd
fix ciscoipsecflow fail timestamps
* 2018-10-22 7.3.1
add modes ha-status/role for fortigate
* 2018-10-22 7.3.0.5
update glplugin (CISCO-STACKWISE-MIB)
* 2018-10-21 7.3.0.4
update glplugin (for go-worker)
* 2018-10-17 7.3.0.3
update glplugin
better fortigate detection
* 2018-09-28 7.3.0.2
update glplugin
* 2018-09-25 7.3.0.1
re-enable Huawei CloudEngine support
* 2018-09-10 7.3
update stack-status
add servertype hostresource

View file

@ -20,7 +20,7 @@ eval {
$Data::Dumper::Sparseseen = 1;
};
our $AUTOLOAD;
*VERSION = \'3.0.3';
*VERSION = \'3.2.5';
use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 };
@ -602,11 +602,11 @@ sub accentfree {
sub dump {
my ($self, $indent) = @_;
$indent = $indent ? " " x $indent : "";
if ($self->can("internal_name")) {
printf "%s[%s]\n", $indent, $self->internal_name();
} else {
my $class = ref($self);
$class =~ s/^.*:://;
if (exists $self->{flat_indices}) {
printf "%s[%s_%s]\n", $indent, uc $class, $self->{flat_indices};
} else {
printf "%s[%s]\n", $indent, uc $class;
}
foreach (grep !/^(info|trace|warning|critical|blacklisted|extendedinfo|flat_indices|indices)$/, sort keys %{$self}) {
@ -1470,7 +1470,7 @@ sub save_state {
my ($self, %params) = @_;
$self->create_statefilesdir();
my $statefile = $self->create_statefile(%params);
my $tmpfile = $self->statefilesdir().'/check__health_tmp_'.$$;
my $tmpfile = $statefile.$$.rand();
if ((ref($params{save}) eq "HASH") && exists $params{save}->{timestamp}) {
$params{save}->{localtime} = scalar localtime $params{save}->{timestamp};
}

View file

@ -954,7 +954,7 @@ sub check_snmp_and_model {
# Datatype Integer32 = 1s
my $snmpEngineTime = $self->get_snmp_object('SNMP-FRAMEWORK-MIB', 'snmpEngineTime');
# Datatype TimeTicks = 1/100s
my $hrSystemUptime = $self->get_snmp_object('HOST-RESOURCES-MIB', 'hrSystemUptime');
my $hrSystemUptime = $self->get_snmp_object_maybe('HOST-RESOURCES-MIB', 'hrSystemUptime');
my $sysDescr = $self->get_snmp_object('MIB-2-MIB', 'sysDescr', 0);
my $tac = time;
if (defined $hrSystemUptime && $hrSystemUptime =~ /^\d+$/ && $hrSystemUptime > 0) {
@ -1008,9 +1008,33 @@ sub check_snmp_and_model {
$Monitoring::GLPlugin::SNMP::uptime = $self->{uptime};
$self->debug('whoami: '.$self->{productname});
} else {
if ($tac - $tic >= $Monitoring::GLPlugin::SNMP::session->timeout) {
if ($tac - $tic >= ($Monitoring::GLPlugin::SNMP::session ?
$Monitoring::GLPlugin::SNMP::session->timeout : $self->opts->timeout())) {
$self->add_message(UNKNOWN,
'could not contact snmp agent, timeout during snmp-get sysUptime');
} elsif ($self->{broken_snmp_agent}) {
# plugins may add an array of subroutines to their Classes::Device.
# For example, check_tl_health has to deal with IBM libraries, which
# do not show sysUptime nor sysDescr nor any other uptime oids.
# In order to let the plugin continue with a fake uptime, one of
# the broken_snmp_agent subroutines must return a true value after it
# has set the uptime to 1 hour and filled out $self->{productname}
my $mein_lieber_freund_und_kupferstecher = 0;
foreach my $kriegst_du_die_kurve (@{$self->{broken_snmp_agent}}) {
if (&$kriegst_du_die_kurve()) {
$mein_lieber_freund_und_kupferstecher = 1;
$self->debug(sprintf 'uptime: %s', $self->{uptime});
$self->debug(sprintf 'up since: %s',
scalar localtime (time - $self->{uptime}));
$Monitoring::GLPlugin::SNMP::uptime = $self->{uptime};
$self->debug('whoami: '.$self->{productname});
last;
}
}
if (! $mein_lieber_freund_und_kupferstecher) {
$self->add_message(UNKNOWN,
'got neither sysUptime nor sysDescr nor any other useful information, is this snmp agent working correctly?');
}
} else {
$self->add_message(UNKNOWN,
'got neither sysUptime nor sysDescr, is this snmp agent working correctly?');
@ -1140,7 +1164,8 @@ sub session_translate {
sub establish_snmp_secondary_session {
my ($self) = @_;
if ($self->opts->protocol eq '3' && (
if ($self->opts->protocol eq '3' &&
$self->opts->can('authprotocol2') && (
defined $self->opts->authprotocol2 ||
defined $self->opts->authpassword2 ||
defined $self->opts->privprotocol2 ||
@ -1249,6 +1274,32 @@ sub uptime {
return $Monitoring::GLPlugin::SNMP::uptime;
}
sub ago_sysuptime {
my ($self, $eventtime) = @_;
# if there is an oid containing the value of sysUptime at the time of
# a certain event (e.g. cipSecFailTime), this method returns the
# time that has passed since the event.
# sysUptime overflows at 2**32, so it is possible that the eventtime is
# bigger than sysUptime
#
# 0-----------------|---------------X
# event=2Mio sysUptime=5.5Mio
# event happened (5.5Mio - 2Mio) seconds ago
#
# 0-----------------|---------------2**32/0-----------X
# event=2Mio sysUptime=100k
#
# event happened (100k + (2**32 - 2Mio)) seconds ago
#
my $sysUptime = $self->get_snmp_object('MIB-2-MIB', 'sysUpTime', 0);
$sysUptime /= 100;
if ($eventtime > $sysUptime) {
return $sysUptime + (2**32 - $eventtime);
} else {
return $sysUptime - $eventtime;
}
}
sub map_oid_to_class {
my ($self, $oid, $class) = @_;
$Monitoring::GLPlugin::SNMP::MibsAndOids::discover_ids->{$oid} = $class;
@ -1427,6 +1478,9 @@ sub create_interface_cache_file {
$self->opts->override_opt('hostname',
'snmpwalk.file'.md5_hex($self->opts->snmpwalk))
}
if ($self->opts->contextname) {
$extension .= $self->opts->contextname . '_';
}
if ($self->opts->community) {
$extension .= md5_hex($self->opts->community);
}
@ -1502,10 +1556,11 @@ sub save_cache {
my $cache = sprintf "%s_%s_%s_cache", $mib, $table, join('#', @{$key_attrs});
$self->create_statefilesdir();
my $statefile = $self->create_entry_cache_file($mib, $table, join('#', @{$key_attrs}));
open(STATE, ">".$statefile.".".$$);
my $tmpfile = $statefile.$$.rand();
open(STATE, ">".$tmpfile);
printf STATE Data::Dumper::Dumper($self->{$cache});
close STATE;
rename $statefile.".".$$, $statefile;
rename $tmpfile, $statefile;
$self->debug(sprintf "saved %s to %s",
Data::Dumper::Dumper($self->{$cache}), $statefile);
}
@ -1556,10 +1611,13 @@ sub get_snmp_tables {
my $class = $info->[2];
my $filter = $info->[3];
my $rows = $info->[4];
my $key_attr = $info->[5];
$self->{$arrayname} = [] if ! exists $self->{$arrayname};
if (! exists $Monitoring::GLPlugin::SNMP::tablecache->{$mib} || ! exists $Monitoring::GLPlugin::SNMP::tablecache->{$mib}->{$table}) {
$Monitoring::GLPlugin::SNMP::tablecache->{$mib}->{$table} = [];
foreach ($self->get_snmp_table_objects($mib, $table, undef, $rows)) {
foreach ($key_attr ?
$self->get_snmp_table_objects_with_cache($mib, $table, $key_attr, $rows) :
$self->get_snmp_table_objects($mib, $table, undef, $rows)) {
push(@{$Monitoring::GLPlugin::SNMP::tablecache->{$mib}->{$table}}, $_);
my $new_object = $class->new(%{$_});
next if (defined $filter && ! &$filter($new_object));
@ -1665,6 +1723,29 @@ sub get_snmp_object {
return undef;
}
sub get_snmp_object_maybe {
my ($self, @args) = @_;
my $ret;
# Just do a regular fetch when simulating
return $self->get_snmp_object(@args) unless defined $Monitoring::GLPlugin::SNMP::session;
# There may be no response at all. Turn the SNMP timeout down so we can
# catch that without triggering SIGALRM
my $orig_timeout = $Monitoring::GLPlugin::SNMP::session->timeout;
my $new_timeout = $orig_timeout / 10;
$new_timeout = 5 if $new_timeout > 5;
$Monitoring::GLPlugin::SNMP::session->timeout($new_timeout);
# Get
$ret = $self->get_snmp_object(@args);
# Restore timeout
$Monitoring::GLPlugin::SNMP::session->timeout($orig_timeout);
return $ret;
}
sub get_snmp_table_objects_with_cache {
my ($self, $mib, $table, $key_attr, $rows, $force) = @_;
$force ||= 0;
@ -2065,7 +2146,9 @@ sub get_entries {
$result = $self->get_entries_get_bulk(%params);
if (! $result) {
$self->debug("bulk failed, retry simple");
if ($Monitoring::GLPlugin::SNMP::session->error() =~ /The message size exceeded the buffer maxMsgSize of (\d+)/i) {
# The message size exceeded the buffer maxMsgSize of (\d+)
# Message size exceeded buffer maxMsgSize
if ($Monitoring::GLPlugin::SNMP::session->error() =~ /message size exceeded.*buffer maxMsgSize/i) {
$self->debug(sprintf "buffer exceeded. raise *5 for next try");
$self->mult_snmp_max_msg_size(5);
} else {
@ -2228,7 +2311,7 @@ sub get_table {
if (! defined $result || (defined $result && ! %{$result})) {
$self->debug(sprintf "get_table error: %s",
$Monitoring::GLPlugin::SNMP::session->error());
if ($Monitoring::GLPlugin::SNMP::session->error() =~ /The message size exceeded the buffer maxMsgSize of (\d+)/i) {
if ($Monitoring::GLPlugin::SNMP::session->error() =~ /message size exceeded.*buffer maxMsgSize/i) {
# bei irrsinnigen maxrepetitions
$self->debug(sprintf "buffer exceeded");
#$self->reset_snmp_max_msg_size();
@ -2396,6 +2479,11 @@ sub make_symbolic {
} elsif ($Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{$mib}->{$symoid.'Definition'} =~ /^(.*?)::(.*)/) {
my $mib = $1;
my $definition = $2;
my $parameters = undef;
if ($definition =~ /(.*)\((.*)\)/) {
$definition = $1;
$parameters = $2;
}
if (! exists $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}) {
# may point to another mib's definitions, which hasn't
# been used yet.
@ -2404,7 +2492,23 @@ sub make_symbolic {
if (exists $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib} &&
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};
}
}
$mo->{$symoid} = $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition}->($result->{$fulloid}, $mo->{$parameters});
} else {
$mo->{$symoid} = $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition}->($result->{$fulloid});
}
} elsif (exists $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib} &&
exists $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition} &&
ref($Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition}) eq 'HASH' &&
@ -2424,7 +2528,8 @@ sub make_symbolic {
}
}
} else {
foreach my $oid (keys %{$sym_lookup}) {
my @sym_lookup_keys = $self->sort_oids([keys %{$sym_lookup}]);
foreach my $oid (@sym_lookup_keys) {
if (ref($oid) ne 'HASH') {
my $fulloid = $oid . '.'.$idx;
my $symoid = $sym_lookup->{$oid};
@ -2454,6 +2559,11 @@ sub make_symbolic {
} elsif ($Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{$mib}->{$symoid.'Definition'} =~ /^(.*?)::(.*)/) {
my $mib = $1;
my $definition = $2;
my $parameters = undef;
if ($definition =~ /(.*)\((.*)\)/) {
$definition = $1;
$parameters = $2;
}
if (! exists $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}) {
# may point to another mib's definitions, which hasn't
# been used yet.
@ -2462,7 +2572,16 @@ sub make_symbolic {
if (exists $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib} &&
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};
}
}
$mo->{$symoid} = $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition}->($result->{$fulloid}, $mo->{$parameters});
} else {
$mo->{$symoid} = $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition}->($result->{$fulloid});
}
} elsif (exists $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib} &&
exists $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition} &&
ref($Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition}) eq 'HASH' &&
@ -2500,10 +2619,24 @@ sub make_symbolic {
} elsif ($Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{$mib}->{$symoid.'Definition'} =~ /^(.*?)::(.*)/) {
my $mib = $1;
my $definition = $2;
my $parameters = undef;
if ($definition =~ /(.*)\((.*)\)/) {
$definition = $1;
$parameters = $2;
}
if (exists $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib} &&
exists $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition} &&
ref($Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition}) eq 'CODE') {
if ($parameters) {
# we come here fo resolve single oids, so $mo is always initialized new here.
# there's a chance that $self->{$parameters} was queried in a previous call
if (! exists $mo->{$parameters}) {
$mo->{$parameters} = $self->{$parameters};
}
$mo->{$symoid} = $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition}->($result->{$oid}, $mo->{$parameters});
} else {
$mo->{$symoid} = $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition}->($result->{$oid});
}
} elsif (exists $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib} &&
exists $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition} &&
ref($Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{$mib}->{$definition}) eq 'HASH' &&

View file

@ -10,6 +10,9 @@ sub create_statefile {
if ($self->opts->community) {
$extension .= md5_hex($self->opts->community);
}
if ($self->opts->contextname) {
$extension .= $self->opts->contextname;
}
$extension =~ s/\//_/g;
$extension =~ s/\(/_/g;
$extension =~ s/\)/_/g;

View file

@ -0,0 +1,284 @@
package Monitoring::GLPlugin::SNMP::MibsAndOids::ADSLLINEMIB;
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'ADSL-LINE-MIB'} = {
url => '',
name => 'ADSL-LINE-MIB',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'ADSL-LINE-MIB'} =
'1.3.6.1.2.1.10.94.1';
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'ADSL-LINE-MIB'} = {
adslMIB => '1.3.6.1.2.1.10.94',
adslLineMib => '1.3.6.1.2.1.10.94.1',
adslMibObjects => '1.3.6.1.2.1.10.94.1.1',
adslLineTable => '1.3.6.1.2.1.10.94.1.1.1',
adslLineEntry => '1.3.6.1.2.1.10.94.1.1.1.1',
adslLineCoding => '1.3.6.1.2.1.10.94.1.1.1.1.1',
adslLineCodingDefinition => 'ADSL-LINE-MIB::adslLineCoding',
adslLineType => '1.3.6.1.2.1.10.94.1.1.1.1.2',
adslLineTypeDefinition => 'ADSL-LINE-MIB::adslLineType',
adslLineSpecific => '1.3.6.1.2.1.10.94.1.1.1.1.3',
adslLineConfProfile => '1.3.6.1.2.1.10.94.1.1.1.1.4',
adslLineAlarmConfProfile => '1.3.6.1.2.1.10.94.1.1.1.1.5',
adslAtucPhysTable => '1.3.6.1.2.1.10.94.1.1.2',
adslAtucPhysEntry => '1.3.6.1.2.1.10.94.1.1.2.1',
adslAtucInvSerialNumber => '1.3.6.1.2.1.10.94.1.1.2.1.1',
adslAtucInvVendorID => '1.3.6.1.2.1.10.94.1.1.2.1.2',
adslAtucInvVersionNumber => '1.3.6.1.2.1.10.94.1.1.2.1.3',
adslAtucCurrSnrMgn => '1.3.6.1.2.1.10.94.1.1.2.1.4',
adslAtucCurrAtn => '1.3.6.1.2.1.10.94.1.1.2.1.5',
adslAtucCurrStatus => '1.3.6.1.2.1.10.94.1.1.2.1.6',
adslAtucCurrOutputPwr => '1.3.6.1.2.1.10.94.1.1.2.1.7',
adslAtucCurrAttainableRate => '1.3.6.1.2.1.10.94.1.1.2.1.8',
adslAturPhysTable => '1.3.6.1.2.1.10.94.1.1.3',
adslAturPhysEntry => '1.3.6.1.2.1.10.94.1.1.3.1',
adslAturInvSerialNumber => '1.3.6.1.2.1.10.94.1.1.3.1.1',
adslAturInvVendorID => '1.3.6.1.2.1.10.94.1.1.3.1.2',
adslAturInvVersionNumber => '1.3.6.1.2.1.10.94.1.1.3.1.3',
adslAturCurrSnrMgn => '1.3.6.1.2.1.10.94.1.1.3.1.4',
adslAturCurrAtn => '1.3.6.1.2.1.10.94.1.1.3.1.5',
adslAturCurrStatus => '1.3.6.1.2.1.10.94.1.1.3.1.6',
adslAturCurrOutputPwr => '1.3.6.1.2.1.10.94.1.1.3.1.7',
adslAturCurrAttainableRate => '1.3.6.1.2.1.10.94.1.1.3.1.8',
adslAtucChanTable => '1.3.6.1.2.1.10.94.1.1.4',
adslAtucChanEntry => '1.3.6.1.2.1.10.94.1.1.4.1',
adslAtucChanInterleaveDelay => '1.3.6.1.2.1.10.94.1.1.4.1.1',
adslAtucChanCurrTxRate => '1.3.6.1.2.1.10.94.1.1.4.1.2',
adslAtucChanPrevTxRate => '1.3.6.1.2.1.10.94.1.1.4.1.3',
adslAtucChanCrcBlockLength => '1.3.6.1.2.1.10.94.1.1.4.1.4',
adslAturChanTable => '1.3.6.1.2.1.10.94.1.1.5',
adslAturChanEntry => '1.3.6.1.2.1.10.94.1.1.5.1',
adslAturChanInterleaveDelay => '1.3.6.1.2.1.10.94.1.1.5.1.1',
adslAturChanCurrTxRate => '1.3.6.1.2.1.10.94.1.1.5.1.2',
adslAturChanPrevTxRate => '1.3.6.1.2.1.10.94.1.1.5.1.3',
adslAturChanCrcBlockLength => '1.3.6.1.2.1.10.94.1.1.5.1.4',
adslAtucPerfDataTable => '1.3.6.1.2.1.10.94.1.1.6',
adslAtucPerfDataEntry => '1.3.6.1.2.1.10.94.1.1.6.1',
adslAtucPerfLofs => '1.3.6.1.2.1.10.94.1.1.6.1.1',
adslAtucPerfLoss => '1.3.6.1.2.1.10.94.1.1.6.1.2',
adslAtucPerfLols => '1.3.6.1.2.1.10.94.1.1.6.1.3',
adslAtucPerfLprs => '1.3.6.1.2.1.10.94.1.1.6.1.4',
adslAtucPerfESs => '1.3.6.1.2.1.10.94.1.1.6.1.5',
adslAtucPerfInits => '1.3.6.1.2.1.10.94.1.1.6.1.6',
adslAtucPerfValidIntervals => '1.3.6.1.2.1.10.94.1.1.6.1.7',
adslAtucPerfInvalidIntervals => '1.3.6.1.2.1.10.94.1.1.6.1.8',
adslAtucPerfCurr15MinTimeElapsed => '1.3.6.1.2.1.10.94.1.1.6.1.9',
adslAtucPerfCurr15MinLofs => '1.3.6.1.2.1.10.94.1.1.6.1.10',
adslAtucPerfCurr15MinLoss => '1.3.6.1.2.1.10.94.1.1.6.1.11',
adslAtucPerfCurr15MinLols => '1.3.6.1.2.1.10.94.1.1.6.1.12',
adslAtucPerfCurr15MinLprs => '1.3.6.1.2.1.10.94.1.1.6.1.13',
adslAtucPerfCurr15MinESs => '1.3.6.1.2.1.10.94.1.1.6.1.14',
adslAtucPerfCurr15MinInits => '1.3.6.1.2.1.10.94.1.1.6.1.15',
adslAtucPerfCurr1DayTimeElapsed => '1.3.6.1.2.1.10.94.1.1.6.1.16',
adslAtucPerfCurr1DayLofs => '1.3.6.1.2.1.10.94.1.1.6.1.17',
adslAtucPerfCurr1DayLoss => '1.3.6.1.2.1.10.94.1.1.6.1.18',
adslAtucPerfCurr1DayLols => '1.3.6.1.2.1.10.94.1.1.6.1.19',
adslAtucPerfCurr1DayLprs => '1.3.6.1.2.1.10.94.1.1.6.1.20',
adslAtucPerfCurr1DayESs => '1.3.6.1.2.1.10.94.1.1.6.1.21',
adslAtucPerfCurr1DayInits => '1.3.6.1.2.1.10.94.1.1.6.1.22',
adslAtucPerfPrev1DayMoniSecs => '1.3.6.1.2.1.10.94.1.1.6.1.23',
adslAtucPerfPrev1DayLofs => '1.3.6.1.2.1.10.94.1.1.6.1.24',
adslAtucPerfPrev1DayLoss => '1.3.6.1.2.1.10.94.1.1.6.1.25',
adslAtucPerfPrev1DayLols => '1.3.6.1.2.1.10.94.1.1.6.1.26',
adslAtucPerfPrev1DayLprs => '1.3.6.1.2.1.10.94.1.1.6.1.27',
adslAtucPerfPrev1DayESs => '1.3.6.1.2.1.10.94.1.1.6.1.28',
adslAtucPerfPrev1DayInits => '1.3.6.1.2.1.10.94.1.1.6.1.29',
adslAturPerfDataTable => '1.3.6.1.2.1.10.94.1.1.7',
adslAturPerfDataEntry => '1.3.6.1.2.1.10.94.1.1.7.1',
adslAturPerfLofs => '1.3.6.1.2.1.10.94.1.1.7.1.1',
adslAturPerfLoss => '1.3.6.1.2.1.10.94.1.1.7.1.2',
adslAturPerfLprs => '1.3.6.1.2.1.10.94.1.1.7.1.3',
adslAturPerfESs => '1.3.6.1.2.1.10.94.1.1.7.1.4',
adslAturPerfValidIntervals => '1.3.6.1.2.1.10.94.1.1.7.1.5',
adslAturPerfInvalidIntervals => '1.3.6.1.2.1.10.94.1.1.7.1.6',
adslAturPerfCurr15MinTimeElapsed => '1.3.6.1.2.1.10.94.1.1.7.1.7',
adslAturPerfCurr15MinLofs => '1.3.6.1.2.1.10.94.1.1.7.1.8',
adslAturPerfCurr15MinLoss => '1.3.6.1.2.1.10.94.1.1.7.1.9',
adslAturPerfCurr15MinLprs => '1.3.6.1.2.1.10.94.1.1.7.1.10',
adslAturPerfCurr15MinESs => '1.3.6.1.2.1.10.94.1.1.7.1.11',
adslAturPerfCurr1DayTimeElapsed => '1.3.6.1.2.1.10.94.1.1.7.1.12',
adslAturPerfCurr1DayLofs => '1.3.6.1.2.1.10.94.1.1.7.1.13',
adslAturPerfCurr1DayLoss => '1.3.6.1.2.1.10.94.1.1.7.1.14',
adslAturPerfCurr1DayLprs => '1.3.6.1.2.1.10.94.1.1.7.1.15',
adslAturPerfCurr1DayESs => '1.3.6.1.2.1.10.94.1.1.7.1.16',
adslAturPerfPrev1DayMoniSecs => '1.3.6.1.2.1.10.94.1.1.7.1.17',
adslAturPerfPrev1DayLofs => '1.3.6.1.2.1.10.94.1.1.7.1.18',
adslAturPerfPrev1DayLoss => '1.3.6.1.2.1.10.94.1.1.7.1.19',
adslAturPerfPrev1DayLprs => '1.3.6.1.2.1.10.94.1.1.7.1.20',
adslAturPerfPrev1DayESs => '1.3.6.1.2.1.10.94.1.1.7.1.21',
adslAtucIntervalTable => '1.3.6.1.2.1.10.94.1.1.8',
adslAtucIntervalEntry => '1.3.6.1.2.1.10.94.1.1.8.1',
adslAtucIntervalNumber => '1.3.6.1.2.1.10.94.1.1.8.1.1',
adslAtucIntervalLofs => '1.3.6.1.2.1.10.94.1.1.8.1.2',
adslAtucIntervalLoss => '1.3.6.1.2.1.10.94.1.1.8.1.3',
adslAtucIntervalLols => '1.3.6.1.2.1.10.94.1.1.8.1.4',
adslAtucIntervalLprs => '1.3.6.1.2.1.10.94.1.1.8.1.5',
adslAtucIntervalESs => '1.3.6.1.2.1.10.94.1.1.8.1.6',
adslAtucIntervalInits => '1.3.6.1.2.1.10.94.1.1.8.1.7',
adslAtucIntervalValidData => '1.3.6.1.2.1.10.94.1.1.8.1.8',
adslAturIntervalTable => '1.3.6.1.2.1.10.94.1.1.9',
adslAturIntervalEntry => '1.3.6.1.2.1.10.94.1.1.9.1',
adslAturIntervalNumber => '1.3.6.1.2.1.10.94.1.1.9.1.1',
adslAturIntervalLofs => '1.3.6.1.2.1.10.94.1.1.9.1.2',
adslAturIntervalLoss => '1.3.6.1.2.1.10.94.1.1.9.1.3',
adslAturIntervalLprs => '1.3.6.1.2.1.10.94.1.1.9.1.4',
adslAturIntervalESs => '1.3.6.1.2.1.10.94.1.1.9.1.5',
adslAturIntervalValidData => '1.3.6.1.2.1.10.94.1.1.9.1.6',
adslAtucChanPerfDataTable => '1.3.6.1.2.1.10.94.1.1.10',
adslAtucChanPerfDataEntry => '1.3.6.1.2.1.10.94.1.1.10.1',
adslAtucChanReceivedBlks => '1.3.6.1.2.1.10.94.1.1.10.1.1',
adslAtucChanTransmittedBlks => '1.3.6.1.2.1.10.94.1.1.10.1.2',
adslAtucChanCorrectedBlks => '1.3.6.1.2.1.10.94.1.1.10.1.3',
adslAtucChanUncorrectBlks => '1.3.6.1.2.1.10.94.1.1.10.1.4',
adslAtucChanPerfValidIntervals => '1.3.6.1.2.1.10.94.1.1.10.1.5',
adslAtucChanPerfInvalidIntervals => '1.3.6.1.2.1.10.94.1.1.10.1.6',
adslAtucChanPerfCurr15MinTimeElapsed => '1.3.6.1.2.1.10.94.1.1.10.1.7',
adslAtucChanPerfCurr15MinReceivedBlks => '1.3.6.1.2.1.10.94.1.1.10.1.8',
adslAtucChanPerfCurr15MinTransmittedBlks => '1.3.6.1.2.1.10.94.1.1.10.1.9',
adslAtucChanPerfCurr15MinCorrectedBlks => '1.3.6.1.2.1.10.94.1.1.10.1.10',
adslAtucChanPerfCurr15MinUncorrectBlks => '1.3.6.1.2.1.10.94.1.1.10.1.11',
adslAtucChanPerfCurr1DayTimeElapsed => '1.3.6.1.2.1.10.94.1.1.10.1.12',
adslAtucChanPerfCurr1DayReceivedBlks => '1.3.6.1.2.1.10.94.1.1.10.1.13',
adslAtucChanPerfCurr1DayTransmittedBlks => '1.3.6.1.2.1.10.94.1.1.10.1.14',
adslAtucChanPerfCurr1DayCorrectedBlks => '1.3.6.1.2.1.10.94.1.1.10.1.15',
adslAtucChanPerfCurr1DayUncorrectBlks => '1.3.6.1.2.1.10.94.1.1.10.1.16',
adslAtucChanPerfPrev1DayMoniSecs => '1.3.6.1.2.1.10.94.1.1.10.1.17',
adslAtucChanPerfPrev1DayReceivedBlks => '1.3.6.1.2.1.10.94.1.1.10.1.18',
adslAtucChanPerfPrev1DayTransmittedBlks => '1.3.6.1.2.1.10.94.1.1.10.1.19',
adslAtucChanPerfPrev1DayCorrectedBlks => '1.3.6.1.2.1.10.94.1.1.10.1.20',
adslAtucChanPerfPrev1DayUncorrectBlks => '1.3.6.1.2.1.10.94.1.1.10.1.21',
adslAturChanPerfDataTable => '1.3.6.1.2.1.10.94.1.1.11',
adslAturChanPerfDataEntry => '1.3.6.1.2.1.10.94.1.1.11.1',
adslAturChanReceivedBlks => '1.3.6.1.2.1.10.94.1.1.11.1.1',
adslAturChanTransmittedBlks => '1.3.6.1.2.1.10.94.1.1.11.1.2',
adslAturChanCorrectedBlks => '1.3.6.1.2.1.10.94.1.1.11.1.3',
adslAturChanUncorrectBlks => '1.3.6.1.2.1.10.94.1.1.11.1.4',
adslAturChanPerfValidIntervals => '1.3.6.1.2.1.10.94.1.1.11.1.5',
adslAturChanPerfInvalidIntervals => '1.3.6.1.2.1.10.94.1.1.11.1.6',
adslAturChanPerfCurr15MinTimeElapsed => '1.3.6.1.2.1.10.94.1.1.11.1.7',
adslAturChanPerfCurr15MinReceivedBlks => '1.3.6.1.2.1.10.94.1.1.11.1.8',
adslAturChanPerfCurr15MinTransmittedBlks => '1.3.6.1.2.1.10.94.1.1.11.1.9',
adslAturChanPerfCurr15MinCorrectedBlks => '1.3.6.1.2.1.10.94.1.1.11.1.10',
adslAturChanPerfCurr15MinUncorrectBlks => '1.3.6.1.2.1.10.94.1.1.11.1.11',
adslAturChanPerfCurr1DayTimeElapsed => '1.3.6.1.2.1.10.94.1.1.11.1.12',
adslAturChanPerfCurr1DayReceivedBlks => '1.3.6.1.2.1.10.94.1.1.11.1.13',
adslAturChanPerfCurr1DayTransmittedBlks => '1.3.6.1.2.1.10.94.1.1.11.1.14',
adslAturChanPerfCurr1DayCorrectedBlks => '1.3.6.1.2.1.10.94.1.1.11.1.15',
adslAturChanPerfCurr1DayUncorrectBlks => '1.3.6.1.2.1.10.94.1.1.11.1.16',
adslAturChanPerfPrev1DayMoniSecs => '1.3.6.1.2.1.10.94.1.1.11.1.17',
adslAturChanPerfPrev1DayReceivedBlks => '1.3.6.1.2.1.10.94.1.1.11.1.18',
adslAturChanPerfPrev1DayTransmittedBlks => '1.3.6.1.2.1.10.94.1.1.11.1.19',
adslAturChanPerfPrev1DayCorrectedBlks => '1.3.6.1.2.1.10.94.1.1.11.1.20',
adslAturChanPerfPrev1DayUncorrectBlks => '1.3.6.1.2.1.10.94.1.1.11.1.21',
adslAtucChanIntervalTable => '1.3.6.1.2.1.10.94.1.1.12',
adslAtucChanIntervalEntry => '1.3.6.1.2.1.10.94.1.1.12.1',
adslAtucChanIntervalNumber => '1.3.6.1.2.1.10.94.1.1.12.1.1',
adslAtucChanIntervalReceivedBlks => '1.3.6.1.2.1.10.94.1.1.12.1.2',
adslAtucChanIntervalTransmittedBlks => '1.3.6.1.2.1.10.94.1.1.12.1.3',
adslAtucChanIntervalCorrectedBlks => '1.3.6.1.2.1.10.94.1.1.12.1.4',
adslAtucChanIntervalUncorrectBlks => '1.3.6.1.2.1.10.94.1.1.12.1.5',
adslAtucChanIntervalValidData => '1.3.6.1.2.1.10.94.1.1.12.1.6',
adslAturChanIntervalTable => '1.3.6.1.2.1.10.94.1.1.13',
adslAturChanIntervalEntry => '1.3.6.1.2.1.10.94.1.1.13.1',
adslAturChanIntervalNumber => '1.3.6.1.2.1.10.94.1.1.13.1.1',
adslAturChanIntervalReceivedBlks => '1.3.6.1.2.1.10.94.1.1.13.1.2',
adslAturChanIntervalTransmittedBlks => '1.3.6.1.2.1.10.94.1.1.13.1.3',
adslAturChanIntervalCorrectedBlks => '1.3.6.1.2.1.10.94.1.1.13.1.4',
adslAturChanIntervalUncorrectBlks => '1.3.6.1.2.1.10.94.1.1.13.1.5',
adslAturChanIntervalValidData => '1.3.6.1.2.1.10.94.1.1.13.1.6',
adslLineConfProfileTable => '1.3.6.1.2.1.10.94.1.1.14',
adslLineConfProfileEntry => '1.3.6.1.2.1.10.94.1.1.14.1',
adslLineConfProfileName => '1.3.6.1.2.1.10.94.1.1.14.1.1',
adslAtucConfRateMode => '1.3.6.1.2.1.10.94.1.1.14.1.2',
adslAtucConfRateModeDefinition => 'ADSL-LINE-MIB::adslAtucConfRateMode',
adslAtucConfRateChanRatio => '1.3.6.1.2.1.10.94.1.1.14.1.3',
adslAtucConfTargetSnrMgn => '1.3.6.1.2.1.10.94.1.1.14.1.4',
adslAtucConfMaxSnrMgn => '1.3.6.1.2.1.10.94.1.1.14.1.5',
adslAtucConfMinSnrMgn => '1.3.6.1.2.1.10.94.1.1.14.1.6',
adslAtucConfDownshiftSnrMgn => '1.3.6.1.2.1.10.94.1.1.14.1.7',
adslAtucConfUpshiftSnrMgn => '1.3.6.1.2.1.10.94.1.1.14.1.8',
adslAtucConfMinUpshiftTime => '1.3.6.1.2.1.10.94.1.1.14.1.9',
adslAtucConfMinDownshiftTime => '1.3.6.1.2.1.10.94.1.1.14.1.10',
adslAtucChanConfFastMinTxRate => '1.3.6.1.2.1.10.94.1.1.14.1.11',
adslAtucChanConfInterleaveMinTxRate => '1.3.6.1.2.1.10.94.1.1.14.1.12',
adslAtucChanConfFastMaxTxRate => '1.3.6.1.2.1.10.94.1.1.14.1.13',
adslAtucChanConfInterleaveMaxTxRate => '1.3.6.1.2.1.10.94.1.1.14.1.14',
adslAtucChanConfMaxInterleaveDelay => '1.3.6.1.2.1.10.94.1.1.14.1.15',
adslAturConfRateMode => '1.3.6.1.2.1.10.94.1.1.14.1.16',
adslAturConfRateModeDefinition => 'ADSL-LINE-MIB::adslAturConfRateMode',
adslAturConfRateChanRatio => '1.3.6.1.2.1.10.94.1.1.14.1.17',
adslAturConfTargetSnrMgn => '1.3.6.1.2.1.10.94.1.1.14.1.18',
adslAturConfMaxSnrMgn => '1.3.6.1.2.1.10.94.1.1.14.1.19',
adslAturConfMinSnrMgn => '1.3.6.1.2.1.10.94.1.1.14.1.20',
adslAturConfDownshiftSnrMgn => '1.3.6.1.2.1.10.94.1.1.14.1.21',
adslAturConfUpshiftSnrMgn => '1.3.6.1.2.1.10.94.1.1.14.1.22',
adslAturConfMinUpshiftTime => '1.3.6.1.2.1.10.94.1.1.14.1.23',
adslAturConfMinDownshiftTime => '1.3.6.1.2.1.10.94.1.1.14.1.24',
adslAturChanConfFastMinTxRate => '1.3.6.1.2.1.10.94.1.1.14.1.25',
adslAturChanConfInterleaveMinTxRate => '1.3.6.1.2.1.10.94.1.1.14.1.26',
adslAturChanConfFastMaxTxRate => '1.3.6.1.2.1.10.94.1.1.14.1.27',
adslAturChanConfInterleaveMaxTxRate => '1.3.6.1.2.1.10.94.1.1.14.1.28',
adslAturChanConfMaxInterleaveDelay => '1.3.6.1.2.1.10.94.1.1.14.1.29',
adslLineConfProfileRowStatus => '1.3.6.1.2.1.10.94.1.1.14.1.30',
adslLineAlarmConfProfileTable => '1.3.6.1.2.1.10.94.1.1.15',
adslLineAlarmConfProfileEntry => '1.3.6.1.2.1.10.94.1.1.15.1',
adslLineAlarmConfProfileName => '1.3.6.1.2.1.10.94.1.1.15.1.1',
adslAtucThresh15MinLofs => '1.3.6.1.2.1.10.94.1.1.15.1.2',
adslAtucThresh15MinLoss => '1.3.6.1.2.1.10.94.1.1.15.1.3',
adslAtucThresh15MinLols => '1.3.6.1.2.1.10.94.1.1.15.1.4',
adslAtucThresh15MinLprs => '1.3.6.1.2.1.10.94.1.1.15.1.5',
adslAtucThresh15MinESs => '1.3.6.1.2.1.10.94.1.1.15.1.6',
adslAtucThreshFastRateUp => '1.3.6.1.2.1.10.94.1.1.15.1.7',
adslAtucThreshInterleaveRateUp => '1.3.6.1.2.1.10.94.1.1.15.1.8',
adslAtucThreshFastRateDown => '1.3.6.1.2.1.10.94.1.1.15.1.9',
adslAtucThreshInterleaveRateDown => '1.3.6.1.2.1.10.94.1.1.15.1.10',
adslAtucInitFailureTrapEnable => '1.3.6.1.2.1.10.94.1.1.15.1.11',
adslAtucInitFailureTrapEnableDefinition => 'ADSL-LINE-MIB::adslAtucInitFailureTrapEnable',
adslAturThresh15MinLofs => '1.3.6.1.2.1.10.94.1.1.15.1.12',
adslAturThresh15MinLoss => '1.3.6.1.2.1.10.94.1.1.15.1.13',
adslAturThresh15MinLprs => '1.3.6.1.2.1.10.94.1.1.15.1.14',
adslAturThresh15MinESs => '1.3.6.1.2.1.10.94.1.1.15.1.15',
adslAturThreshFastRateUp => '1.3.6.1.2.1.10.94.1.1.15.1.16',
adslAturThreshInterleaveRateUp => '1.3.6.1.2.1.10.94.1.1.15.1.17',
adslAturThreshFastRateDown => '1.3.6.1.2.1.10.94.1.1.15.1.18',
adslAturThreshInterleaveRateDown => '1.3.6.1.2.1.10.94.1.1.15.1.19',
adslLineAlarmConfProfileRowStatus => '1.3.6.1.2.1.10.94.1.1.15.1.20',
adslLCSMib => '1.3.6.1.2.1.10.94.1.1.16',
adslTraps => '1.3.6.1.2.1.10.94.1.2',
adslAtucTraps => '1.3.6.1.2.1.10.94.1.2.1',
adslAturTraps => '1.3.6.1.2.1.10.94.1.2.2',
adslConformance => '1.3.6.1.2.1.10.94.1.3',
adslGroups => '1.3.6.1.2.1.10.94.1.3.1',
adslCompliances => '1.3.6.1.2.1.10.94.1.3.2',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'ADSL-LINE-MIB'} = {
adslAtucInitFailureTrapEnable => {
'1' => 'enable',
'2' => 'disable',
},
adslAtucConfRateMode => {
'1' => 'fixed',
'2' => 'adaptAtStartup',
'3' => 'adaptAtRuntime',
},
adslLineType => {
'1' => 'noChannel',
'2' => 'fastOnly',
'3' => 'interleavedOnly',
'4' => 'fastOrInterleaved',
'5' => 'fastAndInterleaved',
},
adslAturConfRateMode => {
'1' => 'fixed',
'2' => 'adaptAtStartup',
'3' => 'adaptAtRuntime',
},
adslLineCoding => {
'1' => 'other',
'2' => 'dmt',
'3' => 'cap',
'4' => 'qam',
},
};

View file

@ -0,0 +1,199 @@
package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOBGP4MIB;
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'CISCO-BGP4-MIB'} = {
url => '',
name => 'CISCO-BGP4-MIB',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'CISCO-BGP4-MIB'} =
'1.3.6.1.4.1.9.9.187';
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-BGP4-MIB'} = {
ciscoBgp4MIB => '1.3.6.1.4.1.9.9.187',
ciscoBgp4NotifyPrefix => '1.3.6.1.4.1.9.9.187.0',
ciscoBgp4MIBObjects => '1.3.6.1.4.1.9.9.187.1',
cbgpRoute => '1.3.6.1.4.1.9.9.187.1.1',
cbgpRouteTable => '1.3.6.1.4.1.9.9.187.1.1.1',
cbgpRouteEntry => '1.3.6.1.4.1.9.9.187.1.1.1.1',
cbgpRouteAfi => '1.3.6.1.4.1.9.9.187.1.1.1.1.1',
cbgpRouteSafi => '1.3.6.1.4.1.9.9.187.1.1.1.1.2',
cbgpRouteSafiDefinition => 'CISCO-BGP4-MIB::CbgpSafi',
cbgpRoutePeerType => '1.3.6.1.4.1.9.9.187.1.1.1.1.3',
cbgpRoutePeer => '1.3.6.1.4.1.9.9.187.1.1.1.1.4',
cbgpRouteAddrPrefix => '1.3.6.1.4.1.9.9.187.1.1.1.1.5',
cbgpRouteAddrPrefixLen => '1.3.6.1.4.1.9.9.187.1.1.1.1.6',
cbgpRouteOrigin => '1.3.6.1.4.1.9.9.187.1.1.1.1.7',
cbgpRouteOriginDefinition => 'CISCO-BGP4-MIB::cbgpRouteOrigin',
cbgpRouteASPathSegment => '1.3.6.1.4.1.9.9.187.1.1.1.1.8',
cbgpRouteNextHop => '1.3.6.1.4.1.9.9.187.1.1.1.1.9',
cbgpRouteMedPresent => '1.3.6.1.4.1.9.9.187.1.1.1.1.10',
cbgpRouteMultiExitDisc => '1.3.6.1.4.1.9.9.187.1.1.1.1.11',
cbgpRouteLocalPrefPresent => '1.3.6.1.4.1.9.9.187.1.1.1.1.12',
cbgpRouteLocalPref => '1.3.6.1.4.1.9.9.187.1.1.1.1.13',
cbgpRouteAtomicAggregate => '1.3.6.1.4.1.9.9.187.1.1.1.1.14',
cbgpRouteAtomicAggregateDefinition => 'CISCO-BGP4-MIB::cbgpRouteAtomicAggregate',
cbgpRouteAggregatorAS => '1.3.6.1.4.1.9.9.187.1.1.1.1.15',
cbgpRouteAggregatorAddrType => '1.3.6.1.4.1.9.9.187.1.1.1.1.16',
cbgpRouteAggregatorAddr => '1.3.6.1.4.1.9.9.187.1.1.1.1.17',
cbgpRouteBest => '1.3.6.1.4.1.9.9.187.1.1.1.1.18',
cbgpRouteUnknownAttr => '1.3.6.1.4.1.9.9.187.1.1.1.1.19',
cbgpPeer => '1.3.6.1.4.1.9.9.187.1.2',
cbgpPeerTable => '1.3.6.1.4.1.9.9.187.1.2.1',
cbgpPeerEntry => '1.3.6.1.4.1.9.9.187.1.2.1.1',
cbgpPeerPrefixAccepted => '1.3.6.1.4.1.9.9.187.1.2.1.1.1',
cbgpPeerPrefixDenied => '1.3.6.1.4.1.9.9.187.1.2.1.1.2',
cbgpPeerPrefixLimit => '1.3.6.1.4.1.9.9.187.1.2.1.1.3',
cbgpPeerPrefixAdvertised => '1.3.6.1.4.1.9.9.187.1.2.1.1.4',
cbgpPeerPrefixSuppressed => '1.3.6.1.4.1.9.9.187.1.2.1.1.5',
cbgpPeerPrefixWithdrawn => '1.3.6.1.4.1.9.9.187.1.2.1.1.6',
cbgpPeerLastErrorTxt => '1.3.6.1.4.1.9.9.187.1.2.1.1.7',
cbgpPeerPrevState => '1.3.6.1.4.1.9.9.187.1.2.1.1.8',
cbgpPeerPrevStateDefinition => 'CISCO-BGP4-MIB::cbgpPeerPrevState',
cbgpPeerCapsTable => '1.3.6.1.4.1.9.9.187.1.2.2',
cbgpPeerCapsEntry => '1.3.6.1.4.1.9.9.187.1.2.2.1',
cbgpPeerCapCode => '1.3.6.1.4.1.9.9.187.1.2.2.1.1',
cbgpPeerCapCodeDefinition => 'CISCO-BGP4-MIB::cbgpPeerCapCode',
cbgpPeerCapIndex => '1.3.6.1.4.1.9.9.187.1.2.2.1.2',
cbgpPeerCapValue => '1.3.6.1.4.1.9.9.187.1.2.2.1.3',
cbgpPeerAddrFamilyTable => '1.3.6.1.4.1.9.9.187.1.2.3',
cbgpPeerAddrFamilyEntry => '1.3.6.1.4.1.9.9.187.1.2.3.1',
cbgpPeerAddrFamilyAfi => '1.3.6.1.4.1.9.9.187.1.2.3.1.1',
cbgpPeerAddrFamilySafi => '1.3.6.1.4.1.9.9.187.1.2.3.1.2',
cbgpPeerAddrFamilySafiDefinition => 'CISCO-BGP4-MIB::CbgpSafi',
cbgpPeerAddrFamilyName => '1.3.6.1.4.1.9.9.187.1.2.3.1.3',
cbgpPeerAddrFamilyPrefixTable => '1.3.6.1.4.1.9.9.187.1.2.4',
cbgpPeerAddrFamilyPrefixEntry => '1.3.6.1.4.1.9.9.187.1.2.4.1',
cbgpPeerAcceptedPrefixes => '1.3.6.1.4.1.9.9.187.1.2.4.1.1',
cbgpPeerDeniedPrefixes => '1.3.6.1.4.1.9.9.187.1.2.4.1.2',
cbgpPeerPrefixAdminLimit => '1.3.6.1.4.1.9.9.187.1.2.4.1.3',
cbgpPeerPrefixThreshold => '1.3.6.1.4.1.9.9.187.1.2.4.1.4',
cbgpPeerPrefixClearThreshold => '1.3.6.1.4.1.9.9.187.1.2.4.1.5',
cbgpPeerAdvertisedPrefixes => '1.3.6.1.4.1.9.9.187.1.2.4.1.6',
cbgpPeerSuppressedPrefixes => '1.3.6.1.4.1.9.9.187.1.2.4.1.7',
cbgpPeerWithdrawnPrefixes => '1.3.6.1.4.1.9.9.187.1.2.4.1.8',
cbgpPeer2Table => '1.3.6.1.4.1.9.9.187.1.2.5',
cbgpPeer2Entry => '1.3.6.1.4.1.9.9.187.1.2.5.1',
cbgpPeer2Type => '1.3.6.1.4.1.9.9.187.1.2.5.1.1',
cbgpPeer2RemoteAddr => '1.3.6.1.4.1.9.9.187.1.2.5.1.2',
cbgpPeer2State => '1.3.6.1.4.1.9.9.187.1.2.5.1.3',
cbgpPeer2StateDefinition => 'CISCO-BGP4-MIB::cbgpPeer2State',
cbgpPeer2AdminStatus => '1.3.6.1.4.1.9.9.187.1.2.5.1.4',
cbgpPeer2AdminStatusDefinition => 'CISCO-BGP4-MIB::cbgpPeer2AdminStatus',
cbgpPeer2NegotiatedVersion => '1.3.6.1.4.1.9.9.187.1.2.5.1.5',
cbgpPeer2LocalAddr => '1.3.6.1.4.1.9.9.187.1.2.5.1.6',
cbgpPeer2LocalPort => '1.3.6.1.4.1.9.9.187.1.2.5.1.7',
cbgpPeer2LocalAs => '1.3.6.1.4.1.9.9.187.1.2.5.1.8',
cbgpPeer2LocalIdentifier => '1.3.6.1.4.1.9.9.187.1.2.5.1.9',
cbgpPeer2RemotePort => '1.3.6.1.4.1.9.9.187.1.2.5.1.10',
cbgpPeer2RemoteAs => '1.3.6.1.4.1.9.9.187.1.2.5.1.11',
cbgpPeer2RemoteIdentifier => '1.3.6.1.4.1.9.9.187.1.2.5.1.12',
cbgpPeer2InUpdates => '1.3.6.1.4.1.9.9.187.1.2.5.1.13',
cbgpPeer2OutUpdates => '1.3.6.1.4.1.9.9.187.1.2.5.1.14',
cbgpPeer2InTotalMessages => '1.3.6.1.4.1.9.9.187.1.2.5.1.15',
cbgpPeer2OutTotalMessages => '1.3.6.1.4.1.9.9.187.1.2.5.1.16',
cbgpPeer2LastError => '1.3.6.1.4.1.9.9.187.1.2.5.1.17',
cbgpPeer2FsmEstablishedTransitions => '1.3.6.1.4.1.9.9.187.1.2.5.1.18',
cbgpPeer2FsmEstablishedTime => '1.3.6.1.4.1.9.9.187.1.2.5.1.19',
cbgpPeer2ConnectRetryInterval => '1.3.6.1.4.1.9.9.187.1.2.5.1.20',
cbgpPeer2HoldTime => '1.3.6.1.4.1.9.9.187.1.2.5.1.21',
cbgpPeer2KeepAlive => '1.3.6.1.4.1.9.9.187.1.2.5.1.22',
cbgpPeer2HoldTimeConfigured => '1.3.6.1.4.1.9.9.187.1.2.5.1.23',
cbgpPeer2KeepAliveConfigured => '1.3.6.1.4.1.9.9.187.1.2.5.1.24',
cbgpPeer2MinASOriginationInterval => '1.3.6.1.4.1.9.9.187.1.2.5.1.25',
cbgpPeer2MinRouteAdvertisementInterval => '1.3.6.1.4.1.9.9.187.1.2.5.1.26',
cbgpPeer2InUpdateElapsedTime => '1.3.6.1.4.1.9.9.187.1.2.5.1.27',
cbgpPeer2LastErrorTxt => '1.3.6.1.4.1.9.9.187.1.2.5.1.28',
cbgpPeer2PrevState => '1.3.6.1.4.1.9.9.187.1.2.5.1.29',
cbgpPeer2PrevStateDefinition => 'CISCO-BGP4-MIB::cbgpPeer2PrevState',
cbgpPeer2CapsTable => '1.3.6.1.4.1.9.9.187.1.2.6',
cbgpPeer2CapsEntry => '1.3.6.1.4.1.9.9.187.1.2.6.1',
cbgpPeer2CapCode => '1.3.6.1.4.1.9.9.187.1.2.6.1.1',
cbgpPeer2CapCodeDefinition => 'CISCO-BGP4-MIB::cbgpPeer2CapCode',
cbgpPeer2CapIndex => '1.3.6.1.4.1.9.9.187.1.2.6.1.2',
cbgpPeer2CapValue => '1.3.6.1.4.1.9.9.187.1.2.6.1.3',
cbgpPeer2AddrFamilyTable => '1.3.6.1.4.1.9.9.187.1.2.7',
cbgpPeer2AddrFamilyEntry => '1.3.6.1.4.1.9.9.187.1.2.7.1',
cbgpPeer2AddrFamilyAfi => '1.3.6.1.4.1.9.9.187.1.2.7.1.1',
cbgpPeer2AddrFamilySafi => '1.3.6.1.4.1.9.9.187.1.2.7.1.2',
cbgpPeer2AddrFamilySafiDefinition => 'CISCO-BGP4-MIB::CbgpSafi',
cbgpPeer2AddrFamilyName => '1.3.6.1.4.1.9.9.187.1.2.7.1.3',
cbgpPeer2AddrFamilyPrefixTable => '1.3.6.1.4.1.9.9.187.1.2.8',
cbgpPeer2AddrFamilyPrefixEntry => '1.3.6.1.4.1.9.9.187.1.2.8.1',
cbgpPeer2AcceptedPrefixes => '1.3.6.1.4.1.9.9.187.1.2.8.1.1',
cbgpPeer2DeniedPrefixes => '1.3.6.1.4.1.9.9.187.1.2.8.1.2',
cbgpPeer2PrefixAdminLimit => '1.3.6.1.4.1.9.9.187.1.2.8.1.3',
cbgpPeer2PrefixThreshold => '1.3.6.1.4.1.9.9.187.1.2.8.1.4',
cbgpPeer2PrefixClearThreshold => '1.3.6.1.4.1.9.9.187.1.2.8.1.5',
cbgpPeer2AdvertisedPrefixes => '1.3.6.1.4.1.9.9.187.1.2.8.1.6',
cbgpPeer2SuppressedPrefixes => '1.3.6.1.4.1.9.9.187.1.2.8.1.7',
cbgpPeer2WithdrawnPrefixes => '1.3.6.1.4.1.9.9.187.1.2.8.1.8',
cbgpGlobal => '1.3.6.1.4.1.9.9.187.1.3',
cbgpNotifsEnable => '1.3.6.1.4.1.9.9.187.1.3.1',
cbgpLocalAs => '1.3.6.1.4.1.9.9.187.1.3.2',
ciscoBgp4NotificationPrefix => '1.3.6.1.4.1.9.9.187.2',
ciscoBgp4MIBConformance => '1.3.6.1.4.1.9.9.187.3',
ciscoBgp4MIBCompliances => '1.3.6.1.4.1.9.9.187.3.1',
ciscoBgp4MIBGroups => '1.3.6.1.4.1.9.9.187.3.2',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCO-BGP4-MIB'} = {
cbgpPeerCapCode => {
'1' => 'multiProtocol',
'2' => 'routeRefresh',
'64' => 'gracefulRestart',
'128' => 'routeRefreshOld',
},
cbgpPeer2State => {
'1' => 'idle',
'2' => 'connect',
'3' => 'active',
'4' => 'opensent',
'5' => 'openconfirm',
'6' => 'established',
},
CbgpSafi => {
'1' => 'unicast',
'2' => 'multicast',
'3' => 'unicastAndMulticast',
'128' => 'vpn',
},
cbgpRouteOrigin => {
'1' => 'igp',
'2' => 'egp',
'3' => 'incomplete',
},
cbgpPeer2CapCode => {
'1' => 'multiProtocol',
'2' => 'routeRefresh',
'64' => 'gracefulRestart',
'65' => 'fourByteAs',
'69' => 'addPath',
'128' => 'routeRefreshOld',
},
cbgpPeerPrevState => {
'0' => 'none',
'1' => 'idle',
'2' => 'connect',
'3' => 'active',
'4' => 'opensent',
'5' => 'openconfirm',
'6' => 'established',
},
cbgpRouteAtomicAggregate => {
'1' => 'lessSpecificRouteNotSelected',
'2' => 'lessSpecificRouteSelected',
},
cbgpPeer2AdminStatus => {
'1' => 'stop',
'2' => 'start',
},
cbgpPeer2PrevState => {
'0' => 'none',
'1' => 'idle',
'2' => 'connect',
'3' => 'active',
'4' => 'opensent',
'5' => 'openconfirm',
'6' => 'established',
},
};

View file

@ -14,13 +14,21 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-LWAPP-HA-MIB'}
ciscoLwappHaGlobalConfig => '1.3.6.1.4.1.9.9.198888.0.1',
cLHaApSsoConfig => '1.3.6.1.4.1.9.9.198888.0.1.1',
cLHaPeerIpAddressType => '1.3.6.1.4.1.9.9.198888.0.1.2',
cLHaPeerIpAddressTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
cLHaPeerIpAddress => '1.3.6.1.4.1.9.9.198888.0.1.3',
cLHaPeerIpAddressDefinition => 'INET-ADDRESS-MIB::InetAddress(cLHaPeerIpAddressType)',
cLHaServicePortPeerIpAddressType => '1.3.6.1.4.1.9.9.198888.0.1.4',
cLHaServicePortPeerIpAddressTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
cLHaServicePortPeerIpAddress => '1.3.6.1.4.1.9.9.198888.0.1.5',
cLHaServicePortPeerIpAddressDefinition => 'INET-ADDRESS-MIB::InetAddress(cLHaServicePortPeerIpAddressType)',
cLHaServicePortPeerIpNetMaskType => '1.3.6.1.4.1.9.9.198888.0.1.6',
cLHaServicePortPeerIpNetMaskTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
cLHaServicePortPeerIpNetMask => '1.3.6.1.4.1.9.9.198888.0.1.7',
cLHaServicePortPeerIpNetMaskDefinition => 'INET-ADDRESS-MIB::InetAddress(cLHaServicePortPeerIpNetMaskType)',
cLHaRedundancyIpAddressType => '1.3.6.1.4.1.9.9.198888.0.1.8',
cLHaRedundancyIpAddressTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
cLHaRedundancyIpAddress => '1.3.6.1.4.1.9.9.198888.0.1.9',
cLHaRedundancyIpAddressDefinition => 'INET-ADDRESS-MIB::InetAddress(cLHaRedundancyIpAddressType)',
cLHaPeerMacAddress => '1.3.6.1.4.1.9.9.198888.0.1.10',
cLHaVirtualMacAddress => '1.3.6.1.4.1.9.9.198888.0.1.11',
cLHaPrimaryUnit => '1.3.6.1.4.1.9.9.198888.0.1.12',
@ -37,11 +45,17 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-LWAPP-HA-MIB'}
cLHaNetworkRoutePeerConfigTable => '1.3.6.1.4.1.9.9.198888.0.2.1',
cLHaNetworkRoutePeerConfigEntry => '1.3.6.1.4.1.9.9.198888.0.2.1.1',
cLHaNetworkRoutePeerIPAddressType => '1.3.6.1.4.1.9.9.198888.0.2.1.1.1',
cLHaNetworkRoutePeerIPAddressTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
cLHaNetworkRoutePeerIPAddress => '1.3.6.1.4.1.9.9.198888.0.2.1.1.2',
cLHaNetworkRoutePeerIPAddressDefinition => 'INET-ADDRESS-MIB::InetAddress(cLHaNetworkRoutePeerIPAddressType)',
cLHaNetworkRoutePeerIPNetmaskType => '1.3.6.1.4.1.9.9.198888.0.2.1.1.3',
cLHaNetworkRoutePeerIPNetmaskTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
cLHaNetworkRoutePeerIPNetmask => '1.3.6.1.4.1.9.9.198888.0.2.1.1.4',
cLHaNetworkRoutePeerIPNetmaskDefinition => 'INET-ADDRESS-MIB::InetAddress(cLHaNetworkRoutePeerIPNetmaskType)',
cLHaNetworkRoutePeerGatewayType => '1.3.6.1.4.1.9.9.198888.0.2.1.1.5',
cLHaNetworkRoutePeerGatewayTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
cLHaNetworkRoutePeerGateway => '1.3.6.1.4.1.9.9.198888.0.2.1.1.6',
cLHaNetworkRoutePeerGatewayDefinition => 'INET-ADDRESS-MIB::InetAddress(cLHaNetworkRoutePeerGatewayType)',
cLHaNetworkRoutePeerTransferStatus => '1.3.6.1.4.1.9.9.198888.0.2.1.1.7',
cLHaNetworkRoutePeerTransferStatusDefinition => 'CISCO-LWAPP-HA-MIB::cLHaNetworkRoutePeerTransferStatus',
cLHaNetworkRoutePeerRowStatus => '1.3.6.1.4.1.9.9.198888.0.2.1.1.8',

View file

@ -0,0 +1,120 @@
package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOPORTSECURITYMIB;
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'CISCO-PORT-SECURITY-MIB'} = {
url => '',
name => 'CISCO-PORT-SECURITY-MIB',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'CISCO-PORT-SECURITY-MIB'} =
'1.3.6.1.4.1.9.9.315';
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-PORT-SECURITY-MIB'} = {
ciscoPortSecurityMIB => '1.3.6.1.4.1.9.9.315',
ciscoPortSecurityMIBNotifs => '1.3.6.1.4.1.9.9.315.0',
cpsInterfaceNotifs => '1.3.6.1.4.1.9.9.315.0.0',
ciscoPortSecurityMIBObjects => '1.3.6.1.4.1.9.9.315.1',
cpsGlobalObjects => '1.3.6.1.4.1.9.9.315.1.1',
cpsGlobalMaxSecureAddress => '1.3.6.1.4.1.9.9.315.1.1.1',
cpsGlobalTotalSecureAddress => '1.3.6.1.4.1.9.9.315.1.1.2',
cpsGlobalPortSecurityEnable => '1.3.6.1.4.1.9.9.315.1.1.3',
cpsGlobalPortSecurityEnableDefinition => 'SNMPv2-TC-v1-MIB::TruthValue',
cpsGlobalSNMPNotifRate => '1.3.6.1.4.1.9.9.315.1.1.4',
cpsGlobalSNMPNotifControl => '1.3.6.1.4.1.9.9.315.1.1.5',
cpsGlobalClearSecureMacAddresses => '1.3.6.1.4.1.9.9.315.1.1.6',
cpsGlobalClearSecureMacAddressesDefinition => 'CISCO-PORT-SECURITY-MIB::ClearSecureMacAddrType',
cpsInterfaceObjects => '1.3.6.1.4.1.9.9.315.1.2',
cpsIfConfigTable => '1.3.6.1.4.1.9.9.315.1.2.1',
cpsIfConfigEntry => '1.3.6.1.4.1.9.9.315.1.2.1.1',
cpsIfPortSecurityEnable => '1.3.6.1.4.1.9.9.315.1.2.1.1.1',
cpsIfPortSecurityEnableDefinition => 'SNMPv2-TC-v1-MIB::TruthValue',
cpsIfPortSecurityStatus => '1.3.6.1.4.1.9.9.315.1.2.1.1.2',
cpsIfPortSecurityStatusDefinition => 'CISCO-PORT-SECURITY-MIB::cpsIfPortSecurityStatus',
cpsIfMaxSecureMacAddr => '1.3.6.1.4.1.9.9.315.1.2.1.1.3',
cpsIfCurrentSecureMacAddrCount => '1.3.6.1.4.1.9.9.315.1.2.1.1.4',
cpsIfSecureMacAddrAgingTime => '1.3.6.1.4.1.9.9.315.1.2.1.1.5',
cpsIfSecureMacAddrAgingType => '1.3.6.1.4.1.9.9.315.1.2.1.1.6',
cpsIfSecureMacAddrAgingTypeDefinition => 'CISCO-PORT-SECURITY-MIB::cpsIfSecureMacAddrAgingType',
cpsIfStaticMacAddrAgingEnable => '1.3.6.1.4.1.9.9.315.1.2.1.1.7',
cpsIfStaticMacAddrAgingEnableDefinition => 'SNMPv2-TC-v1-MIB::TruthValue',
cpsIfViolationAction => '1.3.6.1.4.1.9.9.315.1.2.1.1.8',
cpsIfViolationActionDefinition => 'CISCO-PORT-SECURITY-MIB::cpsIfViolationAction',
cpsIfViolationCount => '1.3.6.1.4.1.9.9.315.1.2.1.1.9',
cpsIfSecureLastMacAddress => '1.3.6.1.4.1.9.9.315.1.2.1.1.10',
cpsIfClearSecureAddresses => '1.3.6.1.4.1.9.9.315.1.2.1.1.11',
cpsIfClearSecureAddressesDefinition => 'SNMPv2-TC-v1-MIB::TruthValue',
cpsIfUnicastFloodingEnable => '1.3.6.1.4.1.9.9.315.1.2.1.1.12',
cpsIfUnicastFloodingEnableDefinition => 'SNMPv2-TC-v1-MIB::TruthValue',
cpsIfShutdownTimeout => '1.3.6.1.4.1.9.9.315.1.2.1.1.13',
cpsIfClearSecureMacAddresses => '1.3.6.1.4.1.9.9.315.1.2.1.1.14',
cpsIfClearSecureMacAddressesDefinition => 'CISCO-PORT-SECURITY-MIB::ClearSecureMacAddrType',
cpsIfStickyEnable => '1.3.6.1.4.1.9.9.315.1.2.1.1.15',
cpsIfStickyEnableDefinition => 'SNMPv2-TC-v1-MIB::TruthValue',
cpsIfInvalidSrcRateLimitEnable => '1.3.6.1.4.1.9.9.315.1.2.1.1.16',
cpsIfInvalidSrcRateLimitEnableDefinition => 'SNMPv2-TC-v1-MIB::TruthValue',
cpsIfInvalidSrcRateLimitValue => '1.3.6.1.4.1.9.9.315.1.2.1.1.17',
cpsIfSecureLastMacAddrVlanId => '1.3.6.1.4.1.9.9.315.1.2.1.1.18',
cpsSecureMacAddressTable => '1.3.6.1.4.1.9.9.315.1.2.2',
cpsSecureMacAddressEntry => '1.3.6.1.4.1.9.9.315.1.2.2.1',
cpsSecureMacAddress => '1.3.6.1.4.1.9.9.315.1.2.2.1.1',
cpsSecureMacAddrType => '1.3.6.1.4.1.9.9.315.1.2.2.1.2',
cpsSecureMacAddrTypeDefinition => 'CISCO-PORT-SECURITY-MIB::cpsSecureMacAddrType',
cpsSecureMacAddrRemainingAge => '1.3.6.1.4.1.9.9.315.1.2.2.1.3',
cpsSecureMacAddrRowStatus => '1.3.6.1.4.1.9.9.315.1.2.2.1.4',
cpsIfVlanSecureMacAddrTable => '1.3.6.1.4.1.9.9.315.1.2.3',
cpsIfVlanSecureMacAddrEntry => '1.3.6.1.4.1.9.9.315.1.2.3.1',
cpsIfVlanSecureMacAddress => '1.3.6.1.4.1.9.9.315.1.2.3.1.1',
cpsIfVlanSecureVlanIndex => '1.3.6.1.4.1.9.9.315.1.2.3.1.2',
cpsIfVlanSecureMacAddrType => '1.3.6.1.4.1.9.9.315.1.2.3.1.3',
cpsIfVlanSecureMacAddrTypeDefinition => 'CISCO-PORT-SECURITY-MIB::cpsIfVlanSecureMacAddrType',
cpsIfVlanSecureMacAddrRemainAge => '1.3.6.1.4.1.9.9.315.1.2.3.1.4',
cpsIfVlanSecureMacAddrRowStatus => '1.3.6.1.4.1.9.9.315.1.2.3.1.5',
cpsIfVlanTable => '1.3.6.1.4.1.9.9.315.1.2.4',
cpsIfVlanEntry => '1.3.6.1.4.1.9.9.315.1.2.4.1',
cpsIfVlanIndex => '1.3.6.1.4.1.9.9.315.1.2.4.1.1',
cpsIfVlanMaxSecureMacAddr => '1.3.6.1.4.1.9.9.315.1.2.4.1.2',
cpsIfVlanCurSecureMacAddrCount => '1.3.6.1.4.1.9.9.315.1.2.4.1.3',
cpsIfMultiVlanTable => '1.3.6.1.4.1.9.9.315.1.2.5',
cpsIfMultiVlanEntry => '1.3.6.1.4.1.9.9.315.1.2.5.1',
cpsIfMultiVlanIndex => '1.3.6.1.4.1.9.9.315.1.2.5.1.1',
cpsIfMultiVlanMaxSecureMacAddr => '1.3.6.1.4.1.9.9.315.1.2.5.1.2',
cpsIfMultiVlanSecureMacAddrCount => '1.3.6.1.4.1.9.9.315.1.2.5.1.3',
cpsIfMultiVlanClearSecureMacAddr => '1.3.6.1.4.1.9.9.315.1.2.5.1.4',
cpsIfMultiVlanClearSecureMacAddrDefinition => 'CISCO-PORT-SECURITY-MIB::ClearSecureMacAddrType',
cpsIfMultiVlanRowStatus => '1.3.6.1.4.1.9.9.315.1.2.5.1.5',
ciscoPortSecurityMIBConform => '1.3.6.1.4.1.9.9.315.2',
ciscoPortSecurityMIBCompliances => '1.3.6.1.4.1.9.9.315.2.1',
ciscoPortSecurityMIBGroups => '1.3.6.1.4.1.9.9.315.2.2',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCO-PORT-SECURITY-MIB'} = {
cpsIfPortSecurityStatus => {
'1' => 'secureup',
'2' => 'securedown',
'3' => 'shutdown',
},
cpsIfVlanSecureMacAddrType => {
'1' => 'static',
'2' => 'dynamic',
'3' => 'sticky',
},
cpsIfSecureMacAddrAgingType => {
'1' => 'absolute',
'2' => 'inactivity',
},
cpsIfViolationAction => {
'1' => 'shutdown',
'2' => 'dropNotify',
'3' => 'drop',
},
ClearSecureMacAddrType => {
'0' => 'done',
'1' => 'dynamic',
'2' => 'static',
'3' => 'sticky',
'4' => 'all',
},
cpsSecureMacAddrType => {
'1' => 'static',
'2' => 'dynamic',
},
};

View file

@ -20,6 +20,9 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-STACKWISE-MIB'}
cswRingRedundantDefinition => 'SNMPv2-TC-v1-MIB::TruthValue',
cswEnableStackNotifications => '1.3.6.1.4.1.9.9.500.1.1.4',
cswEnableIndividualStackNotifications => '1.3.6.1.4.1.9.9.500.1.1.5',
cswStackDomainNum => '1.3.6.1.4.1.9.9.500.1.1.6',
cswStackType => '1.3.6.1.4.1.9.9.500.1.1.7',
cswStackBandWidth => '1.3.6.1.4.1.9.9.500.1.1.8',
cswStackInfo => '1.3.6.1.4.1.9.9.500.1.2',
cswSwitchInfoTable => '1.3.6.1.4.1.9.9.500.1.2.1',
cswSwitchInfoEntry => '1.3.6.1.4.1.9.9.500.1.2.1.1',
@ -38,11 +41,24 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-STACKWISE-MIB'}
cswSwitchSystemPowerPriority => '1.3.6.1.4.1.9.9.500.1.2.1.1.11',
cswSwitchPoeDevicesLowPriority => '1.3.6.1.4.1.9.9.500.1.2.1.1.12',
cswSwitchPoeDevicesHighPriority => '1.3.6.1.4.1.9.9.500.1.2.1.1.13',
cswSwitchPowerAllocated => '1.3.6.1.4.1.9.9.500.1.2.1.1.14',
cswStackPortInfoTable => '1.3.6.1.4.1.9.9.500.1.2.2',
cswStackPortInfoEntry => '1.3.6.1.4.1.9.9.500.1.2.2.1',
cswStackPortOperStatus => '1.3.6.1.4.1.9.9.500.1.2.2.1.1',
cswStackPortOperStatusDefinition => 'CISCO-STACKWISE-MIB::cswStackPortOperStatus',
cswStackPortNeighbor => '1.3.6.1.4.1.9.9.500.1.2.2.1.2',
cswDistrStackLinkInfoTable => '1.3.6.1.4.1.9.9.500.1.2.3',
cswDistrStackLinkInfoEntry => '1.3.6.1.4.1.9.9.500.1.2.3.1',
cswDSLindex => '1.3.6.1.4.1.9.9.500.1.2.3.1.1',
cswDistrStackLinkBundleOperStatus => '1.3.6.1.4.1.9.9.500.1.2.3.1.2',
cswDistrStackLinkBundleOperStatusDefinition => 'CISCO-STACKWISE-MIB::cswDistrStackLinkBundleOperStatus',
cswDistrStackPhyPortInfoTable => '1.3.6.1.4.1.9.9.500.1.2.4',
cswDistrStackPhyPortInfoEntry => '1.3.6.1.4.1.9.9.500.1.2.4.1',
cswDistrStackPhyPort => '1.3.6.1.4.1.9.9.500.1.2.4.1.1',
cswDistrStackPhyPortOperStatus => '1.3.6.1.4.1.9.9.500.1.2.4.1.2',
cswDistrStackPhyPortOperStatusDefinition => 'CISCO-STACKWISE-MIB::cswDistrStackPhyPortOperStatus',
cswDistrStackPhyPortNbr => '1.3.6.1.4.1.9.9.500.1.2.4.1.3',
cswDistrStackPhyPortNbrsw => '1.3.6.1.4.1.9.9.500.1.2.4.1.4',
cswStackPowerInfo => '1.3.6.1.4.1.9.9.500.1.3',
cswStackPowerInfoTable => '1.3.6.1.4.1.9.9.500.1.3.1',
cswStackPowerInfoEntry => '1.3.6.1.4.1.9.9.500.1.3.1.1',
@ -72,10 +88,9 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-STACKWISE-MIB'}
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCO-STACKWISE-MIB'} = {
cswStackPortOperStatus => {
'1' => 'up',
'2' => 'down',
'3' => 'forcedDown',
CswPowerStackType => {
'1' => 'ring',
'2' => 'star',
},
CswPowerStackMode => {
'1' => 'powerSharing',
@ -83,13 +98,13 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCO-STACKWISE-MIB'} =
'3' => 'powerSharingStrict',
'4' => 'redundantStrict',
},
CswPowerStackType => {
'1' => 'ring',
'2' => 'star',
cswDistrStackPhyPortOperStatus => {
'1' => 'up',
'2' => 'down',
},
cswStackPowerPortOperStatus => {
'1' => 'enabled',
'2' => 'disabled',
cswStackPowerPortLinkStatus => {
'1' => 'up',
'2' => 'down',
},
cswSwitchState => {
'1' => 'waiting',
@ -104,13 +119,23 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCO-STACKWISE-MIB'} =
'10' => 'invalid',
'11' => 'removed',
},
cswDistrStackLinkBundleOperStatus => {
'1' => 'up',
'2' => 'down',
},
cswStackPortOperStatus => {
'1' => 'up',
'2' => 'down',
'3' => 'forcedDown',
},
cswSwitchRole => {
'1' => 'master',
'2' => 'member',
'3' => 'notMember',
'4' => 'standby',
},
cswStackPowerPortLinkStatus => {
'1' => 'up',
'2' => 'down',
cswStackPowerPortOperStatus => {
'1' => 'enabled',
'2' => 'disabled',
},
};

View file

@ -50,6 +50,12 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'ELTEX-MIB'} = {
# correctly interpret the value of this object, the associated entPhySensorType,
# entPhySensorScale, and entPhySensorPrecision objects must also be examined.
'eltexSensorStatus' => '1.3.6.1.4.1.89.83.2.1.1.1.4',
# Type of sensor
'eltexSensorType' => '1.3.6.1.4.1.89.83.2.1.1.1.1',
'eltexSensorTypeDefinition' => {
'8' => 'C',
'10' => 'rpm',
},
# The table of fan status maintained by the environmental monitor.
'eltexFanTable' => '1.3.6.1.4.1.89.83.1.1',
# An entry in the fan status table, representing the status of the associated

View file

@ -0,0 +1,74 @@
package Monitoring::GLPlugin::SNMP::MibsAndOids::FORTINETCOREMIB;
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'FORTINET-CORE-MIB'} = {
url => '',
name => 'FORTINET-CORE-MIB',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'FORTINET-CORE-MIB'} =
'1.3.6.1.4.1.12356.100';
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'FORTINET-CORE-MIB'} = {
fortinet => '1.3.6.1.4.1.12356',
fnCoreMib => '1.3.6.1.4.1.12356.100',
fnCommon => '1.3.6.1.4.1.12356.100.1',
fnSystem => '1.3.6.1.4.1.12356.100.1.1',
fnSysSerial => '1.3.6.1.4.1.12356.100.1.1.1',
fnMgmt => '1.3.6.1.4.1.12356.100.1.2',
fnMgmtLanguage => '1.3.6.1.4.1.12356.100.1.2.1',
fnMgmtLanguageDefinition => 'FORTINET-CORE-MIB::FnLanguage',
fnAdmin => '1.3.6.1.4.1.12356.100.1.2.100',
fnAdminNumber => '1.3.6.1.4.1.12356.100.1.2.100.1',
fnAdminTable => '1.3.6.1.4.1.12356.100.1.2.100.2',
fnAdminEntry => '1.3.6.1.4.1.12356.100.1.2.100.2.1',
fnAdminIndex => '1.3.6.1.4.1.12356.100.1.2.100.2.1.1',
fnAdminName => '1.3.6.1.4.1.12356.100.1.2.100.2.1.2',
fnAdminAddrType => '1.3.6.1.4.1.12356.100.1.2.100.2.1.3',
fnAdminAddr => '1.3.6.1.4.1.12356.100.1.2.100.2.1.4',
fnAdminMask => '1.3.6.1.4.1.12356.100.1.2.100.2.1.5',
fnTraps => '1.3.6.1.4.1.12356.100.1.3',
fnTrapsPrefix => '1.3.6.1.4.1.12356.100.1.3.0',
fnTrapObjects => '1.3.6.1.4.1.12356.100.1.3.1',
fnGenTrapMsg => '1.3.6.1.4.1.12356.100.1.3.1.1',
fnMIBConformance => '1.3.6.1.4.1.12356.100.10',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'FORTINET-CORE-MIB'} = {
FnIndex => {
},
FnBoolState => {
'1' => 'disabled',
'2' => 'enabled',
},
FnLanguage => {
'1' => 'english',
'2' => 'simplifiedChinese',
'3' => 'japanese',
'4' => 'korean',
'5' => 'spanish',
'6' => 'traditionalChinese',
'7' => 'french',
'8' => 'portuguese',
'255' => 'undefined',
},
FnSessionProto => {
'0' => 'ip',
'1' => 'icmp',
'2' => 'igmp',
'4' => 'ipip',
'6' => 'tcp',
'8' => 'egp',
'12' => 'pup',
'17' => 'udp',
'22' => 'idp',
'41' => 'ipv6',
'46' => 'rsvp',
'47' => 'gre',
'50' => 'esp',
'51' => 'ah',
'89' => 'ospf',
'103' => 'pim',
'108' => 'comp',
'255' => 'raw',
},
};

View file

@ -1,11 +1,11 @@
package Classes::Huawei::CloudEngine;
our @ISA = qw(Classes::Huawei);
use strict;
package Monitoring::GLPlugin::SNMP::MibsAndOids::HUAWEIENTITYEXTENTMIB;
sub init {
my ($self) = @_;
my $work_in_progress = {
#$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'HUAWEI-ENTITY-EXTENT-MIB'} = {
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'HUAWEI-ENTITY-EXTENT-MIB'} = {
url => '',
name => 'HUAWEI-ENTITY-EXTENT-MIB',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'HUAWEI-ENTITY-EXTENT-MIB'} = {
hwEntityExtentMIB => '1.3.6.1.4.1.2011.5.25.31',
hwEntityExtObjects => '1.3.6.1.4.1.2011.5.25.31.1',
hwEntityState => '1.3.6.1.4.1.2011.5.25.31.1.1',
@ -353,8 +353,7 @@ my $work_in_progress = {
hwEntityExtOSPTrapsPrefix => '1.3.6.1.4.1.2011.5.25.31.9.1',
};
my $definitions_work_in_progress = {
#$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'HUAWEI-ENTITY-EXTENT-MIB'} = {
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'HUAWEI-ENTITY-EXTENT-MIB'} = {
HwAdminState => {
'1' => 'notSupported',
'2' => 'locked',
@ -651,41 +650,7 @@ my $definitions_work_in_progress = {
'4' => 'supportTunableType',
},
};
if ($self->mode =~ /device::hardware::health/) {
$self->analyze_and_check_environmental_subsystem("Classes::Huawei::Component::EnvironmentalSubsystem");
} elsif ($self->mode =~ /device::hardware::load/) {
$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");
} else {
$self->no_such_mode();
}
}
1;
__END__
foreach my $ding (qw(
hwEntityStateTable
hwRUModuleInfoTable
hwOpticalModuleInfoTable
hwMonitorInputTable
hwMonitorOutputTable
hwEntPowerUsedInfoTable
hwVirtualCableTestTable
hwTemperatureThresholdTable
hwVoltageInfoTable
hwFanStatusTable
hwPortBip8StatisticsTable
hwStorageEntTable
hwSystemPowerTable
hwBatteryInfoTable
hwAdmPortTable
hwPwrStatusTable
hwEntityPhysicalSpecTable
hwPnpOperateTable
hwPreDisposeConfigTable
hwPreDisposeEntInfoTable)) {
$self->get_snmp_tables('HUAWEI-ENTITY-EXTENT-MIB', [
# [$ding, $ding, 'Monitoring::GLPlugin::SNMP::TableItem'],
]);
}

View file

@ -0,0 +1,37 @@
package Monitoring::GLPlugin::SNMP::MibsAndOids::INETADDRESSMIB;
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'INET-ADDRESS-MIB'} = {
url => '',
name => 'INET-ADDRESS-MIB',
};
#$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'INET-ADDRESS-MIB'} =
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'INET-ADDRESS-MIB'} = {
inetAddressMIB => '1.3.6.1.2.1.76',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'INET-ADDRESS-MIB'} = {
InetAddressType => {
0 => 'unknown',
1 => 'ipv4',
2 => 'ipv6',
3 => 'ipv4z',
4 => 'ipv6z',
16 => 'dns',
},
InetAddress => sub {
my ($addr, $addrtype) = @_;
if ($addrtype && $addrtype eq "ipv6") {
return Monitoring::GLPlugin::SNMP::TableItem->new()->unhex_ipv6($addr);
} elsif ($addrtype && $addrtype eq "ipv4") {
return Monitoring::GLPlugin::SNMP::TableItem->new()->unhex_ip($addr);
} else {
#use Data::Dumper;
#printf STDERR "------------------------------------------------\n";
#printf STDERR "%s\n", Data::Dumper::Dumper([$addr, $addrtype]);
#printf STDERR "..------------------------------------------------\n";
return "xxx";
}
}
};

View file

@ -0,0 +1,136 @@
package Monitoring::GLPlugin::SNMP::MibsAndOids::IPFORWARDMIB;
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'IP-FORWARD-MIB'} = {
url => '',
name => 'IP-FORWARD-MIB',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'IP-FORWARD-MIB'} =
'1.3.6.1.2.1.4.24';
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'IP-FORWARD-MIB'} = {
ipForward => '1.3.6.1.2.1.4.24',
ipForwardNumber => '1.3.6.1.2.1.4.24.1',
ipForwardTable => '1.3.6.1.2.1.4.24.2',
ipForwardEntry => '1.3.6.1.2.1.4.24.2.1',
ipForwardDest => '1.3.6.1.2.1.4.24.2.1.1',
ipForwardMask => '1.3.6.1.2.1.4.24.2.1.2',
ipForwardPolicy => '1.3.6.1.2.1.4.24.2.1.3',
ipForwardNextHop => '1.3.6.1.2.1.4.24.2.1.4',
ipForwardIfIndex => '1.3.6.1.2.1.4.24.2.1.5',
ipForwardType => '1.3.6.1.2.1.4.24.2.1.6',
ipForwardTypeDefinition => 'IP-FORWARD-MIB::ipForwardType',
ipForwardProto => '1.3.6.1.2.1.4.24.2.1.7',
ipForwardProtoDefinition => 'IP-FORWARD-MIB::ipForwardProto',
ipForwardAge => '1.3.6.1.2.1.4.24.2.1.8',
ipForwardInfo => '1.3.6.1.2.1.4.24.2.1.9',
ipForwardNextHopAS => '1.3.6.1.2.1.4.24.2.1.10',
ipForwardMetric1 => '1.3.6.1.2.1.4.24.2.1.11',
ipForwardMetric2 => '1.3.6.1.2.1.4.24.2.1.12',
ipForwardMetric3 => '1.3.6.1.2.1.4.24.2.1.13',
ipForwardMetric4 => '1.3.6.1.2.1.4.24.2.1.14',
ipForwardMetric5 => '1.3.6.1.2.1.4.24.2.1.15',
ipCidrRouteNumber => '1.3.6.1.2.1.4.24.3',
ipCidrRouteTable => '1.3.6.1.2.1.4.24.4',
ipCidrRouteEntry => '1.3.6.1.2.1.4.24.4.1',
ipCidrRouteDest => '1.3.6.1.2.1.4.24.4.1.1',
ipCidrRouteMask => '1.3.6.1.2.1.4.24.4.1.2',
ipCidrRouteTos => '1.3.6.1.2.1.4.24.4.1.3',
ipCidrRouteNextHop => '1.3.6.1.2.1.4.24.4.1.4',
ipCidrRouteIfIndex => '1.3.6.1.2.1.4.24.4.1.5',
ipCidrRouteType => '1.3.6.1.2.1.4.24.4.1.6',
ipCidrRouteTypeDefinition => 'IP-FORWARD-MIB::ipCidrRouteType',
ipCidrRouteProto => '1.3.6.1.2.1.4.24.4.1.7',
ipCidrRouteProtoDefinition => 'IP-FORWARD-MIB::ipCidrRouteProto',
ipCidrRouteAge => '1.3.6.1.2.1.4.24.4.1.8',
ipCidrRouteInfo => '1.3.6.1.2.1.4.24.4.1.9',
ipCidrRouteNextHopAS => '1.3.6.1.2.1.4.24.4.1.10',
ipCidrRouteMetric1 => '1.3.6.1.2.1.4.24.4.1.11',
ipCidrRouteMetric2 => '1.3.6.1.2.1.4.24.4.1.12',
ipCidrRouteMetric3 => '1.3.6.1.2.1.4.24.4.1.13',
ipCidrRouteMetric4 => '1.3.6.1.2.1.4.24.4.1.14',
ipCidrRouteMetric5 => '1.3.6.1.2.1.4.24.4.1.15',
ipCidrRouteStatus => '1.3.6.1.2.1.4.24.4.1.16',
ipForwardConformance => '1.3.6.1.2.1.4.24.5',
ipForwardGroups => '1.3.6.1.2.1.4.24.5.1',
ipForwardCompliances => '1.3.6.1.2.1.4.24.5.2',
inetCidrRouteNumber => '1.3.6.1.2.1.4.24.6',
inetCidrRouteTable => '1.3.6.1.2.1.4.24.7',
inetCidrRouteEntry => '1.3.6.1.2.1.4.24.7.1',
inetCidrRouteDestType => '1.3.6.1.2.1.4.24.7.1.1',
inetCidrRouteDest => '1.3.6.1.2.1.4.24.7.1.2',
inetCidrRoutePfxLen => '1.3.6.1.2.1.4.24.7.1.3',
inetCidrRoutePolicy => '1.3.6.1.2.1.4.24.7.1.4',
inetCidrRouteNextHopType => '1.3.6.1.2.1.4.24.7.1.5',
inetCidrRouteNextHop => '1.3.6.1.2.1.4.24.7.1.6',
inetCidrRouteIfIndex => '1.3.6.1.2.1.4.24.7.1.7',
inetCidrRouteType => '1.3.6.1.2.1.4.24.7.1.8',
inetCidrRouteTypeDefinition => 'IP-FORWARD-MIB::inetCidrRouteType',
inetCidrRouteProto => '1.3.6.1.2.1.4.24.7.1.9',
inetCidrRouteAge => '1.3.6.1.2.1.4.24.7.1.10',
inetCidrRouteNextHopAS => '1.3.6.1.2.1.4.24.7.1.11',
inetCidrRouteMetric1 => '1.3.6.1.2.1.4.24.7.1.12',
inetCidrRouteMetric2 => '1.3.6.1.2.1.4.24.7.1.13',
inetCidrRouteMetric3 => '1.3.6.1.2.1.4.24.7.1.14',
inetCidrRouteMetric4 => '1.3.6.1.2.1.4.24.7.1.15',
inetCidrRouteMetric5 => '1.3.6.1.2.1.4.24.7.1.16',
inetCidrRouteStatus => '1.3.6.1.2.1.4.24.7.1.17',
inetCidrRouteDiscards => '1.3.6.1.2.1.4.24.8',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'IP-FORWARD-MIB'} = {
inetCidrRouteType => {
'1' => 'other',
'2' => 'reject',
'3' => 'local',
'4' => 'remote',
'5' => 'blackhole',
},
ipForwardProto => {
'1' => 'other',
'2' => 'local',
'3' => 'netmgmt',
'4' => 'icmp',
'5' => 'egp',
'6' => 'ggp',
'7' => 'hello',
'8' => 'rip',
'9' => 'is-is',
'10' => 'es-is',
'11' => 'ciscoIgrp',
'12' => 'bbnSpfIgp',
'13' => 'ospf',
'14' => 'bgp',
'15' => 'idpr',
},
ipCidrRouteProto => {
'1' => 'other',
'2' => 'local',
'3' => 'netmgmt',
'4' => 'icmp',
'5' => 'egp',
'6' => 'ggp',
'7' => 'hello',
'8' => 'rip',
'9' => 'isIs',
'10' => 'esIs',
'11' => 'ciscoIgrp',
'12' => 'bbnSpfIgp',
'13' => 'ospf',
'14' => 'bgp',
'15' => 'idpr',
'16' => 'ciscoEigrp',
},
ipCidrRouteType => {
'1' => 'other',
'2' => 'reject',
'3' => 'local',
'4' => 'remote',
},
ipForwardType => {
'1' => 'other',
'2' => 'invalid',
'3' => 'local',
'4' => 'remote',
},
};

View file

@ -0,0 +1,390 @@
package Monitoring::GLPlugin::SNMP::MibsAndOids::IPMIB;
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'IP-MIB'} = {
url => '',
name => 'IP-MIB',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'IP-MIB'} =
'1.3.6.1.2.1.4';
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'IP-MIB'} = {
'ip' => '1.3.6.1.2.1.4',
'ipForwarding' => '1.3.6.1.2.1.4.1',
'ipForwardingDefinition' => 'IP-MIB::ipForwarding',
'ipDefaultTTL' => '1.3.6.1.2.1.4.2',
'ipInReceives' => '1.3.6.1.2.1.4.3',
'ipInHdrErrors' => '1.3.6.1.2.1.4.4',
'ipInAddrErrors' => '1.3.6.1.2.1.4.5',
'ipForwDatagrams' => '1.3.6.1.2.1.4.6',
'ipInUnknownProtos' => '1.3.6.1.2.1.4.7',
'ipInDiscards' => '1.3.6.1.2.1.4.8',
'ipInDelivers' => '1.3.6.1.2.1.4.9',
'ipOutRequests' => '1.3.6.1.2.1.4.10',
'ipOutDiscards' => '1.3.6.1.2.1.4.11',
'ipOutNoRoutes' => '1.3.6.1.2.1.4.12',
'ipReasmTimeout' => '1.3.6.1.2.1.4.13',
'ipReasmReqds' => '1.3.6.1.2.1.4.14',
'ipReasmOKs' => '1.3.6.1.2.1.4.15',
'ipReasmFails' => '1.3.6.1.2.1.4.16',
'ipFragOKs' => '1.3.6.1.2.1.4.17',
'ipFragFails' => '1.3.6.1.2.1.4.18',
'ipFragCreates' => '1.3.6.1.2.1.4.19',
'ipAddrTable' => '1.3.6.1.2.1.4.20',
'ipAddrEntry' => '1.3.6.1.2.1.4.20.1',
'ipAdEntAddr' => '1.3.6.1.2.1.4.20.1.1',
'ipAdEntIfIndex' => '1.3.6.1.2.1.4.20.1.2',
'ipAdEntNetMask' => '1.3.6.1.2.1.4.20.1.3',
'ipAdEntBcastAddr' => '1.3.6.1.2.1.4.20.1.4',
'ipAdEntReasmMaxSize' => '1.3.6.1.2.1.4.20.1.5',
############################################################
# die ist eigentlich aus dieser MIB rausgeflogen. weil aber
# im hintersten winkel von check_nwc_health ein fallback
# auf diese tabelle zugreift, will ich nicht so sein.
'ipRouteTable' => '1.3.6.1.2.1.4.21',
'ipRouteEntry' => '1.3.6.1.2.1.4.21.1',
'ipRouteDest' => '1.3.6.1.2.1.4.21.1.1',
'ipRouteIfIndex' => '1.3.6.1.2.1.4.21.1.2',
'ipRouteMetric1' => '1.3.6.1.2.1.4.21.1.3',
'ipRouteMetric2' => '1.3.6.1.2.1.4.21.1.4',
'ipRouteMetric3' => '1.3.6.1.2.1.4.21.1.5',
'ipRouteMetric4' => '1.3.6.1.2.1.4.21.1.6',
'ipRouteNextHop' => '1.3.6.1.2.1.4.21.1.7',
'ipRouteType' => '1.3.6.1.2.1.4.21.1.8',
'ipRouteProto' => '1.3.6.1.2.1.4.21.1.9',
'ipRouteAge' => '1.3.6.1.2.1.4.21.1.10',
'ipRouteMask' => '1.3.6.1.2.1.4.21.1.11',
'ipRouteMetric5' => '1.3.6.1.2.1.4.21.1.12',
'ipRouteInfo' => '1.3.6.1.2.1.4.21.1.13',
############################################################
'ipNetToMediaTable' => '1.3.6.1.2.1.4.22',
'ipNetToMediaEntry' => '1.3.6.1.2.1.4.22.1',
'ipNetToMediaIfIndex' => '1.3.6.1.2.1.4.22.1.1',
'ipNetToMediaPhysAddress' => '1.3.6.1.2.1.4.22.1.2',
'ipNetToMediaNetAddress' => '1.3.6.1.2.1.4.22.1.3',
'ipNetToMediaType' => '1.3.6.1.2.1.4.22.1.4',
'ipNetToMediaTypeDefinition' => 'IP-MIB::ipNetToMediaType',
'ipRoutingDiscards' => '1.3.6.1.2.1.4.23',
'ipv6IpForwarding' => '1.3.6.1.2.1.4.25',
'ipv6IpForwardingDefinition' => 'IP-MIB::ipv6IpForwarding',
'ipv6IpDefaultHopLimit' => '1.3.6.1.2.1.4.26',
'ipv4InterfaceTableLastChange' => '1.3.6.1.2.1.4.27',
'ipv4InterfaceTable' => '1.3.6.1.2.1.4.28',
'ipv4InterfaceEntry' => '1.3.6.1.2.1.4.28.1',
'ipv4InterfaceIfIndex' => '1.3.6.1.2.1.4.28.1.1',
'ipv4InterfaceReasmMaxSize' => '1.3.6.1.2.1.4.28.1.2',
'ipv4InterfaceEnableStatus' => '1.3.6.1.2.1.4.28.1.3',
'ipv4InterfaceEnableStatusDefinition' => 'IP-MIB::ipv4InterfaceEnableStatus',
'ipv4InterfaceRetransmitTime' => '1.3.6.1.2.1.4.28.1.4',
'ipv6InterfaceTableLastChange' => '1.3.6.1.2.1.4.29',
'ipv6InterfaceTable' => '1.3.6.1.2.1.4.30',
'ipv6InterfaceEntry' => '1.3.6.1.2.1.4.30.1',
'ipv6InterfaceIfIndex' => '1.3.6.1.2.1.4.30.1.1',
'ipv6InterfaceReasmMaxSize' => '1.3.6.1.2.1.4.30.1.2',
'ipv6InterfaceIdentifier' => '1.3.6.1.2.1.4.30.1.3',
'ipv6InterfaceEnableStatus' => '1.3.6.1.2.1.4.30.1.5',
'ipv6InterfaceEnableStatusDefinition' => 'IP-MIB::ipv6InterfaceEnableStatus',
'ipv6InterfaceReachableTime' => '1.3.6.1.2.1.4.30.1.6',
'ipv6InterfaceRetransmitTime' => '1.3.6.1.2.1.4.30.1.7',
'ipv6InterfaceForwarding' => '1.3.6.1.2.1.4.30.1.8',
'ipv6InterfaceForwardingDefinition' => 'IP-MIB::ipv6InterfaceForwarding',
'ipTrafficStats' => '1.3.6.1.2.1.4.31',
'ipSystemStatsTable' => '1.3.6.1.2.1.4.31.1',
'ipSystemStatsEntry' => '1.3.6.1.2.1.4.31.1.1',
'ipSystemStatsIPVersion' => '1.3.6.1.2.1.4.31.1.1.1',
'ipSystemStatsInReceives' => '1.3.6.1.2.1.4.31.1.1.3',
'ipSystemStatsHCInReceives' => '1.3.6.1.2.1.4.31.1.1.4',
'ipSystemStatsInOctets' => '1.3.6.1.2.1.4.31.1.1.5',
'ipSystemStatsHCInOctets' => '1.3.6.1.2.1.4.31.1.1.6',
'ipSystemStatsInHdrErrors' => '1.3.6.1.2.1.4.31.1.1.7',
'ipSystemStatsInNoRoutes' => '1.3.6.1.2.1.4.31.1.1.8',
'ipSystemStatsInAddrErrors' => '1.3.6.1.2.1.4.31.1.1.9',
'ipSystemStatsInUnknownProtos' => '1.3.6.1.2.1.4.31.1.1.10',
'ipSystemStatsInTruncatedPkts' => '1.3.6.1.2.1.4.31.1.1.11',
'ipSystemStatsInForwDatagrams' => '1.3.6.1.2.1.4.31.1.1.12',
'ipSystemStatsHCInForwDatagrams' => '1.3.6.1.2.1.4.31.1.1.13',
'ipSystemStatsReasmReqds' => '1.3.6.1.2.1.4.31.1.1.14',
'ipSystemStatsReasmOKs' => '1.3.6.1.2.1.4.31.1.1.15',
'ipSystemStatsReasmFails' => '1.3.6.1.2.1.4.31.1.1.16',
'ipSystemStatsInDiscards' => '1.3.6.1.2.1.4.31.1.1.17',
'ipSystemStatsInDelivers' => '1.3.6.1.2.1.4.31.1.1.18',
'ipSystemStatsHCInDelivers' => '1.3.6.1.2.1.4.31.1.1.19',
'ipSystemStatsOutRequests' => '1.3.6.1.2.1.4.31.1.1.20',
'ipSystemStatsHCOutRequests' => '1.3.6.1.2.1.4.31.1.1.21',
'ipSystemStatsOutNoRoutes' => '1.3.6.1.2.1.4.31.1.1.22',
'ipSystemStatsOutForwDatagrams' => '1.3.6.1.2.1.4.31.1.1.23',
'ipSystemStatsHCOutForwDatagrams' => '1.3.6.1.2.1.4.31.1.1.24',
'ipSystemStatsOutDiscards' => '1.3.6.1.2.1.4.31.1.1.25',
'ipSystemStatsOutFragReqds' => '1.3.6.1.2.1.4.31.1.1.26',
'ipSystemStatsOutFragOKs' => '1.3.6.1.2.1.4.31.1.1.27',
'ipSystemStatsOutFragFails' => '1.3.6.1.2.1.4.31.1.1.28',
'ipSystemStatsOutFragCreates' => '1.3.6.1.2.1.4.31.1.1.29',
'ipSystemStatsOutTransmits' => '1.3.6.1.2.1.4.31.1.1.30',
'ipSystemStatsHCOutTransmits' => '1.3.6.1.2.1.4.31.1.1.31',
'ipSystemStatsOutOctets' => '1.3.6.1.2.1.4.31.1.1.32',
'ipSystemStatsHCOutOctets' => '1.3.6.1.2.1.4.31.1.1.33',
'ipSystemStatsInMcastPkts' => '1.3.6.1.2.1.4.31.1.1.34',
'ipSystemStatsHCInMcastPkts' => '1.3.6.1.2.1.4.31.1.1.35',
'ipSystemStatsInMcastOctets' => '1.3.6.1.2.1.4.31.1.1.36',
'ipSystemStatsHCInMcastOctets' => '1.3.6.1.2.1.4.31.1.1.37',
'ipSystemStatsOutMcastPkts' => '1.3.6.1.2.1.4.31.1.1.38',
'ipSystemStatsHCOutMcastPkts' => '1.3.6.1.2.1.4.31.1.1.39',
'ipSystemStatsOutMcastOctets' => '1.3.6.1.2.1.4.31.1.1.40',
'ipSystemStatsHCOutMcastOctets' => '1.3.6.1.2.1.4.31.1.1.41',
'ipSystemStatsInBcastPkts' => '1.3.6.1.2.1.4.31.1.1.42',
'ipSystemStatsHCInBcastPkts' => '1.3.6.1.2.1.4.31.1.1.43',
'ipSystemStatsOutBcastPkts' => '1.3.6.1.2.1.4.31.1.1.44',
'ipSystemStatsHCOutBcastPkts' => '1.3.6.1.2.1.4.31.1.1.45',
'ipSystemStatsDiscontinuityTime' => '1.3.6.1.2.1.4.31.1.1.46',
'ipSystemStatsRefreshRate' => '1.3.6.1.2.1.4.31.1.1.47',
'ipIfStatsTableLastChange' => '1.3.6.1.2.1.4.31.2',
'ipIfStatsTable' => '1.3.6.1.2.1.4.31.3',
'ipIfStatsEntry' => '1.3.6.1.2.1.4.31.3.1',
'ipIfStatsIPVersion' => '1.3.6.1.2.1.4.31.3.1.1',
'ipIfStatsIfIndex' => '1.3.6.1.2.1.4.31.3.1.2',
'ipIfStatsInReceives' => '1.3.6.1.2.1.4.31.3.1.3',
'ipIfStatsHCInReceives' => '1.3.6.1.2.1.4.31.3.1.4',
'ipIfStatsInOctets' => '1.3.6.1.2.1.4.31.3.1.5',
'ipIfStatsHCInOctets' => '1.3.6.1.2.1.4.31.3.1.6',
'ipIfStatsInHdrErrors' => '1.3.6.1.2.1.4.31.3.1.7',
'ipIfStatsInNoRoutes' => '1.3.6.1.2.1.4.31.3.1.8',
'ipIfStatsInAddrErrors' => '1.3.6.1.2.1.4.31.3.1.9',
'ipIfStatsInUnknownProtos' => '1.3.6.1.2.1.4.31.3.1.10',
'ipIfStatsInTruncatedPkts' => '1.3.6.1.2.1.4.31.3.1.11',
'ipIfStatsInForwDatagrams' => '1.3.6.1.2.1.4.31.3.1.12',
'ipIfStatsHCInForwDatagrams' => '1.3.6.1.2.1.4.31.3.1.13',
'ipIfStatsReasmReqds' => '1.3.6.1.2.1.4.31.3.1.14',
'ipIfStatsReasmOKs' => '1.3.6.1.2.1.4.31.3.1.15',
'ipIfStatsReasmFails' => '1.3.6.1.2.1.4.31.3.1.16',
'ipIfStatsInDiscards' => '1.3.6.1.2.1.4.31.3.1.17',
'ipIfStatsInDelivers' => '1.3.6.1.2.1.4.31.3.1.18',
'ipIfStatsHCInDelivers' => '1.3.6.1.2.1.4.31.3.1.19',
'ipIfStatsOutRequests' => '1.3.6.1.2.1.4.31.3.1.20',
'ipIfStatsHCOutRequests' => '1.3.6.1.2.1.4.31.3.1.21',
'ipIfStatsOutForwDatagrams' => '1.3.6.1.2.1.4.31.3.1.23',
'ipIfStatsHCOutForwDatagrams' => '1.3.6.1.2.1.4.31.3.1.24',
'ipIfStatsOutDiscards' => '1.3.6.1.2.1.4.31.3.1.25',
'ipIfStatsOutFragReqds' => '1.3.6.1.2.1.4.31.3.1.26',
'ipIfStatsOutFragOKs' => '1.3.6.1.2.1.4.31.3.1.27',
'ipIfStatsOutFragFails' => '1.3.6.1.2.1.4.31.3.1.28',
'ipIfStatsOutFragCreates' => '1.3.6.1.2.1.4.31.3.1.29',
'ipIfStatsOutTransmits' => '1.3.6.1.2.1.4.31.3.1.30',
'ipIfStatsHCOutTransmits' => '1.3.6.1.2.1.4.31.3.1.31',
'ipIfStatsOutOctets' => '1.3.6.1.2.1.4.31.3.1.32',
'ipIfStatsHCOutOctets' => '1.3.6.1.2.1.4.31.3.1.33',
'ipIfStatsInMcastPkts' => '1.3.6.1.2.1.4.31.3.1.34',
'ipIfStatsHCInMcastPkts' => '1.3.6.1.2.1.4.31.3.1.35',
'ipIfStatsInMcastOctets' => '1.3.6.1.2.1.4.31.3.1.36',
'ipIfStatsHCInMcastOctets' => '1.3.6.1.2.1.4.31.3.1.37',
'ipIfStatsOutMcastPkts' => '1.3.6.1.2.1.4.31.3.1.38',
'ipIfStatsHCOutMcastPkts' => '1.3.6.1.2.1.4.31.3.1.39',
'ipIfStatsOutMcastOctets' => '1.3.6.1.2.1.4.31.3.1.40',
'ipIfStatsHCOutMcastOctets' => '1.3.6.1.2.1.4.31.3.1.41',
'ipIfStatsInBcastPkts' => '1.3.6.1.2.1.4.31.3.1.42',
'ipIfStatsHCInBcastPkts' => '1.3.6.1.2.1.4.31.3.1.43',
'ipIfStatsOutBcastPkts' => '1.3.6.1.2.1.4.31.3.1.44',
'ipIfStatsHCOutBcastPkts' => '1.3.6.1.2.1.4.31.3.1.45',
'ipIfStatsDiscontinuityTime' => '1.3.6.1.2.1.4.31.3.1.46',
'ipIfStatsRefreshRate' => '1.3.6.1.2.1.4.31.3.1.47',
'ipAddressPrefixTable' => '1.3.6.1.2.1.4.32',
'ipAddressPrefixEntry' => '1.3.6.1.2.1.4.32.1',
'ipAddressPrefixIfIndex' => '1.3.6.1.2.1.4.32.1.1',
'ipAddressPrefixType' => '1.3.6.1.2.1.4.32.1.2',
'ipAddressPrefixPrefix' => '1.3.6.1.2.1.4.32.1.3',
'ipAddressPrefixLength' => '1.3.6.1.2.1.4.32.1.4',
'ipAddressPrefixOrigin' => '1.3.6.1.2.1.4.32.1.5',
'ipAddressPrefixOriginDefinition' => 'IP-MIB::IpAddressPrefixOriginTC',
'ipAddressPrefixOnLinkFlag' => '1.3.6.1.2.1.4.32.1.6',
'ipAddressPrefixAutonomousFlag' => '1.3.6.1.2.1.4.32.1.7',
'ipAddressPrefixAdvPreferredLifetime' => '1.3.6.1.2.1.4.32.1.8',
'ipAddressPrefixAdvValidLifetime' => '1.3.6.1.2.1.4.32.1.9',
'ipAddressSpinLock' => '1.3.6.1.2.1.4.33',
'ipAddressTable' => '1.3.6.1.2.1.4.34',
'ipAddressEntry' => '1.3.6.1.2.1.4.34.1',
'ipAddressAddrType' => '1.3.6.1.2.1.4.34.1.1',
'ipAddressAddr' => '1.3.6.1.2.1.4.34.1.2',
'ipAddressIfIndex' => '1.3.6.1.2.1.4.34.1.3',
'ipAddressType' => '1.3.6.1.2.1.4.34.1.4',
'ipAddressTypeDefinition' => 'IP-MIB::ipAddressType',
'ipAddressPrefix' => '1.3.6.1.2.1.4.34.1.5',
'ipAddressOrigin' => '1.3.6.1.2.1.4.34.1.6',
'ipAddressOriginDefinition' => 'IP-MIB::IpAddressOriginTC',
'ipAddressStatus' => '1.3.6.1.2.1.4.34.1.7',
'ipAddressStatusDefinition' => 'IP-MIB::IpAddressStatusTC',
'ipAddressCreated' => '1.3.6.1.2.1.4.34.1.8',
'ipAddressLastChanged' => '1.3.6.1.2.1.4.34.1.9',
'ipAddressRowStatus' => '1.3.6.1.2.1.4.34.1.10',
'ipAddressStorageType' => '1.3.6.1.2.1.4.34.1.11',
'ipNetToPhysicalTable' => '1.3.6.1.2.1.4.35',
'ipNetToPhysicalEntry' => '1.3.6.1.2.1.4.35.1',
'ipNetToPhysicalIfIndex' => '1.3.6.1.2.1.4.35.1.1',
'ipNetToPhysicalNetAddressType' => '1.3.6.1.2.1.4.35.1.2',
'ipNetToPhysicalNetAddress' => '1.3.6.1.2.1.4.35.1.3',
'ipNetToPhysicalPhysAddress' => '1.3.6.1.2.1.4.35.1.4',
'ipNetToPhysicalLastUpdated' => '1.3.6.1.2.1.4.35.1.5',
'ipNetToPhysicalType' => '1.3.6.1.2.1.4.35.1.6',
'ipNetToPhysicalTypeDefinition' => 'IP-MIB::ipNetToPhysicalType',
'ipNetToPhysicalState' => '1.3.6.1.2.1.4.35.1.7',
'ipNetToPhysicalStateDefinition' => 'IP-MIB::ipNetToPhysicalState',
'ipNetToPhysicalRowStatus' => '1.3.6.1.2.1.4.35.1.8',
'ipv6ScopeZoneIndexTable' => '1.3.6.1.2.1.4.36',
'ipv6ScopeZoneIndexEntry' => '1.3.6.1.2.1.4.36.1',
'ipv6ScopeZoneIndexIfIndex' => '1.3.6.1.2.1.4.36.1.1',
'ipv6ScopeZoneIndexLinkLocal' => '1.3.6.1.2.1.4.36.1.2',
'ipv6ScopeZoneIndex3' => '1.3.6.1.2.1.4.36.1.3',
'ipv6ScopeZoneIndexAdminLocal' => '1.3.6.1.2.1.4.36.1.4',
'ipv6ScopeZoneIndexSiteLocal' => '1.3.6.1.2.1.4.36.1.5',
'ipv6ScopeZoneIndex6' => '1.3.6.1.2.1.4.36.1.6',
'ipv6ScopeZoneIndex7' => '1.3.6.1.2.1.4.36.1.7',
'ipv6ScopeZoneIndexOrganizationLocal' => '1.3.6.1.2.1.4.36.1.8',
'ipv6ScopeZoneIndex9' => '1.3.6.1.2.1.4.36.1.9',
'ipv6ScopeZoneIndexA' => '1.3.6.1.2.1.4.36.1.10',
'ipv6ScopeZoneIndexB' => '1.3.6.1.2.1.4.36.1.11',
'ipv6ScopeZoneIndexC' => '1.3.6.1.2.1.4.36.1.12',
'ipv6ScopeZoneIndexD' => '1.3.6.1.2.1.4.36.1.13',
'ipDefaultRouterTable' => '1.3.6.1.2.1.4.37',
'ipDefaultRouterEntry' => '1.3.6.1.2.1.4.37.1',
'ipDefaultRouterAddressType' => '1.3.6.1.2.1.4.37.1.1',
'ipDefaultRouterAddress' => '1.3.6.1.2.1.4.37.1.2',
'ipDefaultRouterIfIndex' => '1.3.6.1.2.1.4.37.1.3',
'ipDefaultRouterLifetime' => '1.3.6.1.2.1.4.37.1.4',
'ipDefaultRouterPreference' => '1.3.6.1.2.1.4.37.1.5',
'ipDefaultRouterPreferenceDefinition' => 'IP-MIB::ipDefaultRouterPreference',
'ipv6RouterAdvertSpinLock' => '1.3.6.1.2.1.4.38',
'ipv6RouterAdvertTable' => '1.3.6.1.2.1.4.39',
'ipv6RouterAdvertEntry' => '1.3.6.1.2.1.4.39.1',
'ipv6RouterAdvertIfIndex' => '1.3.6.1.2.1.4.39.1.1',
'ipv6RouterAdvertSendAdverts' => '1.3.6.1.2.1.4.39.1.2',
'ipv6RouterAdvertMaxInterval' => '1.3.6.1.2.1.4.39.1.3',
'ipv6RouterAdvertMinInterval' => '1.3.6.1.2.1.4.39.1.4',
'ipv6RouterAdvertManagedFlag' => '1.3.6.1.2.1.4.39.1.5',
'ipv6RouterAdvertOtherConfigFlag' => '1.3.6.1.2.1.4.39.1.6',
'ipv6RouterAdvertLinkMTU' => '1.3.6.1.2.1.4.39.1.7',
'ipv6RouterAdvertReachableTime' => '1.3.6.1.2.1.4.39.1.8',
'ipv6RouterAdvertRetransmitTime' => '1.3.6.1.2.1.4.39.1.9',
'ipv6RouterAdvertCurHopLimit' => '1.3.6.1.2.1.4.39.1.10',
'ipv6RouterAdvertDefaultLifetime' => '1.3.6.1.2.1.4.39.1.11',
'ipv6RouterAdvertRowStatus' => '1.3.6.1.2.1.4.39.1.12',
'icmp' => '1.3.6.1.2.1.5',
'icmpInMsgs' => '1.3.6.1.2.1.5.1',
'icmpInErrors' => '1.3.6.1.2.1.5.2',
'icmpInDestUnreachs' => '1.3.6.1.2.1.5.3',
'icmpInTimeExcds' => '1.3.6.1.2.1.5.4',
'icmpInParmProbs' => '1.3.6.1.2.1.5.5',
'icmpInSrcQuenchs' => '1.3.6.1.2.1.5.6',
'icmpInRedirects' => '1.3.6.1.2.1.5.7',
'icmpInEchos' => '1.3.6.1.2.1.5.8',
'icmpInEchoReps' => '1.3.6.1.2.1.5.9',
'icmpInTimestamps' => '1.3.6.1.2.1.5.10',
'icmpInTimestampReps' => '1.3.6.1.2.1.5.11',
'icmpInAddrMasks' => '1.3.6.1.2.1.5.12',
'icmpInAddrMaskReps' => '1.3.6.1.2.1.5.13',
'icmpOutMsgs' => '1.3.6.1.2.1.5.14',
'icmpOutErrors' => '1.3.6.1.2.1.5.15',
'icmpOutDestUnreachs' => '1.3.6.1.2.1.5.16',
'icmpOutTimeExcds' => '1.3.6.1.2.1.5.17',
'icmpOutParmProbs' => '1.3.6.1.2.1.5.18',
'icmpOutSrcQuenchs' => '1.3.6.1.2.1.5.19',
'icmpOutRedirects' => '1.3.6.1.2.1.5.20',
'icmpOutEchos' => '1.3.6.1.2.1.5.21',
'icmpOutEchoReps' => '1.3.6.1.2.1.5.22',
'icmpOutTimestamps' => '1.3.6.1.2.1.5.23',
'icmpOutTimestampReps' => '1.3.6.1.2.1.5.24',
'icmpOutAddrMasks' => '1.3.6.1.2.1.5.25',
'icmpOutAddrMaskReps' => '1.3.6.1.2.1.5.26',
'icmpStatsTable' => '1.3.6.1.2.1.5.29',
'icmpStatsEntry' => '1.3.6.1.2.1.5.29.1',
'icmpStatsIPVersion' => '1.3.6.1.2.1.5.29.1.1',
'icmpStatsInMsgs' => '1.3.6.1.2.1.5.29.1.2',
'icmpStatsInErrors' => '1.3.6.1.2.1.5.29.1.3',
'icmpStatsOutMsgs' => '1.3.6.1.2.1.5.29.1.4',
'icmpStatsOutErrors' => '1.3.6.1.2.1.5.29.1.5',
'icmpMsgStatsTable' => '1.3.6.1.2.1.5.30',
'icmpMsgStatsEntry' => '1.3.6.1.2.1.5.30.1',
'icmpMsgStatsIPVersion' => '1.3.6.1.2.1.5.30.1.1',
'icmpMsgStatsType' => '1.3.6.1.2.1.5.30.1.2',
'icmpMsgStatsInPkts' => '1.3.6.1.2.1.5.30.1.3',
'icmpMsgStatsOutPkts' => '1.3.6.1.2.1.5.30.1.4',
'ipMIB' => '1.3.6.1.2.1.48',
'ipMIBConformance' => '1.3.6.1.2.1.48.2',
'ipMIBCompliances' => '1.3.6.1.2.1.48.2.1',
'ipMIBGroups' => '1.3.6.1.2.1.48.2.2',
};
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'IP-MIB'} = {
'IpAddressStatusTC' => {
'1' => 'preferred',
'2' => 'deprecated',
'3' => 'invalid',
'4' => 'inaccessible',
'5' => 'unknown',
'6' => 'tentative',
'7' => 'duplicate',
'8' => 'optimistic',
},
'ipv6InterfaceForwarding' => {
'1' => 'forwarding',
'2' => 'notForwarding',
},
'ipNetToPhysicalType' => {
'1' => 'other',
'2' => 'invalid',
'3' => 'dynamic',
'4' => 'static',
'5' => 'local',
},
'ipv6IpForwarding' => {
'1' => 'forwarding',
'2' => 'notForwarding',
},
'ipForwarding' => {
'1' => 'forwarding',
'2' => 'notForwarding',
},
'ipNetToMediaType' => {
'1' => 'other',
'2' => 'invalid',
'3' => 'dynamic',
'4' => 'static',
},
'ipDefaultRouterPreference' => {
'0' => 'medium',
'1' => 'high',
},
'ipv4InterfaceEnableStatus' => {
'1' => 'up',
'2' => 'down',
},
'IpAddressOriginTC' => {
'1' => 'other',
'2' => 'manual',
'4' => 'dhcp',
'5' => 'linklayer',
'6' => 'random',
},
'ipAddressType' => {
'1' => 'unicast',
'2' => 'anycast',
'3' => 'broadcast',
},
'ipNetToPhysicalState' => {
'1' => 'reachable',
'2' => 'stale',
'3' => 'delay',
'4' => 'probe',
'5' => 'invalid',
'6' => 'unknown',
'7' => 'incomplete',
},
'ipv6InterfaceEnableStatus' => {
'1' => 'up',
'2' => 'down',
},
'IpAddressPrefixOriginTC' => {
'1' => 'other',
'2' => 'manual',
'3' => 'wellknown',
'4' => 'dhcp',
'5' => 'routeradv',
},
};

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