Hi!
I made advanced alert. I have some custom pollers. When i try to add SQL query to alert message i receive it like text in e-mail. But when i try this query in sql database all works fine.
${SQL:Select Status
From CustomPollerAssignment as Assignment, CustomPollerStatus as Status, CustomPollers
where Assignment.PollerID = CustomPollers.PollerID and Assignment.CustomPollerAssignmentID = Status.CustomPollerAssignmentID and Assignment.NodeID = 7 and Assignment.AssignmentName like 'upsBasicBatteryStatus%'}
Im receiving it by e-mail like this:
${SQL:Select Status
From CustomPollerAssignment as Assignment, CustomPollerStatus as Status, CustomPollers
where Assignment.PollerID = CustomPollers.PollerID and Assignment.CustomPollerAssignmentID = Status.CustomPollerAssignmentID and Assignment.NodeID = 7 and Assignment.AssignmentName like 'upsBasicBatteryStatus%'}
Can anyone explain why im receiving it like text and how fix it?
NPM version 10.4.1 SQL 2012 Express