Penelope Trunk offers a short quiz to help predict whether you are happy at work. The list includes: commuting time, manageable work flow, clear and challenging goals and friends in the office. What is most interesting about the list is that it does not include salary.
I think to make the quiz more complete she should include relative salary (i.e. how much you are paid relative to your peers in your company and in your industry.)