command
Version:
v0.0.0-...-077b43f
Opens a new window with list of versions in this module.
Published: Sep 27, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 18
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
kguard
Kafka clusters body guard that emits health info to InfluxDB.
Architecture
👥 ✉ here I am
|
+------------------------+------------------------------------------------+
| alert | dashboard alert |
| (aggregated) | Grafana (threshold) |
| +-----------------+ |
| | | |
+--------+ +----------+ +----------+ +---------+ +--------+
| zabbix | | InfluxDB | | OpenTSDB | | TSDB... | | zabbix |- OS level monitor
+--------+ +----------+ +----------+ +---------+ +--------+
| | | | |
| +--------------------------------------+ zabbix agents
| ^
| periodically |
| call | flush
| RESTful |
| +-----------+
| | telemetry |
| +-----------+
| | collect +- external scripts
| V |- kguard floating
| +-------------------+ |- ehaproxy
| | in-memory metrics | |- actord
| +-------------------+ |- swf
| ^ ^ |- F5 latency
| | read | write |- zone wide servers
| | +----------------------+ |- influx query
V | | | |- influxdb server
+-------------+ +--------------+ +----------------------------+ plugin |- kateway/pubsub
| HTTP server | | SOS receiver | | Watchers/MonitorAggregator |--------|- kafka
+-------------+ +--------------+ +----------------------------+ |- zookeeper
| | | +- ...
+-------------------------------------------+
| contains
+---------------+ +---------------------+ +---------------------+
| kguard leader | | kguard hot standby1 | | kguard hot standby2 |
+---------------+ +---------------------+ +---------------------+
| | |
+--------------------------------------------------+
| election
+--------------------+
| zookeeper ensemble |
+--------------------+
Usage
PUB=pub.my.com SUB=sub.my.com APPLOG_CLUSTER=hippo APPLOG_TOPIC=apptopic MYAPP=myid HISAPP=hisid APPKEY=31002594f5zbc3eeb1efcf75db6dd8a0 nohup ./sbin/kguard -db xxx -z test -log kguard.log -influxAddr http://1.1.1.1:8086 &
key probes
- zk.dead
- redis.dead
- partitions.dead
- kateway.live
- influxdb.alive
- haproxy.instances
- brokers.dead
- actord.actors
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
Package sos is a web server that accepts SOS message from any gafka components.
|
Package sos is a web server that accepts SOS message from any gafka components. |
watchers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.