All Projects → digitalocean → Do Agent

digitalocean / Do Agent

Licence: apache-2.0
Collects system metrics from DigitalOcean Droplets

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Do Agent

Nginxconfig.io
⚙️ NGINX config generator on steroids 💉
Stars: ✭ 14,983 (+2614.31%)
Mutual labels:  digitalocean, hacktoberfest
Action Doctl
GitHub Actions for DigitalOcean - doctl
Stars: ✭ 219 (-60.33%)
Mutual labels:  digitalocean, hacktoberfest
Hacktoberfest 2k18 Katas
Game has ended :: Little challenges to up your Hacktoberfest game!
Stars: ✭ 160 (-71.01%)
Mutual labels:  digitalocean, hacktoberfest
Awesome Travel
Do you want to build a travel app?
Stars: ✭ 133 (-75.91%)
Mutual labels:  digitalocean, hacktoberfest
Docker Inbound Agent
Docker image for a Jenkins agent which can connect to Jenkins using TCP or Websocket protocols
Stars: ✭ 342 (-38.04%)
Mutual labels:  hacktoberfest, agent
Marketplace Partners
Image validation, automation, and other tools for DigitalOcean Marketplace partners and Custom Image users
Stars: ✭ 139 (-74.82%)
Mutual labels:  digitalocean, hacktoberfest
Hacktoberfest
This hacktoberfest project exists to help you submit your first Pull Request and welcome you to the world of open source!
Stars: ✭ 216 (-60.87%)
Mutual labels:  digitalocean, hacktoberfest
Hacktoberfest2020
Make your first Pull Request and earn a free tee from GitHub!
Stars: ✭ 1,141 (+106.7%)
Mutual labels:  digitalocean, hacktoberfest
Terraform Provider Digitalocean
Terraform DigitalOcean provider
Stars: ✭ 296 (-46.38%)
Mutual labels:  digitalocean, hacktoberfest
Doctl
The official command line interface for the DigitalOcean API.
Stars: ✭ 2,856 (+417.39%)
Mutual labels:  digitalocean, hacktoberfest
Cluster.dev
Kubernetes-based Dev Environments with GitOps
Stars: ✭ 122 (-77.9%)
Mutual labels:  digitalocean, hacktoberfest
Digitalocean Cloud Controller Manager
Kubernetes cloud-controller-manager for DigitalOcean (beta)
Stars: ✭ 418 (-24.28%)
Mutual labels:  digitalocean, hacktoberfest
Competitive Programming
Hello Programmers 💻 , A one-stop Destination✏️✏️ for all your Competitive Programming Resources.📗📕 Refer CONTRIBUTING.md for contributions
Stars: ✭ 113 (-79.53%)
Mutual labels:  digitalocean, hacktoberfest
Hacktoberfest2018
A repository for HacktoberFest 2018.
Stars: ✭ 139 (-74.82%)
Mutual labels:  digitalocean, hacktoberfest
Digitalocean Js
JavaScript library for the DigitalOcean API
Stars: ✭ 90 (-83.7%)
Mutual labels:  digitalocean, hacktoberfest
Programmers Community
This repository contains various solution of a problem in Ruby, C, C++, Python and Java.
Stars: ✭ 189 (-65.76%)
Mutual labels:  digitalocean, hacktoberfest
Dns Tool
A set of browser-based DNS tools for DigitalOcean Community.
Stars: ✭ 50 (-90.94%)
Mutual labels:  digitalocean, hacktoberfest
Godo
DigitalOcean Go API client
Stars: ✭ 1,097 (+98.73%)
Mutual labels:  digitalocean, hacktoberfest
Awesome Digitalocean
A curated list of amazingly awesome DigitalOcean resources inspired by Awesome Sysadmin
Stars: ✭ 236 (-57.25%)
Mutual labels:  digitalocean, hacktoberfest
Gitstart
Make a Pull Request
Stars: ✭ 415 (-24.82%)
Mutual labels:  digitalocean, hacktoberfest

DigitalOcean Agent

Build Status Go Report Card Coverage Status

Overview

do-agent enables droplet metrics to be gathered and sent to DigitalOcean to provide resource usage graphs and alerting.

DO Agent currently supports:

Not officially supported

  • CloudLinux 6+

Note:

Although, we only officially support these distros and versions, do-agent works on most Linux distributions. Feel free to run it wherever you are successful, but any issues you encounter will not have official support from DigitalOcean

Special Note For SELinux Users

The do-agent install script sets the nis_enabled flag to 1. Without this setting the do-agent cannot reach the network to perform authentication or send metrics to DigitalOcean backend servers. If you reverse this action, or install the do-agent on a machine manually you will need to run setsebool -P nis_enabled 1 && systemctl daemon-reexec otherwise the do-agent will not operate.

Installation

To install the do-agent on new Droplets simply select the Monitoring checkbox on the Droplet create screen to get the latest stable version of do-agent. Use your OS package manager (yum/dnf/apt-get) to update and manage do-agent.

Installing via package managers

curl -sSL https://repos.insights.digitalocean.com/install.sh | sudo bash
# or wget
wget -qO- https://repos.insights.digitalocean.com/install.sh | sudo bash

If you prefer to inspect the script first:

curl -L -o ./install.sh https://repos.insights.digitalocean.com/install.sh
# inspect the file
less ./install.sh
# execute the file
sudo ./install.sh

Development

Requirements

git clone [email protected]:digitalocean/do-agent.git
cd do-agent

### build the project
make

### add dependencies
# first make sure you have the appropriate flags set to use go modules
# We recommend using https://github.com/direnv/direnv to automatically set
# these from the .envrc file in this project or you can manually set them
export GO111MODULE=on GOFLAGS=-mod=vendor

# then add your imports to any go file and run
go mod vendor

Uninstall

do-agent can be uninstalled with your distribution's package manager

apt-get remove do-agent for Debian based distros

yum remove do-agent for RHEL based distros

Run as a Docker container

You can optionally run do-agent as a docker container. In order to do so you need to mount the host directory /proc to /host/proc.

For example:

docker run \
        -v /proc:/host/proc:ro \
        -v /sys:/host/sys:ro \
        digitalocean/do-agent:stable

Report an Issue

Feel free to open an issue if one does not already exist

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].