nagios/commands.go
func ChangeContactHostNotificationTimeperiod(
	contact_name string,
	notification_timeperiod string,
) *livestatus.Command {
	return livestatus.NewCommand(
		"CHANGE_CONTACT_HOST_NOTIFICATION_TIMEPERIOD",
		stringifyArg("contact_name", "string", contact_name),
		stringifyArg("notification_timeperiod", "string", notification_timeperiod),
	)
}
func ChangeContactHostNotificationTimeperiod(
	contact_name string,
	notification_timeperiod string,
) *livestatus.Command {
	return livestatus.NewCommand(
		"CHANGE_CONTACT_HOST_NOTIFICATION_TIMEPERIOD",
		stringifyArg("contact_name", "string", contact_name),
		stringifyArg("notification_timeperiod", "string", notification_timeperiod),
	)
}
// ChangeContactHostNotificationTimeperiod creates a new "CHANGE_CONTACT_HOST_NOTIFICATION_TIMEPERIOD" Nagios command.
//
// Changes the host notification timeperiod for a particular contact to what is specified by the
// "notification_timeperiod" option.
//
// The "notification_timeperiod" option should be the short name of the timeperiod that is to be used as the contact's
// host notification timeperiod.
//
// The timeperiod must have been configured in Nagios before it was last (re)started.