“基于大数据的运维分析系统”的版本间的差异

来自CloudWiki
跳转至: 导航搜索
已落实接口
已落实接口
第7行: 第7行:
 
CPU状态<br>
 
CPU状态<br>
  
curl -H 'content-Type:application/json' 'master:9200/cpu-javadaemon/_doc/_search?pretty&size=1000' -d'
+
curl -H 'content-Type:application/json' 'master:9200/cpu-javadaemon/_doc/_search?pretty&size=1000' -d'
{
+
{
"_source":[
+
"_source":[
"message"
+
  "message"
]
+
]
}'
+
}'
  
 
运行时间<br>
 
运行时间<br>
  
curl -H 'content-Type:application/json' '39.101.189.249:9200sj-javadaemon/_doc/_search?pretty&size=1000' -d'  
+
curl -H 'content-Type:application/json' '39.101.189.249:9200sj-javadaemon/_doc/_search?pretty&size=1000' -d'  
{
+
{
"_source":[
+
"_source":[
"message"
+
  "message"
]
+
]
}'
+
}'
  
 
启动时间<br>
 
启动时间<br>
  
curl -H 'content-Type:application/json' '39.101.189.249:9200/kjsj-javadaemon/_doc/_search?pretty&size=1000' -d'  
+
curl -H 'content-Type:application/json' '39.101.189.249:9200/kjsj-javadaemon/_doc/_search?pretty&size=1000' -d'  
{
+
{
"_source":[
+
"_source":[
 
  "message"
 
  "message"
]
+
]
}'
+
}'
  
 
负载情况<br>
 
负载情况<br>
  
curl -H 'content-Type:application/json' '39.101.189.249:9200/serverxt-javadaemon/_doc/_search?pretty&size=1000' -d'  
+
curl -H 'content-Type:application/json' '39.101.189.249:9200/serverxt-javadaemon/_doc/_search?pretty&size=1000' -d'  
{
+
{
"_source":[
+
"_source":[
 
  "message"
 
  "message"
]
+
]
}'
+
}'
  
 
网卡速率<br>
 
网卡速率<br>
  
curl  'master:9200/wksl-javadaemon/_doc/_search?pretty' -H 'content-Type:application/json' -d '
+
curl  'master:9200/wksl-javadaemon/_doc/_search?pretty' -H 'content-Type:application/json' -d '
{"_source":["message"],
+
{"_source":["message"],
"query":{"match":{"message":"eth0"}}}'
+
"query":{"match":{"message":"eth0"}}}'
  
  
 
硬盘状态<br>
 
硬盘状态<br>
  
curl -H 'content-Type:application/json' 'master:9200/disk-javadaemon/_doc/_search?pretty&size=1000' -d'
+
curl -H 'content-Type:application/json' 'master:9200/disk-javadaemon/_doc/_search?pretty&size=1000' -d'
{
+
{
"_source":[
+
"_source":[
 
  "message"
 
  "message"
]
+
]
}'
+
}'
  
 
内存状态<br>
 
内存状态<br>
  
curl -H 'content-Type:application/json' 'master:9200/memory-javadaemon/_doc/_search?pretty&size=1000' -d'
+
curl -H 'content-Type:application/json' 'master:9200/memory-javadaemon/_doc/_search?pretty&size=1000' -d'
{
+
{
"_source":[
+
"_source":[
 
  "message"
 
  "message"
]
+
]
}'
+
}'
  
 
服务运行状态<br>
 
服务运行状态<br>

2020年9月15日 (二) 14:45的版本

vue前端

ElasticSearch 后台

已落实接口

CPU状态

curl -H 'content-Type:application/json' 'master:9200/cpu-javadaemon/_doc/_search?pretty&size=1000' -d'
{
"_source":[
 "message"
]
}'

运行时间

curl -H 'content-Type:application/json' '39.101.189.249:9200sj-javadaemon/_doc/_search?pretty&size=1000' -d' 
{
"_source":[
 "message"
]
}'

启动时间

curl -H 'content-Type:application/json' '39.101.189.249:9200/kjsj-javadaemon/_doc/_search?pretty&size=1000' -d' 
{
"_source":[
"message"
]
}'

负载情况

curl -H 'content-Type:application/json' '39.101.189.249:9200/serverxt-javadaemon/_doc/_search?pretty&size=1000' -d' 
{
"_source":[
"message"
]
}'

网卡速率

curl  'master:9200/wksl-javadaemon/_doc/_search?pretty' -H 'content-Type:application/json' -d '
{"_source":["message"],
"query":{"match":{"message":"eth0"}}}'


硬盘状态

curl -H 'content-Type:application/json' 'master:9200/disk-javadaemon/_doc/_search?pretty&size=1000' -d'
{
"_source":[
"message"
]
}'

内存状态

curl -H 'content-Type:application/json' 'master:9200/memory-javadaemon/_doc/_search?pretty&size=1000' -d'
{
"_source":[
"message"
]
}'

服务运行状态

未落实接口

日志错误数量
爬虫运营状态