Yep, any solution that doesn't break Nagios if parameter is left empty is accepted