# 配置说明

SmartPing从0.3.0版本开始，配置可以使用WEB界面修改。

## 配置修改节点

![](/files/-MHg-j7z5-WpWhInW7cJ)配置修改节点分为4个大部分

1. 保存配置，对于2，3，4上的操作修改完后均为暂存，需要在此输入密码后保存才可生效，可以在此切换至云模式
2. 基础配置，分为基础、Ping拓扑、邮件报警、检测工具、授权管理几个大功能
   1. 基础
      1. 接口超时(秒)：本节点访问其他节点的Ajax超时时间
      2. 页面刷新(分钟)：页面的定时刷新时间（暂时只用在了Ping拓扑上，设计是除配置外所有页面，有需要可以在源码上修改一下）
      3. 数据存数（天）：正向Ping、拓扑报警、全国延迟的存档天数
   2. Ping拓扑
      1. 报警声音：触发报警规则时的报警声音
      2. 连线粗细：Ping拓扑的连线粗细
      3. 形状大小：Ping拓扑的形状大小
   3. 报警邮件
      1. 邮件服务器：发送邮件的服务器
      2. 发件邮箱：发送邮件的邮箱地址
      3. 发件邮箱密码：发送邮件的邮箱密码
      4. 收件邮箱列表：收信邮箱，多个以;隔开
   4. 检测工具
      1. 限定频率（秒）：工具的CD时间（以源IP唯一计算）
   5. 授权管理
      1. 用户IP列表：设置后仅允许设置的IP访问，多个以逗号隔开
3. Ping节点测试网络
   1. 添加节点，添加后默认开启正向Ping与Ping拓扑
   2. 正向Ping配置，可以自定义选择开启哪些正向Ping
   3. Ping拓扑，可以自定义选择开启哪些Ping拓扑以及设置报警规则
4. 全国延迟测试网络
   1. 添加各省份电信、联通、移动的目标测试IP

## 备注

* 首次运行SmartPing时，SmartPing默认优先读取conf/config.json文件，若无此文件，则读取conf/config-base.json文件
* 若需要修改密码，需要手工修改conf/config.json或conf/config-base.json文件中的password字段，并重启SmartPing


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.smartping.org/install/config.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
