Skip to content

Commit

Permalink
Report when the last connection with the server was made
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Dec 26, 2024
1 parent e081e4f commit 88d66ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lvmbeat/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ def send_internet_down_email():
"Sending critical alert email."
)
send_email(
message="The LCO internet connection is down.",
message="The LCO internet connection is down. Last connection with "
f"the server was at {timestamp_to_iso(app.state.last_seen) or '<null>'}.",
subject="LCO internet is down",
)
app.state.active = True
Expand Down

0 comments on commit 88d66ab

Please sign in to comment.