Display port or interface operational or admin status from IP domain into M&R
search cancel

Display port or interface operational or admin status from IP domain into M&R

book

Article ID: 333022

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

This article addresses the following questions;

  • How can I display port or interface operation or admin status from Smarts IP.
  • How to bring the port / interface operational and admin status from Smarts IP domain into EMC M&R (Watch4net) / SRM
  • How to have these items imported as either values or properties

Environment

VMware Smart Assurance - Watch4Net/M&R - 10.1.X

Resolution

By default the Operational Status and Admin Status of ports and interfaces from the Smarts IP domain are not displayed in any reports in M&R.

As a Property:

  • To import the Operational and Admin status as a property for a port or interface, modify the pm.xml file located in 

    <APG Home>/Collecting/Smarts-Collector/<instance>/conf

    Find the section which starts with: 

       <data class="Port" containment="InstrumentedBy"

    Before  <value name="Status" rename="Availability" unit="%"> add the following lines:
   <property name="OperStatus" rename="ifOperStatus" />
      <property name="AdminStatus" rename="ifAdminStatus" /> 


Find the section which starts with: 

     <data class="Interface" containment="Underlying InstrumentedBy"

 Before   <value name="Status" rename="Availability" unit="%"> add the following lines:

      <property name="OperStatus" rename="ifOperStatus" />
      <property name="AdminStatus" rename="ifAdminStatus" />

 

As a values:

  • To import the Operation Status and Admin Status as values, which can be viewed on graphs over time:

Find the section which starts with: 

   <data class="Port" containment="InstrumentedBy"

Before  <value name="Status" rename="Availability" unit="%"> add the following lines:

  <value name="AdminStatus" rename="ifAdminStatus" unit="%">
                       <transformation match="UP" replace="100.0" />
                        <transformation match="DOWN" replace="0.0" />
            </value>
            <value name="OperStatus" rename="ifOperStatus" unit="%">
                       <transformation match="UP" replace="100.0" />
                        <transformation match="DOWN" replace="0.0" />
            </value> 


Find the section which starts with: 

     <data class="Interface" containment="Underlying InstrumentedBy"

Before  <value name="Status" rename="Availability" unit="%"> add the following lines:

  <value name="AdminStatus" rename="ifAdminStatus" unit="%">
                       <transformation match="UP" replace="100.0" />
                        <transformation match="DOWN" replace="0.0" />
            </value>
            <value name="OperStatus" rename="ifOperStatus" unit="%">
                       <transformation match="UP" replace="100.0" />
                        <transformation match="DOWN" replace="0.0" />
            </value> 


You will need to restart the Smarts collector for these changes to take effect.
./manage_modules.sh service restart <collector name>