Hi,
I have an alert defined in VMAN for alerting VMAN Alert VMs with Old Snapshots. Is it possible to restrict the alert, if the VM is not a managed node in Orion?
SWQL Alert
SELECT VirtualMachines.Uri, VirtualMachines.DisplayName FROM Orion.VIM.VirtualMachines AS VirtualMachines
where DayDiff(virtualmachines.OldestSnapshotDate,getdate())>2
Thanks
Solved! Go to Solution.
Hi arnabmk,
Try something like the following SWQL:
SELECT v.Uri,
v.DisplayName
FROM Orion.VIM.VirtualMachines AS v
WHERE DayDiff(v.OldestSnapshotDate,getdate())>2
AND v.Node.Unmanaged = 0
I hope it helps,
yaquaholic
Hi arnabmk,
Try something like the following SWQL:
SELECT v.Uri,
v.DisplayName
FROM Orion.VIM.VirtualMachines AS v
WHERE DayDiff(v.OldestSnapshotDate,getdate())>2
AND v.Node.Unmanaged = 0
I hope it helps,
yaquaholic
Thank You, that worked like a charm.
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 150,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.