@@ -5,31 +5,32 @@ import (
5
5
)
6
6
7
7
type State struct {
8
- EntityWithChecksum `json:",inline"`
9
- EnvironmentMeta `json:",inline"`
10
- AcknowledgementCommentId types.Binary `json:"acknowledgement_comment_id"`
11
- Attempt uint8 `json:"check_attempt"`
12
- CheckCommandline types.String `json:"commandline"`
13
- CheckSource types.String `json:"check_source"`
14
- ExecutionTime float64 `json:"execution_time"`
15
- HardState uint8 `json:"hard_state"`
16
- InDowntime types.Bool `json:"in_downtime"`
17
- IsAcknowledged types.AcknowledgementState `json:"acknowledgement"`
18
- IsFlapping types.Bool `json:"is_flapping"`
19
- IsHandled types.Bool `json:"is_handled"`
20
- IsProblem types.Bool `json:"is_problem"`
21
- IsReachable types.Bool `json:"is_reachable"`
22
- LastStateChange types.UnixMilli `json:"last_state_change"`
23
- LastUpdate types.UnixMilli `json:"last_update"`
24
- Latency float64 `json:"latency"`
25
- LongOutput types.String `json:"long_output"`
26
- NextCheck types.UnixMilli `json:"next_check"`
27
- NextUpdate types.UnixMilli `json:"next_update"`
28
- Output types.String `json:"output"`
29
- PerformanceData types.String `json:"performance_data"`
30
- PreviousHardState uint8 `json:"previous_hard_state"`
31
- Severity uint16 `json:"severity"`
32
- SoftState uint8 `json:"state"`
33
- StateType types.StateType `json:"state_type"`
34
- Timeout float64 `json:"check_timeout"`
8
+ EntityWithChecksum `json:",inline"`
9
+ EnvironmentMeta `json:",inline"`
10
+ AcknowledgementCommentId types.Binary `json:"acknowledgement_comment_id"`
11
+ Attempt uint8 `json:"check_attempt"`
12
+ CheckCommandline types.String `json:"commandline"`
13
+ CheckSource types.String `json:"check_source"`
14
+ ExecutionTime float64 `json:"execution_time"`
15
+ HardState uint8 `json:"hard_state"`
16
+ InDowntime types.Bool `json:"in_downtime"`
17
+ IsAcknowledged types.AcknowledgementState `json:"acknowledgement"`
18
+ IsFlapping types.Bool `json:"is_flapping"`
19
+ IsHandled types.Bool `json:"is_handled"`
20
+ IsProblem types.Bool `json:"is_problem"`
21
+ IsReachable types.Bool `json:"is_reachable"`
22
+ LastStateChange types.UnixMilli `json:"last_state_change"`
23
+ LastUpdate types.UnixMilli `json:"last_update"`
24
+ Latency float64 `json:"latency"`
25
+ LongOutput types.String `json:"long_output"`
26
+ NextCheck types.UnixMilli `json:"next_check"`
27
+ NextUpdate types.UnixMilli `json:"next_update"`
28
+ Output types.String `json:"output"`
29
+ PerformanceData types.String `json:"performance_data"`
30
+ NormalizedPerformanceData types.String `json:"normalized_performance_data"`
31
+ PreviousHardState uint8 `json:"previous_hard_state"`
32
+ Severity uint16 `json:"severity"`
33
+ SoftState uint8 `json:"state"`
34
+ StateType types.StateType `json:"state_type"`
35
+ Timeout float64 `json:"check_timeout"`
35
36
}
0 commit comments