Poll Collectors For Affected Polling Groups
API to check the polling groups associated with the collectors selected. This is used to inform the user about the polling groups affected before deleting a collector.
The name of the current snmp integration
snmp-integration
The list of colelctors to be deleted
[
"snmp-collector"
]
OK Returned map of all the collectors and their affected polling groups.
[
{
"name": "snmp-collector",
"pollingGroups": [
"GEN-WF7D2O658D-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 on the server
{
"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