ceph/monitoring/ceph-mixin/tests_alerts/settings.py
Nizamudeen A 27592b7561 cephadm: change shared_folder directory for prometheus and grafana
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>
2022-02-07 16:34:37 +05:30

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)