For matrices to be similar, it is necessary but not sufficient for the characteristic polynomials to be the same. It is actually sufficient in this case though, since both matrices appear to be diagonalizable with distinct diagonal entries.
Here's a little background: recall that the obstruction to being diagonalizable over an algebraically closed field is the difference between "algebraic multiplicity" and "geometric multiplicity" of the eigenvalues. Geometric multiplicity is at least one for each eigenvalue, and less than or equal to algebraic multiplicity (degree of the root in the characteristic polynomial). But here, the roots of the characteristic polynomial are all distinct. This makes things much easier for us, since the geometric multiplicity of each eigenvalue is at least one, and there are three distinct eigenvalues. That means the sum of the geometric multiplicities is $3$, so our matrix is diagonalizable. Diagonalizable matrices with the same characteristic polynomial will be both similar to the same diagonal matrix, so this solves the problem.
In general, over $\mathbb{C}$, the Jordan decomposition for each matrix is a complete invariant for similarity of matrices. Over $\mathbb{R}$, the rational canonical form is a complete invariant. That is, the matrices are similar if and only if they have the same decomposition (up to the symmetries like permuting blocks).