nagios/commands.go
func AddSvcComment(
	host_name string,
	service_description string,
	persistent bool,
	author string,
	comment string,
) *livestatus.Command {
	return livestatus.NewCommand(
		"ADD_SVC_COMMENT",
		stringifyArg("host_name", "string", host_name),
		stringifyArg("service_description", "string", service_description),
		stringifyArg("persistent", "bool", persistent),
		stringifyArg("author", "string", author),
		stringifyArg("comment", "string", comment),
	)
}
func AddSvcComment(
	host_name string,
	service_description string,
	persistent bool,
	author string,
	comment string,
) *livestatus.Command {
	return livestatus.NewCommand(
		"ADD_SVC_COMMENT",
		stringifyArg("host_name", "string", host_name),
		stringifyArg("service_description", "string", service_description),
		stringifyArg("persistent", "bool", persistent),
		stringifyArg("author", "string", author),
		stringifyArg("comment", "string", comment),
	)
}
// AddSvcComment creates a new "ADD_SVC_COMMENT" Nagios command.
//
// Adds a comment to a particular service.
//
// 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.