Added nagios maintenance mode and confirmation before upgrading

Change-Id: I77d921f10e7b065958d3ff7c52727aee7cdb7671