Jun 10 00:29:58 ip-172-26-13-28 systemd[1]: cf-probe.service: Scheduled restart job, restart counter is at 9.
Jun 10 00:29:58 ip-172-26-13-28 systemd[1]: Stopped cf-probe.service - CF Server Monitor Probe Agent.
Jun 10 00:29:58 ip-172-26-13-28 systemd[1]: Started cf-probe.service - CF Server Monitor Probe Agent.
Jun 10 00:29:58 ip-172-26-13-28 cf-probe[2065606]: [INFO] CF-Server-Monitor Probe Engine Started Successfully.
Jun 10 00:29:58 ip-172-26-13-28 cf-probe[2065606]: /usr/local/bin/cf-probe.sh: line 187: 3.62831e+09: syntax error: invalid arithmetic operator (error token is ">
Jun 10 00:29:58 ip-172-26-13-28 systemd[1]: cf-probe.service: Main process exited, code=exited, status=1/FAILURE
Jun 10 00:29:58 ip-172-26-13-28 systemd[1]: cf-probe.service: Failed with result 'exit-code'.
Jun 10 00:30:03 ip-172-26-13-28 systemd[1]: cf-probe.service: Scheduled restart job, restart counter is at 10.
Jun 10 00:30:03 ip-172-26-13-28 systemd[1]: Stopped cf-probe.service - CF Server Monitor Probe Agent.
Jun 10 00:30:03 ip-172-26-13-28 systemd[1]: Started cf-probe.service - CF Server Monitor Probe Agent.
Jun 10 00:30:03 ip-172-26-13-28 cf-probe[2065661]: [INFO] CF-Server-Monitor Probe Engine Started Successfully.
Jun 10 00:30:03 ip-172-26-13-28 cf-probe[2065661]: /usr/local/bin/cf-probe.sh: line 187: 3.62831e+09: syntax error: invalid arithmetic operator (error token is ">
Jun 10 00:30:03 ip-172-26-13-28 systemd[1]: cf-probe.service: Main process exited, code=exited, status=1/FAILURE
Jun 10 00:30:03 ip-172-26-13-28 systemd[1]: cf-probe.service: Failed with result 'exit-code'.
Jun 10 00:30:07 ip-172-26-13-28 systemd[1]: Stopped cf-probe.service - CF Server Monitor Probe Agent.
Jun 10 00:30:07 ip-172-26-13-28 systemd[1]: Started cf-probe.service - CF Server Monitor Probe Agent.
Jun 10 00:30:07 ip-172-26-13-28 cf-probe[2065790]: [INFO] CF-Server-Monitor Probe Engine Started Successfully.
Jun 10 00:30:07 ip-172-26-13-28 cf-probe[2065790]: /usr/local/bin/cf-probe.sh: line 187: 3.62831e+09: syntax error: invalid arithmetic operator (error token is ">
Jun 10 00:30:07 ip-172-26-13-28 systemd[1]: cf-probe.service: Main process exited, code=exited, status=1/FAILURE
Jun 10 00:30:07 ip-172-26-13-28 systemd[1]: cf-probe.service: Failed with result 'exit-code'.
https://www.nodeseek.com/post-763025-1 直接用这个吧
@huilang #1 正好已选这个 赞
@huilang #1
遇到一个错误
其他都没问题
@sudoerx #3
这个错误是因为 Bash 在算术运算中遇到了科学计数法(如 3.62831e+09),而 Bash 原生只支持整数算术运算。
我改了个新版放在dev分支上了,麻烦有空的时候测试下 ,安装链接临时修改成 https://raw.githubusercontent.com/huilang-me/CF-Server-Monitor/refs/heads/dev/public/install.sh 试试
curl -sL https://raw.githubusercontent.com/huilang-me/CF-Server-Monitor/refs/heads/dev/public/install.sh | bash -s install 后续换成你的参数测试没问题,后续我合并到主分支
@huilang #4 顺利添加了 这个可以 是个aws的机器有点特殊?
@sudoerx #5 我写的代码兼容问题
@huilang #6 总体感觉很好 另外个人建议 默认打开light的view比较顺眼hh
@sudoerx #7 哈哈,只是我比较喜欢黑色的,最初是想做一个类似终端风格的
@huilang #8 这个确实是个性化的
但默认似乎不能自己设置 也许可以加个开关
我加了8个node 观察两天看看 usage消耗 目前还挺少的 10万很充足
@sudoerx #9 理论上支持34台服务器(60秒上报一次)