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