AMBARI-6599. Extract common code for execution command creation (dlsynichenko)
AMBARI-6598. Host maintenance mode does not work when host contains started Nagios server (dlysnichenko)