Skip to main content

Kunai is a service discovery tool

Project description

Kunai

This is a preview of the kunai project about a service discovery / monitoring / light cfg management / command execution tool.

[![Build Status](https://travis-ci.org/naparuba/kunai.svg)](https://travis-ci.org/naparuba/kunai)

Prereqs

You will need:

  • python >= 2.6 (but not 3)

  • python-leveldb

  • python-requests

  • python-jinja2

  • python-cherrypy3

  • python-rsa

  • python-pyasn1

Installation

You need to launch:

python setup.py install

Launch the daemon

You can start kunai as a daemon with:

/etc/init.d/kunai start

You can also launch it in foreground:

kunai agent start

How to get agent informations (pid, port, state, etc)

Just launch:

kunai info

Is there an UI available?

Yes. There is a UI available in the /var/lib/kuani/ui/ directory. It’s just flat files and so you can just export the directory with apache/nginx and play with it.

How to add new nodes in the node cluster?

First you need to install and launch the node in another server.

Then in this other server you can launch:

kunai join OTHER-IP

How can I just kunai cluster members?

You can list the cluster members on all nodes with :

kunai members

And you will see the new node on the UI if you enable it

How to see docker performance informations?

If docker is launched on your server, Kunai will get data from it, images and performances.

To list all of this just launch:

kunai docker stats

How to stop a kunai daemon?

Just launch:

kunai agent stop

Which checks packs/tags are available?

Kunai is bundle with some packs, just add them as tag and checks and services will be enable

  • linux

  • debian

  • redis

  • mongodb

  • mysql

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Kunai-0.9.tar.gz (126.9 kB view details)

Uploaded Source

File details

Details for the file Kunai-0.9.tar.gz.

File metadata

  • Download URL: Kunai-0.9.tar.gz
  • Upload date:
  • Size: 126.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Kunai-0.9.tar.gz
Algorithm Hash digest
SHA256 3f938ce2d5f2549101967f1dbbc47167b4d7d9b01ade9de13097bd2f5ae8a83f
MD5 3990341230d8efee3887db5794b20e29
BLAKE2b-256 2b1c4979879e7d40fb94221e652da921d454a02f837919954f7f0496c9857d41

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page