Hi
Can someone help with swql query to show node down from last 30 days
I'm not sure you can do within NCM.Perhaps better to ask in the NPM forum and provide more detail about what you want to achieve?
SELECT n.NodeID, n.Caption, n.UnManageFromFROM Orion.Nodes nWHERE n.UnManageFrom IS NOT NULL AND n.UnManageUntil IS NOT NULL AND n.UnManageUntil > n.UnManageFrom AND DAYDIFF(n.UnManageFrom, GETDATE()) > 30
That's good but not in NCM though. Given that the OP posted in NCM then one has to presume he's wanting to use that?