Skip to content

(Feature) - Services last updated mattermost integration updates

Agustin Pane requested to merge feature/gitlab-b2drop-mattermost-support into dev

Description BACKEND

  • Add support on mattermost to broadcast to b2drop channel
  • Add support on mattermost to broadcast to gitlab channel
  • Add support on mattermost to broadcast to SVMON WARNINGS channel
  • Now every 7 days a tasks will run within the backend and will check which services are out of date.

For a service to be out of date is necessary that the last report of the service was delivered 7 days ago or more. For example: the script runs at 08/03/2022 => every service in which the last report received was before 01/03/2022 will be threated as out of date and a warning/report on the SVMON WARNINGS channel of mattermost will be sent.

This is the format of the reports:

Svmon WARNING Report - 3 services of out date:
---------
Service type: b2handle.handle.api - Service hostname: epic.pdc.kth.se - Service provider: SNIC - Service name:  / Last Update on: 04-06-2021 18:29
Service type: b2stage.gridftp - Service hostname: ariane-test.cines.fr - Service provider: CINES - Service name:  / Last Update on: 04-06-2021 18:29
Service type: eudat.monitoring.argo - Service hostname:  avail.eudat.eu - Service provider: GRNET - Service name:  / Last Update on: 06-12-2021 12:37
---------

Description FRONTEND

  • When a service is out of date now a warning icon will appear to let the user that the service may be out of date: image image
Edited by Agustin Pane

Merge request reports