main: add monitor option in config.h