Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SNMP] Add profile for Avaya Media gateway #15469

Merged
merged 2 commits into from
Aug 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,207 @@
extends:
- _base.yaml
- _generic-entity-sensor.yaml
- _generic-if.yaml
- _generic-ospf.yaml
- avaya.yaml

sysobjectid:
- 1.3.6.1.4.1.6889.1.45.103.8 # G450 Media Gateway
- 1.3.6.1.4.1.6889.1.45.103.41 # G430 Media Gateway

metrics:
- MIB: UTILIZATION-MANAGEMENT-MIB
symbol:
name: cpu.usage
OID: 1.3.6.1.4.1.6889.2.1.11.1.1.1.1.5.10 # genCpuAverageUtilization.10
- MIB: UTILIZATION-MANAGEMENT-MIB
symbol:
name: memory.usage
OID: 1.3.6.1.4.1.6889.2.1.11.1.2.6.1.3.10 # genMemUtilizationPercentUsed.10
- MIB: AVAYA-ENTITY-MIB
table:
name: avEntPhyChFruTable
OID: 1.3.6.1.4.1.6889.2.1.99.5.1
symbols:
- name: avaya.avEntPhyChFru
constant_value_one: true
metric_tags:
- index: 1
tag: avaya_ent_physical_index
- column:
OID: 1.3.6.1.4.1.6889.2.1.99.5.1.1.1
name: avaya.avEntPhyChFruOperStat
tag: avaya_av_ent_phy_ch_fru_oper_stat
mapping:
1: ok
2: fault
3: not_present
255: unknown
- column:
OID: 1.3.6.1.4.1.6889.2.1.99.5.1.1.2
name: avaya.avEntPhyChFruFault
tag: avaya_av_ent_phy_ch_fru_fault
mapping:
1: none
2: malfunction
3: ac_fault
4: malfunction_and_ac_fault
5: single_fan_fault
6: multiple_fan_fault
7: bad_expansion_cable
255: unknown
# - MIB: AVAYA-RTP-MIB
# symbol:
# name: avaya.avRtpEnable
# OID: 1.3.6.1.4.1.6889.2.7.1.2.0
# enum:
# true: 1
# false: 2
# TODO: enum in scalar metric is not supported yet (keep this metric and this
# comment in profile until it's fixed)
# - MIB: G700-MG-MIB
# symbol:
# name: avaya.cmgQosControl
# OID: 1.3.6.1.4.1.6889.2.9.1.2.2.1.0
# enum:
# local: 1
# remote: 2
# TODO: enum in scalar metric is not supported yet (keep this metric and this
# comment in profile until it's fixed)
- MIB: G700-MG-MIB
symbol:
name: avaya.cmgRemoteSigDscp
OID: 1.3.6.1.4.1.6889.2.9.1.2.2.2.0
- MIB: G700-MG-MIB
symbol:
name: avaya.cmgRemoteSig802Priority
OID: 1.3.6.1.4.1.6889.2.9.1.2.2.3.0
- MIB: G700-MG-MIB
symbol:
name: avaya.cmgLocalSigDscp
OID: 1.3.6.1.4.1.6889.2.9.1.2.2.4.0
- MIB: G700-MG-MIB
symbol:
name: avaya.cmgLocalSig802Priority
OID: 1.3.6.1.4.1.6889.2.9.1.2.2.5.0
- MIB: G700-MG-MIB
symbol:
name: avaya.cmgCurrent802Vlan
OID: 1.3.6.1.4.1.6889.2.9.1.2.2.7.0
# - MIB: G700-MG-MIB
# symbol:
# name: avaya.cmgRegistrationState
# OID: 1.3.6.1.4.1.6889.2.9.1.3.1.0
# enum:
# registered: 1
# notRegistered: 2
# TODO: enum in scalar metric is not supported yet (keep this metric and this
# comment in profile until it's fixed)
# - MIB: G700-MG-MIB
# symbol:
# name: avaya.cmgH248LinkStatus
# OID: 1.3.6.1.4.1.6889.2.9.1.3.3.0
# enum:
# up: 1
# down: 2
# TODO: enum in scalar metric is not supported yet (keep this metric and this
# comment in profile until it's fixed)
- MIB: G700-MG-MIB
symbol:
name: avaya.cmgH248LinkErrorCode
OID: 1.3.6.1.4.1.6889.2.9.1.3.4.0
- MIB: G700-MG-MIB
table:
name: cmgVoipEngineTable
OID: 1.3.6.1.4.1.6889.2.9.1.4.5
symbols:
- name: avaya.cmgVoipTotalChannels
OID: 1.3.6.1.4.1.6889.2.9.1.4.5.1.6
- name: avaya.cmgVoipChannelsInUse
OID: 1.3.6.1.4.1.6889.2.9.1.4.5.1.7
- name: avaya.cmgVoipAverageOccupancy
OID: 1.3.6.1.4.1.6889.2.9.1.4.5.1.8
metric_tags:
- column:
name: avaya.cmgVoipCurrentIpAddress
OID: 1.3.6.1.4.1.6889.2.9.1.4.5.1.4
tag: avaya_cmg_voip_current_ip_address
- column:
OID: 1.3.6.1.4.1.6889.2.9.1.4.5.1.9
name: avaya.cmgVoipHyperactivity
tag: avaya_cmg_voip_hyperactivity
mapping:
1: normal
2: hyperactive
255: unknown
- column:
OID: 1.3.6.1.4.1.6889.2.9.1.4.5.1.10
name: avaya.cmgVoipAdminState
tag: avaya_cmg_voip_admin_state
mapping:
1: busy_out
2: release
3: camp_on
255: unknown
- column:
OID: 1.3.6.1.4.1.6889.2.9.1.4.5.1.12
name: avaya.cmgVoipDspStatus
tag: avaya_cmg_voip_dsp_status
mapping:
1: idle
2: in_use
3: fault
- MIB: G700-MG-MIB
table:
name: cmgVoipDSPCoreTable
OID: 1.3.6.1.4.1.6889.2.9.1.4.6
symbols:
- name: avaya.cmgDSPCoreTotalChannels
OID: 1.3.6.1.4.1.6889.2.9.1.4.6.1.2
- name: avaya.cmgDSPCoreChannelsInUse
OID: 1.3.6.1.4.1.6889.2.9.1.4.6.1.3
metric_tags:
- column:
OID: 1.3.6.1.4.1.6889.2.9.1.4.6.1.4
name: avaya.cmgDSPCoreAdminState
tag: avaya_cmg_dsp_core_admin_state
mapping:
1: busy_out
2: release
3: camp_on
255: unknown
- column:
OID: 1.3.6.1.4.1.6889.2.9.1.4.6.1.5
name: avaya.cmgDSPCoreStatus
tag: avaya_cmg_dsp_core_status
mapping:
1: idle
2: in_use
3: fault
- column:
OID: 1.3.6.1.4.1.6889.2.9.1.4.6.1.7
name: avaya.cmgDSPCoreDemandTestResult
tag: avaya_cmg_dsp_core_demand_test_result
mapping:
1: error_code1
2: error_code2
3: error_code3
4: error_code4
5: error_code5
6: error_code6
7: not_responding
255: pass

metric_tags:
- OID: 1.3.6.1.4.1.6889.2.9.1.1.1.0
symbol: cmgHWType
tag: avaya_cmg_hw_type
- OID: 1.3.6.1.4.1.6889.2.9.1.1.2.0
symbol: cmgModelNumber
tag: avaya_cmg_model_number
- OID: 1.3.6.1.4.1.6889.2.9.1.1.4.0
symbol: cmgSerialNumber
tag: avaya_cmg_serial_number
- OID: 1.3.6.1.4.1.6889.2.9.1.3.2.0
symbol: cmgActiveControllerAddress
tag: avaya_cmg_active_controller_address
12 changes: 12 additions & 0 deletions snmp/metadata.csv
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,18 @@ snmp.arubaWiredFanTray,gauge,,,,"[ARUBAWIRED-FANTRAY-MIB] This table contains on
snmp.arubaWiredPSUInstantaneousPower,gauge,,,,"[ARUBAWIRED-POWERSUPPLY-MIB] Total instantaneous power supplied by the power supply in Watts.",0,snmp,,
snmp.arubaWiredPSUNumberFailures,gauge,,,,"[ARUBAWIRED-POWERSUPPLY-MIB] Number of failures the power supply has experienced since the most recent insertion of the power supply and boot of the system. The number of failures for a power supply will be cleared if the power supply is removed from the system or if the system is rebooted. For non removable power supplies, the number of failures will not clear until the system reboots. Failure...",0,snmp,,
snmp.arubaWiredTempSensorTemperature,gauge,,,,"[ARUBAWIRED-TEMPSENSOR-MIB] Current temperature value read from the temperature sensor.",0,snmp,,
snmp.avaya.avEntPhyChFru,gauge,,,,"[AVAYA-ENTITY-MIB] Table depicting the status of chassis FRU units such as Power-Supplies and Fan-Tray (Make 'sum by {X}' queries to count elements with the tag X.)",0,snmp,,
snmp.avaya.cmgCurrent802Vlan,gauge,,,,"[G700-MG-MIB] 802.1 VLAN ID currently in use for this processor. If cmgUseDhcpForVlan was on(1) at the last startup, this came from the DHCP server. Otherwise it is equal to cmgStatic802Vlan at the time of the last startup.",0,snmp,,
snmp.avaya.cmgDSPCoreChannelsInUse,gauge,,,,"[G700-MG-MIB] Number of channels in use at this DSP core.",0,snmp,,
snmp.avaya.cmgDSPCoreTotalChannels,gauge,,,,"[G700-MG-MIB] Total channels available to this DSP core.",0,snmp,,
snmp.avaya.cmgH248LinkErrorCode,gauge,,,,"[G700-MG-MIB] Most recently received H.248 error code affecting the link between this media gateway and its active call controller. If cmgH248LinkStatus is up(1), this value will be zero. 0 No error 400 Syntax error in message 403 Syntax error in TransactionRequest 406 Version not supported 410 Incorrect identifier 411 The transaction refers to an unknown ContextId 412 No ContextIDs available 4...",0,snmp,,
snmp.avaya.cmgLocalSig802Priority,gauge,,,,"[G700-MG-MIB] 802.1 Priority for signaling traffic on the H.248 link, locally administered. If cmgQosControl is remote(2), this value is ignored.",0,snmp,,
snmp.avaya.cmgLocalSigDscp,gauge,,,,"[G700-MG-MIB] DiffServ Code Point for signaling traffic on the H.248 link, locally administered. If cmgQosControl is remote(2), this value is ignored.",0,snmp,,
snmp.avaya.cmgRemoteSig802Priority,gauge,,,,"[G700-MG-MIB] 802.1 Priority for signaling traffic on the H.248 link, received from the controller. If cmgQosControl is local(1), this value is ignored.",0,snmp,,
snmp.avaya.cmgRemoteSigDscp,gauge,,,,"[G700-MG-MIB] DiffServ Code Point for signaling traffic on the H.248 link, received from the controller. If cmgQosControl is local(1), this value is ignored.",0,snmp,,
snmp.avaya.cmgVoipAverageOccupancy,gauge,,,,"[G700-MG-MIB] 5-minute average occupancy of this VoIP engine.",0,snmp,,
snmp.avaya.cmgVoipChannelsInUse,gauge,,,,"[G700-MG-MIB] Number of channels in use at this VoIP engine.",0,snmp,,
snmp.avaya.cmgVoipTotalChannels,gauge,,,,"[G700-MG-MIB] Total channels available to this VoIP engine.",0,snmp,,
snmp.avaya.genPort,gauge,,,,"[CONFIG-MIB] Table of configuration attributes for managed ports. Includes configuration data which are independent of the specific functionality of the port. (Make 'sum by {X}' queries to count elements with the tag X.)",0,snmp,,
snmp.avocent.acsActiveSessionsNumberOfSession,gauge,,,,"[ACS8000-MIB] Number of active sessions.",0,snmp,,
snmp.avocent.acsSerialPort,gauge,,,,"[ACS8000-MIB] This table contains information about serial ports. (Make 'sum by {X}' queries to count elements with the tag X.)",0,snmp,,
Expand Down
Loading