cppla

Results 52 comments of cppla

``` (不发)网络波动,No alarm information is sent due to network fluctuations (不发)客户端下线但未超过阈值,No alarm if the threshold is not exceeded (发送)客户端下线且超过阈值, Client disconnects and sends alert information ``` @lianyis

eval表达式都支持。回头整个wiki吧,非程序员好像不太清楚这个eval怎么用。 字段:https://tz.cloudcpp.com/json/stats.json 客户端传回的字段都支持。 ``` eg: 磁盘容量实用率超过95 (hdd_used/hdd_total)*100>95 eg:ipv4宕机示例 online4=0 eg:ipv6宕机示例 online6=0 eg:ipv4 和 ipv6一起监控宕机示例 online4=0&online6=0 ```

> 这些表达式是指客户端回传过来的json字段: https://tz.cloudcpp.com/json/stats.json 如果你自己定制化客户端,应该是可以的。

你机器有多个python环境导致的吧,python 3.9.2 测试无法复现。 @pipidaxian

> 不太清楚,我测试环境是debian11,python 3.9.2 无法复现。 可以看下出现问题的python具体版本,我好修复。

截图不全,应该是你这个文件出现了浮点数,不太确定为什么出现,试试这个文件是否报错。@pipidaxian ``` wget --no-check-certificate -qO client-linux.py 3.0.3.0/cache/77605047768192515.py ```

不太清楚,暂时就在你的小鸡上出现了此问题。 todo