NetWorker:SNMP 設陷接收器回報「未知設陷」
Summary: NetWorker Simple Network Management Protocol (SNMP) 通知是使用 nsrtrap 設定。設陷接收器未正確接收通知,並回報「未知設陷」
Symptoms
SNMP 通知是透過 NetWorker 設定:NetWorker:如何設定、建立和修改 SNMP 通知
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 管理指南》指出了以下內容:

也就是說,設陷接收器應該仍在接收 NOTIFICATION-TYPE 從 NetWorker 伺服器傳送時設陷。例如,當備份策略失敗時。您應會收到 failedActionTypeNotification 包含有關作業的結構化資訊的陷阱。
兩者都 nwServerNotification 和 failedActionTypeNotification 陷阱包含基本相同的細節;但是,NOTIFICATION-TYPE 陷阱更具結構化性,其中 OBJECT-TYPE 通知是一個字串中的原始數據。例如:
NOTIFICATION-TYPE failedActionNotification:

OBJECT-TYPE nwServerNotification 對於相同的工作:
NetWorker 管理指南提供有關 NetWorker SNMP 陷阱的更多詳細資訊。NetWorker 支援 |手冊與文件
可以忽略「未知陷阱」消息。請諮詢設陷接收者說明文件或支援小組,以瞭解是否可以隱藏這些訊息。