Network Management
Create UnDP and alert for Cisco Nexus Platform Components
This article provides the information to create the UnDP and alert to monitor the Cisco Nexus Platform Components.
First published date
Last published date
Overview
-
MIBtable nameOIDDescription
CISCO-ENTITY-FRU-CONTROL-MIB cefcModuleOperStatus 1.3.6.1.4.1.9.9.117.1.2.1.1.2 This object shows the module's operational state. ENTITY-MIB entPhysicalTable 1.3.6.1.2.1.47.1.1.1 Description for chassis + each sensor
Product section
Cause
Resolution
- Create UnDP using the OIDs below:
-
table nameOID
cefcModuleOperStatus 1.3.6.1.4.1.9.9.117.1.2.1.1.2 entPhysicalTable 1.3.6.1.2.1.47.1.1.1
-
- For the UnDP of cefcModuleOperStatus, perform the steps below to map the value for the status:
- Expand "Show Advanced Options" and select Enumeration from "Format":
- Click "Map Values", enter the Raw and Text value accordingly. (Refer this link for the status values)
- Expand "Show Advanced Options" and select Enumeration from "Format":
- Select the UnDP label as below:
- UnDP cefcModuleOperStatus
- UnDP entPhysicalTable
- UnDP cefcModuleOperStatus
- On the target Node Details page, add "Node Tabular Universal Device Poller" widget, edit and set the settings as below:
- Result as below:
- Create new custom table poller alert, trigger condition as below:
- Due to the alert is based on the UnDP for the cefcModuleOperStatus, the alert variable for the module name will need to use SQL query to get from the UnDP for entPhysicalDescr. Alert variable as below:
- ${SQL: SELECT CPS.Label FROM CustomPollerStatusTable as CPS
Right JOIN CustomPollerAssignment AS CPA ON CPS.NodeID = CPA.NodeID
WHERE CPs.CustomPollerAssignmentID != '${N=SwisEntity;M=CustomPollerAssignment.CustomPollerAssignmentID}'
AND CPA.AssignmentName LIKE '%entPhysicalDescr%'
AND CPA.NodeID = '${N=SwisEntity;M=CustomPollerAssignment.Node.NodeID}'
AND CPS.RowID = '${N=SwisEntity;M=RowID}'}
- ${SQL: SELECT CPS.Label FROM CustomPollerStatusTable as CPS
- Example for the alert message:
- ${SQL: SELECT CPS.Label FROM CustomPollerStatusTable as CPS
Right JOIN CustomPollerAssignment AS CPA ON CPS.NodeID = CPA.NodeID
WHERE CPs.CustomPollerAssignmentID != '${N=SwisEntity;M=CustomPollerAssignment.CustomPollerAssignmentID}'
AND CPA.AssignmentName LIKE '%entPhysicalDescr%'
AND CPA.NodeID = '${N=SwisEntity;M=CustomPollerAssignment.Node.NodeID}'
AND CPS.RowID = '${N=SwisEntity;M=RowID}'} Status is ${N=SwisEntity;M=Status} - Result as below:
- ${SQL: SELECT CPS.Label FROM CustomPollerStatusTable as CPS