Skip to content

Heartbeat daemon, IPv4/IPv6 unicast/broadcast/multicast, application-agnostic

License

Notifications You must be signed in to change notification settings

privacore/vagus

Repository files navigation

Vagus - A heartbeat/keepalive daemon

Vagus is daemon that can exchange alive-information from instances so clients can get an overview of what is alive. It is meant to scale to at least 50 hosts.

It supports:

  • IPv4 and IPv6
  • UDP unicast
  • UDP broadcast
  • UDP multicast
  • Multiple namespaces/clusters

It is not a full-fledged HA system. It merely provides a mechanism for building a HA system.

Platforms

Tested on:

  • Python 2.7.6, 2.7.12
  • Linux 3.11.10, 4.4.57, 4.4.62

It will not work on Windows because it needs to discover network interfaces and addresses using the getifaddrs() system call.

Installation

Vagus comes with an install script that installs it as a system service running under systemd.

  1. clone the respository
  2. with root priviliges run install.sh

Done. Vagus has now been installed into /usr/local/vagus, and it is already running. It has a non-mandatory read-only web interface running on port 8724.

Background

It was built for use in https://github.com/privacore/open-source-search-engine

The name Vagus comes from the vagus nerve which partially controls the human heart.

About

Heartbeat daemon, IPv4/IPv6 unicast/broadcast/multicast, application-agnostic

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published