nagios/commands.go
func ChangeSvcCheckCommand(
	host_name string,
	service_description string,
	check_command string,
) *livestatus.Command {
	return livestatus.NewCommand(
		"CHANGE_SVC_CHECK_COMMAND",
		stringifyArg("host_name", "string", host_name),
		stringifyArg("service_description", "string", service_description),
		stringifyArg("check_command", "string", check_command),
	)
}
func ChangeSvcCheckCommand(
	host_name string,
	service_description string,
	check_command string,
) *livestatus.Command {
	return livestatus.NewCommand(
		"CHANGE_SVC_CHECK_COMMAND",
		stringifyArg("host_name", "string", host_name),
		stringifyArg("service_description", "string", service_description),
		stringifyArg("check_command", "string", check_command),
	)
}
func ChangeSvcCheckCommand ( host_name string , service_description string , check_command string , ) * livestatus . Command { return livestatus . NewCommand ( " " , stringifyArg ( " " , " " , host_name ) , stringifyArg ( " " , " " , service_description ) , stringifyArg ( " " , " " , check_command ) , ) }
// ChangeSvcCheckCommand creates a new "CHANGE_SVC_CHECK_COMMAND" Nagios command.
//
// Changes the check command for a particular service to be that specified by the "check_command" option.
//
// The "check_command" option specifies the short name of the command that should be used as the new service check
// command.
//
// The command must have been configured in Nagios before it was last (re)started.
ChangeSvcCheckCommand creates a new CHANGE_SVC_CHECK_COMMAND Nagios command . Changes the check command for a particular service to be that specified by the check_command option . The check_command option specifies the short name of the command that should be used as the new service check command . The command must have been configured in Nagios before it was last ( re ) started .