Israel warned Lebanon that the time for a “diplomatic solution” to repeated attacks from Hezbollah along its northern border “is running out”.