/falcon-agent

clone from https://github.com/open-falcon/falcon-plus/tree/master/modules/agent

Primary LanguageGoApache License 2.0Apache-2.0

falcon-agent

This is a linux monitor agent. Just like zabbix-agent and tcollector.

Installation

It is a golang classic project

# set $GOPATH and $GOROOT
mkdir -p $GOPATH/src/github.com/open-falcon
cd $GOPATH/src/github.com/open-falcon
git clone https://github.com/open-falcon/falcon-plus.git
cd falcon-plus/modules/agent
go get
./control build
./control start

# goto http://localhost:1988

I use linux-dash as the page theme.

Configuration

  • heartbeat: heartbeat server rpc address
  • transfer: transfer rpc address
  • ignore: the metrics should ignore

Auto deployment

Just look at https://github.com/RosenLo/ops-updater

Changes

  • feature improvement to obtain local ip
  • delayed reporting status after startup