blob: 10c85f68d6152086c1a3c3f49c3281aa1f5d1591 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
package com.nis.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.Date;
@Data
@TableName("prom_server")
public class Promserver {
@TableId
private Integer id;
private Integer dcId;
private String host;
private Integer type;
private Integer port;
/**
* 默认:1
* 1:正常
* 0:异常
* -1:认证失败
*/
private Integer status;
private Date checkTime;
/**
* json格式保存状态详情
* {
* "prometheus": "UP",
* "confagent": "UP",
* "snmp_exporter": "UP"
* }
*/
private String statusInfo;
/**
* confagent令牌
*/
private String token;
}
|