Skip to content

TeaWeb/agent

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

Agent

配置configs/agent.conf

master: http://192.168.1.100:7777       # 主服务器地址
id: KwOe0dkxtyKHzMRC                    # 当前主机ID
key: ZtJUYdjO6enUwHwx9TyczhrqAHoO2FBv   # 当前主机密钥

测试和主服务器连接:

bin/teaweb-agent test

启动:

bin/teaweb-agent start

停止:

bin/teaweb-agent stop

重启:

bin/teaweb-agent restart

手动执行某个任务:

bin/teaweb-agent run [TASK ID]

手动执行某个监控项数据源程序:

bin/teaweb-agent run [ITEM ID]

查看Agent版本(从v0.1.1开始支持):

bin/teaweb-agent -v
bin/teaweb-agent version

About

TeaWeb主机代理

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published