PollingGroupResponse

PollingGroupResponse
PollingGroupResponse

This is the polling group response object. It contains some attributes not present in the request object.

JSON Example
{
    "name": "polling-group",
    "pollingPeriod": 300,
    "tableDiscoveryTime": "00:00:00",
    "groupName": "group",
    "uniformTimestamps": false,
    "startAtDefinedPeriod": false,
    "startTimeOffset": 0,
    "pollingMaskNames": [
        "CISCO-MEMORY-OLD",
        "GENERIC-INTERFACES"
    ],
    "snmpAgentIps": [
        "string"
    ],
    "snmpAgentNames": [
        "0.0.0.0:161"
    ],
    "snmpAgentsIPGroupNames": [
        {
            "name": "string",
            "ipAddressMask": "string",
            "matchEngine": "string"
        }
    ],
    "snmpAgentsExplicitGroupNames": [
        {
            "name": "string",
            "agents": [
                "string"
            ]
        }
    ],
    "enabled": false,
    "pollingGroups": {
        "pollingGroups": {
            "pollingMaskNames": [
                "GENERIC-SYSUPTIME",
                "GENERIC-INTERFACES"
            ],
            "pollingPeriod": 300,
            "startAtDefinedPeriod": false,
            "startTimeOffset": 0,
            "enabled": true,
            "assignedTo": "collector-a",
            "groupName": "group",
            "uniformTimestamps": false,
            "name": "GEN-VEIVN9SWIB-300-check",
            "snmpAgentNames": [
                "10.106.232.11:161"
            ],
            "tableDiscoveryTime": "00:00:00"
        }
    },
    "snmpAgents": {
        "snmpAgents": {
            "name": "V2Agent",
            "ipAddress": "10.106.126.64",
            "snmpPort": 161,
            "transportProtocol": "udp",
            "snmpTimeout": 1000,
            "snmpNumberOfRetries": 5,
            "snmpVersion": "v2c",
            "snmpCommunityOrUserV3Name": "public",
            "maxBulkSize": 50,
            "devType": "Switch",
            "onFailTryWith": "v1",
            "doNotUseGetBulkRequests": false,
            "doNotUseCapabilityList": [],
            "collectorNameList": [
                "check-1"
            ],
            "pollingPeriod": 200
        }
    },
    "assignedTo": "collector-a"
}
string
name
Required

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.

integer
pollingPeriod
Required

The polling group's polling period, specified in seconds. This value indicates the time interval between each polling.

string
tableDiscoveryTime
Required

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.

string
groupName
Optional

This is a notion specific to the backend. This is an optional parameter that will be taken from the collector if not filled here.

boolean
uniformTimestamps
Optional

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...).

boolean
startAtDefinedPeriod
Optional

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.

integer
startTimeOffset
Optional

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.

array of string
pollingMaskNames
Required

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.

array of string
snmpAgentIps
Optional

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"

array of string
snmpAgentNames
Required

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"

snmpAgentsIPGroupNames
Optional

This is the list of groups which contain agents selected by their IP matching a pattern. This is always null in the response

snmpAgentsExplicitGroupNames
Optional

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

boolean
enabled
Optional

When set to false, then this polling group will be ignored, and no polling will occur for it.

object
pollingGroups
Optional

Polling groups within a polling group. This always null in the response

object
snmpAgents
Optional

A list of all snmpAgent objects. This is always null in the response.

string
assignedTo
Required

The name of the collector this polling group is assigned to. Only one collector can be assigned.