6.2 Using the Advanced Tab

The Advanced tab provides a text area for entering a search query. Operations Center adheres to the standard search syntax defined in RFC 2254, The String Representation of LDAP Search Filters. For a comprehensive description of search syntax, see http://tools.ietf.org/rfcmarkup?rfc=2254.

To search for elements using the Advanced tab:

  1. In the Find dialog box, click the Advanced tab to display it:

    Find Dialog Box

    The Advanced tab allows more complex searches.

  2. Click Browse to open the Browse for Element dialog box, then:

    1. In the left pane of the Browse for Element dialog box, select the root element that contains the element which is the target of the search.

    2. Click OK to close the Browse for Element dialog box.

  3. In the Find dialog box, select the Include Sub-Elements check box to include all subelements in the search.

  4. In the Search criteria text area, specify the search criteria using any of the following operators:

    • =
    • <
    • >
    • <=
    • >=

    The syntax allows entering one or more attribute/value pairs, surrounded by parentheses, and logically combined with “&” (AND) or “|” (OR) operators. For example:

    To find…

    Do this….

    All objects starting with the same letters.

    Specify wildcards using one or more asterisks (*).

    For example, to find all objects that begin with server, enter the query as:

    (cn=server*)
    

    All host objects.

    Specify (objectClass=*host*) to find all host name objects, all ServerHosts, and so on.

    All hosts whose names begin with the letters server.

    Combine two (attr=value) clauses using the logical AND (&) operator:

    (&(cn=server*)(objectClass=*host*))
    

    Notice how the logical operator appears before the two clauses; this is called prefix notation.

    All hosts whose names begin with the letters server and are in a CRITICAL state.

    Enter:

    (&(&(cn=server*)(objectClass=*host*))(condition=CRITICAL))
    

    All hosts whose names begin with the letters server and are in either a CRITICAL or WARNING state.

    Enter:

    (&(&(cn=server*)(objectClass=*host*))(|(condition=CRITICAL)(condition=WARNING)))
    

    Host names that begin with specific letters and are members of a specific object class.

    Enter:

    &(objectClass=Router)(hostname>B*)
    

    Elements that are members of a specific class and have a response time greater than or equal to a specified threshold value.

    Enter:

    &(objectClass=server)(responseTime>=3.4)
    
  5. Click Search to start the search to display the Search results.

  6. Sort the found elements by clicking any column heading.