Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
configuration:monitoring:trigger [2019/07/22 10:48] – [Odbc] acruzconfiguration:monitoring:trigger [2022/09/23 16:58] (current) – [Account Fire Events] admin
Line 72: Line 72:
   * Variables: Variable Text – Add (x2)   * Variables: Variable Text – Add (x2)
   * Name: event_name; x – Expression : ^(register|unregister|expire)$   * Name: event_name; x – Expression : ^(register|unregister|expire)$
-  * Name: sensor_name; x – Expression : ^account$+  * Name: sensor_name; x – Expression : ^endpoint$
   * Action: x – Custom: Alarm   * Action: x – Custom: Alarm
   * x – Custom    * x – Custom 
Line 188: Line 188:
  
 ==== Odbc ==== ==== Odbc ====
 +Adding a trigger rule that check status as account 'example' in odbc query:
   * Name: odbc_query   * Name: odbc_query
   * Priority: First   * Priority: First
   * Continue: Continue after rule   * Continue: Continue after rule
   * Conditions: x - Any   * Conditions: x - Any
-  * Action: x - Custom +  * Action: x - Custom, odbc 
-    * Destination192.168.10.1 +    * ODBCtriggers
-    * Version: x - SNMP V1/SNMP V2/SNMP V3 +    * SQL: select * from accounts where name  = 'example'; 
-    * Trap OID<OID> + 
-    Communitypublic +Adding a trigger rule that check response of the query and send one email to responsable: 
-    Uptime60 +  * Name: check_odbc_query 
-  * x – OIDOID<OID>+  * Priority: After: odbc_query 
 +  * Continue: Continue after rule 
 +  * Conditions: x - custom 
 +    * vairables main value
 +       nameodbc_status  
 +       Expresion'down' 
 +  * Action: - Custom, email 
 +    * to${odbc_responsable}. 
 +    * subject${odbc_name} account is down 
 +    * body: check status of your account ${odbc_name} because is down  
 ==== Attendance ==== ==== Attendance ====
  
/home/www/wiki/data/pages/configuration/monitoring/trigger.txt · Last modified: 2022/09/23 16:58 by admin
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki