Peanut snarled at my flatmates cat as well, when he checked out the cage for the first time! Now I have a new cage, they started to be kind of friendly and always sniff each other through the glass wall. In fact the hamster gets very excited when he spots the cat. I'm not really happy about it, but luckily my cage is cat and escape proof (the cat is never unsupervised in my room).