Three Men in a Boat
The dog in Three Men in a Boat, an 1889 work by Jerome K. Jerome, is named Montmorency, the surname of the colonel in the song.