def getStats(self):
url = "<STR_LIT>" % (self._proto, self._host, self._port, <EOL>self._monpath)<EOL>response = util.get_url(url, self._user, self._password)<EOL>stats = {}<EOL>for line in response.splitlines():<EOL><INDENT>mobj = re.match('<STR_LIT>', line)<EOL>if mobj:<EOL><INDENT>stats[mobj.group(<NUM_LIT:1>)] = util.parse_value(mobj.group(<NUM_LIT:2>))<EOL><DEDENT><DEDENT>return stats<EOL>
Query and parse Web Server Status Page.