Hub v0.149.0: a box the household switched off is not an outage for 14 days (R-998)
gates / gates (push) Successful in 6m40s
gates / gates (push) Successful in 6m40s
hosts.deliberate_off_at follows the agent's deliberate_off field (set, then cleared by the first report of a new boot; one info event each way). While held, every silence alarm is held: host and node staleness, the 05:00 backup deadlines, off-site and restore-test freshness, the OS alarms and the kernel notice. After 14 days the usual alarms fire once, naming the power-off. Pages show KIKAPCSOLVA and the time. Consequence tests with controls; each guard red-proofed.
This commit is contained in:
1 parent
ed59bf3cbd
commit
50e47e29af
24 files changed
+638
-17
No files matched your search
@@ -66,6 +66,10 @@ func (s *Server) foldHostStatus(customerID, base string, customerHasReported boo
|
||||
}
|
||||
worst, worstHost := "", ""
|
||||
for i := range hosts {
|
||||
// R-998: a host the household switched off (silent, inside the hold) is the customer's state, not an outage.
|
||||
if s.hostDisplayStatus(&hosts[i]) == "off" {
|
||||
return "off", deliberateOffLine(&hosts[i])
|
||||
}
|
||||
hs := s.hostStatus(hosts[i].LastReportAt)
|
||||
if hs == "pending" && !customerHasReported {
|
||||
continue
|
||||
|
||||
Reference in new issue
Block a user