pub fn set_alerted(agent: &str, level: u8, now_ms: i64)
Records the alert level sent for the agent’s day, on each of its rows so it survives a restart. A raised cap sets it back down to where the day now stands.