Coder Social home page Coder Social logo

uriddle / n9e-agentd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from n9e/n9e-agentd

0.0 0.0 0.0 21.55 MB

agentd

License: Apache License 2.0

Makefile 0.02% Go 84.87% C 3.63% Shell 0.85% Dockerfile 0.24% PowerShell 0.32% Python 2.96% C++ 3.11% Batchfile 0.09% Ruby 2.13% HTML 1.55% CMake 0.13% CSS 0.11% GDB 0.01%

n9e-agentd's Introduction

n9e-agentd

This is a monitor agent for N9E

Download

Build from source

$ make pkg

$ ls build/
linux-amd64/  n9e-agentd  n9e-agentd-5.1.0-rc1.linux.amd64.tar.gz

Install & Running

Install

tar xzvf n9e-agentd-x.x.x.linux.amd64.tar.gz
mkdir -p /opt/n9e/agentd
mv ./linux-amd64/* /opt/n9e/agentd/
cp /opt/n9e/agentd/etc/agentd.yaml.default /opt/n9e/agentd/etc/agentd.yaml

Configure

## /opt/n9e/agentd/etc/agentd.yaml
agent:
  ident: $ip
  alias: $hostname
  endpoints:
    - http://localhost:8000			# replace the server address here

Start agentd

source /opt/n9e/agentd/etc/agentd.rc && \
/opt/n9e/agentd/bin/n9e-agentd start -f /opt/n9e/agentd/etc/agentd.yaml

Use with systemd

cp -a misc/systemd/n9e-agentd.service /usr/lib/systemd/system/
systemctl enable n9e-agentd
systemctl start n9e-agentd

Run agentd in special directory

# refresh agentd.rc
cd {n9e-agentd-dir}

# generate env files
./bin/gen-envs.sh ./etc

source ./etc/agentd.rc
./bin/n9e-agentd start -f ./etc/agentd.yaml

n9e-agentd's People

Contributors

ulricqin avatar yubo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.