remove old import from SimpleService and set update_every to 15 for freeradius
lgz committed
Oct 14, 2017 at 15:02 UTC
b5d29e19cdafc3f9b31d68679f363f61f7a14b57
2 files changed
+3
-2
conf.d/python.d/freeradius.conf
+2
-1
@@ -73,7 +73,8 @@
73
# ln -s ../sites-available/status status
74
# and restart/reload your FREERADIUS server.
75
# ------------------------------------------------------------------------------------------------------------------
76
-#
76
+update_every: 15
77
+
78
# AUTO-DETECTION JOBS
79
# only one of them will run (they have the same name)
80
python.d/python_modules/bases/FrameworkServices/SimpleService.py
+1
-1
@@ -11,7 +11,7 @@ except ImportError:
11
from time import sleep, time
12
13
from bases.charts import Charts, create_runtime_chart
14
-from bases.collection import OldVersionCompatibility, UsefulFuncs, safe_print
14
+from bases.collection import OldVersionCompatibility, safe_print
15
from bases.loggers import PythonDLimitedLogger
16
17
CHART_OBSOLETE_PENALTY = 10