summaryrefslogtreecommitdiffstats
path: root/monitoring/ceph-mixin/tests_alerts/settings.py
blob: d99dfdca6fbdf5d1ae7cd0dc6a0d5a72aed34c12 (plain)
1
2
3
4
5
6
7
8
9
10
11
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)