started on framework for running recurring checks
This commit is contained in:
1 parent
081ecb0607
commit
dbd74982ff
5 files changed
+82
-1
No files matched your search
+1
-1
@@ -65,7 +65,7 @@ func (c *CheckPing) Check(debuglvl int) error {
|
||||
}
|
||||
}
|
||||
|
||||
if debuglvl > 0 {
|
||||
if debuglvl > 1 {
|
||||
fmt.Printf("Packet loss: %.f%%\n", stats.PacketLoss)
|
||||
fmt.Printf("Max RTT: %s\n", stats.MaxRtt.String())
|
||||
fmt.Printf("Max Configured RTT: %s\n", c.MaxRTT.String())
|
||||
|
||||
Reference in new issue
Block a user