check_nwc_health: Update to 7.0.1.1
This commit is contained in:
parent
e5a659f339
commit
0fce1f7ed0
|
@ -1,225 +0,0 @@
|
|||
package Monitoring::GLPlugin::SNMP::MibsAndOids::F5BIGIPLOCALMIB;
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'F5-BIGIP-LOCAL-MIB'} = {
|
||||
url => '',
|
||||
name => 'F5-BIGIP-LOCAL-MIB',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'F5-BIGIP-LOCAL-MIB'} = {
|
||||
'ltmNodeAddrStatusTable' => '1.3.6.1.4.1.3375.2.2.4.3.2',
|
||||
'ltmNodeAddrStatusEntry' => '1.3.6.1.4.1.3375.2.2.4.3.2.1',
|
||||
'ltmNodeAddrStatusAddrType' => '1.3.6.1.4.1.3375.2.2.4.3.2.1.1',
|
||||
'ltmNodeAddrStatusAddr' => '1.3.6.1.4.1.3375.2.2.4.3.2.1.2',
|
||||
'ltmNodeAddrStatusAvailState' => '1.3.6.1.4.1.3375.2.2.4.3.2.1.3',
|
||||
'ltmNodeAddrStatusEnabledState' => '1.3.6.1.4.1.3375.2.2.4.3.2.1.4',
|
||||
'ltmNodeAddrStatusParentType' => '1.3.6.1.4.1.3375.2.2.4.3.2.1.5',
|
||||
'ltmNodeAddrStatusDetailReason' => '1.3.6.1.4.1.3375.2.2.4.3.2.1.6',
|
||||
'ltmNodeAddrStatusName' => '1.3.6.1.4.1.3375.2.2.4.3.2.1.7',
|
||||
'ltmPoolNumber' => '1.3.6.1.4.1.3375.2.2.5.1.1.0',
|
||||
'ltmPoolTable' => '1.3.6.1.4.1.3375.2.2.5.1.2',
|
||||
'ltmPoolEntry' => '1.3.6.1.4.1.3375.2.2.5.1.2.1',
|
||||
'ltmPoolName' => '1.3.6.1.4.1.3375.2.2.5.1.2.1.1',
|
||||
'ltmPoolLbMode' => '1.3.6.1.4.1.3375.2.2.5.1.2.1.2',
|
||||
'ltmPoolActionOnServiceDown' => '1.3.6.1.4.1.3375.2.2.5.1.2.1.3',
|
||||
'ltmPoolMinUpMembers' => '1.3.6.1.4.1.3375.2.2.5.1.2.1.4',
|
||||
'ltmPoolMinUpMembersEnable' => '1.3.6.1.4.1.3375.2.2.5.1.2.1.5',
|
||||
'ltmPoolMinUpMemberAction' => '1.3.6.1.4.1.3375.2.2.5.1.2.1.6',
|
||||
'ltmPoolMinActiveMembers' => '1.3.6.1.4.1.3375.2.2.5.1.2.1.7',
|
||||
'ltmPoolActiveMemberCnt' => '1.3.6.1.4.1.3375.2.2.5.1.2.1.8',
|
||||
'ltmPoolDisallowSnat' => '1.3.6.1.4.1.3375.2.2.5.1.2.1.9',
|
||||
'ltmPoolDisallowNat' => '1.3.6.1.4.1.3375.2.2.5.1.2.1.10',
|
||||
'ltmPoolSimpleTimeout' => '1.3.6.1.4.1.3375.2.2.5.1.2.1.11',
|
||||
'ltmPoolIpTosToClient' => '1.3.6.1.4.1.3375.2.2.5.1.2.1.12',
|
||||
'ltmPoolIpTosToServer' => '1.3.6.1.4.1.3375.2.2.5.1.2.1.13',
|
||||
'ltmPoolLinkQosToClient' => '1.3.6.1.4.1.3375.2.2.5.1.2.1.14',
|
||||
'ltmPoolLinkQosToServer' => '1.3.6.1.4.1.3375.2.2.5.1.2.1.15',
|
||||
'ltmPoolDynamicRatioSum' => '1.3.6.1.4.1.3375.2.2.5.1.2.1.16',
|
||||
'ltmPoolMonitorRule' => '1.3.6.1.4.1.3375.2.2.5.1.2.1.17',
|
||||
'ltmPoolAvailabilityState' => '1.3.6.1.4.1.3375.2.2.5.1.2.1.18',
|
||||
'ltmPoolEnabledState' => '1.3.6.1.4.1.3375.2.2.5.1.2.1.19',
|
||||
'ltmPoolDisabledParentType' => '1.3.6.1.4.1.3375.2.2.5.1.2.1.20',
|
||||
'ltmPoolStatusReason' => '1.3.6.1.4.1.3375.2.2.5.1.2.1.21',
|
||||
'ltmPoolSlowRampTime' => '1.3.6.1.4.1.3375.2.2.5.1.2.1.22',
|
||||
'ltmPoolMemberCnt' => '1.3.6.1.4.1.3375.2.2.5.1.2.1.23',
|
||||
'ltmPoolStatTable' => '1.3.6.1.4.1.3375.2.2.5.2.3',
|
||||
'ltmPoolStatEntry' => '1.3.6.1.4.1.3375.2.2.5.2.3.1',
|
||||
'ltmPoolStatName' => '1.3.6.1.4.1.3375.2.2.5.2.3.1.1',
|
||||
'ltmPoolStatServerCurConns' => '1.3.6.1.4.1.3375.2.2.5.2.3.1.8',
|
||||
'ltmPoolStatCurSessions' => '1.3.6.1.4.1.3375.2.2.5.2.3.1.31',
|
||||
'ltmPoolMemberTable' => '1.3.6.1.4.1.3375.2.2.5.3.2',
|
||||
'ltmPoolMemberEntry' => '1.3.6.1.4.1.3375.2.2.5.3.2.1',
|
||||
'ltmPoolMemberPoolName' => '1.3.6.1.4.1.3375.2.2.5.3.2.1.1',
|
||||
'ltmPoolMemberAddrType' => '1.3.6.1.4.1.3375.2.2.5.3.2.1.2',
|
||||
'ltmPoolMemberAddr' => '1.3.6.1.4.1.3375.2.2.5.3.2.1.3',
|
||||
'ltmPoolMemberPort' => '1.3.6.1.4.1.3375.2.2.5.3.2.1.4',
|
||||
'ltmPoolMemberConnLimit' => '1.3.6.1.4.1.3375.2.2.5.3.2.1.5',
|
||||
'ltmPoolMemberRatio' => '1.3.6.1.4.1.3375.2.2.5.3.2.1.6',
|
||||
'ltmPoolMemberWeight' => '1.3.6.1.4.1.3375.2.2.5.3.2.1.7',
|
||||
'ltmPoolMemberPriority' => '1.3.6.1.4.1.3375.2.2.5.3.2.1.8',
|
||||
'ltmPoolMemberDynamicRatio' => '1.3.6.1.4.1.3375.2.2.5.3.2.1.9',
|
||||
'ltmPoolMemberMonitorState' => '1.3.6.1.4.1.3375.2.2.5.3.2.1.10',
|
||||
'ltmPoolMemberMonitorStateDefinition' => 'F5-BIGIP-LOCAL-MIB::ltmPoolMemberMonitorState',
|
||||
'ltmPoolMemberMonitorStatus' => '1.3.6.1.4.1.3375.2.2.5.3.2.1.11',
|
||||
'ltmPoolMemberMonitorStatusDefinition' => 'F5-BIGIP-LOCAL-MIB::ltmPoolMemberMonitorStatus',
|
||||
'ltmPoolMemberNewSessionEnable' => '1.3.6.1.4.1.3375.2.2.5.3.2.1.12',
|
||||
'ltmPoolMemberSessionStatus' => '1.3.6.1.4.1.3375.2.2.5.3.2.1.13',
|
||||
'ltmPoolMemberMonitorRule' => '1.3.6.1.4.1.3375.2.2.5.3.2.1.14',
|
||||
'ltmPoolMemberAvailabilityState' => '1.3.6.1.4.1.3375.2.2.5.3.2.1.15',
|
||||
'ltmPoolMemberEnabledState' => '1.3.6.1.4.1.3375.2.2.5.3.2.1.16',
|
||||
'ltmPoolMemberDisabledParentType' => '1.3.6.1.4.1.3375.2.2.5.3.2.1.17',
|
||||
'ltmPoolMemberStatusReason' => '1.3.6.1.4.1.3375.2.2.5.3.2.1.18',
|
||||
'ltmPoolMemberNodeName' => '1.3.6.1.4.1.3375.2.2.5.3.2.1.19',
|
||||
'ltmPoolMemberStat' => '1.3.6.1.4.1.3375.2.2.5.4',
|
||||
'ltmPoolMemberStatResetStats' => '1.3.6.1.4.1.3375.2.2.5.4.1',
|
||||
'ltmPoolMemberStatNumber' => '1.3.6.1.4.1.3375.2.2.5.4.2',
|
||||
'ltmPoolMemberStatTable' => '1.3.6.1.4.1.3375.2.2.5.4.3',
|
||||
'ltmPoolMemberStatEntry' => '1.3.6.1.4.1.3375.2.2.5.4.3.1',
|
||||
'ltmPoolMemberStatPoolName' => '1.3.6.1.4.1.3375.2.2.5.4.3.1.1',
|
||||
'ltmPoolMemberStatAddrType' => '1.3.6.1.4.1.3375.2.2.5.4.3.1.2',
|
||||
'ltmPoolMemberStatAddr' => '1.3.6.1.4.1.3375.2.2.5.4.3.1.3',
|
||||
'ltmPoolMemberStatPort' => '1.3.6.1.4.1.3375.2.2.5.4.3.1.4',
|
||||
'ltmPoolMemberStatServerPktsIn' => '1.3.6.1.4.1.3375.2.2.5.4.3.1.5',
|
||||
'ltmPoolMemberStatServerBytesIn' => '1.3.6.1.4.1.3375.2.2.5.4.3.1.6',
|
||||
'ltmPoolMemberStatServerPktsOut' => '1.3.6.1.4.1.3375.2.2.5.4.3.1.7',
|
||||
'ltmPoolMemberStatServerBytesOut' => '1.3.6.1.4.1.3375.2.2.5.4.3.1.8',
|
||||
'ltmPoolMemberStatServerMaxConns' => '1.3.6.1.4.1.3375.2.2.5.4.3.1.9',
|
||||
'ltmPoolMemberStatServerTotConns' => '1.3.6.1.4.1.3375.2.2.5.4.3.1.10',
|
||||
'ltmPoolMemberStatServerCurConns' => '1.3.6.1.4.1.3375.2.2.5.4.3.1.11',
|
||||
'ltmPoolMemberStatPvaPktsIn' => '1.3.6.1.4.1.3375.2.2.5.4.3.1.12',
|
||||
'ltmPoolMemberStatPvaBytesIn' => '1.3.6.1.4.1.3375.2.2.5.4.3.1.13',
|
||||
'ltmPoolMemberStatPvaPktsOut' => '1.3.6.1.4.1.3375.2.2.5.4.3.1.14',
|
||||
'ltmPoolMemberStatPvaBytesOut' => '1.3.6.1.4.1.3375.2.2.5.4.3.1.15',
|
||||
'ltmPoolMemberStatPvaMaxConns' => '1.3.6.1.4.1.3375.2.2.5.4.3.1.16',
|
||||
'ltmPoolMemberStatPvaTotConns' => '1.3.6.1.4.1.3375.2.2.5.4.3.1.17',
|
||||
'ltmPoolMemberStatPvaCurConns' => '1.3.6.1.4.1.3375.2.2.5.4.3.1.18',
|
||||
'ltmPoolMemberStatTotRequests' => '1.3.6.1.4.1.3375.2.2.5.4.3.1.19',
|
||||
'ltmPoolMemberStatTotPvaAssistConn' => '1.3.6.1.4.1.3375.2.2.5.4.3.1.20',
|
||||
'ltmPoolMemberStatCurrPvaAssistConn' => '1.3.6.1.4.1.3375.2.2.5.4.3.1.21',
|
||||
'ltmPoolMemberStatConnqDepth' => '1.3.6.1.4.1.3375.2.2.5.4.3.1.22',
|
||||
'ltmPoolMemberStatConnqAgeHead' => '1.3.6.1.4.1.3375.2.2.5.4.3.1.23',
|
||||
'ltmPoolMemberStatConnqAgeMax' => '1.3.6.1.4.1.3375.2.2.5.4.3.1.24',
|
||||
'ltmPoolMemberStatConnqAgeEma' => '1.3.6.1.4.1.3375.2.2.5.4.3.1.25',
|
||||
'ltmPoolMemberStatConnqAgeEdm' => '1.3.6.1.4.1.3375.2.2.5.4.3.1.26',
|
||||
'ltmPoolMemberStatConnqServiced' => '1.3.6.1.4.1.3375.2.2.5.4.3.1.27',
|
||||
'ltmPoolMemberStatNodeName' => '1.3.6.1.4.1.3375.2.2.5.4.3.1.28',
|
||||
'ltmPoolMemberStatCurSessions' => '1.3.6.1.4.1.3375.2.2.5.4.3.1.29',
|
||||
'ltmPoolStatusNumber' => '1.3.6.1.4.1.3375.2.2.5.5.1.0',
|
||||
'ltmPoolStatusTable' => '1.3.6.1.4.1.3375.2.2.5.5.2',
|
||||
'ltmPoolStatusEntry' => '1.3.6.1.4.1.3375.2.2.5.5.2.1',
|
||||
'ltmPoolStatusName' => '1.3.6.1.4.1.3375.2.2.5.5.2.1.1',
|
||||
'ltmPoolStatusAvailState' => '1.3.6.1.4.1.3375.2.2.5.5.2.1.2',
|
||||
'ltmPoolStatusAvailStateDefinition' => 'F5-BIGIP-LOCAL-MIB::ltmPoolStatusAvailState',
|
||||
'ltmPoolStatusEnabledState' => '1.3.6.1.4.1.3375.2.2.5.5.2.1.3',
|
||||
'ltmPoolStatusEnabledStateDefinition' => 'F5-BIGIP-LOCAL-MIB::ltmPoolStatusEnabledState',
|
||||
'ltmPoolStatusParentType' => '1.3.6.1.4.1.3375.2.2.5.5.2.1.4',
|
||||
'ltmPoolStatusDetailReason' => '1.3.6.1.4.1.3375.2.2.5.5.2.1.5',
|
||||
'ltmPoolMbrStatusNumber' => '1.3.6.1.4.1.3375.2.2.5.6.1.0',
|
||||
'ltmPoolMbrStatusTable' => '1.3.6.1.4.1.3375.2.2.5.6.2',
|
||||
'ltmPoolMbrStatusEntry' => '1.3.6.1.4.1.3375.2.2.5.6.2.1',
|
||||
'ltmPoolMbrStatusPoolName' => '1.3.6.1.4.1.3375.2.2.5.6.2.1.1',
|
||||
'ltmPoolMbrStatusAddrType' => '1.3.6.1.4.1.3375.2.2.5.6.2.1.2',
|
||||
'ltmPoolMbrStatusAddr' => '1.3.6.1.4.1.3375.2.2.5.6.2.1.3',
|
||||
'ltmPoolMbrStatusPort' => '1.3.6.1.4.1.3375.2.2.5.6.2.1.4',
|
||||
'ltmPoolMbrStatusAvailState' => '1.3.6.1.4.1.3375.2.2.5.6.2.1.5',
|
||||
'ltmPoolMbrStatusAvailStateDefinition' => 'F5-BIGIP-LOCAL-MIB::ltmPoolMbrStatusAvailState',
|
||||
'ltmPoolMbrStatusEnabledState' => '1.3.6.1.4.1.3375.2.2.5.6.2.1.6',
|
||||
'ltmPoolMbrStatusEnabledStateDefinition' => 'F5-BIGIP-LOCAL-MIB::ltmPoolMbrStatusEnabledState',
|
||||
'ltmPoolMbrStatusParentType' => '1.3.6.1.4.1.3375.2.2.5.6.2.1.7',
|
||||
'ltmPoolMbrStatusDetailReason' => '1.3.6.1.4.1.3375.2.2.5.6.2.1.8',
|
||||
'ltmPoolMbrStatusNodeName' => '1.3.6.1.4.1.3375.2.2.5.6.2.1.9',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'F5-BIGIP-LOCAL-MIB'} = {
|
||||
'ltmPoolMemberMonitorState' => {
|
||||
'0' => 'unchecked',
|
||||
'1' => 'checking',
|
||||
'2' => 'inband',
|
||||
'3' => 'forced-up',
|
||||
'4' => 'up',
|
||||
'19' => 'down',
|
||||
'20' => 'forced-down',
|
||||
'22' => 'irule-down',
|
||||
'23' => 'inband-down',
|
||||
'24' => 'down-manual-resume',
|
||||
'25' => 'disabled',
|
||||
},
|
||||
'ltmPoolMemberMonitorStatus' => {
|
||||
'0' => 'unchecked',
|
||||
'1' => 'checking',
|
||||
'2' => 'inband',
|
||||
'3' => 'forced-up',
|
||||
'4' => 'up',
|
||||
'18' => 'addr-down',
|
||||
'19' => 'down',
|
||||
'20' => 'forced-down',
|
||||
'21' => 'maint',
|
||||
'22' => 'irule-down',
|
||||
'23' => 'inband-down',
|
||||
'24' => 'down-manual-resume',
|
||||
},
|
||||
'ltmPoolStatusEnabledState' => {
|
||||
'0' => 'none',
|
||||
'1' => 'enabled',
|
||||
'2' => 'disabled',
|
||||
'3' => 'disabledbyparent',
|
||||
},
|
||||
'ltmPoolAvailabilityState' => {
|
||||
'0' => 'none',
|
||||
'1' => 'green',
|
||||
'2' => 'yellow',
|
||||
'3' => 'red',
|
||||
'4' => 'blue',
|
||||
},
|
||||
'ltmPoolMbrStatusAvailState' => {
|
||||
'0' => 'none',
|
||||
'1' => 'green',
|
||||
'2' => 'yellow',
|
||||
'3' => 'red',
|
||||
'4' => 'blue',
|
||||
'5' => 'gray',
|
||||
},
|
||||
'ltmPoolLbMode' => {
|
||||
'0' => 'roundRobin',
|
||||
'1' => 'ratioMember',
|
||||
'2' => 'leastConnMember',
|
||||
'3' => 'observedMember',
|
||||
'4' => 'predictiveMember',
|
||||
'5' => 'ratioNodeAddress',
|
||||
'6' => 'leastConnNodeAddress',
|
||||
'7' => 'fastestNodeAddress',
|
||||
'8' => 'observedNodeAddress',
|
||||
'9' => 'predictiveNodeAddress',
|
||||
'10' => 'dynamicRatio',
|
||||
'11' => 'fastestAppResponse',
|
||||
'12' => 'leastSessions',
|
||||
'13' => 'dynamicRatioMember',
|
||||
'14' => 'l3Addr',
|
||||
'15' => 'weightedLeastConnMember',
|
||||
'16' => 'weightedLeastConnNodeAddr',
|
||||
'17' => 'ratioSession',
|
||||
},
|
||||
'ltmPoolStatusAvailState' => {
|
||||
'0' => 'none',
|
||||
'1' => 'green',
|
||||
'2' => 'yellow',
|
||||
'3' => 'red',
|
||||
'4' => 'blue',
|
||||
'5' => 'grey',
|
||||
},
|
||||
'ltmPoolMemberEnabledState' => {
|
||||
'0' => 'none',
|
||||
'1' => 'enabled',
|
||||
'2' => 'disabled',
|
||||
'3' => 'disabledbyparent',
|
||||
},
|
||||
'ltmPoolMbrStatusEnabledState' => {
|
||||
'0' => 'none',
|
||||
'1' => 'enabled',
|
||||
'2' => 'disabled',
|
||||
'3' => 'disabledbyparent',
|
||||
},
|
||||
};
|
||||
|
||||
1;
|
||||
|
||||
__END__
|
|
@ -1,101 +0,0 @@
|
|||
package Monitoring::GLPlugin::SNMP::MibsAndOids::F5BIGIPSYSTEMMIB;
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'F5-BIGIP-SYSTEM-MIB'} = {
|
||||
url => '',
|
||||
name => 'F5-BIGIP-SYSTEM-MIB',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'F5-BIGIP-SYSTEM-MIB'} = {
|
||||
'sysStatTmTotalCycles' => '1.3.6.1.4.1.3375.2.1.1.2.1.41.0',
|
||||
'sysStatTmIdleCycles' => '1.3.6.1.4.1.3375.2.1.1.2.1.42.0',
|
||||
'sysStatTmSleepCycles' => '1.3.6.1.4.1.3375.2.1.1.2.1.43.0',
|
||||
'sysStatMemoryTotal' => '1.3.6.1.4.1.3375.2.1.1.2.1.44.0',
|
||||
'sysStatMemoryUsed' => '1.3.6.1.4.1.3375.2.1.1.2.1.45.0',
|
||||
'sysCpuNumber' => '1.3.6.1.4.1.3375.2.1.3.1.1.0',
|
||||
'sysCpuTable' => '1.3.6.1.4.1.3375.2.1.3.1.2',
|
||||
'sysCpuEntry' => '1.3.6.1.4.1.3375.2.1.3.1.2.1',
|
||||
'sysCpuIndex' => '1.3.6.1.4.1.3375.2.1.3.1.2.1.1',
|
||||
'sysCpuTemperature' => '1.3.6.1.4.1.3375.2.1.3.1.2.1.2',
|
||||
'sysCpuFanSpeed' => '1.3.6.1.4.1.3375.2.1.3.1.2.1.3',
|
||||
'sysCpuName' => '1.3.6.1.4.1.3375.2.1.3.1.2.1.4',
|
||||
'sysCpuSlot' => '1.3.6.1.4.1.3375.2.1.3.1.2.1.5',
|
||||
'sysChassisFan' => '1.3.6.1.4.1.3375.2.1.3.2.1',
|
||||
'sysChassisFanNumber' => '1.3.6.1.4.1.3375.2.1.3.2.1.1.0',
|
||||
'sysChassisFanTable' => '1.3.6.1.4.1.3375.2.1.3.2.1.2',
|
||||
'sysChassisFanEntry' => '1.3.6.1.4.1.3375.2.1.3.2.1.2.1',
|
||||
'sysChassisFanIndex' => '1.3.6.1.4.1.3375.2.1.3.2.1.2.1.1',
|
||||
'sysChassisFanStatus' => '1.3.6.1.4.1.3375.2.1.3.2.1.2.1.2',
|
||||
'sysChassisFanStatusDefinition' => {
|
||||
'0' => 'bad',
|
||||
'1' => 'good',
|
||||
'2' => 'notpresent',
|
||||
},
|
||||
'sysChassisFanSpeed' => '1.3.6.1.4.1.3375.2.1.3.2.1.2.1.3',
|
||||
'sysChassisPowerSupply' => '1.3.6.1.4.1.3375.2.1.3.2.2',
|
||||
'sysChassisPowerSupplyNumber' => '1.3.6.1.4.1.3375.2.1.3.2.2.1.0',
|
||||
'sysChassisPowerSupplyTable' => '1.3.6.1.4.1.3375.2.1.3.2.2.2',
|
||||
'sysChassisPowerSupplyEntry' => '1.3.6.1.4.1.3375.2.1.3.2.2.2.1',
|
||||
'sysChassisPowerSupplyIndex' => '1.3.6.1.4.1.3375.2.1.3.2.2.2.1.1',
|
||||
'sysChassisPowerSupplyStatus' => '1.3.6.1.4.1.3375.2.1.3.2.2.2.1.2',
|
||||
'sysChassisPowerSupplyStatusDefinition' => {
|
||||
'0' => 'bad',
|
||||
'1' => 'good',
|
||||
'2' => 'notpresent',
|
||||
},
|
||||
'sysChassisTemp' => '1.3.6.1.4.1.3375.2.1.3.2.3',
|
||||
'sysChassisTempNumber' => '1.3.6.1.4.1.3375.2.1.3.2.3.1.0',
|
||||
'sysChassisTempTable' => '1.3.6.1.4.1.3375.2.1.3.2.3.2',
|
||||
'sysChassisTempEntry' => '1.3.6.1.4.1.3375.2.1.3.2.3.2.1',
|
||||
'sysChassisTempIndex' => '1.3.6.1.4.1.3375.2.1.3.2.3.2.1.1',
|
||||
'sysChassisTempTemperature' => '1.3.6.1.4.1.3375.2.1.3.2.3.2.1.2',
|
||||
'sysPlatformInfoName' => '1.3.6.1.4.1.3375.2.1.3.5.1.0',
|
||||
'sysPlatformInfoMarketingName' => '1.3.6.1.4.1.3375.2.1.3.5.2.0',
|
||||
'sysProduct' => '1.3.6.1.4.1.3375.2.1.4',
|
||||
'sysProductName' => '1.3.6.1.4.1.3375.2.1.4.1.0',
|
||||
'sysProductVersion' => '1.3.6.1.4.1.3375.2.1.4.2.0',
|
||||
'sysProductBuild' => '1.3.6.1.4.1.3375.2.1.4.3.0',
|
||||
'sysProductEdition' => '1.3.6.1.4.1.3375.2.1.4.4.0',
|
||||
'sysProductDate' => '1.3.6.1.4.1.3375.2.1.4.5.0',
|
||||
'sysSubMemory' => '1.3.6.1.4.1.3375.2.1.5',
|
||||
'sysSubMemoryResetStats' => '1.3.6.1.4.1.3375.2.1.5.1.0',
|
||||
'sysSubMemoryNumber' => '1.3.6.1.4.1.3375.2.1.5.2.0',
|
||||
'sysSubMemoryTable' => '1.3.6.1.4.1.3375.2.1.5.3',
|
||||
'sysSubMemoryEntry' => '1.3.6.1.4.1.3375.2.1.5.3.1',
|
||||
'sysSubMemoryName' => '1.3.6.1.4.1.3375.2.1.5.3.1.1',
|
||||
'sysSubMemoryAllocated' => '1.3.6.1.4.1.3375.2.1.5.3.1.2',
|
||||
'sysSubMemoryMaxAllocated' => '1.3.6.1.4.1.3375.2.1.5.3.1.3',
|
||||
'sysSubMemorySize' => '1.3.6.1.4.1.3375.2.1.5.3.1.4',
|
||||
'sysSystem' => '1.3.6.1.4.1.3375.2.1.6',
|
||||
'sysSystemName' => '1.3.6.1.4.1.3375.2.1.6.1.0',
|
||||
'sysSystemNodeName' => '1.3.6.1.4.1.3375.2.1.6.2.0',
|
||||
'sysSystemRelease' => '1.3.6.1.4.1.3375.2.1.6.3.0',
|
||||
'sysSystemVersion' => '1.3.6.1.4.1.3375.2.1.6.4.0',
|
||||
'sysSystemMachine' => '1.3.6.1.4.1.3375.2.1.6.5.0',
|
||||
'sysSystemUptime' => '1.3.6.1.4.1.3375.2.1.6.6.0',
|
||||
'sysHostMemoryTotal' => '1.3.6.1.4.1.3375.2.1.7.1.1.0',
|
||||
'sysHostMemoryUsed' => '1.3.6.1.4.1.3375.2.1.7.1.2.0',
|
||||
'sysPhysicalDiskTable' => '1.3.6.1.4.1.3375.2.1.7.7.2',
|
||||
'sysPhysicalDiskEntry' => '1.3.6.1.4.1.3375.2.1.7.7.2.1',
|
||||
'sysPhysicalDiskSerialNumber' => '1.3.6.1.4.1.3375.2.1.7.7.2.1.1',
|
||||
'sysPhysicalDiskSlotId' => '1.3.6.1.4.1.3375.2.1.7.7.2.1.2',
|
||||
'sysPhysicalDiskName' => '1.3.6.1.4.1.3375.2.1.7.7.2.1.3',
|
||||
'sysPhysicalDiskIsArrayMember' => '1.3.6.1.4.1.3375.2.1.7.7.2.1.4',
|
||||
'sysPhysicalDiskIsArrayMemberDefinition' => {
|
||||
'0' => 'false',
|
||||
'1' => 'true',
|
||||
},
|
||||
'sysPhysicalDiskArrayStatus' => '1.3.6.1.4.1.3375.2.1.7.7.2.1.5',
|
||||
'sysPhysicalDiskArrayStatusDefinition' => {
|
||||
'0' => 'undefined',
|
||||
'1' => 'ok',
|
||||
'2' => 'replicating',
|
||||
'3' => 'missing',
|
||||
'4' => 'failed',
|
||||
},
|
||||
'bigipSystemGroups' => '1.3.6.1.4.1.3375.2.5.2.1',
|
||||
};
|
||||
|
||||
|
||||
1;
|
||||
|
||||
__END__
|
|
@ -1,55 +0,0 @@
|
|||
package Monitoring::GLPlugin::SNMP::MibsAndOids::FOUNDRYSNAGENTMIB;
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'FOUNDRY-SN-AGENT-MIB'} = {
|
||||
url => '',
|
||||
name => 'FOUNDRY-SN-AGENT-MIB',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'FOUNDRY-SN-AGENT-MIB'} = {
|
||||
'snChasPwrSupplyTable' => '1.3.6.1.4.1.1991.1.1.1.2.1',
|
||||
'snChasPwrSupplyEntry' => '1.3.6.1.4.1.1991.1.1.1.2.1.1',
|
||||
'snChasPwrSupplyIndex' => '1.3.6.1.4.1.1991.1.1.1.2.1.1.1',
|
||||
'snChasPwrSupplyDescription' => '1.3.6.1.4.1.1991.1.1.1.2.1.1.2',
|
||||
'snChasPwrSupplyOperStatus' => '1.3.6.1.4.1.1991.1.1.1.2.1.1.3',
|
||||
'snChasPwrSupplyOperStatusDefinition' => {
|
||||
'1' => 'other',
|
||||
'2' => 'normal',
|
||||
'3' => 'failure',
|
||||
},
|
||||
'snChasFan' => '1.3.6.1.4.1.1991.1.1.1.3',
|
||||
'snChasFanTable' => '1.3.6.1.4.1.1991.1.1.1.3.1',
|
||||
'snChasFanEntry' => '1.3.6.1.4.1.1991.1.1.1.3.1.1',
|
||||
'snChasFanIndex' => '1.3.6.1.4.1.1991.1.1.1.3.1.1.1',
|
||||
'snChasFanDescription' => '1.3.6.1.4.1.1991.1.1.1.3.1.1.2',
|
||||
'snChasFanOperStatus' => '1.3.6.1.4.1.1991.1.1.1.3.1.1.3',
|
||||
'snChasFanOperStatusDefinition' => {
|
||||
'1' => 'other',
|
||||
'2' => 'normal',
|
||||
'3' => 'failure',
|
||||
},
|
||||
'snAgGblCpuUtil1SecAvg' => '1.3.6.1.4.1.1991.1.1.2.1.50.0',
|
||||
'snAgGblCpuUtil5SecAvg' => '1.3.6.1.4.1.1991.1.1.2.1.51.0',
|
||||
'snAgGblCpuUtil1MinAvg' => '1.3.6.1.4.1.1991.1.1.2.1.52.0',
|
||||
'snAgGblDynMemUtil' => '1.3.6.1.4.1.1991.1.1.2.1.53.0',
|
||||
'snAgGblDynMemTotal' => '1.3.6.1.4.1.1991.1.1.2.1.54.0',
|
||||
'snAgGblDynMemFree' => '1.3.6.1.4.1.1991.1.1.2.1.55.0',
|
||||
'snAgentCpuUtilTable' => '1.3.6.1.4.1.1991.1.1.2.11.1',
|
||||
'snAgentCpuUtilEntry' => '1.3.6.1.4.1.1991.1.1.2.11.1.1',
|
||||
'snAgentCpuUtilSlotNum' => '1.3.6.1.4.1.1991.1.1.2.11.1.1.1',
|
||||
'snAgentCpuUtilCpuId' => '1.3.6.1.4.1.1991.1.1.2.11.1.1.2',
|
||||
'snAgentCpuUtilInterval' => '1.3.6.1.4.1.1991.1.1.2.11.1.1.3',
|
||||
'snAgentCpuUtilValue' => '1.3.6.1.4.1.1991.1.1.2.11.1.1.4',
|
||||
'snAgentCpuUtilPercent' => '1.3.6.1.4.1.1991.1.1.2.11.1.1.5',
|
||||
'snAgentCpuUtil100thPercent' => '1.3.6.1.4.1.1991.1.1.2.11.1.1.6',
|
||||
'snAgentTempTable' => '1.3.6.1.4.1.1991.1.1.2.13.1',
|
||||
'snAgentTempEntry' => '1.3.6.1.4.1.1991.1.1.2.13.1.1',
|
||||
'snAgentTempSlotNum' => '1.3.6.1.4.1.1991.1.1.2.13.1.1.1',
|
||||
'snAgentTempSensorId' => '1.3.6.1.4.1.1991.1.1.2.13.1.1.2',
|
||||
'snAgentTempSensorDescr' => '1.3.6.1.4.1.1991.1.1.2.13.1.1.3',
|
||||
'snAgentTempValue' => '1.3.6.1.4.1.1991.1.1.2.13.1.1.4',
|
||||
};
|
||||
|
||||
|
||||
1;
|
||||
|
||||
__END__
|
|
@ -1,158 +0,0 @@
|
|||
package Monitoring::GLPlugin::SNMP::MibsAndOids::HOSTRESOURCESMIB;
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'HOST-RESOURCES-MIB'} = {
|
||||
url => '',
|
||||
name => 'HOST-RESOURCES-MIB',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'HOST-RESOURCES-MIB'} =
|
||||
'1.3.6.1.2.1.25';
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'HOST-RESOURCES-MIB'} = {
|
||||
'host' => '1.3.6.1.2.1.25',
|
||||
'hrSystem' => '1.3.6.1.2.1.25.1',
|
||||
'hrSystemUptime' => '1.3.6.1.2.1.25.1.1.0',
|
||||
'hrSystemDate' => '1.3.6.1.2.1.25.1.2.0',
|
||||
'hrSystemInitialLoadDevice' => '1.3.6.1.2.1.25.1.3.0',
|
||||
'hrSystemInitialLoadParameters' => '1.3.6.1.2.1.25.1.4.0',
|
||||
'hrSystemNumUsers' => '1.3.6.1.2.1.25.1.5.0',
|
||||
'hrSystemProcesses' => '1.3.6.1.2.1.25.1.6.0',
|
||||
'hrSystemMaxProcesses' => '1.3.6.1.2.1.25.1.7.0',
|
||||
'hrStorage' => '1.3.6.1.2.1.25.2',
|
||||
'hrStorageTypes' => '1.3.6.1.2.1.25.2.1',
|
||||
'hrStorageOther' => '1.3.6.1.2.1.25.2.1.1',
|
||||
'hrStorageRam' => '1.3.6.1.2.1.25.2.1.2',
|
||||
'hrStorageVirtualMemory' => '1.3.6.1.2.1.25.2.1.3',
|
||||
'hrStorageFixedDisk' => '1.3.6.1.2.1.25.2.1.4',
|
||||
'hrStorageRemovableDisk' => '1.3.6.1.2.1.25.2.1.5',
|
||||
'hrStorageFloppyDisk' => '1.3.6.1.2.1.25.2.1.6',
|
||||
'hrStorageCompactDisc' => '1.3.6.1.2.1.25.2.1.7',
|
||||
'hrStorageRamDisk' => '1.3.6.1.2.1.25.2.1.8',
|
||||
'hrMemorySize' => '1.3.6.1.2.1.25.2.2.0',
|
||||
'hrStorageTable' => '1.3.6.1.2.1.25.2.3',
|
||||
'hrStorageEntry' => '1.3.6.1.2.1.25.2.3.1',
|
||||
'hrStorageIndex' => '1.3.6.1.2.1.25.2.3.1.1',
|
||||
'hrStorageType' => '1.3.6.1.2.1.25.2.3.1.2',
|
||||
'hrStorageTypeDefinition' => 'OID::HOST-RESOURCES-MIB',
|
||||
'hrStorageDescr' => '1.3.6.1.2.1.25.2.3.1.3',
|
||||
'hrStorageAllocationUnits' => '1.3.6.1.2.1.25.2.3.1.4',
|
||||
'hrStorageSize' => '1.3.6.1.2.1.25.2.3.1.5',
|
||||
'hrStorageUsed' => '1.3.6.1.2.1.25.2.3.1.6',
|
||||
'hrStorageAllocationFailures' => '1.3.6.1.2.1.25.2.3.1.7',
|
||||
'hrDevice' => '1.3.6.1.2.1.25.3',
|
||||
'hrDeviceTypes' => '1.3.6.1.2.1.25.3.1',
|
||||
'hrDeviceOther' => '1.3.6.1.2.1.25.3.1.1',
|
||||
'hrDeviceUnknown' => '1.3.6.1.2.1.25.3.1.2',
|
||||
'hrDeviceProcessor' => '1.3.6.1.2.1.25.3.1.3',
|
||||
'hrDeviceNetwork' => '1.3.6.1.2.1.25.3.1.4',
|
||||
'hrDevicePrinter' => '1.3.6.1.2.1.25.3.1.5',
|
||||
'hrDeviceDiskStorage' => '1.3.6.1.2.1.25.3.1.6',
|
||||
'hrDeviceVideo' => '1.3.6.1.2.1.25.3.1.10',
|
||||
'hrDeviceAudio' => '1.3.6.1.2.1.25.3.1.11',
|
||||
'hrDeviceCoprocessor' => '1.3.6.1.2.1.25.3.1.12',
|
||||
'hrDeviceKeyboard' => '1.3.6.1.2.1.25.3.1.13',
|
||||
'hrDeviceModem' => '1.3.6.1.2.1.25.3.1.14',
|
||||
'hrDeviceParallelPort' => '1.3.6.1.2.1.25.3.1.15',
|
||||
'hrDevicePointing' => '1.3.6.1.2.1.25.3.1.16',
|
||||
'hrDeviceSerialPort' => '1.3.6.1.2.1.25.3.1.17',
|
||||
'hrDeviceTape' => '1.3.6.1.2.1.25.3.1.18',
|
||||
'hrDeviceClock' => '1.3.6.1.2.1.25.3.1.19',
|
||||
'hrDeviceVolatileMemory' => '1.3.6.1.2.1.25.3.1.20',
|
||||
'hrDeviceNonVolatileMemory' => '1.3.6.1.2.1.25.3.1.21',
|
||||
'hrDeviceTable' => '1.3.6.1.2.1.25.3.2',
|
||||
'hrDeviceEntry' => '1.3.6.1.2.1.25.3.2.1',
|
||||
'hrDeviceIndex' => '1.3.6.1.2.1.25.3.2.1.1',
|
||||
'hrDeviceType' => '1.3.6.1.2.1.25.3.2.1.2',
|
||||
'hrDeviceDescr' => '1.3.6.1.2.1.25.3.2.1.3',
|
||||
'hrDeviceID' => '1.3.6.1.2.1.25.3.2.1.4',
|
||||
'hrDeviceStatus' => '1.3.6.1.2.1.25.3.2.1.5',
|
||||
'hrDeviceErrors' => '1.3.6.1.2.1.25.3.2.1.6',
|
||||
'hrProcessorTable' => '1.3.6.1.2.1.25.3.3',
|
||||
'hrProcessorEntry' => '1.3.6.1.2.1.25.3.3.1',
|
||||
'hrProcessorFrwID' => '1.3.6.1.2.1.25.3.3.1.1',
|
||||
'hrProcessorLoad' => '1.3.6.1.2.1.25.3.3.1.2',
|
||||
'hrNetworkTable' => '1.3.6.1.2.1.25.3.4',
|
||||
'hrNetworkEntry' => '1.3.6.1.2.1.25.3.4.1',
|
||||
'hrNetworkIfIndex' => '1.3.6.1.2.1.25.3.4.1.1',
|
||||
'hrPrinterTable' => '1.3.6.1.2.1.25.3.5',
|
||||
'hrPrinterEntry' => '1.3.6.1.2.1.25.3.5.1',
|
||||
'hrPrinterStatus' => '1.3.6.1.2.1.25.3.5.1.1',
|
||||
'hrPrinterDetectedErrorState' => '1.3.6.1.2.1.25.3.5.1.2',
|
||||
'hrDiskStorageTable' => '1.3.6.1.2.1.25.3.6',
|
||||
'hrDiskStorageEntry' => '1.3.6.1.2.1.25.3.6.1',
|
||||
'hrDiskStorageAccess' => '1.3.6.1.2.1.25.3.6.1.1',
|
||||
'hrDiskStorageMedia' => '1.3.6.1.2.1.25.3.6.1.2',
|
||||
'hrDiskStorageRemoveble' => '1.3.6.1.2.1.25.3.6.1.3',
|
||||
'hrDiskStorageCapacity' => '1.3.6.1.2.1.25.3.6.1.4',
|
||||
'hrPartitionTable' => '1.3.6.1.2.1.25.3.7',
|
||||
'hrPartitionEntry' => '1.3.6.1.2.1.25.3.7.1',
|
||||
'hrPartitionIndex' => '1.3.6.1.2.1.25.3.7.1.1',
|
||||
'hrPartitionLabel' => '1.3.6.1.2.1.25.3.7.1.2',
|
||||
'hrPartitionID' => '1.3.6.1.2.1.25.3.7.1.3',
|
||||
'hrPartitionSize' => '1.3.6.1.2.1.25.3.7.1.4',
|
||||
'hrPartitionFSIndex' => '1.3.6.1.2.1.25.3.7.1.5',
|
||||
'hrFSTable' => '1.3.6.1.2.1.25.3.8',
|
||||
'hrFSEntry' => '1.3.6.1.2.1.25.3.8.1',
|
||||
'hrFSIndex' => '1.3.6.1.2.1.25.3.8.1.1',
|
||||
'hrFSMountPoint' => '1.3.6.1.2.1.25.3.8.1.2',
|
||||
'hrFSRemoteMountPoint' => '1.3.6.1.2.1.25.3.8.1.3',
|
||||
'hrFSType' => '1.3.6.1.2.1.25.3.8.1.4',
|
||||
'hrFSAccess' => '1.3.6.1.2.1.25.3.8.1.5',
|
||||
'hrFSBootable' => '1.3.6.1.2.1.25.3.8.1.6',
|
||||
'hrFSStorageIndex' => '1.3.6.1.2.1.25.3.8.1.7',
|
||||
'hrFSLastFullBackupDate' => '1.3.6.1.2.1.25.3.8.1.8',
|
||||
'hrFSLastPartialBackupDate' => '1.3.6.1.2.1.25.3.8.1.9',
|
||||
'hrFSTypes' => '1.3.6.1.2.1.25.3.9',
|
||||
'hrFSOther' => '1.3.6.1.2.1.25.3.9.1',
|
||||
'hrFSUnknown' => '1.3.6.1.2.1.25.3.9.2',
|
||||
'hrFSBerkeleyFFS' => '1.3.6.1.2.1.25.3.9.3',
|
||||
'hrFSSys5FS' => '1.3.6.1.2.1.25.3.9.4',
|
||||
'hrFSFat' => '1.3.6.1.2.1.25.3.9.5',
|
||||
'hrFSHPFS' => '1.3.6.1.2.1.25.3.9.6',
|
||||
'hrFSHFS' => '1.3.6.1.2.1.25.3.9.7',
|
||||
'hrFSMFS' => '1.3.6.1.2.1.25.3.9.8',
|
||||
'hrFSNTFS' => '1.3.6.1.2.1.25.3.9.9',
|
||||
'hrFSVNode' => '1.3.6.1.2.1.25.3.9.10',
|
||||
'hrFSJournaled' => '1.3.6.1.2.1.25.3.9.11',
|
||||
'hrFSiso9660' => '1.3.6.1.2.1.25.3.9.12',
|
||||
'hrFSRockRidge' => '1.3.6.1.2.1.25.3.9.13',
|
||||
'hrFSNFS' => '1.3.6.1.2.1.25.3.9.14',
|
||||
'hrFSNetware' => '1.3.6.1.2.1.25.3.9.15',
|
||||
'hrFSAFS' => '1.3.6.1.2.1.25.3.9.16',
|
||||
'hrFSDFS' => '1.3.6.1.2.1.25.3.9.17',
|
||||
'hrFSAppleshare' => '1.3.6.1.2.1.25.3.9.18',
|
||||
'hrFSRFS' => '1.3.6.1.2.1.25.3.9.19',
|
||||
'hrFSDGCFS' => '1.3.6.1.2.1.25.3.9.20',
|
||||
'hrFSBFS' => '1.3.6.1.2.1.25.3.9.21',
|
||||
'hrSWRun' => '1.3.6.1.2.1.25.4',
|
||||
'hrSWOSIndex' => '1.3.6.1.2.1.25.4.1.0',
|
||||
'hrSWRunTable' => '1.3.6.1.2.1.25.4.2',
|
||||
'hrSWRunEntry' => '1.3.6.1.2.1.25.4.2.1',
|
||||
'hrSWRunIndex' => '1.3.6.1.2.1.25.4.2.1.1',
|
||||
'hrSWRunName' => '1.3.6.1.2.1.25.4.2.1.2',
|
||||
'hrSWRunID' => '1.3.6.1.2.1.25.4.2.1.3',
|
||||
'hrSWRunPath' => '1.3.6.1.2.1.25.4.2.1.4',
|
||||
'hrSWRunParameters' => '1.3.6.1.2.1.25.4.2.1.5',
|
||||
'hrSWRunType' => '1.3.6.1.2.1.25.4.2.1.6',
|
||||
'hrSWRunStatus' => '1.3.6.1.2.1.25.4.2.1.7',
|
||||
'hrSWRunPerf' => '1.3.6.1.2.1.25.5',
|
||||
'hrSWRunPerfTable' => '1.3.6.1.2.1.25.5.1',
|
||||
'hrSWRunPerfEntry' => '1.3.6.1.2.1.25.5.1.1',
|
||||
'hrSWRunPerfCPU' => '1.3.6.1.2.1.25.5.1.1.1',
|
||||
'hrSWRunPerfMem' => '1.3.6.1.2.1.25.5.1.1.2',
|
||||
'hrSWInstalled' => '1.3.6.1.2.1.25.6',
|
||||
'hrSWInstalledLastChange' => '1.3.6.1.2.1.25.6.1.0',
|
||||
'hrSWInstalledLastUpdateTime' => '1.3.6.1.2.1.25.6.2.0',
|
||||
'hrSWInstalledTable' => '1.3.6.1.2.1.25.6.3',
|
||||
'hrSWInstalledEntry' => '1.3.6.1.2.1.25.6.3.1',
|
||||
'hrSWInstalledIndex' => '1.3.6.1.2.1.25.6.3.1.1',
|
||||
'hrSWInstalledName' => '1.3.6.1.2.1.25.6.3.1.2',
|
||||
'hrSWInstalledID' => '1.3.6.1.2.1.25.6.3.1.3',
|
||||
'hrSWInstalledType' => '1.3.6.1.2.1.25.6.3.1.4',
|
||||
'hrSWInstalledDate' => '1.3.6.1.2.1.25.6.3.1.5',
|
||||
};
|
||||
|
||||
|
||||
1;
|
||||
|
||||
__END__
|
|
@ -1,23 +0,0 @@
|
|||
package Monitoring::GLPlugin::SNMP::MibsAndOids::MIB2MIB;
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'MIB-2-MIB'} = {
|
||||
url => "",
|
||||
name => "MIB-2-MIB",
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'MIB-2-MIB'} = {
|
||||
sysDescr => '1.3.6.1.2.1.1.1',
|
||||
sysObjectID => '1.3.6.1.2.1.1.2',
|
||||
sysUpTime => '1.3.6.1.2.1.1.3',
|
||||
sysName => '1.3.6.1.2.1.1.5',
|
||||
sysORTable => '1.3.6.1.2.1.1.9',
|
||||
sysOREntry => '1.3.6.1.2.1.1.9.1',
|
||||
sysORIndex => '1.3.6.1.2.1.1.9.1.1',
|
||||
sysORID => '1.3.6.1.2.1.1.9.1.2',
|
||||
sysORDescr => '1.3.6.1.2.1.1.9.1.3',
|
||||
sysORUpTime => '1.3.6.1.2.1.1.9.1.4',
|
||||
};
|
||||
|
||||
1;
|
||||
|
||||
__END__
|
|
@ -1,70 +0,0 @@
|
|||
package Monitoring::GLPlugin::SNMP::MibsAndOids::SWMIB;
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'SW-MIB'} = {
|
||||
url => '',
|
||||
name => 'SW-MIB',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'SW-MIB'} =
|
||||
'1.3.6.1.4.1.1588.2.1.1.1';
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'SW-MIB'} = {
|
||||
'sw' => '1.3.6.1.4.1.1588.2.1.1.1',
|
||||
'swFirmwareVersion' => '1.3.6.1.4.1.1588.2.1.1.1.1.6.0',
|
||||
'swSensorTable' => '1.3.6.1.4.1.1588.2.1.1.1.1.22',
|
||||
'swSensorEntry' => '1.3.6.1.4.1.1588.2.1.1.1.1.22.1',
|
||||
'swSensorIndex' => '1.3.6.1.4.1.1588.2.1.1.1.1.22.1.1',
|
||||
'swSensorType' => '1.3.6.1.4.1.1588.2.1.1.1.1.22.1.2',
|
||||
'swSensorTypeDefinition' => {
|
||||
'1' => 'temperature',
|
||||
'2' => 'fan',
|
||||
'3' => 'power-supply',
|
||||
},
|
||||
'swSensorStatus' => '1.3.6.1.4.1.1588.2.1.1.1.1.22.1.3',
|
||||
'swSensorStatusDefinition' => {
|
||||
'1' => 'unknown',
|
||||
'2' => 'faulty',
|
||||
'3' => 'below-min',
|
||||
'4' => 'nominal',
|
||||
'5' => 'above-max',
|
||||
'6' => 'absent',
|
||||
},
|
||||
'swSensorValue' => '1.3.6.1.4.1.1588.2.1.1.1.1.22.1.4',
|
||||
'swSensorInfo' => '1.3.6.1.4.1.1588.2.1.1.1.1.22.1.5',
|
||||
'swFwFabricWatchLicense' => '1.3.6.1.4.1.1588.2.1.1.1.10.1.0',
|
||||
'swFwFabricWatchLicenseDefinition' => {
|
||||
'1' => 'swFwLicensed',
|
||||
'2' => 'swFwNotLicensed',
|
||||
},
|
||||
'swFwThresholdTable' => '1.3.6.1.4.1.1588.2.1.1.1.10.3',
|
||||
'swFwThresholdEntry' => '1.3.6.1.4.1.1588.2.1.1.1.10.3.1',
|
||||
'swFwThresholdIndex' => '1.3.6.1.4.1.1588.2.1.1.1.10.3.1.1',
|
||||
'swFwStatus' => '1.3.6.1.4.1.1588.2.1.1.1.10.3.1.2',
|
||||
'swFwName' => '1.3.6.1.4.1.1588.2.1.1.1.10.3.1.3',
|
||||
'swFwLabel' => '1.3.6.1.4.1.1588.2.1.1.1.10.3.1.4',
|
||||
'swFwCurVal' => '1.3.6.1.4.1.1588.2.1.1.1.10.3.1.5',
|
||||
'swFwLastEvent' => '1.3.6.1.4.1.1588.2.1.1.1.10.3.1.6',
|
||||
'swFwLastEventVal' => '1.3.6.1.4.1.1588.2.1.1.1.10.3.1.7',
|
||||
'swFwLastEventTime' => '1.3.6.1.4.1.1588.2.1.1.1.10.3.1.8',
|
||||
'swFwLastState' => '1.3.6.1.4.1.1588.2.1.1.1.10.3.1.9',
|
||||
'swFwBehaviorType' => '1.3.6.1.4.1.1588.2.1.1.1.10.3.1.10',
|
||||
'swFwBehaviorInt' => '1.3.6.1.4.1.1588.2.1.1.1.10.3.1.11',
|
||||
'swCpuOrMemoryUsage' => '1.3.6.1.4.1.1588.2.1.1.1.26',
|
||||
'swCpuUsage' => '1.3.6.1.4.1.1588.2.1.1.1.26.1',
|
||||
'swCpuNoOfRetries' => '1.3.6.1.4.1.1588.2.1.1.1.26.2',
|
||||
'swCpuUsageLimit' => '1.3.6.1.4.1.1588.2.1.1.1.26.3',
|
||||
'swCpuPollingInterval' => '1.3.6.1.4.1.1588.2.1.1.1.26.4',
|
||||
'swCpuAction' => '1.3.6.1.4.1.1588.2.1.1.1.26.5',
|
||||
'swMemUsage' => '1.3.6.1.4.1.1588.2.1.1.1.26.6',
|
||||
'swMemNoOfRetries' => '1.3.6.1.4.1.1588.2.1.1.1.26.7',
|
||||
'swMemUsageLimit' => '1.3.6.1.4.1.1588.2.1.1.1.26.8',
|
||||
'swMemPollingInterval' => '1.3.6.1.4.1.1588.2.1.1.1.26.9',
|
||||
'swMemAction' => '1.3.6.1.4.1.1588.2.1.1.1.26.10',
|
||||
'swMemUsageLimit1' => '1.3.6.1.4.1.1588.2.1.1.1.26.11',
|
||||
'swMemUsageLimit3' => '1.3.6.1.4.1.1588.2.1.1.1.26.12',
|
||||
};
|
||||
|
||||
|
||||
1;
|
||||
|
||||
__END__
|
|
@ -1,31 +0,0 @@
|
|||
package Classes::CheckPoint::Firewall1::Component::CpuSubsystem;
|
||||
our @ISA = qw(Monitoring::GLPlugin::SNMP::Item);
|
||||
use strict;
|
||||
|
||||
sub init {
|
||||
my $self = shift;
|
||||
$self->get_snmp_objects('CHECKPOINT-MIB', (qw(
|
||||
procUsage)));
|
||||
$self->{procQueue} = $self->valid_response('CHECKPOINT-MIB', 'procQueue');
|
||||
}
|
||||
|
||||
sub check {
|
||||
my $self = shift;
|
||||
$self->add_info('checking cpus');
|
||||
$self->add_info(sprintf 'cpu usage is %.2f%%', $self->{procUsage});
|
||||
$self->set_thresholds(warning => 80, critical => 90);
|
||||
$self->add_message($self->check_thresholds($self->{procUsage}));
|
||||
$self->add_perfdata(
|
||||
label => 'cpu_usage',
|
||||
value => $self->{procUsage},
|
||||
uom => '%',
|
||||
);
|
||||
if (defined $self->{procQueue}) {
|
||||
$self->add_perfdata(
|
||||
label => 'cpu_queue_length',
|
||||
value => $self->{procQueue},
|
||||
thresholds => 0,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,45 +0,0 @@
|
|||
package Classes::CheckPoint::Firewall1::Component::HaSubsystem;
|
||||
our @ISA = qw(Monitoring::GLPlugin::SNMP::Item);
|
||||
use strict;
|
||||
use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 };
|
||||
|
||||
sub init {
|
||||
my $self = shift;
|
||||
if ($self->mode =~ /device::ha::role/) {
|
||||
$self->get_snmp_objects('CHECKPOINT-MIB', (qw(
|
||||
haStarted haState haStatShort)));
|
||||
if (! $self->opts->role()) {
|
||||
$self->opts->override_opt('role', 'active');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
sub check {
|
||||
my $self = shift;
|
||||
chomp($self->{haState});
|
||||
$self->add_info('checking ha');
|
||||
$self->add_info(sprintf 'ha %sstarted, role is %s, status is %s',
|
||||
$self->{haStarted} eq 'yes' ? '' : 'not ',
|
||||
$self->{haState}, $self->{haStatShort});
|
||||
if ($self->{haStarted} eq 'yes') {
|
||||
if ($self->{haStatShort} ne 'OK') {
|
||||
$self->add_message(
|
||||
defined $self->opts->mitigation() ? $self->opts->mitigation() : CRITICAL,
|
||||
$self->{info});
|
||||
} elsif ($self->{haState} ne $self->opts->role()) {
|
||||
$self->add_message(
|
||||
defined $self->opts->mitigation() ? $self->opts->mitigation() : WARNING,
|
||||
$self->{info});
|
||||
$self->add_message(
|
||||
defined $self->opts->mitigation() ? $self->opts->mitigation() : WARNING,
|
||||
sprintf "expected role %s", $self->opts->role())
|
||||
} else {
|
||||
$self->add_ok();
|
||||
}
|
||||
} else {
|
||||
$self->add_message(
|
||||
defined $self->opts->mitigation() ? $self->opts->mitigation() : WARNING,
|
||||
'ha was not started');
|
||||
}
|
||||
}
|
||||
|
|
@ -1,73 +0,0 @@
|
|||
package Classes::Cisco;
|
||||
our @ISA = qw(Classes::Device);
|
||||
use strict;
|
||||
|
||||
use constant trees => (
|
||||
'1.3.6.1.2.1', # mib-2
|
||||
'1.3.6.1.4.1.9', # cisco
|
||||
'1.3.6.1.4.1.9.1', # ciscoProducts
|
||||
'1.3.6.1.4.1.9.2', # local
|
||||
'1.3.6.1.4.1.9.3', # temporary
|
||||
'1.3.6.1.4.1.9.4', # pakmon
|
||||
'1.3.6.1.4.1.9.5', # workgroup
|
||||
'1.3.6.1.4.1.9.6', # otherEnterprises
|
||||
'1.3.6.1.4.1.9.7', # ciscoAgentCapability
|
||||
'1.3.6.1.4.1.9.8', # ciscoConfig
|
||||
'1.3.6.1.4.1.9.9', # ciscoMgmt
|
||||
'1.3.6.1.4.1.9.10', # ciscoExperiment
|
||||
'1.3.6.1.4.1.9.11', # ciscoAdmin
|
||||
'1.3.6.1.4.1.9.12', # ciscoModules
|
||||
'1.3.6.1.4.1.9.13', # lightstream
|
||||
'1.3.6.1.4.1.9.14', # ciscoworks
|
||||
'1.3.6.1.4.1.9.15', # newport
|
||||
'1.3.6.1.4.1.9.16', # ciscoPartnerProducts
|
||||
'1.3.6.1.4.1.9.17', # ciscoPolicy
|
||||
'1.3.6.1.4.1.9.18', # ciscoPolicyAuto
|
||||
'1.3.6.1.4.1.9.19', # ciscoDomains
|
||||
'1.3.6.1.4.1.14179.1', # airespace-switching-mib
|
||||
'1.3.6.1.4.1.14179.2', # airespace-wireless-mib
|
||||
);
|
||||
|
||||
sub init {
|
||||
my $self = shift;
|
||||
if ($self->{productname} =~ /Cisco NX-OS/i) {
|
||||
bless $self, 'Classes::Cisco::NXOS';
|
||||
$self->debug('using Classes::Cisco::NXOS');
|
||||
} elsif ($self->{productname} =~ /Cisco Controller/i) {
|
||||
bless $self, 'Classes::Cisco::WLC';
|
||||
$self->debug('using Classes::Cisco::WLC');
|
||||
} elsif ($self->{productname} =~ /Cisco.*(IronPort|AsyncOS)/i) {
|
||||
bless $self, 'Classes::Cisco::AsyncOS';
|
||||
$self->debug('using Classes::Cisco::AsyncOS');
|
||||
} elsif ($self->{productname} =~ /Cisco.*Prime Network Control System/i) {
|
||||
bless $self, 'Classes::Cisco::PrimeNCS';
|
||||
$self->debug('using Classes::Cisco::PrimeNCS');
|
||||
} elsif ($self->{productname} =~ /UCOS /i) {
|
||||
bless $self, 'Classes::Cisco::UCOS';
|
||||
$self->debug('using Classes::Cisco::UCOS');
|
||||
} elsif ($self->{productname} =~ /Cisco (PIX|Adaptive) Security Appliance/i) {
|
||||
bless $self, 'Classes::Cisco::ASA';
|
||||
$self->debug('using Classes::Cisco::ASA');
|
||||
} elsif ($self->{productname} =~ /Cisco/i) {
|
||||
bless $self, 'Classes::Cisco::IOS';
|
||||
$self->debug('using Classes::Cisco::IOS');
|
||||
} elsif ($self->{productname} =~ /Fujitsu Intelligent Blade Panel 30\/12/i) {
|
||||
bless $self, 'Classes::Cisco::IOS';
|
||||
$self->debug('using Classes::Cisco::IOS');
|
||||
} elsif ($self->get_snmp_object('MIB-2-MIB', 'sysObjectID', 0) eq '1.3.6.1.4.1.9.1.1348') {
|
||||
bless $self, 'Classes::Cisco::CCM';
|
||||
$self->debug('using Classes::Cisco::CCM');
|
||||
} elsif ($self->get_snmp_object('MIB-2-MIB', 'sysObjectID', 0) eq '1.3.6.1.4.1.9.1.746') {
|
||||
bless $self, 'Classes::Cisco::CCM';
|
||||
$self->debug('using Classes::Cisco::CCM');
|
||||
} elsif ($self->get_snmp_object('MIB-2-MIB', 'sysObjectID', 0) =~ /.1.3.6.1.4.1.9.6.1.83/) {
|
||||
bless $self, 'Classes::Cisco::SB';
|
||||
$self->debug('using Classes::Cisco::SB');
|
||||
}
|
||||
if (ref($self) ne "Classes::Cisco") {
|
||||
$self->init();
|
||||
} else {
|
||||
$self->no_such_mode();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
package Classes::Cisco::CISCOENVMONMIB::Component::PowersupplySubsystem;
|
||||
our @ISA = qw(Monitoring::GLPlugin::SNMP::Item);
|
||||
use strict;
|
||||
|
||||
sub init {
|
||||
my $self = shift;
|
||||
$self->get_snmp_tables('CISCO-ENVMON-MIB', [
|
||||
['supplies', 'ciscoEnvMonSupplyStatusTable', 'Classes::Cisco::CISCOENVMONMIB::Component::PowersupplySubsystem::Powersupply'],
|
||||
]);
|
||||
}
|
||||
|
||||
package Classes::Cisco::CISCOENVMONMIB::Component::PowersupplySubsystem::Powersupply;
|
||||
our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem);
|
||||
use strict;
|
||||
|
||||
sub check {
|
||||
my $self = shift;
|
||||
$self->ensure_index('ciscoEnvMonSupplyStatusIndex');
|
||||
$self->add_info(sprintf 'powersupply %d (%s) is %s',
|
||||
$self->{ciscoEnvMonSupplyStatusIndex},
|
||||
$self->{ciscoEnvMonSupplyStatusDescr},
|
||||
$self->{ciscoEnvMonSupplyState});
|
||||
if ($self->{ciscoEnvMonSupplyState} eq 'notPresent') {
|
||||
} elsif ($self->{ciscoEnvMonSupplyState} eq 'warning') {
|
||||
$self->add_warning();
|
||||
} elsif ($self->{ciscoEnvMonSupplyState} ne 'normal') {
|
||||
$self->add_critical();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
package Classes::Cisco::NXOS::Component::EnvironmentalSubsystem;
|
||||
our @ISA = qw(Monitoring::GLPlugin::SNMP::Item);
|
||||
use strict;
|
||||
|
||||
sub init {
|
||||
my $self = shift;
|
||||
$self->{sensor_subsystem} =
|
||||
Classes::Cisco::CISCOENTITYSENSORMIB::Component::SensorSubsystem->new();
|
||||
if ($self->implements_mib('CISCO-ENTITY-FRU-CONTROL-MIB')) {
|
||||
$self->{fru_subsystem} = Classes::Cisco::CISCOENTITYFRUCONTROLMIB::Component::EnvironmentalSubsystem->new();
|
||||
}
|
||||
}
|
||||
|
||||
sub check {
|
||||
my $self = shift;
|
||||
$self->{sensor_subsystem}->check();
|
||||
if (exists $self->{fru_subsystem}) {
|
||||
$self->{fru_subsystem}->check();
|
||||
}
|
||||
if (! $self->check_messages()) {
|
||||
$self->clear_ok();
|
||||
$self->add_ok("environmental hardware working fine");
|
||||
}
|
||||
}
|
||||
|
||||
sub dump {
|
||||
my $self = shift;
|
||||
$self->{sensor_subsystem}->dump();
|
||||
if (exists $self->{fru_subsystem}) {
|
||||
$self->{fru_subsystem}->dump();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
package Classes::Cisco::WLC;
|
||||
our @ISA = qw(Classes::Cisco);
|
||||
use strict;
|
||||
|
||||
sub init {
|
||||
my $self = shift;
|
||||
if ($self->mode =~ /device::hardware::health/) {
|
||||
$self->analyze_and_check_environmental_subsystem("Classes::Cisco::WLC::Component::EnvironmentalSubsystem");
|
||||
} elsif ($self->mode =~ /device::hardware::load/) {
|
||||
$self->analyze_and_check_cpu_subsystem("Classes::Cisco::WLC::Component::CpuSubsystem");
|
||||
} elsif ($self->mode =~ /device::hardware::memory/) {
|
||||
$self->analyze_and_check_mem_subsystem("Classes::Cisco::WLC::Component::MemSubsystem");
|
||||
} elsif ($self->mode =~ /device::wlan/) {
|
||||
$self->analyze_and_check_wlan_subsystem("Classes::Cisco::WLC::Component::WlanSubsystem");
|
||||
} else {
|
||||
$self->no_such_mode();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
package Classes::F5::F5BIGIP;
|
||||
our @ISA = qw(Classes::F5);
|
||||
use strict;
|
||||
|
||||
sub init {
|
||||
my $self = shift;
|
||||
# gets 11.* and 9.*
|
||||
$self->{sysProductVersion} = $self->get_snmp_object('F5-BIGIP-SYSTEM-MIB', 'sysProductVersion');
|
||||
$self->{sysPlatformInfoMarketingName} = $self->get_snmp_object('F5-BIGIP-SYSTEM-MIB', 'sysPlatformInfoMarketingName');
|
||||
if (! defined $self->{sysProductVersion} ||
|
||||
$self->{sysProductVersion} !~ /^((9)|(10)|(11))/) {
|
||||
$self->{sysProductVersion} = "4";
|
||||
}
|
||||
if ($self->mode =~ /device::hardware::health/) {
|
||||
$self->analyze_and_check_environmental_subsystem("Classes::F5::F5BIGIP::Component::EnvironmentalSubsystem");
|
||||
} elsif ($self->mode =~ /device::hardware::load/) {
|
||||
$self->analyze_and_check_cpu_subsystem("Classes::F5::F5BIGIP::Component::CpuSubsystem");
|
||||
} elsif ($self->mode =~ /device::hardware::memory/) {
|
||||
$self->analyze_and_check_mem_subsystem("Classes::F5::F5BIGIP::Component::MemSubsystem");
|
||||
} elsif ($self->mode =~ /device::lb/) {
|
||||
$self->analyze_and_check_ltm_subsystem();
|
||||
} else {
|
||||
$self->no_such_mode();
|
||||
}
|
||||
}
|
||||
|
||||
sub analyze_ltm_subsystem {
|
||||
my $self = shift;
|
||||
$self->{components}->{ltm_subsystem} =
|
||||
Classes::F5::F5BIGIP::Component::LTMSubsystem->new('sysProductVersion' => $self->{sysProductVersion}, sysPlatformInfoMarketingName => $self->{sysPlatformInfoMarketingName});
|
||||
}
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
package Classes::Foundry::Component::TemperatureSubsystem;
|
||||
our @ISA = qw(Monitoring::GLPlugin::SNMP::Item);
|
||||
use strict;
|
||||
|
||||
sub init {
|
||||
my $self = shift;
|
||||
my $temp = 0;
|
||||
$self->get_snmp_tables('FOUNDRY-SN-AGENT-MIB', [
|
||||
['temperatures', 'snAgentTempTable', 'Classes::Foundry::Component::TemperatureSubsystem::Temperature'],
|
||||
]);
|
||||
foreach(@{$self->{temperatures}}) {
|
||||
$_->{snAgentTempSlotNum} ||= $temp++;
|
||||
$_->{snAgentTempSensorId} ||= 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
package Classes::Foundry::Component::TemperatureSubsystem::Temperature;
|
||||
our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem);
|
||||
use strict;
|
||||
|
||||
sub check {
|
||||
my $self = shift;
|
||||
$self->{snAgentTempValue} /= 2;
|
||||
$self->add_info(sprintf 'temperature %s is %.2fC',
|
||||
$self->{snAgentTempSlotNum}, $self->{snAgentTempValue});
|
||||
$self->set_thresholds(warning => 60, critical => 70);
|
||||
$self->add_message($self->check_thresholds($self->{snAgentTempValue}));
|
||||
$self->add_perfdata(
|
||||
label => 'temperature_'.$self->{snAgentTempSlotNum},
|
||||
value => $self->{snAgentTempValue},
|
||||
);
|
||||
}
|
||||
|
|
@ -1,57 +0,0 @@
|
|||
package Classes::HH3C::Component::EnvironmentalSubsystem;
|
||||
our @ISA = qw(Classes::HH3C::Component::EntitySubsystem);
|
||||
use strict;
|
||||
|
||||
sub init {
|
||||
my $self = shift;
|
||||
|
||||
$self->get_entities('Classes::HH3C::Component::EnvironmentalSubsystem::EntityState');
|
||||
|
||||
my $i = 0;
|
||||
foreach my $h ($self->get_sub_table('HH3C-ENTITY-EXT-MIB', [ 'hh3cEntityExtErrorStatus' ])) {
|
||||
foreach (keys %$h) {
|
||||
next if $_ =~ /indices/;
|
||||
@{$self->{entities}}[$i]->{$_} = $h->{$_};
|
||||
}
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
|
||||
sub check {
|
||||
my $self = shift;
|
||||
|
||||
$self->add_info('checking entities');
|
||||
if (scalar (@{$self->{entities}}) == 0) {
|
||||
$self->add_unknown('no entities found');
|
||||
} else {
|
||||
foreach (@{$self->{entities}}) {
|
||||
$_->check();
|
||||
}
|
||||
if (! $self->check_messages()) {
|
||||
$self->add_ok("environmental hardware working fine");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
package Classes::HH3C::Component::EnvironmentalSubsystem::EntityState;
|
||||
our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem);
|
||||
use strict;
|
||||
|
||||
sub check {
|
||||
my $self = shift;
|
||||
$self->add_info(sprintf '%s (%s) is %s',
|
||||
$self->{entPhysicalDescr},
|
||||
$self->{entPhysicalClass},
|
||||
$self->{hh3cEntityExtErrorStatus});
|
||||
|
||||
if ($self->{hh3cEntityExtErrorStatus} eq "normal") {
|
||||
$self->add_ok();
|
||||
} elsif (
|
||||
$self->{hh3cEntityExtErrorStatus} eq "entityAbsent" or
|
||||
$self->{hh3cEntityExtErrorStatus} =~ /^sfp/
|
||||
) {
|
||||
$self->add_warning();
|
||||
} else {
|
||||
$self->add_critical();
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
package Classes::HOSTRESOURCESMIB::Component::EnvironmentalSubsystem;
|
||||
our @ISA = qw(Monitoring::GLPlugin::SNMP::Item);
|
||||
use strict;
|
||||
|
||||
sub init {
|
||||
my $self = shift;
|
||||
$self->{disk_subsystem} =
|
||||
Classes::HOSTRESOURCESMIB::Component::DiskSubsystem->new();
|
||||
}
|
||||
|
||||
sub check {
|
||||
my $self = shift;
|
||||
$self->{disk_subsystem}->check();
|
||||
if (! $self->check_messages()) {
|
||||
$self->add_ok("environmental hardware working fine");
|
||||
}
|
||||
}
|
||||
|
||||
sub dump {
|
||||
my $self = shift;
|
||||
$self->{disk_subsystem}->dump();
|
||||
}
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
package Classes::HOSTRESOURCESMIB::Component::MemSubsystem;
|
||||
our @ISA = qw(Monitoring::GLPlugin::SNMP::Item);
|
||||
use strict;
|
||||
|
||||
sub init {
|
||||
my $self = shift;
|
||||
$self->get_snmp_tables('HOST-RESOURCES-MIB', [
|
||||
['storagesram', 'hrStorageTable', 'Classes::HOSTRESOURCESMIB::Component::MemSubsystem::Ram', sub { return shift->{hrStorageType} eq 'hrStorageRam' } ],
|
||||
]);
|
||||
}
|
||||
|
||||
package Classes::HOSTRESOURCESMIB::Component::MemSubsystem::Ram;
|
||||
our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem);
|
||||
use strict;
|
||||
|
||||
sub check {
|
||||
my $self = shift;
|
||||
my $used = 100;
|
||||
eval {
|
||||
$used = 100 * $self->{hrStorageUsed} / $self->{hrStorageSize};
|
||||
};
|
||||
$self->add_info(sprintf 'memory %s (%s) usage is %.2f%%',
|
||||
$self->{hrStorageIndex},
|
||||
$self->{hrStorageDescr},
|
||||
$used);
|
||||
my $label = sprintf 'memory_%s_usage', $self->{hrStorageDescr};
|
||||
$self->set_thresholds(metric => $label, warning => '10:', critical => '5:');
|
||||
$self->add_message($self->check_thresholds(metric => $label,
|
||||
value => $used));
|
||||
$self->add_perfdata(
|
||||
label => $label,
|
||||
value => $used,
|
||||
uom => '%',
|
||||
);
|
||||
}
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
package Classes::HP::Procurve::Component::EnvironmentalSubsystem;
|
||||
our @ISA = qw(Monitoring::GLPlugin::SNMP::Item);
|
||||
use strict;
|
||||
|
||||
sub init {
|
||||
my $self = shift;
|
||||
$self->analyze_and_check_sensor_subsystem('Classes::HP::Procurve::Component::SensorSubsystem');
|
||||
if (! $self->check_messages()) {
|
||||
$self->add_ok("environmental hardware working fine");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
package Classes::IPMIB::Component::RoutingSubsystem;
|
||||
our @ISA = qw(Monitoring::GLPlugin::SNMP::Item);
|
||||
use strict;
|
||||
|
||||
sub init {
|
||||
my $self = shift;
|
||||
$self->{interfaces} = [];
|
||||
$self->get_snmp_tables('IP-MIB', [
|
||||
['routes', 'ipRouteTable', 'Classes::IPMIB::Component::RoutingSubsystem::Route' ],
|
||||
]);
|
||||
}
|
||||
|
||||
sub check {
|
||||
my $self = shift;
|
||||
$self->add_info('checking routes');
|
||||
if ($self->mode =~ /device::routes::list/) {
|
||||
foreach (@{$self->{routes}}) {
|
||||
$_->list();
|
||||
}
|
||||
$self->add_ok("have fun");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
package Classes::IPMIB::Component::RoutingSubsystem::Route;
|
||||
our @ISA = qw(Monitoring::GLPlugin::SNMP::TableItem);
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
package Classes::UPNP::AVM;
|
||||
our @ISA = qw(Classes::UPNP);
|
||||
use strict;
|
||||
|
||||
sub init {
|
||||
my $self = shift;
|
||||
if ($self->{productname} =~ /7390/) {
|
||||
bless $self, 'Classes::UPNP::AVM::FritzBox7390';
|
||||
$self->debug('using Classes::UPNP::AVM::FritzBox7390');
|
||||
} else {
|
||||
$self->no_such_model();
|
||||
}
|
||||
if (ref($self) ne "Classes::UPNP::AVM") {
|
||||
$self->init();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,3 +1,183 @@
|
|||
* 2018-03-13 7.0.1.1
|
||||
fix a bug in cisco enhanced mempool mib and posixmem (thx sabedevops)
|
||||
* 2018-03-07 7.0.1
|
||||
improve f5, add ha-role, check-config, count-connections
|
||||
* 2018-03-01 7.0.0.7
|
||||
update GLPlugin
|
||||
* 2018-02-26 7.0.0.6
|
||||
ignore free space of iso mounts in hostresource mib
|
||||
* 2018-02-06 7.0.0.5
|
||||
fix a bug in hostresourcesmib memory calc. (arista eos)
|
||||
* 2018-02-08 7.0.0.5
|
||||
update glplugn, add modes encode/decode, rfc3986
|
||||
* 2018-01-23 7.0.0.4
|
||||
merge pull request #164 (simonmeggle)
|
||||
add bluecoat asg fix from Stefan Kublik
|
||||
* 2018-01-12 7.0.0.3
|
||||
check the clock of checkpoint fw
|
||||
* 2018-01-11 7.0.0.2
|
||||
fix a bug in checkpoint vpn-status
|
||||
* 2018-01-08 7.0.0.1
|
||||
update glplugin
|
||||
* 2018-01-05 7.0
|
||||
code improvements, fix hh3c entities
|
||||
* 2017-12-27 6.4.4.1
|
||||
fix f5 versions
|
||||
* 2017-12-21 6.4.4
|
||||
add interface-duplex
|
||||
* 2017-12-15 6.4.3.3
|
||||
fix a bug in vsx-firewall1-fork
|
||||
* 2017-12-14 6.4.3.2
|
||||
update glplugin
|
||||
* 2017-12-14 6.4.3.1
|
||||
update glplugin
|
||||
* 2017-12-12 6.4.3
|
||||
add checkpoint ha-status, fix checkpoint vpn-status
|
||||
* 2017-11-27 6.4.2.3
|
||||
rewrite pretty_sysdesc
|
||||
* 2017-11-23 6.4.2.2
|
||||
updateGLPlugin (remove session timeout)
|
||||
* 2017-11-20 6.4.2.1
|
||||
updateGLPlugin
|
||||
* 2017-11-03 6.4.2
|
||||
implement pool-completeness for f5-gtm-pools (--role gtm)
|
||||
* 2017-09-29 6.4.1.7
|
||||
ignore dummy filesystems in HOSTRESOURCEMIBS
|
||||
* 2017-09-23 6.4.1.6
|
||||
get ospf table twice if a 2nd contect exists
|
||||
* 2017-09-22 6.4.1.5
|
||||
update GLPlugin (use 2nd context for OSPF)
|
||||
* 2017-09-21 6.4.1.4
|
||||
fix interface-stack-status, arista's ifStackTable was buggy
|
||||
* 2017-09-18 6.4.1.3
|
||||
blacklist l3 routing card (and power supply) if a nexus is used as l2 switch
|
||||
* 2017-09-16 6.4.1.2
|
||||
workaround for CSCuv18572
|
||||
* 2017-09-13 6.4.1.1
|
||||
fix hostresourcemib, interface sit0 can be down by default
|
||||
(is disabled in Cisco UC)
|
||||
* 2017-08-25 6.4.1
|
||||
add vpn-status for checkpoint
|
||||
* 2017-08-25 6.4.0.4
|
||||
fix brocade aliasing in interface-status
|
||||
* 2017-08-24 6.4.0.3
|
||||
fix brocade alias aliasing
|
||||
* 2017-08-24 6.4.0.2
|
||||
update glplugin, sw-mib fix
|
||||
* 2017-08-24 6.4.0.1
|
||||
replace empty ifAlias with swFCPortName for FabOS (Brocade) devices
|
||||
merge pr #147, thanks arigaud. skip undef temperatured of foundry devices
|
||||
implement eltex gear (pull request #144)
|
||||
fix a perl-undef in Juniper BGP (pull request #143)
|
||||
nsPowerDesc can be null (pullrequest #134)
|
||||
* 2017-08-07 6.3.0.8
|
||||
fix C3750 redundant power supplies
|
||||
* 2017-08-04 6.3.0.7
|
||||
fix undefined thresholds in arista sensors
|
||||
* 2017-07-17 6.3.0.6
|
||||
fix false positives in cisco ethernet service modules SM-ES3G-24-P
|
||||
allow mitigation of cisco disabled catalyst power supplies
|
||||
* 2017-06-28 6.3.0.5
|
||||
allow mitigation of a subLayerDown stack
|
||||
* 2017-06-20 6.3.0.4
|
||||
update GLPlugin (lcos-mib)
|
||||
* 2017-06-19 6.3.0.3
|
||||
ring redundancy is ok if the stack has only one member
|
||||
* 2017-06-09 6.3.0.2
|
||||
fix a bug in f5 member connections (Thanks Yannick Charton)
|
||||
skip ifIndex in interface-stack-status (makes nexus crash)
|
||||
* 2017-06-07 6.3.0.1
|
||||
update glplugin
|
||||
* 2017-06-01 6.3
|
||||
update glplugin
|
||||
add Lancom
|
||||
* 2017-05-19 6.2.2.3
|
||||
workaround for ios 12.x and buggy ifstacktable
|
||||
* 2017-05-17 6.2.2.2
|
||||
and fix list-interfaces...
|
||||
* 2017-05-17 6.2.2.1
|
||||
fix --name for non-uinique indices
|
||||
* 2017-05-17 6.2.2
|
||||
add an index to ifDescr which have no unique names
|
||||
* 2017-05-15 6.2.1.5
|
||||
GLPlugin update
|
||||
* 2017-05-12 6.2.1.4
|
||||
GLPlugin update
|
||||
* 2017-05-12 6.2.1.3
|
||||
fix a bug in interface-health
|
||||
* 2017-05-12 6.2.1.2
|
||||
fix a bug in interface-availability
|
||||
* 2017-05-09 6.2.1.1
|
||||
fix interface etherstats, stacks
|
||||
add fortigate disks
|
||||
* 2017-05-03 6.2.0.2
|
||||
fix a bug in interface-health and 10GE ports.
|
||||
* 2017-04-26 6.2.0.1
|
||||
use carrier if operstatus is unknown for linuxlocal interfaces
|
||||
add dummy speed to linux virtio interfaces
|
||||
* 2017-04-18 6.2.0
|
||||
add support for junox bgp with ipv6, thanks dupondje
|
||||
fix a bug in bluecoat, allow warningx now
|
||||
* 2017-04-15 6.1.1
|
||||
support Brocade Ironport and enhance FOUNDRY-SN-AGENT-MIB
|
||||
* 2017-04-13 6.1.0.3
|
||||
reverse hrStorage mem thresholds
|
||||
* 2017-03-30 6.1.0.2
|
||||
fix a bug in 64bit interface-usage (Thanks Julian)
|
||||
* 2017-03-27 6.1.0.1
|
||||
pdate GLPlugin
|
||||
* 2017-03-25 6.1
|
||||
update entity-sensor-mib
|
||||
* 2017-03-24 6.0.2.3
|
||||
bugfixes in interface etherstats
|
||||
* 2017-03-22 6.0.2.2
|
||||
bugfix in etherstats for 32bit
|
||||
better error message for no access points found
|
||||
replace continue by next. failed on older distributions
|
||||
* 2017-03-20 6.0.2.1
|
||||
fix brocade fabos cpu/memory with MAPS installed
|
||||
* 2017-03-19 6.0.2
|
||||
improve interface-etherstats
|
||||
* 2017-03-10 6.0.1.4
|
||||
update GLPlugin
|
||||
* 2017-03-03 6.0.1.3
|
||||
fix uninitialized-bug
|
||||
* 2017-03-03 6.0.1.2
|
||||
special treatment for counterless StackSub interfaces
|
||||
* 2017-03-03 6.0.1.1
|
||||
Merge pull request #126 from ciscoqid/patch-1
|
||||
* 2017-03-02 6.0.1
|
||||
remove steelhead prettyprint
|
||||
* 2017-02-24 6.0
|
||||
cisco chassis check snmp tuning
|
||||
fix cisco-envmon-mib
|
||||
nxos hardware check snmp tuning
|
||||
fix cisco wlan no-ap clustercheck
|
||||
detect more f5 models
|
||||
add f5 wide ip check
|
||||
improve host-resource-mib
|
||||
speedup interface checks
|
||||
add interface-etherstats
|
||||
add ha-status for juniper vsd members
|
||||
customer release #12.2a
|
||||
add mode interface-stack-status
|
||||
add riverbed steelhead
|
||||
* 2017-02-10 5.13
|
||||
bugfix in f5 output message
|
||||
make f5 perfdata labels more consistent
|
||||
checkpoint multicore. Thanks Peter Hanraets
|
||||
* 2017-01-28 5.12.0.5
|
||||
fix pool checks for big-ip 12.x (thanks abzeidler)
|
||||
* 2017-01-27 5.12.0.4
|
||||
fallback to ios if cisco wlc has no cpu/mem oids
|
||||
bugfix in chassis-hardware-health delta of ports
|
||||
bugfix in chassis-hardware-health duplicate fan output
|
||||
* 2017-01-27 5.12.0.3
|
||||
fix cisco wlc ap admin status
|
||||
* 2017-01-26 5.12.0.2
|
||||
detect more cisco wireless controllers
|
||||
* 2017-01-18 5.12.0.1
|
||||
update GLPlugin (uptime)
|
||||
* 2017-01-11 5.12
|
||||
detect checkpoint gaia
|
||||
* 2016-12-28 5.11.3
|
|
@ -12,8 +12,15 @@ use File::Basename;
|
|||
use Digest::MD5 qw(md5_hex);
|
||||
use Errno;
|
||||
use Data::Dumper;
|
||||
$Data::Dumper::Indent = 1;
|
||||
eval {
|
||||
# avoid "used only once" because older Data::Dumper don't have this
|
||||
# use OMD please because OMD has everything!
|
||||
no warnings 'all';
|
||||
$Data::Dumper::Sparseseen = 1;
|
||||
};
|
||||
our $AUTOLOAD;
|
||||
*VERSION = \'2.3.8.1';
|
||||
*VERSION = \'3.0.2.2';
|
||||
|
||||
use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 };
|
||||
|
||||
|
@ -43,6 +50,14 @@ sub new {
|
|||
return $self;
|
||||
}
|
||||
|
||||
sub rebless {
|
||||
my ($self, $class) = @_;
|
||||
bless $self, $class;
|
||||
$self->debug('using '.$class);
|
||||
# gilt nur fuer "echte" Fabrikate mit "Classes::" vorndran
|
||||
$self->{classified_as} = ref($self) if $class !~ /^Monitoring::GLPlugin/;
|
||||
}
|
||||
|
||||
sub init {
|
||||
my ($self) = @_;
|
||||
if ($self->opts->can("blacklist") && $self->opts->blacklist &&
|
||||
|
@ -118,18 +133,21 @@ sub add_default_args {
|
|||
help => "--name
|
||||
The name of a specific component to check",
|
||||
required => 0,
|
||||
decode => "rfc3986",
|
||||
);
|
||||
$self->add_arg(
|
||||
spec => 'name2=s',
|
||||
help => "--name2
|
||||
The secondary name of a component",
|
||||
required => 0,
|
||||
decode => "rfc3986",
|
||||
);
|
||||
$self->add_arg(
|
||||
spec => 'name3=s',
|
||||
help => "--name3
|
||||
The tertiary name of a component",
|
||||
required => 0,
|
||||
decode => "rfc3986",
|
||||
);
|
||||
$self->add_arg(
|
||||
spec => 'extra-opts=s',
|
||||
|
@ -177,6 +195,7 @@ sub add_default_args {
|
|||
help => '--morphmessage
|
||||
Modify the final output message',
|
||||
required => 0,
|
||||
decode => "rfc3986",
|
||||
);
|
||||
$self->add_arg(
|
||||
spec => 'morphperfdata=s%',
|
||||
|
@ -185,6 +204,7 @@ sub add_default_args {
|
|||
It's a perl regexp and a substitution.
|
||||
Example: --morphperfdata '(.*)ISATAP(.*)'='\$1patasi\$2'",
|
||||
required => 0,
|
||||
decode => "rfc3986",
|
||||
);
|
||||
$self->add_arg(
|
||||
spec => 'selectedperfdata=s',
|
||||
|
@ -255,6 +275,31 @@ sub add_default_args {
|
|||
required => 0,
|
||||
hidden => 1,
|
||||
);
|
||||
$self->add_arg(
|
||||
spec => 'tracefile=s',
|
||||
help => "--tracefile
|
||||
Write debugging-info to this file (if it exists)",
|
||||
required => 0,
|
||||
hidden => 1,
|
||||
);
|
||||
}
|
||||
|
||||
sub add_default_modes {
|
||||
my ($self) = @_;
|
||||
$self->add_mode(
|
||||
internal => 'encode',
|
||||
spec => 'encode',
|
||||
alias => undef,
|
||||
help => 'encode stdin',
|
||||
hidden => 1,
|
||||
);
|
||||
$self->add_mode(
|
||||
internal => 'decode',
|
||||
spec => 'decode',
|
||||
alias => undef,
|
||||
help => 'decode stdin or --name',
|
||||
hidden => 1,
|
||||
);
|
||||
}
|
||||
|
||||
sub add_modes {
|
||||
|
@ -395,9 +440,10 @@ sub set_timeout_alarm {
|
|||
my ($self, $timeout, $handler) = @_;
|
||||
$timeout ||= $self->opts->timeout;
|
||||
$handler ||= sub {
|
||||
printf "UNKNOWN - %s timed out after %d seconds\n",
|
||||
$Monitoring::GLPlugin::plugin->{name}, $self->opts->timeout;
|
||||
exit 3;
|
||||
$self->nagios_exit(UNKNOWN,
|
||||
sprintf("%s timed out after %d seconds\n",
|
||||
$Monitoring::GLPlugin::plugin->{name}, $self->opts->timeout)
|
||||
);
|
||||
};
|
||||
use POSIX ':signal_h';
|
||||
if ($^O =~ /MSWin/) {
|
||||
|
@ -429,18 +475,16 @@ sub get_variable {
|
|||
|
||||
sub debug {
|
||||
my ($self, $format, @message) = @_;
|
||||
my $tracefile = "/tmp/".$Monitoring::GLPlugin::pluginname.".trace";
|
||||
$self->{trace} = -f $tracefile ? 1 : 0;
|
||||
if ($self->get_variable("verbose") &&
|
||||
$self->get_variable("verbose") > $self->get_variable("verbosity", 10)) {
|
||||
printf("%s: ", scalar localtime);
|
||||
printf($format, @message);
|
||||
printf "\n";
|
||||
}
|
||||
if ($self->{trace}) {
|
||||
if ($Monitoring::GLPlugin::tracefile) {
|
||||
my $logfh = IO::File->new();
|
||||
$logfh->autoflush(1);
|
||||
if ($logfh->open($tracefile, "a")) {
|
||||
if ($logfh->open($Monitoring::GLPlugin::tracefile, "a")) {
|
||||
$logfh->printf("%s: ", scalar localtime);
|
||||
$logfh->printf($format, @message);
|
||||
$logfh->printf("\n");
|
||||
|
@ -540,21 +584,21 @@ sub accentfree {
|
|||
}
|
||||
|
||||
sub dump {
|
||||
my ($self) = @_;
|
||||
my ($self, $indent) = @_;
|
||||
$indent = $indent ? " " x $indent : "";
|
||||
my $class = ref($self);
|
||||
$class =~ s/^.*:://;
|
||||
if (exists $self->{flat_indices}) {
|
||||
printf "[%s_%s]\n", uc $class, $self->{flat_indices};
|
||||
printf "%s[%s_%s]\n", $indent, uc $class, $self->{flat_indices};
|
||||
} else {
|
||||
printf "[%s]\n", uc $class;
|
||||
printf "%s[%s]\n", $indent, uc $class;
|
||||
}
|
||||
foreach (grep !/^(info|trace|warning|critical|blacklisted|extendedinfo|flat_indices|indices)$/, sort keys %{$self}) {
|
||||
printf "%s: %s\n", $_, $self->{$_} if defined $self->{$_} && ref($self->{$_}) ne "ARRAY";
|
||||
printf "%s%s: %s\n", $indent, $_, $self->{$_} if defined $self->{$_} && ref($self->{$_}) ne "ARRAY";
|
||||
}
|
||||
if ($self->{info}) {
|
||||
printf "info: %s\n", $self->{info};
|
||||
printf "%sinfo: %s\n", $indent, $self->{info};
|
||||
}
|
||||
printf "\n";
|
||||
foreach (grep !/^(info|trace|warning|critical|blacklisted|extendedinfo|flat_indices|indices)$/, sort keys %{$self}) {
|
||||
if (defined $self->{$_} && ref($self->{$_}) eq "ARRAY") {
|
||||
my $have_flat_indices = 1;
|
||||
|
@ -573,8 +617,11 @@ sub dump {
|
|||
$obj->dump() if UNIVERSAL::can($obj, "isa") && $obj->can("dump");
|
||||
}
|
||||
}
|
||||
} elsif (defined $self->{$_} && ref($self->{$_}) =~ /^Classes::/) {
|
||||
$self->{$_}->dump(2) if UNIVERSAL::can($self->{$_}, "isa") && $self->{$_}->can("dump");
|
||||
}
|
||||
}
|
||||
printf "\n";
|
||||
}
|
||||
|
||||
sub table_ascii {
|
||||
|
@ -701,15 +748,6 @@ sub load_my_extension {
|
|||
}
|
||||
}
|
||||
|
||||
sub decode_password {
|
||||
my ($self, $password) = @_;
|
||||
if ($password && $password =~ /^rfc3986:\/\/(.*)/) {
|
||||
$password = $1;
|
||||
$password =~ s/%([A-Za-z0-9]{2})/chr(hex($1))/seg;
|
||||
}
|
||||
return $password;
|
||||
}
|
||||
|
||||
sub number_of_bits {
|
||||
my ($self, $unit) = @_;
|
||||
# https://en.wikipedia.org/wiki/Data_rate_units
|
||||
|
@ -780,6 +818,12 @@ sub getopts {
|
|||
# (insb. fuer dbi disconnect) steht dann $self->opts->verbose
|
||||
# nicht mehr zur verfuegung bzw. $Monitoring::GLPlugin::plugin->opts ist undef.
|
||||
$self->set_variable("verbose", $self->opts->verbose);
|
||||
$Monitoring::GLPlugin::tracefile = $self->opts->tracefile ?
|
||||
$self->opts->tracefile :
|
||||
$self->system_tmpdir()."/".$Monitoring::GLPlugin::pluginname.".trace";
|
||||
if (! -f $Monitoring::GLPlugin::tracefile) {
|
||||
$Monitoring::GLPlugin::tracefile = undef;
|
||||
}
|
||||
#
|
||||
# die gueltigkeit von modes wird bereits hier geprueft und nicht danach
|
||||
# in validate_args. (zwischen getopts und validate_args wird
|
||||
|
@ -833,7 +877,7 @@ sub getopts {
|
|||
# der fliegt raus, sonst gehts gleich wieder in needs_restart rein
|
||||
next if $option eq "runas";
|
||||
foreach my $spec (map { $_->{spec} } @{$Monitoring::GLPlugin::plugin->opts->{_args}}) {
|
||||
if ($spec =~ /^(\w+)=(.*)/) {
|
||||
if ($spec =~ /^(\w+)[\|\w+]*=(.*)/) {
|
||||
if ($1 eq $option && $2 =~ /s%/) {
|
||||
foreach (keys %{$self->opts->$option()}) {
|
||||
push(@restart_opts, sprintf "--%s", $option);
|
||||
|
@ -1033,7 +1077,7 @@ sub is_blacklisted {
|
|||
}
|
||||
} else {
|
||||
foreach my $bl_items (split(/\//, $self->opts->blacklist)) {
|
||||
if ($bl_items =~ /^(\w+):([\:\d\-,]+)$/) {
|
||||
if ($bl_items =~ /^(\w+):([\:\d\-\.,]+)$/) {
|
||||
my $bl_type = $1;
|
||||
my $bl_names = $2;
|
||||
foreach my $bl_name (split(/,/, $bl_names)) {
|
||||
|
@ -1215,8 +1259,10 @@ sub valdiff {
|
|||
}
|
||||
}
|
||||
if ($mode eq "normal" || $mode eq "lookback" || $mode eq "lookback_freeze_chill") {
|
||||
if ($self->{$_} =~ /^\d+\.*\d*$/) {
|
||||
$last_values->{$_} = 0 if ! exists $last_values->{$_};
|
||||
if (exists $self->{$_} && defined $self->{$_} && $self->{$_} =~ /^\d+\.*\d*$/) {
|
||||
# $VAR1 = { 'sysStatTmSleepCycles' => '',
|
||||
# no idea why this happens, but we can repair it.
|
||||
$last_values->{$_} = $self->{$_} if ! (exists $last_values->{$_} && defined $last_values->{$_} && $last_values->{$_} ne "");
|
||||
if ($self->{$_} >= $last_values->{$_}) {
|
||||
$self->{'delta_'.$_} = $self->{$_} - $last_values->{$_};
|
||||
} elsif ($self->{$_} eq $last_values->{$_}) {
|
||||
|
@ -1263,6 +1309,13 @@ sub valdiff {
|
|||
my @lost = grep(!defined $current{$_}, @{$last_values->{$_}});
|
||||
$self->{'delta_found_'.$_} = \@found;
|
||||
$self->{'delta_lost_'.$_} = \@lost;
|
||||
} else {
|
||||
# nicht ganz sauber, aber das artet aus, wenn man jedem uninitialized hinterherstochert.
|
||||
# wem das nicht passt, der kann gerne ein paar tage debugging beauftragen.
|
||||
# das kostet aber mehr als drei kugeln eis.
|
||||
$last_values->{$_} = 0 if ! (exists $last_values->{$_} && defined $last_values->{$_} && $last_values->{$_} ne "");
|
||||
$self->{$_} = 0 if ! (exists $self->{$_} && defined $self->{$_} && $self->{$_} ne "");
|
||||
$self->{'delta_'.$_} = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1363,12 +1416,14 @@ sub protect_value {
|
|||
if (ref($validfunc) ne "CODE" && $validfunc eq "percent") {
|
||||
$validfunc = sub {
|
||||
my $value = shift;
|
||||
return 0 if ! defined $value;
|
||||
return 0 if $value !~ /^[-+]?([0-9]+(\.[0-9]+)?|\.[0-9]+)$/;
|
||||
return ($value < 0 || $value > 100) ? 0 : 1;
|
||||
};
|
||||
} elsif (ref($validfunc) ne "CODE" && $validfunc eq "positive") {
|
||||
$validfunc = sub {
|
||||
my $value = shift;
|
||||
return 0 if ! defined $value;
|
||||
return 0 if $value !~ /^[-+]?([0-9]+(\.[0-9]+)?|\.[0-9]+)$/;
|
||||
return ($value < 0) ? 0 : 1;
|
||||
};
|
||||
|
@ -1427,7 +1482,7 @@ sub load_state {
|
|||
require $statefile;
|
||||
};
|
||||
if($@) {
|
||||
printf "rumms\n";
|
||||
printf "FATAL: Could not load state!\n";
|
||||
}
|
||||
$self->debug(sprintf "load %s from %s", Data::Dumper::Dumper($VAR1), $statefile);
|
||||
return $VAR1;
|
||||
|
@ -1610,7 +1665,6 @@ sub compatibility_methods {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
sub AUTOLOAD {
|
||||
my ($self, @params) = @_;
|
||||
return if ($AUTOLOAD =~ /DESTROY/);
|
||||
|
@ -1638,7 +1692,7 @@ sub AUTOLOAD {
|
|||
$self->{components}->{$subsystem}->check();
|
||||
$self->{components}->{$subsystem}->dump()
|
||||
if $self->opts->verbose >= 2;
|
||||
} elsif ($AUTOLOAD =~ /^.*::(status_code|check_messages|nagios_exit|html_string|perfdata_string|selected_perfdata|check_thresholds|get_thresholds|opts|pandora_string)$/) {
|
||||
} elsif ($AUTOLOAD =~ /^.*::(status_code|check_messages|nagios_exit|html_string|perfdata_string|selected_perfdata|check_thresholds|get_thresholds|opts|pandora_string|strequal)$/) {
|
||||
return $Monitoring::GLPlugin::plugin->$1(@params);
|
||||
} elsif ($AUTOLOAD =~ /^.*::(reduce_messages|reduce_messages_short|clear_messages|suppress_messages|add_html|add_perfdata|override_opt|create_opt|set_thresholds|force_thresholds|add_pandora)$/) {
|
||||
$Monitoring::GLPlugin::plugin->$1(@params);
|
|
@ -60,17 +60,15 @@ sub DESTROY {
|
|||
|
||||
sub debug {
|
||||
my ($self, $format, @message) = @_;
|
||||
my $tracefile = "/tmp/".$Monitoring::GLPlugin::pluginname.".trace";
|
||||
$self->{trace} = -f $tracefile ? 1 : 0;
|
||||
if ($self->opts->verbose && $self->opts->verbose > 10) {
|
||||
printf("%s: ", scalar localtime);
|
||||
printf($format, @message);
|
||||
printf "\n";
|
||||
}
|
||||
if ($self->{trace}) {
|
||||
if ($Monitoring::GLPlugin::tracefile) {
|
||||
my $logfh = IO::File->new();
|
||||
$logfh->autoflush(1);
|
||||
if ($logfh->open($tracefile, "a")) {
|
||||
if ($logfh->open($Monitoring::GLPlugin::tracefile, "a")) {
|
||||
$logfh->printf("%s: ", scalar localtime);
|
||||
$logfh->printf($format, @message);
|
||||
$logfh->printf("\n");
|
||||
|
@ -395,6 +393,19 @@ sub nagios_exit {
|
|||
}
|
||||
}
|
||||
}
|
||||
if ($self->opts->negate) {
|
||||
# negate again: --negate "UNKNOWN - no peers"=ok
|
||||
my $original_code = $code;
|
||||
foreach my $from (keys %{$self->opts->negate}) {
|
||||
if ((uc $from) !~ /^(OK|WARNING|CRITICAL|UNKNOWN)$/ &&
|
||||
(uc $self->opts->negate->{$from}) =~ /^(OK|WARNING|CRITICAL|UNKNOWN)$/) {
|
||||
if ($output =~ /$from/) {
|
||||
$code = $ERRORS{uc $self->opts->negate->{$from}};
|
||||
$output =~ s/^.*? -/$STATUS_TEXT{$code} -/;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
$output =~ s/\|/!/g if $output;
|
||||
if (scalar (@{$self->{perfdata}})) {
|
||||
$output .= " | ".$self->perfdata_string();
|
||||
|
@ -585,6 +596,15 @@ sub check_thresholds {
|
|||
return $level;
|
||||
}
|
||||
|
||||
sub strequal {
|
||||
my($self, $str1, $str2) = @_;
|
||||
return 1 if ! defined $str1 && ! defined $str2;
|
||||
return 0 if ! defined $str1 && defined $str2;
|
||||
return 0 if defined $str1 && ! defined $str2;
|
||||
return 1 if $str1 eq $str2;
|
||||
return 0;
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
__END__
|
|
@ -82,6 +82,15 @@ sub new {
|
|||
$self->_init(@params);
|
||||
}
|
||||
|
||||
sub decode_rfc3986 {
|
||||
my ($self, $password) = @_;
|
||||
if ($password && $password =~ /^rfc3986:\/\/(.*)/) {
|
||||
$password = $1;
|
||||
$password =~ s/%([A-Za-z0-9]{2})/chr(hex($1))/seg;
|
||||
}
|
||||
return $password;
|
||||
}
|
||||
|
||||
sub add_arg {
|
||||
my ($self, %arg) = @_;
|
||||
push (@{$self->{_args}}, \%arg);
|
||||
|
@ -165,6 +174,17 @@ sub getopts {
|
|||
return $self->{opts}->{$aliasfield};
|
||||
};
|
||||
}
|
||||
foreach (grep { exists $_->{decode} } @{$self->{_args}}) {
|
||||
my $decoding = $_->{decode};
|
||||
$_->{spec} =~ /^([\w\-]+)/;
|
||||
my $spec = $1;
|
||||
if (exists $self->{opts}->{$spec}) {
|
||||
if ($decoding eq "rfc3986") {
|
||||
$self->{opts}->{$spec} =
|
||||
$self->decode_rfc3986($self->{opts}->{$spec});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load diff
|
@ -5,6 +5,9 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'AIRESPACE-SWITCHING-MIB'} =
|
|||
name => 'AIRESPACE-SWITCHING-MIB',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'AIRESPACE-SWITCHING-MIB'} =
|
||||
'1.3.6.1.4.1.14179.1';
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'AIRESPACE-SWITCHING-MIB'} = {
|
||||
'bsnSwitching' => '1.3.6.1.4.1.14179.1',
|
||||
'agentInfoGroup' => '1.3.6.1.4.1.14179.1.1',
|
|
@ -5,6 +5,9 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'AIRESPACE-WIRELESS-MIB'} = {
|
|||
name => 'AIRESPACE-WIRELESS-MIB',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'AIRESPACE-WIRELESS-MIB'} =
|
||||
'1.3.6.1.4.1.14179.2';
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'AIRESPACE-WIRELESS-MIB'} = {
|
||||
'bsnWireless' => '1.3.6.1.4.1.14179.2',
|
||||
'bsnEss' => '1.3.6.1.4.1.14179.2.1',
|
||||
|
@ -319,6 +322,10 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'AIRESPACE-WIRELESS-MI
|
|||
'bsnAPCertificateType' => '1.3.6.1.4.1.14179.2.2.1.1.32',
|
||||
'bsnAPEthernetMacAddress' => '1.3.6.1.4.1.14179.2.2.1.1.33',
|
||||
'bsnAPAdminStatus' => '1.3.6.1.4.1.14179.2.2.1.1.37',
|
||||
'bsnAPAdminStatusDefinition' => {
|
||||
'1' => 'enable',
|
||||
'2' => 'disable',
|
||||
},
|
||||
'bsnAPIfTable' => '1.3.6.1.4.1.14179.2.2.2',
|
||||
'bsnAPIfEntry' => '1.3.6.1.4.1.14179.2.2.2.1',
|
||||
'bsnAPIfSlotId' => '1.3.6.1.4.1.14179.2.2.2.1.1',
|
|
@ -0,0 +1,357 @@
|
|||
package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOLWAPPAPMIB;
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'CISCO-LWAPP-AP-MIB'} = {
|
||||
url => '',
|
||||
name => 'CISCO-LWAPP-AP-MIB',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'CISCO-LWAPP-AP-MIB'} =
|
||||
'1.3.6.1.4.1.9.9.513';
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-LWAPP-AP-MIB'} = {
|
||||
ciscoLwappApMIB => '1.3.6.1.4.1.9.9.513',
|
||||
ciscoLwappApMIBNotifs => '1.3.6.1.4.1.9.9.513.0',
|
||||
ciscoLwappApMIBObjects => '1.3.6.1.4.1.9.9.513.1',
|
||||
ciscoLwappAp => '1.3.6.1.4.1.9.9.513.1.1',
|
||||
cLApTable => '1.3.6.1.4.1.9.9.513.1.1.1',
|
||||
cLApEntry => '1.3.6.1.4.1.9.9.513.1.1.1.1',
|
||||
cLApSysMacAddress => '1.3.6.1.4.1.9.9.513.1.1.1.1.1',
|
||||
cLApIfMacAddress => '1.3.6.1.4.1.9.9.513.1.1.1.1.2',
|
||||
cLApMaxNumberOfDot11Slots => '1.3.6.1.4.1.9.9.513.1.1.1.1.3',
|
||||
cLApEntPhysicalIndex => '1.3.6.1.4.1.9.9.513.1.1.1.1.4',
|
||||
cLApName => '1.3.6.1.4.1.9.9.513.1.1.1.1.5',
|
||||
cLApUpTime => '1.3.6.1.4.1.9.9.513.1.1.1.1.6',
|
||||
cLLwappUpTime => '1.3.6.1.4.1.9.9.513.1.1.1.1.7',
|
||||
cLLwappJoinTakenTime => '1.3.6.1.4.1.9.9.513.1.1.1.1.8',
|
||||
cLApMaxNumberOfEthernetSlots => '1.3.6.1.4.1.9.9.513.1.1.1.1.9',
|
||||
cLApPrimaryControllerAddressType => '1.3.6.1.4.1.9.9.513.1.1.1.1.10',
|
||||
cLApPrimaryControllerAddress => '1.3.6.1.4.1.9.9.513.1.1.1.1.11',
|
||||
cLApSecondaryControllerAddressType => '1.3.6.1.4.1.9.9.513.1.1.1.1.12',
|
||||
cLApSecondaryControllerAddress => '1.3.6.1.4.1.9.9.513.1.1.1.1.13',
|
||||
cLApTertiaryControllerAddressType => '1.3.6.1.4.1.9.9.513.1.1.1.1.14',
|
||||
cLApTertiaryControllerAddress => '1.3.6.1.4.1.9.9.513.1.1.1.1.15',
|
||||
cLApLastRebootReason => '1.3.6.1.4.1.9.9.513.1.1.1.1.16',
|
||||
cLApLastRebootReasonDefinition => 'CISCO-LWAPP-AP-MIB::cLApLastRebootReason',
|
||||
cLApEncryptionEnable => '1.3.6.1.4.1.9.9.513.1.1.1.1.18',
|
||||
cLApFailoverPriority => '1.3.6.1.4.1.9.9.513.1.1.1.1.19',
|
||||
cLApFailoverPriorityDefinition => 'CISCO-LWAPP-AP-MIB::cLApFailoverPriority',
|
||||
cLApPowerStatus => '1.3.6.1.4.1.9.9.513.1.1.1.1.20',
|
||||
cLApPowerStatusDefinition => 'CISCO-LWAPP-AP-MIB::cLApPowerStatus',
|
||||
cLApTelnetEnable => '1.3.6.1.4.1.9.9.513.1.1.1.1.21',
|
||||
cLApSshEnable => '1.3.6.1.4.1.9.9.513.1.1.1.1.22',
|
||||
cLApPreStdStateEnabled => '1.3.6.1.4.1.9.9.513.1.1.1.1.23',
|
||||
cLApPwrInjectorStateEnabled => '1.3.6.1.4.1.9.9.513.1.1.1.1.24',
|
||||
cLApPwrInjectorSelection => '1.3.6.1.4.1.9.9.513.1.1.1.1.25',
|
||||
cLApPwrInjectorSelectionDefinition => 'CISCO-LWAPP-AP-MIB::cLApPwrInjectorSelection',
|
||||
cLApPwrInjectorSwMacAddr => '1.3.6.1.4.1.9.9.513.1.1.1.1.26',
|
||||
cLApWipsEnable => '1.3.6.1.4.1.9.9.513.1.1.1.1.27',
|
||||
cLApMonitorModeOptimization => '1.3.6.1.4.1.9.9.513.1.1.1.1.28',
|
||||
cLApMonitorModeOptimizationDefinition => 'CISCO-LWAPP-AP-MIB::cLApMonitorModeOptimization',
|
||||
cLApDomainName => '1.3.6.1.4.1.9.9.513.1.1.1.1.29',
|
||||
cLApNameServerAddressType => '1.3.6.1.4.1.9.9.513.1.1.1.1.30',
|
||||
cLApNameServerAddress => '1.3.6.1.4.1.9.9.513.1.1.1.1.31',
|
||||
cLApAMSDUEnable => '1.3.6.1.4.1.9.9.513.1.1.1.1.32',
|
||||
cLApEncryptionSupported => '1.3.6.1.4.1.9.9.513.1.1.1.1.33',
|
||||
cLApRogueDetectionEnabled => '1.3.6.1.4.1.9.9.513.1.1.1.1.34',
|
||||
cLApTcpMss => '1.3.6.1.4.1.9.9.513.1.1.1.1.35',
|
||||
cLApDataEncryptionStatus => '1.3.6.1.4.1.9.9.513.1.1.1.1.36',
|
||||
cLApNsiKey => '1.3.6.1.4.1.9.9.513.1.1.1.1.37',
|
||||
cLApAdminStatus => '1.3.6.1.4.1.9.9.513.1.1.1.1.38',
|
||||
cLApPortNumber => '1.3.6.1.4.1.9.9.513.1.1.1.1.39',
|
||||
cLApRetransmitCount => '1.3.6.1.4.1.9.9.513.1.1.1.1.40',
|
||||
cLApRetransmitTimeout => '1.3.6.1.4.1.9.9.513.1.1.1.1.41',
|
||||
cLApIfSmtParamTable => '1.3.6.1.4.1.9.9.513.1.1.2',
|
||||
cLApIfSmtParamEntry => '1.3.6.1.4.1.9.9.513.1.1.2.1',
|
||||
cLApIfSmtDot11Bssid => '1.3.6.1.4.1.9.9.513.1.1.2.1.1',
|
||||
cLApCountryTable => '1.3.6.1.4.1.9.9.513.1.1.3',
|
||||
cLApCountryEntry => '1.3.6.1.4.1.9.9.513.1.1.3.1',
|
||||
cLApCountryCode => '1.3.6.1.4.1.9.9.513.1.1.3.1.1',
|
||||
cLApCountryAllowed => '1.3.6.1.4.1.9.9.513.1.1.3.1.2',
|
||||
ciscoLwappApIfRegulatoryDomainMismatchNotifEnabled => '1.3.6.1.4.1.9.9.513.1.1.4',
|
||||
ciscoLwappApCrashEnabled => '1.3.6.1.4.1.9.9.513.1.1.5',
|
||||
ciscoLwappApUnsupportedEnabled => '1.3.6.1.4.1.9.9.513.1.1.6',
|
||||
ciscoLwappApAssociatedEnabled => '1.3.6.1.4.1.9.9.513.1.1.7',
|
||||
ciscoLwappApIf => '1.3.6.1.4.1.9.9.513.1.2',
|
||||
cLApDot11IfTable => '1.3.6.1.4.1.9.9.513.1.2.1',
|
||||
cLApDot11IfEntry => '1.3.6.1.4.1.9.9.513.1.2.1.1',
|
||||
cLApDot11IfSlotId => '1.3.6.1.4.1.9.9.513.1.2.1.1.1',
|
||||
cLApDot11IfType => '1.3.6.1.4.1.9.9.513.1.2.1.1.2',
|
||||
cLApDot11IfRegDomain => '1.3.6.1.4.1.9.9.513.1.2.1.1.3',
|
||||
cLApDot11nSupport => '1.3.6.1.4.1.9.9.513.1.2.1.1.4',
|
||||
cLAp11nChannelBandwidth => '1.3.6.1.4.1.9.9.513.1.2.1.1.5',
|
||||
cLAp11nChannelBandwidthDefinition => 'CISCO-LWAPP-AP-MIB::cLAp11nChannelBandwidth',
|
||||
cLApLomEnabled => '1.3.6.1.4.1.9.9.513.1.2.1.1.6',
|
||||
cLApLomFirstChannel => '1.3.6.1.4.1.9.9.513.1.2.1.1.7',
|
||||
cLApLomSecondChannel => '1.3.6.1.4.1.9.9.513.1.2.1.1.8',
|
||||
cLApLomThirdChannel => '1.3.6.1.4.1.9.9.513.1.2.1.1.9',
|
||||
cLApLomFourthChannel => '1.3.6.1.4.1.9.9.513.1.2.1.1.10',
|
||||
cLApExtensionChannel => '1.3.6.1.4.1.9.9.513.1.2.1.1.11',
|
||||
cLApLegacyBeamForming => '1.3.6.1.4.1.9.9.513.1.2.1.1.12',
|
||||
cLApLegacyBeamFormingDefinition => 'CISCO-LWAPP-AP-MIB::cLApLegacyBeamForming',
|
||||
cLApCdpOverAirEnabled => '1.3.6.1.4.1.9.9.513.1.2.1.1.13',
|
||||
cLApDot11IfAdminStatus => '1.3.6.1.4.1.9.9.513.1.2.1.1.14',
|
||||
cLApEthernetIfTable => '1.3.6.1.4.1.9.9.513.1.2.2',
|
||||
cLApEthernetIfEntry => '1.3.6.1.4.1.9.9.513.1.2.2.1',
|
||||
cLApEthernetIfSlotId => '1.3.6.1.4.1.9.9.513.1.2.2.1.1',
|
||||
cLApEthernetIfName => '1.3.6.1.4.1.9.9.513.1.2.2.1.2',
|
||||
cLApEthernetIfMacAddress => '1.3.6.1.4.1.9.9.513.1.2.2.1.3',
|
||||
cLApEthernetIfAdminStatus => '1.3.6.1.4.1.9.9.513.1.2.2.1.4',
|
||||
cLApEthernetIfAdminStatusDefinition => 'CISCO-LWAPP-AP-MIB::cLApEthernetIfAdminStatus',
|
||||
cLApEthernetIfOperStatus => '1.3.6.1.4.1.9.9.513.1.2.2.1.5',
|
||||
cLApEthernetIfOperStatusDefinition => 'CISCO-LWAPP-AP-MIB::cLApEthernetIfOperStatus',
|
||||
cLApEthernetIfRxUcastPkts => '1.3.6.1.4.1.9.9.513.1.2.2.1.6',
|
||||
cLApEthernetIfRxNUcastPkts => '1.3.6.1.4.1.9.9.513.1.2.2.1.7',
|
||||
cLApEthernetIfTxUcastPkts => '1.3.6.1.4.1.9.9.513.1.2.2.1.8',
|
||||
cLApEthernetIfTxNUcastPkts => '1.3.6.1.4.1.9.9.513.1.2.2.1.9',
|
||||
cLApEthernetIfDuplex => '1.3.6.1.4.1.9.9.513.1.2.2.1.10',
|
||||
cLApEthernetIfDuplexDefinition => 'CISCO-LWAPP-AP-MIB::cLApEthernetIfDuplex',
|
||||
cLApEthernetIfLinkSpeed => '1.3.6.1.4.1.9.9.513.1.2.2.1.11',
|
||||
cLApEthernetIfPOEPower => '1.3.6.1.4.1.9.9.513.1.2.2.1.12',
|
||||
cLApEthernetIfPOEPowerDefinition => 'CISCO-LWAPP-AP-MIB::cLApEthernetIfPOEPower',
|
||||
cLApEthernetIfRxTotalBytes => '1.3.6.1.4.1.9.9.513.1.2.2.1.13',
|
||||
cLApEthernetIfTxTotalBytes => '1.3.6.1.4.1.9.9.513.1.2.2.1.14',
|
||||
cLApEthernetIfInputCrc => '1.3.6.1.4.1.9.9.513.1.2.2.1.15',
|
||||
cLApEthernetIfInputAborts => '1.3.6.1.4.1.9.9.513.1.2.2.1.16',
|
||||
cLApEthernetIfInputErrors => '1.3.6.1.4.1.9.9.513.1.2.2.1.17',
|
||||
cLApEthernetIfInputFrames => '1.3.6.1.4.1.9.9.513.1.2.2.1.18',
|
||||
cLApEthernetIfInputOverrun => '1.3.6.1.4.1.9.9.513.1.2.2.1.19',
|
||||
cLApEthernetIfInputDrops => '1.3.6.1.4.1.9.9.513.1.2.2.1.20',
|
||||
cLApEthernetIfInputResource => '1.3.6.1.4.1.9.9.513.1.2.2.1.21',
|
||||
cLApEthernetIfUnknownProtocol => '1.3.6.1.4.1.9.9.513.1.2.2.1.22',
|
||||
cLApEthernetIfRunts => '1.3.6.1.4.1.9.9.513.1.2.2.1.23',
|
||||
cLApEthernetIfGiants => '1.3.6.1.4.1.9.9.513.1.2.2.1.24',
|
||||
cLApEthernetIfThrottle => '1.3.6.1.4.1.9.9.513.1.2.2.1.25',
|
||||
cLApEthernetIfResets => '1.3.6.1.4.1.9.9.513.1.2.2.1.26',
|
||||
cLApEthernetIfOutputCollision => '1.3.6.1.4.1.9.9.513.1.2.2.1.27',
|
||||
cLApEthernetIfOutputNoBuffer => '1.3.6.1.4.1.9.9.513.1.2.2.1.28',
|
||||
cLApEthernetIfOutputResource => '1.3.6.1.4.1.9.9.513.1.2.2.1.29',
|
||||
cLApEthernetIfOutputUnderrun => '1.3.6.1.4.1.9.9.513.1.2.2.1.30',
|
||||
cLApEthernetIfOutputErrors => '1.3.6.1.4.1.9.9.513.1.2.2.1.31',
|
||||
cLApEthernetIfOutputTotalDrops => '1.3.6.1.4.1.9.9.513.1.2.2.1.32',
|
||||
cLApEthernetIfCdpEnabled => '1.3.6.1.4.1.9.9.513.1.2.2.1.33',
|
||||
cLApDot11RadioTable => '1.3.6.1.4.1.9.9.513.1.2.3',
|
||||
cLApDot11RadioEntry => '1.3.6.1.4.1.9.9.513.1.2.3.1',
|
||||
cLApDot11RadioMACAddress => '1.3.6.1.4.1.9.9.513.1.2.3.1.1',
|
||||
cLApDot11RadioSubBand => '1.3.6.1.4.1.9.9.513.1.2.3.1.2',
|
||||
cLApDot11RadioVersion => '1.3.6.1.4.1.9.9.513.1.2.3.1.3',
|
||||
cLApDot11IsBackhaul => '1.3.6.1.4.1.9.9.513.1.2.3.1.4',
|
||||
cLApDot11RadioRole => '1.3.6.1.4.1.9.9.513.1.2.3.1.5',
|
||||
cLApDot11IfAntennaTable => '1.3.6.1.4.1.9.9.513.1.2.4',
|
||||
cLApDot11IfAntennaEntry => '1.3.6.1.4.1.9.9.513.1.2.4.1',
|
||||
cLApDot11IfAntennaId => '1.3.6.1.4.1.9.9.513.1.2.4.1.1',
|
||||
cLApDot11IfAntennaTxEnable => '1.3.6.1.4.1.9.9.513.1.2.4.1.2',
|
||||
cLApDot11IfAntennaRxEnable => '1.3.6.1.4.1.9.9.513.1.2.4.1.3',
|
||||
cLApDot11IfAntennaEnable => '1.3.6.1.4.1.9.9.513.1.2.4.1.4',
|
||||
cLApVlanIfTable => '1.3.6.1.4.1.9.9.513.1.2.5',
|
||||
cLApVlanIfEntry => '1.3.6.1.4.1.9.9.513.1.2.5.1',
|
||||
cLApVlanIfEthernetId => '1.3.6.1.4.1.9.9.513.1.2.5.1.1',
|
||||
cLApVlanIfMode => '1.3.6.1.4.1.9.9.513.1.2.5.1.2',
|
||||
cLApVlanIfModeDefinition => 'CISCO-LWAPP-AP-MIB::cLApVlanIfMode',
|
||||
cLApVlanIfEnable => '1.3.6.1.4.1.9.9.513.1.2.5.1.3',
|
||||
cLApVlanIfNativeVlanId => '1.3.6.1.4.1.9.9.513.1.2.5.1.4',
|
||||
cLApVlanListTable => '1.3.6.1.4.1.9.9.513.1.2.6',
|
||||
cLApVlanListEntry => '1.3.6.1.4.1.9.9.513.1.2.6.1',
|
||||
cLApVlanListVlanId => '1.3.6.1.4.1.9.9.513.1.2.6.1.1',
|
||||
cLApVlanListRowStatus => '1.3.6.1.4.1.9.9.513.1.2.6.1.2',
|
||||
cLApDot11GlobalConfigTable => '1.3.6.1.4.1.9.9.513.1.2.7',
|
||||
cLApDot11GlobalConfigEntry => '1.3.6.1.4.1.9.9.513.1.2.7.1',
|
||||
cLApNwLegacyBeamForming => '1.3.6.1.4.1.9.9.513.1.2.7.1.1',
|
||||
cLApNwLegacyBeamFormingDefinition => 'CISCO-LWAPP-AP-MIB::cLApNwLegacyBeamForming',
|
||||
cLApNwTxPowerThreshold => '1.3.6.1.4.1.9.9.513.1.2.7.1.2',
|
||||
ciscoLwappApGlobal => '1.3.6.1.4.1.9.9.513.1.3',
|
||||
cLApFastHbTimerTable => '1.3.6.1.4.1.9.9.513.1.3.1',
|
||||
cLApFastHbTimerEntry => '1.3.6.1.4.1.9.9.513.1.3.1.1',
|
||||
cLApFastHbTimerApType => '1.3.6.1.4.1.9.9.513.1.3.1.1.1',
|
||||
cLApFastHbTimerApTypeDefinition => 'CISCO-LWAPP-AP-MIB::cLApFastHbTimerApType',
|
||||
cLApFastHbTimerTimeout => '1.3.6.1.4.1.9.9.513.1.3.1.1.2',
|
||||
cLApFastHbTimerEnabled => '1.3.6.1.4.1.9.9.513.1.3.1.1.3',
|
||||
cLApPrimaryDiscoveryTimeout => '1.3.6.1.4.1.9.9.513.1.3.3',
|
||||
cLApGlobalPrimaryControllerAddressType => '1.3.6.1.4.1.9.9.513.1.3.4',
|
||||
cLApGlobalPrimaryControllerAddress => '1.3.6.1.4.1.9.9.513.1.3.5',
|
||||
cLApGlobalPrimaryControllerName => '1.3.6.1.4.1.9.9.513.1.3.6',
|
||||
cLApGlobalSecondaryControllerAddressType => '1.3.6.1.4.1.9.9.513.1.3.7',
|
||||
cLApGlobalSecondaryControllerAddress => '1.3.6.1.4.1.9.9.513.1.3.8',
|
||||
cLApGlobalSecondaryControllerName => '1.3.6.1.4.1.9.9.513.1.3.9',
|
||||
cLApGlobalFailoverPriority => '1.3.6.1.4.1.9.9.513.1.3.10',
|
||||
cLApGlobalTcpMss => '1.3.6.1.4.1.9.9.513.1.3.11',
|
||||
cLApGlobalDot11IfTable => '1.3.6.1.4.1.9.9.513.1.3.12',
|
||||
cLApGlobalDot11IfEntry => '1.3.6.1.4.1.9.9.513.1.3.12.1',
|
||||
cLApGlobalDot11IfCdpEnabled => '1.3.6.1.4.1.9.9.513.1.3.12.1.1',
|
||||
cLApGlobalEthernetIfTable => '1.3.6.1.4.1.9.9.513.1.3.13',
|
||||
cLApGlobalEthernetIfEntry => '1.3.6.1.4.1.9.9.513.1.3.13.1',
|
||||
cLApGlobalEthernetIfCdpEnabled => '1.3.6.1.4.1.9.9.513.1.3.13.1.1',
|
||||
cLApGlobalRetransmitCount => '1.3.6.1.4.1.9.9.513.1.3.14',
|
||||
cLApGlobalRetransmitTimeout => '1.3.6.1.4.1.9.9.513.1.3.15',
|
||||
ciscoLwappApCredentials => '1.3.6.1.4.1.9.9.513.1.4',
|
||||
cLApCredentialGlobalUserName => '1.3.6.1.4.1.9.9.513.1.4.1',
|
||||
cLApCredentialGlobalPassword => '1.3.6.1.4.1.9.9.513.1.4.2',
|
||||
cLApCredentialGlobalSecret => '1.3.6.1.4.1.9.9.513.1.4.3',
|
||||
cLApCredentialsTable => '1.3.6.1.4.1.9.9.513.1.4.4',
|
||||
cLApCredentialsEntry => '1.3.6.1.4.1.9.9.513.1.4.4.1',
|
||||
cLApCredentialUserName => '1.3.6.1.4.1.9.9.513.1.4.4.1.1',
|
||||
cLApCredentialPassword => '1.3.6.1.4.1.9.9.513.1.4.4.1.2',
|
||||
cLApCredentialSecret => '1.3.6.1.4.1.9.9.513.1.4.4.1.3',
|
||||
cLApCredentialEnableGlobalCredentials => '1.3.6.1.4.1.9.9.513.1.4.4.1.4',
|
||||
ciscoLwappLinkLatency => '1.3.6.1.4.1.9.9.513.1.5',
|
||||
cLApLinkLatencyTable => '1.3.6.1.4.1.9.9.513.1.5.1',
|
||||
cLApLinkLatencyEntry => '1.3.6.1.4.1.9.9.513.1.5.1.1',
|
||||
cLApLinkLatencyEnable => '1.3.6.1.4.1.9.9.513.1.5.1.1.1',
|
||||
cLApLinkLatencyReset => '1.3.6.1.4.1.9.9.513.1.5.1.1.2',
|
||||
cLApLinkLatencyStatsTable => '1.3.6.1.4.1.9.9.513.1.5.2',
|
||||
cLApLinkLatencyStatsEntry => '1.3.6.1.4.1.9.9.513.1.5.2.1',
|
||||
cLApLinkLatencyStatsCurrent => '1.3.6.1.4.1.9.9.513.1.5.2.1.1',
|
||||
cLApLinkLatencyStatsMin => '1.3.6.1.4.1.9.9.513.1.5.2.1.2',
|
||||
cLApLinkLatencyStatsMax => '1.3.6.1.4.1.9.9.513.1.5.2.1.3',
|
||||
cLApLinkLatencyTimeStamp => '1.3.6.1.4.1.9.9.513.1.5.2.1.4',
|
||||
cLApDataLinkLatencyStatsCurrent => '1.3.6.1.4.1.9.9.513.1.5.2.1.5',
|
||||
cLApDataLinkLatencyStatsMin => '1.3.6.1.4.1.9.9.513.1.5.2.1.6',
|
||||
cLApDataLinkLatencyStatsMax => '1.3.6.1.4.1.9.9.513.1.5.2.1.7',
|
||||
cLApDataLinkLatencyTimeStamp => '1.3.6.1.4.1.9.9.513.1.5.2.1.8',
|
||||
ciscoLwappSpectrum => '1.3.6.1.4.1.9.9.513.1.6',
|
||||
ciscoLwappAp802dot1xSupplicant => '1.3.6.1.4.1.9.9.513.1.7',
|
||||
cLApGlobal802dot1xAuthenticationEnabled => '1.3.6.1.4.1.9.9.513.1.7.1',
|
||||
cLApGlobal802dot1xSupplicantUsername => '1.3.6.1.4.1.9.9.513.1.7.2',
|
||||
cLApGlobal802dot1xSupplicantPassword => '1.3.6.1.4.1.9.9.513.1.7.3',
|
||||
cLAp802dot1xSupplicantTable => '1.3.6.1.4.1.9.9.513.1.7.4',
|
||||
cLAp802dot1xSupplicantEntry => '1.3.6.1.4.1.9.9.513.1.7.4.1',
|
||||
cLAp802dot1xSupplicantOverrideEnabled => '1.3.6.1.4.1.9.9.513.1.7.4.1.1',
|
||||
cLAp802dot1xSupplicantOverrideUsername => '1.3.6.1.4.1.9.9.513.1.7.4.1.2',
|
||||
cLAp802dot1xSupplicantOverridePassword => '1.3.6.1.4.1.9.9.513.1.7.4.1.3',
|
||||
cLApSeClientTable => '1.3.6.1.4.1.9.9.513.1.8',
|
||||
cLApSeClientEntry => '1.3.6.1.4.1.9.9.513.1.8.1',
|
||||
cLApSeIndex => '1.3.6.1.4.1.9.9.513.1.8.1.1',
|
||||
cLApSeClientUserName => '1.3.6.1.4.1.9.9.513.1.8.1.2',
|
||||
cLApSeClientIPAddrType => '1.3.6.1.4.1.9.9.513.1.8.1.3',
|
||||
cLApSeClientIPAddr => '1.3.6.1.4.1.9.9.513.1.8.1.4',
|
||||
cLApSeClientDuration => '1.3.6.1.4.1.9.9.513.1.8.1.5',
|
||||
cLApSeClientPort => '1.3.6.1.4.1.9.9.513.1.8.1.6',
|
||||
ciscoLwappApMIBConform => '1.3.6.1.4.1.9.9.513.2',
|
||||
ciscoLwappApMIBCompliances => '1.3.6.1.4.1.9.9.513.2.1',
|
||||
ciscoLwappApMIBGroups => '1.3.6.1.4.1.9.9.513.2.2',
|
||||
ciscoLwappApMIBNotifObjects => '1.3.6.1.4.1.9.9.513.3',
|
||||
cLApAssocFailureReason => '1.3.6.1.4.1.9.9.513.3.1',
|
||||
cLApRogueApMacAddress => '1.3.6.1.4.1.9.9.513.3.2',
|
||||
cLApDot11RadioChannelNumber => '1.3.6.1.4.1.9.9.513.3.3',
|
||||
cLApRogueApSsid => '1.3.6.1.4.1.9.9.513.3.4',
|
||||
cLApRogueType => '1.3.6.1.4.1.9.9.513.3.5',
|
||||
cLApRogueTypeDefinition => 'CISCO-LWAPP-AP-MIB::cLApRogueType',
|
||||
cLApWipsReason => '1.3.6.1.4.1.9.9.513.3.6',
|
||||
cLApWipsReasonDefinition => 'CISCO-LWAPP-AP-MIB::cLApWipsReason',
|
||||
cLApWipsClear => '1.3.6.1.4.1.9.9.513.3.7',
|
||||
cLApIfUpDownFailureType => '1.3.6.1.4.1.9.9.513.3.8',
|
||||
cLApIfUpDownFailureTypeDefinition => 'CISCO-LWAPP-AP-MIB::cLApIfUpDownFailureType',
|
||||
cLApIfUpDownCause => '1.3.6.1.4.1.9.9.513.3.9',
|
||||
cLApIfUpDownFailureCode => '1.3.6.1.4.1.9.9.513.3.10',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCO-LWAPP-AP-MIB'} = {
|
||||
cLApPwrInjectorSelection => {
|
||||
'1' => 'unknown',
|
||||
'2' => 'installed',
|
||||
'3' => 'override',
|
||||
},
|
||||
cLApLegacyBeamForming => {
|
||||
'1' => 'enable',
|
||||
'2' => 'disable',
|
||||
'3' => 'notApplicable',
|
||||
},
|
||||
cLApVlanIfMode => {
|
||||
'1' => 'normal',
|
||||
'2' => 'access',
|
||||
'3' => 'trunk',
|
||||
},
|
||||
cLApWipsReason => {
|
||||
'1' => 'noMonitoringDevice',
|
||||
},
|
||||
cLApIfUpDownFailureType => {
|
||||
'1' => 'detectedFailure',
|
||||
'2' => 'configuredReset',
|
||||
},
|
||||
cLApRogueType => {
|
||||
'1' => 'asleap',
|
||||
'2' => 'honeypot',
|
||||
'3' => 'other',
|
||||
},
|
||||
cLApMonitorModeOptimization => {
|
||||
'1' => 'all',
|
||||
'2' => 'tracking',
|
||||
'3' => 'wips',
|
||||
'4' => 'none',
|
||||
},
|
||||
cLApPowerStatus => {
|
||||
'1' => 'low',
|
||||
'2' => 'fifteendotfour',
|
||||
'3' => 'sixteendoteight',
|
||||
'4' => 'full',
|
||||
'5' => 'external',
|
||||
'6' => 'mixedmode',
|
||||
},
|
||||
cLApFailoverPriority => {
|
||||
'1' => 'low',
|
||||
'2' => 'medium',
|
||||
'3' => 'high',
|
||||
'4' => 'critical',
|
||||
},
|
||||
cLApEthernetIfOperStatus => {
|
||||
'1' => 'up',
|
||||
'2' => 'down',
|
||||
},
|
||||
cLApEthernetIfPOEPower => {
|
||||
'1' => 'none',
|
||||
'2' => 'drawn',
|
||||
'3' => 'notdrawn',
|
||||
},
|
||||
cLApNwLegacyBeamForming => {
|
||||
'1' => 'enable',
|
||||
'2' => 'disable',
|
||||
'3' => 'notApplicable',
|
||||
},
|
||||
cLApEthernetIfDuplex => {
|
||||
'1' => 'unknown',
|
||||
'2' => 'halfduplex',
|
||||
'3' => 'fullduplex',
|
||||
'4' => 'auto',
|
||||
},
|
||||
cLApFastHbTimerApType => {
|
||||
'1' => 'local',
|
||||
'2' => 'hreap',
|
||||
},
|
||||
cLApEthernetIfAdminStatus => {
|
||||
'1' => 'up',
|
||||
'2' => 'down',
|
||||
},
|
||||
cLAp11nChannelBandwidth => {
|
||||
'1' => 'five',
|
||||
'2' => 'ten',
|
||||
'3' => 'twenty',
|
||||
'4' => 'forty',
|
||||
},
|
||||
cLApLastRebootReason => {
|
||||
'0' => 'none',
|
||||
'1' => 'dot11gModeChange',
|
||||
'2' => 'ipAddressSet',
|
||||
'3' => 'ipAddressReset',
|
||||
'4' => 'rebootFromController',
|
||||
'5' => 'dhcpFallbackFail',
|
||||
'6' => 'discoveryFail',
|
||||
'7' => 'noJoinResponse',
|
||||
'8' => 'denyJoin',
|
||||
'9' => 'noConfigResponse',
|
||||
'10' => 'configController',
|
||||
'11' => 'imageUpgradeSuccess',
|
||||
'12' => 'imageOpcodeInvalid',
|
||||
'13' => 'imageCheckSumInvalid',
|
||||
'14' => 'imageDataTimeout',
|
||||
'15' => 'configFileInvalid',
|
||||
'16' => 'imageDownloadError',
|
||||
'17' => 'rebootFromConsole',
|
||||
'18' => 'rapOverAir',
|
||||
'19' => 'powerLow',
|
||||
'20' => 'crash',
|
||||
'21' => 'powerHigh',
|
||||
'22' => 'powerLoss',
|
||||
'23' => 'powerChange',
|
||||
'24' => 'componentFailure',
|
||||
'25' => 'watchdog',
|
||||
},
|
||||
};
|
|
@ -0,0 +1,117 @@
|
|||
package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOLWAPPHAMIB;
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'CISCO-LWAPP-HA-MIB'} = {
|
||||
url => '',
|
||||
name => 'CISCO-LWAPP-HA-MIB',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'CISCO-LWAPP-HA-MIB'} =
|
||||
'1.3.6.1.4.1.9.9.198888';
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-LWAPP-HA-MIB'} = {
|
||||
ciscoLwappHaMIB => '1.3.6.1.4.1.9.9.198888',
|
||||
ciscoLwappHaMIBObjects => '1.3.6.1.4.1.9.9.198888.0',
|
||||
ciscoLwappHaGlobalConfig => '1.3.6.1.4.1.9.9.198888.0.1',
|
||||
cLHaApSsoConfig => '1.3.6.1.4.1.9.9.198888.0.1.1',
|
||||
cLHaPeerIpAddressType => '1.3.6.1.4.1.9.9.198888.0.1.2',
|
||||
cLHaPeerIpAddress => '1.3.6.1.4.1.9.9.198888.0.1.3',
|
||||
cLHaServicePortPeerIpAddressType => '1.3.6.1.4.1.9.9.198888.0.1.4',
|
||||
cLHaServicePortPeerIpAddress => '1.3.6.1.4.1.9.9.198888.0.1.5',
|
||||
cLHaServicePortPeerIpNetMaskType => '1.3.6.1.4.1.9.9.198888.0.1.6',
|
||||
cLHaServicePortPeerIpNetMask => '1.3.6.1.4.1.9.9.198888.0.1.7',
|
||||
cLHaRedundancyIpAddressType => '1.3.6.1.4.1.9.9.198888.0.1.8',
|
||||
cLHaRedundancyIpAddress => '1.3.6.1.4.1.9.9.198888.0.1.9',
|
||||
cLHaPeerMacAddress => '1.3.6.1.4.1.9.9.198888.0.1.10',
|
||||
cLHaVirtualMacAddress => '1.3.6.1.4.1.9.9.198888.0.1.11',
|
||||
cLHaPrimaryUnit => '1.3.6.1.4.1.9.9.198888.0.1.12',
|
||||
cLHaPrimaryUnitDefinition => 'SNMPv2-TC-v1-MIB::TruthValue',
|
||||
cLHaLinkEncryption => '1.3.6.1.4.1.9.9.198888.0.1.13',
|
||||
cLHaNetworkFailOver => '1.3.6.1.4.1.9.9.198888.0.1.14',
|
||||
cLHaNetworkFailOverDefinition => 'SNMPv2-TC-v1-MIB::TruthValue',
|
||||
cLHaRFStatusUnitIp => '1.3.6.1.4.1.9.9.198888.0.1.15',
|
||||
cLHaKATimeout => '1.3.6.1.4.1.9.9.198888.0.1.16',
|
||||
cLHaKARetryCount => '1.3.6.1.4.1.9.9.198888.0.1.17',
|
||||
cLHaGwRetryCount => '1.3.6.1.4.1.9.9.198888.0.1.18',
|
||||
cLHaPeerSearchTimeout => '1.3.6.1.4.1.9.9.198888.0.1.19',
|
||||
ciscoLwappHaNetworkConfig => '1.3.6.1.4.1.9.9.198888.0.2',
|
||||
cLHaNetworkRoutePeerConfigTable => '1.3.6.1.4.1.9.9.198888.0.2.1',
|
||||
cLHaNetworkRoutePeerConfigEntry => '1.3.6.1.4.1.9.9.198888.0.2.1.1',
|
||||
cLHaNetworkRoutePeerIPAddressType => '1.3.6.1.4.1.9.9.198888.0.2.1.1.1',
|
||||
cLHaNetworkRoutePeerIPAddress => '1.3.6.1.4.1.9.9.198888.0.2.1.1.2',
|
||||
cLHaNetworkRoutePeerIPNetmaskType => '1.3.6.1.4.1.9.9.198888.0.2.1.1.3',
|
||||
cLHaNetworkRoutePeerIPNetmask => '1.3.6.1.4.1.9.9.198888.0.2.1.1.4',
|
||||
cLHaNetworkRoutePeerGatewayType => '1.3.6.1.4.1.9.9.198888.0.2.1.1.5',
|
||||
cLHaNetworkRoutePeerGateway => '1.3.6.1.4.1.9.9.198888.0.2.1.1.6',
|
||||
cLHaNetworkRoutePeerTransferStatus => '1.3.6.1.4.1.9.9.198888.0.2.1.1.7',
|
||||
cLHaNetworkRoutePeerTransferStatusDefinition => 'CISCO-LWAPP-HA-MIB::cLHaNetworkRoutePeerTransferStatus',
|
||||
cLHaNetworkRoutePeerRowStatus => '1.3.6.1.4.1.9.9.198888.0.2.1.1.8',
|
||||
ciscoLwappHaMIBNotifs => '1.3.6.1.4.1.9.9.198888.0.3',
|
||||
ciscoLwappHaNotificationVariable => '1.3.6.1.4.1.9.9.198888.0.4',
|
||||
cLHaSecondaryControllerUsageTrapType => '1.3.6.1.4.1.9.9.198888.0.4.1',
|
||||
cLHaSecondaryControllerUsageTrapTypeDefinition => 'CISCO-LWAPP-HA-MIB::cLHaSecondaryControllerUsageTrapType',
|
||||
cLHaSecondaryControllerUsageDayCounter => '1.3.6.1.4.1.9.9.198888.0.4.2',
|
||||
cLHaBulkSyncCompleteEventStr => '1.3.6.1.4.1.9.9.198888.0.4.3',
|
||||
cLHaPeerHotStandbyEventStr => '1.3.6.1.4.1.9.9.198888.0.4.4',
|
||||
ciscoLwappHaPeerStatisticsVariable => '1.3.6.1.4.1.9.9.198888.0.5',
|
||||
cLHaSystemStatistics => '1.3.6.1.4.1.9.9.198888.0.5.1',
|
||||
cLHaCpuStatistics => '1.3.6.1.4.1.9.9.198888.0.5.1.1',
|
||||
cLHaAllCpuUsage => '1.3.6.1.4.1.9.9.198888.0.5.1.1.1',
|
||||
cLHaPowerSupplyStatistics => '1.3.6.1.4.1.9.9.198888.0.5.1.2',
|
||||
cLHaPowerSupply1Present => '1.3.6.1.4.1.9.9.198888.0.5.1.2.1',
|
||||
cLHaPowerSupply1PresentDefinition => 'CISCO-LWAPP-HA-MIB::cLHaPowerSupply1Present',
|
||||
cLHaPowerSupply1Operational => '1.3.6.1.4.1.9.9.198888.0.5.1.2.2',
|
||||
cLHaPowerSupply1OperationalDefinition => 'CISCO-LWAPP-HA-MIB::cLHaPowerSupply1Operational',
|
||||
cLHaPowerSupply2Present => '1.3.6.1.4.1.9.9.198888.0.5.1.2.3',
|
||||
cLHaPowerSupply2PresentDefinition => 'CISCO-LWAPP-HA-MIB::cLHaPowerSupply2Present',
|
||||
cLHaPowerSupply2Operational => '1.3.6.1.4.1.9.9.198888.0.5.1.2.4',
|
||||
cLHaPowerSupply2OperationalDefinition => 'CISCO-LWAPP-HA-MIB::cLHaPowerSupply2Operational',
|
||||
cLHaMemoryStatistics => '1.3.6.1.4.1.9.9.198888.0.5.1.3',
|
||||
cLHaTotalSystemMemory => '1.3.6.1.4.1.9.9.198888.0.5.1.3.1',
|
||||
cLHaFreeSystemMemory => '1.3.6.1.4.1.9.9.198888.0.5.1.3.2',
|
||||
cLHaUsedSystemMemory => '1.3.6.1.4.1.9.9.198888.0.5.1.3.3',
|
||||
cLHaAllocatedFromRtos => '1.3.6.1.4.1.9.9.198888.0.5.1.3.4',
|
||||
cLHaChunksFree => '1.3.6.1.4.1.9.9.198888.0.5.1.3.5',
|
||||
cLHaMmappedRegions => '1.3.6.1.4.1.9.9.198888.0.5.1.3.6',
|
||||
cLHaSpaceInMmappedRegions => '1.3.6.1.4.1.9.9.198888.0.5.1.3.7',
|
||||
cLHaTotalAllocatedSpace => '1.3.6.1.4.1.9.9.198888.0.5.1.3.8',
|
||||
cLHaTotalNotInUseSpace => '1.3.6.1.4.1.9.9.198888.0.5.1.3.9',
|
||||
cLHaTopMostReleasableSpace => '1.3.6.1.4.1.9.9.198888.0.5.1.3.10',
|
||||
cLHaTotalAllocatedInclMmap => '1.3.6.1.4.1.9.9.198888.0.5.1.3.11',
|
||||
cLHaTotalUsedInclMmap => '1.3.6.1.4.1.9.9.198888.0.5.1.3.12',
|
||||
cLHaTotalFreeInclMmap => '1.3.6.1.4.1.9.9.198888.0.5.1.3.13',
|
||||
ciscoLwappHaStatisticsVariable => '1.3.6.1.4.1.9.9.198888.0.6',
|
||||
cLHaAvgPeerReachLatency => '1.3.6.1.4.1.9.9.198888.0.6.1',
|
||||
cLHaAvgGwReachLatency => '1.3.6.1.4.1.9.9.198888.0.6.2',
|
||||
cLHaBulkSyncStatus => '1.3.6.1.4.1.9.9.198888.0.6.3',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCO-LWAPP-HA-MIB'} = {
|
||||
cLHaSecondaryControllerUsageTrapType => {
|
||||
'1' => 'usageStart',
|
||||
'2' => 'usageComplete',
|
||||
'3' => 'overUsage',
|
||||
},
|
||||
cLHaPowerSupply1Present => {
|
||||
'0' => 'false',
|
||||
'1' => 'true',
|
||||
},
|
||||
cLHaPowerSupply1Operational => {
|
||||
'0' => 'false',
|
||||
'1' => 'true',
|
||||
},
|
||||
cLHaPowerSupply2Present => {
|
||||
'0' => 'false',
|
||||
'1' => 'true',
|
||||
},
|
||||
cLHaPowerSupply2Operational => {
|
||||
'0' => 'false',
|
||||
'1' => 'true',
|
||||
},
|
||||
cLHaNetworkRoutePeerTransferStatus => {
|
||||
'1' => 'initiate',
|
||||
'2' => 'inProgress',
|
||||
'3' => 'success',
|
||||
'4' => 'failure',
|
||||
'5' => 'timeout',
|
||||
},
|
||||
};
|
|
@ -0,0 +1,77 @@
|
|||
package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOPORTCHANNELMIB;
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'CISCO-PORT-CHANNEL-MIB'} = {
|
||||
url => '',
|
||||
name => 'CISCO-PORT-CHANNEL-MIB',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'CISCO-PORT-CHANNEL-MIB'} =
|
||||
'1.3.6.1.4.1.9.9.285';
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'CISCO-PORT-CHANNEL-MIB'} = {
|
||||
ciscoPortChannelMIB => '1.3.6.1.4.1.9.9.285',
|
||||
ciscoPortChannelObjects => '1.3.6.1.4.1.9.9.285.1',
|
||||
portChannelConfig => '1.3.6.1.4.1.9.9.285.1.1',
|
||||
portChannelTable => '1.3.6.1.4.1.9.9.285.1.1.1',
|
||||
portChannelEntry => '1.3.6.1.4.1.9.9.285.1.1.1.1',
|
||||
portChannelIndex => '1.3.6.1.4.1.9.9.285.1.1.1.1.1',
|
||||
portChannelIfIndex => '1.3.6.1.4.1.9.9.285.1.1.1.1.2',
|
||||
portChannelAdminChannelMode => '1.3.6.1.4.1.9.9.285.1.1.1.1.3',
|
||||
portChannelAdminChannelModeDefinition => 'CISCO-PORT-CHANNEL-MIB::PortChannelMode',
|
||||
portChannelOperChannelMode => '1.3.6.1.4.1.9.9.285.1.1.1.1.4',
|
||||
portChannelOperChannelModeDefinition => 'CISCO-PORT-CHANNEL-MIB::PortChannelMode',
|
||||
portChannelAddType => '1.3.6.1.4.1.9.9.285.1.1.1.1.5',
|
||||
portChannelAddTypeDefinition => 'CISCO-PORT-CHANNEL-MIB::portChannelAddType',
|
||||
portChannelLastActionStatus => '1.3.6.1.4.1.9.9.285.1.1.1.1.6',
|
||||
portChannelLastActionStatusDefinition => 'CISCO-PORT-CHANNEL-MIB::portChannelLastActionStatus',
|
||||
portChannelLastActionStatusCause => '1.3.6.1.4.1.9.9.285.1.1.1.1.7',
|
||||
portChannelLastActionTime => '1.3.6.1.4.1.9.9.285.1.1.1.1.8',
|
||||
portChannelMemberList => '1.3.6.1.4.1.9.9.285.1.1.1.1.9',
|
||||
portChannelCreationTime => '1.3.6.1.4.1.9.9.285.1.1.1.1.10',
|
||||
portChannelRowStatus => '1.3.6.1.4.1.9.9.285.1.1.1.1.11',
|
||||
portChannelMemberOperStatus => '1.3.6.1.4.1.9.9.285.1.1.1.1.12',
|
||||
portChannelProtocolEnable => '1.3.6.1.4.1.9.9.285.1.1.2',
|
||||
portChannelGrpIfExtTable => '1.3.6.1.4.1.9.9.285.1.1.3',
|
||||
portChannelGrpIfExtEntry => '1.3.6.1.4.1.9.9.285.1.1.3.1',
|
||||
portChannelGrpIfAutoCreation => '1.3.6.1.4.1.9.9.285.1.1.3.1.1',
|
||||
portChannelExtTable => '1.3.6.1.4.1.9.9.285.1.1.4',
|
||||
portChannelExtEntry => '1.3.6.1.4.1.9.9.285.1.1.4.1',
|
||||
portChannelExtChannelGrpMode => '1.3.6.1.4.1.9.9.285.1.1.4.1.1',
|
||||
portChannelExtChannelGrpModeDefinition => 'CISCO-PORT-CHANNEL-MIB::PortChannelGroupMode',
|
||||
portChannelExtAutoCreated => '1.3.6.1.4.1.9.9.285.1.1.4.1.2',
|
||||
portChannelExtPersistent => '1.3.6.1.4.1.9.9.285.1.1.4.1.3',
|
||||
portChannelExtPersistentDefinition => 'CISCO-PORT-CHANNEL-MIB::portChannelExtPersistent',
|
||||
portChannelExtOperChannelGrpMode => '1.3.6.1.4.1.9.9.285.1.1.4.1.4',
|
||||
portChannelExtOperChannelGrpModeDefinition => 'CISCO-PORT-CHANNEL-MIB::PortChannelGroupMode',
|
||||
portChannelStatistics => '1.3.6.1.4.1.9.9.285.1.2',
|
||||
portChannelNotification => '1.3.6.1.4.1.9.9.285.1.3',
|
||||
portChannelNotifications => '1.3.6.1.4.1.9.9.285.1.3.0',
|
||||
portChannelMIBConformance => '1.3.6.1.4.1.9.9.285.2',
|
||||
portChannelMIBCompliances => '1.3.6.1.4.1.9.9.285.2.1',
|
||||
portChannelMIBGroups => '1.3.6.1.4.1.9.9.285.2.2',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'CISCO-PORT-CHANNEL-MIB'} = {
|
||||
PortChannelGroupMode => {
|
||||
'1' => 'on',
|
||||
'2' => 'active',
|
||||
},
|
||||
PortChannelMode => {
|
||||
'1' => 'auto',
|
||||
'2' => 'on',
|
||||
'3' => 'off',
|
||||
'4' => 'desirable',
|
||||
},
|
||||
portChannelLastActionStatus => {
|
||||
'1' => 'successful',
|
||||
'2' => 'failed',
|
||||
},
|
||||
portChannelExtPersistent => {
|
||||
'1' => 'noOp',
|
||||
'2' => 'enable',
|
||||
},
|
||||
portChannelAddType => {
|
||||
'1' => 'normal',
|
||||
'2' => 'force',
|
||||
},
|
||||
};
|
|
@ -0,0 +1,87 @@
|
|||
package Monitoring::GLPlugin::SNMP::MibsAndOids::ELTEXMIB;
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'ELTEX-MIB'} = {
|
||||
url => '',
|
||||
name => 'ELTEX-MIB',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'ELTEX-MIB'} = {
|
||||
# The table of power supply status maintained by the environmental monitor card.
|
||||
'eltexPowerSupplyTable' => '1.3.6.1.4.1.89.83.1.2',
|
||||
# An entry in the power supply status table, representing the status of the
|
||||
# associated power supply maintained by the environmental monitor card.
|
||||
'eltexPowerSupplyEntry' => '1.3.6.1.4.1.89.83.1.2.1',
|
||||
# An entry in the power supply status table, representing the status of the
|
||||
# associated power supply maintained by the environmental monitor card.
|
||||
'eltexPowerSupplyId' => '1.3.6.1.4.1.89.83.1.2.1.5',
|
||||
# Textual description of the power supply being instrumented. This description
|
||||
# is a short textual label, suitable as a human-sensible identification for the
|
||||
# rest of the information in the entry.
|
||||
'eltexPowerSupplyDescription' => '1.3.6.1.4.1.89.83.1.2.1.2',
|
||||
# The mandatory state of the power supply being instrumented.eltexSensorDescription
|
||||
'eltexPowerSupplyStatus' => '1.3.6.1.4.1.89.83.1.2.1.3',
|
||||
'eltexPowerSupplyStatusDefinition' => {
|
||||
'1' => 'normal',
|
||||
'2' => 'warning',
|
||||
'3' => 'critical',
|
||||
'4' => 'shutdown',
|
||||
'5' => 'notPresent',
|
||||
'6' => 'notFunctioning',
|
||||
},
|
||||
'eltexSensorTable' => '1.3.6.1.4.1.89.83.2.1.1',
|
||||
# Information about a particular physical sensor. An entry in this table
|
||||
# describes the present reading of a sensor, the measurement units and scale,
|
||||
# and sensor operational status. Entries are created in this table by the agent.
|
||||
# An entry for each physical sensor SHOULD be created at the same time as the
|
||||
# associated entPhysicalEntry. An entry SHOULD be destroyed if the associated
|
||||
# entPhysicalEntry is destroyed.
|
||||
'eltexSensorEntry' => '1.3.6.1.4.1.89.83.2.1.1.1',
|
||||
# The number of decimal places of precision in fixed-point sensor values
|
||||
# returned by the associated entPhySensorValue object. This object SHOULD be set
|
||||
# to '0' when the associated entPhySensorType value is not a fixed-point
|
||||
# type: e.g., 'percentRH(9)', 'rpm(10)', 'cmm(11)', or 'truthvalue(12)'. This
|
||||
# object SHOULD be set by the agent during entry creation, and the value SHOULD
|
||||
# NOT change during operation.
|
||||
'eltexSensorId' => '1.3.6.1.4.1.89.83.2.1.1.1.3',
|
||||
# A textual description of the data units that should be used in the display of
|
||||
# entPhySensorValue.
|
||||
'eltexSensorDescription' => '1.3.6.1.4.1.89.83.2.1.1.1.6',
|
||||
# The most recent measurement obtained by the agent for this sensor. To
|
||||
# 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',
|
||||
# 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
|
||||
# fan maintained by the environmental monitor.
|
||||
'eltexFanEntry' => '1.3.6.1.4.1.89.83.1.1.1',
|
||||
# All fans here with statuses
|
||||
'eltexFanId' => '1.3.6.1.4.1.89.83.1.1.1.3',
|
||||
# Textual description of the fan being instrumented. This description is a short
|
||||
# textual label, suitable as a human-sensible identification for the rest of the
|
||||
# information in the entry.
|
||||
'eltexFanDescription' => '1.3.6.1.4.1.89.83.1.1.1.2',
|
||||
# The mandatory state of the fan being instrumented.
|
||||
'eltexFanStatus' => '1.3.6.1.4.1.89.83.1.1.1.3',
|
||||
'eltexFanStatusDefinition' => {
|
||||
'1' => 'normal',
|
||||
'5' => 'unknown',
|
||||
'6' => 'notPresent',
|
||||
},
|
||||
# Percentage of the device CPU utilization during last second. The value 101 is
|
||||
# a dummy value, indicating that the CPU utilization was not measured (since
|
||||
# measurement is disabled or was disabled during last second).
|
||||
'eltexCpuUtilisationLastSecond' => '1.3.6.1.4.1.89.1.7.0',
|
||||
# Percentage of the device CPU utilization during last minute. The value 101 is
|
||||
# a dummy value, indicating that the CPU utilization was not measured (since
|
||||
# measurement is disabled or was disabled during last minute).
|
||||
'eltexCpuUtilisationOneMinute' => '1.3.6.1.4.1.89.1.8.0',
|
||||
# Percentage of the device CPU utilization during the last 5 minutes. The value
|
||||
# 101 is a dummy value, indicating that the CPU utilization was not measured
|
||||
# (since measurement is disabled or was disabled during last 5 minutes).
|
||||
'eltexCpuUtilisationFiveMinutes' => '1.3.6.1.4.1.89.1.9.0',
|
||||
# Show unit type standalone or stack.
|
||||
'eltexStackUnitType' => '1.3.6.1.4.1.89.107.3.0',
|
||||
# Shows the current number of units in the stack.
|
||||
'eltexStackUnitsNumber' => '1.3.6.1.4.1.89.53.8.0'
|
||||
};
|
|
@ -0,0 +1,98 @@
|
|||
package Monitoring::GLPlugin::SNMP::MibsAndOids::ETHERLIKEMIB;
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'EtherLike-MIB'} = {
|
||||
url => '',
|
||||
name => 'EtherLike-MIB',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'EtherLike-MIB'} =
|
||||
'1.3.6.1.2.1.10.7.2';
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'EtherLike-MIB'} = {
|
||||
dot3 => '1.3.6.1.2.1.10.7',
|
||||
dot3StatsTable => '1.3.6.1.2.1.10.7.2',
|
||||
dot3StatsEntry => '1.3.6.1.2.1.10.7.2.1',
|
||||
dot3StatsIndex => '1.3.6.1.2.1.10.7.2.1.1',
|
||||
dot3StatsAlignmentErrors => '1.3.6.1.2.1.10.7.2.1.2',
|
||||
dot3StatsFCSErrors => '1.3.6.1.2.1.10.7.2.1.3',
|
||||
dot3StatsSingleCollisionFrames => '1.3.6.1.2.1.10.7.2.1.4',
|
||||
dot3StatsMultipleCollisionFrames => '1.3.6.1.2.1.10.7.2.1.5',
|
||||
dot3StatsSQETestErrors => '1.3.6.1.2.1.10.7.2.1.6',
|
||||
dot3StatsDeferredTransmissions => '1.3.6.1.2.1.10.7.2.1.7',
|
||||
dot3StatsLateCollisions => '1.3.6.1.2.1.10.7.2.1.8',
|
||||
dot3StatsExcessiveCollisions => '1.3.6.1.2.1.10.7.2.1.9',
|
||||
dot3StatsInternalMacTransmitErrors => '1.3.6.1.2.1.10.7.2.1.10',
|
||||
dot3StatsCarrierSenseErrors => '1.3.6.1.2.1.10.7.2.1.11',
|
||||
dot3StatsFrameTooLongs => '1.3.6.1.2.1.10.7.2.1.13',
|
||||
dot3StatsInternalMacReceiveErrors => '1.3.6.1.2.1.10.7.2.1.16',
|
||||
dot3StatsEtherChipSet => '1.3.6.1.2.1.10.7.2.1.17',
|
||||
dot3StatsSymbolErrors => '1.3.6.1.2.1.10.7.2.1.18',
|
||||
dot3StatsDuplexStatus => '1.3.6.1.2.1.10.7.2.1.19',
|
||||
dot3StatsDuplexStatusDefinition => 'EtherLike-MIB::dot3StatsDuplexStatus',
|
||||
dot3StatsRateControlAbility => '1.3.6.1.2.1.10.7.2.1.20',
|
||||
dot3StatsRateControlStatus => '1.3.6.1.2.1.10.7.2.1.21',
|
||||
dot3StatsRateControlStatusDefinition => 'EtherLike-MIB::dot3StatsRateControlStatus',
|
||||
dot3CollTable => '1.3.6.1.2.1.10.7.5',
|
||||
dot3CollEntry => '1.3.6.1.2.1.10.7.5.1',
|
||||
dot3CollCount => '1.3.6.1.2.1.10.7.5.1.2',
|
||||
dot3CollFrequencies => '1.3.6.1.2.1.10.7.5.1.3',
|
||||
dot3Tests => '1.3.6.1.2.1.10.7.6',
|
||||
dot3TestTdr => '1.3.6.1.2.1.10.7.6.1',
|
||||
dot3TestLoopBack => '1.3.6.1.2.1.10.7.6.2',
|
||||
dot3Errors => '1.3.6.1.2.1.10.7.7',
|
||||
dot3ErrorInitError => '1.3.6.1.2.1.10.7.7.1',
|
||||
dot3ErrorLoopbackError => '1.3.6.1.2.1.10.7.7.2',
|
||||
dot3ControlTable => '1.3.6.1.2.1.10.7.9',
|
||||
dot3ControlEntry => '1.3.6.1.2.1.10.7.9.1',
|
||||
dot3ControlFunctionsSupported => '1.3.6.1.2.1.10.7.9.1.1',
|
||||
dot3ControlInUnknownOpcodes => '1.3.6.1.2.1.10.7.9.1.2',
|
||||
dot3HCControlInUnknownOpcodes => '1.3.6.1.2.1.10.7.9.1.3',
|
||||
dot3PauseTable => '1.3.6.1.2.1.10.7.10',
|
||||
dot3PauseEntry => '1.3.6.1.2.1.10.7.10.1',
|
||||
dot3PauseAdminMode => '1.3.6.1.2.1.10.7.10.1.1',
|
||||
dot3PauseAdminModeDefinition => 'EtherLike-MIB::dot3PauseAdminMode',
|
||||
dot3PauseOperMode => '1.3.6.1.2.1.10.7.10.1.2',
|
||||
dot3PauseOperModeDefinition => 'EtherLike-MIB::dot3PauseOperMode',
|
||||
dot3InPauseFrames => '1.3.6.1.2.1.10.7.10.1.3',
|
||||
dot3OutPauseFrames => '1.3.6.1.2.1.10.7.10.1.4',
|
||||
dot3HCInPauseFrames => '1.3.6.1.2.1.10.7.10.1.5',
|
||||
dot3HCOutPauseFrames => '1.3.6.1.2.1.10.7.10.1.6',
|
||||
dot3HCStatsTable => '1.3.6.1.2.1.10.7.11',
|
||||
dot3HCStatsEntry => '1.3.6.1.2.1.10.7.11.1',
|
||||
dot3HCStatsAlignmentErrors => '1.3.6.1.2.1.10.7.11.1.1',
|
||||
dot3HCStatsFCSErrors => '1.3.6.1.2.1.10.7.11.1.2',
|
||||
dot3HCStatsInternalMacTransmitErrors => '1.3.6.1.2.1.10.7.11.1.3',
|
||||
dot3HCStatsFrameTooLongs => '1.3.6.1.2.1.10.7.11.1.4',
|
||||
dot3HCStatsInternalMacReceiveErrors => '1.3.6.1.2.1.10.7.11.1.5',
|
||||
dot3HCStatsSymbolErrors => '1.3.6.1.2.1.10.7.11.1.6',
|
||||
etherMIB => '1.3.6.1.2.1.35',
|
||||
etherMIBObjects => '1.3.6.1.2.1.35.1',
|
||||
etherConformance => '1.3.6.1.2.1.35.2',
|
||||
etherGroups => '1.3.6.1.2.1.35.2.1',
|
||||
etherCompliances => '1.3.6.1.2.1.35.2.2',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'EtherLike-MIB'} = {
|
||||
dot3PauseOperMode => {
|
||||
'1' => 'disabled',
|
||||
'2' => 'enabledXmit',
|
||||
'3' => 'enabledRcv',
|
||||
'4' => 'enabledXmitAndRcv',
|
||||
},
|
||||
dot3StatsDuplexStatus => {
|
||||
'1' => 'unknown',
|
||||
'2' => 'halfDuplex',
|
||||
'3' => 'fullDuplex',
|
||||
},
|
||||
dot3PauseAdminMode => {
|
||||
'1' => 'disabled',
|
||||
'2' => 'enabledXmit',
|
||||
'3' => 'enabledRcv',
|
||||
'4' => 'enabledXmitAndRcv',
|
||||
},
|
||||
dot3StatsRateControlStatus => {
|
||||
'1' => 'rateControlOff',
|
||||
'2' => 'rateControlOn',
|
||||
'3' => 'unknown',
|
||||
},
|
||||
};
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,179 @@
|
|||
package Monitoring::GLPlugin::SNMP::MibsAndOids::FIBRECHANNELFEMIB;
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'FIBRE-CHANNEL-FE-MIB'} = {
|
||||
url => '',
|
||||
name => 'FIBRE-CHANNEL-FE-MIB',
|
||||
};
|
||||
|
||||
#$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'FIBRE-CHANNEL-FE-MIB'} =
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'FIBRE-CHANNEL-FE-MIB'} = {
|
||||
fcFeMIB => '1.3.6.1.2.1.75',
|
||||
fcFeMIBObjects => '1.3.6.1.2.1.75.1',
|
||||
fcFeConfig => '1.3.6.1.2.1.75.1.1',
|
||||
fcFeFabricName => '1.3.6.1.2.1.75.1.1.1',
|
||||
fcFeElementName => '1.3.6.1.2.1.75.1.1.2',
|
||||
fcFeModuleCapacity => '1.3.6.1.2.1.75.1.1.3',
|
||||
fcFeModuleTable => '1.3.6.1.2.1.75.1.1.4',
|
||||
fcFeModuleEntry => '1.3.6.1.2.1.75.1.1.4.1',
|
||||
fcFeModuleIndex => '1.3.6.1.2.1.75.1.1.4.1.1',
|
||||
fcFeModuleDescr => '1.3.6.1.2.1.75.1.1.4.1.2',
|
||||
fcFeModuleObjectID => '1.3.6.1.2.1.75.1.1.4.1.3',
|
||||
fcFeModuleOperStatus => '1.3.6.1.2.1.75.1.1.4.1.4',
|
||||
fcFeModuleOperStatusDefinition => 'FIBRE-CHANNEL-FE-MIB::fcFeModuleOperStatus',
|
||||
fcFeModuleLastChange => '1.3.6.1.2.1.75.1.1.4.1.5',
|
||||
fcFeModuleFxPortCapacity => '1.3.6.1.2.1.75.1.1.4.1.6',
|
||||
fcFeModuleName => '1.3.6.1.2.1.75.1.1.4.1.7',
|
||||
fcFxPortTable => '1.3.6.1.2.1.75.1.1.5',
|
||||
fcFxPortEntry => '1.3.6.1.2.1.75.1.1.5.1',
|
||||
fcFxPortIndex => '1.3.6.1.2.1.75.1.1.5.1.1',
|
||||
fcFxPortName => '1.3.6.1.2.1.75.1.1.5.1.2',
|
||||
fcFxPortFcphVersionHigh => '1.3.6.1.2.1.75.1.1.5.1.3',
|
||||
fcFxPortFcphVersionLow => '1.3.6.1.2.1.75.1.1.5.1.4',
|
||||
fcFxPortBbCredit => '1.3.6.1.2.1.75.1.1.5.1.5',
|
||||
fcFxPortRxBufSize => '1.3.6.1.2.1.75.1.1.5.1.6',
|
||||
fcFxPortRatov => '1.3.6.1.2.1.75.1.1.5.1.7',
|
||||
fcFxPortEdtov => '1.3.6.1.2.1.75.1.1.5.1.8',
|
||||
fcFxPortCosSupported => '1.3.6.1.2.1.75.1.1.5.1.9',
|
||||
fcFxPortIntermixSupported => '1.3.6.1.2.1.75.1.1.5.1.10',
|
||||
fcFxPortStackedConnMode => '1.3.6.1.2.1.75.1.1.5.1.11',
|
||||
fcFxPortStackedConnModeDefinition => 'FIBRE-CHANNEL-FE-MIB::FcStackedConnMode',
|
||||
fcFxPortClass2SeqDeliv => '1.3.6.1.2.1.75.1.1.5.1.12',
|
||||
fcFxPortClass3SeqDeliv => '1.3.6.1.2.1.75.1.1.5.1.13',
|
||||
fcFxPortHoldTime => '1.3.6.1.2.1.75.1.1.5.1.14',
|
||||
fcFeStatus => '1.3.6.1.2.1.75.1.2',
|
||||
fcFxPortStatusTable => '1.3.6.1.2.1.75.1.2.1',
|
||||
fcFxPortStatusEntry => '1.3.6.1.2.1.75.1.2.1.1',
|
||||
fcFxPortID => '1.3.6.1.2.1.75.1.2.1.1.1',
|
||||
fcFxPortBbCreditAvailable => '1.3.6.1.2.1.75.1.2.1.1.2',
|
||||
fcFxPortOperMode => '1.3.6.1.2.1.75.1.2.1.1.3',
|
||||
fcFxPortOperModeDefinition => 'FIBRE-CHANNEL-FE-MIB::fcFxPortOperMode',
|
||||
fcFxPortAdminMode => '1.3.6.1.2.1.75.1.2.1.1.4',
|
||||
fcFxPortAdminModeDefinition => 'FIBRE-CHANNEL-FE-MIB::fcFxPortAdminMode',
|
||||
fcFxPortPhysTable => '1.3.6.1.2.1.75.1.2.2',
|
||||
fcFxPortPhysEntry => '1.3.6.1.2.1.75.1.2.2.1',
|
||||
fcFxPortPhysAdminStatus => '1.3.6.1.2.1.75.1.2.2.1.1',
|
||||
fcFxPortPhysAdminStatusDefinition => 'FIBRE-CHANNEL-FE-MIB::fcFxPortPhysAdminStatus',
|
||||
fcFxPortPhysOperStatus => '1.3.6.1.2.1.75.1.2.2.1.2',
|
||||
fcFxPortPhysOperStatusDefinition => 'FIBRE-CHANNEL-FE-MIB::fcFxPortPhysOperStatus',
|
||||
fcFxPortPhysLastChange => '1.3.6.1.2.1.75.1.2.2.1.3',
|
||||
fcFxPortPhysRttov => '1.3.6.1.2.1.75.1.2.2.1.4',
|
||||
fcFxLoginTable => '1.3.6.1.2.1.75.1.2.3',
|
||||
fcFxLoginEntry => '1.3.6.1.2.1.75.1.2.3.1',
|
||||
fcFxPortNxLoginIndex => '1.3.6.1.2.1.75.1.2.3.1.1',
|
||||
fcFxPortFcphVersionAgreed => '1.3.6.1.2.1.75.1.2.3.1.2',
|
||||
fcFxPortNxPortBbCredit => '1.3.6.1.2.1.75.1.2.3.1.3',
|
||||
fcFxPortNxPortRxDataFieldSize => '1.3.6.1.2.1.75.1.2.3.1.4',
|
||||
fcFxPortCosSuppAgreed => '1.3.6.1.2.1.75.1.2.3.1.5',
|
||||
fcFxPortIntermixSuppAgreed => '1.3.6.1.2.1.75.1.2.3.1.6',
|
||||
fcFxPortStackedConnModeAgreed => '1.3.6.1.2.1.75.1.2.3.1.7',
|
||||
fcFxPortStackedConnModeAgreedDefinition => 'FIBRE-CHANNEL-FE-MIB::FcStackedConnMode',
|
||||
fcFxPortClass2SeqDelivAgreed => '1.3.6.1.2.1.75.1.2.3.1.8',
|
||||
fcFxPortClass3SeqDelivAgreed => '1.3.6.1.2.1.75.1.2.3.1.9',
|
||||
fcFxPortNxPortName => '1.3.6.1.2.1.75.1.2.3.1.10',
|
||||
fcFxPortConnectedNxPort => '1.3.6.1.2.1.75.1.2.3.1.11',
|
||||
fcFxPortBbCreditModel => '1.3.6.1.2.1.75.1.2.3.1.12',
|
||||
fcFxPortBbCreditModelDefinition => 'FIBRE-CHANNEL-FE-MIB::FcBbCreditModel',
|
||||
fcFeError => '1.3.6.1.2.1.75.1.3',
|
||||
fcFxPortErrorTable => '1.3.6.1.2.1.75.1.3.1',
|
||||
fcFxPortErrorEntry => '1.3.6.1.2.1.75.1.3.1.1',
|
||||
fcFxPortLinkFailures => '1.3.6.1.2.1.75.1.3.1.1.1',
|
||||
fcFxPortSyncLosses => '1.3.6.1.2.1.75.1.3.1.1.2',
|
||||
fcFxPortSigLosses => '1.3.6.1.2.1.75.1.3.1.1.3',
|
||||
fcFxPortPrimSeqProtoErrors => '1.3.6.1.2.1.75.1.3.1.1.4',
|
||||
fcFxPortInvalidTxWords => '1.3.6.1.2.1.75.1.3.1.1.5',
|
||||
fcFxPortInvalidCrcs => '1.3.6.1.2.1.75.1.3.1.1.6',
|
||||
fcFxPortDelimiterErrors => '1.3.6.1.2.1.75.1.3.1.1.7',
|
||||
fcFxPortAddressIdErrors => '1.3.6.1.2.1.75.1.3.1.1.8',
|
||||
fcFxPortLinkResetIns => '1.3.6.1.2.1.75.1.3.1.1.9',
|
||||
fcFxPortLinkResetOuts => '1.3.6.1.2.1.75.1.3.1.1.10',
|
||||
fcFxPortOlsIns => '1.3.6.1.2.1.75.1.3.1.1.11',
|
||||
fcFxPortOlsOuts => '1.3.6.1.2.1.75.1.3.1.1.12',
|
||||
fcFeAccounting => '1.3.6.1.2.1.75.1.4',
|
||||
fcFxPortC1AccountingTable => '1.3.6.1.2.1.75.1.4.1',
|
||||
fcFxPortC1AccountingEntry => '1.3.6.1.2.1.75.1.4.1.1',
|
||||
fcFxPortC1InFrames => '1.3.6.1.2.1.75.1.4.1.1.1',
|
||||
fcFxPortC1OutFrames => '1.3.6.1.2.1.75.1.4.1.1.2',
|
||||
fcFxPortC1InOctets => '1.3.6.1.2.1.75.1.4.1.1.3',
|
||||
fcFxPortC1OutOctets => '1.3.6.1.2.1.75.1.4.1.1.4',
|
||||
fcFxPortC1Discards => '1.3.6.1.2.1.75.1.4.1.1.5',
|
||||
fcFxPortC1FbsyFrames => '1.3.6.1.2.1.75.1.4.1.1.6',
|
||||
fcFxPortC1FrjtFrames => '1.3.6.1.2.1.75.1.4.1.1.7',
|
||||
fcFxPortC1InConnections => '1.3.6.1.2.1.75.1.4.1.1.8',
|
||||
fcFxPortC1OutConnections => '1.3.6.1.2.1.75.1.4.1.1.9',
|
||||
fcFxPortC1ConnTime => '1.3.6.1.2.1.75.1.4.1.1.10',
|
||||
fcFxPortC2AccountingTable => '1.3.6.1.2.1.75.1.4.2',
|
||||
fcFxPortC2AccountingEntry => '1.3.6.1.2.1.75.1.4.2.1',
|
||||
fcFxPortC2InFrames => '1.3.6.1.2.1.75.1.4.2.1.1',
|
||||
fcFxPortC2OutFrames => '1.3.6.1.2.1.75.1.4.2.1.2',
|
||||
fcFxPortC2InOctets => '1.3.6.1.2.1.75.1.4.2.1.3',
|
||||
fcFxPortC2OutOctets => '1.3.6.1.2.1.75.1.4.2.1.4',
|
||||
fcFxPortC2Discards => '1.3.6.1.2.1.75.1.4.2.1.5',
|
||||
fcFxPortC2FbsyFrames => '1.3.6.1.2.1.75.1.4.2.1.6',
|
||||
fcFxPortC2FrjtFrames => '1.3.6.1.2.1.75.1.4.2.1.7',
|
||||
fcFxPortC3AccountingTable => '1.3.6.1.2.1.75.1.4.3',
|
||||
fcFxPortC3AccountingEntry => '1.3.6.1.2.1.75.1.4.3.1',
|
||||
fcFxPortC3InFrames => '1.3.6.1.2.1.75.1.4.3.1.1',
|
||||
fcFxPortC3OutFrames => '1.3.6.1.2.1.75.1.4.3.1.2',
|
||||
fcFxPortC3InOctets => '1.3.6.1.2.1.75.1.4.3.1.3',
|
||||
fcFxPortC3OutOctets => '1.3.6.1.2.1.75.1.4.3.1.4',
|
||||
fcFxPortC3Discards => '1.3.6.1.2.1.75.1.4.3.1.5',
|
||||
fcFeCapabilities => '1.3.6.1.2.1.75.1.5',
|
||||
fcFxPortCapTable => '1.3.6.1.2.1.75.1.5.1',
|
||||
fcFxPortCapEntry => '1.3.6.1.2.1.75.1.5.1.1',
|
||||
fcFxPortCapFcphVersionHigh => '1.3.6.1.2.1.75.1.5.1.1.1',
|
||||
fcFxPortCapFcphVersionLow => '1.3.6.1.2.1.75.1.5.1.1.2',
|
||||
fcFxPortCapBbCreditMax => '1.3.6.1.2.1.75.1.5.1.1.3',
|
||||
fcFxPortCapBbCreditMin => '1.3.6.1.2.1.75.1.5.1.1.4',
|
||||
fcFxPortCapRxDataFieldSizeMax => '1.3.6.1.2.1.75.1.5.1.1.5',
|
||||
fcFxPortCapRxDataFieldSizeMin => '1.3.6.1.2.1.75.1.5.1.1.6',
|
||||
fcFxPortCapCos => '1.3.6.1.2.1.75.1.5.1.1.7',
|
||||
fcFxPortCapIntermix => '1.3.6.1.2.1.75.1.5.1.1.8',
|
||||
fcFxPortCapStackedConnMode => '1.3.6.1.2.1.75.1.5.1.1.9',
|
||||
fcFxPortCapStackedConnModeDefinition => 'FIBRE-CHANNEL-FE-MIB::FcStackedConnMode',
|
||||
fcFxPortCapClass2SeqDeliv => '1.3.6.1.2.1.75.1.5.1.1.10',
|
||||
fcFxPortCapClass3SeqDeliv => '1.3.6.1.2.1.75.1.5.1.1.11',
|
||||
fcFxPortCapHoldTimeMax => '1.3.6.1.2.1.75.1.5.1.1.12',
|
||||
fcFxPortCapHoldTimeMin => '1.3.6.1.2.1.75.1.5.1.1.13',
|
||||
fcFeMIBConformance => '1.3.6.1.2.1.75.2',
|
||||
fcFeMIBCompliances => '1.3.6.1.2.1.75.2.1',
|
||||
fcFeMIBGroups => '1.3.6.1.2.1.75.2.2',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'FIBRE-CHANNEL-FE-MIB'} = {
|
||||
fcFxPortAdminMode => {
|
||||
'2' => 'fPort',
|
||||
'3' => 'flPort',
|
||||
},
|
||||
FcBbCreditModel => {
|
||||
'1' => 'regular',
|
||||
'2' => 'alternate',
|
||||
},
|
||||
fcFxPortPhysOperStatus => {
|
||||
'1' => 'online',
|
||||
'2' => 'offline',
|
||||
'3' => 'testing',
|
||||
'4' => 'linkFailure',
|
||||
},
|
||||
fcFxPortOperMode => {
|
||||
'1' => 'unknown',
|
||||
'2' => 'fPort',
|
||||
'3' => 'flPort',
|
||||
},
|
||||
FcStackedConnMode => {
|
||||
'1' => 'none',
|
||||
'2' => 'transparent',
|
||||
'3' => 'lockedDown',
|
||||
},
|
||||
fcFeModuleOperStatus => {
|
||||
'1' => 'online',
|
||||
'2' => 'offline',
|
||||
'3' => 'testing',
|
||||
'4' => 'faulty',
|
||||
},
|
||||
fcFxPortPhysAdminStatus => {
|
||||
'1' => 'online',
|
||||
'2' => 'offline',
|
||||
'3' => 'testing',
|
||||
},
|
||||
};
|
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,147 @@
|
|||
package Monitoring::GLPlugin::SNMP::MibsAndOids::GENUAMIB;
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'GENUA-MIB'} = {
|
||||
url => '',
|
||||
name => 'GENUA-MIB',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'GENUA-MIB'} =
|
||||
'1.3.6.1.4.1.3717';
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'GENUA-MIB'} = {
|
||||
# genua.os.sensor.system
|
||||
fanTable => '1.3.6.1.4.1.3717.2.1.1.1',
|
||||
fanEntry => '1.3.6.1.4.1.3717.2.1.1.1.1',
|
||||
fanIndex => '1.3.6.1.4.1.3717.2.1.1.1.1.1',
|
||||
fanName => '1.3.6.1.4.1.3717.2.1.1.1.1.2',
|
||||
fanRPMs => '1.3.6.1.4.1.3717.2.1.1.1.1.3',
|
||||
fanState => '1.3.6.1.4.1.3717.2.1.1.1.1.4',
|
||||
fanStateDefinition => 'GENUA-MIB::State',
|
||||
raidTable => '1.3.6.1.4.1.3717.2.1.1.2',
|
||||
raidEntry => '1.3.6.1.4.1.3717.2.1.1.2.1',
|
||||
raidIndex => '1.3.6.1.4.1.3717.2.1.1.2.1.1',
|
||||
raidName => '1.3.6.1.4.1.3717.2.1.1.2.1.2',
|
||||
raidStatus => '1.3.6.1.4.1.3717.2.1.1.2.1.3',
|
||||
raidStatusDefinition => 'GENUA-MIB::State',
|
||||
filesMax => '1.3.6.1.4.1.3717.2.1.1.3.1',
|
||||
filesUsed => '1.3.6.1.4.1.3717.2.1.1.3.2',
|
||||
filesStatus => '1.3.6.1.4.1.3717.2.1.1.3.3',
|
||||
filesStatusDefinition => 'GENUA-MIB::State',
|
||||
swapMax => '1.3.6.1.4.1.3717.2.1.1.4.1',
|
||||
swapUsed => '1.3.6.1.4.1.3717.2.1.1.4.2',
|
||||
swapStatus => '1.3.6.1.4.1.3717.2.1.1.4.3',
|
||||
swapStatusDefinition => 'GENUA-MIB::State',
|
||||
diskpartitionTable => '1.3.6.1.4.1.3717.2.1.1.5',
|
||||
diskpartitionEntry => '1.3.6.1.4.1.3717.2.1.1.5.1',
|
||||
diskpartitionIndex => '1.3.6.1.4.1.3717.2.1.1.5.1.1',
|
||||
diskpartitionName => '1.3.6.1.4.1.3717.2.1.1.5.1.2',
|
||||
diskpartitionSpace => '1.3.6.1.4.1.3717.2.1.1.5.1.3',
|
||||
diskpartitionSpaceMax => '1.3.6.1.4.1.3717.2.1.1.5.1.3.1',
|
||||
diskpartitionSpaceUsed => '1.3.6.1.4.1.3717.2.1.1.5.1.3.2',
|
||||
diskpartitionSpaceStatus => '1.3.6.1.4.1.3717.2.1.1.5.1.3.3',
|
||||
diskpartitionInodes => '1.3.6.1.4.1.3717.2.1.1.5.1.4',
|
||||
diskpartitionInodesMax => '1.3.6.1.4.1.3717.2.1.1.5.1.4.1',
|
||||
diskpartitionInodesUsed => '1.3.6.1.4.1.3717.2.1.1.5.1.4.2',
|
||||
diskpartitionInodesStatus => '1.3.6.1.4.1.3717.2.1.1.5.1.4.3',
|
||||
pfstateMax => '1.3.6.1.4.1.3717.2.1.1.6.1',
|
||||
pfstateUsed => '1.3.6.1.4.1.3717.2.1.1.6.2',
|
||||
pfstateStatus => '1.3.6.1.4.1.3717.2.1.1.6.3',
|
||||
pfstateStatusDefinition => 'GENUA-MIB::State',
|
||||
# genua.os.sensor.system.smartcard
|
||||
smartcardStatus => '1.3.6.1.4.1.3717.2.1.1.7.1',
|
||||
smartcardStatusDefinition => 'GENUA-MIB::State',
|
||||
# genua.os.sensor.system.vpnsum
|
||||
vpnsumExpected => '1.3.6.1.4.1.3717.2.1.1.8.1',
|
||||
vpnsumUp => '1.3.6.1.4.1.3717.2.1.1.8.2',
|
||||
# genua.os.sensor.interfaceTable
|
||||
interfaceTable => '1.3.6.1.4.1.3717.2.1.2',
|
||||
interfaceEntry => '1.3.6.1.4.1.3717.2.1.2.1',
|
||||
interfaceIndex => '1.3.6.1.4.1.3717.2.1.2.1.1',
|
||||
interfaceName => '1.3.6.1.4.1.3717.2.1.2.1.2',
|
||||
interfaceType => '1.3.6.1.4.1.3717.2.1.2.1.3',
|
||||
interfaceTypeDefinition => 'GENUA-MIB::Iftype',
|
||||
interfaceLinkstate => '1.3.6.1.4.1.3717.2.1.2.1.4',
|
||||
interfaceLinkstateDefinition => 'GENUA-MIB::Ifstate',
|
||||
interfaceIerrorsNumber => '1.3.6.1.4.1.3717.2.1.2.1.5.1',
|
||||
interfaceIerrorsStatus => '1.3.6.1.4.1.3717.2.1.2.1.5.2',
|
||||
interfaceIerrorsStatusDefinition => 'GENUA-MIB::State',
|
||||
interfaceOerrorsNumber => '1.3.6.1.4.1.3717.2.1.2.1.6.1',
|
||||
interfaceOerrorsStatus => '1.3.6.1.4.1.3717.2.1.2.1.6.2',
|
||||
interfaceOerrorsStatusDefinition => 'GENUA-MIB::State',
|
||||
interfaceCarpstatus => '1.3.6.1.4.1.3717.2.1.2.1.7',
|
||||
interfaceCarpstatusDefinition => 'GENUA-MIB::Carpstatus',
|
||||
# genua.os.sensor.vpnTable
|
||||
vpnTable => '1.3.6.1.4.1.3717.2.1.3',
|
||||
vpnEntry => '1.3.6.1.4.1.3717.2.1.3.1',
|
||||
vpnIndex => '1.3.6.1.4.1.3717.2.1.3.1.1',
|
||||
vpnPeer => '1.3.6.1.4.1.3717.2.1.3.1.2',
|
||||
vpnPeerip => '1.3.6.1.4.1.3717.2.1.3.1.3',
|
||||
vpnLocal => '1.3.6.1.4.1.3717.2.1.3.1.4',
|
||||
vpnRemote => '1.3.6.1.4.1.3717.2.1.3.1.5',
|
||||
vpnStatus => '1.3.6.1.4.1.3717.2.1.3.1.6',
|
||||
vpnStatusDefinition => 'GENUA-MIB::Ifstate',
|
||||
# genua.os.sensor.pingTable
|
||||
pingTable => '1.3.6.1.4.1.3717.2.1.4',
|
||||
pingEntry => '1.3.6.1.4.1.3717.2.1.4.1',
|
||||
pingIndex => '1.3.6.1.4.1.3717.2.1.4.1.1',
|
||||
pingName => '1.3.6.1.4.1.3717.2.1.4.1.2',
|
||||
pingIp => '1.3.6.1.4.1.3717.2.1.4.1.3',
|
||||
pingStatus => '1.3.6.1.4.1.3717.2.1.4.1.4',
|
||||
pingStatusDefinition => 'GENUA-MIB::Reachabilitystatus',
|
||||
# genua.os.misc
|
||||
miscSeverity => '1.3.6.1.4.1.3717.2.2.1',
|
||||
miscId => '1.3.6.1.4.1.3717.2.2.2',
|
||||
miscMessage => '1.3.6.1.4.1.3717.2.2.2',
|
||||
# genua.os.info
|
||||
infoProduct => '1.3.6.1.4.1.3717.2.3.1',
|
||||
infoSoftwareversion => '1.3.6.1.4.1.3717.2.3.2',
|
||||
infoRelease => '1.3.6.1.4.1.3717.2.3.3',
|
||||
infoPatchlevel => '1.3.6.1.4.1.3717.2.3.4',
|
||||
infoHardwareversion => '1.3.6.1.4.1.3717.2.3.5',
|
||||
infoSerialnumber => '1.3.6.1.4.1.3717.2.3.6',
|
||||
infoLicense => '1.3.6.1.4.1.3717.2.3.7',
|
||||
infoOperating => '1.3.6.1.4.1.3717.2.3.8',
|
||||
# genua.products
|
||||
genugate => '1.3.6.1.4.1.3717.4.1',
|
||||
genubox => '1.3.6.1.4.1.3717.4.2',
|
||||
genulink => '1.3.6.1.4.1.3717.4.3',
|
||||
genuscreen => '1.3.6.1.4.1.3717.4.4',
|
||||
genucrypt => '1.3.6.1.4.1.3717.4.5',
|
||||
genucenter => '1.3.6.1.4.1.3717.4.6',
|
||||
genucard => '1.3.6.1.4.1.3717.4.7',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'GENUA-MIB'} = {
|
||||
# textual conventions
|
||||
State => {
|
||||
'0' => 'notok',
|
||||
'1' => 'ok',
|
||||
'2' => 'unknown',
|
||||
},
|
||||
Ifstate => {
|
||||
'0' => 'unknown',
|
||||
'1' => 'down',
|
||||
'2' => 'up',
|
||||
},
|
||||
Reachabilitystatus => {
|
||||
'0' => 'unrechable',
|
||||
'1' => 'reachable',
|
||||
},
|
||||
Iftype => {
|
||||
'1' => 'phys',
|
||||
'2' => 'gif',
|
||||
'3' => 'pppoe',
|
||||
'4' => 'vlan',
|
||||
'6' => 'carp',
|
||||
'7' => 'unknown',
|
||||
'8' => 'trunk',
|
||||
'9' => 'modem',
|
||||
'10' => 'gre',
|
||||
'11' => 'mpls',
|
||||
},
|
||||
Carpstatus => {
|
||||
'0' => 'init',
|
||||
'1' => 'backup',
|
||||
'2' => 'master',
|
||||
},
|
||||
};
|
|
@ -0,0 +1,248 @@
|
|||
package Monitoring::GLPlugin::SNMP::MibsAndOids::HOSTRESOURCESMIB;
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'HOST-RESOURCES-MIB'} = {
|
||||
url => '',
|
||||
name => 'HOST-RESOURCES-MIB',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'HOST-RESOURCES-MIB'} =
|
||||
'1.3.6.1.2.1.25';
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'HOST-RESOURCES-MIB'} = {
|
||||
hostResourcesMibModule => '1.3.6.1.2.1.25',
|
||||
hrSystem => '1.3.6.1.2.1.25.1',
|
||||
hrSystemUptime => '1.3.6.1.2.1.25.1.1',
|
||||
hrSystemDate => '1.3.6.1.2.1.25.1.2',
|
||||
hrSystemDateDefinition => 'MIB-2-MIB::DateAndTime',
|
||||
hrSystemInitialLoadDevice => '1.3.6.1.2.1.25.1.3',
|
||||
hrSystemInitialLoadParameters => '1.3.6.1.2.1.25.1.4',
|
||||
hrSystemNumUsers => '1.3.6.1.2.1.25.1.5',
|
||||
hrSystemProcesses => '1.3.6.1.2.1.25.1.6',
|
||||
hrSystemMaxProcesses => '1.3.6.1.2.1.25.1.7',
|
||||
hrStorage => '1.3.6.1.2.1.25.2',
|
||||
hrStorageTypes => '1.3.6.1.2.1.25.2.1',
|
||||
hrStorageTypeDefinition => 'OID::HOST-RESOURCES-MIB',
|
||||
hrStorageOther => '1.3.6.1.2.1.25.2.1.1',
|
||||
hrStorageRam => '1.3.6.1.2.1.25.2.1.2',
|
||||
hrStorageVirtualMemory => '1.3.6.1.2.1.25.2.1.3',
|
||||
hrStorageFixedDisk => '1.3.6.1.2.1.25.2.1.4',
|
||||
hrStorageRemovableDisk => '1.3.6.1.2.1.25.2.1.5',
|
||||
hrStorageFloppyDisk => '1.3.6.1.2.1.25.2.1.6',
|
||||
hrStorageCompactDisc => '1.3.6.1.2.1.25.2.1.7',
|
||||
hrStorageRamDisk => '1.3.6.1.2.1.25.2.1.8',
|
||||
hrMemorySize => '1.3.6.1.2.1.25.2.2',
|
||||
hrStorageTable => '1.3.6.1.2.1.25.2.3',
|
||||
hrStorageEntry => '1.3.6.1.2.1.25.2.3.1',
|
||||
hrStorageIndex => '1.3.6.1.2.1.25.2.3.1.1',
|
||||
hrStorageType => '1.3.6.1.2.1.25.2.3.1.2',
|
||||
hrStorageDescr => '1.3.6.1.2.1.25.2.3.1.3',
|
||||
hrStorageAllocationUnits => '1.3.6.1.2.1.25.2.3.1.4',
|
||||
hrStorageSize => '1.3.6.1.2.1.25.2.3.1.5',
|
||||
hrStorageUsed => '1.3.6.1.2.1.25.2.3.1.6',
|
||||
hrStorageAllocationFailures => '1.3.6.1.2.1.25.2.3.1.7',
|
||||
hrDevice => '1.3.6.1.2.1.25.3',
|
||||
hrDeviceTypes => '1.3.6.1.2.1.25.3.1',
|
||||
hrDeviceTypeDefinition => 'OID::HOST-RESOURCES-MIB',
|
||||
hrDeviceOther => '1.3.6.1.2.1.25.3.1.1',
|
||||
hrDeviceUnknown => '1.3.6.1.2.1.25.3.1.2',
|
||||
hrDeviceProcessor => '1.3.6.1.2.1.25.3.1.3',
|
||||
hrDeviceNetwork => '1.3.6.1.2.1.25.3.1.4',
|
||||
hrDevicePrinter => '1.3.6.1.2.1.25.3.1.5',
|
||||
hrDeviceDiskStorage => '1.3.6.1.2.1.25.3.1.6',
|
||||
hrDeviceVideo => '1.3.6.1.2.1.25.3.1.10',
|
||||
hrDeviceAudio => '1.3.6.1.2.1.25.3.1.11',
|
||||
hrDeviceCoprocessor => '1.3.6.1.2.1.25.3.1.12',
|
||||
hrDeviceKeyboard => '1.3.6.1.2.1.25.3.1.13',
|
||||
hrDeviceModem => '1.3.6.1.2.1.25.3.1.14',
|
||||
hrDeviceParallelPort => '1.3.6.1.2.1.25.3.1.15',
|
||||
hrDevicePointing => '1.3.6.1.2.1.25.3.1.16',
|
||||
hrDeviceSerialPort => '1.3.6.1.2.1.25.3.1.17',
|
||||
hrDeviceTape => '1.3.6.1.2.1.25.3.1.18',
|
||||
hrDeviceClock => '1.3.6.1.2.1.25.3.1.19',
|
||||
hrDeviceVolatileMemory => '1.3.6.1.2.1.25.3.1.20',
|
||||
hrDeviceNonVolatileMemory => '1.3.6.1.2.1.25.3.1.21',
|
||||
hrDeviceTable => '1.3.6.1.2.1.25.3.2',
|
||||
hrDeviceEntry => '1.3.6.1.2.1.25.3.2.1',
|
||||
hrDeviceIndex => '1.3.6.1.2.1.25.3.2.1.1',
|
||||
hrDeviceType => '1.3.6.1.2.1.25.3.2.1.2',
|
||||
hrDeviceDescr => '1.3.6.1.2.1.25.3.2.1.3',
|
||||
hrDeviceID => '1.3.6.1.2.1.25.3.2.1.4',
|
||||
hrDeviceStatus => '1.3.6.1.2.1.25.3.2.1.5',
|
||||
hrDeviceStatusDefinition => 'HOST-RESOURCES-MIB::hrDeviceStatus',
|
||||
hrDeviceErrors => '1.3.6.1.2.1.25.3.2.1.6',
|
||||
hrProcessorTable => '1.3.6.1.2.1.25.3.3',
|
||||
hrProcessorEntry => '1.3.6.1.2.1.25.3.3.1',
|
||||
hrProcessorFrwID => '1.3.6.1.2.1.25.3.3.1.1',
|
||||
hrProcessorLoad => '1.3.6.1.2.1.25.3.3.1.2',
|
||||
hrNetworkTable => '1.3.6.1.2.1.25.3.4',
|
||||
hrNetworkEntry => '1.3.6.1.2.1.25.3.4.1',
|
||||
hrNetworkIfIndex => '1.3.6.1.2.1.25.3.4.1.1',
|
||||
hrPrinterTable => '1.3.6.1.2.1.25.3.5',
|
||||
hrPrinterEntry => '1.3.6.1.2.1.25.3.5.1',
|
||||
hrPrinterStatus => '1.3.6.1.2.1.25.3.5.1.1',
|
||||
hrPrinterStatusDefinition => 'HOST-RESOURCES-MIB::hrPrinterStatus',
|
||||
hrPrinterDetectedErrorState => '1.3.6.1.2.1.25.3.5.1.2',
|
||||
hrPrinterDetectedErrorStateDefinition => 'HOST-RESOURCES-MIB::hrPrinterDetectedErrorState',
|
||||
hrDiskStorageTable => '1.3.6.1.2.1.25.3.6',
|
||||
hrDiskStorageEntry => '1.3.6.1.2.1.25.3.6.1',
|
||||
hrDiskStorageAccess => '1.3.6.1.2.1.25.3.6.1.1',
|
||||
hrDiskStorageAccessDefinition => 'HOST-RESOURCES-MIB::hrDiskStorageAccess',
|
||||
hrDiskStorageMedia => '1.3.6.1.2.1.25.3.6.1.2',
|
||||
hrDiskStorageMediaDefinition => 'HOST-RESOURCES-MIB::hrDiskStorageMedia',
|
||||
hrDiskStorageRemoveble => '1.3.6.1.2.1.25.3.6.1.3',
|
||||
hrDiskStorageRemovebleDefinition => 'HOST-RESOURCES-MIB::Boolean',
|
||||
hrDiskStorageCapacity => '1.3.6.1.2.1.25.3.6.1.4',
|
||||
hrPartitionTable => '1.3.6.1.2.1.25.3.7',
|
||||
hrPartitionEntry => '1.3.6.1.2.1.25.3.7.1',
|
||||
hrPartitionIndex => '1.3.6.1.2.1.25.3.7.1.1',
|
||||
hrPartitionLabel => '1.3.6.1.2.1.25.3.7.1.2',
|
||||
hrPartitionID => '1.3.6.1.2.1.25.3.7.1.3',
|
||||
hrPartitionSize => '1.3.6.1.2.1.25.3.7.1.4',
|
||||
hrPartitionFSIndex => '1.3.6.1.2.1.25.3.7.1.5',
|
||||
hrFSTable => '1.3.6.1.2.1.25.3.8',
|
||||
hrFSEntry => '1.3.6.1.2.1.25.3.8.1',
|
||||
hrFSIndex => '1.3.6.1.2.1.25.3.8.1.1',
|
||||
hrFSMountPoint => '1.3.6.1.2.1.25.3.8.1.2',
|
||||
hrFSRemoteMountPoint => '1.3.6.1.2.1.25.3.8.1.3',
|
||||
hrFSType => '1.3.6.1.2.1.25.3.8.1.4',
|
||||
hrFSAccess => '1.3.6.1.2.1.25.3.8.1.5',
|
||||
hrFSAccessDefinition => 'HOST-RESOURCES-MIB::hrFSAccess',
|
||||
hrFSBootable => '1.3.6.1.2.1.25.3.8.1.6',
|
||||
hrFSBootableDefinition => 'HOST-RESOURCES-MIB::Boolean',
|
||||
hrFSStorageIndex => '1.3.6.1.2.1.25.3.8.1.7',
|
||||
hrFSLastFullBackupDate => '1.3.6.1.2.1.25.3.8.1.8',
|
||||
hrFSLastPartialBackupDate => '1.3.6.1.2.1.25.3.8.1.9',
|
||||
hrFSTypes => '1.3.6.1.2.1.25.3.9',
|
||||
hrFSTypeDefinition => 'OID::HOST-RESOURCES-MIB',
|
||||
hrFSOther => '1.3.6.1.2.1.25.3.9.1',
|
||||
hrFSUnknown => '1.3.6.1.2.1.25.3.9.2',
|
||||
hrFSBerkeleyFFS => '1.3.6.1.2.1.25.3.9.3',
|
||||
hrFSSys5FS => '1.3.6.1.2.1.25.3.9.4',
|
||||
hrFSFat => '1.3.6.1.2.1.25.3.9.5',
|
||||
hrFSHPFS => '1.3.6.1.2.1.25.3.9.6',
|
||||
hrFSHFS => '1.3.6.1.2.1.25.3.9.7',
|
||||
hrFSMFS => '1.3.6.1.2.1.25.3.9.8',
|
||||
hrFSNTFS => '1.3.6.1.2.1.25.3.9.9',
|
||||
hrFSVNode => '1.3.6.1.2.1.25.3.9.10',
|
||||
hrFSJournaled => '1.3.6.1.2.1.25.3.9.11',
|
||||
hrFSiso9660 => '1.3.6.1.2.1.25.3.9.12',
|
||||
hrFSRockRidge => '1.3.6.1.2.1.25.3.9.13',
|
||||
hrFSNFS => '1.3.6.1.2.1.25.3.9.14',
|
||||
hrFSNetware => '1.3.6.1.2.1.25.3.9.15',
|
||||
hrFSAFS => '1.3.6.1.2.1.25.3.9.16',
|
||||
hrFSDFS => '1.3.6.1.2.1.25.3.9.17',
|
||||
hrFSAppleshare => '1.3.6.1.2.1.25.3.9.18',
|
||||
hrFSRFS => '1.3.6.1.2.1.25.3.9.19',
|
||||
hrFSDGCFS => '1.3.6.1.2.1.25.3.9.20',
|
||||
hrFSBFS => '1.3.6.1.2.1.25.3.9.21',
|
||||
hrSWRun => '1.3.6.1.2.1.25.4',
|
||||
hrSWOSIndex => '1.3.6.1.2.1.25.4.1',
|
||||
hrSWRunTable => '1.3.6.1.2.1.25.4.2',
|
||||
hrSWRunEntry => '1.3.6.1.2.1.25.4.2.1',
|
||||
hrSWRunIndex => '1.3.6.1.2.1.25.4.2.1.1',
|
||||
hrSWRunName => '1.3.6.1.2.1.25.4.2.1.2',
|
||||
hrSWRunID => '1.3.6.1.2.1.25.4.2.1.3',
|
||||
hrSWRunPath => '1.3.6.1.2.1.25.4.2.1.4',
|
||||
hrSWRunParameters => '1.3.6.1.2.1.25.4.2.1.5',
|
||||
hrSWRunType => '1.3.6.1.2.1.25.4.2.1.6',
|
||||
hrSWRunTypeDefinition => 'HOST-RESOURCES-MIB::hrSWRunType',
|
||||
hrSWRunStatus => '1.3.6.1.2.1.25.4.2.1.7',
|
||||
hrSWRunStatusDefinition => 'HOST-RESOURCES-MIB::hrSWRunStatus',
|
||||
hrSWRunPerf => '1.3.6.1.2.1.25.5',
|
||||
hrSWRunPerfTable => '1.3.6.1.2.1.25.5.1',
|
||||
hrSWRunPerfEntry => '1.3.6.1.2.1.25.5.1.1',
|
||||
hrSWRunPerfCPU => '1.3.6.1.2.1.25.5.1.1.1',
|
||||
hrSWRunPerfMem => '1.3.6.1.2.1.25.5.1.1.2',
|
||||
hrSWInstalled => '1.3.6.1.2.1.25.6',
|
||||
hrSWInstalledLastChange => '1.3.6.1.2.1.25.6.1',
|
||||
hrSWInstalledLastUpdateTime => '1.3.6.1.2.1.25.6.2',
|
||||
hrSWInstalledTable => '1.3.6.1.2.1.25.6.3',
|
||||
hrSWInstalledEntry => '1.3.6.1.2.1.25.6.3.1',
|
||||
hrSWInstalledIndex => '1.3.6.1.2.1.25.6.3.1.1',
|
||||
hrSWInstalledName => '1.3.6.1.2.1.25.6.3.1.2',
|
||||
hrSWInstalledID => '1.3.6.1.2.1.25.6.3.1.3',
|
||||
hrSWInstalledType => '1.3.6.1.2.1.25.6.3.1.4',
|
||||
hrSWInstalledTypeDefinition => 'HOST-RESOURCES-MIB::hrSWInstalledType',
|
||||
hrSWInstalledDate => '1.3.6.1.2.1.25.6.3.1.5',
|
||||
hrConformance => '1.3.6.1.2.1.25.7',
|
||||
hrMIBCompliances => '1.3.6.1.2.1.25.7.1',
|
||||
hrMIBGroups => '1.3.6.1.2.1.25.7.2',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'HOST-RESOURCES-MIB'} = {
|
||||
hrDeviceStatus => {
|
||||
'1' => 'unknown',
|
||||
'2' => 'running',
|
||||
'3' => 'warning',
|
||||
'4' => 'testing',
|
||||
'5' => 'down',
|
||||
},
|
||||
hrSWInstalledType => {
|
||||
'1' => 'unknown',
|
||||
'2' => 'operatingSystem',
|
||||
'3' => 'deviceDriver',
|
||||
'4' => 'application',
|
||||
},
|
||||
hrPrinterStatus => {
|
||||
'1' => 'other',
|
||||
'2' => 'unknown',
|
||||
'3' => 'idle',
|
||||
'4' => 'printing',
|
||||
'5' => 'warmup',
|
||||
},
|
||||
hrDiskStorageAccess => {
|
||||
'1' => 'readWrite',
|
||||
'2' => 'readOnly',
|
||||
},
|
||||
hrDiskStorageMedia => {
|
||||
'1' => 'other',
|
||||
'2' => 'unknown',
|
||||
'3' => 'hardDisk',
|
||||
'4' => 'floppyDisk',
|
||||
'5' => 'opticalDiskROM',
|
||||
'6' => 'opticalDiskWORM',
|
||||
'7' => 'opticalDiskRW',
|
||||
'8' => 'ramDisk',
|
||||
},
|
||||
hrSWRunType => {
|
||||
'1' => 'unknown',
|
||||
'2' => 'operatingSystem',
|
||||
'3' => 'deviceDriver',
|
||||
'4' => 'application',
|
||||
},
|
||||
Boolean => {
|
||||
'1' => 'true',
|
||||
'2' => 'false',
|
||||
},
|
||||
hrFSAccess => {
|
||||
'1' => 'readWrite',
|
||||
'2' => 'readOnly',
|
||||
},
|
||||
hrSWRunStatus => {
|
||||
'1' => 'running',
|
||||
'2' => 'runnable',
|
||||
'3' => 'notRunnable',
|
||||
'4' => 'invalid',
|
||||
},
|
||||
hrPrinterDetectedErrorState => sub {
|
||||
my $val = shift;
|
||||
my $state = unpack("B*", $val);
|
||||
my @errors = ();
|
||||
my $errors = {
|
||||
0 => 'lowPaper',
|
||||
1 => 'noPaper',
|
||||
2 => 'lowToner',
|
||||
3 => 'noToner',
|
||||
4 => 'doorOpen',
|
||||
5 => 'jammed',
|
||||
6 => 'offline',
|
||||
7 => 'serviceRequested',
|
||||
};
|
||||
foreach my $bit (0..7) {
|
||||
if (substr($state, $bit, 1) eq "1") {
|
||||
push(@errors, $errors->{$bit});
|
||||
}
|
||||
}
|
||||
return @errors ? join("|", @errors) : 'good';
|
||||
},
|
||||
};
|
|
@ -1,81 +1,18 @@
|
|||
package Monitoring::GLPlugin::SNMP::MibsAndOids::IFMIB;
|
||||
package Monitoring::GLPlugin::SNMP::MibsAndOids::IANAIFTYPEMIB;
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'IFMIB'} = {
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'IANAIFTYPE-MIB'} = {
|
||||
url => '',
|
||||
name => 'IFMIB',
|
||||
name => 'IANAIFTYPE-MIB',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'IFMIB'} = {
|
||||
'ifNumber' => '1.3.6.1.2.1.2.1',
|
||||
'ifTable' => '1.3.6.1.2.1.2.2',
|
||||
'ifEntry' => '1.3.6.1.2.1.2.2.1',
|
||||
'ifIndex' => '1.3.6.1.2.1.2.2.1.1',
|
||||
'ifDescr' => '1.3.6.1.2.1.2.2.1.2',
|
||||
'ifType' => '1.3.6.1.2.1.2.2.1.3',
|
||||
'ifTypeDefinition' => 'IFMIB::ifType',
|
||||
'ifMtu' => '1.3.6.1.2.1.2.2.1.4',
|
||||
'ifSpeed' => '1.3.6.1.2.1.2.2.1.5',
|
||||
'ifPhysAddress' => '1.3.6.1.2.1.2.2.1.6',
|
||||
'ifAdminStatus' => '1.3.6.1.2.1.2.2.1.7',
|
||||
'ifAdminStatusDefinition' => {
|
||||
'1' => 'up',
|
||||
'2' => 'down',
|
||||
'3' => 'testing',
|
||||
},
|
||||
'ifOperStatus' => '1.3.6.1.2.1.2.2.1.8',
|
||||
'ifOperStatusDefinition' => {
|
||||
'1' => 'up',
|
||||
'2' => 'down',
|
||||
'3' => 'testing',
|
||||
'4' => 'unknown',
|
||||
'5' => 'dormant',
|
||||
'6' => 'notPresent',
|
||||
'7' => 'lowerLayerDown',
|
||||
},
|
||||
'ifLastChange' => '1.3.6.1.2.1.2.2.1.9',
|
||||
'ifInOctets' => '1.3.6.1.2.1.2.2.1.10',
|
||||
'ifInUcastPkts' => '1.3.6.1.2.1.2.2.1.11',
|
||||
'ifInNUcastPkts' => '1.3.6.1.2.1.2.2.1.12',
|
||||
'ifInDiscards' => '1.3.6.1.2.1.2.2.1.13',
|
||||
'ifInErrors' => '1.3.6.1.2.1.2.2.1.14',
|
||||
'ifInUnknownProtos' => '1.3.6.1.2.1.2.2.1.15',
|
||||
'ifOutOctets' => '1.3.6.1.2.1.2.2.1.16',
|
||||
'ifOutUcastPkts' => '1.3.6.1.2.1.2.2.1.17',
|
||||
'ifOutNUcastPkts' => '1.3.6.1.2.1.2.2.1.18',
|
||||
'ifOutDiscards' => '1.3.6.1.2.1.2.2.1.19',
|
||||
'ifOutErrors' => '1.3.6.1.2.1.2.2.1.20',
|
||||
'ifOutQLen' => '1.3.6.1.2.1.2.2.1.21',
|
||||
'ifSpecific' => '1.3.6.1.2.1.2.2.1.22',
|
||||
'ifXTable' => '1.3.6.1.2.1.31.1.1',
|
||||
'ifXEntry' => '1.3.6.1.2.1.31.1.1.1',
|
||||
'ifName' => '1.3.6.1.2.1.31.1.1.1.1',
|
||||
'ifInMulticastPkts' => '1.3.6.1.2.1.31.1.1.1.2',
|
||||
'ifInBroadcastPkts' => '1.3.6.1.2.1.31.1.1.1.3',
|
||||
'ifOutMulticastPkts' => '1.3.6.1.2.1.31.1.1.1.4',
|
||||
'ifOutBroadcastPkts' => '1.3.6.1.2.1.31.1.1.1.5',
|
||||
'ifHCInOctets' => '1.3.6.1.2.1.31.1.1.1.6',
|
||||
'ifHCInUcastPkts' => '1.3.6.1.2.1.31.1.1.1.7',
|
||||
'ifHCInMulticastPkts' => '1.3.6.1.2.1.31.1.1.1.8',
|
||||
'ifHCInBroadcastPkts' => '1.3.6.1.2.1.31.1.1.1.9',
|
||||
'ifHCOutOctets' => '1.3.6.1.2.1.31.1.1.1.10',
|
||||
'ifHCOutUcastPkts' => '1.3.6.1.2.1.31.1.1.1.11',
|
||||
'ifHCOutMulticastPkts' => '1.3.6.1.2.1.31.1.1.1.12',
|
||||
'ifHCOutBroadcastPkts' => '1.3.6.1.2.1.31.1.1.1.13',
|
||||
'ifLinkUpDownTrapEnable' => '1.3.6.1.2.1.31.1.1.1.14',
|
||||
'ifLinkUpDownTrapEnableDefinition' => {
|
||||
'1' => 'enabled',
|
||||
'2' => 'disabled',
|
||||
},
|
||||
'ifHighSpeed' => '1.3.6.1.2.1.31.1.1.1.15',
|
||||
'ifPromiscuousMode' => '1.3.6.1.2.1.31.1.1.1.16',
|
||||
'ifConnectorPresent' => '1.3.6.1.2.1.31.1.1.1.17',
|
||||
'ifAlias' => '1.3.6.1.2.1.31.1.1.1.18',
|
||||
'ifCounterDiscontinuityTime' => '1.3.6.1.2.1.31.1.1.1.19',
|
||||
'ifTableLastChange' => '1.3.6.1.2.1.31.1.5',
|
||||
#$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'IANAIFTYPE-MIB'} =
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'IANAIFTYPE-MIB'} = {
|
||||
ianaifType => '1.3.6.1.2.1.30',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'IFMIB'} = {
|
||||
'ifType' => {
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'IANAIFTYPE-MIB'} = {
|
||||
IANAifType => {
|
||||
'1' => 'other',
|
||||
'2' => 'regular1822',
|
||||
'3' => 'hdh1822',
|
||||
|
@ -348,9 +285,38 @@ $Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'IFMIB'} = {
|
|||
'270' => 'aluGponOnu',
|
||||
'271' => 'aluGponPhysicalUni',
|
||||
'272' => 'vmwareNicTeam',
|
||||
'277' => 'docsOfdmDownstream',
|
||||
'278' => 'docsOfdmaUpstream',
|
||||
'279' => 'gfast',
|
||||
'280' => 'sdci',
|
||||
'281' => 'xboxWireless',
|
||||
'282' => 'fastdsl',
|
||||
'283' => 'docsCableScte55d1FwdOob',
|
||||
'284' => 'docsCableScte55d1RetOob',
|
||||
'285' => 'docsCableScte55d2DsOob',
|
||||
'286' => 'docsCableScte55d2UsOob',
|
||||
'287' => 'docsCableNdf',
|
||||
'288' => 'docsCableNdr',
|
||||
'289' => 'ptm',
|
||||
'290' => 'ghn',
|
||||
},
|
||||
IANAtunnelType => {
|
||||
'1' => 'other',
|
||||
'2' => 'direct',
|
||||
'3' => 'gre',
|
||||
'4' => 'minimal',
|
||||
'5' => 'l2tp',
|
||||
'6' => 'pptp',
|
||||
'7' => 'l2f',
|
||||
'8' => 'udp',
|
||||
'9' => 'atmp',
|
||||
'10' => 'msdp',
|
||||
'11' => 'sixToFour',
|
||||
'12' => 'sixOverFour',
|
||||
'13' => 'isatap',
|
||||
'14' => 'teredo',
|
||||
'15' => 'ipHttps',
|
||||
'16' => 'softwireMesh',
|
||||
'17' => 'dsLite',
|
||||
},
|
||||
};
|
||||
|
||||
1;
|
||||
|
||||
__END__
|
|
@ -0,0 +1,114 @@
|
|||
package Monitoring::GLPlugin::SNMP::MibsAndOids::IEEE8023LAGMIB;
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'IEEE8023-LAG-MIB'} = {
|
||||
url => '',
|
||||
name => 'IEEE8023-LAG-MIB',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'IEEE8023-LAG-MIB'} =
|
||||
'1.2.840.10006.300.43';
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'IEEE8023-LAG-MIB'} = {
|
||||
lagMIB => '1.2.840.10006.300.43',
|
||||
lagMIBObjects => '1.2.840.10006.300.43.1',
|
||||
dot3adAgg => '1.2.840.10006.300.43.1.1',
|
||||
dot3adAggTable => '1.2.840.10006.300.43.1.1.1',
|
||||
dot3adAggEntry => '1.2.840.10006.300.43.1.1.1.1',
|
||||
dot3adAggIndex => '1.2.840.10006.300.43.1.1.1.1.1',
|
||||
dot3adAggMACAddress => '1.2.840.10006.300.43.1.1.1.1.2',
|
||||
dot3adAggActorSystemPriority => '1.2.840.10006.300.43.1.1.1.1.3',
|
||||
dot3adAggActorSystemID => '1.2.840.10006.300.43.1.1.1.1.4',
|
||||
dot3adAggAggregateOrIndividual => '1.2.840.10006.300.43.1.1.1.1.5',
|
||||
dot3adAggActorAdminKey => '1.2.840.10006.300.43.1.1.1.1.6',
|
||||
dot3adAggActorOperKey => '1.2.840.10006.300.43.1.1.1.1.7',
|
||||
dot3adAggPartnerSystemID => '1.2.840.10006.300.43.1.1.1.1.8',
|
||||
dot3adAggPartnerSystemPriority => '1.2.840.10006.300.43.1.1.1.1.9',
|
||||
dot3adAggPartnerOperKey => '1.2.840.10006.300.43.1.1.1.1.10',
|
||||
dot3adAggCollectorMaxDelay => '1.2.840.10006.300.43.1.1.1.1.11',
|
||||
dot3adAggPortListTable => '1.2.840.10006.300.43.1.1.2',
|
||||
dot3adAggPortListEntry => '1.2.840.10006.300.43.1.1.2.1',
|
||||
dot3adAggPortListPorts => '1.2.840.10006.300.43.1.1.2.1.1',
|
||||
dot3adAggPort => '1.2.840.10006.300.43.1.2',
|
||||
dot3adAggPortTable => '1.2.840.10006.300.43.1.2.1',
|
||||
dot3adAggPortEntry => '1.2.840.10006.300.43.1.2.1.1',
|
||||
dot3adAggPortIndex => '1.2.840.10006.300.43.1.2.1.1.1',
|
||||
dot3adAggPortActorSystemPriority => '1.2.840.10006.300.43.1.2.1.1.2',
|
||||
dot3adAggPortActorSystemID => '1.2.840.10006.300.43.1.2.1.1.3',
|
||||
dot3adAggPortActorAdminKey => '1.2.840.10006.300.43.1.2.1.1.4',
|
||||
dot3adAggPortActorOperKey => '1.2.840.10006.300.43.1.2.1.1.5',
|
||||
dot3adAggPortPartnerAdminSystemPriority => '1.2.840.10006.300.43.1.2.1.1.6',
|
||||
dot3adAggPortPartnerOperSystemPriority => '1.2.840.10006.300.43.1.2.1.1.7',
|
||||
dot3adAggPortPartnerAdminSystemID => '1.2.840.10006.300.43.1.2.1.1.8',
|
||||
dot3adAggPortPartnerOperSystemID => '1.2.840.10006.300.43.1.2.1.1.9',
|
||||
dot3adAggPortPartnerAdminKey => '1.2.840.10006.300.43.1.2.1.1.10',
|
||||
dot3adAggPortPartnerOperKey => '1.2.840.10006.300.43.1.2.1.1.11',
|
||||
dot3adAggPortSelectedAggID => '1.2.840.10006.300.43.1.2.1.1.12',
|
||||
dot3adAggPortAttachedAggID => '1.2.840.10006.300.43.1.2.1.1.13',
|
||||
dot3adAggPortActorPort => '1.2.840.10006.300.43.1.2.1.1.14',
|
||||
dot3adAggPortActorPortPriority => '1.2.840.10006.300.43.1.2.1.1.15',
|
||||
dot3adAggPortPartnerAdminPort => '1.2.840.10006.300.43.1.2.1.1.16',
|
||||
dot3adAggPortPartnerOperPort => '1.2.840.10006.300.43.1.2.1.1.17',
|
||||
dot3adAggPortPartnerAdminPortPriority => '1.2.840.10006.300.43.1.2.1.1.18',
|
||||
dot3adAggPortPartnerOperPortPriority => '1.2.840.10006.300.43.1.2.1.1.19',
|
||||
dot3adAggPortActorAdminState => '1.2.840.10006.300.43.1.2.1.1.20',
|
||||
dot3adAggPortActorOperState => '1.2.840.10006.300.43.1.2.1.1.21',
|
||||
dot3adAggPortPartnerAdminState => '1.2.840.10006.300.43.1.2.1.1.22',
|
||||
dot3adAggPortPartnerOperState => '1.2.840.10006.300.43.1.2.1.1.23',
|
||||
dot3adAggPortAggregateOrIndividual => '1.2.840.10006.300.43.1.2.1.1.24',
|
||||
dot3adAggPortStatsTable => '1.2.840.10006.300.43.1.2.2',
|
||||
dot3adAggPortStatsEntry => '1.2.840.10006.300.43.1.2.2.1',
|
||||
dot3adAggPortStatsLACPDUsRx => '1.2.840.10006.300.43.1.2.2.1.1',
|
||||
dot3adAggPortStatsMarkerPDUsRx => '1.2.840.10006.300.43.1.2.2.1.2',
|
||||
dot3adAggPortStatsMarkerResponsePDUsRx => '1.2.840.10006.300.43.1.2.2.1.3',
|
||||
dot3adAggPortStatsUnknownRx => '1.2.840.10006.300.43.1.2.2.1.4',
|
||||
dot3adAggPortStatsIllegalRx => '1.2.840.10006.300.43.1.2.2.1.5',
|
||||
dot3adAggPortStatsLACPDUsTx => '1.2.840.10006.300.43.1.2.2.1.6',
|
||||
dot3adAggPortStatsMarkerPDUsTx => '1.2.840.10006.300.43.1.2.2.1.7',
|
||||
dot3adAggPortStatsMarkerResponsePDUsTx => '1.2.840.10006.300.43.1.2.2.1.8',
|
||||
dot3adAggPortDebugTable => '1.2.840.10006.300.43.1.2.3',
|
||||
dot3adAggPortDebugEntry => '1.2.840.10006.300.43.1.2.3.1',
|
||||
dot3adAggPortDebugRxState => '1.2.840.10006.300.43.1.2.3.1.1',
|
||||
dot3adAggPortDebugRxStateDefinition => 'IEEE8023-LAG-MIB::dot3adAggPortDebugRxState',
|
||||
dot3adAggPortDebugLastRxTime => '1.2.840.10006.300.43.1.2.3.1.2',
|
||||
dot3adAggPortDebugMuxState => '1.2.840.10006.300.43.1.2.3.1.3',
|
||||
dot3adAggPortDebugMuxStateDefinition => 'IEEE8023-LAG-MIB::dot3adAggPortDebugMuxState',
|
||||
dot3adAggPortDebugMuxReason => '1.2.840.10006.300.43.1.2.3.1.4',
|
||||
dot3adAggPortDebugActorChurnState => '1.2.840.10006.300.43.1.2.3.1.5',
|
||||
dot3adAggPortDebugActorChurnStateDefinition => 'IEEE8023-LAG-MIB::ChurnState',
|
||||
dot3adAggPortDebugPartnerChurnState => '1.2.840.10006.300.43.1.2.3.1.6',
|
||||
dot3adAggPortDebugPartnerChurnStateDefinition => 'IEEE8023-LAG-MIB::ChurnState',
|
||||
dot3adAggPortDebugActorChurnCount => '1.2.840.10006.300.43.1.2.3.1.7',
|
||||
dot3adAggPortDebugPartnerChurnCount => '1.2.840.10006.300.43.1.2.3.1.8',
|
||||
dot3adAggPortDebugActorSyncTransitionCount => '1.2.840.10006.300.43.1.2.3.1.9',
|
||||
dot3adAggPortDebugPartnerSyncTransitionCount => '1.2.840.10006.300.43.1.2.3.1.10',
|
||||
dot3adAggPortDebugActorChangeCount => '1.2.840.10006.300.43.1.2.3.1.11',
|
||||
dot3adAggPortDebugPartnerChangeCount => '1.2.840.10006.300.43.1.2.3.1.12',
|
||||
dot3adTablesLastChanged => '1.2.840.10006.300.43.1.3',
|
||||
dot3adAggConformance => '1.2.840.10006.300.43.2',
|
||||
dot3adAggGroups => '1.2.840.10006.300.43.2.1',
|
||||
dot3adAggCompliances => '1.2.840.10006.300.43.2.2',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'IEEE8023-LAG-MIB'} = {
|
||||
dot3adAggPortDebugMuxState => {
|
||||
'1' => 'detached',
|
||||
'2' => 'waiting',
|
||||
'3' => 'attached',
|
||||
'4' => 'collecting',
|
||||
'5' => 'distributing',
|
||||
'6' => 'collectingDistributing',
|
||||
},
|
||||
dot3adAggPortDebugRxState => {
|
||||
'1' => 'currentRx',
|
||||
'2' => 'expired',
|
||||
'3' => 'defaulted',
|
||||
'4' => 'initialize',
|
||||
'5' => 'lacpDisabled',
|
||||
'6' => 'portDisabled',
|
||||
},
|
||||
ChurnState => {
|
||||
'1' => 'noChurn',
|
||||
'2' => 'churn',
|
||||
'3' => 'churnMonitor',
|
||||
},
|
||||
};
|
|
@ -0,0 +1,130 @@
|
|||
package Monitoring::GLPlugin::SNMP::MibsAndOids::IFMIB;
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::origin->{'IFMIB'} = {
|
||||
url => '',
|
||||
name => 'IFMIB',
|
||||
};
|
||||
|
||||
#$Monitoring::GLPlugin::SNMP::MibsAndOids::mib_ids->{'IFMIB'} =
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::mibs_and_oids->{'IFMIB'} = {
|
||||
interfaces => '1.3.6.1.2.1.2',
|
||||
ifNumber => '1.3.6.1.2.1.2.1',
|
||||
ifTable => '1.3.6.1.2.1.2.2',
|
||||
ifEntry => '1.3.6.1.2.1.2.2.1',
|
||||
ifIndex => '1.3.6.1.2.1.2.2.1.1',
|
||||
ifDescr => '1.3.6.1.2.1.2.2.1.2',
|
||||
ifType => '1.3.6.1.2.1.2.2.1.3',
|
||||
ifTypeDefinition => 'IANAIFTYPE-MIB::IANAifType',
|
||||
ifMtu => '1.3.6.1.2.1.2.2.1.4',
|
||||
ifSpeed => '1.3.6.1.2.1.2.2.1.5',
|
||||
ifPhysAddress => '1.3.6.1.2.1.2.2.1.6',
|
||||
ifAdminStatus => '1.3.6.1.2.1.2.2.1.7',
|
||||
ifAdminStatusDefinition => 'IFMIB::ifAdminStatus',
|
||||
ifOperStatus => '1.3.6.1.2.1.2.2.1.8',
|
||||
ifOperStatusDefinition => 'IFMIB::ifOperStatus',
|
||||
ifLastChange => '1.3.6.1.2.1.2.2.1.9',
|
||||
ifInOctets => '1.3.6.1.2.1.2.2.1.10',
|
||||
ifInUcastPkts => '1.3.6.1.2.1.2.2.1.11',
|
||||
ifInNUcastPkts => '1.3.6.1.2.1.2.2.1.12',
|
||||
ifInDiscards => '1.3.6.1.2.1.2.2.1.13',
|
||||
ifInErrors => '1.3.6.1.2.1.2.2.1.14',
|
||||
ifInUnknownProtos => '1.3.6.1.2.1.2.2.1.15',
|
||||
ifOutOctets => '1.3.6.1.2.1.2.2.1.16',
|
||||
ifOutUcastPkts => '1.3.6.1.2.1.2.2.1.17',
|
||||
ifOutNUcastPkts => '1.3.6.1.2.1.2.2.1.18',
|
||||
ifOutDiscards => '1.3.6.1.2.1.2.2.1.19',
|
||||
ifOutErrors => '1.3.6.1.2.1.2.2.1.20',
|
||||
ifOutQLen => '1.3.6.1.2.1.2.2.1.21',
|
||||
ifSpecific => '1.3.6.1.2.1.2.2.1.22',
|
||||
ifMIB => '1.3.6.1.2.1.31',
|
||||
ifMIBObjects => '1.3.6.1.2.1.31.1',
|
||||
ifXTable => '1.3.6.1.2.1.31.1.1',
|
||||
ifXEntry => '1.3.6.1.2.1.31.1.1.1',
|
||||
ifName => '1.3.6.1.2.1.31.1.1.1.1',
|
||||
ifInMulticastPkts => '1.3.6.1.2.1.31.1.1.1.2',
|
||||
ifInBroadcastPkts => '1.3.6.1.2.1.31.1.1.1.3',
|
||||
ifOutMulticastPkts => '1.3.6.1.2.1.31.1.1.1.4',
|
||||
ifOutBroadcastPkts => '1.3.6.1.2.1.31.1.1.1.5',
|
||||
ifHCInOctets => '1.3.6.1.2.1.31.1.1.1.6',
|
||||
ifHCInUcastPkts => '1.3.6.1.2.1.31.1.1.1.7',
|
||||
ifHCInMulticastPkts => '1.3.6.1.2.1.31.1.1.1.8',
|
||||
ifHCInBroadcastPkts => '1.3.6.1.2.1.31.1.1.1.9',
|
||||
ifHCOutOctets => '1.3.6.1.2.1.31.1.1.1.10',
|
||||
ifHCOutUcastPkts => '1.3.6.1.2.1.31.1.1.1.11',
|
||||
ifHCOutMulticastPkts => '1.3.6.1.2.1.31.1.1.1.12',
|
||||
ifHCOutBroadcastPkts => '1.3.6.1.2.1.31.1.1.1.13',
|
||||
ifLinkUpDownTrapEnable => '1.3.6.1.2.1.31.1.1.1.14',
|
||||
ifLinkUpDownTrapEnableDefinition => 'IFMIB::ifLinkUpDownTrapEnable',
|
||||
ifHighSpeed => '1.3.6.1.2.1.31.1.1.1.15',
|
||||
ifPromiscuousMode => '1.3.6.1.2.1.31.1.1.1.16',
|
||||
ifConnectorPresent => '1.3.6.1.2.1.31.1.1.1.17',
|
||||
ifAlias => '1.3.6.1.2.1.31.1.1.1.18',
|
||||
ifCounterDiscontinuityTime => '1.3.6.1.2.1.31.1.1.1.19',
|
||||
ifStackTable => '1.3.6.1.2.1.31.1.2',
|
||||
ifStackEntry => '1.3.6.1.2.1.31.1.2.1',
|
||||
ifStackHigherLayer => '1.3.6.1.2.1.31.1.2.1.1',
|
||||
ifStackLowerLayer => '1.3.6.1.2.1.31.1.2.1.2',
|
||||
ifStackStatus => '1.3.6.1.2.1.31.1.2.1.3',
|
||||
ifStackStatusDefinition => 'SNMPv2-TC-v1-MIB::RowStatus',
|
||||
ifTestTable => '1.3.6.1.2.1.31.1.3',
|
||||
ifTestEntry => '1.3.6.1.2.1.31.1.3.1',
|
||||
ifTestId => '1.3.6.1.2.1.31.1.3.1.1',
|
||||
ifTestStatus => '1.3.6.1.2.1.31.1.3.1.2',
|
||||
ifTestStatusDefinition => 'IFMIB::ifTestStatus',
|
||||
ifTestType => '1.3.6.1.2.1.31.1.3.1.3',
|
||||
ifTestResult => '1.3.6.1.2.1.31.1.3.1.4',
|
||||
ifTestResultDefinition => 'IFMIB::ifTestResult',
|
||||
ifTestCode => '1.3.6.1.2.1.31.1.3.1.5',
|
||||
ifTestOwner => '1.3.6.1.2.1.31.1.3.1.6',
|
||||
ifRcvAddressTable => '1.3.6.1.2.1.31.1.4',
|
||||
ifRcvAddressEntry => '1.3.6.1.2.1.31.1.4.1',
|
||||
ifRcvAddressAddress => '1.3.6.1.2.1.31.1.4.1.1',
|
||||
ifRcvAddressStatus => '1.3.6.1.2.1.31.1.4.1.2',
|
||||
ifRcvAddressType => '1.3.6.1.2.1.31.1.4.1.3',
|
||||
ifRcvAddressTypeDefinition => 'IFMIB::ifRcvAddressType',
|
||||
ifTableLastChange => '1.3.6.1.2.1.31.1.5',
|
||||
ifStackLastChange => '1.3.6.1.2.1.31.1.6',
|
||||
ifConformance => '1.3.6.1.2.1.31.2',
|
||||
ifGroups => '1.3.6.1.2.1.31.2.1',
|
||||
ifCompliances => '1.3.6.1.2.1.31.2.2',
|
||||
};
|
||||
|
||||
$Monitoring::GLPlugin::SNMP::MibsAndOids::definitions->{'IFMIB'} = {
|
||||
ifAdminStatus => {
|
||||
'1' => 'up',
|
||||
'2' => 'down',
|
||||
'3' => 'testing',
|
||||
},
|
||||
ifLinkUpDownTrapEnable => {
|
||||
'1' => 'enabled',
|
||||
'2' => 'disabled',
|
||||
},
|
||||
ifTestStatus => {
|
||||
'1' => 'notInUse',
|
||||
'2' => 'inUse',
|
||||
},
|
||||
ifOperStatus => {
|
||||
'1' => 'up',
|
||||
'2' => 'down',
|
||||
'3' => 'testing',
|
||||
'4' => 'unknown',
|
||||
'5' => 'dormant',
|
||||
'6' => 'notPresent',
|
||||
'7' => 'lowerLayerDown',
|
||||
},
|
||||
ifRcvAddressType => {
|
||||
'1' => 'other',
|
||||
'2' => 'volatile',
|
||||
'3' => 'nonVolatile',
|
||||
},
|
||||
ifTestResult => {
|
||||
'1' => 'none',
|
||||
'2' => 'success',
|
||||
'3' => 'inProgress',
|
||||
'4' => 'notSupported',
|
||||
'5' => 'unAbleToRun',
|
||||
'6' => 'aborted',
|
||||
'7' => 'failed',
|
||||
},
|
||||
};
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue