@cryptotaxi247 / netdata-1 / commits / 658e13e29

Debugs removed

Dominik Schloesser committed Aug 27, 2017 at 18:33 UTC 658e13e292f9ad40863a885b767cfc75599eb51b
1 file changed +1 -3
python.d/chrony.chart.py
+1 -3
@@ -69,7 +69,6 @@ class Service(ExecutableService):
69 self.command = "chronyc -n tracking"
70 self.order = ORDER
71 self.definitions = CHARTS
72 - self.error("Chrony netdata started")
72
73 def _get_data(self):
74 """
@@ -77,7 +76,6 @@ class Service(ExecutableService):
76 :return: dict
77 """
78 try:
80 - # self.error("Chrony:" + self._get_raw_data())
79 chrony_dict = {ln.split(':', 1)[0].strip(): ln.split(':', 1)[1].strip().split(' ')[0]
80 for ln in self._get_raw_data()[1:]}
81 return {'timediff': int(float(chrony_dict['System time']) * 1e9),
@@ -90,5 +88,5 @@ class Service(ExecutableService):
88 'residualfreq': int(float(chrony_dict['Residual freq']) * 1e3)
89 }
90 except (ValueError, AttributeError):
93 - self.error("Chrony parser exception")
91 + self.error("Chrony data parser exception")
92 return None