juniSystemUtilizationThresholdRising
Juniper-System-MIB ·
.1.3.6.1.4.1.4874.2.2.2.1.10.1.1.7
Object
The threshold value (risingVal), which, in conjunction with
juniSystemUtilizationHoldDownTime (holdTime) and
juniSystemUtilizationThresholdFalling (fallingVal), is used to decide
when to trigger an event indicating that the resource utilization,
juniSystemUtilizationCurrentValue (currentVal), is approaching or has
reached its maximum capacity, juniSystemUtilizationMaxCapacity (maxVal).
See the DESCRIPTION for juniSystemUtilizationResourceSubType for what
constitutes a unit of value for this object.
The value of fallingVal must be less than the value of this object.
This object provides one element in the formula used to determine when
to send a utilization notification. If the currentVal rises to equal
the risingVal and no other utilization event (either rising or falling)
has been triggered within the holdTime, or if the holdTime for a falling
threshold notification expires and the currentVal is at or above the
risingVal, then and only then is a rising threshold utilization
notification sent.
The following pseudo-code states the algorithm more precisely.
When the resource is created or initialized ( currentVal == 0 ):
lastTrapType = none;
lastTrapTime = 0;
When currentVal increments (increases):
if ( currentVal == risingVal &&
lastTrapTime + holdTime <= currentTime ) {
triggerUtilizationTrapRising();
lastTrapType = rising;
lastTrapTime = currentTime; }
When currentVal decrements (decreases):
if ( currentVal == fallingVal &&
lastTrapTime + holdTime <= currentTime ) {
triggerUtilizationTrapFalling();
lastTrapType = falling;
lastTrapTime = currentTime; }
When the rising threshold value is modified:
if ( currentVal < oldRisingVal &&
currentVal >= newRisingVal &&
lastTrapTime + holdTime <= currentTime )
triggerUtilizationTrapRising();
lastTrapType = rising;
lastTrapTime = currentTime; }
When the falling threshold value is modified:
if ( currentVal > oldFallingVal &&
currentVal <= newFallingVal &&
lastTrapTime + holdTime <= currentTime )
triggerUtilizationTrapFalling();
lastTrapType = falling;
lastTrapTime = currentTime; }
When a hold-down time expires (lastTrapTime + holdTime == currentTime):
switch ( lastTrapType ) {
case rising:
if ( currentVal <= fallingVal ) {
triggerUtilizationTrapFalling();
lastTrapType = falling;
lastTrapTime = currentTime; }
else {
lastTrapType = none; }
break;
case falling:
if ( currentVal >= risingVal ) {
triggerUtilizationTrapRising();
lastTrapType = rising;
lastTrapTime = currentTime; }
else {
lastTrapType = none; }
break; }
Context
- MIB
- Juniper-System-MIB
- OID
.1.3.6.1.4.1.4874.2.2.2.1.10.1.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- juniSystemUtilizationEntry
- Groups
- 2
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'Juniper-System-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-System-MIB::juniSystemUtilizationThresholdRising'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Juniper-System-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-System-MIB::juniSystemUtilizationThresholdRising.<juniSystemUtilizationResourceType>.<juniSystemUtilizationResourceSubType>.<juniSystemUtilizationLocationType>.<juniSystemUtilizationLocation>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Juniper-System-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Juniper-System-MIB::juniSystemUtilizationThresholdRising'
Syntax
- Source
- SNMPv2-SMIGauge32
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295
Conformance
Compliance refinements
juniSystemCompliance2
notifyonly
This object may have a fixed value in a particular
implementation and is therefore only required to be included
in the juniSystemUtilizationThreshold notifications.
implementation and is therefore only required to be included
in the juniSystemUtilizationThreshold notifications.