nagios/commands.go
func ProcessFile(
	file_name string,
	delete bool,
) *livestatus.Command {
	return livestatus.NewCommand(
		"PROCESS_FILE",
		stringifyArg("file_name", "string", file_name),
		stringifyArg("delete", "bool", delete),
	)
}
func ProcessFile(
	file_name string,
	delete bool,
) *livestatus.Command {
	return livestatus.NewCommand(
		"PROCESS_FILE",
		stringifyArg("file_name", "string", file_name),
		stringifyArg("delete", "bool", delete),
	)
}
// ProcessFile creates a new "PROCESS_FILE" Nagios command.
//
// Directs Nagios to process all external commands that are found in the file specified by the <file_name> argument.
//
// If the <delete> option is non-zero, the file will be deleted once it has been processes.
//
// If the <delete> option is set to zero, the file is left untouched.