![]() |
REST API
17
REST API for Luna Network HSMs
|
This resource retrieves details of a specific SNMP trap agent.
Users with the following role privileges can perform this command:
Specifies the trap Id to access.
Use: Required
JSON Schema:
Object
type:string
minLength: 1
maxLength: 64
pattern: ^((?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9]))|((?:[a-fA-F0-9]{1,4}:){7}[a-fA-F0-9]{1,4})|([a-zA-Z0-9]([a-zA-Z0-9.-]{0,62}[a-zA-Z0-9])?)$
SNMP trap details
JSON Schema: SNMP Trap
No session cookie was found.
The specified SNMP trap does not exist.
Failed to perform the specified operation.
GET
https://1.2.3.4:8443/api/lunasa/snmp/traps
{
}
{
"authenticationProtocol": "SHA",
"engineId": "1234567890",
"port": 162,
"privacyProtocol": "AES",
"securityLevel": "authPriv",
"securityName": "restuser",
"trapType": "trap"
}