system-monitor-mail

Resource URIs

URI Description
<base_URI>/config/running/system-monitor-mail Configures the FRU email alerts.
<base_URI>/config/running/system-monitor-mail/fru FRU mail settings. Refer to system-monitor-mail/fru for more information.
<base_URI>/config/running/system-monitor-mail/interface Interface mail settings. Refer to system-monitor-mail/interface for more information.
<base_URI>/config/running/system-monitor-mail/relay Relay IP mail settings. Refer to system-monitor-mail/relay for more information.
<base_URI>/config/running/system-monitor-mail/security Security mail settings. Refer to system-monitor-mail/security for more information.
<base_URI>/config/running/system-monitor-mail/sfp SFP mail settings. Refer to system-monitor-mail/sfp for more information.
POST URI Payload Description
/rest/config/running/system-monitor-mail <relay><host-ip>{inet:host}</host-ip></relay> Creates FRU email alerts.

Parameters

fru
Configures FRU mail settings.
interface
Configures interface mail settings.
relay
Configures relay IP mail settings.
security
Configures security mail settings.
sfp
Configures SFP mail settings.

Usage Guidelines

GET, POST, PUT, PATCH, DELETE, OPTIONS, and HEAD operations are supported.

Examples

URI

The following example uses the GET option to retrieve the configuration details.

http://host:80/rest/config/running/system-monitor-mail

None

<system-monitor-mail xmlns="urn:brocade.com:mgmt:brocade-system-monitor" xmlns:y="http://brocade.com/ns/rest" 
y:self="/rest/config/running/system-monitor-mail">
  <fru y:self="/rest/config/running/system-monitor-mail/fru"/>
  <sfp y:self="/rest/config/running/system-monitor-mail/sfp"/>
  <security y:self="/rest/config/running/system-monitor-mail/security"/>
  <interface y:self="/rest/config/running/system-monitor-mail/interface"/>
  <relay y:self="/rest/config/running/system-monitor-mail/relay/10.20.38.100"/>
</system-monitor-mail>