I am trying to create a SQL health monitor that uses an alias address, does a SQL query and looks for a number in a row. If the number is returned the monitor marks the node up. The monitor is working fine but I would like to use a variable in it so I do not have to make a unique monitor for every node I apply it to. The monitor looks like this:
Send String SELECT Status FROM CentersStatus WHERE ServerName = ‘servername’
Receive sting 1
I want to replace servername with the node IP that I am applying the monitor to.
Thanks