Use Expect scripts to monitor and controll bitcoin-core

I’m thinking about an Expect script to monitor and control my bitcoin-core client (on Linux).

Who has experience, is there already a set of scripts and/or what are your thoughts?