The odor you smell is creosote inside a dirty chimney thats reacting to humidity or rain. A good chimney cleaning and possibly a deodorizer will solve the problem.