[COOK-2890] Resolve foodcritic warnings in Nagios cookcook