nagios/commands.go
func AddHostComment(
	host_name string,
	persistent bool,
	author string,
	comment string,
) *livestatus.Command {
	return livestatus.NewCommand(
		"ADD_HOST_COMMENT",
		stringifyArg("host_name", "string", host_name),
		stringifyArg("persistent", "bool", persistent),
		stringifyArg("author", "string", author),
		stringifyArg("comment", "string", comment),
	)
}
func AddHostComment(
	host_name string,
	persistent bool,
	author string,
	comment string,
) *livestatus.Command {
	return livestatus.NewCommand(
		"ADD_HOST_COMMENT",
		stringifyArg("host_name", "string", host_name),
		stringifyArg("persistent", "bool", persistent),
		stringifyArg("author", "string", author),
		stringifyArg("comment", "string", comment),
	)
}
// AddHostComment creates a new "ADD_HOST_COMMENT" Nagios command.
//
// Adds a comment to a particular host.
//
// If the "persistent" field is set to zero (0), the comment will be deleted the next time Nagios is restarted.
//
// Otherwise, the comment will persist across program restarts until it is deleted manually.