Wrapping up for the night. Better alerts and things with the correct timezone...

This commit is contained in:
Scott Idem
2024-10-17 20:46:39 -04:00
parent 172763bc26
commit de24f0dc80
4 changed files with 25 additions and 6 deletions

View File

@@ -483,6 +483,8 @@ export function db_save_ae_obj_li__event_device(
record_status: obj.record_status,
record_status_msg: obj.record_status_msg,
record_status_on: obj.record_status_on,
// These are timestamps that are in UTC but missing the 'Z' at the end
heartbeat: obj.heartbeat ? obj.heartbeat+'Z' : null,
info_hostname: obj.info_hostname,
info_ip_list: obj.info_ip_list,

View File

@@ -174,6 +174,7 @@ export interface Device {
record_status?: null|string;
record_status_msg?: null|string;
record_status_on?: null|Date;
heartbeat?: null|string;
info_hostname?: null|string;
info_ip_list?: null|string; // Semi-colon separated list of IP addresses