Submit a ticketCall us

AnnouncementsCome see SolarWinds at VMUG Frankfurt

SolarWinds is delighted to attend the upcoming VMUG which will take place at Kap Europa in Frankfurt on June 19th, 2018.

See event details.

Home > Success Center > User Device Tracker (UDT) > UDT - Knowledgebase Articles > Unused Port Report with Admin and Oper status included

Unused Port Report with Admin and Oper status included

Table of contents
Created by Eric Bryant, last modified by MindTouch on Jun 23, 2016

Views: 1,495 Votes: 1 Revisions: 6

Overview

This article describes how to create a custom report (that includes operational and administrative status for each reported port) in report writer or SQL query for Unused ports.

Environment

All UDT versions

Steps

  1. Open the Report Writer program on the Orion server.
     
  2. Click Create a New Report.Reportwriter.PNG
     
  3. Run the following query in an Advanced SQL Report:

SELECT  

 UDT_UnUsedPorts.NodeID AS NodeID,  
 UDT_UnUsedPorts.PortID AS PortID,  
 UDT_UnUsedPorts.DNS AS DNS,  
 UDT_UnUsedPorts.IP_Address AS IP_Address,  
 UDT_UnUsedPorts.Name AS Name,  
 UDT_UnUsedPorts.PortDescription AS Port_Description,  
 UDT_UnUsedPorts.DaysUnused AS DaysUnused,  
 UDT_Port.PortID AS PortID2,  
 UDT_Port.AdministrativeStatus AS AdminStatus,  
 UDT_Port.OperationalStatus AS OperStatus  
FROM UDT_UnUsedPorts  
INNER JOIN UDT_Port  
 ON UDT_Port.PortID = UDT_UnUsedPorts.PortID     
WHERE  
 (  
  ISNUMERIC(UDT_UnUsedPorts.DaysUnused) = 1  
  AND CAST(UDT_UnUsedPorts.DaysUnused AS INT) >= 30  
  OR UDT_UnUsedPorts.DaysUnused = 'Never'  
 )  
 AND UDT_Port.AdministrativeStatus = 1  
 AND UDT_Port.OperationalStatus = 2  

Last modified

Tags

Classifications

Public