An HTTP classifier enables the horizontal discovery process to find devices via the HTTP protocol.

Before you begin

Role required: discovery_admin

About this task

You can create additional HTTP classifications if you want to classify devices via HTTP/REST, rather than by another protocol. Use HTTP classification for device discovery only, not for application discovery.

Note: By default, the F5 HTTP classifier is provided to classify F5 load balancers using REST. The F5 LB REST pattern is also provided to explore the device. You do not need to create a new HTTP classifier for F5 load balancers.
Of all protocols that Discovery uses (including WMI, SSH, and SNMP), HTTP is the lowest priority by default. Discovery uses HTTP classification only if:
  • Shazzam determines that the ports for HTTP (80) and HTTPS (443) traffic are open.
  • The horizontal discovery process fails for the higher priority port probes (WMI, SSH, and SNMP) if the ports for those protocols are not open, or if discovery for those protocols fail. The horizontal discovery process can fail, for example, if SSH and SNMP credentials are not configured or are incorrect.
    Note: See Port Probes for more details on how port scanning works and to see the priorities of the different protocols.
HTTP classification launches the HTTP Classify probe to classify the device. The HTTP - Classify probe runs a GET request for each device for each HTTP classification. The URL of the request is built as follows: PROTOCOL://IP:PORT/PATH, where:

Procedure

  1. Navigate to All > Discovery Definition > CI Classification > HTTP.
  2. Click New.
  3. Fill out the form fields (see table):
    Figure 1. The F5 HTTP classification
    HTTP classification
  4. Right-click the header and select Save.

    A record is created in the HTTP Classifications [discovery_classy_http] table.

    The HTTP Classification Match related list appears. This related list shows criteria that you can configure to match against the body of the response to the GET Request that Discovery sends.

  5. In the HTTP Classification Match related list, define the criteria and specify the pattern to launch for this classifier.
    The criteria must be met for Discovery to use this HTTP classifier.
    1. Click New.
    2. On the HTTP Classification Match form, fill in the form fields (see table).
      HTTP classification match
    3. Click Submit.
    4. If there are different patterns for different versions of the device you are trying to discover, define as many HTTP Classification Matches as necessary.