added nagios 4.x support, needs regression checks as global change