Add check_ prefix to attempt,timeout columns in *_state tables

This commit is contained in:
Yonas Habteab 2022-06-23 14:36:05 +02:00 committed by Johannes Meyer
parent 1e7e141597
commit 2c0bf05f88
3 changed files with 6 additions and 6 deletions

View file

@ -31,7 +31,7 @@ class HostState extends State
'hard_state' => t('Host Hard State'),
'previous_soft_state' => t('Host Previous Soft State'),
'previous_hard_state' => t('Host Previous Hard State'),
'attempt' => t('Host State Attempt No.'),
'check_attempt' => t('Host State Attempt No.'),
'severity' => t('Host State Severity'),
'output' => t('Host State Output'),
'long_output' => t('Host State Long Output'),
@ -48,7 +48,7 @@ class HostState extends State
'in_downtime' => t('Host State In Downtime'),
'execution_time' => t('Host State Execution Time'),
'latency' => t('Host State Latency'),
'timeout' => t('Host State Timeout'),
'check_timeout' => t('Host State Timeout'),
'check_source' => t('Host State Check Source'),
'last_update' => t('Host State Last Update'),
'last_state_change' => t('Host State Last State Change'),

View file

@ -28,7 +28,7 @@ class ServiceState extends State
'hard_state' => t('Service Hard State'),
'previous_soft_state' => t('Service Previous Soft State'),
'previous_hard_state' => t('Service Previous Hard State'),
'attempt' => t('Service State Attempt No.'),
'check_attempt' => t('Service State Attempt No.'),
'severity' => t('Service State Severity'),
'output' => t('Service State Output'),
'long_output' => t('Service State Long Output'),
@ -45,7 +45,7 @@ class ServiceState extends State
'in_downtime' => t('Service State In Downtime'),
'execution_time' => t('Service State Execution Time'),
'latency' => t('Service State Latency'),
'timeout' => t('Service State Timeout'),
'check_timeout' => t('Service State Timeout'),
'check_source' => t('Service State Check Source'),
'last_update' => t('Service State Last Update'),
'last_state_change' => t('Service State Last State Change'),

View file

@ -24,7 +24,7 @@ abstract class State extends Model
'hard_state',
'previous_soft_state',
'previous_hard_state',
'attempt',
'check_attempt',
'severity',
'output',
'long_output',
@ -42,7 +42,7 @@ abstract class State extends Model
'in_downtime',
'execution_time',
'latency',
'timeout',
'check_timeout',
'check_source',
'scheduling_source',
'last_update',