{"id":580,"date":"2010-09-06T10:10:29","date_gmt":"2010-09-06T08:10:29","guid":{"rendered":"http:\/\/code.openark.org\/forge"},"modified":"2010-11-08T12:36:20","modified_gmt":"2010-11-08T10:36:20","slug":"http-web-server","status":"publish","type":"page","link":"https:\/\/code.openark.org\/forge\/mycheckpoint\/documentation\/http-web-server","title":{"rendered":"HTTP web server"},"content":{"rendered":"<p><em>mycheckpoint<\/em> can run in <em>http<\/em> mode:<\/p>\n<blockquote>\n<pre>mycheckpoint http\r\n<\/pre>\n<\/blockquote>\n<p>In which case it starts up an HTTP service on port <strong>12306<\/strong> (configurable via <strong>&#8211;http-port<\/strong>). See <strong><a href=\"http:\/\/mycheckpoint.googlecode.com\/svn\/trunk\/doc\/html\/sample\/http\/mcp_sql00\/sv_report_html_brief\">mock up demo<\/a><\/strong>.<\/p>\n<h4>HTTP mode<\/h4>\n<p><em>mycheckpoint<\/em> will automatically detect the mycheckpoint schemata on the MySQL server, and will allow browsing through the HTML reports for those schemata.<\/p>\n<p>While in HTTP mode, mycheckpoint does <em>not<\/em> do any monitoring. It is strictly in read-only mode.<\/p>\n<ul>\n<li>This makes it possible and convenient to direct mycheckpoint to some slave node, rather then producing reports on the master node.<\/li>\n<li><a href=\"http:\/\/code.openark.org\/forge\/mycheckpoint\/documentation\/quick-howto#Monitor\">Monitoring<\/a> should keep on going, regardless, e.g. through <em>crontab<\/em>.<\/li>\n<\/ul>\n<p>While it may seem as if there&#8217;s some server-side scripting involved (e.g. PHP, Python\/Django etc.), there&#8217;s nothing of the sort. To present with the HTML reports <em>mycheckpoint<\/em> merely <strong>SELECT<\/strong>s from the appropriate views. In fact, for each presented page, it lets you know which query it was that invoked the page.<\/p>\n<p>An exception are the chart <a href=\"http:\/\/mycheckpoint.googlecode.com\/svn\/trunk\/doc\/html\/sample\/http\/mcp_sql00\/zoom\/questions\"><strong>zoom in<\/strong><\/a> pages, only available on HTTP mode.<\/p>\n<p><em>You don&#8217;t have to use HTTP mode to get the HTML reports.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>mycheckpoint can run in http mode: mycheckpoint http In which case it starts up an HTTP service on port 12306 (configurable via &#8211;http-port). See mock up demo. HTTP mode mycheckpoint will automatically detect the mycheckpoint schemata on the MySQL server, and will allow browsing through the HTML reports for those schemata. While in HTTP mode, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":147,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-580","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/code.openark.org\/forge\/wp-json\/wp\/v2\/pages\/580","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/code.openark.org\/forge\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/code.openark.org\/forge\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/code.openark.org\/forge\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/code.openark.org\/forge\/wp-json\/wp\/v2\/comments?post=580"}],"version-history":[{"count":7,"href":"https:\/\/code.openark.org\/forge\/wp-json\/wp\/v2\/pages\/580\/revisions"}],"predecessor-version":[{"id":588,"href":"https:\/\/code.openark.org\/forge\/wp-json\/wp\/v2\/pages\/580\/revisions\/588"}],"up":[{"embeddable":true,"href":"https:\/\/code.openark.org\/forge\/wp-json\/wp\/v2\/pages\/147"}],"wp:attachment":[{"href":"https:\/\/code.openark.org\/forge\/wp-json\/wp\/v2\/media?parent=580"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}