Introduce two global variables: `hostname_g' and `interval_g'.