Quantcast
Channel: THWACK: Message List
Viewing all articles
Browse latest Browse all 20598

Re: UDT3.1: What happened to UDT port discovery?

$
0
0

still having trouble with UDT, having to perform a sonar, selecting credentials for devices i already monitor in NPM. It takes ages!! vwery cumbersome. need to be able to select existing nodes IN NPM, bulk or individually (using group by custom properties etc). Having to supply ip addresses is a major issue for sonar. to get around this as i was half way through adding all sites (1000's devices when i needed to upgrade).

 

To get around the weird sonar issue, I created a sql view mapping nodes, to UDT_NodeCapability

 

SELECT dbo.Nodes.Caption, dbo.Nodes.IP_Address, dbo.UDT_NodeCapability.NodeID, dbo.Nodes.DCC_County, dbo.Nodes.DCC_Area_Code,
                  dbo.Nodes.DCC_Area_Description, dbo.Nodes.DCC_SiteName
FROM     dbo.Nodes INNER JOIN
                  dbo.UDT_NodeCapability ON dbo.Nodes.NodeID = dbo.UDT_NodeCapability.NodeID

GROUP BY dbo.Nodes.Caption, dbo.Nodes.IP_Address, dbo.UDT_NodeCapability.NodeID, dbo.Nodes.DCC_County, dbo.Nodes.DCC_Area_Code,

                  dbo.Nodes.DCC_Area_Description, dbo.Nodes.DCC_SiteName

 

then a 2nd sql view that selected all nodes that I needed to import (305) using sonar, that were not already part of UDT and had the following filters.

 

SELECT TOP (100) PERCENT dbo.Nodes.NodeID, dbo.Nodes.Caption, dbo.Nodes.IP_Address, dbo.Nodes.DCC_County, dbo.Nodes.DCC_Area_Code,
                  dbo.Nodes.DCC_Site_Code, dbo.Nodes.DCC_Area_Description, dbo.Nodes.DCC_SiteName, dbo.Nodes.MachineType
FROM     dbo.Nodes LEFT OUTER JOIN
                  dbo.[1_MD_UDT_Nodes_Added] ON dbo.Nodes.NodeID = dbo.[1_MD_UDT_Nodes_Added].NodeID
WHERE (dbo.[1_MD_UDT_Nodes_Added].NodeID IS NULL) AND (dbo.Nodes.StatusLED = 'Up.gif') AND (dbo.Nodes.Vendor = N'cisco') AND
                  (dbo.Nodes.MachineType <> N'Cisco CSS 11501') AND (dbo.Nodes.MachineType <> N'Cisco 1721') AND (NOT (dbo.Nodes.MachineType LIKE N'Cisco ASA%')) AND
                  (NOT (dbo.Nodes.MachineType LIKE N'Cisco 1841')) AND (dbo.Nodes.MachineType <> N'Cisco Catalyst 3020') AND
                  (dbo.Nodes.MachineType <> N'Cisco 4402 Wireless LAN Controller') AND (NOT (dbo.Nodes.MachineType LIKE N'Catalyst 2970%')) AND
                  (dbo.Nodes.MachineType <> N'Cisco 5500 Series Wireless Controller')

ORDER BY dbo.Nodes.Caption

 

The extracted the IP address added to Sonar to just added the ports on the devices i wished to add to UDT.

 

works a charm! Although there were 7000 ports to import! seems to of worked so far.

 

hopefully everyone knows SQL!


Viewing all articles
Browse latest Browse all 20598

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>