nagios: don't use print in lower functions, rather return the message to the higher level function in a tuple