icingadb/pkg/common/constants.go
Yonas Habteab 9e23399eb9 Streamline Redis & DB state_type values
Icinga 2 sets now the `state_type` field to either `hard` or `soft`,
thus the mappings within the Icinga DB code is no longer needed.
2025-06-05 14:25:26 +02:00

6 lines
176 B
Go

package common
const (
SoftState = "soft" // SoftState represents an Icinga 2 soft state change.
HardState = "hard" // HardState represents an Icinga 2 hard state change.
)