SNMP Agent
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
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
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
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
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
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
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