Welcome to MyOps-Query:

A simple collection & query interface for MyPLC deployments.

  • Home
  • About

Examples:

This is a list of various queries you can perform with MyOps.

Many others can be performed by manipulating the query URL.

  1. filter=netflow==Bad
  2. filter=redundant_procs!=
  3. filter=free_disk_root<=0.2
  4. filter=kernel_version=~2.6.32
  5. filter=running_slices=~princeton_comon
  6. filter=rpm_versions=~fprobe-ulog-1.1.2-6.planetlab
  7. rpmpattern=vsys-scripts.*
  8. List RPMS per host

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 regular expression, =~ will return rows who's attribute matches this pattern.

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 1 day (86400))
skip_header
do not print the attribute names as the first ddne.
rpmpattern
a pattern to match against the rpm_versions attribute. Useful for checking a single package version.

Collected Attributes

input.cfg

© Copyright 2010 You | Template by Starcraft 2 Guides