nagios script fixes