mirror of
https://github.com/ceph/ceph
synced 2025-01-18 00:43:38 +00:00
27592b7561
After https://github.com/ceph/ceph/pull/44059 the monitoring/prometheus and monitoring/grafana/dashboards directories are changed to monitoring/ceph-mixins. That broke the shared_folders in the cephadm bootstrap script. Changed all the instances of monitoring/prometheus and monitoring/grafana/dashboards to monitoring/ceph-mixins Also, renaming all the instances of prometheus_alerts.yaml to prometheus_alerts.yml. Fixes: https://tracker.ceph.com/issues/54176 Signed-off-by: Nizamudeen A <nia@redhat.com>
12 lines
345 B
Python
12 lines
345 B
Python
import os
|
|
|
|
ALERTS_FILE = '../prometheus_alerts.yml'
|
|
UNIT_TESTS_FILE = 'test_alerts.yml'
|
|
MIB_FILE = '../../snmp/CEPH-MIB.txt'
|
|
|
|
current_dir = os.path.dirname(os.path.abspath(__file__))
|
|
|
|
ALERTS_FILE = os.path.join(current_dir, ALERTS_FILE)
|
|
UNIT_TESTS_FILE = os.path.join(current_dir, UNIT_TESTS_FILE)
|
|
MIB_FILE = os.path.join(current_dir, MIB_FILE)
|