blob: 84fc1d7d3ccd99796bdee63b02c1effc32e0c0e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/usr/bin/env bash
set -ex
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
: ${CEPH_ROOT:=$SCRIPTPATH/../../}
sudo docker run --rm \
-v "$CEPH_ROOT":/ceph \
--name=promtool \
--network=host \
dnanexus/promtool:2.9.2 \
test rules /ceph/monitoring/prometheus/alerts/test_alerts.yml
|