X-Git-Url: http://git.onelab.eu/?p=myops.git;a=blobdiff_plain;f=web%2Fquery%2F_attachments%2Findex.html;fp=web%2Fquery%2F_attachments%2Findex.html;h=818d80c1846d14fd2ff300c113a28f3e7717fbdf;hp=0000000000000000000000000000000000000000;hb=85070b3d456667f238051af1a2f1f2a0c12300ab;hpb=607f0e13927eb18075c375fa9ba5527da4fcbb44 diff --git a/web/query/_attachments/index.html b/web/query/_attachments/index.html new file mode 100644 index 0000000..818d80c --- /dev/null +++ b/web/query/_attachments/index.html @@ -0,0 +1,158 @@ + + + + + + + + + + + + + +MyOpsQuery + + + + +
+ +
+

Welcome to MyOps-Query:

+

A simple collection & query interface for MyPLC deployments.

+
+ +
+ +
+
+ +

Query

+
+
+ + + +
+
+ +

Collected Attributes

+ +
+
+ +
+
+
+
+

Purpose

+

MyOps-Query allows an operator to very easily define and collect new attributes of a running system, and it provides a simple query interface to report and select these observations. MyOps-Query complements the existing and established mechanisms already running on PlanetLab, such as CoMon and Func().

+ +

Example Queries

+

The following are example queries that you can perform with MyOps.

+

Many other queries are possible by manipulating the query URL.

+ + + + +

Supported Operators

+
    +
  • == String comparison for equivalence.
  • +
  • != String comparison for non-equivalence
  • +
  • <= Given a number, <= converts the parameter into a number and compares it to the specified value. i.e. "root_free_disk<=0.2"
  • +
  • >= Given a number, >= converts the parameter into a number and compares it to the specified value. i.e. "root_free_disk>=0.2"
  • +
  • =~ Given a regular expression, =~ will return rows when the attribute matches this pattern.
  • +
  • !~ Given a regular expression, !~ will return rows when the attribute does not match this pattern.
  • +
+

Supported Conjunctions

+
    +
  • && Logical 'and' for combining two or more simple operators. Also, can be entered on the url as %26%26, AND, or %%.
  • +
  • || Logical 'or'. Also can be entered + on the url as OR.
  • +
+ +

Supported Parameters

+
    +
  • fields a comma separated list of attribute names to report.
  • +
  • filter a simple logic expressions for filtering which values are returned.
  • +
  • within only return node records that have been updated in less than within seconds. (default is 3 hours (10800 sec))
  • +
  • skip_header do not print the attribute names as the first line.
  • +
  • rpmpattern a pattern to match against the rpm_versions attribute. Useful for checking a single package version.
  • +
+
+
+
+
+ + + + + + + + +