- Added
/notify/<up|down>to the monitor server to manually trigger notifications. - Allow not starting the monitor loop by setting
LVMBEAT_START_MONITOR=0. In this case notifications need to be sent manually by calling the/notifyroute.
- Allow to specify
LVMBEAT_STATE_FILEenvironment variable to make the monitor state persistent.
- Control how often
check_heartbeat()is called with theoutside_monitor.check_heartbeat_everyconfiguration option. - Do not raise exceptions in
check_heartbeat().
- Ensure that the state is set before trying to send emails or Slacks.
- Notify
lvm-alertsin Slack when the network is up/down.
- Do not emit heartbeat to ECP if the network (LCO or internet) is down.
- Add
nmapto the lvmbeat actor container.
- Ensure that the monitor tool URL includes the
/heartbeatroute. - Report ISO strings with a precision of seconds.
- Report when the last connection with the LCO server was made in the alert email.
- Update when the last heartbeat was sent to the ECP.
- Fixed double
ENVstatement in dockerfile.
- Add
timeoutandoutside.intervalconfiguration options. - Add documentation on how the product works and deployment instructions.
- Added a
.dockerignorefile. - Return the
last_seenvalue in the monitoring app as an ISO string.
- Flatten the monitor app API routes. Renamed
/email/testto/email-test.
- Fix the
pipname used to define__version__.
- Initial version with heartbeat middleware and external monitoring service.