Add if main to healthcheck_monitoring