Israel and the Lebanon-based listed terrorist group Hezbollah have agreed to a ceasefire, with hopes the deal will usher in a permanent end to hostilities.