This sit ehas th ebasics of what is required
http://sourceforge.net/projects/obdcon/
thisone runs on the Pi:
http://elmelectronics.com/obdsoftware.html
Basically , you need an OBDII interface which is either a modified optically isolated 1 line serial port, or CAN, and then you would have to...