The Goblins in "The Hobbit" refer to Gandalf's sword as "Glamdring," which is its actual name. It is a powerful Elven blade forged in the First Age.
While they might not know the exact meaning of "Glamdring" (meaning "Foe-hammer" in Sindarin), they recognize it as a fearsome weapon and frequently use variations of the name like "the Glam" or "the Glamdring" throughout the book.