This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How do you run a custom sql script in a Foglight Rule?

We want to run the following query in a custom rule:

 

SELECT name, is_disabled, is_policy_checked
FROM sys.sql_logins
WHERE is_policy_checked = 0 AND is_disabled = 0
ORDER BY name;  

We want a alarm to fire if the condition is true on any of the instances in Foglight.

 

What is the best way to run a query within a rule?  Is it possible?

Parents
  • Ouch, so it would be 1499 clones. Do you know what the performance impact might be each time a UDC is created? Management is thinking of using this type of process for many things and we could end up with tens of thousands of UDCs
Reply
  • Ouch, so it would be 1499 clones. Do you know what the performance impact might be each time a UDC is created? Management is thinking of using this type of process for many things and we could end up with tens of thousands of UDCs
Children
No Data