Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Problem


Panel
bgColor#fff



Code Block
OMD[presalesat]:~$ lq "GET services\nColumns: host_name description metrics\nFilter: metrics ~ predict\nFilter: host_name ~ localhost|Windows"
localhost;CPU rrddata:pagefile_used:pagefile_used.max:1605011932:1639571932:392726 rrddata:pagefile:pagefile.max,1048576.000000,*:1605011932:1639571932:392726load;predict_load15,load15,load5,load1
localhost;CPU utilization;predict_util,util,wait,system,user


predict_load15

predict_util


Code Block
OMD[at]:~$ tail -f ~/var/log/cmc.log |grep "predict_load15"
2021-12-15 16:02:07 [6] [client 1] request: GET services\nColumns: rrddata:predict_load15:predict_load15.max:1639566126.581912:1639580526.581912:20\nFilter: host_name = localhost\nFilter: service_description = CPU load\nLocaltime: 1639580527\nOutputFormat: python3\nKeepAlive: on\nResponseHeader: fixed16\nColumnHeaders: off
2021-12-15 16:02:07 [6] [client 1] request: GET services\nColumns: rrddata:predict_load15:predict_load15.max:1639566127:1639580527:162\nFilter: host_name = localhost\nFilter: service_description = CPU load\nLocaltime: 1639580527\nOutputFormat: python3\nKeepAlive: on\nResponseHeader: fixed16\nColumnHeaders: off
2021-12-15 16:02:07 [6] [client 1] request: GET services\nColumns: rrddata:predict_load15:predict_load15.max:1639490527:1639580527:1022\nFilter: host_name = localhost\nFilter: service_description = CPU load\nLocaltime: 1639580527\nOutputFormat: python3\nKeepAlive: on\nResponseHeader: fixed16\nColumnHeaders: off
2021-12-15 16:02:07 [6] [client 1] request: GET services\nColumns: rrddata:predict_load15:predict_load15.max:1638889327:1639580527:7854\nFilter: host_name = Windowslocalhost\nFilter: service_description = MemoryCPU load\nLocaltime: 16395719321639580527\nOutputFormat: python3\nKeepAlive: on\nResponseHeader: fixed16\nColumnHeaders: off"
200         933
[[[1604664000,1639958400,410400,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,2.75864e+09,None],[1604664000,1639958400,410400,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None]]]


OMD[presales]:~$ date -d@1605011932
Tue Nov 10 12:38:52 UTC 2020
OMD[presales]:~$ date -d@1639571932
Wed Dec 15 12:38:52 UTC 2021
2021-12-15 16:02:07 [6] [client 1] request: GET services\nColumns: rrddata:predict_load15:predict_load15.max:1636556527:1639580527:34362\nFilter: host_name = localhost\nFilter: service_description = CPU load\nLocaltime: 1639580527\nOutputFormat: python3\nKeepAlive: on\nResponseHeader: fixed16\nColumnHeaders: off
2021-12-15 16:02:07 [6] [client 1] request: GET services\nColumns: rrddata:predict_load15:predict_load15.max:1605020527:1639580527:392726\nFilter: host_name = localhost\nFilter: service_description = CPU load\nLocaltime: 1639580527\nOutputFormat: python3\nKeepAlive: on\nResponseHeader: fixed16\nColumnHeaders: off

OMD[at]:~$ date -d@1639566126.581912
Wed Dec 15 12:02:06 CET 2021
OMD[at]:~$ date -d@1639566127
Wed Dec 15 12:02:07 CET 2021
OMD[at]:~$ date -d@1639490527
Tue Dec 14 15:02:07 CET 2021
OMD[at]:~$ date -d@1638889327
Tue Dec  7 16:02:07 CET 2021
OMD[at]:~$ date -d@1636556527
Wed Nov 10 16:02:07 CET 2021
OMD[at]:~$ date -d@1605020527
Tue Nov 10 16:02:07 CET 2020
OMD[at]:~$ date -d@1639580527
Wed Dec 15 16:02:07 CET 2021


Filter by label (Content by label)
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("lql","lql_queries","predictive_monitoring") and type = "page" and space = "KB"
labelspredictive_monitoring lql lql_queries

...