Comments (5)
1AgentIPip是没有获取固定127.0.0.1,主要是这边有一些多IP机器不好判断选用哪个,AgentName取得是机器名称,不是固定的
2我考虑下搞个共享配置
3这个配置预加载感觉意义不大,还是用dashbord界面修改就行了,smartping也有修改配置的接口(文档还没写上)
4很快就实现了
from smartping.
原来这个文件里已经支持可以手工写了,这样可以做成一个模板批量更新了
config-base.json { "Port": xxxx , "Name": "localhost", "Ip": "xxx.xxx.xxxx.xxx", "Password": "955gLaGQIb18", "Alerthistory": 7, "Alertcycle": 1, "Alertsound": "/alert.mp3", ....
from smartping.
同意 cell3 的将 agent Name, agent ip 写到配置文件,不然批量部署重复工作太多了,
如果写到 config.json这样,我每台机器都是同样配置,省了不少麻烦。
from smartping.
可以通过判断用户在 aggen list (targets)中的输入IP与本机所有IP对比,决定选用哪个agen ip
from smartping.
可以直接编辑配置文件的,默认程序启动的时候加载conf/config.json,如果不存在则加载conf/config-base.json,只要按照规则配置config.json文件即可
from smartping.
Related Issues (20)
- 请求增加几个功能
- 国内网络丢包率与实际不符
- 正向ping的监控工时间目前显示的是UTC的0时区的时间,没有根据服务器所在的时区做时间转换
- 关于授权管理相关事宜
- 不同节点的监控能否整合在同一个web界面?
- ARM 无法运行 HOT 4
- 一个smartping节点最多能支撑管理和ping多少个节点(几十万个能扛得住吗?)
- 告警邮件保存后 邮箱授权码失效 HOT 1
- 官网文档不能查看 HOT 1
- Mac环境下的安装介绍可以更新一下。 HOT 1
- Ubuntu 20.04 运行时崩溃 HOT 1
- 切换云模式,填写云配置地址报错 HOT 1
- 邮件报警在设置问题 HOT 1
- 提示[Error] alert.go [func:StartPing] Sql Error UNIQUE constraint failed: alertlog.logtime, alertlog.targetip HOT 2
- 关于邮箱告警问题 HOT 2
- [Error] api.go [func:/api/ping.json] Query database is locked
- 节点名称太长,导致后面选框内内容显示不全,缩放页面也无效
- 关于邮箱告警 HOT 1
- panic: runtime error: invalid memory address or nil pointer dereference
- 请问ping拓扑的变红或者变绿的机制是什么?怎么判断的? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smartping.