diff --git a/collector/collector.go b/collector/collector.go index 02e1b01e..89324f0a 100644 --- a/collector/collector.go +++ b/collector/collector.go @@ -59,7 +59,7 @@ func parseStatus(data sql.RawBytes) (float64, bool) { case "non-primary", "disconnected": return 0, true } - if ts, err := time.Parse("Jan 02 15:04:05 2006 MST", string(data)); err == nil { + if ts, err := time.Parse("Jan _2 15:04:05 2006 MST", string(data)); err == nil { return float64(ts.Unix()), true } if ts, err := time.Parse(time.DateTime, string(data)); err == nil {