项目作者: skyrocknroll

项目描述 :
Redis and Sentinel Monitoring
高级语言: Go
项目地址: git://github.com/skyrocknroll/redmon.git
创建时间: 2016-04-08T06:59:03Z
项目社区:https://github.com/skyrocknroll/redmon

开源协议:MIT License

下载


redmon

Monitor Redis & Sentinel(HA Redis) using any of the http based endpoint monitoring system.

By default the server listens on endpoint 0.0.0.0:9736

Example

Example url to monitor redis which is running in localhost:6379

http://localhost:9736/redis/<redis endpoint>

Ex:
http://localhost:9736/redis/localhost:6379

Example url to monitor redis using sentinel failover

http://localhost:9736/sentinel/<comma sepeareted sentinel enpoints>/<MaterName>

Sentinel Hosts

  • localhost:26379
  • localhost:26378

Ex:
http://localhost:9736/sentinel/localhost:26379,localhost:26378/master

Usage

Add the url to any of the http enpoint monitoring tool ex: pingdom or datadog or https://github.com/fzaninotto/uptime

The API will send 200 status in case of success otherwise will respond with 500 status code.