Added ability to define custom timeperiods to Nagios cookbook