Khatib, 26, of Majd al-Krum had pleaded guilty to charges of contacting a foreign agent and conspiracy to aid an enemy in a time of war, Ynetnews.com reported.
Those charges were reduced to a conspiracy after Khatib entered his guilty plea.
Khatib contacted the Hezbollah agent several times in the past five years and met him in Turkey and Denmark, Ynetnews.com said.
He shared information regarding the locations of rocket explosion sites during the Second Lebanon War.
The Hezbollah agent also asked Khatib to provide information about the security arrangements in place for President Shimon Peres' visit to his town.
Ynetnews.com said Khatib was arrested last year.