--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"\r
+"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\r
+<html>\r
+\r
+<head>\r
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>\r
+<meta name="description" content="description"/>\r
+<meta name="keywords" content="keywords"/> \r
+<meta name="author" content="author"/> \r
+<!--link rel="stylesheet" type="text/css" href="../../screen.css" media="screen"/-->\r
+<!--link rel="stylesheet" href="../../style/screen.css" type="text/css"/-->\r
+<link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />\r
+<link rel="stylesheet" href="_static/pygments.css" type="text/css" />\r
+ \r
+<title>MyOpsQuery</title>\r
+</head>\r
+\r
+<body>\r
+\r
+<div class="container">\r
+\r
+ <div class="header">\r
+ \r
+ <div class="title">\r
+ <h1>Welcome to MyOps-Query:</h1>\r
+ <h4>A simple collection & query interface for MyPLC deployments.</h4>\r
+ </div>\r
+\r
+ <div class="navigation">\r
+ <a href="index.html">Home</a>\r
+ <a href="index.html">About</a>\r
+ <div class="clearer"><span></span></div>\r
+ </div>\r
+\r
+ </div>\r
+\r
+ <div class="main">\r
+ \r
+ <div class="content">\r
+\r
+ <h1>Example Queries</h1>\r
+ <p> This is a list of various queries you can perform with MyOps.</p>\r
+ <p>Many others can be performed by manipulating the query URL.</p>\r
+\r
+ <ul>\r
+ <li> <a href="http://myops.planet-lab.org:5984/query?fields=date,hostname,netflow&filter=netflow==Bad">filter=netflow==Bad</a> </li>\r
+ <li> <a href="http://myops.planet-lab.org:5984/query?fields=hostname,redundant_procs&filter=redundant_procs!=">filter=redundant_procs!=</a> </li>\r
+ <li> <a href="http://myops.planet-lab.org:5984/query?fields=hostname,free_disk_root&filter=free_disk_root<=0.2">filter=free_disk_root<=0.2</a> </li>\r
+ <li> <a href="http://myops.planet-lab.org:5984/query?fields=hostname,kernel_version&filter=kernel_version=~2.6.32">filter=kernel_version=~2.6.32</a> </li>\r
+ <li> <a href="http://myops.planet-lab.org:5984/query?fields=hostname&filter=running_slices=~princeton_comon">filter=running_slices=~princeton_comon</a> </li>\r
+ <li> <a href="http://myops.planet-lab.org:5984/query?fields=hostname&filter=rpm_versions=~fprobe-ulog-1.1.2-6.planetlab">filter=rpm_versions=~fprobe-ulog-1.1.2-6.planetlab</a> </li>\r
+ <li> <a href="http://myops.planet-lab.org:5984/query?fields=hostname,rpm_versions&rpmpattern=vsys-scripts.*">rpmpattern=vsys-scripts.*</a> </li>\r
+ <li> <a href="http://myops.planet-lab.org:5984/_list/rpms/rpm-to-host?group=true&startkey=[%22rpm%22]&endkey=[%22rpm%22,{}]">List RPMS per host</a> </li>\r
+ </ul>\r
+\r
+\r
+ <h1>Supported Operators</h1>\r
+ <ul>\r
+ <li><strong>==</strong> String comparison for equivalence.</li>\r
+ <li><strong>!=</strong> String comparison for non-equivalence</li>\r
+ <li><strong><=</strong> Given a number, <= converts the parameter into a number and compares it to the specified value. i.e. "root_free_disk<=0.2"</li>\r
+ <li><strong>=~</strong> Given a regular expression, =~ will return rows who's attribute matches this pattern.</li>\r
+ </ul>\r
+ \r
+ <h1>Supported Parameters</h1>\r
+ <ul>\r
+ <li><strong>fields</strong> a comma separated list of attribute names to report.</li>\r
+ <li><strong>filter </strong> a simple logic expressions for filtering which values are returned.</li> \r
+ <li><strong>within </strong> only return node records that have been updated in less than <strong>within</strong> seconds. (default is 1 day (86400)) </li> \r
+ <li><strong>skip_header </strong> do not print the attribute names as the first ddne.</li> \r
+ <li><strong>rpmpattern </strong> a pattern to match against the rpm_versions attribute. Useful for checking a single package version.</li> \r
+ </ul>\r
+ </div>\r
+ <div class="sidenav">\r
+\r
+ <h1>Search</h1>\r
+ <form action="query">\r
+ <div>\r
+ <input type="text" name="filter" class="styled" /> \r
+ <input type="hidden" name="fields" value="date,hostname" /> \r
+ <input type="submit" value="submit" class="button" />\r
+ </div>\r
+ </form>\r
+\r
+ <h1>Collected Attributes</h1>\r
+ <ul>\r
+ <li><a href="http://myops.planet-lab.org:5984/files/input.cfg">input.cfg</a></li>\r
+ </ul>\r
+\r
+ </div>\r
+ \r
+ <div class="clearer"><span></span></div>\r
+\r
+ </div>\r
+\r
+</div>\r
+\r
+<div class="footer">© 2006 <a href="index.html">Website.com</a>. Valid <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> & <a href="http://validator.w3.org/check?uri=referer">XHTML</a>. Template design by <a href="http://arcsin.se">Arcsin</a>\r
+</div>\r
+\r
+</body>\r
+\r
+</html>\r