NETWAYS / go-check

A Golang library to create monitoring plugins for Icinga
https://pkg.go.dev/github.com/NETWAYS/go-check
GNU General Public License v2.0
13 stars 4 forks source link

Revert "Do NOT ommit trailing semicolons in perfdata" #40

Closed lazyfrosch closed 2 years ago

lazyfrosch commented 2 years ago

Reverting an uncoordinated and little bit chaotic change...

Reverts NETWAYS/go-check#38

Explanation

Spec lists only an example but doesn't explain the semicolons.

'label'=value[UOM];[warn];[crit];[min];[max]

Best practice is to remove trailing ; as they are fully redundant. Many plugins do this and usually only add empty thresholds, when min/max is set.