Changed monitor state temp file to /tmp/