access: Administrators, Managers
Adds a single SNMP destination, (either IP address or hostname):
sp add snmp-destination IP ADDRESS/HOSTNAME
| Arguments | Description |
|---|---|
IP ADDRESS/HOSTNAME |
Specifies the IP address or name of the host for the destination you wish to add. This argument is repeatable to add multiple destinations at one time; however, the number of destinations you can create is limited due to memory constraints. |
Return Codes
Following are the return values for this command:
| Code | Numeric Code | Description |
|---|---|---|
| NWSE_Success | 0 | Command successfully completed. |
| NWSE_InvalidUsage | 1 | Invalid usage: bad parameter usage, conflicting options specified. |
| NWSE_RPCTimeout | 2 | Request was issued, but was not serviced by the server. RPC procedure timed out and the request may or may not have been serviced by the server. |
| NWSE_InvalidArgument | 4 | One or more arguments were incorrect or invalid. The IP address/hostname could not be set. |
| NWSE_NoPermission | 6 | Not authorized to perform this operation. |
| NWSE_NoMemory | 8 | Insufficient memory. |
| NWSE_RPCConnRefused | 12 | RPC connection refused. |
| NWSE_UnknownError | 15 | Miscellaneous error not captured by other errors. |
| NWSE_FileError | 18 | File open, missing, or read or write error occurred. |
| NWSE_Exist | 19 | The IP address/hostname already exists. |