efa notification subscribers add-syslog-relp

Registers a syslog subscriber to receive notifications over RELP from the EFA Notification Service.

Syntax

efa notification subscribers add-syslog-relp { --address host:port } [ --insecure][ --cacert local-path] [ --conn-timeout seconds]

Command Default

By default, subscribers do not receive syslog notifications over RELP.

Parameters

--address host:port
Specifies the address of the syslog server in host:port format. The default port is 514.
--insecure
(Optional) Indicates that insecure SSL connection and transfers are used for sending notifications. By default, the SSL connection and transfers are secure.
--cacert local-path
Specifies the local path to the cacert.pem file for SSL verification. Required only when the --insecure parameter is not specified.
--conn-timeout seconds
(Optional) Specifies the maximum amount of time allowed to open a connection to the syslog server before the request times out. The default is 10 seconds.

Usage Guidelines

Any external server that is configured with RELP can be registered as a subscriber to EFA notifications. For more information, see "Notification Service" in the Extreme Fabric Automation Administration Guide, 2.4.0 .

Examples

The following example registers 10.x.x.x:20514 as a subscriber for insecure notifications.

$ efa notification subscribers add-syslog-relp --address 
10.x.x.x:20514 --insecure
Successfully registered subscriber.

+-----------+------------------------------------------------+
| attribute | value                                          |
+-----------+------------------------------------------------+
| id        | 1                         			 |
+-----------+------------------------------------------------+
| handler   | relp                                           |
+-----------+------------------------------------------------+
| endpoint  | 10.x.x.x:20514                                 |
+-----------+------------------------------------------------+
| config    | {"cacert":"","conn-timeout":10,"insecure":true}|
+-----------+------------------------------------------------+
Notification Subscriber ID=1
--- Time Elapsed: 2.399195253s ---