Such fire marshal shall make an investigation into the origin and cause of every fire and explosion occurring within the limits for which he was appointed, and for any such service he shall receive such compensation as the governing body may allow.
Va. Code § 27-31