SNMP陷阱和警报严重性 [英] SNMP Trap and Alarm Severity

查看:760
本文介绍了SNMP陷阱和警报严重性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在SNMP陷阱上遇到问题.我正在使用思科的专用MIB.在那里,我可以使用单独的OID来确定警报的严重性,并且其值如下.

MajorLow = 0

MinorLow = 1

标称= 2

MinorHigh = 3

MajorHigh = 4

使用这些状态,我正在NMS中显示设备的警报严重性.

但是,当设备生成陷阱时,它将仅以两种状态(MAJOR = 1或MINOR = 2)发送警报严重性.如果我使用这些警报状态(1或2),则它与现有状态不匹配(MajorLow = 1,Nominal = 2).

如何解决此问题?

I have an issue over SNMP trap. I am using Cisco''s private MIB. There I can use separate OID for alarm severity and it holds the values as follows.

MajorLow = 0

MinorLow = 1

Nominal = 2

MinorHigh = 3

MajorHigh = 4

Using these states I am showing the alarm severity of the device in my NMS.

But when the device generates trap, it sends the alarm severity with only two states (MAJOR = 1 or MINOR = 2). If i use these alarm states (1 or 2), it mismatch with the existing states (MajorLow =1, Nominal = 2).

How can I overcome this issue?

推荐答案

在Trap中,只有两个状态,即MAJOR/MINOR.但我应该将此陷阱状态与LOLO,LO,HIHI,HI,NOMINAL匹配.
我怀疑您是否可以拥有它,因为仅定义了两个状态.
您需要对映射有一些逻辑.如果仅输入两个状态,并希望它是五个状态之一,则映射应定义它.

对我来说是:
专业== HIHI,HI
次要== LOLO,LO
名义上不算什么.

如果您有任何关联的值,则可以使用它们来定义Major是HIHI还是HI-否则,您需要将其作为所有主要的HIHI/HI进行存储.映射到任何一个并继续.
In Trap, there are two states only, MAJOR/MINOR. But I should match this Trap states with LOLO, LO, HI NOMINAL.
I doubt if you can have it as only two states are defined.
You need to have some logic for the mapping. If you input only two states and want it to be one of five states then the mapping should define it.

To me it''s:
Major == HI HI
Minor == LOLO, LO
Nominal is nothing.

If you have any values associated, you can use them to define if Major is HIHI or HI - or else, you need to bucket it as HIHI/HI for all MAJOR. Map to any one and move on.


这篇关于SNMP陷阱和警报严重性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆