First pass at Nagios 4 compatibility