All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
1. Run a query via ODBC and then compare the data returned to see if it exceeds a threshold.
2. If it exceeds the threshold, send an email to the administrator.
3. Attach the output of the Query run in item #1 above to the email that is sent to the administrator.
I can do items 1&2 but not sure about how to do 3.
You may easily send value of the field that you are checking using %Reply% macro variable in e-mail body.
However if ODBC query returns several fields, HostMonitor will display (and send by e-mail) single field (field that you compare)