Israel has said it will attack if Hezbollah breaks the ceasefire agreement, which was announced on Tuesday.