NPM 9.5.1
I am trying to get the following SQL query results into an Advance Alert Triggered eMail:
First of all I can't get this thing working from the Database Manager, running it directly on the DB itself???
I keep recieving the an error "Incorrect syntax near '}'.
I got everything working except the SQL Query (see bottom).
Any help would be greatly appreciated.
Thanks in advance,
eMail Example:
SQL Query:
Select TriggerTimeOffset / 60 From AlertStatus Where AlertDefID = (Select AlertDefID From AlertDefinitions Where AlertName = '${AlertName}') AND ActiveObject = '${NodeID}'}
Subject: SolarWinds_NPM_ALERT: ${NodeName} is ${Node.Status}
Message:
AlertName: ${RuleName}
Description: ${NodeName} is ${Node.Status}
IP Address: ${Node.IP_Address}
Time of Event: ${TimeStamp}