nagios/commands.go
func EnableSvcFlapDetection(
	host_name string,
	service_description string,
) *livestatus.Command {
	return livestatus.NewCommand(
		"ENABLE_SVC_FLAP_DETECTION",
		stringifyArg("host_name", "string", host_name),
		stringifyArg("service_description", "string", service_description),
	)
}
func EnableSvcFlapDetection(
	host_name string,
	service_description string,
) *livestatus.Command {
	return livestatus.NewCommand(
		"ENABLE_SVC_FLAP_DETECTION",
		stringifyArg("host_name", "string", host_name),
		stringifyArg("service_description", "string", service_description),
	)
}
// EnableSvcFlapDetection creates a new "ENABLE_SVC_FLAP_DETECTION" Nagios command.
//
// Enables flap detection for the specified service.
//
// In order for the flap detection algorithms to be run for the service, flap detection must be enabled on a
// program-wide basis as well.