Poll Agents For Affected Polling Groups
API to check the polling groups associated with the agents selected. This is to check the agents before deleting them
The name of the current snmp integration
snmp-integration
The list of Snmp agents to be deleted
[
"10.106.232.55:161"
]
OK Requested map of all the agents and their affected polling groups.
[
{
"name": "10.106.232.55:161",
"pollingGroups": [
"GEN-LVM1OJXVO0-300"
]
}
]
BAD REQUEST Error in the request sent
{
"code": "SNMP_COLLECTOR_API_006",
"reason": "No Snmp collector running, discovery cannot be performed",
"status": "404 Not Found"
}
This code refers to the internal error codes used in the code base.
This specifies the reason for failure.
This specifies the HTTP status code error
INTERNAL SERVER ERROR Error in the request sent
{
"code": "SNMP_COLLECTOR_API_006",
"reason": "No Snmp collector running, discovery cannot be performed",
"status": "404 Not Found"
}
This code refers to the internal error codes used in the code base.
This specifies the reason for failure.
This specifies the HTTP status code error