> It would, but be carefully with the pipes, the exit code of the command, will be the exit code from the last command in the pipe :)
Er, indeed. So you'd need little wrapper script. Oh well, I'm not against such an option. (I'd really prefer to get rid of this first output field [in other plugins as well][1], but I guess that's somewhat unrelated.) [1]: http://thread.gmane.org/gmane.network.nagios.plugins.devel/5155 -- Reply to this email on GitHub: https://github.com/monitoring-plugins/monitoring-plugins/issues/1240#issuecomment-35426841
