Network Management
Invalid SQL macro prevents alerts from being triggered
If there is an SQL macro with an invalid query defined within the alert trigger message, the alert does not trigger when the trigger condition occurs.
First published date
Last published date
Overview
Product section
Cause
Resolution
You can also enable the secure macro to make alerts trigger when the trigger condition occurs even though there is an invalid SQL macro in the trigger message.
To enable the secure macro:
- Open your database in the Orion Database Manager. See Use Database Manager to view the SolarWinds database.
- Find the MacroParser-isSecuringSQLMacroEnabled setting in the Settings table and set CurrentValue to 1.
- Restart Alerting Engine v2 and Module Engine. See Start, Stop, or Restart Orion Services with the Orion Service Manager.