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

2/18/2020 3:47 AM

Last published date

3/24/2022 7:17 AM

Overview

This article provides the information to create the UnDP and alert to monitor the Cisco Nexus Platform Components (e.g. Ethernet Module, Fabric Module, etc.) by using the OIDs below:
  • MIB
    table name
    OID
    Description
    CISCO-ENTITY-FRU-CONTROL-MIBcefcModuleOperStatus 1.3.6.1.4.1.9.9.117.1.2.1.1.2This object shows the module's operational state.
    ENTITY-MIBentPhysicalTable1.3.6.1.2.1.47.1.1.1Description for chassis + each sensor

Product section

Network Performance Monitor

Cause

n/a

Resolution

  1. Create UnDP using the OIDs below:
    • table name
      OID
      cefcModuleOperStatus 1.3.6.1.4.1.9.9.117.1.2.1.1.2
      entPhysicalTable1.3.6.1.2.1.47.1.1.1
  2. 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) 
  3. Select the UnDP label as below:
    • UnDP cefcModuleOperStatus 
    • UnDP entPhysicalTable
  4. On the target Node Details page, add "Node Tabular Universal Device Poller" widget, edit and set the settings as below:
    • Result as below:
  5. Create new custom table poller alert, trigger condition as below:
  6. 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}'}
  7. 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:
Scripts are not supported under any SolarWinds support program or service. Scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The risk arising out of the use or performance of the scripts and documentation stays with you. In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation.