added -x for radclient binary call. no stats from freeradius 3.x if not present.
wungad committed
Nov 16, 2017 at 16:07 UTC
dc7e7eda0b14c69588d487888f4a861a9cafe912
1 file changed
+1
-1
python.d/freeradius.chart.py
+1
-1
@@ -82,7 +82,7 @@ class Service(SimpleService):
82
self.echo = find_binary('echo')
83
self.radclient = find_binary('radclient')
84
self.sub_echo = [self.echo, RADIUS_MSG]
85
- self.sub_radclient = [self.radclient, '-r', '1', '-t', '1',
85
+ self.sub_radclient = [self.radclient, '-r', '1', '-t', '1', '-x',
86
':'.join([self.host, self.port]), 'status', self.secret]
87
88
def check(self):