Have one’s ear to the ground

To listen carefully for advice or advance warning of something.

Our teacher always has his ear to the ground to look for possible trouble at school.