Whats this sensor???

Located left of No.4 Plug coil pack, both bolted together. Descents into cylinder head, appears to be oil in the passageway it reads off. Grey colour on plugs and sensor top.

10 points for anyone who can tell me what sensor it is/its purpose, as i havent a clue and think i may have disturbed it in a plug change.

DSC00644.gif