This article addresses the following questions;
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:
pm.xml
file located in <APG Home>/Collecting/Smarts-Collector/<instance>/conf
<data class="Port" containment="InstrumentedBy"
<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:
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>