started on framework for running recurring checks

This commit is contained in:
cdramey committed 2021-01-28 20:14:16 -09:00
1 parent 081ecb0607
commit dbd74982ff
5 files changed
+82 -1

No files matched your search

+1 -1
View File
@@ -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())