Manage AutoSupport using Web Services Proxy

Contributors netapp-jolieg

You can configure AutoSupport (ASUP), which collects data and then automatically sends that data to technical support for remote troubleshooting and problem analysis.

Overview of AutoSupport (ASUP)

The AutoSupport (ASUP) feature automatically transmits messages to NetApp based on manual and schedule-based criteria.

Each AutoSupport message is a collection of log files, configuration data, state data, and performance metrics. By default, AutoSupport transmits the files listed in the following table to the NetApp Support team once each week.

File Name Description

x-headers-data.txt

A .txt file containing the X-header information.

manifest.xml

An .xml file detailing the contents of the message.

arraydata.xml

An .xml file containing the list of client persisted data.

appserver-config.txt

A .txt file containing application server configuration data.

wsconfig.txt

A .txt file containing the web service configuration data.

host-info.txt

A .txt file containing information about the host environment.

server-logs.7z

A .7z file containing every available webserver log file.

client-info.txt

A .txt file with arbitrary key/value pairs for application-specific counters such as method and webpage hits.

webservices-profile.json

These files contain Webservices profile data and Jersey monitoring statistical data. By default, Jersey monitoring statistics are enabled. You can enable and disable them in the wsconfig.xml file, as follows:

  • Enable: <env key="enable.jersey.statistics">true</env>

  • Disable: <env key="enable.jersey.statistics">false</env>

Configure AutoSupport

AutoSupport is enabled by default at installation; however, you can change that setting or modify the delivery types.

Enable or disable AutoSupport

The AutoSupport feature is enabled or disabled during the initial installation of the Web Services Proxy, but you can change that setting in the ASUPConfig file.

You can enable or disable AutoSupport through the ASUPConfig.xml file, as described in the steps below. Alternatively, you can enable or disable this feature through the API using Configuration and POST/asup, and then entering "true" or "false."

  1. Open the ASUPConfig.xml file in the working directory.

  2. Locate the lines for <asupdata enabled="(Boolean)" timestamp⇒

  3. Enter true (enable) or false (disable). For example:

    <asupdata enabled="false" timestamp="0">
    Note The timestamp entry is superfluous.
  4. Save the file.

Configure AutoSupport delivery method

You can configure the AutoSupport feature to use HTTPS, HTTP, or SMTP delivery methods. HTTPS is the default delivery method.

  1. Access the ASUPConfig.xml file in the working directory.

  2. In the string, <delivery type="n">, enter 1, 2, or 3 as described in the table:

    Value Description

    1

    HTTPS (default)

    <delivery type="1">

    2

    HTTP

    <delivery type="2">

    3

    SMTP — To properly configure the AutoSupport delivery type to SMTP, you must include the SMTP mail server address, along with the sender and recipient user emails, similar to the following example:

    <delivery type="3">
    <smtp>
    <mailserver>smtp.example.com</mailserver>
    <sender>user@example.com</sender>
    <replyto>user@example.com</replyto>
    </smtp>
    </delivery>