不上数报警配置后在设备离线时不产生报警
-
�time=2024-01-11T15:57:12.506+08:00 level=ERROR msg="ERROR: time zone displacement out of range: "now - 24h" (SQLSTATE 22009)" logType=syslog service=warning
�2024/01/11 15:58:05 [31;1m/go/pkg/mod/git.airiot.tech/core/service.git/v4@v4.2.80/gormdb/gorm.go:159 [35;1mERROR: time zone displacement out of range: "now - 24h" (SQLSTATE 22009)
�[0m[33m[1.183ms] [34;1m[rows:0][0m SELECT count() FROM "default"."warning" WHERE ((("time" = 'now - 24h' AND "tableData" = 'PSZ_2') OR ("time" = 'now - 24h' AND "tableData" = '二破破碎下料口1') OR ("time" = 'now - 24h' AND "tableData" = '二号破碎站破碎机监控') OR "desc" like '%二破小时量起始计量%') AND ("table" = '实时监控' OR "table" = 'httpserver' OR "table" = 'PLCAB' OR "table" = 'ISC'))
�time=2024-01-11T15:58:05.148+08:00 level=ERROR msg="ERROR: time zone displacement out of range: "now - 24h" (SQLSTATE 22009)" logType=syslog service=warning
�2024/01/11 15:58:05 [31;1m/go/pkg/mod/git.airiot.tech/core/service.git/v4@v4.2.80/gormdb/gorm.go:159 [35;1mERROR: time zone displacement out of range: "now - 24h" (SQLSTATE 22009)
�[0m[33m[0.513ms] [34;1m[rows:0][0m SELECT count() FROM "default"."warning" WHERE ((("time" = 'now - 24h' AND "tableData" = 'PSZ_2') OR ("time" = 'now - 24h' AND "tableData" = '二破破碎下料口1') OR ("time" = 'now - 24h' AND "tableData" = '二号破碎站破碎机监控') OR "desc" like '%二破小时量起始计量%') AND ("table" = '实时监控' OR "table" = 'httpserver' OR "table" = 'PLCAB' OR "table" = 'ISC'))
�time=2024-01-11T15:58:05.263+08:00 level=ERROR msg="ERROR: time zone displacement out of range: "now - 24h" (SQLSTATE 22009)" logType=syslog service=warning
�2024/01/11 16:40:30 [31;1m/go/pkg/mod/git.airiot.tech/core/service.git/v4@v4.2.80/gormdb/gorm.go:159 [35;1mERROR: time zone displacement out of range: "now - 24h" (SQLSTATE 22009)
�[0m[33m[20.081ms] [34;1m[rows:0][0m SELECT count() FROM "default"."warning" WHERE ((("time" = 'now - 24h' AND "tableData" = 'PSZ_2') OR ("time" = 'now - 24h' AND "tableData" = '二破破碎下料口1') OR ("time" = 'now - 24h' AND "tableData" = '二号破碎站破碎机监控') OR "desc" like '%二破小时量起始计量%') AND ("table" = '实时监控' OR "table" = 'httpserver' OR "table" = 'PLCAB' OR "table" = 'ISC'))
�time=2024-01-11T16:40:30.729+08:00 level=ERROR msg="ERROR: time zone displacement out of range: "now - 24h" (SQLSTATE 22009)" logType=syslog service=warning
�2024/01/11 16:40:30 [31;1m/go/pkg/mod/git.airiot.tech/core/service.git/v4@v4.2.80/gormdb/gorm.go:159 [35;1mERROR: time zone displacement out of range: "now - 24h" (SQLSTATE 22009)
�[0m[33m[20.554ms] [34;1m[rows:0][0m SELECT count() FROM "default"."warning" WHERE ((("time" = 'now - 24h' AND "tableData" = 'PSZ_2') OR ("time" = 'now - 24h' AND "tableData" = '二破破碎下料口1') OR ("time" = 'now - 24h' AND "tableData" = '二号破碎站破碎机监控') OR "desc" like '%二破小时量起始计量%') AND ("table" = '实时监控' OR "table" = 'httpserver' OR "table" = 'PLCAB' OR "table" = 'ISC'))
�time=2024-01-11T16:40:30.890+08:00 level=ERROR msg="ERROR: time zone displacement out of range: "now - 24h" (SQLSTATE 22009)" logType=syslog service=warning
�2024/01/12 17:13:26 [31;1m/go/pkg/mod/git.airiot.tech/core/service.git/v4@v4.2.80/gormdb/gorm.go:159 [35;1mERROR: time zone displacement out of range: "now - 24h" (SQLSTATE 22009)
�[0m[33m[2.919ms] [34;1m[rows:0][0m SELECT count() FROM "default"."warning" WHERE ((("time" = 'now - 24h' AND "tableData" = 'PSZ_2') OR ("time" = 'now - 24h' AND "tableData" = '二破破碎下料口1') OR ("tableData" = '二号破碎站破碎机监控' AND "time" = 'now - 24h') OR "desc" like '%二破小时量起始计量%') AND ("table" = '实时监控' OR "table" = 'httpserver' OR "table" = 'PLCAB' OR "table" = 'ISC'))
�time=2024-01-12T17:13:26.474+08:00 level=ERROR msg="ERROR: time zone displacement out of range: "now - 24h" (SQLSTATE 22009)" logType=syslog service=warning
�2024/01/12 17:13:26 [31;1m/go/pkg/mod/git.airiot.tech/core/service.git/v4@v4.2.80/gormdb/gorm.go:159 [35;1mERROR: time zone displacement out of range: "now - 24h" (SQLSTATE 22009)
�[0m[33m[0.862ms] [34;1m[rows:0][0m SELECT count() FROM "default"."warning" WHERE ((("time" = 'now - 24h' AND "tableData" = 'PSZ_2') OR ("time" = 'now - 24h' AND "tableData" = '二破破碎下料口1') OR ("time" = 'now - 24h' AND "tableData" = '二号破碎站破碎机监控') OR "desc" like '%二破小时量起始计量%') AND ("table" = '实时监控' OR "table" = 'httpserver' OR "table" = 'PLCAB' OR "table" = 'ISC'))
�time=2024-01-12T17:13:26.633+08:00 level=ERROR msg="ERROR: time zone displacement out of range: "now - 24h" (SQLSTATE 22009)" logType=syslog service=warning
�2024/01/13 16:36:50 [31;1m/go/pkg/mod/git.airiot.tech/core/service.git/v4@v4.2.80/gormdb/gorm.go:159 [35;1mERROR: time zone displacement out of range: "now - 24h" (SQLSTATE 22009)
�[0m[33m[1.515ms] [34;1m[rows:0][0m SELECT count() FROM "default"."warning" WHERE ((("time" = 'now - 24h' AND "tableData" = 'PSZ_2') OR ("time" = 'now - 24h' AND "tableData" = '二破破碎下料口1') OR ("time" = 'now - 24h' AND "tableData" = '二号破碎站破碎机监控') OR "desc" like '%二破小时量起始计量%') AND ("table" = '实时监控' OR "table" = 'httpserver' OR "table" = 'PLCAB' OR "table" = 'ISC'))
�time=2024-01-13T16:36:50.002+08:00 level=ERROR msg="ERROR: time zone displacement out of range: "now - 24h" (SQLSTATE 22009)" logType=syslog service=warning
�2024/01/13 16:36:50 [31;1m/go/pkg/mod/git.airiot.tech/core/service.git/v4@v4.2.80/gormdb/gorm.go:159 [35;1mERROR: time zone displacement out of range: "now - 24h" (SQLSTATE 22009)
�[0m[33m[20.371ms] [34;1m[rows:0][0m SELECT count() FROM "default"."warning" WHERE ((("time" = 'now - 24h' AND "tableData" = 'PSZ_2') OR ("time" = 'now - 24h' AND "tableData" = '二破破碎下料口1') OR ("tableData" = '二号破碎站破碎机监控' AND "time" = 'now - 24h') OR "desc" like '%二破小时量起始计量%') AND ("table" = '实时监控' OR "table" = 'httpserver' OR "table" = 'PLCAB' OR "table" = 'ISC'))
�time=2024-01-13T16:36:50.280+08:00 level=ERROR msg="ERROR: time zone displacement out of range: "now - 24h" (SQLSTATE 22009)" logType=syslog service=warning
�2024/01/13 16:37:34 [31;1m/go/pkg/mod/git.airiot.tech/core/service.git/v4@v4.2.80/gormdb/gorm.go:159 [35;1mERROR: time zone displacement out of range: "now - 24h" (SQLSTATE 22009)
�[0m[33m[1.410ms] [34;1m[rows:0][0m SELECT count() FROM "default"."warning" WHERE ((("time" = 'now - 24h' AND "tableData" = 'PSZ_2') OR ("time" = 'now - 24h' AND "tableData" = '二破破碎下料口1') OR ("time" = 'now - 24h' AND "tableData" = '二号破碎站破碎机监控') OR "desc" like '%二破小时量起始计量%') AND ("table" = '实时监控' OR "table" = 'httpserver' OR "table" = 'PLCAB' OR "table" = 'ISC'))
�time=2024-01-13T16:37:34.378+08:00 level=ERROR msg="ERROR: time zone displacement out of range: "now - 24h" (SQLSTATE 22009)" logType=syslog service=warning
�2024/01/13 16:37:34 [31;1m/go/pkg/mod/git.airiot.tech/core/service.git/v4@v4.2.80/gormdb/gorm.go:159 [35;1mERROR: time zone displacement out of range: "now - 24h" (SQLSTATE 22009)
�[0m[33m[0.628ms] [34;1m[rows:0][0m SELECT count() FROM "default"."warning" WHERE ((("time" = 'now - 24h' AND "tableData" = 'PSZ_2') OR ("time" = 'now - 24h' AND "tableData" = '二破破碎下料口1') OR ("time" = 'now - 24h' AND "tableData" = '二号破碎站破碎机监控') OR "desc" like '%二破小时量起始计量%') AND ("table" = '实时监控' OR "table" = 'httpserver' OR "table" = 'PLCAB' OR "table" = 'ISC'))
�time=2024-01-13T16:37:34.394+08:00 level=ERROR msg="ERROR: time zone displacement out of range: "now - 24h" (SQLSTATE 22009)" logType=syslog service=warning
�2024/01/15 09:21:09 [31;1m/go/pkg/mod/git.airiot.tech/core/service.git/v4@v4.2.80/gormdb/gorm.go:159 [35;1mtimeout: context canceled
�[0m[33m[75.247ms] [34;1m[rows:0][0m SELECT count() FROM "default"."warning" WHERE "recoveryTime" IS NULL AND "tableData" in ('PSZ_3') AND "status" in ('未确认')
�2024/01/15 09:21:09 [31;1m/go/pkg/mod/git.airiot.tech/core/service.git/v4@v4.2.80/gormdb/gorm.go:159 [35;1mtimeout: context canceled
�[0m[33m[73.142ms] [34;1m[rows:0][0m SELECT count() FROM "default"."warning" WHERE "recoveryTime" IS NULL AND "tableData" in ('PSZ_2') AND "status" in ('未确认')
rtime=2024-01-15T09:21:09.662+08:00 level=ERROR msg="timeout: context canceled" logType=syslog service=warning
rtime=2024-01-15T09:21:09.662+08:00 level=ERROR msg="timeout: context canceled" logType=syslog service=warning
�2024/01/15 17:36:13 [31;1m/go/pkg/mod/git.airiot.tech/core/service.git/v4@v4.2.80/gormdb/gorm.go:162 [35;1mtimeout: context canceled
�[0m[33m[31.779ms] [34;1m[rows:0][0m SELECT "fields","id","status","tableData","processed","handle" FROM "default"."warning" WHERE "tableData" in ('PSZ_3') AND "status" in ('未确认') AND "recoveryTime" IS NULL ORDER BY "time" desc LIMIT 15
rtime=2024-01-15T17:36:13.473+08:00 level=ERROR msg="timeout: context canceled" logType=syslog service=warning
�2024/01/16 22:49:48 [31;1m/go/pkg/mod/git.airiot.tech/core/service.git/v4@v4.2.80/gormdb/gorm.go:159 [35;1mtimeout: context canceled
�[0m[33m[48.872ms] [34;1m[rows:0][0m SELECT count() FROM "default"."warning" WHERE "status" in ('未确认') AND "recoveryTime" IS NULL AND "tableData" in ('PSZ_2')
�time=2024-01-16T22:49:48.172+08:00 level=ERROR msg="请求错误, rpc error: code = Canceled desc = context canceled" logType=syslog service=warning
�time=2024-01-16T22:49:48.172+08:00 level=ERROR msg="请求错误, rpc error: code = Canceled desc = context canceled" logType=syslog service=warning
rtime=2024-01-16T22:49:48.172+08:00 level=ERROR msg="timeout: context canceled" logType=syslog service=warning
�time=2024-01-17T16:24:49.784+08:00 level=ERROR msg="请求错误, rpc error: code = Canceled desc = context canceled" logType=syslog service=warning
�time=2024-01-17T16:24:49.784+08:00 level=ERROR msg="请求错误, rpc error: code = Canceled desc = context canceled" logType=syslog service=warning
7{"level":"warn","ts":"2024-01-17T16:57:45.187784+0800","logger":"etcd-client","caller":"v3@v3.5.11/retry_interceptor.go:62","msg":"retrying of unary invoker failed","target":"etcd-endpoints://0xc0007aa540/etcd:2379","attempt":0,"error":"rpc error: code = Unauthenticated desc = etcdserver: invalid auth token"}
HWARN msg=[resolver] Zero endpoint found,refused to write, instances: []
time=2024-01-17T16:57:46.585+08:00 level=ERROR msg="请求错误, rpc error: code = Unavailable desc = last connection error: connection error: desc = "transport: Error while dialing: dial tcp 172.18.0.23:9223: connect: connection refused"" logType=syslog service=warning
time=2024-01-17T16:57:46.612+08:00 level=ERROR msg="请求错误, rpc error: code = Unavailable desc = last connection error: connection error: desc = "transport: Error while dialing: dial tcp 172.18.0.23:9223: connect: connection refused"" logType=syslog service=warning
time=2024-01-17T16:57:46.743+08:00 level=ERROR msg="请求错误, rpc error: code = Unavailable desc = last connection error: connection error: desc = "transport: Error while dialing: dial tcp 172.18.0.23:9223: connect: connection refused"" logType=syslog service=warning
time=2024-01-17T16:57:46.781+08:00 level=ERROR msg="请求错误, rpc error: code = Unavailable desc = last connection error: connection error: desc = "transport: Error while dialing: dial tcp 172.18.0.23:9223: connect: connection refused"" logType=syslog service=warning
time=2024-01-17T16:57:46.784+08:00 level=ERROR msg="请求错误, rpc error: code = Unavailable desc = last connection error: connection error: desc = "transport: Error while dialing: dial tcp 172.18.0.23:9223: connect: connection refused"" logType=syslog service=warning
time=2024-01-17T16:57:46.786+08:00 level=ERROR msg="请求错误, rpc error: code = Unavailable desc = last connection error: connection error: desc = "transport: Error while dialing: dial tcp 172.18.0.23:9223: connect: connection refused"" logType=syslog service=warning
"time=2024-01-17T16:57:47.413+08:00 level=ERROR msg="更新国际化配置错误:查询授权错误:请求错误, rpc error: code = Unavailable desc = last connection error: connection error: desc = "transport: Error while dialing: dial tcp 172.18.0.23:9223: connect: connection refused""
time=2024-01-17T16:57:47.869+08:00 level=ERROR msg="请求错误, rpc error: code = Unavailable desc = last connection error: connection error: desc = "transport: Error while dialing: dial tcp 172.18.0.23:9223: connect: connection refused"" logType=syslog service=warning
time=2024-01-17T16:57:47.870+08:00 level=ERROR msg="请求错误, rpc error: code = Unavailable desc = last connection error: connection error: desc = "transport: Error while dialing: dial tcp 172.18.0.23:9223: connect: connection refused"" logType=syslog service=warning
time=2024-01-17T16:57:47.872+08:00 level=ERROR msg="请求错误, rpc error: code = Unavailable desc = last connection error: connection error: desc = "transport: Error while dialing: dial tcp 172.18.0.23:9223: connect: connection refused"" logType=syslog service=warning
�2024/01/17 17:36:46 [31;1m/go/pkg/mod/git.airiot.tech/core/service.git/v4@v4.2.80/gormdb/gorm.go:159 [35;1mtimeout: context canceled
�[0m[33m[104.357ms] [34;1m[rows:0][0m SELECT count() FROM "default"."warning" WHERE "status" in ('未确认') AND "recoveryTime" IS NULL AND "tableData" in ('PSZ_3')
rtime=2024-01-17T17:36:46.723+08:00 level=ERROR msg="timeout: context canceled" logType=syslog service=warning
�2024/01/17 17:48:09 [31;1m/go/pkg/mod/git.airiot.tech/core/service.git/v4@v4.2.80/gormdb/gorm.go:159 [35;1mtimeout: context canceled
�[0m[33m[68.865ms] [34;1m[rows:0][0m SELECT count() FROM "default"."warning" WHERE "status" in ('未确认') AND "recoveryTime" IS NULL AND "tableData" in ('PSZ_2')
rtime=2024-01-17T17:48:09.596+08:00 level=ERROR msg="timeout: context canceled" logType=syslog service=warning
�2024/01/17 17:48:09 [31;1m/go/pkg/mod/git.airiot.tech/core/service.git/v4@v4.2.80/gormdb/gorm.go:162 [35;1mtimeout: context canceled
�[0m[33m[33.203ms] [34;1m[rows:0][0m SELECT "handle","fields","processed","id","status","tableData" FROM "default"."warning" WHERE "status" in ('未确认') AND "recoveryTime" IS NULL AND "tableData" in ('PSZ_3') ORDER BY "time" desc LIMIT 15
rtime=2024-01-17T17:48:09.596+08:00 level=ERROR msg="timeout: context canceled" logType=syslog service=warning
�2024/01/17 17:48:09 [31;1m/go/pkg/mod/git.airiot.tech/core/service.git/v4@v4.2.80/gormdb/gorm.go:162 [35;1mtimeout: context canceled
�[0m[33m[16.853ms] [34;1m[rows:0][0m SELECT "id","status","tableData","processed","handle","fields" FROM "default"."warning" WHERE "status" in ('未确认') AND "recoveryTime" IS NULL AND "tableData" in ('PSZ_1') ORDER BY "time" desc LIMIT 15
rtime=2024-01-17T17:48:09.596+08:00 level=ERROR msg="timeout: context canceled" logType=syslog service=warning
{2024/01/17 18:40:17 [32m/go/pkg/mod/git.airiot.tech/core/service.git/v4@v4.2.80/gormdb/gorm.go:159 [33mSLOW SQL >= 200ms
�[0m[31;1m[204.575ms] [33m[rows:1][35m SELECT count() FROM "default"."warning" WHERE "status" in ('未确认') AND "recoveryTime" IS NULL AND "tableData" in ('PSZ_3')[0m
�2024/01/18 00:05:34 [31;1m/go/pkg/mod/git.airiot.tech/core/service.git/v4@v4.2.80/gormdb/gorm.go:159 [35;1mtimeout: context canceled
�[0m[33m[32.742ms] [34;1m[rows:0][0m SELECT count() FROM "default"."warning" WHERE "tableData" in ('PSZ_2') AND "status" in ('未确认') AND "recoveryTime" IS NULL
�2024/01/18 00:05:34 [31;1m/go/pkg/mod/git.airiot.tech/core/service.git/v4@v4.2.80/gormdb/gorm.go:159 [35;1mfailed to connect tohost=postgres user=root database=postgres
: failed SASL auth (read tcp 172.19.0.7:55644->172.19.0.5:5432: i/o timeout)
�[0m[33m[15.804ms] [34;1m[rows:0][0m SELECT count() FROM "default"."warning" WHERE "status" in ('未确认') AND "recoveryTime" IS NULL AND "tableData" in ('PSZ_3')
rtime=2024-01-18T00:05:34.481+08:00 level=ERROR msg="timeout: context canceled" logType=syslog service=warning
�time=2024-01-18T00:05:34.481+08:00 level=ERROR msg="failed to connect tohost=postgres user=root database=postgres
: failed SASL auth (read tcp 172.19.0.7:55644->172.19.0.5:5432: i/o timeout)" logType=syslog service=warning