{"id":19900099,"url":"https://github.com/m-lab/rebot","last_synced_at":"2026-02-14T11:37:11.736Z","repository":{"id":54554074,"uuid":"62086150","full_name":"m-lab/rebot","owner":"m-lab","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-22T23:10:35.000Z","size":183,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-10-29T14:44:56.069Z","etag":null,"topics":["machine","platform","reboot"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m-lab.png","metadata":{"files":{"readme":"README.md","changelog":"history/history.go","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-06-27T20:33:04.000Z","updated_at":"2021-02-10T22:44:41.000Z","dependencies_parsed_at":"2024-02-23T05:44:38.387Z","dependency_job_id":null,"html_url":"https://github.com/m-lab/rebot","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-lab%2Frebot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-lab%2Frebot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-lab%2Frebot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-lab%2Frebot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m-lab","download_url":"https://codeload.github.com/m-lab/rebot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224002282,"owners_count":17239288,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["machine","platform","reboot"],"created_at":"2024-11-12T20:11:10.138Z","updated_at":"2026-02-14T11:37:06.699Z","avatar_url":"https://github.com/m-lab.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GoDoc](https://godoc.org/github.com/m-lab/rebot?status.svg)](https://godoc.org/github.com/m-lab/rebot) [![Build Status](https://travis-ci.org/m-lab/rebot.svg?branch=master)](https://travis-ci.org/m-lab/rebot) [![Coverage Status](https://coveralls.io/repos/github/m-lab/rebot/badge.svg?branch=master)](https://coveralls.io/github/m-lab/rebot?branch=master) [![Go Report Card](https://goreportcard.com/badge/github.com/m-lab/rebot)](https://goreportcard.com/report/github.com/m-lab/rebot)\n\nReBot\n======\nThe rebot tool identifies machines on the M-Lab infrastructure that are not\nreachable anymore and should be rebooted (according to various criteria) and\nattempts to reboot them through iDRAC.\n\nCriteria for reboot candidates\n---\n\nThis is the list of criteria ReBot will check to determine if a machine needs\nto be rebooted.\n\n- machine is offline - port 806 down for the last 15m\n- machine is not lame-ducked - lame_duck_node is not 1\n- site and machine are not in GMX maintenance - gmx_machine_maintenance and gmx_site_maintenance are not 1\n- switch is online - probe_success{instance=~\"s1.*\", module=\"icmp\"} has been 0 for the last 15m\n- there are no NDT tests running - rate(inotify_extension_create_total{ext=\".s2c_snaplog\"}[15m]) is 0 or not present\n- metrics are actually being collected for all probes (i.e. prometheus was up)\n  - count_over_time(probe_success{service=\"ssh806\", module=\"ssh_v4_online\"}[15m]) \u003e= 14\n\nAdditionally, ReBot checks the following:\n- the machine has not been rebooted already in the last 24hrs\n- no more than 5 machines should be rebooted together at any time\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-lab%2Frebot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm-lab%2Frebot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-lab%2Frebot/lists"}