The sp_cycle_agent_errorlog stored procedure is in the msdb system database.