Retrieve Polling Group
API to get a particular pollingGroup given the pollingGroup name.
The name of the pollingGroup being requested
The name of the current snmp integration
snmp-integration
OK Returned configuration of polling group requested
{
"oneOrNone": true,
"name": "GEN-M6LI43PGZJ-200",
"pollingPeriod": 200,
"tableDiscoveryTime": "00:00:00",
"groupName": "group",
"uniformTimestamps": false,
"startAtDefinedPeriod": false,
"startTimeOffset": 0,
"pollingMaskNames": [
"CISCO-MEMORY-OLD",
"GENERIC-SYSUPTIME",
"CISCO-MEMORY",
"CISCO-PROCESS-POST12.2(3.5)",
"GENERIC-INTERFACES"
],
"snmpAgentIps": [],
"snmpAgentNames": [
"10.107.116.242:161"
],
"snmpAgentsIPGroupNames": [],
"snmpAgentsExplicitGroupNames": [],
"enabled": true,
"pollingGroups": null,
"snmpAgents": null,
"assignedTo": "collector-b"
}
he polling group's name. As stated before, this name must be unique as it is an identifier. The value of this attribute is used to set the pollgrp property of the raw values resulting from this polling group.
The polling group's polling period, specified in seconds. This value indicates the time interval between each polling.
This is the time at which, every day, the metric properties will be refreshed (as well as any reference table resident in the collector) and sent to the backend.Refreshing the raw value's properties may be slightly more demanding on the database side of the backend, therefore, it is recommended to set this value at some off-hour time.Please note that this value is formatted in 24h time, 00:00:00 being midnight, 08:00:00 being 8:00AM, 20:00:00 being 8:00PM and so on.
This is a notion specific to the backend. This is an optional parameter that will be taken from the collector if not filled here.
When set to true, the polling will start at the next "round" period (0:04, 0:08... if polling period is set to 4 minutes) and all timestamps for the generated raw values will be the rounded to the polling cycle start time (0:04, 0:08...).
When set to true, the polling will start at the next "round" period (0:04, 0:08... if polling period is set to 4 minutes). Raw value timestamps will be accurate.
This defines a waiting period before the polling group starts collecting data. The polling load may be spread through time by assigning different values to polling groups.
This is the list of masks that will be used for this polling group. These masks contain both single OIDs and columns of tables.At least one mask must be provided for the polling group to be valid.
This is the list of IPs of the SNMP agents on which the polling will be done. This attribute is not to be sent in the request, it will be populated in the backend given the list of agent ids in the attribute "snmpAgentNames"
This is the list of IDs of the SNMP agents on which the polling will be done. Note: This is a list of the snpAgent ids and not their names. The ID is a combination of 4 attributes "ipAddress" , "port", "v3ContextName" and "v3ContextEnginedId"
This is the list of groups which contain agents selected by their IP matching a pattern. This is always null in the response
This is the list of agents groups, created by explicitly specifying the agents, on which the polling will be done. This is always null in the response
When set to false, then this polling group will be ignored, and no polling will occur for it.
Polling groups within a polling group. This always null in the response
A list of all snmpAgent objects. This is always null in the response.
The name of the collector this polling group is assigned to. Only one collector can be assigned.
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
NOT FOUND Requested object not found
{
"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