Update Polling Group
API to update a single polling group
The name of the current snmp integration
The polling group object to be updated.
Show optional properties
{
"pollingMaskNames": [
"GENERIC-SYSUPTIME",
"GENERIC-INTERFACES"
],
"pollingPeriod": 300,
"assignedTo": "collector-a",
"name": "GEN-VEIVN9SWIB-300-check",
"snmpAgentNames": [
"10.106.232.11:161"
],
"tableDiscoveryTime": "00:00:00"
}
{
"name": "polling-group",
"pollingPeriod": 300,
"tableDiscoveryTime": "00:00:00",
"groupName": "group",
"uniformTimestamps": false,
"startAtDefinedPeriod": false,
"startTimeOffset": 0,
"pollingMaskNames": [
"CISCO-MEMORY-OLD",
"GENERIC-INTERFACES"
],
"snmpAgentNames": [
"string"
],
"enabled": false,
"assignedTo": "collector-a"
}
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. Note: If the groupName is explicitly provided empty or null, polling will not take place. So if groupName is not being explicitly set to any value, ommit it from the request object.
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 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"
When set to false, then this polling group will be ignored, and no polling will occur for it.
The name of the collector this polling group is assigned to. Only one collector can be assigned.
OK Returned updated polling group configuration
{
"oneOrNone": true,
"name": "GEN-VEIVN9SWIB-300-check-twice",
"pollingPeriod": 300,
"tableDiscoveryTime": "00:00:00",
"groupName": "group",
"uniformTimestamps": false,
"startAtDefinedPeriod": false,
"startTimeOffset": 0,
"pollingMaskNames": [
"GENERIC-SYSUPTIME",
"GENERIC-INTERFACES"
],
"snmpAgentIps": [],
"snmpAgentNames": [
"10.106.232.11:161"
],
"snmpAgentsIPGroupNames": [],
"snmpAgentsExplicitGroupNames": [],
"enabled": true,
"pollingGroups": null,
"snmpAgents": null,
"assignedTo": "collector-a"
}
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
"SnmpError Object"
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
"SnmpError Object"
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
"SnmpError Object"
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
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"name:"string","pollingPeriod:"integer","tableDiscoveryTime:"string","pollingMaskNames":["string"],"snmpAgentNames":["string"],"assignedTo:"string"}' https://{api_host}/tcsa/api/v1/snmp/pollingGroups