As the Administrator, you know which of your critical devices are sensitive to too many polls, which can lead to performance problems. However, to ensure the performance of your critical devices, you must somehow monitor these sensitive devices. By configuring the SNMP polling controls, you can throttle the SNMP poll requests and avoid overwhelming your sensitive devices.
By default, SNMP polling is controlled in two ways:
Note: Polling resumes at the beginning of each poll cycle. When the timeouts do not exceed the 15 threshold, a "clear" event is generated.
Both thresholds are designed to prevent overwhelming a device with poll requests. However, you can configure these SNMP polling thresholds, when needed.
For example, your older router is exceptionally sensitive to polling. But, this router is critical and must be polled as frequently as possible. You already adjusted your monitoring profile to remove unnecessary metric families from polling. You also applied a filter in your monitoring profile to reduce the number of polled interfaces. However, polling still causes this router to crash. Therefore, your only option is to adjust the default SNMP polling parameters for your sensitive router.
Certain parameters, such as the following, may be added to the policy for individual IPs or IP ranges in an IPRange section within the IPRangeList:
The maximum number of outstanding requests sent to the devices within the indicated IP range.
Limits the number of OIDs in an outgoing SNMP request. If the number of OIDs in the SNMP request exceeds the value of MaxRequestSize, the outgoing request is split into two or more smaller requests.
Some IP ranges are not covered in the IPRange sections. For global settings, use the MaxRequestSizeDefault parameter to set the OID limit.
Follow these steps:
http://hostname:port/rest/ipdomains
Specifies the Data Aggregator hostname and the port number where you are accessing the REST web services from.
http://hostname:port/rest/snmpthrottlepolicies
Example
If the interface SNMP request has 27 OIDs and MaxRequestSizeDefault is set to 15, the outgoing request is split into two smaller requests. One request contains 14 OIDs, and the other contains 13 OIDs.
Example: The following example from an SNMP throttle policy shows that the policy ID is "601" for IP Domain "2" with no limit on the number of OIDs:
<SnmpThrottlePolicy version="1.0.0">
<ID>601</ID> <MaxOutstandingRequestsDefault>15</MaxOutstandingRequestsDefault> <QueueLength>600</QueueLength> <TimeoutFailSafeThrottleDefault>15</TimeoutFailSafeThrottleDefault> <MaxRequestSizeDefault>0</MaxRequestSizeDefault> <IPDomainID>2</IPDomainID> </SnmpThrottlePolicy>
Specifies a unique identification number that is assigned to the SNMP throttle policy for the IP Domain that contains your sensitive device.
Example: http://hostname:port/rest/snmpthrottlepolicies/601
Note: Both values are required for every IP Range entry. You can disable either parameter by setting the value to "0."
Results are returned in the Body tab of the HTTP Response pane.
Example: In this example, the thresholds are lowered to "10" for device 10.231.41.7 only. For this device, the number of OIDs is limited to 50. The default thresholds and other IP Range thresholds continue using the default value of "15." For devices 10.231.41.1-10.231.41.255, SNMP requests are limited to 30 OIDs.
<SnmpThrottlePolicy version="1.0.0">
<IPRangeList>
<IPRange>
<IPRangeText>10.231.41.7</IPRangeText>
<MaxOutstandingRequests>10</MaxOutstandingRequests>
<TimeoutFailSafeThrottle>10</TimeoutFailSafeThrottle>
<MaxRequestSize>50</MaxRequestSize>
</IPRange>
<IPRange>
<IPRangeText>10.231.41.1-10.231.41.255</IPRangeText>
<MaxOutstandingRequests>15</MaxOutstandingRequests>
<TimeoutFailSafeThrottle>15</TimeoutFailSafeThrottle>
<MaxRequestSize>30</MaxRequestSize>
</IPRange>
</IPRangeList>
<MaxOutstandingRequestsDefault>15</MaxOutstandingRequestsDefault>
<QueueLength>600</QueueLength>
<TimeoutFailSafeThrottleDefault>15</TimeoutFailSafeThrottleDefault>
</SnmpThrottlePolicy>
Note: You can adjust the thresholds for a single device or a range of devices. The IP Range definition and the IP Range order determine which threshold applies. The IP Ranges are listed in priority order. That is, the first IP Range that applies to a device determines the threshold value to apply.
Example:
This PUT command generates the policy that follows.
Update XML: PUT on URL DA-HOST:8581/rest/snmpthrottlepolicies/21
<SnmpThrottlePolicy version="1.0.0"> <IPRangeList>
<IPRange>
<IPRangeText>130.119.103.8</IPRangeText>
<MaxOutstandingRequests>10</MaxOutstandingRequests>
<TimeoutFailSafeThrottle>10</TimeoutFailSafeThrottle>
<MaxRequestSize>20</MaxRequestSize>
</IPRange>
</IPRangeList>
<MaxRequestSizeDefault>50</MaxRequestSizeDefault>
<MaxOutstandingRequestsDefault>15</MaxOutstandingRequestsDefault>
<TimeoutFailSafeThrottleDefault>15</TimeoutFailSafeThrottleDefault>
<QueueLength>600</QueueLength>
</SnmpThrottlePolicy>
This command generates the following policy:
<SnmpThrottlePolicy version="1.0.0"> <ID>21</ID> <QueueLength>600</QueueLength> <TimeoutFailSafeThrottleDefault>15</TimeoutFailSafeThrottleDefault> <IPDomainID>2</IPDomainID> <IPRangeList> <IPRange> <IPRangeText>130.119.103.8</IPRangeText> <MaxOutstandingRequests>10</MaxOutstandingRequests> <TimeoutFailSafeThrottle>10</TimeoutFailSafeThrottle> <MaxRequestSize>20</MaxRequestSize> </IPRange> </IPRangeList> <MaxRequestSize>50</MaxRequestSize> <MaxOutstandingRequestsDefault>15</MaxOutstandingRequestsDefault> </SnmpThrottlePolicy>
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|