Perhaps originally sung in (or inspired by): "A new comic drama by Charles Seabert, entitled DUNDERBECK IN A FIX Hans Von Dunderbeck......Gus Williams." (New York Herald, December 1, 1872)