Poll Masks For Affected Polling Groups
API to check the polling groups associated with the masks selected. This is to check the masks before deleting them
The name of the current snmp integration
The list of Snmp masks to be deleted
[
"mask1",
"mask2"
]
OK Returned map of all the masks and their affected polling groups.
[
{
"name": "CISCO-MEMORY-OLD",
"pollingGroups": [
"GEN-M6LI43PGZJ-200",
"GEN-KZI0DGUWZ6-100",
"GEN-RJNRKLWV65-300",
"GEN-3R67JAUTFH-65",
"GEN-WK4U77IIEP-150",
"GEN-LVM1OJXVO0-300"
]
}
]
BAD REQUEST Error in 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