Skip to content

mtakaki/cachet-mysql-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Status

CircleCI License

cachet-mysql-monitor

Rust plugin for cachet that monitors a MySQL instance, verifying the number of rows returned by a query and the latency. The frequency the database is tested is configurable.

Configuration

mysql:
  uri: mysql://root:123@localhost:3306/test
  query: SELECT 1
  timeout: 0.01
  expectation:
    - type: ROWS
      value: 2
    - type: LATENCY
      threshold: 1000
  allowed_fails: 0
cachet:
  api_url: https://demo.cachethq.io/api/v1
  token: my_token
  component_id: 1
  metric_id: 1
  action:
    - CREATE_INCIDENT
    - UPDATE_STATUS
  public_incidents: true
  latency_unit: ms
frequency: 30

About

MySQL monitor plugin for cachethq.io

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published