added router online status, also add monitor and also report to admin when goes offline, report depend on cron runtime

This commit is contained in:
Focuslinkstech
2024-08-27 00:26:52 +01:00
committed by GitHub
parent 50a3f0a175
commit 76ac9431b3
4 changed files with 98 additions and 19 deletions

View File

@ -151,5 +151,9 @@
],
"2024.8.7" : [
"ALTER TABLE `tbl_customers` CHANGE `coordinates` `coordinates` VARCHAR(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT 'Latitude and Longitude coordinates';"
],
"2024.8.27" : [
"ALTER TABLE `tbl_routers` ADD `status` ENUM('Online', 'Offline') DEFAULT 'Online', AFTER `coordinates`;",
"ALTER TABLE `tbl_routers` ADD `last_seen` DATETIME AFTER `status`;"
]
}