Wondering if anyone has had any luck with this:
I am trying to get a report that will run each day for us that shows only 'FOUND' devices from our various Auto-Discoveries that run nightly.
Here is what I have so far:
SELECT Name, PrimaryAddress, Timestamp, IgnoredNodeID, d.NodeID FROM DiscoveryNodes d (nolock) WHERE Timestamp > 1375690020 AND IgnoredNodeID IS NULL AND ProfileID IN ('2','3','4','10','11','12','13','14','59','60')
Obviously, the Timestamp data is manually entered Epoch time in the current query (I will work on a conversion later once I can prove this works).
The problem I have is this: That Epoch time is 4:07am EDT, 8/5/13. In my web interface, I am showing 10 devices discovered last night/this morning, with the earliest being at 4:07am EDT.
HOWEVER, this query returns 431 devices.
I cannot seem to find a table where I can limit my results based on pre-existing devices vs new devices.
Ideas/Thoughts/Opinions??? (please do not say "just use the web interface")