# Log config
import logging

BASE_PATH = "/home/user/workspace/OSHI-monitoring/"

RRD_LOG_PATH = BASE_PATH+"logs/"
TRAFFIC_MONITOR_LOG_PATH = BASE_PATH+"logs/"
LOG_LEVEL = logging.ERROR

# RRD config
RRD_STEP = "300"
RRD_STORE_PATH = BASE_PATH+"rrd/"
RRD_DATA_SOURCE_TYPE = "GAUGE"
RRD_DATA_SOURCE_HEARTBEAT = "600"

# Traffic monitor config
REQUEST_INTERVAL = 30
LLDP_NOISE_BYTE_S = 19
LLDP_NOISE_PACK_S = 0.365

# Log config
import logging

BASE_PATH = "/home/user/workspace/OSHI-monitoring/"

RRD_LOG_PATH = BASE_PATH + "logs/"
TRAFFIC_MONITOR_LOG_PATH = BASE_PATH + "logs/"
LOG_LEVEL = logging.ERROR

# Traffic monitor config
REQUEST_INTERVAL = 30
LLDP_NOISE_BYTE_S = 19
LLDP_NOISE_PACK_S = 0.365

# RRD config
RRD_STEP = str(REQUEST_INTERVAL)
RRD_STORE_PATH = BASE_PATH + "rrd/"
RRD_DATA_SOURCE_TYPE = "GAUGE"
RRD_DATA_SOURCE_HEARTBEAT = "60"

Set RRD STEP equal to REQUEST_INTERVAL.
Set RRD STEP equal to REQUEST_INTERVAL.
