atc0005 / go-nagios

Shared Golang package for Nagios plugins
MIT License
8 stars 3 forks source link

Emit perfdata on same line as ServiceOutput if #159

Closed atc0005 closed 2 years ago

atc0005 commented 2 years ago

If LongServiceOutput is set, emit Performance Data after it as previously done. Otherwise, if not set, emit Performance Data immediately after ServiceOutput.

Add tests and testdata to assert the expected behavior.

fixes GH-103