Read-only mirror of https://github.com/MeteoSwiss-APN/nwp_operational_monitoring — MeteoSchweiz. Issues & pull requests at the source.
  • Python 73.6%
  • Shell 20.2%
  • C 6.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
cghielmini 08dd358658
Add default host and port for ecFlow server check
Set default values for host and port arguments in the ecFlow server check script.
2026-07-15 13:34:49 +02:00
checks Add default host and port for ecFlow server check 2026-07-15 13:34:49 +02:00
dashboards Add dashboard for monitoring node status 2026-06-24 10:05:23 +02:00
includes add includes 2026-06-10 15:10:56 +02:00
scripts Add t3.ecf script for execution with headers 2026-07-15 13:30:23 +02:00
README.md Update README.md 2026-06-11 09:13:04 +02:00
test.py Refactor late task monitoring and symlink creation 2026-07-15 13:28:38 +02:00

How to use it

Prerequisites:

  • conda
  • ecflow

Before using the files in this repository one has to first prepare the environment like following:

source /..../conda.sh
conda activate ecflow_5.11.3
export PATH=/envs/ecflow_5.11.3/bin:$PATH
ecflow_start.sh

The last line start the server. Once you have run the command, several lines will be printed. You will need to retrieve the Host and Port information from within the output lines that are displayed and execute:

export ECF_PORT=...
export ECF_HOST=...

It is also necessary to add a hidden file with the Grafana credentials inside the includes folder (.credentials). Once the setup is complete, execute the following commands to start the task.

python test.py

ecflow_client --delete=yes /test
ecflow_client --load=test.def
ecflow_client --begin=/test

The following metrics wil be sent automatically to Grafana:

  • Task duration (s)
  • Delay status (1=task late; 2=task very late)
  • in case of failure, 1=task failed