Reset agent, clean all plugins data and local cache data
./agent stop -m clean
Configuration
[agent]
# HTTP API listen
listen = "0.0.0.0:1232"
# which the network interface will be monitored
ifaceprefix = [ "eth" ]
# registry server address
registryaddr = "https://registry.test.com"
# which directory to store plugins
pluginsdir = "/usr/local/agent-plugins"
# run plugins user, must exist on your system
pluginsuser = "user"
# your plugins git organizantion
git = "git://git@git.test.com/orgname/%s.git"
[output]
# message queue, now only support NSQ
name = "nsq"
# MQ addresses
servers = [ "0.0.0.0:7777" ]
# how many points cached in local memory
buffersize = 1000
[log]
# log directory
logdir = "/tmp/agent/log"
# log level
loglevel = "DEBUG"
# how many log files retention
logrotatenum = 5
# log file size (unit:byte)
logrotatesize = 1887436800