[network::nokia::timos::snmp::plugin] new mode sas-alarm #5083
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Community contributors
Description
new mode for sas alarms.
TIMETRA-SAS-ALARM-INPUT-MIB.txt
SNMP walk:
.1.3.6.1.4.1.6527.6.2.2.2.9.1.1.2.1 = STRING: "PSU_1_Sammelalarm"
.1.3.6.1.4.1.6527.6.2.2.2.9.1.1.2.2 = STRING: "PSU_1_230V_fehlt"
.1.3.6.1.4.1.6527.6.2.2.2.9.1.1.2.3 = STRING: "PSU_2_Sammelalarm"
.1.3.6.1.4.1.6527.6.2.2.2.9.1.1.2.4 = STRING: "PSU_2_230V_fehlt"
.1.3.6.1.4.1.6527.6.2.2.2.9.1.1.3.1 = INTEGER: 1
.1.3.6.1.4.1.6527.6.2.2.2.9.1.1.3.2 = INTEGER: 1
.1.3.6.1.4.1.6527.6.2.2.2.9.1.1.3.3 = INTEGER: 1
.1.3.6.1.4.1.6527.6.2.2.2.9.1.1.3.4 = INTEGER: 1
.1.3.6.1.4.1.6527.6.2.2.2.9.1.1.4.1 = INTEGER: 1
.1.3.6.1.4.1.6527.6.2.2.2.9.1.1.4.2 = INTEGER: 1
.1.3.6.1.4.1.6527.6.2.2.2.9.1.1.4.3 = INTEGER: 1
.1.3.6.1.4.1.6527.6.2.2.2.9.1.1.4.4 = INTEGER: 1
.1.3.6.1.4.1.6527.6.2.2.2.9.1.1.5.1 = INTEGER: 3
.1.3.6.1.4.1.6527.6.2.2.2.9.1.1.5.2 = INTEGER: 3
.1.3.6.1.4.1.6527.6.2.2.2.9.1.1.5.3 = INTEGER: 3
.1.3.6.1.4.1.6527.6.2.2.2.9.1.1.5.4 = INTEGER: 3
.1.3.6.1.4.1.6527.6.2.2.2.9.1.1.6.1 = INTEGER: 2
.1.3.6.1.4.1.6527.6.2.2.2.9.1.1.6.2 = INTEGER: 1
.1.3.6.1.4.1.6527.6.2.2.2.9.1.1.6.3 = INTEGER: 1
.1.3.6.1.4.1.6527.6.2.2.2.9.1.1.6.4 = INTEGER: 1
.1.3.6.1.4.1.6527.6.2.2.2.9.1.1.7.1 = Timeticks: (280) 0:00:02.80
.1.3.6.1.4.1.6527.6.2.2.2.9.1.1.7.2 = Timeticks: (280) 0:00:02.80
.1.3.6.1.4.1.6527.6.2.2.2.9.1.1.7.3 = Timeticks: (280) 0:00:02.80
.1.3.6.1.4.1.6527.6.2.2.2.9.1.1.7.4 = Timeticks: (280) 0:00:02.80
Alarm should be raised if OID .1.3.6.1.4.1.6527.6.2.2.2.9.1.1.6. = 2
OID .1.3.6.1.4.1.6527.6.2.2.2.9.1.1.7. could be ignored, values are not updated
Output: tmnxSasAlarmInputDescription, tmnxSasAlarmInputPolarity, tmnxSasAlarmOutputSeverity
Warning-status and critical-status for tmnxSasAlarmOutputSeverity
--warning-status
(Default: '%{alarm_input_admin_state} eq "up" and %{alarm_input_status} eq "alarm" and %{alarm_output_severity} =~ /minor/')
You can use the following variables: %{alarm_input_admin_state}, %{alarm_input_status}, %{alarm_output_severity}
--critical-status
Set critical threshold for status (Default: '%{alarm_input_admin_state} eq "up" and %{alarm_input_status} eq "alarm" and %{alarm_output_severity} =~ /major|critical/').
You can use the following variables: %{ipv4_oper_state}, %{admin_state}, %{display}
Type of change
How this pull request can be tested ?
mib attached
Checklist