This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
configuration:monitoring:trigger [2019/07/22 09:28] – [Variable] acruz | configuration:monitoring:trigger [2019/07/22 10:59] – [Odbc] acruz | ||
---|---|---|---|
Line 186: | Line 186: | ||
* Uptime: 60 | * Uptime: 60 | ||
* x – OID: OID: <OID> | * x – OID: OID: <OID> | ||
+ | |||
+ | ==== Odbc ==== | ||
+ | Adding a trigger rule that check status as lines in odbc query: | ||
+ | * Name: odbc_query | ||
+ | * Priority: First | ||
+ | * Continue: Continue after rule | ||
+ | * Conditions: x - Any | ||
+ | * Action: x - Custom, odbc | ||
+ | * ODBC: triggers. | ||
+ | * SQL: select * from lines where status = ' | ||
+ | |||
+ | Adding a trigger rule that check response of the query and send one email to responsable: | ||
+ | * Name: check_odbc_query | ||
+ | * Priority: After: odbc_query | ||
+ | * Continue: Continue after rule | ||
+ | * Conditions: x - custom | ||
+ | * vairables main value: | ||
+ | * name: odbc_status | ||
+ | * Expresion: ' | ||
+ | * Action: x - Custom, email | ||
+ | * to: ${odbc_responsable}. | ||
+ | * subject: ${odbc_name} line is down | ||
+ | * body: check status of ${odbc_name} because is down | ||
==== Attendance ==== | ==== Attendance ==== |