I have the following automated action (send email) written as follows:
${Location}
- ${Caption} is ${Status}
- ${SQL:Select Nodes.Caption from Nodes where ((Site = '${Site}') and (Category = '8600'))} is ${SQL:Select Nodes.Status from Nodes where ((Site = '${Site}') and (Category = '8600'))}
This displays an email that looks like:
- Node1 is Down
- Node2 is 2
=========================================
This email is to inform of a situation where 2 nodes exist side by side and the status of both. This message successfully generates an email limited to Node1 and it's relation Node2 and gives the status of Node2 when Node1 is down. Basically this message shows the status of Node2 when Node1 goes down. For some reason it only gives the raw value for the status of Node2 instead of saying Up or Down... does anyone know why this might be?
Also, does anyone know if it's possible to limit the triggering of this alert to a situation where Node1 is down and Node2 is up only? The alert is currently triggered every time Node1 goes down regardless of the status of Node2. It's obvious to see how the the SQL query in the message relates to a 1 to 1 relationship between the 2, but is that possible with the actual trigger mechnanism considering there are a whole bunch of 1 to 1 relationships...
Thanks,
Daniel