You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
filesite-io
b25571e478
|
6 months ago | |
---|---|---|
conf | 6 months ago | |
lib | 6 months ago | |
log | 6 months ago | |
test | 6 months ago | |
.gitignore | 6 months ago | |
LICENSE | 6 months ago | |
README.md | 6 months ago | |
monitor.mjs | 6 months ago | |
package.json | 6 months ago | |
server.mjs | 6 months ago |
README.md
monit-via-herounion
Website monitor via HeroUnion. 基于HeroUnion的网站监控程序。
使用方法
- 下载源码:
git clone "https://git.filesite.io/filesite/monit-via-herounion.git"
- 安装node依赖包
npm install
- 配置需要监控的网站
修改文件:conf/config.json
在monit_urls里添加网址,例如:
"https://tajian.tv",
"https://filesite.io"
- 启动监控程序
npm start
查看监控结果
在log/目录下会生成两个日志文件:
- ok.log - 成功访问日志
- fail.log - 访问失败日志
HeroUnion账号获取
请打开网站,查看底部的联系方式: FileSite.io