Whether to go all-in with a monster pair depends on the table situation. You need to take into consideration:
1. Your stack size (15 BB and lower may be good for an open shove. More than 30 BB means that you can afford to do a standard 3 BB raise and see the flop)
2. The stack sizes of other players (Their call, re-raise and shoving ranges will depend upon whether they are short-stacked or not)
3. The actions of players before and after you (Did someone re-raise you? Did any of the short stacks go all-in? You may want to factor in the ICM numbers to see if a fold is actually more profitable than a call or an all-in)