nagios/commands.go
func AcknowledgeHostProblem(
	host_name string,
	sticky bool,
	notify bool,
	persistent bool,
	author string,
	comment string,
) *livestatus.Command {
	return livestatus.NewCommand(
		"ACKNOWLEDGE_HOST_PROBLEM",
		stringifyArg("host_name", "string", host_name),
		stringifyArg("sticky", "bool", sticky),
		stringifyArg("notify", "bool", notify),
		stringifyArg("persistent", "bool", persistent),
		stringifyArg("author", "string", author),
		stringifyArg("comment", "string", comment),
	)
}
func AcknowledgeHostProblem(
	host_name string,
	sticky bool,
	notify bool,
	persistent bool,
	author string,
	comment string,
) *livestatus.Command {
	return livestatus.NewCommand(
		"ACKNOWLEDGE_HOST_PROBLEM",
		stringifyArg("host_name", "string", host_name),
		stringifyArg("sticky", "bool", sticky),
		stringifyArg("notify", "bool", notify),
		stringifyArg("persistent", "bool", persistent),
		stringifyArg("author", "string", author),
		stringifyArg("comment", "string", comment),
	)
}
// AcknowledgeHostProblem creates a new "ACKNOWLEDGE_HOST_PROBLEM" Nagios command.
//
// Allows you to acknowledge the current problem for the specified host.
//
// By acknowledging the current problem, future notifications (for the same host state) are disabled.
//
// If the "sticky" option is set to two (2), the acknowledgement will remain until the host returns to an UP state.
//
// Otherwise the acknowledgement will automatically be removed when the host changes state.
//
// If the "notify" option is set to one (1), a notification will be sent out to contacts indicating that the current
// host problem has been acknowledged.
//
// If the "persistent" option is set to one (1), the comment associated with the acknowledgement will survive across
// restarts of the Nagios process.
//
// If not, the comment will be deleted the next time Nagios restarts.