Monitor master state function