Entity monitoring agent for cobe.io
Project description
Entityd Monitoring Agent for Cobe.io
A daemon which monitors entities on a host system and streams them to cobe.io.
Installation
It is recommended to get a binary conda-based distribution from https://cobe.io which provides the entire Python environment required. Once you have created a Topology Instance there it will offer to download an agent and provide installation instructions.
However if you prefer you can install from PyPI as well, a few more manual steps are needed. The entityd package relies on some other PyPI packages which may require install-time compilation depending on your setup. If your system has everything available then installation is as simple as:
pip install entityd
Alternatively you may prefer to install into a virtualenv created just for entityd, the pipsi project makes this very convenient:
pipsi install entityd
Configuration
To securely communicate with cobe.io you need to install encryption keys which you can download from the agent installation page on cobe.io. There are two files to download, modeld.key and entityd.key_secret, which need to be installed into an etc/entityd/keys/ directory. If you installed entityd into a virtualenv, as recommended, then this directory is relative inside the virtualenv, e.g.: /path/to/venv/etc/entityd/keys/. You may have to create the directory before moving the keys there.
Systemd
Once installed you probably want to ensure it gets started automatically. This will depend on the init system in use by your host.
If you are using systemd you can install the following unit file to /etc/systemd/system/entityd.service, being sure to provide the correct path to the installed binary and the correct destination for your Topology Instance:
[Unit] Description=Entityd monitoring agent for cobe.io After=network.target [Service] Type=simple ExecStart=/usr/local/bin/entityd --dest=tcp://modeld.example.cobe.io:25010 [Install] WantedBy=multi-user.target
Once the unit file is installed you can start entityd using systemctl start entityd.service. To automatically start it on system boot you also need to execute sytemctl enable entityd.service. If you modify the unit file be sure to execute systemctl daemon-reload to re-read the configuration.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file entityd-0.21.0.tar.gz
.
File metadata
- Download URL: entityd-0.21.0.tar.gz
- Upload date:
- Size: 112.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b27fdcb3c997013ec13bcff341ff270f2f4fb34d94201ad42bd70024bc94bfe2 |
|
MD5 | 997a18368736d13690c8c527c8dbeca9 |
|
BLAKE2b-256 | fbb39de52a83570cea1900886079408eb341c7435ce41fccb6ecc89e1e2049b3 |
File details
Details for the file entityd-0.21.0-py3-none-any.whl
.
File metadata
- Download URL: entityd-0.21.0-py3-none-any.whl
- Upload date:
- Size: 69.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b134305e9ad6a54bbc9fc9a550c9dc9d7ee127e56d8881160a8276b8f7da84de |
|
MD5 | 920aa7fa25f202c64721fb9ee64ca5a2 |
|
BLAKE2b-256 | 6968ec280db04099903f9160c95d744c33953bdc1b744cb182d452a6a32158e9 |