[monitoring-plugins/monitoring-plugin-perl] Add LONGOUTPUT parameter to plugin_exit (#9)

Paul Dugas notifications at github.com
Thu Mar 31 20:45:05 CEST 2016


That's what I'm doing in the interim.  However, when the $message is empty
we call `$plugin->plugin_exit(OK, "\nadditional\ndetails\nhere")` and end up
with output like so
```
OK -
additional
details
here|perfdata
```
The extra dash in the output is apparently annoying so some of my people. 
Maybe it'd be easier to just look for a leading \n in $message and skip the
dash in that case.  

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/monitoring-plugins/monitoring-plugin-perl/issues/9#issuecomment-204072475
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20160331/52564532/attachment.html>


More information about the Devel mailing list