NetApp Manage ONTAP

APIs in Category: ems | Vserver API version 1.21

ems-autosupport-log | The Event Management System (EMS) is a mechanism in the Data ONTAP kernel that supports creation, forwarding, and consumption of event indications. Ems events are generated by ONTAP when errors occur or to log status. These event indications are logged to /etc/log/ems and, depending on the event and its severity, to the syslog/console. If an event has a SNMP definition, SNMP traps will also be generated by the event indication.

ems-autosupport-log | [top]

> This API is used by SnapDrive to log SnapDrive specific events occurring on a host system to the the appliance and optionally use the appliance to generate an autosupport message. This event information will be encapsulated in an app.log.x EMS event based on error level. If auto-support is true, an autosupport message will be sent from the filer.

> Input Name | Range | Type | Description
> app-version |  | string | Version of application invoking the API.
> auto-support |  | boolean validate | If 'true', an AutoSupport message will be generated.
> category |  | string | Application defined category of the event.
> computer-name |  | string | Host name invoking the API.
> event-description |  | string | Description of event to log. An application defined message to log.
> event-id |  | integer validate | ID of event. A user defined event-id, range [0..2^32-2].
> event-source |  | string | Name of the application invoking the API.
> log-level |  | integer validate | Log level. Accepted values are 0 for 'emergency', 1 for 'alert', 2 for 'critical', 3 for 'error', 4 for 'warning', 5 for 'notice', 6 for 'info', and 7 for 'debug'.

> Errno | Description
> EONTAPI_ENOENT |  |

> Vfiler-enabled
> Yes