[modules/ping] Revert changes reg. interval handling
Similarily to getcrypto, do not use the generic interval handling for the ping module. see #220
This commit is contained in:
parent
3638aa2420
commit
82db0a14c1
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ Requires the following executable:
|
||||||
* ping
|
* ping
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
* ping.ping_interval: Time in seconds between two RTT checks (defaults to 60)
|
* ping.interval: Time in seconds between two RTT checks (defaults to 60)
|
||||||
* ping.address : IP address to check
|
* ping.address : IP address to check
|
||||||
* ping.timeout : Timeout for waiting for a reply (defaults to 5.0)
|
* ping.timeout : Timeout for waiting for a reply (defaults to 5.0)
|
||||||
* ping.probes : Number of probes to send (defaults to 5)
|
* ping.probes : Number of probes to send (defaults to 5)
|
||||||
|
@ -51,7 +51,7 @@ class Module(bumblebee.engine.Module):
|
||||||
super(Module, self).__init__(engine, config, widget)
|
super(Module, self).__init__(engine, config, widget)
|
||||||
|
|
||||||
widget.set("address", self.parameter("address", "8.8.8.8"))
|
widget.set("address", self.parameter("address", "8.8.8.8"))
|
||||||
widget.set("interval", self.parameter("ping_interval", 60))
|
widget.set("interval", self.parameter("interval", 60))
|
||||||
widget.set("rtt-probes", self.parameter("probes", 5))
|
widget.set("rtt-probes", self.parameter("probes", 5))
|
||||||
widget.set("rtt-timeout", self.parameter("timeout", 5.0))
|
widget.set("rtt-timeout", self.parameter("timeout", 5.0))
|
||||||
widget.set("rtt-avg", 0.0)
|
widget.set("rtt-avg", 0.0)
|
||||||
|
|
Loading…
Reference in a new issue