Dear All,
I need to run a report to find out which routers has been configured with the below commands, can anyone help me on this how to run a report using Report writer
ip http server
ip http secure-server
You can actually do this in the report writer with a custom SQL query: (Replacing STRING MATCH HERE on the last line with whatever you want to match in your configs)
SELECT
n.Caption as 'DEVICE'
,n.IP_Address as 'IP ADDRESS'
,n.VENDOR
,n.MachineType as 'MODEL'
FROM
Nodes n
JOIN
NCM_NodeProperties p ON p.CoreNodeID = n.NodeID
JOIN
NCM_ConfigArchive c on c.NodeID = p.NodeID
WHERE
c.ConfigType = 'Running'
AND
c.Config LIKE '%STRING MATCH HERE%'
Loop1 Systems: SolarWinds Training and Professional Services
Here you go. This should only return the newest running config.
SELECT
n.Caption as 'DEVICE'
,n.IP_Address as 'IP ADDRESS'
,n.VENDOR
,n.MachineType as 'MODEL'
,MAX(c.DownloadTime) as 'DOWNLOAD TIME'
FROM
Nodes n
JOIN
NCM_NodeProperties p ON p.CoreNodeID = n.NodeID
JOIN
NCM_ConfigArchive c on c.NodeID = p.NodeID
WHERE
c.ConfigType = 'Running'
AND
c.Config LIKE '%STRING MATCH HERE%'
GROUP BY
n.Caption, n.IP_Address ,n.VENDOR ,n.MachineType
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 195,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.