Re: [monitoring-plugins/monitoring-plugin-perl] Add LONGOUTPUT parameter to plugin_exit (#9)
Paul Dugas <[email protected]> Thu, 31 Mar 2016 11:45:05 -0700
| Newsgroups | gmane.network.nagios.devel |
|---|---|
| Message-ID | <monitoring-plugins/monitoring-plugin-perl/issues/9/[email protected]> |
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