diff --git a/component/barchart/barchart.go b/component/barchart/barchart.go index 8c71080..02f5620 100644 --- a/component/barchart/barchart.go +++ b/component/barchart/barchart.go @@ -72,7 +72,7 @@ func (b *BarChart) consumeSample(sample *data.Sample) { if err != nil { b.AlertChannel <- &data.Alert{ - Title: "FAILED TO PARSE NUMBER", + Title: "FAILED TO PARSE A NUMBER", Text: err.Error(), Color: sample.Color, } diff --git a/component/gauge/gauge.go b/component/gauge/gauge.go index 25860d4..91e881e 100644 --- a/component/gauge/gauge.go +++ b/component/gauge/gauge.go @@ -59,7 +59,7 @@ func (g *Gauge) ConsumeSample(sample *data.Sample) { float, err := strconv.ParseFloat(sample.Value, 64) if err != nil { g.AlertChannel <- &data.Alert{ - Title: "FAILED TO PARSE NUMBER", + Title: "FAILED TO PARSE A NUMBER", Text: err.Error(), Color: sample.Color, } diff --git a/component/runchart/runchart.go b/component/runchart/runchart.go index 1672bdb..29077c7 100644 --- a/component/runchart/runchart.go +++ b/component/runchart/runchart.go @@ -161,7 +161,7 @@ func (c *RunChart) consumeSample(sample *data.Sample) { if err != nil { c.AlertChannel <- &data.Alert{ - Title: "FAILED TO PARSE NUMBER", + Title: "FAILED TO PARSE A NUMBER", Text: err.Error(), Color: sample.Color, } diff --git a/component/sparkline/sparkline.go b/component/sparkline/sparkline.go index d3c2ce0..8bb5855 100644 --- a/component/sparkline/sparkline.go +++ b/component/sparkline/sparkline.go @@ -53,7 +53,7 @@ func (s *SparkLine) consumeSample(sample *data.Sample) { if err != nil { s.AlertChannel <- &data.Alert{ - Title: "FAILED TO PARSE NUMBER", + Title: "FAILED TO PARSE A NUMBER", Text: err.Error(), Color: sample.Color, } diff --git a/config.yml b/config.yml index 47e7c2f..a033809 100644 --- a/config.yml +++ b/config.yml @@ -89,6 +89,6 @@ sparklines: scale: 0 value: ps -A -o %cpu | awk '{s+=$1} END {print s}' - title: Memory pages free - position: [[27, 27], [25, 5]] + position: [[27, 22], [25, 7]] scale: 0 value: memory_pressure | grep 'Pages free' | awk '{print $3}'