Table of Contents

Regex general

Regex’s are used to find strings or text of interest. Zenoss uses them in:

  1. Processes - determining if a process name matches what you define
  2. FIXME - where else is it used?

Zenoss Regex

Zenoss regex is defined by a combination of rules:

  1. python regex extensions (a superset of PCRE)

Examples

^.*\/*httpd - finds all apache processes (usually named httpd) FIXME - make sure this is correct, what does stuff at begining do?
 
technology/zenoss/about/regex.txt · Last modified: 03.16.2009 16:57 by 72.81.253.234
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki