Hello Everyone,
I am attempting to group my environment and one of the first items that came up is grouping SQL Servers together. I am using the below SWQL to find all the servers in my environment that have SQL Management studio installed but the create Group section seems somewhat inflexible (I was hoping I could put custom queries in there).
select distinct n.Caption
,n.AssetInventory.Software.Name
from orion.Nodes n
where n.AssetInventory.Software.Name is not null
and (n.AssetInventory.Software.name like '%SQL%' AND n.AssetInventory.Software.name like '%Management Studio' )
Order by n.caption
The End goal is to create groups and then assign those groups to Templates. In this case a base template that monitors a few SQL Services on those boxes. My hope is to have this dynamic query find whenever someone installs SQL on a machine and automatically start watching it rather than having to define it through a custom property that people don't keep up on.
Barring that as a direct solution is there a way to schedule tasks to find this query and set a flag on a custom property inside of Solarwinds instead of an external tool? I want to keep the solution as "In the box" as possible for future growth and sustainability.