NetWorker:SNMP 陷阱接收器报告“未知陷阱”

Summary: NetWorker Simple Network Management Protocol (SNMP) 通知使用 nsrtrap 进行配置。陷阱接收器未正确接收通知,并报告“未知陷阱”

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

SNMP 通知通过 NetWorker 进行配置:NetWorker:如何配置、创建和修改 SNMP 通知

SNMP 陷阱接收器报告它从 NetWorker 服务器收到“未知陷阱”:

未知陷阱

提醒:SNMP 陷阱接收器工具是第三方实用程序,未随 NetWorker 一起提供。错误的报告或观察到的方式可能会有所不同,具体取决于所使用的陷阱实用程序。请咨询管理实用程序的系统管理员,了解观察到的与收到的陷阱相关的任何错误。

Cause

该NETWORKER-MIB.txt定义了 nwServerNotification 作为一个 OBJECT-TYPE 陷阱:

--(.1.3.6.1.4.1.160.0)
nwServerNotification    OBJECT-TYPE
        SYNTAX      OCTET STRING
    MAX-ACCESS  accessible-for-notify
    STATUS      current
    DESCRIPTION
        "nwServerNotification"
::= { networker 1 }
nwNotifications OBJECT IDENTIFIER ::= { networker 2 }
policyNotification OBJECT IDENTIFIER ::= { nwNotifications 1 }
workflowNotification OBJECT IDENTIFIER ::= { policyNotification 1 }
restoreNotification OBJECT IDENTIFIER ::= { nwNotifications 2 }
actionNotificationprefix OBJECT IDENTIFIER ::= { workflowNotification 1 }
actionNotificationObjects OBJECT IDENTIFIER ::= { workflowNotification 2 }
restoreNotificationprefix OBJECT IDENTIFIER ::= { restoreNotification 1 }
restoreNotificationObjects OBJECT IDENTIFIER ::= { restoreNotification 2 }

某些陷阱接收器仅映射陷阱对象标识 (OID) NOTIFICATION-TYPE 陷阱,不解释遗留 OBJECT-TYPE 陷阱。例如: NOTIFICATION-TYPE 陷阱在 NETWORKER-MIB 中定义:

--(.1.3.6.1.4.1.160.0.2.1.1.1)
successfulActionNotification NOTIFICATION-TYPE
    OBJECTS     { server, client, jobtype, jobid, status, severity, exitcode,
starttime, endtime }
    STATUS      current
    DESCRIPTION
        "workflow notification"
::= { actionNotificationprefix  1 }

failedActionNotification NOTIFICATION-TYPE
    OBJECTS     { server, client, jobtype, jobid, status, severity, exitcode,
starttime, endtime }
    STATUS      current
    DESCRIPTION
        "workflow notification"
::= { actionNotificationprefix  2 }

didnotrunActionNotification NOTIFICATION-TYPE
    OBJECTS     { server, client, jobtype, jobid, status, severity, exitcode,
starttime, endtime }
    STATUS      current
    DESCRIPTION
        "action notification for did not run."
::= { actionNotificationprefix  3 }

上述陷阱应在陷阱接收器中接收。

Resolution

无需 NetWorker作。观察到的功能取决于陷阱接收器。 

NetWorker Administration Guide 声明以下内容:

关于 SNMP 陷阱的注释

这意味着,陷阱接收器仍应接收到 NOTIFICATION-TYPE 从 NetWorker 服务器发送时的陷阱。例如,当备份策略失败时。您应该会收到一个 failedActionTypeNotification 包含有关作业的结构化信息的陷阱。
无论是 nwServerNotificationfailedActionTypeNotification 陷阱包含基本相同的细节;但是,NOTIFICATION-TYPE 陷阱更具结构化,其中 OBJECT-TYPE 通知是一个字符串中的原始数据。例如:

 

NOTIFICATION-TYPE failedActionNotification

failedActionType SNMP 陷阱

 

OBJECT-TYPE nwServerNotification 对于同一作业:

nwServerNotification 陷阱 

NetWorker 管理指南提供了有关 NetWorker SNMP 陷阱的更多详细信息。适用于NetWorker的支持 |手册和文档 

可以忽略“未知陷阱”消息。请咨询陷阱接收器文档或支持团队,了解是否可以禁止显示这些消息。 

Additional Information

提醒:有一个缺陷会影响 NetWorker 19.11 上的 Windows NetWorker 服务器以及一些 19.12 和 19.13 内部版本。该缺陷导致仅发送 nwServerNotification 陷阱。

Affected Products

NetWorker

Products

NetWorker Family
Article Properties
Article Number: 000379038
Article Type: Solution
Last Modified: 07 Nov 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.