PHOENIX -- Arizona catcher Miguel Montero hit a two-run home run in the first inning, and right-hander Josh Collmenter came within two outs of his second complete game of the season in the Diamondbacks' 5-1 victory over the San Diego Padres on Friday at Chase Field.
Montero's homer capped a three-run first inning.
Collmenter (9-7) retired 15 straight batters before giving up two singles in the ninth inning and being replaced. He struck out a season-high eight and gave up one unearned run in 8 1/3 innings while winning for the first time since July 20.
Montero also doubled for the Diamondbacks (53-75), who broke a six-game losing streak. They had lost nine of their last 11.
Right-hander Odrisamer Despaigne (3-5) gave up five hits and four runs (three earned) in five innings for the Padres (59-68), who have lost four of their last five. Despaigne struck out four and walked one.
Shortstop Alexi Amarista had two hits and scored on a Montero passed ball with two outs in the ninth inning.
Arizona right fielder David Peralta tripled with two outs in the first inning and scored on first baseman Mark Trumbo's infield single into the hole at shortstop for a 1-0 lead.
Montero hit the next pitch off the right-field foul pole for his 13th homer of the season and a 3-0 lead.
Third baseman Jake Lamb beat out an infield single and advanced on two groundouts before scoring on a fielding error by Padres second base Jedd Gyorko to give Arizona a 4-0 lead.
The Diamondbacks did not score more than four runs in any of their previous 11 games, and they scored only 21 on a recent 10-game road trip in which they were 2-8.
Amarista and third baseman Yangervis Solarte had third-inning singles for San Diego, but Peralta threw out Amarista attempting to take third on Solarte's hit to end the inning.
NOTES: San Diego RHP Andrew Cashner is scheduled to be activated from the disabled list for a start Saturday in Arizona. Cashner has been on the disabled list since June 23 with shoulder soreness. ... Arizona OF A.J. Pollock (fractured hand) is scheduled to resume his rehab assignment at Triple-A Reno on Saturday after being shut down for six days with hand soreness. ... San Diego RHP Tyson Ross has made 12 straight quality starts, a franchise record, after giving up two runs in eight innings of a 2-1 loss to the Dodgers on Thursday. Six Padres, including RHP Gaylord Perry (1968-69) and RHP Andrew Cashner (2013-14), have made 11 straight. ... Arizona RHP Bradin Hagens was outrighted off the 40-man roster Thursday. Hagens was the club-record 18th rookie to appear for the D-backs this season when he made his first major league appearance Aug. 14.