]> git.ipfire.org Git - collecty.git/blobdiff - src/collecty/plugins/latency.py
Add dbus interface
[collecty.git] / src / collecty / plugins / latency.py
index 98e69366a155dc137c24901011f778a171cdc7fe..589afa8b81fed234f46f32e80e6b7cf2580ad352 100644 (file)
@@ -105,7 +105,7 @@ class LatencyObject(base.Object):
                try:
                        ping = collecty.ping.Ping(destination=self.hostname, timeout=20000)
                        ping.run(count=5, deadline=self.deadline)
-       
+
                except collecty.ping.PingError, e:
                        self.log.warning(_("Could not run latency check for %(host)s: %(msg)s") \
                                % { "host" : self.hostname, "msg" : e.msg })
@@ -122,7 +122,7 @@ class LatencyPlugin(base.Plugin):
        name = "latency"
        description = "Latency (ICMP ping) Plugin"
 
-       templates = [GraphTemplateLatency,]
+       templates = [GraphTemplateLatency]
 
        interval = 60