Sign inSign up

mtakaki/cachet-mysql-monitor

By mtakaki

•Updated about 7 years ago

MySQL monitor plugin for cachethq.io

Image
0

913

mtakaki/cachet-mysql-monitor repository overview

⁠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

Tag summary

Content type

Image

Digest

Size

1.5 MB

Last updated

about 7 years ago

docker pull mtakaki/cachet-mysql-monitor