This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
configuration:monitoring:trigger [2019/07/22 10:59] – [Odbc] acruz | configuration:monitoring:trigger [2019/07/23 10:18] – [Odbc] acruz | ||
---|---|---|---|
Line 188: | Line 188: | ||
==== Odbc ==== | ==== Odbc ==== | ||
- | Adding a trigger rule that check status as lines in odbc query: | + | Adding a trigger rule that check status as account ' |
* Name: odbc_query | * Name: odbc_query | ||
* Priority: First | * Priority: First | ||
Line 195: | Line 195: | ||
* Action: x - Custom, odbc | * Action: x - Custom, odbc | ||
* ODBC: triggers. | * ODBC: triggers. | ||
- | * SQL: select * from lines where status | + | * SQL: select * from accounts |
Adding a trigger rule that check response of the query and send one email to responsable: | Adding a trigger rule that check response of the query and send one email to responsable: | ||
Line 207: | Line 207: | ||
* Action: x - Custom, email | * Action: x - Custom, email | ||
* to: ${odbc_responsable}. | * to: ${odbc_responsable}. | ||
- | * subject: ${odbc_name} | + | * subject: ${odbc_name} |
- | * body: check status of ${odbc_name} because is down | + | * body: check status of your account |
==== Attendance ==== | ==== Attendance ==== |