我正在开发基于Firebase实时数据库的messenger应用程序。我希望所有的消息都是根据时间戳排序的。
下面是这样的场景。
有三个客户。A、B和C。
1)
所有客户端都注册“图-1”侦听器以接收来自他人的消息。
<figure-1>
ref.queryOrdered(byChild: "timestamp").queryStarting(atValue: startTime).observe(.childAdded, with:
{
....
// do work for the messages, print, save to storag
当文件中有任何错误或警告时,我已经创建了一个zabbix警报来返回日志消息:
项目:
Type : Zabbix agent (active)
key : log[/usr/local/panorama/acs/standalone/log/server.log,WARN\s*\[|ERROR\s*\[,,,,\0]
Type of information : Log
Log Time Format : yyyy-MM-ddThh:mm:ss,SSS
并发出警告:
Name : Error/Warning log at {HOST.NAME} : {ITEM.VALUE}
Expres