system-monitor-mail/relay

Configures, modifies, or retrieves relay IP mail settings.

Resource URIs

URI Description
<base_URI>/config/running/system-monitor-mail Configures the FRU email alerts.
<base_URI>/config/running/system-monitor-mail/relay Relay IP mail settings.

Parameters

host-ip
Specifies host IP address.
domain-name
Specifies domain server name.

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/relay

None

<relay y:self="/rest/config/running/system-monitor-mail/relay/10.20.38.100">
  <host-ip>10.20.38.100</host-ip>
  <domain-name>domain1</domain-name>
</relay>

URI

The following is an example of the POST operation to configure the relay host for e-mail to work in a non-DNS environment.

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

<relay>
  <host-ip>10.20.38.120</host-ip>
  <domain-name>domain1</domain-name>
</relay>

None