1) We had to turn off "delete stale interfaces" option in polling settings. We found that Juniper devices have standby pairs that we need to keep that were getting flagged as "stale"
2) We found this SWQL query to identify stale interfaces:
SELECT I.InterfaceName, N.Caption, N.DetailsURL AS [_LinkFor_Caption]
FROM Orion.NPM.Interfaces I INNER JOIN Orion.Nodes N ON (N.NodeID = I.NodeID)
WHERE I.Status = 0
3) We want to write a query to identify all Orion.Nodes NOT LIKE Juniper. Can someone help me with this query?
I tried something like this but the syntax is wrong:
SELECT I.InterfaceName, N.Caption, N.DetailsURL AS [_LinkFor_Caption]
FROM Orion.NPM.Interfaces I INNER JOIN Orion.Nodes N ON (N.NodeID = I.NodeID)
WHERE I.Status = 0
AND Orion.Nodes.Vendor NOT LIKE '%Juniper%'