Sending automatic email to Network Appliance

How automatic email messages are controlled

The filer uses the autosupport daemon to control how automatic email messages are sent from your site to Network Appliance Technical Support.

How the autosupport daemon works

The autosupport daemon is enabled by default on the filer. The daemon triggers automatic email messages to members of Network Appliance Technical Support, alerting them to potential filer problems.

Technical support response

If necessary, Network Appliance contacts you at the email address that you specify to help resolve a potential system problem.

Mail host requirement for autosupport

Because the filer doesn't function as a mail host, it relies on another host at your site that listens on the SMTP port (25) to send mail. Therefore, autosupport requires at least one host reachable by the filer that runs an SMTP server or a mail forwarder, such as the sendmail program or Microsoft Exchange server. By default, the administration host defined during setup is used as a mail host. You can specify more mail hosts.

About configuring autosupport

You can specify up to five addresses of email recipients. The default recipient is Network Appliance Technical Support. For receiving automatic messages, the email address of Network Appliance Technical Support is autosupport@netapp.com.

Refer to "Use the options command to configure autosupport" for more information about specifying the email address and other options.

Events that trigger autosupport email

The mail host sends email to Network Appliance Technical Support about your filer after any of the events listed in the following table.

Event Subject line of the email message
Low NVRAM lithium battery
BATTERY_LOW!!!
Disk failure
DISK_FAIL!!!
Disk scrub occurred
DISK_SCRUB!!!
Fan failure
FAN_FAIL!!!
Shutdown because of overheating
OVER_TEMPERATURE_SHUTDOWN!!!
Partial RPS failure1
POWER_SUPPLY_DEGRADED!!!
System reboot
REBOOT
Disk shelf error
SHELF_FAULT!!!
Spare disk failure
SPARE FAIL!!!
Weekly backup of /etc/messages
WEEKLY_LOG
option autosupport.doit command
THE STRING SPECIFIED IN OPTION 
autosupport.doit
Successful cluster takeover of partner
CLUSTER TAKEOVER COMPLETE
Unsuccessful cluster takeover of partner
CLUSTER TAKEOVER FAILED
Cluster takeover of virtual filer
REBOOT (CLUSTER TAKEOVER)
Cluster giveback
CLUSTER GIVEBACK COMPLETE

Contents of automatic email messages

Each email message generated by autosupport contains the following types of information:

Use the options command to configure autosupport

To change the default behavior of the autosupport daemon, use the options command. As with other filer commands, you can add options commands to the /etc/rc file if you want to execute them automatically when the filer reboots.

Disabling or enabling the autosupport daemon

The autosupport daemon is enabled by default. The syntax of the command to disable or enable the daemon is as follows:

options autosupport.enable on|off 
Example:
autosupport.enable off 
Specifying mail hosts

The command to specify hosts that send autosupport email messages to Network Appliance Technical Support is as follows:

options autosupport.mailhost hostname,... 

You can specify up to five mail host names. Separate names by commas and do not include spaces in the list. The default is the administration host.

Example:
options autosupport.mailhost host1,host2,host3

Specifying addresses for autosupport mail

The command for specifying the recipients of automatic email messages sent by the autosupport daemon is as follows:

options autosupport.to addresses,... 

You can specify up to five email addresses. Separate email addresses by commas and do not include spaces in the list. The default is autosupport@netapp.com.

Example:
options autosupport.to autosupport@netapp.com,d@c.com 

Be sure to enter the command on a single line.

Specifying the filer administrator's address

Sometimes Network Appliance Technical Support might need to contact the administrator of the filer after receiving automatic email. The options command for specifying the filer administrator is as follows:

options autosupport.from address 
Example:
options autosupport.from jdoe@abc.com 

If Network Appliance Technical Support needs to determine whether further action is necessary for solving or preventing filer problems, it sends email to jdoe@abc.com.

Sending an immediate message

Immediate messages contain the same filer data as automatic messages.

How to send immediate messages

The command to send an automatic email message immediately is as follows:

options autosupport.doit string 

The string is used in the subject line of the email message to explain why the email was sent.

Example:
options autosupport.doit TESTING

Sending a short message

The options autosupport.noteto command specifies the recipients of short email messages sent by autosupport. The short email messages are for urgent events, such as disk failures or filer reboots. The following example shows a short message:

Return-Path: <autosupport>
Received: from toaster by netapp.com (4.1/SMI-4.1)
id AA14370; Thu, 26 Sep 96 07:51:31 PDT
Message-Id: <9609261451.AA14370@netapp.com>
From: autosupport
To: jdoe
Date: Thu, 26 Sep 1996 07:51:27 -0700
Resent-Date: Thu, 26 Sep 1996 7:58:42 PDT
Subject: System Alert from toaster
REBOOT on Thu Sep 26 07:51:27 PDT 1996

Short messages are useful if the person who should be notified of urgent events reads email on a small screen, such as the screen on an alphanumeric pager.


Copyright © 1999, Network Appliance, Inc. All rights reserved.

Part No. 210-02334
File: routin21.htm
Last updated: 04/26/99 08:11:10