Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
GET snmp_notification_agents
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Returns a list of all SNMP agents configurations.
Resource URL
http://{host}/api/2.0/snmp_notification_agents/.format
Example Request
GET
Expand | |||||
---|---|---|---|---|---|
| |||||
|
GET snmp_notification_agents/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Returns a single SNMP Agent configuration data.
Resource URL
http://{host}/api/2.0/snmp_notification_agents/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired agent. |
Example Request
GET
Expand | |||||
---|---|---|---|---|---|
| |||||
|
POST snmp_notification_agents
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | POST |
Adds a new SNMP agent.
Resource URL
http://{host}/api/2.0/snmp_notification_agents/.format
Example Request
POST
Expand | |
---|---|
|
| |||||
|
Expand |
---|
| |||||
|
POST snmp_notification_agents/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | POST |
Duplicates a specific SNMP Agent into a new one, resulting in identical agent data except for the title.
Resource URL
http://{host}/api/2.0/snmp_notification_agents/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the agent to be copied. |
Example Request
POST
Expand | |||||
---|---|---|---|---|---|
| |||||
|
PUT snmp_notification_agents/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | PUT |
Updates a specific SNMP agent data.
Resource URL
http://{host}/api/2.0/snmp_notification_agents/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired agent to be updated. |
Example Request
PUT
BodyExpand | |||||
---|---|---|---|---|---|
| |||||
|
Expand | |
---|---|
|
| |||||
|
DELETE notification_agents/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | DELETE |
Deletes a specific SNMP Agent.
Resource URL
http://{host}/api/2.0/snmp_notification_agents/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired agent to be deleted. |
Example Request
DELETE
Expand | |||||
---|---|---|---|---|---|
| |||||
|
GET snmp_notification_agents/command/test/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Sends test SNMP notification for an existing agent.
Resource URL
http://{host}/api/2.0/snmp_notification_agents/command/test/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired agent to send SNMP notification. |
Example Request
GET
Expand | |||||
---|---|---|---|---|---|
| |||||
|