I'm curious to know how to diagnose this as well. The oil pressure gauge on my TJ is shotty at best. It never wants to work correctly, and I've heard this is common.
I've also heard that its usually just a bad connection, but I've been waaay to lazy to look into it at all. Maybe someone will chime in here and give us a good diagnostic procedure!