Device Monitoring is consists of two modules.
- First module is device-pool that is generated virtual devices.
- Second module is monitoring server. It consumes messages that are coming from devices.
Device-pool is based on spring-boot project and runs localhost:8080
.
Monitoring-Server is based on spring-boot project and localhost:7070
.
%% Example of sequence diagram
sequenceDiagram
Device.X->>MonitoringServer: REGISTER ( DMessage )
MonitoringServer->>Device.X: REGISTER SUCCESS
Device.X->>MonitoringServer: HEALTH_CHECK ( DMessage )
Device.X->>MonitoringServer: HEALTH_CHECK ( DMessage )
Device.X->>MonitoringServer: HEALTH_CHECK ( DMessage )
Device.X->>MonitoringServer: ALERT ( DMessage )
MonitoringServer->>Device.X: ALERT SUCCESS
Device.X->>MonitoringServer: HEALTH_CHECK ( DMessage )
Device.X->>MonitoringServer: HEALTH_CHECK ( DMessage )
Device.X->>MonitoringServer: ALERT ( DMessage )
MonitoringServer->>Device.X: ALERT SUCCESS